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 listMar 25, 2025 17:40wainCGPwainCGPScore: 9,913Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 25, 2025 17:409,89963,176,4923,065,00028,613,0002,289,664
2Mar 25, 2025 17:409,91358,004,3747,163,00024,560,0002,465,792
3Mar 25, 2025 17:409,96162,707,5311,992,00029,882,0002,289,664