// problema minCoverWithTowers #include using namespace std; const int MAX_N = 1000; const int MAX_VAL = 100; int chessboard[MAX_N][MAX_N]; int main() { ifstream fin("input.txt"); int cbSize; fin>>cbSize; int sum1 = 0, sum2 = 0; int max1 = MAX_VAL, max2 = MAX_VAL; for(int i=0; i>chessboard[i][j]; for(int i=0; i