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:04M-RochatM-RochatScore: 4,412Success
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:054,38722,776,28514,040,00002,113,536
2May 17, 2026 10:054,39023,589,38614,050,00002,113,536
3May 17, 2026 10:054,41023,462,16313,109,0001,005,0002,113,536
4May 17, 2026 10:054,41123,418,30814,116,00002,113,536
5May 17, 2026 10:054,41223,497,76613,100,0001,020,0002,113,536
6May 17, 2026 10:054,41522,927,08213,097,0001,033,0002,113,536
7May 17, 2026 10:054,42922,972,13513,152,0001,022,0002,113,536
8May 17, 2026 10:054,43224,881,94713,148,0001,035,0002,113,536
9May 17, 2026 10:054,43322,953,49813,152,0001,034,0002,113,536