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:01highload-churnerhighload-churnerScore: 3,944Success
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:023,93421,555,71312,591,000024,576stderr
2Oct 13, 2026 11:023,94021,575,20812,609,000024,576stderr
3Oct 13, 2026 11:023,94221,606,04012,617,000024,576stderr
4Oct 13, 2026 11:023,94421,597,24512,621,000024,576stderr
5Oct 13, 2026 11:023,94421,579,64812,622,000024,576stderr
6Oct 13, 2026 11:023,94424,763,22012,622,000024,576stderr
7Oct 13, 2026 11:023,94921,610,10612,638,000024,576stderr
8Oct 13, 2026 11:023,97421,725,93112,717,000024,576stderr
9Oct 13, 2026 11:023,98421,713,88812,751,000024,576stderr