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 21:23IlyaIlyaScore: 4,278Success
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 21:264,25422,844,25412,599,0001,016,0002,113,536
2Jul 2, 2026 21:264,25525,002,86912,600,0001,018,0002,113,536
3Jul 2, 2026 21:264,25723,008,37112,592,0001,033,0002,113,536
4Jul 2, 2026 21:264,26622,948,30912,628,0001,026,0002,113,536
5Jul 2, 2026 21:264,27823,006,09212,626,0001,064,0002,113,536
6Jul 2, 2026 21:264,27823,009,49012,631,0001,060,0002,113,536
7Jul 2, 2026 21:264,28723,073,27212,656,0001,064,0002,113,536
8Jul 2, 2026 21:264,29023,082,69712,677,0001,053,0002,113,536
9Jul 2, 2026 21:264,31923,115,66312,801,0001,020,0002,113,536