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 17, 2026 23:07M-RochatM-RochatScore: 4,292Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 17, 2026 23:074,26624,717,80113,653,00002,113,536
2May 17, 2026 23:074,27423,874,59312,670,0001,009,0002,113,536
3May 17, 2026 23:074,28224,916,99812,681,0001,023,0002,113,536
4May 17, 2026 23:074,28826,047,96112,714,0001,009,0002,113,536
5May 17, 2026 23:074,29222,969,86112,710,0001,027,0002,113,536
6May 17, 2026 23:074,29324,397,38112,708,0001,030,0002,113,536
7May 17, 2026 23:074,30024,337,25012,729,0001,034,0002,113,536
8May 17, 2026 23:074,30227,962,22412,749,0001,018,0002,113,536
9May 17, 2026 23:074,30223,665,03312,726,0001,043,0002,113,536