WA in HTREE

https://www.codechef.com/viewsolution/33161985
can anyone tell me why i am getting wa in this?

1 Like

Line 106: why do you use en[mid] instead of cpoe?

1 Like

it’s still giving WA :slightly_frowning_face: :slightly_frowning_face: https://www.codechef.com/viewsolution/33166398

Yes, I meant using cpoe directly, because the value you really want is drag[k][mid].S.S.

1 Like

thanks bro , can’t beleive i did this stupid mistake :worried: :worried: