Help with Error in "COKE" Problem

Can anybody explain why this code is giving the wrong answer?

In line 48 no need to break , just take min values from all eligible p(i)

Read my code from line 316

1 Like

GOD :cold_face::cold_face:

What happen…:sweat_smile:l…

Khatarnak template just nailed it .

@ssrivastava990 Did you created this template by yourself? I must say it is freakin’ :fire:

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