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 listJul 7, 2026 03:29Victor MerckléVictor MerckléScore: 4,385Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 7, 2026 03:304,36522,060,29813,970,000024,576stderr
2Jul 7, 2026 03:304,37022,051,86813,987,000024,576stderr
3Jul 7, 2026 03:304,37722,088,40514,007,000024,576stderr
4Jul 7, 2026 03:304,37722,082,53214,009,000024,576stderr
5Jul 7, 2026 03:304,38522,111,20214,034,000024,576stderr
6Jul 7, 2026 03:304,38622,075,18814,036,000024,576stderr
7Jul 7, 2026 03:304,39922,221,32114,078,000024,576stderr
8Jul 7, 2026 03:304,40322,009,14014,092,000024,576stderr
9Jul 7, 2026 03:304,42922,325,33714,174,000024,576stderr