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 listJun 9, 2024 20:55джулисджулисScore: 5,733Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 9, 2024 20:555,69139,024,12916,188,0002,023,0002,375,680
2Jun 9, 2024 20:555,71141,642,69016,245,0002,030,0002,293,760
3Jun 9, 2024 20:555,71337,921,91617,268,0001,015,0002,379,776
4Jun 9, 2024 20:555,72142,957,53917,291,0001,017,0002,379,776
5Jun 9, 2024 20:555,72241,789,91716,275,0002,034,0002,293,760
6Jun 9, 2024 20:555,73044,760,18316,299,0002,037,0002,293,760
7Jun 9, 2024 20:555,73342,041,32717,327,0001,019,0002,379,776
8Jun 9, 2024 20:555,73445,962,23718,350,00002,367,488
9Jun 9, 2024 20:555,76546,069,07117,423,0001,024,0002,367,488
10Jun 9, 2024 20:555,95584,908,09219,055,12402,260,992
11Jun 9, 2024 20:555,96289,922,69819,078,18502,248,704
12Jun 9, 2024 20:556,05976,942,13619,388,86902,256,896