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 16, 2021 13:34Yuriy LyfenkoYuriy LyfenkoScore: 5,465Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 16, 2021 13:305,42334,890,53017,355,00002,519,040
2May 16, 2021 13:295,43132,097,73717,378,00002,392,064
3May 16, 2021 13:305,43240,850,51317,382,00002,519,040
4May 16, 2021 13:305,43340,310,36917,385,00002,506,752
5May 16, 2021 13:295,43339,683,40416,364,0001,022,0002,519,040
6May 16, 2021 13:305,43334,210,37716,364,0001,022,0002,387,968
7May 16, 2021 13:295,43739,651,29616,376,0001,023,0002,519,040
8May 16, 2021 13:295,44050,989,78216,385,0001,024,0002,519,040
9May 16, 2021 13:305,44636,164,08716,401,0001,025,0002,506,752
10May 16, 2021 13:295,44839,341,79516,408,0001,025,0002,519,040
11May 16, 2021 13:305,44838,434,87117,432,00002,519,040
12May 16, 2021 13:345,44934,285,84317,436,00002,519,040
13May 16, 2021 13:345,45333,864,69216,425,0001,026,0002,387,968
14May 16, 2021 13:305,45839,087,81117,466,00002,387,968
15May 16, 2021 13:295,45834,331,07817,467,00002,519,040
16May 16, 2021 13:295,46046,197,25816,446,0001,027,0002,519,040
17May 16, 2021 13:305,46236,011,84415,422,0002,056,0002,519,040
18May 16, 2021 13:295,46235,614,34817,479,00002,392,064
19May 16, 2021 13:295,46544,399,93916,460,0001,028,0002,519,040
20May 16, 2021 13:345,47039,849,09416,475,0001,029,0002,523,136
21May 16, 2021 13:305,47042,651,82616,476,0001,029,0002,469,888
22May 16, 2021 13:345,47537,645,17816,490,0001,030,0002,519,040
23May 16, 2021 13:345,58442,680,93915,884,0001,985,0002,387,968
24May 16, 2021 13:345,58447,394,01315,883,0001,985,0002,519,040
25May 16, 2021 13:345,58645,981,59614,896,0002,979,0002,519,040
26May 16, 2021 13:345,59143,140,41613,681,0004,209,0002,392,064
27May 16, 2021 13:345,60549,129,62314,948,0002,989,0002,519,040
28May 16, 2021 13:295,706100,612,14918,259,11502,289,664
29May 16, 2021 13:305,71071,017,09118,272,29402,277,376
30May 16, 2021 13:305,71699,627,94818,292,77702,289,664
31May 16, 2021 13:295,72366,701,95718,313,04202,277,376
32May 16, 2021 13:345,73380,555,43718,344,07102,269,184
33May 16, 2021 13:305,73664,715,74918,355,40702,269,184
34May 16, 2021 13:345,75490,945,46218,412,96502,281,472
35May 16, 2021 13:295,75468,715,97018,411,62802,281,472
36May 16, 2021 13:345,78875,632,34718,521,17902,281,472