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 4, 2026 08:06Victor MerckléVictor MerckléScore: 4,122Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 4, 2026 08:154,10821,578,49813,146,000024,576stderr
2Sep 4, 2026 08:154,11721,627,62713,176,000024,576stderr
3Sep 4, 2026 08:154,11921,603,99113,181,000024,576stderr
4Sep 4, 2026 08:154,12021,602,31113,186,000024,576stderr
5Sep 4, 2026 08:154,12221,670,13213,193,000024,576stderr
6Sep 4, 2026 08:154,12521,678,30313,202,000024,576stderr
7Sep 4, 2026 08:154,12921,657,44913,214,000024,576stderr
8Sep 4, 2026 08:154,14021,679,74213,248,000024,576stderr
9Sep 4, 2026 08:154,15622,011,38113,300,000024,576stderr