You are viewing a single comment's thread. Return to all comments →
In C++:
int modulo = 1000000007; n = n % modulo; return (int)((n * n) % modulo);
} `
Seems like cookies are disabled on this browser, please enable them to open this website
Summing the N series
You are viewing a single comment's thread. Return to all comments →
In C++:
} `