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 listJan 2, 2023 21:44Jack FrigaardJack FrigaardScore: 5,059Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 2, 2023 21:445,01641,259,17214,045,0002,006,0002,285,568
2Jan 2, 2023 21:445,02638,600,84614,074,0002,010,0002,523,136
3Jan 2, 2023 21:445,03640,955,82315,108,0001,007,0002,523,136
4Jan 2, 2023 21:445,04838,774,77815,143,0001,009,0002,527,232
5Jan 2, 2023 21:445,05835,765,73414,164,0002,023,0002,285,568
6Jan 2, 2023 21:445,05932,577,23414,165,0002,023,0002,514,944
7Jan 2, 2023 21:445,05932,339,93415,178,0001,011,0002,285,568
8Jan 2, 2023 21:445,06734,609,87515,200,0001,013,0002,269,184
9Jan 2, 2023 21:445,10634,017,03914,298,0002,042,0002,285,568
10Jan 2, 2023 21:445,29780,500,03616,951,94602,301,952
11Jan 2, 2023 21:445,30783,194,69216,981,50502,293,760
12Jan 2, 2023 21:445,31470,967,95217,005,82702,293,760