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 listJun 26, 2026 01:15Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jun 26, 2026 01:1508,670,4661,076,000028,672Exit with code 7: R3 firstpixels_rle (W~10000): 3334N 4868K 1N 2K 8N 3K 1N 1K 2N 1K 2N 1K 1N 4K 1N 2K 1N 2K 1N 1K 2N 1K 1N 2K 1N 1K 2N 1K 1N 2K 1N 1K 2N 1K 1N 1K 2N 1K 1N 2K 1N 1K 1N 2K 2N 1K 1N 1K 2N 1K 2N 1K 1N 2K 1N 1K 1N 143K 6N 2K 1N 2K 1N 1K 2N 1...stderr