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 listSep 1, 2026 10:30Victor MerckléVictor MerckléScore: 4,173Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 1, 2026 10:314,06421,422,63413,006,000024,576stderr
2Sep 1, 2026 10:314,07121,373,58913,029,000024,576stderr
3Sep 1, 2026 10:314,09821,297,53713,116,000024,576stderr
4Sep 1, 2026 10:314,09922,724,22513,117,000024,576stderr
5Sep 1, 2026 10:314,17322,209,99813,355,000024,576stderr
6Sep 1, 2026 10:314,17821,519,21313,372,000024,576stderr
7Sep 1, 2026 10:314,18022,333,34413,376,000024,576stderr
8Sep 1, 2026 10:314,18421,780,36113,390,000024,576stderr
9Sep 1, 2026 10:314,18622,512,24013,396,000024,576stderr