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 listJul 28, 2024 07:24BenBenScore: 5,342Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 07:245,30045,647,89614,964,0001,995,0002,265,088
2Jul 28, 2024 07:245,31832,429,30215,015,0002,002,0002,383,872
3Jul 28, 2024 07:245,32442,755,71416,034,0001,002,0002,265,088
4Jul 28, 2024 07:245,32431,855,06416,035,0001,002,0002,387,968
5Jul 28, 2024 07:245,32641,760,74915,038,0002,005,0002,265,088
6Jul 28, 2024 07:245,33142,321,86815,052,0002,007,0002,527,232
7Jul 28, 2024 07:245,34242,628,01816,090,0001,005,0002,387,968
8Jul 28, 2024 07:245,34647,527,96416,101,0001,006,0002,392,064
9Jul 28, 2024 07:245,35449,340,42115,118,0002,015,0002,494,464
10Jul 28, 2024 07:245,551104,749,83417,764,34802,293,760
11Jul 28, 2024 07:245,56480,124,18717,803,25202,285,568
12Jul 28, 2024 07:245,56880,953,89017,818,60902,277,376