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 4, 2021 22:03Andrey TsvetkovAndrey TsvetkovScore: 5,649Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2021 22:035,60134,830,69316,927,000995,0002,433,024
2Sep 4, 2021 22:035,60641,488,77115,946,0001,993,0002,342,912
3Sep 4, 2021 22:035,61447,789,54415,969,0001,996,0002,437,120
4Sep 4, 2021 22:035,62050,233,34216,985,000999,0002,342,912
5Sep 4, 2021 22:035,62940,030,63217,013,0001,000,0002,428,928
6Sep 4, 2021 22:035,63442,003,90717,027,0001,001,0002,334,720
7Sep 4, 2021 22:035,64935,181,96216,069,0002,008,0002,428,928
8Sep 4, 2021 22:035,65044,092,22816,071,0002,008,0002,342,912
9Sep 4, 2021 22:035,65048,215,63915,067,0003,013,0002,342,912
10Sep 4, 2021 22:035,66475,170,98418,124,95002,269,184
11Sep 4, 2021 22:035,74588,230,62418,383,97602,265,088
12Sep 4, 2021 22:035,82868,686,36118,649,07002,269,184