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 29, 2021 16:07Yuriy LyfenkoYuriy LyfenkoScore: 5,620Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 29, 2021 16:075,04942,339,94314,138,0002,019,0002,281,472
2May 29, 2021 16:075,06543,448,49114,183,0002,026,0002,281,472
3May 29, 2021 16:075,07031,331,44414,197,0002,028,0002,523,136
4May 29, 2021 16:075,07437,337,89114,207,0002,029,0002,281,472
5May 29, 2021 16:075,08633,104,49214,240,0002,034,0002,281,472
6May 29, 2021 16:075,09143,669,75615,274,0001,018,0002,396,160
7May 29, 2021 16:075,10735,476,19215,320,0001,021,0002,281,472
8May 29, 2021 16:075,11139,049,90616,354,00002,400,256
9May 29, 2021 16:075,11241,324,41715,335,0001,022,0002,281,472
10May 29, 2021 16:075,24282,192,51816,773,31902,281,472
11May 29, 2021 16:075,25086,072,96016,798,42202,289,664
12May 29, 2021 16:075,27355,779,30916,872,46302,285,568
13May 29, 2021 16:075,62036,422,91316,986,000999,0002,412,544
14May 29, 2021 16:075,63044,629,29117,016,0001,000,0002,281,472
15May 29, 2021 16:075,63241,557,03716,020,0002,002,0002,281,472
16May 29, 2021 16:075,64542,142,32317,060,0001,003,0002,408,448
17May 29, 2021 16:075,64644,357,94017,064,0001,003,0002,281,472
18May 29, 2021 16:075,65040,511,95017,076,0001,004,0002,400,256
19May 29, 2021 16:075,65033,254,01017,077,0001,004,0002,281,472
20May 29, 2021 16:075,65145,721,27517,080,0001,004,0002,281,472
21May 29, 2021 16:075,68640,707,22116,173,0002,021,0002,408,448
22May 29, 2021 16:075,790112,518,86018,526,85502,297,856
23May 29, 2021 16:075,80569,510,10718,574,96702,293,760
24May 29, 2021 16:075,81294,995,50718,597,87002,289,664