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 listApr 5, 2025 16:32CountHarebourgCountHarebourgScore: 4,694Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 5, 2025 16:314,65631,664,53813,836,0001,064,0002,285,568
2Apr 5, 2025 16:324,66636,078,20612,940,0001,990,0002,289,664
3Apr 5, 2025 16:334,66641,728,15712,940,0001,990,0002,527,232
4Apr 5, 2025 16:324,66742,619,44512,942,0001,991,0002,277,376
5Apr 5, 2025 16:324,67142,113,73612,954,0001,993,0002,269,184
6Apr 5, 2025 16:324,67338,056,11012,961,0001,994,0002,289,664
7Apr 5, 2025 16:334,67331,031,00412,960,0001,993,0002,289,664
8Apr 5, 2025 16:334,67538,240,27413,962,000997,0002,289,664
9Apr 5, 2025 16:324,67539,966,35113,962,000997,0002,289,664
10Apr 5, 2025 16:334,67540,386,97712,966,0001,994,0002,289,664
11Apr 5, 2025 16:334,67939,654,52112,978,0001,996,0002,273,280
12Apr 5, 2025 16:304,68238,341,35012,985,0001,997,0002,289,664
13Apr 5, 2025 16:334,68435,630,95613,989,000999,0002,289,664
14Apr 5, 2025 16:324,68531,520,74112,993,0001,999,0002,289,664
15Apr 5, 2025 16:324,68537,265,86813,992,000999,0002,523,136
16Apr 5, 2025 16:324,68730,694,28512,998,0001,999,0002,523,136
17Apr 5, 2025 16:334,69032,947,46613,006,0002,001,0002,289,664
18Apr 5, 2025 16:304,69034,057,74514,008,0001,000,0002,289,664
19Apr 5, 2025 16:324,69132,106,23213,010,0002,001,0002,289,664
20Apr 5, 2025 16:314,69432,639,98813,018,0002,002,0002,289,664
21Apr 5, 2025 16:324,69632,122,96013,024,0002,003,0002,527,232
22Apr 5, 2025 16:314,69739,681,65413,026,0002,004,0002,269,184
23Apr 5, 2025 16:324,69832,395,66614,033,0001,002,0002,273,280
24Apr 5, 2025 16:324,69936,804,74013,032,0002,004,0002,289,664
25Apr 5, 2025 16:324,70337,210,01414,045,0001,003,0002,289,664
26Apr 5, 2025 16:324,70434,710,21114,049,0001,003,0002,289,664
27Apr 5, 2025 16:314,70538,597,83413,050,0002,007,0002,527,232
28Apr 5, 2025 16:324,70630,246,31513,052,0002,008,0002,269,184
29Apr 5, 2025 16:324,70639,302,62913,051,0002,007,0002,289,664
30Apr 5, 2025 16:334,70833,373,12113,058,0002,009,0002,265,088
31Apr 5, 2025 16:324,71141,820,20714,071,0001,005,0002,269,184
32Apr 5, 2025 16:314,71233,972,93413,069,0002,010,0002,527,232
33Apr 5, 2025 16:324,71332,162,40413,072,0002,011,0002,523,136
34Apr 5, 2025 16:304,71331,815,21113,070,0002,010,0002,289,664
35Apr 5, 2025 16:314,71437,965,72814,081,0001,005,0002,289,664
36Apr 5, 2025 16:324,71832,716,44813,085,0002,013,0002,285,568
37Apr 5, 2025 16:324,71929,996,48914,096,0001,006,0002,269,184
38Apr 5, 2025 16:334,72338,859,87313,100,0002,015,0002,289,664
39Apr 5, 2025 16:324,73532,408,76814,143,0001,010,0002,289,664