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 25, 2026 15:55Uladzislau NestsiarukUladzislau NestsiarukScore: 5,004Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 25, 2026 15:564,96738,228,16513,909,0001,987,0002,519,040
2Apr 25, 2026 15:564,97634,341,65013,935,0001,990,0002,510,848
3Apr 25, 2026 15:564,98936,009,94913,971,0001,995,0002,531,328
4Apr 25, 2026 15:564,99233,678,20413,979,0001,997,0002,527,232
5Apr 25, 2026 15:565,00433,591,55313,011,0003,002,0002,527,232
6Apr 25, 2026 15:565,00634,545,07415,021,0001,001,0002,519,040
7Apr 25, 2026 15:565,00932,651,95513,024,0003,005,0002,338,816
8Apr 25, 2026 15:565,01133,609,32515,035,0001,002,0002,523,136
9Apr 25, 2026 15:565,01434,253,28414,040,0002,005,0002,338,816