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 8, 2023 09:43Andrew MoonAndrew MoonScore: 5,481Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 09:435,44337,407,02616,393,0001,024,0002,392,064
2Jul 8, 2023 09:435,44938,668,82516,413,0001,025,0002,404,352
3Jul 8, 2023 09:435,46639,972,49117,492,00002,269,184
4Jul 8, 2023 09:435,46734,888,58117,494,00002,265,088
5Jul 8, 2023 09:435,46840,182,55416,468,0001,029,0002,265,088
6Jul 8, 2023 09:435,47940,895,79516,501,0001,031,0002,383,872
7Jul 8, 2023 09:435,48138,370,28316,509,0001,031,0002,506,752
8Jul 8, 2023 09:435,48335,370,01117,544,00002,265,088
9Jul 8, 2023 09:435,48540,614,61416,519,0001,032,0002,506,752
10Jul 8, 2023 09:435,70683,599,08818,260,57302,281,472
11Jul 8, 2023 09:435,72062,861,34118,304,32202,285,568
12Jul 8, 2023 09:435,74887,665,63218,392,02802,240,512