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 29, 2024 06:11Matt StuchlikMatt StuchlikScore: 4,527Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 29, 2024 06:114,51245,027,84013,406,0001,031,0002,531,328
2Jul 29, 2024 06:114,51738,011,85614,455,00002,531,328
3Jul 29, 2024 06:114,51834,626,20713,425,0001,032,0002,428,928
4Jul 29, 2024 06:114,52632,374,69114,483,00002,531,328
5Jul 29, 2024 06:114,52637,182,26513,450,0001,034,0002,420,736
6Jul 29, 2024 06:114,52731,762,76814,486,00002,531,328
7Jul 29, 2024 06:114,52732,523,62614,487,00002,531,328
8Jul 29, 2024 06:114,54033,506,82514,527,00002,510,848
9Jul 29, 2024 06:114,56932,061,35713,578,0001,044,0002,531,328
10Jul 29, 2024 06:114,72191,196,16015,106,56402,314,240
11Jul 29, 2024 06:114,74281,228,08215,173,56202,310,144
12Jul 29, 2024 06:114,77190,143,52215,267,36902,306,048