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:05Victor 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:0501,131,118,1431,122,465,0001,001,00028,672Exit with code 7: RGBSTAT npix=150000000 blackfrac=0.56420 bluezerofrac=0.60140 RGBSTAT histR=90270221,495083,345234,299837,375171,269819,329178,224848,255265,254583,195045,195765,210265,225390,315604,241323,450888,225594,210487,194921,209851,195483,19...stderr