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 listSep 5, 2024 23:51Henry CafaroHenry CafaroScore: 174,838Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Sep 5, 2024 23:51159,6985,892,664,0371,551,310,000684,460,000267,272,192
2Sep 5, 2024 23:51173,5536,841,039,2271,600,124,000829,619,000267,198,464
3Sep 5, 2024 23:51174,6286,868,105,5681,579,374,000865,424,000267,243,520
4Sep 5, 2024 23:51174,8317,016,216,5231,592,005,000855,628,000267,292,672
5Sep 5, 2024 23:51174,8386,950,372,4001,593,182,000854,543,000267,284,480
6Sep 5, 2024 23:51175,2487,044,524,8331,572,504,000880,969,000267,329,536
7Sep 5, 2024 23:51175,3826,925,022,6921,584,571,000870,773,000267,341,824
8Sep 5, 2024 23:51176,0456,941,475,7291,627,052,000837,571,000267,104,256
9Sep 5, 2024 23:51177,3676,936,332,8061,643,584,000839,557,000267,100,160