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:55highload-churnerhighload-churnerScore: 3,926Success
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:553,91421,479,54212,527,000020,480
2Oct 13, 2026 11:553,91523,650,19712,531,000020,480
3Oct 13, 2026 11:553,91721,524,18512,537,000020,480
4Oct 13, 2026 11:553,92521,497,82412,561,000020,480
5Oct 13, 2026 11:553,92621,642,83512,566,000020,480
6Oct 13, 2026 11:553,92621,481,85412,564,000020,480
7Oct 13, 2026 11:553,92721,536,23412,569,000020,480
8Oct 13, 2026 11:553,92921,457,65412,573,000020,480
9Oct 13, 2026 11:553,93821,602,33312,604,000020,480