By matching large and small barrels, it is most cost-effective to buy as many barrels as possible on the premise that the purchase volume is exactly 330 liters.
Since 330 = 270+60 =18×15+10× 6,
That is, buy 15 barrels, and 6 barrels are the most economical.
Cost:160×15+105× 6 = 3030 yuan.
Answer: if you buy 15 barrels, 6 barrels are the most economical, 3030 yuan.