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 3, 2026 13:01Victor MerckléVictor MerckléScore: 4,106Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 3, 2026 13:044,04021,318,68612,930,000024,576stderr
2Sep 3, 2026 13:044,04421,388,48312,941,000024,576stderr
3Sep 3, 2026 13:044,09421,502,53113,103,000024,576stderr
4Sep 3, 2026 13:044,09821,474,05013,116,000024,576stderr
5Sep 3, 2026 13:044,10621,532,32413,142,000024,576stderr
6Sep 3, 2026 13:044,10821,603,55413,146,000024,576stderr
7Sep 3, 2026 13:044,10921,530,41613,151,000024,576stderr
8Sep 3, 2026 13:044,11021,582,49813,153,000024,576stderr
9Sep 3, 2026 13:044,13321,701,71513,226,000024,576stderr