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 listSep 3, 2024 19:09Yuriy LyfenkoYuriy LyfenkoScore: 4,407Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2024 19:094,367537,852,04911,979,0001,996,0002,269,184
2Sep 3, 2024 19:094,381533,078,80612,017,0002,002,0002,453,504
3Sep 3, 2024 19:094,384535,564,16213,026,0001,002,0002,445,312
4Sep 3, 2024 19:094,387533,089,30212,034,0002,005,0002,273,280
5Sep 3, 2024 19:094,391534,133,17712,043,0002,007,0002,285,568
6Sep 3, 2024 19:094,392536,432,74712,047,0002,007,0002,535,424
7Sep 3, 2024 19:094,393537,728,43512,050,0002,008,0002,273,280
8Sep 3, 2024 19:094,393536,443,56612,050,0002,008,0002,269,184
9Sep 3, 2024 19:094,393538,363,56812,049,0002,008,0002,269,184
10Sep 3, 2024 19:094,395535,943,53312,056,0002,009,0002,531,328
11Sep 3, 2024 19:094,395538,055,87412,056,0002,009,0002,273,280
12Sep 3, 2024 19:094,396536,644,41712,059,0002,009,0002,535,424
13Sep 3, 2024 19:094,396535,935,09712,057,0002,009,0002,273,280
14Sep 3, 2024 19:094,398540,740,76512,062,0002,010,0002,535,424
15Sep 3, 2024 19:094,398535,062,82312,064,0002,010,0002,535,424
16Sep 3, 2024 19:094,400533,716,90312,068,0002,011,0002,535,424
17Sep 3, 2024 19:094,400541,418,39412,069,0002,011,0002,531,328
18Sep 3, 2024 19:094,401535,328,82712,071,0002,011,0002,273,280
19Sep 3, 2024 19:094,402536,376,40012,073,0002,012,0002,535,424
20Sep 3, 2024 19:094,403539,057,31212,078,0002,013,0002,531,328
21Sep 3, 2024 19:094,403542,955,78012,078,0002,013,0002,273,280
22Sep 3, 2024 19:094,404541,561,97912,080,0002,013,0002,535,424
23Sep 3, 2024 19:094,404532,105,01612,079,0002,013,0002,273,280
24Sep 3, 2024 19:094,407536,554,58812,088,0002,014,0002,273,280
25Sep 3, 2024 19:094,407534,555,85212,088,0002,014,0002,535,424
26Sep 3, 2024 19:094,407537,453,66112,089,0002,014,0002,535,424
27Sep 3, 2024 19:094,407537,037,82312,089,0002,014,0002,531,328
28Sep 3, 2024 19:094,408535,302,67612,091,0002,015,0002,273,280
29Sep 3, 2024 19:094,408536,430,57112,092,0002,015,0002,535,424
30Sep 3, 2024 19:094,411540,686,88012,098,0002,016,0002,445,312
31Sep 3, 2024 19:094,411535,867,32012,100,0002,016,0002,531,328
32Sep 3, 2024 19:094,412533,936,51512,102,0002,017,0002,535,424
33Sep 3, 2024 19:094,413551,186,78212,103,0002,017,0002,535,424
34Sep 3, 2024 19:094,413537,997,49812,105,0002,017,0002,445,312
35Sep 3, 2024 19:094,413536,701,65812,106,0002,017,0002,273,280
36Sep 3, 2024 19:094,414540,691,50412,107,0002,017,0002,531,328
37Sep 3, 2024 19:094,416539,489,13512,112,0002,018,0002,535,424
38Sep 3, 2024 19:094,416539,975,02512,112,0002,018,0002,531,328
39Sep 3, 2024 19:094,418534,457,65913,050,0001,087,0002,535,424
40Sep 3, 2024 19:094,418532,707,48913,127,0001,009,0002,535,424
41Sep 3, 2024 19:094,420537,948,26212,123,0002,020,0002,449,408
42Sep 3, 2024 19:094,422542,963,13113,141,0001,010,0002,273,280
43Sep 3, 2024 19:094,422539,268,64312,129,0002,021,0002,273,280
44Sep 3, 2024 19:094,426543,236,30613,151,0001,011,0002,531,328
45Sep 3, 2024 19:094,427538,016,78612,142,0002,023,0002,269,184
46Sep 3, 2024 19:094,428533,055,25112,147,0002,024,0002,535,424
47Sep 3, 2024 19:094,449539,420,67213,220,0001,016,0002,535,424
48Sep 3, 2024 19:094,475537,232,86213,297,0001,022,0002,269,184