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:30highload-churnerhighload-churnerScore: 4,002Success
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:303,93921,520,30312,607,000024,576stderr
2Oct 13, 2026 10:303,94021,678,24112,610,000024,576stderr
3Oct 13, 2026 10:303,94621,659,59412,630,000024,576stderr
4Oct 13, 2026 10:303,94921,534,37112,638,000024,576stderr
5Oct 13, 2026 10:304,00221,721,51112,807,00002,117,632stderr
6Oct 13, 2026 10:304,00921,890,08412,829,00002,117,632stderr
7Oct 13, 2026 10:304,01621,760,01012,854,00002,117,632stderr
8Oct 13, 2026 10:304,03021,894,27312,896,00002,117,632stderr
9Oct 13, 2026 10:304,03121,859,03712,901,00002,117,632stderr