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 19, 2021 23:57Yuriy LyfenkoYuriy LyfenkoScore: 5,305Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 19, 2021 23:585,26135,456,43914,856,0001,980,0002,523,136
2May 19, 2021 23:575,27143,636,62414,882,0001,984,0002,260,992
3May 19, 2021 23:585,27243,383,83513,893,0002,977,0002,387,968
4May 19, 2021 23:575,27332,627,84814,888,0001,985,0002,260,992
5May 19, 2021 23:585,27339,206,81914,890,0001,985,0002,260,992
6May 19, 2021 23:575,27645,625,27414,896,0001,986,0002,260,992
7May 19, 2021 23:575,27640,653,21514,896,0001,986,0002,260,992
8May 19, 2021 23:585,27742,606,24516,886,00002,392,064
9May 19, 2021 23:575,27845,618,87415,897,000993,0002,260,992
10May 19, 2021 23:585,27834,177,83114,902,0001,986,0002,260,992
11May 19, 2021 23:585,28338,127,11614,916,0001,988,0002,260,992
12May 19, 2021 23:585,28442,010,21115,915,000994,0002,383,872
13May 19, 2021 23:575,29742,137,72614,956,0001,994,0002,400,256
14May 19, 2021 23:575,29941,999,46114,963,0001,995,0002,265,088
15May 19, 2021 23:575,30044,599,38114,965,0001,995,0002,383,872
16May 19, 2021 23:575,30536,936,43914,978,0001,997,0002,523,136
17May 19, 2021 23:585,31546,638,40615,008,0002,001,0002,260,992
18May 19, 2021 23:585,31844,966,27016,016,0001,001,0002,523,136
19May 19, 2021 23:575,45964,234,10917,469,55502,281,472
20May 19, 2021 23:585,48275,753,58117,541,03902,281,472
21May 19, 2021 23:585,49476,929,27117,580,03002,277,376
22May 19, 2021 23:575,49480,105,88117,582,32202,273,280
23May 19, 2021 23:585,49798,660,17317,589,41902,289,664
24May 19, 2021 23:585,50875,167,92117,626,48702,273,280
25May 19, 2021 23:585,51960,043,85217,662,04902,281,472
26May 19, 2021 23:575,52256,514,30617,671,95402,273,280
27May 19, 2021 23:585,52878,729,17117,689,40502,281,472
28May 19, 2021 23:575,53479,971,81817,708,51902,281,472
29May 19, 2021 23:575,53975,930,55017,725,52402,277,376
30May 19, 2021 23:575,54766,832,66217,750,63302,277,376