This is my code-[My code](https://mirror.codeforces.com/contest/1883/submission/244204675) . I'm getting signed integer overflow error. I'm getting this error inspite of using long long. Any help would be appreciated.↵
Thanks in advance. [Ques link](https://mirror.codeforces.com/contest/1883/problem/C)
Thanks in advance. [Ques link](https://mirror.codeforces.com/contest/1883/problem/C)