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 7, 2026 13:51IlyaIlyaScore: 4,849Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2026 13:514,83324,590,16714,412,0001,055,0002,113,536
2Jun 7, 2026 13:514,83524,585,21614,432,0001,043,0002,113,536
3Jun 7, 2026 13:514,83724,603,27214,423,0001,056,0002,113,536
4Jun 7, 2026 13:514,84724,578,82614,463,0001,048,0002,113,536
5Jun 7, 2026 13:514,84924,546,82314,470,0001,047,0002,113,536
6Jun 7, 2026 13:514,84924,637,55314,456,0001,061,0002,113,536
7Jun 7, 2026 13:514,86824,604,07614,529,0001,051,0002,113,536
8Jun 7, 2026 13:514,86924,643,44414,533,0001,049,0002,113,536
9Jun 7, 2026 13:514,87024,558,17014,528,0001,056,0002,113,536