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 17, 2024 15:46Christopher TarryChristopher TarryScore: 5,528Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 17, 2024 15:465,47839,753,79116,500,0001,031,0002,523,136
2Jun 17, 2024 15:465,48140,045,79217,539,00002,265,088
3Jun 17, 2024 15:465,50141,879,85317,604,00002,265,088
4Jun 17, 2024 15:465,51244,676,69717,639,00002,265,088
5Jun 17, 2024 15:465,51848,065,06317,656,00002,265,088
6Jun 17, 2024 15:465,51843,832,68817,659,00002,506,752
7Jun 17, 2024 15:465,52846,626,27417,691,00002,265,088
8Jun 17, 2024 15:465,53743,331,43916,677,0001,042,0002,387,968
9Jun 17, 2024 15:465,58343,669,77115,880,0001,985,0002,387,968
10Jun 17, 2024 15:465,70486,109,84118,253,54302,285,568
11Jun 17, 2024 15:465,74192,658,69318,371,34602,285,568
12Jun 17, 2024 15:465,76264,532,68818,436,88102,285,568