892a专题

A - Greed CodeForces - 892A(水题)

Jafar has n cans of cola. Each can is described by two integers: remaining volume of cola ai and can’s capacity bi (ai  ≤  bi). Jafar has decided to pour all remaining cola into just 2 cans, determin