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 26, 2024 19:53vientvientScore: 7,827Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 26, 2024 19:557,71187,291,55924,676,18402,183,168
2Jul 26, 2024 19:547,79586,995,56724,945,44202,187,264
3Jul 26, 2024 19:557,82563,453,05825,041,39602,179,072
4Jul 26, 2024 19:547,82693,728,39825,042,75402,314,240
5Jul 26, 2024 19:557,827102,338,76825,046,24502,179,072
6Jul 26, 2024 19:537,83591,389,08625,071,97602,183,168
7Jul 26, 2024 19:537,84390,519,19125,099,01002,183,168
8Jul 26, 2024 19:537,86484,236,64425,166,02002,179,072
9Jul 26, 2024 19:547,89290,822,17725,253,82802,310,144