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 13:40BenBenScore: 4,561Success
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 13:404,52330,217,57013,441,0001,033,0002,265,088
2Jul 28, 2024 13:404,53130,486,68413,463,0001,035,0002,400,256
3Jul 28, 2024 13:404,53735,962,01613,482,0001,037,0002,392,064
4Jul 28, 2024 13:404,54332,380,76114,539,00002,396,160
5Jul 28, 2024 13:404,55132,854,33614,564,00002,387,968
6Jul 28, 2024 13:404,55132,107,32114,564,00002,387,968
7Jul 28, 2024 13:404,56141,230,38614,594,00002,265,088
8Jul 28, 2024 13:404,57730,758,31914,646,00002,392,064
9Jul 28, 2024 13:404,58329,524,67213,618,0001,047,0002,265,088
10Jul 28, 2024 13:404,76485,853,52715,244,64902,281,472
11Jul 28, 2024 13:404,79496,162,52415,339,47102,244,608
12Jul 28, 2024 13:404,79977,479,88815,357,35802,281,472