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:25alex3dalex3dScore: 4,744Success
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:254,70530,935,73713,050,0002,007,0002,535,424
2May 19, 2021 23:254,71232,019,27213,068,0002,010,0002,273,280
3May 19, 2021 23:254,71729,387,03513,081,0002,012,0002,445,312
4May 19, 2021 23:254,71936,471,07113,088,0002,013,0002,445,312
5May 19, 2021 23:254,72336,637,44913,098,0002,015,0002,273,280
6May 19, 2021 23:254,72429,978,32613,102,0002,015,0002,437,120
7May 19, 2021 23:254,72530,219,72013,104,0002,016,0002,445,312
8May 19, 2021 23:254,72834,892,79413,112,0002,017,0002,273,280
9May 19, 2021 23:254,73038,610,33613,117,0002,018,0002,535,424
10May 19, 2021 23:254,73034,435,16313,119,0002,018,0002,449,408
11May 19, 2021 23:254,73032,337,91813,118,0002,018,0002,437,120
12May 19, 2021 23:254,73231,440,47613,124,0002,019,0002,453,504
13May 19, 2021 23:254,73330,548,12513,127,0002,019,0002,445,312
14May 19, 2021 23:254,73538,808,04813,133,0002,020,0002,441,216
15May 19, 2021 23:254,73735,852,29813,137,0002,021,0002,445,312
16May 19, 2021 23:254,73836,500,07313,140,0002,021,0002,437,120
17May 19, 2021 23:254,73830,556,65113,142,0002,021,0002,535,424
18May 19, 2021 23:254,73830,678,63413,140,0002,021,0002,535,424
19May 19, 2021 23:254,74129,523,15413,149,0002,023,0002,445,312
20May 19, 2021 23:254,74236,619,44013,152,0002,023,0002,535,424
21May 19, 2021 23:254,74337,381,51313,153,0002,023,0002,535,424
22May 19, 2021 23:254,74436,295,03714,170,0001,012,0002,449,408
23May 19, 2021 23:254,74437,786,82913,158,0002,024,0002,273,280
24May 19, 2021 23:254,74542,105,93213,160,0002,024,0002,535,424
25May 19, 2021 23:254,74730,099,95613,166,0002,025,0002,437,120
26May 19, 2021 23:254,74832,924,30113,168,0002,025,0002,535,424
27May 19, 2021 23:254,74936,857,11213,170,0002,026,0002,535,424
28May 19, 2021 23:254,95687,467,06115,858,75602,199,552
29May 19, 2021 23:254,95874,549,62015,865,56302,187,264
30May 19, 2021 23:254,96079,023,84315,871,52402,203,648
31May 19, 2021 23:254,96570,100,53215,886,87902,207,744
32May 19, 2021 23:254,97862,104,79715,929,77802,203,648
33May 19, 2021 23:254,98182,634,98815,940,65502,199,552
34May 19, 2021 23:254,98375,444,09115,945,38002,207,744
35May 19, 2021 23:254,99689,681,71315,987,44702,195,456
36May 19, 2021 23:254,99768,012,50615,991,01002,199,552
37May 19, 2021 23:254,99766,601,40215,991,45902,191,360
38May 19, 2021 23:254,99979,943,10415,997,39802,195,456
39May 19, 2021 23:255,00583,018,84616,014,56902,203,648
40May 19, 2021 23:255,00567,666,11316,017,07002,207,744
41May 19, 2021 23:255,00982,314,29816,027,42902,199,552
42May 19, 2021 23:255,01373,395,08416,040,27802,207,744
43May 19, 2021 23:255,03197,030,23816,099,84102,191,360
44May 19, 2021 23:255,03973,375,85516,124,35402,207,744
45May 19, 2021 23:255,05073,085,67116,159,03102,199,552