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 23, 2024 23:47ii14ii14Score: 5,645Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 23, 2024 23:475,62940,843,81716,011,0002,001,0002,269,184
2Dec 23, 2024 23:475,63639,701,90317,033,0001,001,0002,400,256
3Dec 23, 2024 23:475,64334,830,05616,051,0002,006,0002,269,184
4Dec 23, 2024 23:475,64442,902,55516,054,0002,006,0002,404,352
5Dec 23, 2024 23:475,64544,934,62716,056,0002,007,0002,396,160
6Dec 23, 2024 23:475,65046,059,85115,067,0003,013,0002,396,160
7Dec 23, 2024 23:475,65540,529,08917,092,0001,005,0002,396,160
8Dec 23, 2024 23:475,67638,825,88315,136,0003,027,0002,269,184
9Dec 23, 2024 23:475,67852,146,59217,159,0001,009,0002,265,088