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 15, 2021 22:20Yuriy LyfenkoYuriy LyfenkoScore: 5,687Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 15, 2021 22:235,42836,926,94416,348,0001,021,0002,396,160
2May 15, 2021 22:235,44440,348,53415,371,0002,049,0002,523,136
3May 15, 2021 22:235,45640,356,56615,406,0002,054,0002,473,984
4May 15, 2021 22:235,45643,772,48114,379,0003,081,0002,260,992
5May 15, 2021 22:235,45740,050,76216,435,0001,027,0002,387,968
6May 15, 2021 22:235,46349,162,03916,454,0001,028,0002,400,256
7May 15, 2021 22:235,47042,604,78916,475,0001,029,0002,523,136
8May 15, 2021 22:235,48143,406,38416,507,0001,031,0002,260,992
9May 15, 2021 22:235,51436,172,16016,607,0001,037,0002,396,160
10May 15, 2021 22:205,64935,961,44716,069,0002,008,0002,510,848
11May 15, 2021 22:205,65250,529,24316,077,0002,009,0002,523,136
12May 15, 2021 22:235,66265,740,00818,119,43202,285,568
13May 15, 2021 22:205,67135,768,48616,131,0002,016,0002,523,136
14May 15, 2021 22:205,67149,197,58015,122,0003,024,0002,260,992
15May 15, 2021 22:235,68457,863,25418,189,82402,269,184
16May 15, 2021 22:205,68750,325,85614,154,0004,044,0002,383,872
17May 15, 2021 22:205,69244,218,78816,191,0002,023,0002,383,872
18May 15, 2021 22:205,69343,021,19817,204,0001,012,0002,260,992
19May 15, 2021 22:205,69936,112,21616,212,0002,026,0002,523,136
20May 15, 2021 22:235,70476,795,76518,251,46802,277,376
21May 15, 2021 22:205,70842,187,58316,236,0002,029,0002,387,968
22May 15, 2021 22:205,86183,053,03818,756,67802,273,280
23May 15, 2021 22:205,88187,550,06918,819,76702,281,472
24May 15, 2021 22:205,92794,264,51818,965,35802,281,472
25May 15, 2021 22:2015,818130,254,80550,618,68302,277,376
26May 15, 2021 22:2015,834127,474,54550,669,42302,285,568
27May 15, 2021 22:2015,839107,751,31950,685,12402,281,472
28May 15, 2021 22:2015,843115,560,25650,697,68302,289,664
29May 15, 2021 22:2015,846116,122,76650,707,11602,285,568
30May 15, 2021 22:2015,848119,046,61250,712,20802,273,280