The same code,same input is showing different result on my PC and codechef online ide , I can’t paste the code or its link as it is of the ongoing long challenge , the question is operations on a tuple . Would be glad to know how to resolve it .PLEASE HELP.
Do you mean you are getting correct output on your PC but Wrong Answer on Codechef? If yes, that’s very likely to happen since Sample Input cases usually are not complete in the sense that there can be some other inputs on which your code gives a wrong answer.
can you tell me the logic or algoritm may be there is a problem with algorithm