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 listJul 30, 2024 16:19BenBenScore: 4,650Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 30, 2024 16:194,60532,440,52613,683,0001,052,0002,527,232
2Jul 30, 2024 16:194,61830,352,73413,722,0001,055,0002,260,992
3Jul 30, 2024 16:194,64531,111,82513,874,000991,0002,265,088
4Jul 30, 2024 16:194,64530,615,99213,874,000991,0002,265,088
5Jul 30, 2024 16:194,64634,346,22512,886,0001,982,0002,527,232
6Jul 30, 2024 16:194,64839,628,13012,891,0001,983,0002,506,752
7Jul 30, 2024 16:194,65030,224,86912,897,0001,984,0002,375,680
8Jul 30, 2024 16:194,65132,976,23713,892,000992,0002,375,680
9Jul 30, 2024 16:194,65341,568,60213,896,000992,0002,371,584
10Jul 30, 2024 16:194,89560,470,64515,663,47502,269,184
11Jul 30, 2024 16:194,90763,476,97415,702,99902,281,472
12Jul 30, 2024 16:194,94376,701,27315,818,13202,281,472