Z mod X = C

Problem Name:
Z mod X = C
Site:CodeForces
Links:
Tags:
Problem setters: