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 listJan 3, 2023 20:56Hal FHal FScore: 4,673Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 3, 2023 21:024,64630,050,60713,875,000991,0002,273,280
2Jan 3, 2023 20:564,64841,795,51113,882,000991,0002,289,664
3Jan 3, 2023 21:024,65235,130,94112,902,0001,984,0002,289,664
4Jan 3, 2023 20:564,65336,357,19112,906,0001,985,0002,289,664
5Jan 3, 2023 21:024,65339,121,92713,827,0001,063,0002,281,472
6Jan 3, 2023 20:564,65631,978,60313,836,0001,064,0002,281,472
7Jan 3, 2023 21:024,65830,457,42514,904,00002,277,376
8Jan 3, 2023 21:024,65840,668,69912,919,0001,987,0002,289,664
9Jan 3, 2023 20:564,66129,816,18512,926,0001,988,0002,289,664
10Jan 3, 2023 20:564,66338,171,26312,934,0001,989,0002,273,280
11Jan 3, 2023 21:024,66432,035,70412,936,0001,990,0002,265,088
12Jan 3, 2023 20:564,67032,088,68512,952,0001,992,0002,531,328
13Jan 3, 2023 21:024,67339,438,65212,960,0001,993,0002,269,184
14Jan 3, 2023 20:564,67635,623,45812,969,0001,995,0002,289,664
15Jan 3, 2023 20:564,67931,478,15812,978,0001,996,0002,289,664
16Jan 3, 2023 21:024,68038,412,92812,980,0001,996,0002,289,664
17Jan 3, 2023 21:024,68638,680,50612,995,0001,999,0002,289,664
18Jan 3, 2023 20:564,70233,269,97113,041,0002,006,0002,265,088
19Jan 3, 2023 20:564,88495,843,75115,627,34402,183,168
20Jan 3, 2023 21:024,88590,048,84915,631,79002,293,760
21Jan 3, 2023 20:564,88590,260,01415,631,76102,301,952
22Jan 3, 2023 21:024,88877,973,70615,640,97402,293,760
23Jan 3, 2023 21:024,89870,145,66615,674,87602,289,664
24Jan 3, 2023 20:564,90489,007,07015,691,76002,179,072