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 23, 2021 10:32Andrey TsvetkovAndrey TsvetkovScore: 5,726Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 23, 2021 10:325,68034,213,57216,156,0002,019,0002,334,720
2May 23, 2021 10:365,68942,017,03517,194,0001,011,0002,334,720
3May 23, 2021 10:365,69042,361,26316,186,0002,023,0002,334,720
4May 23, 2021 10:325,69045,964,39315,173,0003,034,0002,531,328
5May 23, 2021 10:365,69141,185,51215,176,0003,035,0002,531,328
6May 23, 2021 10:365,69139,251,08815,176,0003,035,0002,531,328
7May 23, 2021 10:325,69842,154,93116,208,0002,026,0002,531,328
8May 23, 2021 10:325,70656,970,48418,259,38902,244,608
9May 23, 2021 10:325,70898,020,67818,265,43502,248,704
10May 23, 2021 10:325,71246,659,72215,232,0003,046,0002,535,424
11May 23, 2021 10:365,71241,283,61716,248,0002,031,0002,519,040
12May 23, 2021 10:365,71346,014,02316,252,0002,031,0002,396,160
13May 23, 2021 10:325,71845,971,43516,266,0002,033,0002,531,328
14May 23, 2021 10:365,72642,401,03115,269,0003,053,0002,334,720
15May 23, 2021 10:325,72642,004,71416,287,0002,035,0002,531,328
16May 23, 2021 10:325,72644,729,41715,269,0003,053,0002,531,328
17May 23, 2021 10:365,73343,367,90816,307,0002,038,0002,531,328
18May 23, 2021 10:325,73370,980,17118,344,21402,236,416
19May 23, 2021 10:365,73744,695,81117,339,0001,019,0002,519,040
20May 23, 2021 10:325,73836,595,14116,320,0002,040,0002,334,720
21May 23, 2021 10:365,76968,147,22418,460,65902,236,416
22May 23, 2021 10:325,77384,909,42418,472,04902,236,416
23May 23, 2021 10:325,77657,061,55518,481,86602,240,512
24May 23, 2021 10:325,80644,968,21016,516,0002,064,0002,293,760
25May 23, 2021 10:365,81382,291,67818,603,17702,240,512
26May 23, 2021 10:365,81575,797,34318,609,26502,224,128
27May 23, 2021 10:365,84390,502,01618,698,77502,236,416
28May 23, 2021 10:365,84694,466,90718,706,75402,232,320
29May 23, 2021 10:325,85583,125,86318,734,44702,236,416
30May 23, 2021 10:365,93680,341,22218,994,34402,240,512