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 10, 2026 22:32Franek KortaFranek KortaScore: 4,184Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 10, 2026 22:324,16522,087,39313,329,00002,117,632stderr
2May 10, 2026 22:324,17121,074,84213,348,00002,117,632stderr
3May 10, 2026 22:324,18120,697,95413,382,00002,117,632stderr
4May 10, 2026 22:324,18220,666,11313,385,00002,117,632stderr
5May 10, 2026 22:324,18420,857,93313,389,00002,117,632stderr
6May 10, 2026 22:324,18723,717,21313,399,00002,117,632stderr
7May 10, 2026 22:324,19322,410,70613,418,00002,121,728stderr
8May 10, 2026 22:324,19420,688,01513,421,00002,117,632stderr
9May 10, 2026 22:324,20422,773,84413,454,00002,117,632stderr