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 12:41highload-churnerhighload-churnerScore: 3,938Success
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 12:413,91721,438,03312,535,000020,480
2Oct 13, 2026 12:413,92221,479,98412,553,000020,480
3Oct 13, 2026 12:413,92421,433,62312,557,000020,480
4Oct 13, 2026 12:413,93522,217,85212,595,000020,480
5Oct 13, 2026 12:413,93821,546,05112,602,000020,480
6Oct 13, 2026 12:413,93921,567,37912,605,000020,480
7Oct 13, 2026 12:413,95021,727,87512,640,000020,480
8Oct 13, 2026 12:413,95521,574,72412,659,000020,480
9Oct 13, 2026 12:413,99323,848,93912,780,000020,480