tie(0); for (int i = 1; i <= 30; i++) { for (int j = 1; j <= 20; j++){ cin >> mp[i][j]; } } int res = 0; for (int a = 1; a <= 30; a++){ for (int b = 1; b <= 20; b++){ for (int c = 1; c <= 30; c++){ for (int d = 1; d <=...