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 20:54Andrey TsvetkovAndrey TsvetkovScore: 6,157Success
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 20:546,11243,043,26419,558,00002,531,328
2Jul 13, 2021 20:546,12049,942,78117,524,0002,061,0002,531,328
3Jul 13, 2021 20:546,13648,751,85317,569,0002,066,0002,527,232
4Jul 13, 2021 20:546,14249,646,54617,586,0002,068,0002,334,720
5Jul 13, 2021 20:546,14443,411,28418,626,0001,034,0002,326,528
6Jul 13, 2021 20:546,14850,806,35618,638,0001,035,0002,330,624
7Jul 13, 2021 20:546,15746,100,72918,665,0001,036,0002,330,624
8Jul 13, 2021 20:546,16936,622,19019,740,00002,326,528
9Jul 13, 2021 20:546,18285,199,49919,782,29902,236,416
10Jul 13, 2021 20:546,20992,448,51519,868,46402,232,320
11Jul 13, 2021 20:546,21642,605,50517,903,0001,989,0002,531,328
12Jul 13, 2021 20:546,24387,089,52319,977,58002,236,416