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 listMay 5, 2026 09:58Victor MerckléVictor MerckléError
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1May 5, 2026 09:59029,585,074,18033,923,00070,624,00095,244,288Exit with code 1: diag=sparse_pages input_read=289406976 logical=95322112 written=87846912 skipped=7475200 zero_pages=1825 nonzero_pages=21448 allocated=94912512 write_errno=28 setup_errno=0 stdout_regular=1 free_start=83656704 free_now=0 elapsed_ms=29567stderr
2May 5, 2026 09:5910,636166,961,16052,411,00096,498,000150,290,432
3May 5, 2026 09:5910,691168,322,73451,478,00098,199,000150,294,528
4May 5, 2026 09:5910,714166,745,27753,068,00096,938,000150,294,528
5May 5, 2026 09:5910,717168,743,22853,014,00097,024,000150,278,144
6May 5, 2026 09:5910,720169,740,72350,967,00099,119,000150,286,336
7May 5, 2026 09:5910,765169,411,00352,762,00097,961,000150,286,336
8May 5, 2026 09:5910,786166,064,69652,865,00098,142,000150,282,240