Can anybody explain why this code is giving the wrong answer?
https://www.codechef.com/viewsolution/25997514
In line 48 no need to break , just take min values from all eligible p(i)
https://www.codechef.com/viewsolution/25993228
Read my code from line 316
1 Like
GOD
What happen…l…
Khatarnak template just nailed it .
Yeahhh…it’s all my template , but plz don’t copy it .bcz pta lga agle contest me plag me fast gya
1 Like
Naah. Not at all. Chill bruv