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 31, 2026 19:44Mohamed Elmahdi BendimeradMohamed Elmahdi BendimeradScore: 5,300Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Mar 31, 2026 19:445,27335,668,39415,883,000992,0002,281,472
2Mar 31, 2026 19:445,27734,792,37215,892,000993,0002,408,448
3Mar 31, 2026 19:445,28737,906,70416,919,00002,281,472
4Mar 31, 2026 19:445,30032,729,44415,964,000997,0002,408,448
5Mar 31, 2026 19:445,30333,046,80415,973,000998,0002,408,448
6Mar 31, 2026 19:445,32339,406,19616,033,0001,002,0002,281,472