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 3, 2026 17:33TudyMTudyMScore: 5,216Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 3, 2026 17:385,20134,583,12115,588,0001,056,0002,371,584
2May 3, 2026 17:385,20235,048,13315,582,0001,065,0002,367,488
3May 3, 2026 17:385,21134,449,78415,606,0001,070,0002,363,392
4May 3, 2026 17:385,21333,103,25415,624,0001,058,0002,379,776
5May 3, 2026 17:385,21635,616,27915,636,0001,057,0002,375,680
6May 3, 2026 17:385,22034,223,80315,617,0001,090,0002,371,584
7May 3, 2026 17:385,22735,438,65215,661,0001,068,0002,371,584
8May 3, 2026 17:385,22835,278,90315,658,0001,073,0002,367,488
9May 3, 2026 17:385,22933,473,75715,668,0001,066,0002,367,488