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 listJun 17, 2021 16:48Yuriy LyfenkoYuriy LyfenkoScore: 5,029Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 4, 2021 13:434,98787,794,52913,963,0001,994,0002,281,472
2Jun 17, 2021 16:484,98889,611,42313,967,0001,995,0002,400,256
3Jun 6, 2021 22:214,98891,924,13114,966,000997,0002,281,472
4Jun 6, 2021 22:214,99197,278,84713,974,0001,996,0002,281,472
5Jun 4, 2021 13:434,99287,664,34613,978,0001,996,0002,281,472
6Jun 4, 2021 13:434,99886,396,05114,995,000999,0002,281,472
7Jun 17, 2021 16:484,99888,980,42214,994,000999,0002,281,472
8Jun 6, 2021 22:214,99988,075,30814,998,000999,0002,519,040
9Jun 17, 2021 16:484,99993,417,16213,997,0001,999,0002,281,472
10Jun 6, 2021 22:215,00189,920,26314,003,0002,000,0002,281,472
11Jun 4, 2021 13:435,00295,507,58414,006,0002,000,0002,281,472
12Jun 6, 2021 22:215,00492,428,83114,013,0002,001,0002,281,472
13Jun 17, 2021 16:485,00593,477,78415,015,0001,001,0002,281,472
14Jun 6, 2021 22:215,00786,699,46614,020,0002,002,0002,281,472
15Jun 17, 2021 16:485,02795,710,83515,081,0001,005,0002,281,472
16Jun 4, 2021 13:435,02792,893,59914,075,0002,010,0002,408,448
17Jun 17, 2021 16:485,02987,208,92614,082,0002,011,0002,404,352
18Jun 4, 2021 13:435,02989,713,49114,082,0002,011,0002,281,472
19Jun 4, 2021 13:435,02991,687,74815,089,0001,005,0002,273,280
20Jun 6, 2021 22:215,03192,892,96215,092,0001,006,0002,281,472
21Jun 17, 2021 16:485,03493,098,09115,103,0001,006,0002,281,472
22Jun 4, 2021 13:435,03992,141,19814,109,0002,015,0002,273,280
23Jun 6, 2021 22:215,04388,066,62014,119,0002,017,0002,482,176
24Jun 4, 2021 13:435,05490,518,21314,153,0002,021,0002,281,472
25Jun 17, 2021 16:485,05798,041,56115,230,000951,0002,281,472
26Jun 6, 2021 22:215,06394,396,48814,178,0002,025,0002,416,640
27Jun 17, 2021 16:485,08789,252,42415,260,0001,017,0002,281,472
28Jun 6, 2021 22:215,142115,601,67116,453,40402,289,664
29Jun 17, 2021 16:485,147132,763,12816,470,53802,289,664
30Jun 6, 2021 22:215,161133,051,82216,515,21602,293,760
31Jun 4, 2021 13:435,161129,066,39616,515,73002,252,800
32Jun 17, 2021 16:485,163121,363,88216,522,52102,269,184
33Jun 4, 2021 13:435,172126,767,23416,551,21602,256,896
34Jun 4, 2021 13:435,176127,447,04916,563,94502,297,856
35Jun 17, 2021 16:485,186119,822,75216,595,95302,252,800
36Jun 6, 2021 22:215,192128,133,97816,615,38302,285,568