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:30Victor MerckléVictor MerckléScore: 4,124Success
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:314,03721,140,17812,919,000024,576stderr
2Sep 2, 2026 12:314,05521,229,86312,978,000024,576stderr
3Sep 2, 2026 12:314,08521,341,10913,074,000024,576stderr
4Sep 2, 2026 12:314,12121,457,41913,190,000024,576stderr
5Sep 2, 2026 12:314,12422,778,92313,197,000024,576stderr
6Sep 2, 2026 12:314,12621,526,81713,206,000024,576stderr
7Sep 2, 2026 12:314,13921,583,57913,246,000024,576stderr
8Sep 2, 2026 12:314,14422,234,95013,261,000024,576stderr
9Sep 2, 2026 12:314,28431,274,30613,710,000024,576stderr