Codeforces Round #379 (Div. 2), problem: (A) Anton and Danik Solution in C/C++
Hey guys I just tried the Anton and Danik problem , hope you might like my solution feel free to comment better solution .
using namespace std;
int n, a, d, i;