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 12, 2024 17:19Andrey LikhachevAndrey LikhachevScore: 5,369Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 12, 2024 17:195,33334,382,50815,059,0002,007,0002,375,680
2Jun 12, 2024 17:195,34844,819,70416,107,0001,006,0002,289,664
3Jun 12, 2024 17:195,35739,595,34015,127,0002,016,0002,371,584
4Jun 12, 2024 17:195,35838,854,91815,130,0002,017,0002,371,584
5Jun 12, 2024 17:195,36041,018,30515,134,0002,017,0002,289,664
6Jun 12, 2024 17:195,36040,404,66416,144,0001,009,0002,375,680
7Jun 12, 2024 17:195,36940,005,19515,161,0002,021,0002,371,584
8Jun 12, 2024 17:195,37141,339,71015,165,0002,022,0002,289,664
9Jun 12, 2024 17:195,38440,623,82915,203,0002,027,0002,289,664
10Jun 12, 2024 17:195,57867,942,48917,851,00902,236,416
11Jun 12, 2024 17:195,58272,605,60417,863,26302,244,608
12Jun 12, 2024 17:195,62393,205,86617,993,07302,359,296