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 7, 2024 17:35matsuoka-601matsuoka-601Score: 4,843Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 7, 2024 17:354,80834,840,83414,360,0001,025,0002,293,760
2Jun 7, 2024 17:354,81136,605,21515,396,00002,293,760
3Jun 7, 2024 17:354,81335,499,46615,401,00002,293,760
4Jun 7, 2024 17:354,81743,436,79415,413,00002,293,760
5Jun 7, 2024 17:354,82532,346,06614,411,0001,029,0002,273,280
6Jun 7, 2024 17:354,83739,307,16914,447,0001,031,0002,293,760
7Jun 7, 2024 17:354,84332,858,95614,466,0001,033,0002,293,760
8Jun 7, 2024 17:354,84432,807,53414,469,0001,033,0002,375,680
9Jun 7, 2024 17:354,85735,066,10914,505,0001,036,0002,277,376
10Jun 7, 2024 17:355,09891,703,94716,314,41102,306,048
11Jun 7, 2024 17:355,21962,894,05016,699,59502,306,048
12Jun 7, 2024 17:355,44161,339,77217,410,99802,293,760