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 listNov 12, 2024 13:08SergeySergeyScore: 279,082Success
Source Code

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

Challenge History

No challenges yet.

Run Statistics
#DateScoreWall TimeCPU UserCPU SystemMemoryError
1Nov 12, 2024 13:08277,99210,190,862,4292,207,053,0001,684,835,00022,355,968
2Nov 12, 2024 13:08278,03110,149,184,9092,173,525,0001,718,905,00022,904,832
3Nov 12, 2024 13:08278,28510,530,000,6542,231,567,0001,664,418,00021,225,472
4Nov 12, 2024 13:08278,32910,041,427,8532,154,910,0001,741,694,00022,355,968
5Nov 12, 2024 13:08279,08210,116,330,0322,238,663,0001,668,484,00021,524,480
6Nov 12, 2024 13:08279,39110,283,682,2932,199,275,0001,712,194,00022,093,824
7Nov 12, 2024 13:08280,09410,611,144,5172,227,634,0001,693,680,00022,560,768
8Nov 12, 2024 13:08280,55510,534,948,0022,190,331,0001,737,439,00022,482,944
9Nov 12, 2024 13:08280,86310,494,954,4932,162,091,0001,769,986,00022,757,376