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 22, 2021 12:42Vladimir KuryakovVladimir KuryakovScore: 5,743Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 12:425,68545,046,29816,171,0002,021,0002,519,040
2May 22, 2021 12:425,69141,499,11515,177,0003,035,0002,527,232
3May 22, 2021 12:425,69843,963,06716,207,0002,025,0002,510,848
4May 22, 2021 12:425,70243,203,73916,219,0002,027,0002,519,040
5May 22, 2021 12:425,72045,170,55318,304,00002,396,160
6May 22, 2021 12:425,73040,923,31418,337,00002,392,064
7May 22, 2021 12:425,73348,317,25917,326,0001,019,0002,519,040
8May 22, 2021 12:425,74344,429,51817,356,0001,020,0002,519,040
9May 22, 2021 12:425,75637,304,32117,397,0001,023,0002,519,040
10May 22, 2021 12:425,98988,826,25719,166,35702,285,568
11May 22, 2021 12:426,00773,729,76419,221,72902,277,376
12May 22, 2021 12:426,00975,161,19219,227,98002,277,376
13May 22, 2021 12:426,03680,302,37419,314,68302,277,376
14May 22, 2021 12:426,03876,049,66319,320,08102,289,664
15May 22, 2021 12:426,05396,917,25919,370,04002,277,376