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 08:31highload-churnerhighload-churnerScore: 147,559Success
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 08:31146,972479,414,047468,317,0001,996,00024,576stderr
2Oct 13, 2026 08:31147,251480,219,898469,128,0002,076,00024,576stderr
3Oct 13, 2026 08:31147,446480,910,827469,679,0002,150,00024,576stderr
4Oct 13, 2026 08:31147,505481,010,598470,003,0002,016,00024,576stderr
5Oct 13, 2026 08:31147,559481,135,775470,096,0002,093,00024,576stderr
6Oct 13, 2026 08:31147,565481,154,050470,189,0002,019,00024,576stderr
7Oct 13, 2026 08:31147,817482,502,104470,918,0002,099,00024,576stderr
8Oct 13, 2026 08:31147,885483,759,228471,111,0002,123,00024,576stderr
9Oct 13, 2026 08:31147,892482,358,430471,245,0002,012,00024,576stderr