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 16:06Andrew MoonAndrew MoonScore: 5,352Success
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 16:065,33043,051,10715,050,0002,006,0002,265,088
2Jul 8, 2023 16:065,33433,095,69316,064,0001,004,0002,265,088
3Jul 8, 2023 16:065,33732,835,47816,074,0001,004,0002,392,064
4Jul 8, 2023 16:065,34249,721,55316,088,0001,005,0002,387,968
5Jul 8, 2023 16:065,34241,593,58015,084,0002,011,0002,392,064
6Jul 8, 2023 16:065,34846,252,22616,109,0001,006,0002,265,088
7Jul 8, 2023 16:065,35233,762,27015,111,0002,014,0002,265,088
8Jul 8, 2023 16:065,35443,221,74516,126,0001,007,0002,527,232
9Jul 8, 2023 16:065,36434,267,37816,156,0001,009,0002,265,088
10Jul 8, 2023 16:065,54083,907,32717,727,82402,281,472
11Jul 8, 2023 16:065,56179,947,02717,796,40002,281,472
12Jul 8, 2023 16:065,56366,586,17617,802,85602,269,184