is my logic correct or not?
here is my solution CodeChef: Practical coding for everyone
Sir, Can you tell me what is wrong it would be very helpfull
try the simple testcase
1
1
ouput should be 0 . your code will give 1 handling this will give AC
2 Likes
Done thanks:pray: