Problem Link-CodeChef: Practical coding for everyone
Can anyone tell me why i got WA due to line 30 in the for loop.
I only replaced n with v.size() [which is the size of the vector] .n and v.size() are same.(Focus on line 30)
AC solution vs WA solution
AC solution - CodeChef: Practical coding for everyone vs WA solution- CodeChef: Practical coding for everyone