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 listApr 13, 2026 17:05Oleg SkinderevOleg SkinderevScore: 5,039Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 13, 2026 17:055,02330,952,63715,071,0001,004,0002,387,968
2Apr 13, 2026 17:055,02533,119,22315,076,0001,005,0002,281,472
3Apr 13, 2026 17:055,03537,741,99715,105,0001,007,0002,281,472
4Apr 13, 2026 17:055,03635,004,25015,108,0001,007,0002,281,472
5Apr 13, 2026 17:055,03937,455,02114,109,0002,015,0002,404,352
6Apr 13, 2026 17:055,04532,449,32115,136,0001,009,0002,510,848
7Apr 13, 2026 17:055,05134,483,31115,153,0001,010,0002,281,472
8Apr 13, 2026 17:055,05940,028,57315,177,0001,011,0002,400,256
9Apr 13, 2026 17:055,06240,861,06314,173,0002,024,0002,281,472