Pagini recente » Cod sursa (job #569167) | Borderou de evaluare (job #313664) | Borderou de evaluare (job #397183) | Borderou de evaluare (job #6085) | Borderou de evaluare (job #2298656)
Borderou de evaluare (job #2298656)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:46:10: warning: variable 'readLin' set but not used [-Wunused-but-set-variable]
bool readLin, readCol, readVall;
^~~~~~~
main.cpp:36:32: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mxl.in", "r", stdin);
^
main.cpp:37:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("mxl.out", "w", stdout);
^
main.cpp:40:24: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &n, &k);
^
main.cpp:43:30: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d", &lin, &col);
^
main.cpp:106:52: warning: array subscript is above array bounds [-Warray-bounds]
if (a[i][j] != 0 && !viz[1 + MAX_N][1 + MAX_N])
~~~~~~~~~~~~~~~~~~~~~~~~^
main.cpp:106:41: warning: array subscript is above array bounds [-Warray-bounds]
if (a[i][j] != 0 && !viz[1 + MAX_N][1 + MAX_N])
~~~~~~~~~~~~~^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 262kb | Incorect | 0 |
| 2 | 2ms | 131kb | Incorect | 0 |
| 3 | 2ms | 131kb | Incorect | 0 |
| 4 | 3ms | 131kb | OK | 10 |
| 5 | 3ms | 262kb | Incorect | 0 |
| 6 | 3ms | 262kb | Incorect | 0 |
| 7 | 3ms | 262kb | OK | 10 |
| 8 | 3ms | 262kb | OK | 10 |
| 9 | 3ms | 262kb | Incorect | 0 |
| 10 | 5ms | 262kb | Incorect | 0 |
| Punctaj total | 30 |