Blue color from RGBA Sergey Svistunov

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

Input: 125 000 000 pixels in binary RGBA format on STDIN (4 bytes per pixel: R, G, B, A).

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

Back to listOct 3, 2026 02:08Karthik 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 02:08016,238,3301,345,0004,058,0006,332,416pos 0: expected 152 got 109
2Oct 3, 2026 02:08016,499,8761,350,0004,135,0006,332,416pos 0: expected 34 got 109
3Oct 3, 2026 02:08016,171,0851,326,0004,061,0006,332,416pos 0: expected 199 got 109