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 listOct 13, 2026 11:07highload-churnerhighload-churnerScore: 7,659Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 13, 2026 11:077,63733,399,53624,441,000024,576stderr
2Oct 13, 2026 11:077,64533,447,35924,466,000024,576stderr
3Oct 13, 2026 11:077,64633,467,75224,469,000024,576stderr
4Oct 13, 2026 11:077,65133,472,94924,486,000024,576stderr
5Oct 13, 2026 11:077,65933,490,56024,510,000024,576stderr
6Oct 13, 2026 11:077,65933,471,81124,511,000024,576stderr
7Oct 13, 2026 11:077,67533,597,58024,561,000024,576stderr
8Oct 13, 2026 11:077,68133,585,48024,581,000024,576stderr
9Oct 13, 2026 11:077,73233,786,39724,745,000024,576stderr