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 19, 2022 16:20Adam StřelskýAdam StřelskýScore: 5,366Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 19, 2022 16:205,34839,671,88215,099,0002,013,0002,535,424
2Jul 19, 2022 16:205,34835,556,61215,101,0002,013,0002,445,312
3Jul 19, 2022 16:205,35529,220,95515,120,0002,016,0002,441,216
4Jul 19, 2022 16:205,35632,674,96915,123,0002,016,0002,445,312
5Jul 19, 2022 16:205,35740,544,42915,126,0002,016,0002,437,120
6Jul 19, 2022 16:205,35839,359,44315,127,0002,017,0002,531,328
7Jul 19, 2022 16:205,36639,309,85415,152,0002,020,0002,273,280
8Jul 19, 2022 16:205,37332,387,08716,182,0001,011,0002,273,280
9Jul 19, 2022 16:205,37542,605,20315,177,0002,023,0002,535,424
10Jul 19, 2022 16:205,64498,211,79418,062,28502,195,456
11Jul 19, 2022 16:205,66891,440,87918,138,15702,195,456
12Jul 19, 2022 16:205,68978,187,51718,205,04802,207,744