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 listJun 5, 2026 21:51IlyaIlyaScore: 4,353Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 5, 2026 21:514,32422,916,05612,818,0001,020,0002,113,536
2Jun 5, 2026 21:514,32622,914,49412,837,0001,009,0002,113,536
3Jun 5, 2026 21:514,34522,941,52512,889,0001,018,0002,113,536
4Jun 5, 2026 21:514,34922,907,21812,906,0001,011,0002,113,536
5Jun 5, 2026 21:514,35323,066,47212,858,0001,074,0002,113,536
6Jun 5, 2026 21:514,35322,972,62112,867,0001,063,0002,113,536
7Jun 5, 2026 21:514,35723,077,65412,886,0001,057,0002,113,536
8Jun 5, 2026 21:514,37724,322,45412,990,0001,017,0002,113,536
9Jun 5, 2026 21:514,38023,033,55213,001,0001,018,0002,113,536