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 23, 2021 17:02Yuriy LyfenkoYuriy LyfenkoScore: 5,159Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 17:025,10639,173,81416,338,00002,383,872
2May 23, 2021 17:025,10843,193,42315,325,0001,021,0002,265,088
3May 23, 2021 17:025,12134,589,98616,388,00002,265,088
4May 23, 2021 17:025,12246,203,58615,365,0001,024,0002,400,256
5May 23, 2021 17:025,12541,337,85515,375,0001,025,0002,265,088
6May 23, 2021 17:025,13532,094,08615,405,0001,027,0002,265,088
7May 23, 2021 17:025,15941,126,81016,508,00002,265,088
8May 23, 2021 17:025,15940,879,49516,508,00002,265,088
9May 23, 2021 17:025,16341,718,26015,491,0001,032,0002,269,184
10May 23, 2021 17:025,32896,060,17217,049,60902,281,472
11May 23, 2021 17:025,37150,896,93117,186,45002,269,184
12May 23, 2021 17:025,37374,702,40217,194,45402,285,568