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:30AnSaAnSaScore: 5,004Success
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:304,98731,124,17313,963,0001,994,0002,289,664
2Jun 30, 2024 10:304,98932,504,45814,967,000997,0002,383,872
3Jun 30, 2024 10:304,99037,355,91513,972,0001,996,0002,289,664
4Jun 30, 2024 10:304,99037,551,66713,973,0001,996,0002,289,664
5Jun 30, 2024 10:304,99237,721,23513,978,0001,996,0002,269,184
6Jun 30, 2024 10:304,99838,943,47913,995,0001,999,0002,367,488
7Jun 30, 2024 10:305,00441,964,51714,013,0002,001,0002,289,664
8Jun 30, 2024 10:305,00841,758,63014,022,0002,003,0002,289,664
9Jun 30, 2024 10:305,10931,142,72714,307,0002,043,0002,289,664
10Jun 30, 2024 10:305,16090,161,36516,510,84302,293,760
11Jun 30, 2024 10:305,22687,542,01016,723,77302,285,568
12Jun 30, 2024 10:305,24280,910,79216,774,57802,293,760