Codeforces Round #425 (Div. 2), problem: (E) Vasya and Shifts Solution In C/C++

By |2017-07-25T01:21:36+00:00July 25th, 2017|Categories: C/C++, Programming|Tags: , , , , , , , |

#include<bits/stdc++.h> #define oo 0x3f3f3f3f #define cl(x) memset(x, 0, sizeof(x)) #define mp make_pair #define fr first #define sc second #define pii pair<int, int> #define pb push_back #define mo 1000000007 #define maxn 510 typedef long long ll; using namespace std; void gn(int &x) { x = [...]