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 18:42HuynhHuynhScore: 5,599Success
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 18:425,58639,189,51415,888,0001,986,0002,269,184
2Jul 27, 2024 18:425,58645,167,02916,882,000993,0002,531,328
3Jul 27, 2024 18:425,59034,146,30815,902,0001,987,0002,437,120
4Jul 27, 2024 18:425,59341,005,07716,845,0001,052,0002,531,328
5Jul 27, 2024 18:425,59348,249,56316,904,000994,0002,269,184
6Jul 27, 2024 18:425,59444,772,50316,906,000994,0002,527,232
7Jul 27, 2024 18:425,59942,451,10815,927,0001,990,0002,531,328
8Jul 27, 2024 18:425,59943,005,23815,927,0001,990,0002,269,184
9Jul 27, 2024 18:425,60240,008,03913,942,0003,983,0002,428,928
10Jul 27, 2024 18:425,82482,662,32218,637,65202,183,168
11Jul 27, 2024 18:425,83855,545,81018,682,96202,179,072
12Jul 27, 2024 18:425,84681,501,39618,707,83402,179,072