Count uint8 Sergey Svistunov

Count the number of bytes equal to 127 in a binary stream as fast as possible.

Input: 250 000 000 uint8 values in binary on STDIN.

Output: The count of elements equal to 127, printed as a decimal string.

Back to listDec 22, 2021 04:37Yuriy LyfenkoYuriy LyfenkoScore: 5,911Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 22, 2021 04:375,780569,688,34518,495,00302,252,800
2Dec 22, 2021 04:375,800577,534,55418,560,07702,252,800
3Dec 22, 2021 04:375,811542,753,99616,639,0001,957,0002,338,816
4Dec 22, 2021 04:375,848580,386,93618,714,48602,293,760
5Dec 22, 2021 04:375,902540,961,02817,837,0001,049,0002,334,720
6Dec 22, 2021 04:375,907538,858,09015,751,0003,150,0002,334,720
7Dec 22, 2021 04:375,911544,047,20916,814,0002,101,0002,334,720
8Dec 22, 2021 04:375,932539,227,09516,983,0001,998,0002,334,720
9Dec 22, 2021 04:375,932542,741,41617,928,0001,054,0002,334,720
10Dec 22, 2021 04:375,940544,952,87317,953,0001,056,0002,334,720
11Dec 22, 2021 04:375,947548,998,00117,027,0002,003,0002,334,720
12Dec 22, 2021 04:375,958541,776,41417,060,0002,007,0002,334,720