Pagini recente » Borderou de evaluare (job #899777) | Borderou de evaluare (job #569598) | Borderou de evaluare (job #2407090) | Borderou de evaluare (job #165987) | Borderou de evaluare (job #1643271)
Borderou de evaluare (job #1643271)
Raport evaluator
Compilare:
user.cpp: In function ‘int solve2()’:
user.cpp:30:70: warning: unused variable ‘dr’ [-Wunused-variable]
int p = 1, u = i - 1, mij, ras = 0, st = ev[i].first.second, dr = ev[i].first.first, cost = ev[i].second;
^
user.cpp:26:9: warning: unused variable ‘maxl’ [-Wunused-variable]
int maxl = 0;
^
user.cpp: In function ‘int main()’:
user.cpp:55:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("guvern.in", "r", stdin);
^
user.cpp:56:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen ("guvern.out", "w", stdout);
^
user.cpp:58:17: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &N);
^
user.cpp:62:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d %d", &x, &y);
^
user.cpp:67:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf ("%d", &val[i]);
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 8ms | 7344kb | Incorect | 0 |
| 2 | 8ms | 7392kb | OK | 10 |
| 3 | 8ms | 7392kb | OK | 10 |
| 4 | 172ms | 13708kb | OK | 10 |
| 5 | 172ms | 12444kb | Incorect | 0 |
| 6 | 192ms | 14272kb | OK | 10 |
| 7 | 288ms | 16620kb | OK | 10 |
| 8 | 284ms | 15640kb | Incorect | 0 |
| 9 | 284ms | 17188kb | OK | 10 |
| 10 | 304ms | 16368kb | OK | 10 |
| Punctaj total | 70 |