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 07:28BenBenScore: 5,271Success
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 07:285,16937,308,28216,542,00002,392,064
2Jul 28, 2024 07:285,17935,091,84916,572,00002,265,088
3Jul 28, 2024 07:285,18633,874,15615,559,0001,037,0002,383,872
4Jul 28, 2024 07:285,21536,839,25015,708,000981,0002,265,088
5Jul 28, 2024 07:285,21633,649,75416,690,00002,265,088
6Jul 28, 2024 07:285,27143,053,04016,866,00002,383,872
7Jul 28, 2024 07:285,27147,682,98115,876,000992,0002,265,088
8Jul 28, 2024 07:285,27444,424,93914,892,0001,985,0002,527,232
9Jul 28, 2024 07:285,27445,888,72214,893,0001,985,0002,387,968
10Jul 28, 2024 07:285,38681,907,63817,236,41302,285,568
11Jul 28, 2024 07:285,39478,990,78517,261,90602,285,568
12Jul 28, 2024 07:285,42484,343,09317,355,77402,285,568