Can anyone help me to identify where I am wrong for the problem : http://codeforces.me/contest/747/problem/C
here is my solution which fails on the test case 9. I am unable to identify the mistake.
http://codeforces.me/contest/747/submission/25716217
Thank you.
You should first check whether it is possible to have k free machines at the time t, and only if it is possible icrease value of servers[i]. Otherwise you are increasing value of servers[i] even though it is impossible and program are ingored.