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:24Andrey TsvetkovAndrey TsvetkovScore: 5,706Success
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:245,66242,087,60116,104,0002,013,0002,326,528
2May 23, 2021 10:245,67043,858,57016,129,0002,016,0002,334,720
3May 23, 2021 10:245,67134,997,98417,140,0001,008,0002,334,720
4May 23, 2021 10:245,68346,858,61115,156,0003,031,0002,531,328
5May 23, 2021 10:245,69885,600,41018,233,16602,236,416
6May 23, 2021 10:245,69840,572,91915,194,0003,038,0002,318,336
7May 23, 2021 10:245,70244,117,29216,218,0002,027,0002,527,232
8May 23, 2021 10:245,70676,545,39218,258,75902,236,416
9May 23, 2021 10:245,71037,063,84016,243,0002,030,0002,519,040
10May 23, 2021 10:245,71139,515,24016,246,0002,030,0002,334,720
11May 23, 2021 10:245,718105,449,09818,297,27802,228,224
12May 23, 2021 10:245,72672,080,03118,324,66202,236,416
13May 23, 2021 10:245,73493,700,42818,350,20002,224,128
14May 23, 2021 10:245,74845,092,85616,350,0002,043,0002,523,136
15May 23, 2021 10:245,86057,359,51318,750,93002,228,224