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,589Success
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,57643,862,72914,869,0002,973,0002,531,328
2Jul 27, 2024 18:425,58147,081,59415,875,0001,984,0002,527,232
3Jul 27, 2024 18:425,58441,830,33616,878,000992,0002,269,184
4Jul 27, 2024 18:425,58640,827,51217,876,00002,437,120
5Jul 27, 2024 18:425,58835,043,72316,888,000993,0002,269,184
6Jul 27, 2024 18:425,58840,720,86916,889,000993,0002,531,328
7Jul 27, 2024 18:425,58938,513,19716,893,000993,0002,265,088
8Jul 27, 2024 18:425,59040,293,01817,889,00002,433,024
9Jul 27, 2024 18:425,60432,301,32814,944,0002,988,0002,531,328
10Jul 27, 2024 18:425,80876,849,12918,585,89002,187,264
11Jul 27, 2024 18:425,83187,720,35218,659,29602,183,168
12Jul 27, 2024 18:425,87286,399,68918,790,23202,183,168