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 1, 2026 02:16Charles CabergsCharles CabergsScore: 24,208Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 1, 2026 02:1624,18894,276,68776,399,0001,005,0002,387,968stderr
2May 1, 2026 02:1624,19099,512,23276,406,0001,005,0002,383,872stderr
3May 1, 2026 02:1624,19199,185,69076,407,0001,005,0002,396,160stderr
4May 1, 2026 02:1624,20492,903,89276,448,0001,005,0002,330,624stderr
5May 1, 2026 02:1624,20892,054,19676,462,0001,006,0002,396,160stderr
6May 1, 2026 02:1624,22895,736,99775,517,0002,013,0002,383,872stderr
7May 1, 2026 02:1624,241101,334,09876,565,0001,007,0002,379,776stderr
8May 1, 2026 02:1624,26794,457,93675,664,0001,991,0002,379,776stderr
9May 1, 2026 02:1624,28595,503,66775,720,0001,992,0002,383,872stderr