A little doubt on Divide by zero, Problem C
Some people have done k=k%1024, I don't understand why? Can someone tell me.
Problem link here.
Codeforces Round 1123 Solution Discussion