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 13, 2021 19:44Andrey TsvetkovAndrey TsvetkovScore: 5,995Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 13, 2021 19:445,95647,063,58216,051,0003,009,0002,334,720
2Jul 13, 2021 19:445,96843,353,14916,081,0003,015,0002,326,528
3Jul 13, 2021 19:445,97644,988,03116,104,0003,019,0002,334,720
4Jul 13, 2021 19:445,99449,164,28316,152,0003,028,0002,527,232
5Jul 13, 2021 19:445,99445,518,76916,153,0003,028,0002,523,136
6Jul 13, 2021 19:445,99575,766,35519,183,03102,236,416
7Jul 13, 2021 19:445,99543,999,71417,165,0002,019,0002,527,232
8Jul 13, 2021 19:446,01741,263,53317,229,0002,026,0002,334,720
9Jul 13, 2021 19:446,02194,481,65019,265,95202,236,416
10Jul 13, 2021 19:446,02444,542,16417,249,0002,029,0002,531,328
11Jul 13, 2021 19:446,02838,537,32317,261,0002,030,0002,334,720
12Jul 13, 2021 19:446,07477,250,63919,438,00302,228,224