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:38093,163,41560,453,00021,885,00046,157,824pos 45000002: expected 152 got 153
2Oct 3, 2026 05:38092,642,66260,366,00021,733,00046,157,824pos 45000002: expected 215 got 214
3Oct 3, 2026 05:38094,574,72760,695,00021,920,00046,157,824pos 45000002: expected 23 got 22