Mai intai trebuie sa te autentifici.
Borderou de evaluare (job #3307686)
| Utilizator | Data | 22 august 2025 18:19:17 | |
|---|---|---|---|
| Problema | Defrisare | Status | done |
| Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
| Scor | 10 | ||
Raport evaluator
Compilare:
main.cpp: In function 'void dfs(long long int, long long int)':
main.cpp:57:91: warning: 'best' may be used uninitialized [-Wmaybe-uninitialized]
57 | dp[nod][0] = min(dp[nod][0], total + (dp[nod][2] - dp[nod][0]) - (son != best ? max1 : max2));
| ~~~~~~~~~~~~~^~~~~~~~~~~~~~
main.cpp:41:9: note: 'best' was declared here
41 | int best, max1 = 0, max2 = 0;
| ^~~~
| Test | Timp executie | Memorie folosita | Mesaj | Punctaj/test | Punctaj/grupa |
|---|---|---|---|---|---|
| 1 | 1ms | 303kb | Incorect | 0 | 0 |
| 2 | 81ms | 20922kb | Incorect | 0 | 0 |
| 3 | 43ms | 13869kb | OK | 10 | 10 |
| 4 | 62ms | 11464kb | Incorect | 0 | 0 |
| 5 | 62ms | 11251kb | Incorect | 0 | |
| 6 | 62ms | 11300kb | Incorect | 0 | 0 |
| 7 | 63ms | 11132kb | Incorect | 0 | |
| 8 | 63ms | 11235kb | Incorect | 0 | |
| 9 | 57ms | 11223kb | Incorect | 0 | |
| 10 | 58ms | 11100kb | Incorect | 0 | |
| Punctaj total | 10 | ||||
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
