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 listMay 5, 2026 05:12olliecrowolliecrowScore: 4,347Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2026 05:124,32628,552,95313,844,00002,482,176
2May 5, 2026 05:124,32928,767,25513,854,00002,490,368
3May 5, 2026 05:124,33532,449,18613,872,00002,494,464
4May 5, 2026 05:124,33828,929,07413,883,00002,494,464
5May 5, 2026 05:124,34726,153,41513,911,00002,490,368
6May 5, 2026 05:124,35727,002,22513,943,00002,473,984
7May 5, 2026 05:124,36827,141,71412,941,0001,038,0002,490,368
8May 5, 2026 05:124,37026,839,49412,943,0001,044,0002,490,368
9May 5, 2026 05:124,37127,203,19312,933,0001,056,0002,486,272