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 30, 2026 20:58Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,325Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 30, 2026 20:585,28942,647,25515,929,000995,0002,523,136
2Mar 30, 2026 20:585,32546,542,51515,035,0002,004,0002,523,136
3Mar 30, 2026 20:585,45344,346,95116,423,0001,026,0002,387,968