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 listSep 20, 2022 03:13Kenneth MaplesKenneth MaplesScore: 5,143Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 20, 2022 03:135,09233,933,20716,295,00002,392,064
2Sep 20, 2022 03:135,09939,146,89515,299,0001,019,0002,400,256
3Sep 20, 2022 03:135,10335,769,15916,329,00002,265,088
4Sep 20, 2022 03:135,11037,850,04215,331,0001,022,0002,379,776
5Sep 20, 2022 03:135,11442,767,80415,342,0001,022,0002,396,160
6Sep 20, 2022 03:135,12838,735,09216,408,00002,265,088
7Sep 20, 2022 03:135,14341,816,01715,428,0001,028,0002,400,256
8Sep 20, 2022 03:135,15440,152,93416,494,00002,265,088
9Sep 20, 2022 03:135,15635,669,88416,498,00002,527,232
10Sep 20, 2022 03:135,30987,148,37116,989,45802,269,184
11Sep 20, 2022 03:135,31961,461,58817,022,15502,244,608
12Sep 20, 2022 03:135,35086,552,74817,121,33502,285,568