Borderou de evaluare (job #2916478)
Utilizator | Data | 30 iulie 2022 00:02:57 | |
---|---|---|---|
Problema | Cerere | 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, int)':
main.cpp:19:19: warning: comparison of integer expressions of different signedness: 'int' and 'std::vector<int>::size_type' {aka 'long unsigned int'} [-Wsign-compare]
19 | for(int i=0; i<L[nod].size(); i++)
| ~^~~~~~~~~~~~~~
main.cpp: In function 'int main()':
main.cpp:28:6: error: 'i' was not declared in this scope
28 | for (i=1;i<=n;i++)
| ^
main.cpp:30:6: error: 'i' was not declared in this scope
30 | for (i=1;i<n;i++){
| ^
main.cpp:31:21: error: 'x' was not declared in this scope
31 | fscanf(fin,"%d %d",&x,&y);
| ^
main.cpp:31:24: error: 'y' was not declared in this scope
31 | fscanf(fin,"%d %d",&x,&y);
| ^
main.cpp:49:6: error: 'i' was not declared in this scope
49 | for (i=1;i<=n;i++)
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !