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 listJul 17, 2024 21:02Franek KortaFranek KortaScore: 35,416Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 17, 2024 21:0229,0152,273,062,094406,204,6900266,956,800
2Jul 17, 2024 21:0229,5852,267,874,164414,186,6730265,359,360
3Jul 17, 2024 21:0229,9172,237,272,041418,843,5670266,997,760
4Jul 17, 2024 21:0234,9082,521,465,73783,070,000405,641,000267,354,112
5Jul 17, 2024 21:0235,1812,551,194,75898,105,000394,423,000265,400,320
6Jul 17, 2024 21:0235,2552,520,328,24471,179,000422,392,000266,125,312
7Jul 17, 2024 21:0235,4162,573,806,41280,006,000415,822,000264,425,472
8Jul 17, 2024 21:0235,4272,567,899,62481,122,000414,856,000265,687,040
9Jul 17, 2024 21:0235,6532,551,230,39682,176,000416,969,000266,899,456
10Jul 17, 2024 21:0235,8892,545,936,29087,847,000414,598,000266,825,728
11Jul 17, 2024 21:0235,9742,559,256,51778,150,000425,484,000264,073,216
12Jul 17, 2024 21:0236,5192,638,254,62377,660,000433,605,000267,440,128