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:25Andrey TsvetkovAndrey TsvetkovScore: 5,717Success
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:255,68840,063,10416,180,0002,022,0002,523,136
2Jul 13, 2021 19:255,69045,913,78216,185,0002,023,0002,334,720
3Jul 13, 2021 19:255,69442,256,23516,198,0002,024,0002,330,624
4Jul 13, 2021 19:255,69543,728,85415,186,0003,037,0002,527,232
5Jul 13, 2021 19:255,70345,257,94615,209,0003,041,0002,527,232
6Jul 13, 2021 19:255,70652,184,41415,216,0003,043,0002,527,232
7Jul 13, 2021 19:255,71739,314,13316,261,0002,032,0002,523,136
8Jul 13, 2021 19:255,72542,292,67815,266,0003,053,0002,392,064
9Jul 13, 2021 19:255,73762,545,16718,357,55602,220,032
10Jul 13, 2021 19:255,73939,989,30716,325,0002,040,0002,527,232
11Jul 13, 2021 19:255,74983,138,93418,395,83002,224,128
12Jul 13, 2021 19:255,77587,117,95318,480,04902,228,224