|
|
back to boardTo Admins What is the least possible component percent can be? For example, if test is: 5 a1 1 9997 a2 0 a3 0 a4 0 a5 0 Answer is "YES" or "NO"? If least possible percent is 1 then min=(9997+1+1+1+1)=10001, so the answer is "NO" else If least possible percent is 0 then min=(9997+0+0+0+0)=9997, so then answer is "YES". I did two different programs, and both of them got AC. So, Please tell me which one was right. Thank You!!! PS. Sorry For my poor English :) PPS. It's non-increasing order there. (Not decreasing, as was written in problem) Re: To Admins I not admin, but there : 9997+1+1+1+1=10001 answer NO. |
|
|