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:27Andrey TsvetkovAndrey TsvetkovScore: 5,703Success
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:275,67342,659,44815,127,0003,025,0002,527,232
2Jul 13, 2021 19:275,68035,385,88216,156,0002,019,0002,392,064
3Jul 13, 2021 19:275,68337,424,90916,164,0002,020,0002,527,232
4Jul 13, 2021 19:275,68339,536,18215,155,0003,031,0002,523,136
5Jul 13, 2021 19:275,69638,592,85515,189,0003,037,0002,334,720
6Jul 13, 2021 19:275,70377,821,21018,250,17002,224,128
7Jul 13, 2021 19:275,70332,315,95316,221,0002,027,0002,334,720
8Jul 13, 2021 19:275,71034,917,21915,227,0003,045,0002,310,144
9Jul 13, 2021 19:275,71643,363,17416,259,0002,032,0002,527,232
10Jul 13, 2021 19:275,72040,948,42415,253,0003,050,0002,531,328
11Jul 13, 2021 19:275,74958,888,61818,395,69902,244,608
12Jul 13, 2021 19:275,86591,771,94418,768,80702,236,416