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 11, 2026 13:53Victor MerckléVictor MerckléScore: 5,187Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2026 13:535,17925,916,04115,562,0001,011,0002,113,536
2May 11, 2026 13:535,17924,704,59216,573,00002,113,536
3May 11, 2026 13:535,18124,304,56815,570,0001,011,0002,113,536
4May 11, 2026 13:535,18625,873,20016,597,00002,113,536
5May 11, 2026 13:535,18725,961,92516,601,00002,113,536
6May 11, 2026 13:535,19623,928,67715,607,0001,021,0002,113,536
7May 11, 2026 13:535,20425,798,24216,653,00002,113,536
8May 11, 2026 13:535,20528,966,18915,649,0001,008,0002,113,536
9May 11, 2026 13:535,20923,979,67715,665,0001,005,0002,113,536