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 16, 2024 07:15Elijah KinElijah KinScore: 29,756Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Jul 16, 2024 07:1523,5222,300,269,751329,311,6540265,723,904
2Jul 16, 2024 07:1523,9682,315,444,377335,551,0140266,448,896
3Jul 16, 2024 07:1524,2242,341,909,481339,138,6690264,470,528
4Jul 16, 2024 07:1529,5262,454,536,39718,590,000394,774,000267,698,176
5Jul 16, 2024 07:1529,5622,416,769,14818,274,000395,595,000267,612,160
6Jul 16, 2024 07:1529,7412,457,080,17616,531,000399,844,000267,751,424
7Jul 16, 2024 07:1529,7562,495,060,46410,160,000406,419,000267,743,232
8Jul 16, 2024 07:1529,7882,493,771,36421,570,000395,467,000267,747,328
9Jul 16, 2024 07:1529,7982,461,675,12310,772,000406,401,000267,681,792
10Jul 16, 2024 07:1529,8812,452,825,63319,871,000398,466,000267,632,640
11Jul 16, 2024 07:1530,0342,494,940,35114,716,000405,759,000267,735,040
12Jul 16, 2024 07:1530,0552,461,694,84812,913,000407,863,000267,833,344