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 listMay 27, 2021 18:00Yurkov AlekseyYurkov AlekseyScore: 5,643Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 27, 2021 18:005,60540,354,47815,943,0001,992,0002,269,184
2May 27, 2021 18:005,61345,029,90615,966,0001,995,0002,289,664
3May 27, 2021 18:005,62235,443,46115,992,0001,999,0002,289,664
4May 27, 2021 18:005,62353,019,88715,995,0001,999,0002,289,664
5May 27, 2021 18:005,63344,820,45216,024,0002,003,0002,289,664
6May 27, 2021 18:005,63841,451,65716,036,0002,004,0002,289,664
7May 27, 2021 18:005,64340,744,94716,050,0002,006,0002,269,184
8May 27, 2021 18:005,64641,906,14216,059,0002,007,0002,289,664
9May 27, 2021 18:005,64939,910,22216,070,0002,008,0002,289,664
10May 27, 2021 18:005,79973,546,42618,556,45602,293,760
11May 27, 2021 18:005,82247,971,64218,631,92002,297,856
12May 27, 2021 18:005,84444,109,36518,701,01102,293,760