Different answer for same code on two different ide's!?


Same code gives two different answers . By manual calc, ideone answer is correct .

And in some other qst too codechef ide is giving wrong output.

Yesterday too i had created a post on the same topic but it got closed idk how

Please share your code also. I see an extra space in the 2nd last line between 2 and 3 which might cause a problem in case of strings. Nevertheless, consider sharing your code too!

2 Likes

Bro I removed the extra space but still the outputs differ . The qst is from oct long challenge so I’m not sure whether or not I’m allowed to share the code . Thank you

You’re not supposed to discuss anything regarding ongoing contests.

3 Likes