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 listJul 28, 2024 08:28BenBenScore: 4,646Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 28, 2024 08:284,58845,247,07413,632,0001,048,0002,265,088
2Jul 28, 2024 08:284,59531,990,38813,655,0001,050,0002,265,088
3Jul 28, 2024 08:284,59532,731,70814,705,00002,396,160
4Jul 28, 2024 08:284,60537,828,18414,737,00002,265,088
5Jul 28, 2024 08:284,63733,814,19612,860,0001,978,0002,265,088
6Jul 28, 2024 08:284,63841,126,06412,864,0001,979,0002,269,184
7Jul 28, 2024 08:284,64630,361,93812,886,0001,982,0002,527,232
8Jul 28, 2024 08:284,64833,267,97813,884,000991,0002,265,088
9Jul 28, 2024 08:284,64930,734,00713,885,000991,0002,392,064
10Jul 28, 2024 08:284,86591,797,96515,566,81602,281,472
11Jul 28, 2024 08:284,87769,484,18115,607,47802,293,760
12Jul 28, 2024 08:284,88589,920,58715,633,02802,285,568