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 25, 2021 15:29Adam FolwarcznyAdam FolwarcznyScore: 5,537Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 25, 2021 15:295,50743,267,91216,587,0001,036,0002,392,064
2Jul 25, 2021 15:295,51244,062,59517,637,00002,265,088
3Jul 25, 2021 15:295,52158,159,13517,667,11302,289,664
4Jul 25, 2021 15:295,52134,430,56216,628,0001,039,0002,387,968
5Jul 25, 2021 15:295,52943,963,09217,693,00002,265,088
6Jul 25, 2021 15:295,53286,409,87617,702,34602,277,376
7Jul 25, 2021 15:295,53736,078,26817,717,00002,265,088
8Jul 25, 2021 15:295,53848,693,95216,680,0001,042,0002,379,776
9Jul 25, 2021 15:295,552104,423,47717,767,66602,281,472
10Jul 25, 2021 15:295,57444,775,41616,847,000991,0002,396,160
11Jul 25, 2021 15:295,58334,663,83317,867,00002,265,088
12Jul 25, 2021 15:295,58732,659,27816,886,000993,0002,396,160