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:26highload-churnerhighload-churnerScore: 4,036Success
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:274,02521,933,33512,882,000024,576stderr
2Oct 13, 2026 10:274,02821,922,61112,890,000024,576stderr
3Oct 13, 2026 10:274,02921,799,34212,894,000024,576stderr
4Oct 13, 2026 10:274,03621,919,52912,918,000024,576stderr
5Oct 13, 2026 10:274,03621,878,76312,917,000024,576stderr
6Oct 13, 2026 10:274,09223,575,77713,097,000024,576stderr
7Oct 13, 2026 10:274,16922,333,00313,343,000024,576stderr
8Oct 13, 2026 10:274,17122,318,68513,350,000024,576stderr
9Oct 13, 2026 10:274,17622,354,26213,364,000024,576stderr