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:37Huy Duc LeHuy Duc LeScore: 4,651Success
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:374,60229,594,55413,674,0001,051,0002,265,088
2Mar 8, 2024 03:374,64144,633,43213,791,0001,060,0002,383,872
3Mar 8, 2024 03:374,64532,106,52913,873,000990,0002,527,232
4Mar 8, 2024 03:374,64649,661,14913,875,000991,0002,265,088
5Mar 8, 2024 03:374,64840,244,18613,882,000991,0002,527,232
6Mar 8, 2024 03:374,64932,251,97014,878,00002,506,752
7Mar 8, 2024 03:374,65133,814,59412,899,0001,984,0002,265,088
8Mar 8, 2024 03:374,65232,851,94313,893,000992,0002,379,776
9Mar 8, 2024 03:374,66132,286,49913,920,000994,0002,265,088
10Mar 8, 2024 03:374,86792,451,30615,573,80502,269,184
11Mar 8, 2024 03:374,88481,717,69115,628,15302,285,568
12Mar 8, 2024 03:374,89689,087,64215,666,80502,281,472