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 11, 2023 05:43Andrew MoonAndrew MoonScore: 17,148Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 11, 2023 05:4317,114120,290,91454,765,65002,293,760
2Jul 11, 2023 05:4317,148123,596,73554,874,57202,289,664
3Jul 11, 2023 05:4317,154116,946,06054,892,02702,273,280