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 22, 2021 18:40Andrey TsvetkovAndrey TsvetkovScore: 5,720Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 22, 2021 18:155,67040,688,15115,120,0003,024,0002,334,720
2May 22, 2021 18:155,67143,891,78616,132,0002,016,0002,334,720
3May 22, 2021 18:155,67744,431,43116,149,0002,018,0002,334,720
4May 22, 2021 18:155,67945,872,54316,155,0002,019,0002,531,328
5May 22, 2021 18:405,68038,545,49515,147,0003,029,0002,527,232
6May 22, 2021 18:155,68339,899,00615,154,0003,030,0002,334,720
7May 22, 2021 18:405,68434,203,92815,157,0003,031,0002,334,720
8May 22, 2021 18:405,68644,936,09116,173,0002,021,0002,326,528
9May 22, 2021 18:405,69046,014,19415,173,0003,034,0002,334,720
10May 22, 2021 18:155,69044,727,49715,174,0003,034,0002,334,720
11May 22, 2021 18:405,69135,669,40116,189,0002,023,0002,334,720
12May 22, 2021 18:155,70641,094,11116,231,0002,028,0002,531,328
13May 22, 2021 18:405,70781,521,01318,262,28602,232,320
14May 22, 2021 18:405,70839,374,35916,237,0002,029,0002,334,720
15May 22, 2021 18:405,72089,660,59918,305,33002,232,320
16May 22, 2021 18:405,72041,564,05916,270,0002,033,0002,334,720
17May 22, 2021 18:405,72243,347,32715,258,0003,051,0002,519,040
18May 22, 2021 18:155,722100,087,36718,309,80302,232,320
19May 22, 2021 18:155,72447,949,08716,281,0002,035,0002,334,720
20May 22, 2021 18:155,72539,189,08615,266,0003,053,0002,527,232
21May 22, 2021 18:405,73071,100,61618,334,98402,228,224
22May 22, 2021 18:405,74875,084,89418,394,31302,224,128
23May 22, 2021 18:405,75546,471,33116,369,0002,046,0002,334,720
24May 22, 2021 18:155,76874,480,52318,456,53202,228,224
25May 22, 2021 18:155,79488,586,22118,540,67702,228,224
26May 22, 2021 18:405,82875,032,60118,649,27802,224,128
27May 22, 2021 18:155,82877,882,36418,650,21902,236,416
28May 22, 2021 18:155,84283,084,69318,694,94602,236,416
29May 22, 2021 18:155,92794,579,70618,965,75202,224,128
30May 22, 2021 18:405,96986,145,51119,101,27502,236,416