Playing with divisors, am getting 3 WA

Hi
this is my code:

qn link:
https://hack.codingblocks.com/contests/c/668/941

i cant understand my mistake
i know my code is giving false output for some big numbers but i am not able to find the reason behind it
please help me find my mistake

Hi
@LP18Aug0022 please ask you doubt through ask doubt section in you online course

@sanjeetboora not able to view this in portal. please look into this.

Hi Jai,

Please follow cb.lk/askdoubts guidelines to ask your doubts.