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:45highload-churnerhighload-churnerScore: 3,942Success
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:453,93421,460,18812,589,000024,576stderr
2Oct 13, 2026 10:453,93721,469,43612,601,000024,576stderr
3Oct 13, 2026 10:453,93821,576,70212,603,000024,576stderr
4Oct 13, 2026 10:453,93921,650,19912,605,000024,576stderr
5Oct 13, 2026 10:453,94221,637,78312,617,000024,576stderr
6Oct 13, 2026 10:453,94321,514,99512,619,000024,576stderr
7Oct 13, 2026 10:453,94621,570,96212,629,000024,576stderr
8Oct 13, 2026 10:453,95621,442,12612,660,000024,576stderr
9Oct 13, 2026 10:453,95821,634,09212,668,000024,576stderr