Borderou de evaluare (job #3327083)
| Utilizator | Data | 2 decembrie 2025 10:38:55 | |
|---|---|---|---|
| Problema | Sortare topologica | Status | done |
| Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
main.cpp: In function 'void dfs(int)':
main.cpp:12:18: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
12 | for(int i=0;i<L[k].size();i++)
| ~^~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:33:8: error: 'm' was not declared in this scope; did you mean 'tm'?
33 | f>>n>>m;
| ^
| tm
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 !
