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 listNov 1, 2021 14:50Ilya AniskovetsIlya AniskovetsScore: 5,384Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 1, 2021 14:505,33532,776,98516,068,0001,004,0002,383,872
2Nov 1, 2021 14:505,34845,410,88215,099,0002,013,0002,392,064
3Nov 1, 2021 14:505,36336,858,57115,143,0002,019,0002,265,088
4Nov 1, 2021 14:505,36344,881,43915,144,0002,019,0002,514,944
5Nov 1, 2021 14:505,37045,293,40915,162,0002,021,0002,523,136
6Nov 1, 2021 14:505,37233,998,23616,178,0001,011,0002,265,088
7Nov 1, 2021 14:505,38434,147,61215,203,0002,027,0002,265,088
8Nov 1, 2021 14:505,38836,897,11716,226,0001,014,0002,269,184
9Nov 1, 2021 14:505,39345,597,96015,226,0002,030,0002,265,088
10Nov 1, 2021 14:505,52966,496,50117,692,73002,285,568
11Nov 1, 2021 14:505,55979,488,97517,789,08302,285,568
12Nov 1, 2021 14:505,56893,582,82017,816,06102,273,280