https://codeforces.com/contest/1476/submission/112121312
please tell me why i am getting wrong ans and why my approach is wrong
https://codeforces.com/contest/1476/submission/112121312
please tell me why i am getting wrong ans and why my approach is wrong
hello @shivamgoel150
if(v[i]*100>sum*k)
{
sum+=100*v[i]-sum*k;
}
here u need divide this expression by k and take its ceil.
I hope I’ve cleared your doubt. I ask you to please rate your experience here
Your feedback is very important. It helps us improve our platform and hence provide you
the learning experience you deserve.
On the off chance, you still have some questions or not find the answers satisfactory, you may reopen
the doubt.