Codeforces Round #408 (Div. 2), problem: (E) Exam Cheating Solution in C/C++
#include <stdio.h> #include <string.h> #include <stdbool.h> #include <assert.h> #define clr(ar) memset(ar, 0, sizeof(ar)) #define read() freopen(“lol.txt”, “r”, stdin) short dp; int n, p, k, A, B, C; int solve(int lim){ int i, j, p, x, …