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 8, 2023 10:27Andrew MoonAndrew MoonScore: 5,455Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 10:275,41033,882,13617,311,00002,265,088
2Jul 8, 2023 10:275,41635,693,38516,311,0001,019,0002,392,064
3Jul 8, 2023 10:275,41845,714,11116,317,0001,019,0002,260,992
4Jul 8, 2023 10:275,43342,141,67717,387,00002,379,776
5Jul 8, 2023 10:275,43541,794,96116,370,0001,023,0002,265,088
6Jul 8, 2023 10:275,43741,343,98117,399,00002,527,232
7Jul 8, 2023 10:275,45540,762,02117,455,00002,265,088
8Jul 8, 2023 10:275,45735,982,80217,463,00002,265,088
9Jul 8, 2023 10:275,45839,339,40317,464,00002,265,088
10Jul 8, 2023 10:275,58684,482,94917,875,09102,244,608
11Jul 8, 2023 10:275,58968,837,42217,883,48102,281,472
12Jul 8, 2023 10:275,61062,320,19117,951,98202,285,568