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 13:01BenBenScore: 4,558Success
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 13:014,53341,167,90713,469,0001,036,0002,527,232
2Jul 28, 2024 13:014,54235,828,06114,535,00002,265,088
3Jul 28, 2024 13:014,54331,126,76714,536,00002,383,872
4Jul 28, 2024 13:014,54330,472,70313,501,0001,038,0002,387,968
5Jul 28, 2024 13:014,54634,590,80214,547,00002,265,088
6Jul 28, 2024 13:014,54733,471,69113,510,0001,039,0002,400,256
7Jul 28, 2024 13:014,55834,587,87814,587,00002,265,088
8Jul 28, 2024 13:014,57733,597,73014,646,00002,269,184
9Jul 28, 2024 13:014,58031,048,30713,609,0001,046,0002,265,088
10Jul 28, 2024 13:014,77990,253,20015,291,55402,293,760
11Jul 28, 2024 13:014,79885,220,57415,353,55002,281,472
12Jul 28, 2024 13:014,80392,322,36415,370,70402,285,568