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 29, 2024 20:19AnSaAnSaScore: 5,003Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 29, 2024 20:194,96433,938,93113,901,0001,985,0002,289,664
2Jun 29, 2024 20:194,97839,100,74313,940,0001,991,0002,273,280
3Jun 29, 2024 20:194,98837,945,26013,965,0001,995,0002,289,664
4Jun 29, 2024 20:194,99836,034,23313,995,0001,999,0002,273,280
5Jun 29, 2024 20:194,99936,701,44613,997,0001,999,0002,269,184
6Jun 29, 2024 20:194,99931,915,64413,998,0001,999,0002,289,664
7Jun 29, 2024 20:195,00338,393,56714,009,0002,001,0002,273,280
8Jun 29, 2024 20:195,02833,466,70215,086,0001,005,0002,527,232
9Jun 29, 2024 20:195,04444,003,35215,134,0001,008,0002,289,664
10Jun 29, 2024 20:195,22587,183,56416,719,51802,293,760
11Jun 29, 2024 20:195,27867,674,96616,889,41002,297,856
12Jun 29, 2024 20:195,27888,693,47616,890,35902,289,664