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 listJul 7, 2026 22:13IlyaIlyaScore: 4,521Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 22:134,23828,793,26912,467,0001,096,0002,113,536
2Jul 7, 2026 22:134,39431,575,56312,938,0001,124,0002,113,536
3Jul 7, 2026 22:134,43133,591,83413,153,0001,027,0002,113,536
4Jul 7, 2026 22:134,47232,712,21713,276,0001,035,0002,113,536
5Jul 7, 2026 22:134,52131,252,76213,446,0001,024,0002,113,536
6Jul 7, 2026 22:134,52531,107,45913,388,0001,095,0002,113,536
7Jul 7, 2026 22:134,59233,447,83413,625,0001,072,0002,113,536
8Jul 7, 2026 22:134,67936,154,83613,891,0001,082,0002,113,536
9Jul 7, 2026 22:134,99935,869,37613,908,0002,089,0002,117,632