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 listFeb 28, 2024 04:56Ryan Chung Yi ShengRyan Chung Yi ShengScore: 5,585Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Feb 28, 2024 04:565,46089,186,18117,470,59802,293,760
2Feb 28, 2024 04:565,47277,935,41717,511,69002,293,760
3Feb 28, 2024 04:565,47488,538,57617,515,95302,297,856
4Feb 28, 2024 04:565,48479,851,58217,549,26302,301,952
5Feb 28, 2024 04:565,49590,434,45117,583,77102,301,952
6Feb 28, 2024 04:565,49789,065,55617,591,16502,179,072
7Feb 28, 2024 04:565,49786,480,75717,590,41202,301,952
8Feb 28, 2024 04:565,51186,488,05417,635,00802,297,856
9Feb 28, 2024 04:565,51779,827,91317,654,10102,293,760
10Feb 28, 2024 04:565,53247,904,04417,702,00002,404,352
11Feb 28, 2024 04:565,53332,811,32916,665,0001,041,0002,392,064
12Feb 28, 2024 04:565,54445,085,34517,740,00002,392,064
13Feb 28, 2024 04:565,57244,338,25617,829,00002,281,472
14Feb 28, 2024 04:565,57839,205,03715,866,0001,983,0002,400,256
15Feb 28, 2024 04:565,58243,115,45015,877,0001,984,0002,281,472
16Feb 28, 2024 04:565,58241,502,69815,878,0001,984,0002,404,352
17Feb 28, 2024 04:565,58442,818,69516,876,000992,0002,510,848
18Feb 28, 2024 04:565,58548,526,25316,879,000992,0002,281,472
19Feb 28, 2024 04:565,58542,714,29416,880,000992,0002,281,472
20Feb 28, 2024 04:565,58550,634,62215,886,0001,985,0002,281,472
21Feb 28, 2024 04:565,58736,219,88815,891,0001,986,0002,281,472
22Feb 28, 2024 04:565,58744,496,03616,885,000993,0002,281,472
23Feb 28, 2024 04:565,58842,586,04415,894,0001,986,0002,281,472
24Feb 28, 2024 04:565,58849,541,77215,896,0001,987,0002,400,256
25Feb 28, 2024 04:565,59138,518,56416,897,000993,0002,281,472
26Feb 28, 2024 04:565,59941,383,37716,922,000995,0002,281,472
27Feb 28, 2024 04:565,60542,647,17615,944,0001,993,0002,396,160
28Feb 28, 2024 04:565,60841,556,25716,950,000997,0002,396,160
29Feb 28, 2024 04:565,61043,710,13416,955,000997,0002,392,064
30Feb 28, 2024 04:565,61138,641,70116,959,000997,0002,281,472
31Feb 28, 2024 04:565,61243,809,82816,961,000997,0002,281,472
32Feb 28, 2024 04:565,61341,636,82015,966,0001,995,0002,281,472
33Feb 28, 2024 04:565,61339,618,75916,963,000997,0002,396,160
34Feb 28, 2024 04:565,61439,551,19215,969,0001,996,0002,281,472
35Feb 28, 2024 04:565,61642,157,53116,973,000998,0002,400,256
36Feb 28, 2024 04:565,62639,645,14716,003,0002,000,0002,400,256