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 10:07M-RochatM-RochatScore: 4,398Success
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 10:074,38622,804,31914,038,00002,113,536
2May 17, 2026 10:074,39124,668,76314,054,00002,113,536
3May 17, 2026 10:074,39324,833,09713,047,0001,011,0002,113,536
4May 17, 2026 10:074,39723,249,05213,036,0001,037,0002,113,536
5May 17, 2026 10:074,39822,915,88713,048,0001,027,0002,113,536
6May 17, 2026 10:074,40422,896,89213,061,0001,034,0002,113,536
7May 17, 2026 10:074,40524,686,48913,060,0001,037,0002,113,536
8May 17, 2026 10:074,41123,171,59813,097,0001,020,0002,113,536
9May 17, 2026 10:074,41324,666,64613,098,0001,024,0002,113,536