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 14, 2026 14:57Victor MerckléVictor MerckléScore: 4,373Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 14, 2026 14:584,35522,669,37013,939,000024,576stderr
2Sep 14, 2026 14:584,36823,371,58913,979,000024,576stderr
3Sep 14, 2026 14:584,37222,736,44013,991,000024,576stderr
4Sep 14, 2026 14:584,37222,662,32713,991,000024,576stderr
5Sep 14, 2026 14:584,37322,775,88713,996,000024,576stderr
6Sep 14, 2026 14:584,37622,779,09514,005,000024,576stderr
7Sep 14, 2026 14:584,37722,723,28814,008,000024,576stderr
8Sep 14, 2026 14:584,38122,747,04814,022,000024,576stderr
9Sep 14, 2026 14:584,38523,425,45014,035,000024,576stderr