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 13, 2021 19:29alex3dalex3dScore: 5,382Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 13, 2021 19:315,32538,501,92216,038,0001,002,0002,445,312
2May 13, 2021 19:315,33532,072,63716,068,0001,004,0002,441,216
3May 13, 2021 19:315,33538,557,91214,059,0003,012,0002,445,312
4May 13, 2021 19:315,33639,832,91316,070,0001,004,0002,445,312
5May 13, 2021 19:305,35440,390,51616,126,0001,007,0002,531,328
6May 13, 2021 19:315,35440,975,20516,127,0001,007,0002,445,312
7May 13, 2021 19:305,35530,081,20616,129,0001,008,0002,445,312
8May 13, 2021 19:315,35639,097,94815,122,0002,016,0002,433,024
9May 13, 2021 19:305,36139,890,39116,147,0001,009,0002,531,328
10May 13, 2021 19:315,36141,167,39414,128,0003,027,0002,449,408
11May 13, 2021 19:295,36443,819,83616,157,0001,009,0002,269,184
12May 13, 2021 19:305,36640,095,07715,150,0002,020,0002,269,184
13May 13, 2021 19:315,36836,903,60816,166,0001,010,0002,441,216
14May 13, 2021 19:295,36937,089,97216,171,0001,010,0002,269,184
15May 13, 2021 19:305,36941,628,31516,171,0001,010,0002,265,088
16May 13, 2021 19:315,37139,959,41916,177,0001,011,0002,531,328
17May 13, 2021 19:295,37538,127,56016,190,0001,011,0002,449,408
18May 13, 2021 19:295,37943,216,40016,201,0001,012,0002,445,312
19May 13, 2021 19:295,38233,642,73416,208,0001,013,0002,531,328
20May 13, 2021 19:295,38339,656,86616,213,0001,013,0002,445,312
21May 13, 2021 19:305,38431,629,47816,216,0001,013,0002,441,216
22May 13, 2021 19:295,38831,252,43416,229,0001,014,0002,449,408
23May 13, 2021 19:305,39444,316,44017,261,00002,260,992
24May 13, 2021 19:305,39842,582,56017,272,00002,531,328
25May 13, 2021 19:295,40041,521,46617,279,00002,269,184
26May 13, 2021 19:295,40036,872,33416,264,0001,016,0002,449,408
27May 13, 2021 19:305,41537,402,16617,327,00002,265,088
28May 13, 2021 19:295,60153,582,07217,923,35202,195,456
29May 13, 2021 19:315,61088,991,70317,951,66702,207,744
30May 13, 2021 19:295,62077,323,61917,983,32302,199,552
31May 13, 2021 19:315,62087,837,11317,984,94502,203,648
32May 13, 2021 19:305,62693,437,55418,003,61702,199,552
33May 13, 2021 19:295,63687,458,47218,033,69202,199,552
34May 13, 2021 19:305,63888,140,86018,040,85302,203,648
35May 13, 2021 19:315,65691,601,60418,099,56902,199,552
36May 13, 2021 19:305,70373,627,87718,249,80902,203,648