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 11:22highload-churnerhighload-churnerScore: 4,085Success
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 11:234,06722,065,64213,015,000020,480
2Oct 13, 2026 11:234,07522,012,46313,041,000020,480
3Oct 13, 2026 11:234,08022,018,89513,058,000020,480
4Oct 13, 2026 11:234,08322,057,38413,066,000020,480
5Oct 13, 2026 11:234,08522,070,50113,073,000020,480
6Oct 13, 2026 11:234,08622,114,24313,078,000020,480
7Oct 13, 2026 11:234,09021,989,30513,091,000020,480
8Oct 13, 2026 11:234,11022,210,90313,153,000020,480
9Oct 13, 2026 11:234,11422,153,83013,165,000020,480