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 10:33AnSaAnSaScore: 5,787Success
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 10:335,70840,748,14516,235,0002,029,0002,519,040
2Jun 30, 2024 10:335,72435,566,53416,282,0002,035,0002,265,088
3Jun 30, 2024 10:335,73447,455,12516,310,0002,038,0002,265,088
4Jun 30, 2024 10:335,75439,531,19117,391,0001,023,0002,273,280
5Jun 30, 2024 10:335,75742,145,23917,398,0001,023,0002,289,664
6Jun 30, 2024 10:335,75843,998,31317,401,0001,023,0002,281,472
7Jun 30, 2024 10:335,78742,416,07417,489,0001,028,0002,265,088
8Jun 30, 2024 10:335,79541,815,01018,545,00002,289,664
9Jun 30, 2024 10:335,79739,893,29117,520,0001,030,0002,289,664
10Jun 30, 2024 10:335,987104,655,34619,159,56802,289,664
11Jun 30, 2024 10:336,05482,786,37119,373,46402,289,664
12Jun 30, 2024 10:336,07577,392,09519,438,95602,289,664