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 9, 2026 14:27highload-churnerhighload-churnerScore: 4,076Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 9, 2026 14:304,06323,524,21613,003,000020,480
2Oct 9, 2026 14:304,06622,371,79113,012,000020,480
3Oct 9, 2026 14:304,07121,924,53413,029,000020,480
4Oct 9, 2026 14:304,07221,895,91113,031,000020,480
5Oct 9, 2026 14:304,07621,920,73013,045,000020,480
6Oct 9, 2026 14:304,07922,045,63613,053,000020,480
7Oct 9, 2026 14:304,08821,913,23313,082,000020,480
8Oct 9, 2026 14:304,11222,101,72613,159,000020,480
9Oct 9, 2026 14:304,11522,117,74513,168,000020,480