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 6, 2023 23:22Giga BowserGiga BowserScore: 1,350,935Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 6, 2023 23:221,344,5564,375,418,8244,302,579,02902,244,608
2Jul 6, 2023 23:221,350,9354,397,897,1164,322,991,87402,256,896
3Jul 6, 2023 23:221,358,7984,412,416,4134,348,154,69102,252,800