Pagini recente » Borderou de evaluare (job #1944700) | Borderou de evaluare (job #116728) | Borderou de evaluare (job #299810) | Borderou de evaluare (job #1049458) | Borderou de evaluare (job #1453716)
Borderou de evaluare (job #1453716)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:36:12: warning: unused variable ‘j’ [-Wunused-variable]
int i, j, m, n, x, y, rez;
^
user.cpp:33:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.in", "r", stdin);
^
user.cpp:34:42: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("arbvalmax.out", "w", stdout);
^
user.cpp:38:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &n, &m);
^
user.cpp:42:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", &x);
^
user.cpp:49:47: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
for(i = 1; i <= n; ++i) scanf("%d", v + i);
^
user.cpp:62:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 3860kb | OK | 10 |
| 2 | 4ms | 3856kb | OK | 10 |
| 3 | 16ms | 3856kb | OK | 10 |
| 4 | 12ms | 3860kb | OK | 10 |
| 5 | 40ms | 4616kb | OK | 10 |
| 6 | 172ms | 7856kb | OK | 10 |
| 7 | 264ms | 9856kb | OK | 10 |
| 8 | 464ms | 14296kb | OK | 10 |
| 9 | 496ms | 15084kb | OK | 10 |
| 10 | 532ms | 15888kb | OK | 10 |
| Punctaj total | 100 |