Blue color from RGB Sergey Svistunov

Extract the Blue channel from a stream of RGB pixels as fast as possible.

Input: 150 000 000 pixels in binary RGB format on STDIN (3 bytes per pixel: R, G, B).

Output: Write only the Blue byte of each pixel to STDOUT (150 000 000 bytes total).

Back to listOct 3, 2026 05:38Karthik ReddyKarthik ReddyError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Oct 3, 2026 05:39044,578,89932,915,0001,047,0002,117,632pos 72250: expected 236 got 237
2Oct 3, 2026 05:39044,226,87432,644,0001,051,0002,117,632pos 165333: expected 0 got 1
3Oct 3, 2026 05:39045,167,23232,818,0001,052,0002,117,632pos 165333: expected 0 got 1