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 listApr 28, 2026 06:55Victor 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
1Apr 28, 2026 06:55059,828,48523,878,00018,903,00095,178,752Exit with code 1: probe_v=full_mmap_no_dontneed_1 ok=0 stdin_regular=1 st_size=450000000 mmap_ok=1 errno=28 self_maxrss_kb=282624stderr
2Apr 28, 2026 06:554,48479,053,92832,889,00029,899,000151,277,568stderr
3Apr 28, 2026 06:554,51388,214,23537,109,00026,076,000151,285,760stderr
4Apr 28, 2026 06:554,51678,581,80234,127,00029,108,000151,285,760stderr
5Apr 28, 2026 06:554,52180,183,80837,177,00026,124,000151,298,048stderr
6Apr 28, 2026 06:554,52283,875,38935,617,00027,702,000151,269,376stderr
7Apr 28, 2026 06:554,55183,214,44134,849,00028,875,000151,281,664stderr
8Apr 28, 2026 06:554,55782,707,85236,886,00026,916,000151,273,472stderr