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 18:48TudyMTudyMScore: 5,264Success
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 18:535,23233,800,15915,670,0001,075,0002,375,680
2May 3, 2026 18:535,24632,098,16415,708,0001,080,0002,367,488
3May 3, 2026 18:535,25332,816,84215,700,0001,111,0002,375,680
4May 3, 2026 18:535,25730,834,33015,746,0001,078,0002,371,584
5May 3, 2026 18:535,26435,014,73515,755,0001,092,0002,359,296
6May 3, 2026 18:535,26535,222,97015,722,0001,128,0002,363,392
7May 3, 2026 18:535,26534,790,14415,762,0001,088,0002,363,392
8May 3, 2026 18:535,32338,876,55615,964,0001,072,0002,363,392
9May 3, 2026 18:535,41848,058,27916,129,0001,211,0002,351,104