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 26, 2026 11:36Kevin HeaveyKevin HeaveyScore: 5,428Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2026 11:385,4043,025,832,00816,256,0001,038,0002,113,536
2Jul 26, 2026 11:385,4103,025,966,96916,278,0001,036,0002,113,536
3Jul 26, 2026 11:385,4123,025,943,51816,284,0001,036,0002,113,536
4Jul 26, 2026 11:385,4133,025,959,25316,287,0001,036,0002,113,536
5Jul 26, 2026 11:385,4283,025,944,92116,331,0001,040,0002,113,536
6Jul 26, 2026 11:385,4293,026,570,87516,332,0001,041,0002,113,536
7Jul 26, 2026 11:385,4323,026,090,27016,344,0001,041,0002,113,536
8Jul 26, 2026 11:385,4333,025,884,99216,347,0001,040,0002,113,536
9Jul 26, 2026 11:385,4343,025,990,11516,349,0001,042,0002,113,536