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 29, 2021 22:25Yuriy LyfenkoYuriy LyfenkoScore: 5,129Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 22:255,08140,515,57614,226,0002,032,0002,281,472
2May 29, 2021 22:255,08635,409,17114,242,0002,034,0002,281,472
3May 29, 2021 22:255,09133,742,82714,255,0002,036,0002,281,472
4May 29, 2021 22:255,09342,829,59414,259,0002,037,0002,412,544
5May 29, 2021 22:255,09937,103,69815,299,0001,019,0002,281,472
6May 29, 2021 22:255,10843,103,33014,304,0002,043,0002,494,464
7May 29, 2021 22:255,12937,780,35716,412,00002,519,040
8May 29, 2021 22:255,13338,952,89116,427,00002,400,256
9May 29, 2021 22:255,13943,340,25215,418,0001,027,0002,408,448
10May 29, 2021 22:255,24770,662,49116,791,22902,285,568
11May 29, 2021 22:255,26681,962,42916,850,15502,285,568
12May 29, 2021 22:255,29188,671,33516,931,64702,281,472