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 24, 2024 14:20DanielDanielScore: 10,668Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 24, 2024 14:2010,64485,560,60334,062,23602,244,608
2Jul 24, 2024 14:2010,656108,515,97734,098,31002,240,512
3Jul 24, 2024 14:2010,665140,404,34634,129,01702,232,320
4Jul 24, 2024 14:2010,66892,800,57734,136,26702,252,800
5Jul 24, 2024 14:2010,66993,310,42034,141,48902,244,608
6Jul 24, 2024 14:2010,711101,246,01034,275,29902,236,416