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 15:02Yuriy LyfenkoYuriy LyfenkoScore: 5,053Success
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 15:025,02233,179,79716,071,00002,383,872
2May 29, 2021 15:025,02332,119,20314,063,0002,009,0002,265,088
3May 29, 2021 15:025,03336,632,27215,100,0001,006,0002,265,088
4May 29, 2021 15:025,03850,160,64715,116,0001,007,0002,387,968
5May 29, 2021 15:025,04237,689,55915,127,0001,008,0002,510,848
6May 29, 2021 15:025,04732,855,36514,132,0002,018,0002,265,088
7May 29, 2021 15:025,05335,701,75314,148,0002,021,0002,265,088
8May 29, 2021 15:025,05635,909,60315,168,0001,011,0002,506,752
9May 29, 2021 15:025,05633,112,62414,158,0002,022,0002,400,256
10May 29, 2021 15:025,23463,348,37816,748,28502,285,568
11May 29, 2021 15:025,24971,708,88416,797,54502,285,568
12May 29, 2021 15:025,26564,193,25516,846,60102,281,472