#include using namespace std; int i,j,m,n,maxx,a[110][110],x; char ch,s[110]; void fil (int i, int j, int s) { a[i][j] = s; if (s>maxx) maxx=s; if ((a[i+1][j] != -1) && (s >= a[i+1][j]) && (i= a[i][j+1]) && (i<=n) && (j