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 2, 2026 16:02IlyaIlyaScore: 4,368Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 2, 2026 16:024,34323,144,06912,889,0001,009,0002,113,536
2Jul 2, 2026 16:024,34623,155,99412,892,0001,016,0002,113,536
3Jul 2, 2026 16:024,34623,243,37912,885,0001,025,0002,113,536
4Jul 2, 2026 16:024,35223,242,97312,921,0001,007,0002,113,536
5Jul 2, 2026 16:024,36824,845,18312,916,0001,064,0002,113,536
6Jul 2, 2026 16:024,37123,292,53712,932,0001,057,0002,113,536
7Jul 2, 2026 16:024,38423,304,05712,962,0001,068,0002,113,536
8Jul 2, 2026 16:024,38923,364,43612,972,0001,075,0002,113,536
9Jul 2, 2026 16:024,40223,375,27212,981,0001,106,0002,113,536