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:34highload-churnerhighload-churnerScore: 4,264Success
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:134,24922,639,54913,598,000020,480
2Oct 10, 2026 01:134,25422,623,94413,615,000020,480
3Oct 10, 2026 01:134,25722,660,96013,624,000020,480
4Oct 10, 2026 01:134,26222,665,41213,640,000020,480
5Oct 10, 2026 01:134,26422,617,25713,647,000020,480
6Oct 10, 2026 01:134,28022,712,37613,697,000020,480
7Oct 10, 2026 01:134,28422,668,44013,709,000020,480
8Oct 10, 2026 01:134,29222,860,32013,736,000020,480
9Oct 10, 2026 01:134,29724,490,63713,753,000020,480