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 listDec 12, 2024 18:22Yuriy LyfenkoYuriy LyfenkoScore: 4,399Success
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:104,363533,998,10611,968,0001,994,0002,273,280
2Sep 3, 2024 19:104,369541,581,72211,984,0001,997,0002,535,424
3Sep 3, 2024 19:104,374534,663,14511,998,0001,999,0002,535,424
4Sep 3, 2024 19:104,380536,840,02212,015,0002,002,0002,453,504
5Dec 12, 2024 18:224,381535,355,66212,017,0002,002,0002,461,696
6Sep 3, 2024 19:104,385533,463,62012,028,0002,004,0002,273,280
7Sep 3, 2024 19:104,386538,007,99612,031,0002,005,0002,531,328
8Sep 3, 2024 19:104,387542,584,74412,034,0002,005,0002,281,472
9Sep 3, 2024 19:104,387536,873,52112,032,0002,005,0002,535,424
10Sep 3, 2024 19:104,389534,549,88612,039,0002,006,0002,535,424
11Sep 3, 2024 19:104,390537,775,45512,042,0002,007,0002,535,424
12Sep 3, 2024 19:104,391538,354,83612,044,0002,007,0002,531,328
13Sep 3, 2024 19:104,395533,597,85212,055,0002,009,0002,535,424
14Sep 3, 2024 19:104,396534,483,02612,059,0002,009,0002,535,424
15Sep 3, 2024 19:104,396535,592,14212,059,0002,009,0002,535,424
16Sep 3, 2024 19:104,397535,112,30512,060,0002,010,0002,273,280
17Sep 3, 2024 19:104,397531,951,64612,060,0002,010,0002,535,424
18Sep 3, 2024 19:104,397535,933,33312,061,0002,010,0002,535,424
19Sep 3, 2024 19:104,398535,284,73612,064,0002,010,0002,273,280
20Sep 3, 2024 19:104,399538,126,01612,066,0002,011,0002,531,328
21Sep 3, 2024 19:104,399541,504,44112,066,0002,011,0002,273,280
22Sep 3, 2024 19:104,402537,559,30512,073,0002,012,0002,535,424
23Sep 3, 2024 19:104,403537,278,78612,076,0002,012,0002,281,472
24Sep 3, 2024 19:104,403535,650,79812,076,0002,012,0002,535,424
25Sep 3, 2024 19:104,403531,828,07012,076,0002,012,0002,269,184
26Sep 3, 2024 19:104,404537,714,16712,081,0002,013,0002,535,424
27Sep 3, 2024 19:104,404543,750,67412,081,0002,013,0002,535,424
28Sep 3, 2024 19:104,405537,415,74512,083,0002,013,0002,445,312
29Sep 3, 2024 19:104,405540,298,60812,082,0002,013,0002,535,424
30Sep 3, 2024 19:104,406536,585,96712,084,0002,014,0002,535,424
31Sep 3, 2024 19:104,408537,926,75512,092,0002,015,0002,269,184
32Sep 3, 2024 19:104,408537,273,02712,091,0002,015,0002,535,424
33Dec 12, 2024 18:224,409539,145,78712,093,0002,015,0002,531,328
34Sep 3, 2024 19:104,411538,510,09912,100,0002,016,0002,457,600
35Sep 3, 2024 19:104,413536,399,94913,112,0001,008,0002,269,184
36Sep 3, 2024 19:104,417543,365,22112,116,0002,019,0002,273,280
37Sep 3, 2024 19:104,417533,788,66312,114,0002,019,0002,535,424
38Dec 12, 2024 18:224,418536,743,11912,118,0002,019,0002,531,328
39Sep 3, 2024 19:104,422541,688,93312,129,0002,021,0002,453,504