I have been getting wrong answers on my problem Make it Divisible | CodeChef)
Can Anyone look at it and explain me whats really going wrong.Because the logic of my program seems to satisfy specificied in the question.
heres my code… Solution: 51421039 | CodeChef
Thanks in Advance😊
Consider the test input:
1
20
Hi , why can’t we output
3
15
105
1005 and so on for different values of N starting from 1
Nobody said we can’t. Looks legit to me.
1 Like