Borderou de evaluare (job #3279248)
Utilizator | Data | 22 februarie 2025 11:40:17 | |
---|---|---|---|
Problema | Grarb | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:14:12: error: 'fr' was not declared in this scope
14 | if(fr[i.second]==0){
| ^~
main.cpp:19:17: error: cannot convert 'std::pair<int, int>' to 'int'
19 | dfs(i);
| ^
| |
| std::pair<int, int>
main.cpp:10:14: note: initializing argument 1 of 'void dfs(int)'
10 | void dfs(int k){
| ~~~~^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !