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:00BenBenScore: 4,658Success
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:004,64443,928,10613,872,000990,0002,392,064
2Jul 28, 2024 08:004,64631,012,08112,886,0001,982,0002,396,160
3Jul 28, 2024 08:004,64735,952,76713,880,000991,0002,387,968
4Jul 28, 2024 08:004,64932,513,73313,885,000991,0002,265,088
5Jul 28, 2024 08:004,64948,960,38414,877,00002,265,088
6Jul 28, 2024 08:004,65330,520,05914,889,00002,400,256
7Jul 28, 2024 08:004,65836,967,91513,913,000993,0002,527,232
8Jul 28, 2024 08:004,65843,175,92913,914,000993,0002,265,088
9Jul 28, 2024 08:004,69335,683,23213,016,0002,002,0002,265,088
10Jul 28, 2024 08:004,87971,990,96615,613,13102,285,568
11Jul 28, 2024 08:004,89583,441,92215,663,83002,289,664
12Jul 28, 2024 08:004,89882,829,51515,675,19602,281,472