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 9, 2026 23:55highload-churnerhighload-churnerScore: 4,068Success
Source Code

Source code access is restricted. Log in to request access.

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 10, 2026 01:344,05721,932,99012,984,000020,480
2Oct 10, 2026 01:344,06221,909,53113,001,000020,480
3Oct 10, 2026 01:344,06322,010,54713,004,000020,480
4Oct 10, 2026 01:344,06622,040,18113,014,000020,480
5Oct 10, 2026 01:344,06821,936,56913,019,000020,480
6Oct 10, 2026 01:344,06921,995,97513,021,000020,480
7Oct 10, 2026 01:344,07022,032,29313,024,000020,480
8Oct 10, 2026 01:344,07421,951,06113,038,000020,480
9Oct 10, 2026 01:344,07422,801,44313,037,000020,480