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 21, 2026 21:28olliecrowolliecrowScore: 4,389Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 21, 2026 21:294,35131,795,83911,936,0001,989,0002,478,080
2Apr 21, 2026 21:294,37031,034,34711,989,0001,998,0002,473,984
3Apr 21, 2026 21:294,38029,206,66612,016,0002,002,0002,473,984
4Apr 21, 2026 21:294,38730,539,91013,037,0001,002,0002,478,080
5Apr 21, 2026 21:294,38931,244,22313,044,0001,003,0002,465,792
6Apr 21, 2026 21:294,39228,666,31112,048,0002,008,0002,478,080
7Apr 21, 2026 21:294,40535,397,62612,085,0002,014,0002,473,984
8Apr 21, 2026 21:294,41930,726,89912,121,0002,020,0002,478,080
9Apr 21, 2026 21:294,42030,618,07212,126,0002,021,0002,478,080