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:47BenBenScore: 5,041Success
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:475,01331,510,00215,041,0001,002,0002,392,064
2Jul 28, 2024 07:475,01835,390,36515,056,0001,003,0002,265,088
3Jul 28, 2024 07:475,02432,063,32615,073,0001,004,0002,265,088
4Jul 28, 2024 07:475,02532,554,81514,070,0002,010,0002,265,088
5Jul 28, 2024 07:475,02634,825,75814,074,0002,010,0002,265,088
6Jul 28, 2024 07:475,03834,937,40614,108,0002,015,0002,383,872
7Jul 28, 2024 07:475,04141,578,55714,114,0002,016,0002,523,136
8Jul 28, 2024 07:475,05728,544,16014,160,0002,022,0002,527,232
9Jul 28, 2024 07:475,08836,303,46715,266,0001,017,0002,265,088
10Jul 28, 2024 07:475,17198,580,96616,548,00102,281,472
11Jul 28, 2024 07:475,264107,151,34216,844,57602,240,512
12Jul 28, 2024 07:475,30477,002,58816,971,55302,277,376