sir i am practicing a question related to number theory and it is giving correct output for maximum cases but still partially accepting on submission. i am not able to find the error . so please take a look into my code and suggest the corrections . if possible then correct there.
my code —> https://ide.codingblocks.com/s/480414