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 listMay 13, 2021 19:28alex3dalex3dScore: 5,987Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:285,95140,867,03318,042,0001,002,0002,449,408
2May 13, 2021 19:285,96247,000,99218,074,0001,004,0002,269,184
3May 13, 2021 19:285,96243,807,74317,071,0002,008,0002,437,120
4May 13, 2021 19:285,97145,444,42217,097,0002,011,0002,441,216
5May 13, 2021 19:285,98342,553,99518,139,0001,007,0002,531,328
6May 13, 2021 19:285,98540,653,39618,144,0001,008,0002,531,328
7May 13, 2021 19:285,98744,983,25618,150,0001,008,0002,531,328
8May 13, 2021 19:285,99045,290,06917,152,0002,017,0002,449,408
9May 13, 2021 19:286,00546,891,94317,195,0002,022,0002,527,232
10May 13, 2021 19:286,16782,131,07819,733,91102,199,552
11May 13, 2021 19:286,21288,327,17819,877,77402,195,456
12May 13, 2021 19:286,21283,321,45619,877,76302,203,648