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,199Success
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:236,11846,366,13218,547,0001,030,0002,326,528
2May 11, 2021 16:236,12046,293,37518,553,0001,030,0002,326,528
3May 11, 2021 16:236,12040,680,38719,585,00002,527,232
4May 11, 2021 16:236,12845,251,28417,544,0002,064,0002,326,528
5May 11, 2021 16:236,13544,819,09717,565,0002,066,0002,330,624
6May 11, 2021 16:236,14543,100,51517,595,0002,070,0002,326,528
7May 11, 2021 16:236,16248,284,75917,644,0002,075,0002,330,624
8May 11, 2021 16:236,19991,382,78319,836,26702,232,320
9May 11, 2021 16:236,21044,483,57716,891,0002,980,0002,531,328
10May 11, 2021 16:236,21446,061,36318,891,000994,0002,531,328
11May 11, 2021 16:236,24998,651,67919,997,70202,228,224
12May 11, 2021 16:236,25086,806,59419,999,09602,232,320
13May 11, 2021 16:236,25594,395,32120,014,74802,232,320
14May 11, 2021 16:236,26496,021,44320,044,72502,240,512
15May 11, 2021 16:236,26599,055,46820,046,98602,228,224