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 11, 2021 20:57Mikhail DektyarevMikhail DektyarevScore: 5,621Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 11, 2021 20:575,59548,525,89013,926,0003,978,0002,387,968
2May 11, 2021 21:135,59847,138,98115,925,0001,990,0002,519,040
3May 11, 2021 21:135,59943,978,57914,931,0002,986,0002,260,992
4May 11, 2021 21:135,60043,886,41515,928,0001,991,0002,392,064
5May 11, 2021 21:135,60535,906,51315,943,0001,992,0002,375,680
6May 11, 2021 20:575,60744,612,24615,950,0001,993,0002,519,040
7May 11, 2021 20:575,60746,231,14715,948,0001,993,0002,387,968
8May 11, 2021 21:135,60943,114,50315,954,0001,994,0002,519,040
9May 11, 2021 21:135,61042,733,45516,954,000997,0002,379,776
10May 11, 2021 21:135,61234,536,33515,963,0001,995,0002,392,064
11May 11, 2021 20:575,61555,488,17815,971,0001,996,0002,379,776
12May 11, 2021 20:575,61743,430,80315,976,0001,997,0002,519,040
13May 11, 2021 20:575,62147,275,08716,988,000999,0002,506,752
14May 11, 2021 20:575,62547,613,44617,001,0001,000,0002,519,040
15May 11, 2021 20:575,63341,487,65515,020,0003,004,0002,392,064
16May 11, 2021 20:575,63844,671,98315,035,0003,007,0002,519,040
17May 11, 2021 21:135,63951,113,75915,037,0003,007,0002,383,872
18May 11, 2021 21:135,65142,858,25116,075,0002,009,0002,523,136
19May 11, 2021 20:575,91788,087,13918,935,30802,273,280
20May 11, 2021 20:575,92682,064,57618,961,61802,285,568
21May 11, 2021 20:575,93989,387,12019,003,88802,281,472
22May 11, 2021 21:135,93983,870,48119,003,51802,281,472
23May 11, 2021 21:135,93985,094,86319,005,72402,277,376
24May 11, 2021 21:135,96281,042,13819,077,96602,277,376