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:54TudyMTudyMScore: 5,272Success
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:585,25033,752,73215,738,0001,063,0002,359,296
2May 3, 2026 17:585,25436,117,07715,708,0001,106,0002,371,584
3May 3, 2026 17:585,25634,988,07615,743,0001,079,0002,367,488
4May 3, 2026 17:585,25935,551,18815,744,0001,086,0002,367,488
5May 3, 2026 17:585,27233,707,50415,761,0001,110,0002,367,488
6May 3, 2026 17:585,28033,408,37715,813,0001,084,0002,363,392
7May 3, 2026 17:585,28335,723,39615,787,0001,119,0002,371,584
8May 3, 2026 17:585,28335,581,00415,791,0001,115,0002,371,584
9May 3, 2026 17:585,28435,121,44715,788,0001,122,0002,375,680