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 1, 2026 13:44IlyaIlyaScore: 5,350Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 1, 2026 13:455,06325,205,15816,202,00002,113,536
2Jun 1, 2026 13:455,07225,173,19716,232,00002,113,536
3Jun 1, 2026 13:455,08625,257,91515,269,0001,008,0002,113,536
4Jun 1, 2026 13:455,35026,127,00716,121,0001,001,0002,113,536
5Jun 1, 2026 13:455,35026,089,78817,123,00002,113,536
6Jun 1, 2026 13:455,35626,092,87416,132,0001,010,0002,113,536
7Jun 1, 2026 13:455,36026,482,97117,152,00002,113,536
8Jun 1, 2026 13:455,38826,215,39316,230,0001,014,0002,113,536
9Jun 1, 2026 13:455,38926,115,84416,241,0001,006,0002,113,536