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:06Yuriy LyfenkoYuriy LyfenkoScore: 4,397Success
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:054,356537,582,25211,949,0001,991,0002,269,184
2Sep 3, 2024 19:064,365538,603,77711,972,0001,995,0002,269,184
3Sep 3, 2024 19:054,367537,475,33611,977,0001,996,0002,285,568
4Sep 3, 2024 19:064,368532,786,77911,980,0001,996,0002,273,280
5Sep 3, 2024 19:064,373536,699,30711,996,0001,999,0002,269,184
6Sep 3, 2024 19:054,374537,209,17911,998,0001,999,0002,273,280
7Sep 3, 2024 19:054,377535,771,94612,006,0002,001,0002,269,184
8Sep 3, 2024 19:064,378532,733,02412,010,0002,001,0002,531,328
9Sep 3, 2024 19:064,382538,146,42912,018,0002,003,0002,445,312
10Sep 3, 2024 19:064,383537,750,23712,021,0002,003,0002,273,280
11Sep 3, 2024 19:064,383540,784,36512,021,0002,003,0002,453,504
12Sep 3, 2024 19:064,383537,353,84312,022,0002,003,0002,535,424
13Sep 3, 2024 19:064,384537,014,36612,949,0001,079,0002,531,328
14Sep 3, 2024 19:064,384542,779,13912,025,0002,004,0002,531,328
15Sep 3, 2024 19:064,385540,106,31112,027,0002,004,0002,273,280
16Sep 3, 2024 19:064,386538,473,44012,031,0002,005,0002,273,280
17Sep 3, 2024 19:064,387535,518,54512,032,0002,005,0002,273,280
18Sep 3, 2024 19:064,388536,873,77012,035,0002,005,0002,449,408
19Sep 3, 2024 19:064,391536,789,27412,045,0002,007,0002,531,328
20Sep 3, 2024 19:054,391540,512,85312,044,0002,007,0002,269,184
21Sep 3, 2024 19:054,391536,626,40412,043,0002,007,0002,535,424
22Sep 3, 2024 19:064,391535,992,70312,045,0002,007,0002,269,184
23Sep 3, 2024 19:064,392540,062,35512,047,0002,007,0002,269,184
24Sep 3, 2024 19:064,392538,933,55212,046,0002,007,0002,535,424
25Sep 3, 2024 19:064,392540,916,70912,047,0002,007,0002,273,280
26Sep 3, 2024 19:054,392539,168,06012,047,0002,007,0002,535,424
27Sep 3, 2024 19:064,394536,227,54012,052,0002,008,0002,269,184
28Sep 3, 2024 19:064,396539,093,11012,058,0002,009,0002,535,424
29Sep 3, 2024 19:064,396535,994,16312,059,0002,009,0002,445,312
30Sep 3, 2024 19:064,396543,018,31412,058,0002,009,0002,535,424
31Sep 3, 2024 19:064,396535,749,79012,057,0002,009,0002,535,424
32Sep 3, 2024 19:064,396536,073,35512,059,0002,009,0002,273,280
33Sep 3, 2024 19:054,396540,170,78712,059,0002,009,0002,453,504
34Sep 3, 2024 19:064,397537,168,80312,061,0002,010,0002,535,424
35Sep 3, 2024 19:054,398541,485,02512,065,0002,010,0002,441,216
36Sep 3, 2024 19:064,398537,973,51812,062,0002,010,0002,269,184
37Sep 3, 2024 19:064,398538,356,28612,062,0002,010,0002,535,424
38Sep 3, 2024 19:064,399537,311,84612,067,0002,011,0002,273,280
39Sep 3, 2024 19:064,400535,753,96712,068,0002,011,0002,531,328
40Sep 3, 2024 19:064,400540,919,47412,069,0002,011,0002,285,568
41Sep 3, 2024 19:064,400535,204,40412,068,0002,011,0002,535,424
42Sep 3, 2024 19:064,401538,858,61612,071,0002,011,0002,535,424
43Sep 3, 2024 19:064,401534,568,10712,071,0002,011,0002,531,328
44Sep 3, 2024 19:064,401535,308,57512,072,0002,012,0002,535,424
45Sep 3, 2024 19:064,401537,001,05712,071,0002,011,0002,285,568
46Sep 3, 2024 19:064,402531,479,02312,074,0002,012,0002,531,328
47Sep 3, 2024 19:064,402534,730,21112,073,0002,012,0002,273,280
48Sep 3, 2024 19:064,403537,880,91812,077,0002,012,0002,457,600
49Sep 3, 2024 19:054,403533,453,32812,076,0002,012,0002,535,424
50Sep 3, 2024 19:064,403537,448,54212,077,0002,012,0002,535,424
51Sep 3, 2024 19:064,403543,314,16612,078,0002,013,0002,273,280
52Sep 3, 2024 19:064,406541,991,91412,084,0002,014,0002,535,424
53Sep 3, 2024 19:064,406542,525,76612,084,0002,014,0002,453,504
54Sep 3, 2024 19:064,408534,183,39712,091,0002,015,0002,535,424
55Sep 3, 2024 19:064,408538,088,82612,091,0002,015,0002,281,472
56Sep 3, 2024 19:054,409535,606,08412,094,0002,015,0002,535,424
57Sep 3, 2024 19:054,409537,231,42712,093,0002,015,0002,273,280
58Sep 3, 2024 19:064,410538,812,81612,096,0002,016,0002,531,328
59Sep 3, 2024 19:064,410537,234,74112,096,0002,016,0002,273,280
60Sep 3, 2024 19:064,410535,491,36612,097,0002,016,0002,535,424
61Sep 3, 2024 19:064,411536,401,43312,098,0002,016,0002,273,280
62Sep 3, 2024 19:064,415537,470,66912,110,0002,018,0002,535,424
63Sep 3, 2024 19:064,416536,102,28712,112,0002,018,0002,531,328
64Sep 3, 2024 19:064,420538,167,98212,125,0002,020,0002,453,504
65Sep 3, 2024 19:064,421535,703,11714,146,00002,535,424
66Sep 3, 2024 19:064,422539,754,23012,130,0002,021,0002,445,312