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 listJul 8, 2023 08:29Andrew MoonAndrew MoonScore: 10,849Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 8, 2023 08:2910,847102,020,03134,710,21802,236,416
2Jul 8, 2023 08:2910,849104,889,97634,717,07902,260,992
3Jul 8, 2023 08:2910,86797,865,23834,774,03802,240,512