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 listMay 1, 2026 14:13Victor 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
1May 1, 2026 14:130786,131,085752,908,00017,997,00095,166,464Exit with code 1: probe_v=rgb_blue_1 early stdin_regular=1 st_size=450000000 errno=0 probe_v=rgb_blue_1 stdin_regular=1 st_size=450000000 bytes_read=286261248 pixels=95420416 rem3=0 eof_seen=0 elapsed_ms=769 deadline_exit=0 read_error=1 errno=28 ch_min...stderr
2May 1, 2026 14:1385,7481,221,199,0441,177,494,00022,990,000151,212,032stderr
3May 1, 2026 14:1385,7601,221,550,5841,172,676,00027,968,000151,216,128stderr
4May 1, 2026 14:1385,8181,219,720,2971,175,475,00025,988,000151,273,472stderr
5May 1, 2026 14:1385,8381,216,122,5471,173,763,00027,970,000151,228,416stderr
6May 1, 2026 14:1385,9721,223,200,8081,179,638,00023,972,000151,269,376stderr
7May 1, 2026 14:1386,1241,227,656,3051,179,771,00025,972,000151,273,472stderr
8May 1, 2026 14:1386,1941,229,737,8051,178,752,00027,970,000151,216,128stderr