Borderou de evaluare (job #3327078)
| Utilizator | Data | 2 decembrie 2025 10:35:15 | |
|---|---|---|---|
| Problema | Sortare topologica | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp:5:1: error: expected ',' or ';' before 'vector'
5 | vector <int>L[200];
| ^~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:12:19: error: 'L' was not declared in this scope
12 | for(int i=0;i<L[k].size();i++)
| ^
main.cpp: In function 'void citire()':
main.cpp:27:9: error: 'L' was not declared in this scope
27 | L[x].push_back(y);
| ^
main.cpp: In function 'int main()':
main.cpp:36:5: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
36 | for(int i=1;i<=in;i++)
| ^~~
main.cpp:38:9: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the 'for'
38 | g<<'\n';
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
