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 10:09highload-churnerhighload-churnerScore: 122,433Success
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 10:11122,230400,196,201391,139,000024,576stderr
2Oct 13, 2026 10:11122,333400,449,591391,467,000024,576stderr
3Oct 13, 2026 10:11122,388402,172,544391,644,000024,576stderr
4Oct 13, 2026 10:11122,389400,752,065391,646,000024,576stderr
5Oct 13, 2026 10:11122,433400,858,355391,786,000024,576stderr
6Oct 13, 2026 10:11122,480400,979,014391,938,000024,576stderr
7Oct 13, 2026 10:11122,609402,242,023392,351,000024,576stderr
8Oct 13, 2026 10:11122,671401,632,327392,548,000024,576stderr
9Oct 13, 2026 10:11122,741401,746,468392,773,000024,576stderr