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 14:55Yuriy LyfenkoYuriy LyfenkoScore: 5,133Success
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 14:555,07647,570,09414,212,0002,030,0002,396,160
2May 23, 2021 14:555,07730,600,26714,215,0002,030,0002,396,160
3May 23, 2021 14:555,08642,750,10414,242,0002,034,0002,396,160
4May 23, 2021 14:555,08931,518,29614,251,0002,035,0002,265,088
5May 23, 2021 14:555,09138,068,78414,255,0002,036,0002,265,088
6May 23, 2021 14:555,11143,718,42716,355,00002,265,088
7May 23, 2021 14:555,13336,241,25115,398,0001,026,0002,265,088
8May 23, 2021 14:555,16336,570,27215,491,0001,032,0002,265,088
9May 23, 2021 14:555,17338,619,44615,519,0001,034,0002,392,064
10May 23, 2021 14:555,27775,643,16216,887,81102,281,472
11May 23, 2021 14:555,33179,348,43817,058,35302,273,280
12May 23, 2021 14:555,36155,384,27217,153,82702,281,472