Borderou de evaluare (job #3377811)
| Utilizator | Data | 24 noiembrie 2026 14:03:55 | |
|---|---|---|---|
| Problema | Apm2 | Status | done |
| Runda | Arhiva Monthly | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:20:17: error: cannot convert 'std::pair<int, int>' to 'int'
20 | dfs(v,u,max(val,v.first));
| ^
| |
| std::pair<int, int>
main.cpp:8:14: note: initializing argument 1 of 'void dfs(int, int, int)'
8 | void dfs(int u,int p,int val)
| ~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
