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 30, 2021 16:49Yuriy LyfenkoYuriy LyfenkoScore: 5,043Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 30, 2021 16:495,00146,896,40514,004,0002,000,0002,281,472
2May 30, 2021 16:495,01032,464,99514,028,0002,004,0002,281,472
3May 30, 2021 16:495,01839,552,37415,054,0001,003,0002,281,472
4May 30, 2021 16:495,02634,410,77615,077,0001,005,0002,404,352
5May 30, 2021 16:495,02729,674,63615,081,0001,005,0002,281,472
6May 30, 2021 16:495,03833,027,31314,106,0002,015,0002,281,472
7May 30, 2021 16:495,04342,489,83314,122,0002,017,0002,281,472
8May 30, 2021 16:495,05337,277,40515,161,0001,010,0002,408,448
9May 30, 2021 16:495,05639,212,60715,168,0001,011,0002,404,352
10May 30, 2021 16:495,20875,377,24416,664,80302,293,760
11May 30, 2021 16:495,22373,138,79716,712,28002,289,664
12May 30, 2021 16:495,23082,584,98916,737,25902,252,800