Codecraft-17 and Codeforces Round #391 (Div. 1 + Div. 2, combined), problem: (E) Bash Plays with Functions Solution in C/C++
#include <cstdio> const int mod = 1000000007; int a; int b; int main() { int q, r, n; a = 1; for (int j = 1; j < 21; j++) { a = 2; } …