# | Submission time | Handle | Problem | Language | Result | Execution time | Memory |
---|---|---|---|---|---|---|---|
484574 | 2021-11-04T13:04:23 Z | rainboy | Bold (COCI21_bold) | C | 0 ms | 204 KB |
#include <stdio.h> #define N 100 #define M 100 int main() { static char cc[N][M + 1]; int n, m, i, j; scanf("%d%d", &n, &m); for (i = 0; i < n; i++) scanf("%s", cc[i]); for (i = n - 1; i >= 0; i--) for (j = n - 1; j >= 0; j--) if (cc[i][j] == '#') cc[i][j + 1] = cc[i + 1][j] = cc[i + 1][j + 1] = '#'; for (i = 0; i < n; i++) printf("%s\n", cc[i]); return 0; }
Compilation message
# | Verdict | Execution time | Memory | Grader output |
---|---|---|---|---|
1 | Incorrect | 0 ms | 204 KB | Output isn't correct |
2 | Incorrect | 0 ms | 204 KB | Output isn't correct |
3 | Incorrect | 0 ms | 204 KB | Output isn't correct |
4 | Incorrect | 0 ms | 204 KB | Output isn't correct |
5 | Incorrect | 0 ms | 204 KB | Output isn't correct |