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 15, 2021 19:49alex3dalex3dScore: 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 15, 2021 19:496,10842,611,89317,487,0002,057,0002,326,528
2May 15, 2021 19:496,11437,236,90817,506,0002,059,0002,523,136
3May 15, 2021 19:496,11847,101,53918,546,0001,030,0002,531,328
4May 15, 2021 19:506,12139,673,28619,586,00002,531,328
5May 15, 2021 19:506,12637,136,81216,508,0003,095,0002,514,944
6May 15, 2021 19:506,12841,217,25318,578,0001,032,0002,531,328
7May 15, 2021 19:506,12846,225,71118,577,0001,032,0002,416,640
8May 15, 2021 19:496,13249,238,80818,589,0001,032,0002,326,528
9May 15, 2021 19:506,13349,690,89018,593,0001,032,0002,531,328
10May 15, 2021 19:496,14337,706,08518,622,0001,034,0002,326,528
11May 15, 2021 19:496,14547,310,20418,629,0001,034,0002,326,528
12May 15, 2021 19:496,15146,202,83219,684,00002,326,528
13May 15, 2021 19:506,15350,446,17818,652,0001,036,0002,531,328
14May 15, 2021 19:496,20180,144,06519,843,34202,240,512
15May 15, 2021 19:496,21250,062,60116,897,0002,981,0002,527,232
16May 15, 2021 19:506,21347,439,11716,899,0002,982,0002,326,528
17May 15, 2021 19:506,21648,452,57317,902,0001,989,0002,326,528
18May 15, 2021 19:506,21744,662,65016,909,0002,984,0002,531,328
19May 15, 2021 19:496,21837,343,75417,908,0001,989,0002,330,624
20May 15, 2021 19:506,23894,117,17319,961,11202,240,512
21May 15, 2021 19:506,23992,330,26419,964,69702,240,512
22May 15, 2021 19:496,248101,137,65819,992,56302,232,320
23May 15, 2021 19:506,26288,590,88320,036,95902,240,512
24May 15, 2021 19:496,33897,540,10620,281,68102,232,320