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 24, 2021 18:20Dmitry DolgopolovDmitry DolgopolovScore: 5,350Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:205,31241,637,73514,998,0001,999,0002,535,424
2May 24, 2021 18:205,32238,969,57716,028,0001,001,0002,273,280
3May 24, 2021 18:205,33042,261,11415,051,0002,006,0002,437,120
4May 24, 2021 18:205,33244,620,27115,055,0002,007,0002,535,424
5May 24, 2021 18:205,34037,463,94115,079,0002,010,0002,535,424
6May 24, 2021 18:205,34443,897,83115,090,0002,012,0002,273,280
7May 24, 2021 18:205,35043,127,29215,107,0002,014,0002,265,088
8May 24, 2021 18:205,35440,625,79315,117,0002,015,0002,437,120
9May 24, 2021 18:205,37039,864,01715,162,0002,021,0002,437,120
10May 24, 2021 18:205,49955,568,06717,597,89202,199,552
11May 24, 2021 18:205,49957,905,08917,598,16802,203,648
12May 24, 2021 18:205,54147,467,07117,731,46902,199,552