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 15:55Yuriy LyfenkoYuriy LyfenkoScore: 5,459Success
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 15:545,42340,710,62016,333,0001,020,0002,519,040
2May 16, 2021 15:545,42544,117,20216,339,0001,021,0002,510,848
3May 16, 2021 15:545,43236,864,63616,359,0001,022,0002,519,040
4May 16, 2021 15:555,43238,728,41517,382,00002,519,040
5May 16, 2021 15:545,43342,198,90816,365,0001,022,0002,519,040
6May 16, 2021 15:545,43440,395,71016,366,0001,022,0002,383,872
7May 16, 2021 15:545,43838,632,11116,380,0001,023,0002,502,656
8May 16, 2021 15:545,43834,075,72915,353,0002,047,0002,392,064
9May 16, 2021 15:545,43844,634,34317,400,00002,383,872
10May 16, 2021 15:545,44339,775,59716,393,0001,024,0002,383,872
11May 16, 2021 15:545,44550,444,43416,400,0001,025,0002,400,256
12May 16, 2021 15:555,45239,247,22616,421,0001,026,0002,519,040
13May 16, 2021 15:545,45238,195,20616,420,0001,026,0002,519,040
14May 16, 2021 15:555,45336,270,88417,449,00002,392,064
15May 16, 2021 15:545,45445,159,42716,426,0001,026,0002,519,040
16May 16, 2021 15:545,45439,193,06417,453,00002,379,776
17May 16, 2021 15:555,45534,147,06217,455,00002,392,064
18May 16, 2021 15:545,45936,491,51716,441,0001,027,0002,519,040
19May 16, 2021 15:545,45942,274,74117,469,00002,519,040
20May 16, 2021 15:555,46037,687,74517,472,00002,519,040
21May 16, 2021 15:545,46234,038,67716,450,0001,028,0002,383,872
22May 16, 2021 15:545,46440,453,54217,486,00002,473,984
23May 16, 2021 15:555,46643,538,03716,463,0001,028,0002,519,040
24May 16, 2021 15:555,46834,091,48316,470,0001,029,0002,396,160
25May 16, 2021 15:555,46942,735,79617,502,00002,519,040
26May 16, 2021 15:555,47245,552,37916,481,0001,030,0002,519,040
27May 16, 2021 15:545,47436,141,18216,486,0001,030,0002,260,992
28May 16, 2021 15:555,66565,725,41418,126,91502,277,376
29May 16, 2021 15:545,67865,235,73818,170,83702,281,472
30May 16, 2021 15:545,68662,696,59618,193,89802,281,472
31May 16, 2021 15:545,69683,816,70618,227,00002,281,472
32May 16, 2021 15:545,69888,656,30218,233,36602,285,568
33May 16, 2021 15:555,71482,103,59018,284,18402,277,376
34May 16, 2021 15:545,72967,006,40618,332,06902,277,376
35May 16, 2021 15:545,73786,141,24318,359,46902,277,376
36May 16, 2021 15:555,77974,316,22218,491,62102,281,472