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 9, 2025 06:00Divyansh MittalDivyansh MittalScore: 10,741Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Apr 9, 2025 06:0010,669215,616,66248,791,000100,569,000117,972,992
2Apr 9, 2025 06:0010,670239,667,24039,572,000109,813,000117,895,168
3Apr 9, 2025 06:0010,690223,751,79445,590,000104,065,000117,739,520
4Apr 9, 2025 06:0010,702230,819,40339,689,000110,137,000117,956,608
5Apr 9, 2025 06:0010,741229,265,89548,796,000101,575,000117,858,304
6Apr 9, 2025 06:0010,809213,622,56846,791,000104,535,000117,915,648
7Apr 9, 2025 06:0010,810233,889,14044,099,000107,243,000117,833,728
8Apr 9, 2025 06:0010,827232,635,68440,617,000110,955,000117,911,552
9Apr 9, 2025 06:0010,833226,730,75349,544,000102,122,000117,968,896