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 23:21Egor SergeevEgor SergeevScore: 5,690Success
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 23:215,66041,560,56516,101,0002,012,0002,277,376
2May 24, 2021 23:215,66234,663,37317,113,0001,006,0002,277,376
3May 24, 2021 23:215,67739,748,47917,158,0001,009,0002,277,376
4May 24, 2021 23:215,68142,138,70916,159,0002,019,0002,527,232
5May 24, 2021 23:215,68239,609,31417,173,0001,010,0002,277,376
6May 24, 2021 23:215,68431,013,52015,158,0003,031,0002,293,760
7May 24, 2021 23:215,69046,146,09316,186,0002,023,0002,273,280
8May 24, 2021 23:215,70135,432,42915,202,0003,040,0002,277,376
9May 24, 2021 23:215,73041,038,90516,298,0002,037,0002,277,376
10May 24, 2021 23:215,86252,268,85018,757,26802,256,896
11May 24, 2021 23:215,86367,353,50218,760,63802,183,168
12May 24, 2021 23:215,90682,745,31418,898,00402,297,856