Borderou de evaluare (job #2299659)
Raport evaluator
Compilare:
main.cpp: In function 'int main()':
main.cpp:54:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &ma[1][j]);
^
main.cpp:56:30: warning: format '%d' expects argument of type 'int*', but argument 2 has type 'long long int*' [-Wformat=]
scanf("%d", &ma[i][1]);
^
main.cpp:48:38: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.in", "r", stdin);
^
main.cpp:49:40: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result]
freopen("livada3.out", "w", stdout);
^
main.cpp:51:40: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%lld%d", &n, &m, &c, &r);
^
main.cpp:52:44: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d%d%d", &x, &y, &z, &w, &u);
^
main.cpp:54:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ma[1][j]);
^
main.cpp:56:31: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &ma[i][1]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 2ms | 393kb | OK | 10 |
| 2 | 4ms | 655kb | OK | 10 |
| 3 | 27ms | 2490kb | OK | 10 |
| 4 | 37ms | 2883kb | OK | 10 |
| 5 | 47ms | 3801kb | OK | 10 |
| 6 | 49ms | 3801kb | OK | 10 |
| 7 | 212ms | 20185kb | OK | 10 |
| 8 | 301ms | 20185kb | OK | 10 |
| 9 | 275ms | 20185kb | OK | 10 |
| 10 | 2ms | 262kb | OK | 10 |
| Punctaj total | 100 |