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 2, 2026 12:54Victor MerckléVictor MerckléScore: 4,193Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 2, 2026 12:544,16821,748,06513,340,000024,576stderr
2Sep 2, 2026 12:544,18621,701,39413,397,000024,576stderr
3Sep 2, 2026 12:544,18921,868,52213,405,000024,576stderr
4Sep 2, 2026 12:544,19021,749,24113,411,000024,576stderr
5Sep 2, 2026 12:544,19321,762,23313,418,000024,576stderr
6Sep 2, 2026 12:544,22221,858,41613,511,000024,576stderr
7Sep 2, 2026 12:544,22321,888,30813,516,000024,576stderr
8Sep 2, 2026 12:544,22421,910,53013,518,000024,576stderr
9Sep 2, 2026 12:544,23221,915,13413,543,000024,576stderr