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 listJan 15, 2024 08:13CalCalScore: 5,520Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jan 15, 2024 08:135,48036,530,84616,506,0001,031,0002,396,160
2Jan 15, 2024 08:135,48139,565,83917,538,00002,277,376
3Jan 15, 2024 08:135,49638,148,00517,588,00002,281,472
4Jan 15, 2024 08:135,50044,282,06816,565,0001,035,0002,273,280
5Jan 15, 2024 08:135,50744,746,74816,587,0001,036,0002,277,376
6Jan 15, 2024 08:135,51344,437,69316,604,0001,037,0002,293,760
7Jan 15, 2024 08:135,52042,421,37216,626,0001,039,0002,293,760
8Jan 15, 2024 08:135,54044,195,58116,687,0001,042,0002,359,296
9Jan 15, 2024 08:135,58544,887,49616,879,000992,0002,281,472
10Jan 15, 2024 08:135,67891,845,09718,168,21502,179,072
11Jan 15, 2024 08:135,69995,390,50218,235,88602,179,072
12Jan 15, 2024 08:135,69954,106,22218,236,73502,183,168