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 listNov 13, 2024 18:12Dan StolyarovDan StolyarovScore: 32,045Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 13, 2024 18:1231,9252,500,636,73029,171,000417,780,000264,167,424
2Nov 13, 2024 18:1231,9342,510,734,93546,641,000400,437,000263,942,144
3Nov 13, 2024 18:1231,9552,532,982,86435,868,000411,495,000263,962,624
4Nov 13, 2024 18:1231,9842,502,413,38343,268,000404,511,000264,069,120
5Nov 13, 2024 18:1232,0452,495,660,71622,741,000425,891,000264,138,752
6Nov 13, 2024 18:1232,1042,510,657,99728,344,000421,117,000264,048,640
7Nov 13, 2024 18:1232,1442,515,794,17642,254,000407,759,000264,065,024
8Nov 13, 2024 18:1232,1582,482,598,34232,838,000417,370,000264,085,504
9Nov 13, 2024 18:1232,1862,533,972,58546,133,000404,476,000264,167,424