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:20BenBenScore: 5,760Success
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:205,71547,033,07017,273,0001,016,0002,387,968
2Jul 28, 2024 09:205,71545,073,35016,257,0002,032,0002,383,872
3Jul 28, 2024 09:205,71542,266,53116,257,0002,032,0002,396,160
4Jul 28, 2024 09:205,72839,086,72917,311,0001,018,0002,392,064
5Jul 28, 2024 09:205,74844,331,46617,372,0001,021,0002,265,088
6Jul 28, 2024 09:205,74843,327,46918,394,00002,265,088
7Jul 28, 2024 09:205,76044,782,50717,408,0001,024,0002,265,088
8Jul 28, 2024 09:205,76346,123,11317,416,0001,024,0002,265,088
9Jul 28, 2024 09:205,78039,773,48518,495,00002,265,088
10Jul 28, 2024 09:205,92884,966,93718,969,23702,281,472
11Jul 28, 2024 09:205,95991,263,31519,067,58702,285,568
12Jul 28, 2024 09:205,96193,080,43919,074,68902,289,664