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:34Andrew MoonAndrew MoonScore: 10,861Success
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:3410,843103,506,58234,698,91102,244,608
2Jul 8, 2023 08:3410,861118,574,01034,755,18102,248,704
3Jul 8, 2023 08:3410,902110,732,43334,887,97502,240,512