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 30, 2024 13:30AnSaAnSaScore: 4,710Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 30, 2024 13:304,68728,435,19213,999,000999,0002,490,368
2Jun 30, 2024 13:304,69041,259,55514,008,0001,000,0002,531,328
3Jun 30, 2024 13:304,69328,046,92714,015,0001,001,0002,494,464
4Jun 30, 2024 13:304,69830,810,75513,031,0002,004,0002,490,368
5Jun 30, 2024 13:304,70526,629,76914,052,0001,003,0002,494,464
6Jun 30, 2024 13:304,70639,888,66813,051,0002,007,0002,531,328
7Jun 30, 2024 13:304,71040,645,89612,058,0003,014,0002,531,328
8Jun 30, 2024 13:304,71732,807,24214,089,0001,006,0002,531,328
9Jun 30, 2024 13:304,72733,831,77914,119,0001,008,0002,502,656
10Jun 30, 2024 13:304,95760,227,64115,862,81902,379,776
11Jun 30, 2024 13:304,96392,454,15615,882,34402,244,608
12Jun 30, 2024 13:304,96480,611,63115,886,22902,269,184