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 listSep 6, 2026 09:49William LiaoWilliam LiaoScore: 5,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 6, 2026 09:495,34026,964,32015,981,0001,107,0002,113,536
2Sep 6, 2026 09:495,34626,980,46316,020,0001,088,0002,113,536
3Sep 6, 2026 09:495,34927,005,43215,953,0001,166,0002,113,536
4Sep 6, 2026 09:495,36027,004,26616,042,0001,111,0002,113,536
5Sep 6, 2026 09:495,37327,034,71616,031,0001,164,0002,113,536
6Sep 6, 2026 09:495,37327,171,42616,033,0001,162,0002,113,536
7Sep 6, 2026 09:495,37827,353,91316,112,0001,098,0002,113,536
8Sep 6, 2026 09:495,38027,088,47716,112,0001,107,0002,113,536
9Sep 6, 2026 09:495,44327,257,52816,368,0001,050,0002,113,536