Cod sursa(job #3347758)
| Utilizator | Data | 18 martie 2026 11:11:34 | |
|---|---|---|---|
| Problema | BMatrix | Scor | 0 |
| Compilator | cpp-64 | Status | done |
| Runda | Arhiva de probleme | Marime | 0.47 kb |
#include<cstdio>
using namespace std;
const int NMAX = 205;
int matrix[NMAX][NMAX];
int heights_up_down[NMAX][NMAX], heights_down_up[NMAX][NMAX];
int max_up_down[NMAX], max_down_up[NMAX];
void compute_results(int n, int m) {
}
int main() {
int n, m;
scanf("%d %d", &n, &m);
for (int i = 1; i <= n; i++) {
char line[NMAX];
scanf("%s", &line);
for (int j = 0; j < m; j++)
matrix[i][j + 1] = line[j] - '0';
}
return 0;
}