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 listMay 11, 2021 16:23Andrey TsvetkovAndrey TsvetkovScore: 6,212Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 16:226,12243,687,95017,528,0002,062,0002,531,328
2May 11, 2021 16:226,12843,951,95818,576,0001,032,0002,527,232
3May 11, 2021 16:226,14339,111,72518,624,0001,034,0002,527,232
4May 11, 2021 16:226,15150,012,77217,612,0002,072,0002,326,528
5May 11, 2021 16:226,15246,952,16118,649,0001,036,0002,326,528
6May 11, 2021 16:226,15450,179,22717,621,0002,073,0002,523,136
7May 11, 2021 16:226,15646,640,10718,663,0001,036,0002,326,528
8May 11, 2021 16:226,15650,056,48818,662,0001,036,0002,326,528
9May 11, 2021 16:226,20467,795,39219,853,56202,244,608
10May 11, 2021 16:226,21247,682,78917,891,0001,987,0002,326,528
11May 11, 2021 16:226,23194,384,57919,939,52902,240,512
12May 11, 2021 16:226,26187,995,04920,033,83502,240,512
13May 11, 2021 16:226,26362,427,93820,042,86802,228,224
14May 11, 2021 16:236,28184,345,06320,098,55902,236,416
15May 11, 2021 16:226,28495,454,78520,109,50402,236,416
16May 11, 2021 16:226,31189,272,89620,195,84002,244,608
17May 11, 2021 16:236,31286,594,32220,199,43102,232,320
18May 11, 2021 16:236,37398,451,79520,395,13802,232,320