For this Question: Given an integer N, your task is to return the sum of all of its divisors.<b>User Task:</b>
Since this will be a functional problem, you don't have to take input. You just have to complete the function <b>SumOfDivisors()</b> that takes the integer N as parameter.

Constraints:-
1<=N<=10^9Return the sum of all of the divisors.Sample Input:-
4

Sample Output:-
7

Sample Input:-
13

Sample Output:-
14, I have written this Solution Code: public static long SumOfDivisors(long N){
    long sum=0;
    long c=(long)Math.sqrt(N);
    for(long i=1;i<=c;i++){
        if(N%i==0){
            sum+=i;
            if(i*i!=N){sum+=N/i;}
        }
    }
    return sum;
}

, In this Programming Language: Java, Now tell me if this Code is compilable or not?