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 24, 2026 02:12olliecrowolliecrowScore: 7,040Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 24, 2026 02:146,98744,569,82321,343,0001,016,0002,560,000
2Apr 24, 2026 02:146,99530,572,40321,370,0001,017,0002,375,680
3Apr 24, 2026 02:147,02230,598,79920,429,0002,042,0002,359,296
4Apr 24, 2026 02:147,02730,708,37620,444,0002,044,0002,355,200
5Apr 24, 2026 02:147,04039,751,28721,505,0001,024,0002,564,096
6Apr 24, 2026 02:147,11230,941,02721,727,0001,034,0002,568,192
7Apr 24, 2026 02:147,19931,142,40220,033,0003,004,0002,375,680
8Apr 24, 2026 02:147,26230,420,40820,209,0003,031,0002,375,680
9Apr 24, 2026 02:147,30130,512,76719,301,0004,063,0002,359,296