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:35highload-churnerhighload-churnerScore: 3,932Success
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:353,92422,455,47412,558,000020,480
2Oct 13, 2026 10:353,92821,496,26312,570,000020,480
3Oct 13, 2026 10:353,93021,619,25412,577,000020,480
4Oct 13, 2026 10:353,93121,596,61612,580,000020,480
5Oct 13, 2026 10:353,93221,636,53312,585,000020,480
6Oct 13, 2026 10:353,93821,637,09112,602,000020,480
7Oct 13, 2026 10:353,94121,566,71212,614,000020,480
8Oct 13, 2026 10:353,94721,590,63512,632,000020,480
9Oct 13, 2026 10:353,95021,603,70812,643,000020,480