I’m getting wrong answer in two test case. Can someone please help me in this? Code: https://ide.codingblocks.com/s/185279
WA in Find it (Number Theory)
Hi vikas , there is a slight error in your code , when i = sqrt(n) in that case i=n/i and you will increment store(i) two times and also you need to initialize store with 0
I have corrected your code here : https://ide.codingblocks.com/s/185290
In case of any doubt feel free to ask
If you got the answer then mark your doubt as resoved