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 20:07CountHarebourgCountHarebourgError
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 20:0500000Error: expected "977398 ", got "40978 "
2Apr 5, 2025 21:124,66931,314,13812,950,0001,992,0002,269,184
3Apr 5, 2025 20:594,67335,570,74212,960,0001,993,0002,273,280
4Apr 5, 2025 21:134,67333,459,37512,961,0001,994,0002,289,664
5Apr 5, 2025 20:074,67435,846,09512,963,0001,994,0002,289,664
6Apr 5, 2025 21:134,67530,481,02612,966,0001,994,0002,527,232
7Apr 5, 2025 20:074,67637,532,95413,965,000997,0002,527,232
8Apr 5, 2025 21:134,67730,391,12212,972,0001,995,0002,289,664
9Apr 5, 2025 21:124,67835,119,16212,973,0001,995,0002,289,664
10Apr 5, 2025 21:124,68234,472,15812,984,0001,997,0002,289,664
11Jan 8, 2025 15:394,68537,762,57312,994,0001,999,0002,277,376
12Jan 8, 2025 15:394,68631,907,59112,995,0001,999,0002,269,184
13Apr 5, 2025 21:124,68935,704,01013,004,0002,000,0002,392,064
14Apr 5, 2025 20:594,69031,247,68013,007,0002,001,0002,289,664
15Apr 5, 2025 21:134,69132,458,94313,010,0002,001,0002,289,664
16Jan 8, 2025 15:394,69330,293,56013,016,0002,002,0002,383,872
17Nov 7, 2024 22:314,69439,321,78713,018,0002,002,0002,351,104
18Apr 5, 2025 21:124,69429,600,33714,020,0001,001,0002,289,664
19Apr 5, 2025 20:044,69631,205,73214,027,0001,001,0002,289,664
20Apr 5, 2025 21:124,69639,189,58713,023,0002,003,0002,289,664
21Apr 5, 2025 20:074,71233,833,57813,069,0002,010,0002,265,088
22Apr 5, 2025 20:044,71337,722,15313,071,0002,011,0002,289,664
23Nov 7, 2024 22:314,71831,501,44413,085,0002,013,0002,289,664
24Nov 7, 2024 22:314,71831,569,44213,084,0002,012,0002,355,200
25Apr 5, 2025 20:594,72233,229,05213,097,0002,014,0002,273,280
26Apr 5, 2025 21:134,73443,572,22713,130,0002,020,0002,367,488
27Apr 5, 2025 20:044,73632,431,77415,156,00002,531,328
28Apr 5, 2025 20:044,74637,769,38213,163,0002,025,0002,289,664
29Apr 5, 2025 20:044,74832,783,71513,169,0002,026,0002,269,184
30Apr 5, 2025 21:134,75034,262,31213,173,0002,026,0002,289,664
31Apr 5, 2025 20:044,79832,661,77013,307,0002,047,0002,355,200
32Apr 5, 2025 20:075,35342,276,88116,121,0001,007,0002,289,664
33Apr 5, 2025 22:235,35442,458,42015,118,0002,015,0002,289,664
34Apr 5, 2025 22:235,35638,500,60315,122,0002,016,0002,289,664
35Apr 5, 2025 22:235,35950,455,32016,141,0001,008,0002,265,088
36Apr 5, 2025 20:075,37140,412,61815,165,0002,022,0002,269,184
37Apr 5, 2025 20:075,40144,265,40215,251,0002,033,0002,289,664