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 22:39IlyaIlyaScore: 4,345Success
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 22:404,31622,872,44612,801,0001,013,0002,113,536
2Jun 5, 2026 22:404,32522,927,32612,825,0001,015,0002,113,536
3Jun 5, 2026 22:404,33922,957,48212,830,0001,057,0002,113,536
4Jun 5, 2026 22:404,34022,985,95012,855,0001,033,0002,113,536
5Jun 5, 2026 22:404,34522,949,00412,854,0001,050,0002,113,536
6Jun 5, 2026 22:404,34622,966,20912,849,0001,061,0002,113,536
7Jun 5, 2026 22:404,35323,090,28212,836,0001,094,0002,113,536
8Jun 5, 2026 22:404,35522,971,81212,885,0001,054,0002,113,536
9Jun 5, 2026 22:404,36823,073,79412,891,0001,087,0002,113,536