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 19, 2021 23:31alex3dalex3dScore: 5,049Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:315,02237,533,26614,062,0002,008,0002,453,504
2May 19, 2021 23:315,02343,415,81814,065,0002,009,0002,273,280
3May 19, 2021 23:315,02429,609,21314,069,0002,009,0002,535,424
4May 19, 2021 23:315,02937,214,01014,081,0002,011,0002,445,312
5May 19, 2021 23:315,04638,724,64814,128,0002,018,0002,535,424
6May 19, 2021 23:315,04637,546,94914,129,0002,018,0002,453,504
7May 19, 2021 23:315,04934,787,50914,137,0002,019,0002,535,424
8May 19, 2021 23:315,04938,288,29514,138,0002,019,0002,449,408
9May 19, 2021 23:315,06532,430,22614,183,0002,026,0002,527,232
10May 19, 2021 23:315,24170,983,29616,769,92202,203,648
11May 19, 2021 23:315,24981,343,11916,795,25302,199,552
12May 19, 2021 23:315,30176,610,40316,962,33102,195,456
13May 19, 2021 23:315,32074,134,93917,024,53702,199,552
14May 19, 2021 23:315,35378,448,66517,130,78302,199,552
15May 19, 2021 23:315,35981,057,51817,150,39702,195,456