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:12highload-churnerhighload-churnerScore: 3,912Success
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:133,89821,527,03312,474,000020,480
2Oct 13, 2026 12:133,90521,515,72312,498,000020,480
3Oct 13, 2026 12:133,90621,461,77612,500,000020,480
4Oct 13, 2026 12:133,90821,448,84012,507,000020,480
5Oct 13, 2026 12:133,91221,436,57912,520,000020,480
6Oct 13, 2026 12:133,91421,461,02712,525,000020,480
7Oct 13, 2026 12:133,91521,456,33812,528,000020,480
8Oct 13, 2026 12:133,91821,513,97612,540,000020,480
9Oct 13, 2026 12:133,91921,941,66912,542,000020,480