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 24, 2021 18:46Yuriy LyfenkoYuriy LyfenkoScore: 5,155Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 24, 2021 18:465,09740,706,14315,292,0001,019,0002,392,064
2May 24, 2021 18:465,11531,648,44915,346,0001,023,0002,265,088
3May 24, 2021 18:465,12442,953,81715,374,0001,024,0002,396,160
4May 24, 2021 18:465,13834,788,83415,414,0001,027,0002,396,160
5May 24, 2021 18:465,13831,401,99516,443,00002,396,160
6May 24, 2021 18:465,13931,239,45415,417,0001,027,0002,265,088
7May 24, 2021 18:465,15535,336,73116,497,00002,265,088
8May 24, 2021 18:465,15640,253,83215,467,0001,031,0002,387,968
9May 24, 2021 18:465,16634,003,28116,531,00002,387,968
10May 24, 2021 18:465,32863,773,47217,050,70902,281,472
11May 24, 2021 18:465,40856,585,38717,307,02602,281,472
12May 24, 2021 18:465,55353,454,55217,768,99202,277,376