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 05:37Karthik 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:37058,286,49046,582,0001,154,0002,113,536pos 0: expected 246 got 247
2Oct 3, 2026 05:37061,009,71846,772,0001,082,0002,117,632pos 0: expected 219 got 218
3Oct 3, 2026 05:37058,207,15846,361,0001,190,0002,113,536pos 0: expected 254 got 255