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 10:42Andrey TsvetkovAndrey TsvetkovScore: 5,758Success
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 10:425,69943,991,33515,199,0003,039,0002,334,720
2May 23, 2021 10:425,72241,373,52415,258,0003,051,0002,334,720
3May 23, 2021 10:425,73039,889,72716,298,0002,037,0002,334,720
4May 23, 2021 10:425,73140,876,04016,301,0002,037,0002,334,720
5May 23, 2021 10:425,73443,220,65516,310,0002,038,0002,531,328
6May 23, 2021 10:425,74647,154,20415,323,0003,064,0002,334,720
7May 23, 2021 10:425,74835,092,87516,349,0002,043,0002,531,328
8May 23, 2021 10:425,75844,822,36715,356,0003,071,0002,334,720
9May 23, 2021 10:425,75972,586,30918,429,42102,232,320
10May 23, 2021 10:425,75939,835,33617,405,0001,023,0002,334,720
11May 23, 2021 10:425,76787,850,14818,453,94502,244,608
12May 23, 2021 10:425,79280,532,39918,535,69802,232,320
13May 23, 2021 10:425,80277,902,00718,565,97802,240,512
14May 23, 2021 10:425,80676,010,73518,578,19502,248,704
15May 23, 2021 10:425,85583,248,31118,735,27002,236,416