Pagini recente » Borderou de evaluare (job #2387654) | Borderou de evaluare (job #1884081) | Borderou de evaluare (job #1171315) | Borderou de evaluare (job #215496) | Borderou de evaluare (job #1686497)
Borderou de evaluare (job #1686497)
Raport evaluator
Compilare:
user.cpp: In function ‘void citire()’:
user.cpp:14: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:16:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d ", parent+i);
^
user.cpp:20:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d", val+i);
^
user.cpp: In function ‘void solve()’:
user.cpp:74:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d %d", &x, &y);
^
user.cpp: In function ‘int main()’:
user.cpp:83: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:84: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: In function ‘void dfs(int)’:
user.cpp:39:24: warning: ‘cine’ may be used uninitialized in this function [-Wmaybe-uninitialized]
bestson[nod] = cine;
^
| Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
| 1 | 4ms | 4044kb | OK | 10 |
| 2 | 4ms | 4036kb | OK | 10 |
| 3 | 16ms | 4040kb | OK | 10 |
| 4 | 16ms | 4036kb | OK | 10 |
| 5 | 40ms | 4912kb | OK | 10 |
| 6 | 172ms | 8592kb | OK | 10 |
| 7 | 256ms | 10884kb | OK | 10 |
| 8 | 452ms | 15916kb | OK | 10 |
| 9 | 488ms | 16820kb | OK | 10 |
| 10 | 524ms | 17744kb | OK | 10 |
| Punctaj total | 100 |