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 16, 2026 17:51M-RochatM-RochatScore: 5,217Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2026 17:515,18028,045,65716,577,00002,113,536
2May 16, 2026 17:515,19428,400,68716,623,00002,113,536
3May 16, 2026 17:515,19727,077,93516,633,00002,113,536
4May 16, 2026 17:515,20228,540,43615,623,0001,026,0002,113,536
5May 16, 2026 17:515,21725,545,35516,697,00002,113,536
6May 16, 2026 17:515,22026,088,74416,704,00002,113,536
7May 16, 2026 17:515,22226,629,31315,694,0001,017,0002,113,536
8May 16, 2026 17:515,23728,507,41015,739,0001,021,0002,113,536
9May 16, 2026 17:515,26227,586,16015,824,0001,016,0002,113,536