Codeforces Round #385 (Div. 2), problem: (B) Hongcow Solves A Puzzle Solution in C/C++

By |2017-04-08T18:37:51+00:00December 18th, 2016|Categories: C/C++, Programming|Tags: , , |

#include <limits.h> #include <stdio.h> int main() { int i, j, n, m, cnt, imin, jmin, imax, jmax; static char cc[500][501]; scanf("%d%d", &n, &m); for (i = 0; i < n; i++) scanf("%s", cc[i]); imin = jmin = INT_MAX; imax = jmax = 0; cnt [...]