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 16, 2026 19:30M-RochatM-RochatScore: 5,268Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 19:305,03726,242,34416,119,00002,113,536
2May 16, 2026 19:305,06327,042,44715,197,0001,006,0002,113,536
3May 16, 2026 19:305,06724,989,70315,198,0001,018,0002,113,536
4May 16, 2026 19:305,08025,095,91715,236,0001,023,0002,113,536
5May 16, 2026 19:305,26825,591,43815,838,0001,021,0002,113,536
6May 16, 2026 19:305,27026,941,41215,831,0001,033,0002,113,536
7May 16, 2026 19:305,27826,310,69516,891,00002,113,536
8May 16, 2026 19:305,31126,257,64115,968,0001,028,0002,113,536
9May 16, 2026 19:305,33926,195,68616,065,0001,022,0002,113,536