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 09:24BenBenScore: 5,902Success
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 09:245,89449,267,86218,862,00002,383,872
2Jul 28, 2024 09:245,89748,908,98217,876,000993,0002,265,088
3Jul 28, 2024 09:245,89744,017,96917,878,000993,0002,387,968
4Jul 28, 2024 09:245,89940,707,14816,889,0001,987,0002,269,184
5Jul 28, 2024 09:245,89944,725,99417,883,000993,0002,265,088
6Jul 28, 2024 09:245,90248,423,04118,885,00002,265,088
7Jul 28, 2024 09:245,90246,038,83516,898,0001,988,0002,265,088
8Jul 28, 2024 09:245,90350,223,59517,897,000994,0002,383,872
9Jul 28, 2024 09:245,91239,746,66816,928,0001,991,0002,265,088
10Jul 28, 2024 09:245,97474,285,68119,117,78202,285,568
11Jul 28, 2024 09:246,04088,345,88119,329,43002,289,664
12Jul 28, 2024 09:246,05259,804,10519,366,13402,285,568