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 5, 2021 12:22Andrey TsvetkovAndrey TsvetkovScore: 5,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2021 12:225,64934,823,72616,070,0002,008,0002,433,024
2Sep 5, 2021 12:225,66044,669,44416,100,0002,012,0002,338,816
3Sep 5, 2021 12:225,66437,500,91615,105,0003,021,0002,428,928
4Sep 5, 2021 12:225,66843,350,82216,122,0002,015,0002,342,912
5Sep 5, 2021 12:225,67846,625,27114,133,0004,038,0002,424,832
6Sep 5, 2021 12:225,69243,796,52016,191,0002,023,0002,342,912
7Sep 5, 2021 12:225,69338,838,71316,192,0002,024,0002,543,616
8Sep 5, 2021 12:225,71934,839,70315,252,0003,050,0002,338,816
9Sep 5, 2021 12:225,73841,340,92815,301,0003,060,0002,342,912
10Sep 5, 2021 12:225,96456,994,73819,083,63402,269,184
11Sep 5, 2021 12:225,99390,119,80219,176,66602,260,992
12Sep 5, 2021 12:226,37774,258,16420,406,34602,265,088