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 4, 2026 06:52Victor MerckléVictor MerckléScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 4, 2026 06:535,28035,068,90115,832,0001,066,0002,383,872
2May 4, 2026 06:535,28935,500,36715,888,0001,038,0002,392,064
3May 4, 2026 06:535,29233,146,43415,810,0001,127,0002,379,776
4May 4, 2026 06:535,29733,914,43015,814,0001,137,0002,392,064
5May 4, 2026 06:535,30031,246,15915,822,0001,140,0002,383,872
6May 4, 2026 06:535,30635,321,79515,844,0001,138,0002,387,968
7May 4, 2026 06:535,31336,156,66715,836,0001,166,0002,371,584
8May 4, 2026 06:535,32434,015,23015,883,0001,156,0002,375,680
9May 4, 2026 06:535,32935,453,76915,904,0001,150,0002,383,872