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 11, 2021 16:13Sergey StreminSergey StreminScore: 11,348Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 16:1311,100103,682,78935,518,88502,195,456
2May 11, 2021 16:1311,254102,513,55136,014,20402,191,360
3May 11, 2021 16:1311,27579,148,42936,078,67002,211,840
4May 11, 2021 16:1311,28995,260,46736,125,17102,191,360
5May 11, 2021 16:1311,297101,464,69736,151,09102,203,648
6May 11, 2021 16:1311,33299,806,19336,262,98902,203,648
7May 11, 2021 16:1311,348104,200,68736,315,05402,199,552
8May 11, 2021 16:1311,374113,560,98136,398,18002,187,264
9May 11, 2021 16:1311,41293,228,57336,518,38302,199,552
10May 11, 2021 16:1311,43498,662,92436,589,13302,203,648
11May 11, 2021 16:1311,43492,928,13936,587,94502,195,456
12May 11, 2021 16:1312,289105,472,91839,323,82602,199,552