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 16, 2021 13:10Andrey TsvetkovAndrey TsvetkovScore: 6,153Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:106,11539,233,71017,508,0002,059,0002,326,528
2May 16, 2021 13:106,11646,841,51018,540,0001,030,0002,519,040
3May 16, 2021 13:096,11835,809,40718,547,0001,030,0002,523,136
4May 16, 2021 13:096,12449,334,53118,566,0001,031,0002,326,528
5May 16, 2021 13:096,12543,465,16119,600,00002,527,232
6May 16, 2021 13:106,12743,401,60818,574,0001,031,0002,514,944
7May 16, 2021 13:096,13146,041,69517,554,0002,065,0002,326,528
8May 16, 2021 13:106,13343,787,96417,561,0002,066,0002,523,136
9May 16, 2021 13:106,14149,718,91218,616,0001,034,0002,326,528
10May 16, 2021 13:096,14346,536,44417,588,0002,069,0002,334,720
11May 16, 2021 13:096,14644,519,47117,596,0002,070,0002,531,328
12May 16, 2021 13:106,14943,884,32418,643,0001,035,0002,326,528
13May 16, 2021 13:106,15147,927,51118,647,0001,035,0002,326,528
14May 16, 2021 13:106,15340,973,78718,653,0001,036,0002,326,528
15May 16, 2021 13:096,16734,279,32917,656,0002,077,0002,527,232
16May 16, 2021 13:096,18178,719,47819,777,82702,220,032
17May 16, 2021 13:106,19990,175,34319,838,20202,232,320
18May 16, 2021 13:106,20648,324,84818,866,000992,0002,531,328
19May 16, 2021 13:096,21446,499,47718,892,000994,0002,519,040
20May 16, 2021 13:096,21648,499,93018,896,000994,0002,330,624
21May 16, 2021 13:096,224113,879,33919,917,19802,240,512
22May 16, 2021 13:106,22478,957,83819,917,92802,248,704
23May 16, 2021 13:106,23278,867,98219,942,30502,220,032
24May 16, 2021 13:106,24691,900,13819,987,93702,232,320
25May 16, 2021 13:096,25289,477,36720,006,34702,236,416
26May 16, 2021 13:106,33397,728,14120,264,48502,224,128
27May 16, 2021 13:106,36491,514,41120,363,84902,240,512