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 12, 2026 18:41IlyaIlyaScore: 5,069Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 12, 2026 18:425,05025,705,79015,088,0001,075,0002,113,536
2Jul 12, 2026 18:425,05726,964,61515,107,0001,077,0002,113,536
3Jul 12, 2026 18:425,05925,707,98515,112,0001,078,0002,113,536
4Jul 12, 2026 18:425,06825,698,22415,138,0001,080,0002,113,536
5Jul 12, 2026 18:425,06925,704,48215,142,0001,079,0002,113,536
6Jul 12, 2026 18:425,06925,709,06915,142,0001,079,0002,113,536
7Jul 12, 2026 18:425,08425,894,34415,188,0001,083,0002,113,536
8Jul 12, 2026 18:425,08725,865,06515,197,0001,083,0002,113,536
9Jul 12, 2026 18:425,10225,840,09015,240,0001,087,0002,113,536