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 08:37BenBenScore: 4,559Success
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 08:374,53932,298,61513,489,0001,037,0002,387,968
2Jul 28, 2024 08:374,54335,997,96913,501,0001,038,0002,265,088
3Jul 28, 2024 08:374,55132,906,19713,523,0001,040,0002,265,088
4Jul 28, 2024 08:374,55332,717,75714,571,00002,527,232
5Jul 28, 2024 08:374,55430,449,76313,532,0001,040,0002,265,088
6Jul 28, 2024 08:374,55534,582,48113,536,0001,041,0002,265,088
7Jul 28, 2024 08:374,55931,930,21013,547,0001,042,0002,383,872
8Jul 28, 2024 08:374,56931,372,23513,576,0001,044,0002,396,160
9Jul 28, 2024 08:374,57434,748,46713,593,0001,045,0002,383,872
10Jul 28, 2024 08:374,787101,551,97915,317,59502,293,760
11Jul 28, 2024 08:374,81290,086,33115,399,47302,289,664
12Jul 28, 2024 08:374,81659,345,11015,410,45102,285,568