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 listMar 8, 2024 03:43Huy Duc LeHuy Duc LeScore: 4,693Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 8, 2024 03:434,66330,378,65812,934,0001,989,0002,265,088
2Mar 8, 2024 03:434,66432,802,28414,925,00002,387,968
3Mar 8, 2024 03:434,66738,272,43013,940,000995,0002,527,232
4Mar 8, 2024 03:434,68332,331,78912,988,0001,998,0002,383,872
5Mar 8, 2024 03:434,68435,412,03712,991,0001,998,0002,265,088
6Mar 8, 2024 03:434,69134,614,43713,010,0002,001,0002,396,160
7Mar 8, 2024 03:434,69336,724,69413,015,0002,002,0002,396,160
8Mar 8, 2024 03:434,69632,385,06213,025,0002,003,0002,387,968
9Mar 8, 2024 03:434,70348,067,95414,045,0001,003,0002,392,064
10Mar 8, 2024 03:434,90678,395,26515,697,99502,289,664
11Mar 8, 2024 03:434,91491,687,78615,723,50202,285,568
12Mar 8, 2024 03:434,92268,293,90115,749,67602,285,568