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 27, 2024 20:12HuynhHuynhScore: 5,926Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 27, 2024 20:125,89844,437,78417,879,000993,0002,269,184
2Jul 27, 2024 20:125,89848,090,21616,886,0001,986,0002,428,928
3Jul 27, 2024 20:125,89833,603,67717,881,000993,0002,527,232
4Jul 27, 2024 20:125,90149,053,61417,889,000993,0002,531,328
5Jul 27, 2024 20:125,91150,213,61216,925,0001,991,0002,428,928
6Jul 27, 2024 20:125,91240,534,88518,918,00002,531,328
7Jul 27, 2024 20:125,92643,282,66817,964,000998,0002,433,024
8Jul 27, 2024 20:125,93487,218,95118,989,46702,191,360
9Jul 27, 2024 20:125,94044,420,08418,009,0001,000,0002,428,928
10Jul 27, 2024 20:125,94034,624,45418,009,0001,000,0002,531,328
11Jul 27, 2024 20:125,949100,037,38219,035,31502,183,168
12Jul 27, 2024 20:125,97280,017,76119,110,22902,183,168