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 listJun 7, 2023 08:12Alexander MonakovAlexander MonakovScore: 4,704Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2023 08:124,65237,787,82014,885,00002,494,464
2Jun 7, 2023 08:124,65940,348,89913,916,000994,0002,502,656
3Jun 7, 2023 08:124,67040,424,26312,952,0001,992,0002,330,624
4Jun 7, 2023 08:124,67339,140,64512,959,0001,993,0002,338,816
5Jun 7, 2023 08:124,69130,036,58114,012,0001,000,0002,338,816
6Jun 7, 2023 08:124,70236,049,21014,042,0001,003,0002,494,464
7Jun 7, 2023 08:124,70441,213,26414,049,0001,003,0002,490,368
8Jun 7, 2023 08:124,70740,807,37014,058,0001,004,0002,498,560
9Jun 7, 2023 08:124,71832,027,30313,084,0002,012,0002,494,464
10Jun 7, 2023 08:124,82593,521,46915,438,71902,260,992
11Jun 7, 2023 08:124,86692,907,47315,571,20302,203,648
12Jun 7, 2023 08:124,93382,724,41215,786,03902,203,648