Hello folks,↵
Need some help in debugging..↵
The question is on the right : [Ques](https://mirror.codeforces.com/contest/1915/problem/C)↵
This is the code Is submitted : [Code](https://mirror.codeforces.com/contest/1915/submission/239459218)↵
I don't know why I'm getting signed integer overflow, inspite of having all the variables as long long.↵
Can someone enlighten me on what I'm missing.↵
[contest:918][problem:1915C]
Need some help in debugging..↵
The question is on the right : [Ques](https://mirror.codeforces.com/contest/1915/problem/C)↵
This is the code I
I don't know why I'm getting signed integer overflow, inspite of having all the variables as long long.↵
Can someone enlighten me on what I'm missing.↵
[contest:918][problem:1915C]