link for my Question is SPAMCLAS Problem - CodeChef
link for my Solution which is not running CodeChef: Practical coding for everyone
test case:
3 2 1000000000
2 4
2 2
5 4
output is not comming in my system.
link for my Question is SPAMCLAS Problem - CodeChef
link for my Solution which is not running CodeChef: Practical coding for everyone
test case:
3 2 1000000000
2 4
2 2
5 4
output is not comming in my system.
try using var i in your loop as long long int, as maxx can go upto 10^9 so can variable in your loop which is declared as an int.