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 4, 2026 15:46Victor 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 4, 2026 15:460776,901,946738,707,00019,493,00095,158,272Exit 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=756 deadline_exit=0 read_error=1 errno=28 ch_min...stderr
2May 4, 2026 15:4684,6051,202,193,3331,157,579,00026,899,000151,261,184stderr
3May 4, 2026 15:4684,7261,203,793,0771,159,197,00026,973,000151,265,280stderr
4May 4, 2026 15:4684,8141,204,153,2351,160,484,00026,915,000151,261,184stderr
5May 4, 2026 15:4684,8661,204,899,8811,160,977,00027,151,000151,261,184stderr
6May 4, 2026 15:4685,1161,208,101,3361,164,543,00027,089,000151,265,280stderr
7May 4, 2026 15:4685,1331,210,398,2371,164,843,00027,027,000151,269,376stderr
8May 4, 2026 15:4685,1911,208,981,5871,165,373,00027,301,000151,265,280stderr