answer is correct but showing time limit exceeded
Even and odd divisors
Hi @Shivam-Singla-618559708603791, your algo is taking O(n^2) time which is why you are getting TLE . try to reduce it to O(N) and less . Hint :- https://www.geeksforgeeks.org/find-divisors-natural-number-set-1/
try to think of a storing sum of even and odd divisors and then print the result as even sum - odd sum