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 08:16William LiaoWilliam LiaoScore: 5,524Success
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 08:175,51227,507,41316,560,0001,081,0002,113,536
2Sep 6, 2026 08:175,52027,501,24816,569,0001,095,0002,113,536
3Sep 6, 2026 08:175,52127,509,71016,575,0001,095,0002,113,536
4Sep 6, 2026 08:175,52227,539,73916,581,0001,092,0002,113,536
5Sep 6, 2026 08:175,52427,581,20216,592,0001,087,0002,113,536
6Sep 6, 2026 08:175,53427,628,62716,605,0001,104,0002,113,536
7Sep 6, 2026 08:175,55127,649,70616,659,0001,106,0002,113,536
8Sep 6, 2026 08:175,55127,622,74616,658,0001,106,0002,113,536
9Sep 6, 2026 08:175,56627,621,66916,633,0001,181,0002,113,536