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 11, 2024 20:57MatthiasMatthiasScore: 29,744Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Dec 11, 2024 20:547,07149,195,25722,626,00002,285,568
2Dec 11, 2024 20:547,08049,233,95221,628,0001,029,0002,285,568
3Dec 11, 2024 20:547,09758,878,28322,711,00002,269,184
4Dec 11, 2024 20:5729,744121,828,59093,177,0002,003,0002,265,088
5Dec 11, 2024 20:5729,875116,913,03594,595,0001,006,0002,527,232
6Dec 11, 2024 20:5729,887124,679,29294,633,0001,006,0002,269,184