Borderou de evaluare (job #3158314)
Utilizator | Data | 18 octombrie 2023 12:47:07 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:21:15: error: invalid declarator before 'graf_muchii'
21 | vector<nodus> graf_muchii[100001];
| ^~~~~~~~~~~
main.cpp: In function 'bool conex()':
main.cpp:29:5: error: 'v' was not declared in this scope
29 | v[1]=1;
| ^
main.cpp:36:23: error: 'graf_muchii' was not declared in this scope
36 | for(int vecin:graf_muchii[nod])
| ^~~~~~~~~~~
main.cpp:38:28: error: expected ';' before 'if'
38 | que.push(vecin)
| ^
| ;
39 | if(!viz[vecin])
| ~~
main.cpp:25:10: warning: unused variable 'viz' [-Wunused-variable]
25 | bool viz[100001]={0};
| ^~~
main.cpp:26:9: warning: unused variable 'nodviz' [-Wunused-variable]
26 | int nodviz;
| ^~~~~~
main.cpp:49:1: warning: no return statement in function returning non-void [-Wreturn-type]
49 | }
| ^
main.cpp: In function 'int main()':
main.cpp:53:10: error: 'n' was not declared in this scope
53 | cin>>n>>m;
| ^
main.cpp:53:13: error: 'm' was not declared in this scope; did you mean 'tm'?
53 | cin>>n>>m;
| ^
| tm
main.cpp:54:9: error: 'i' was not declared in this scope
54 | for(i=1;i<=;i++)
| ^
main.cpp:54:16: error: expected primary-expression before ';' token
54 | for(i=1;i<=;i++)
| ^
main.cpp:57:10: error: 'x' was not declared in this scope
57 | cin>>x>>y;
| ^
main.cpp:57:13: error: 'y' was not declared in this scope
57 | cin>>x>>y;
| ^
main.cpp:60:13: error: 'garf_muchii' was not declared in this scope
60 | crt.poz=garf_muchii[y].size();
| ^~~~~~~~~~~
main.cpp:65:5: error: 'graf_muchii' was not declared in this scope
65 | graf_muchii[x].push_back(crt);
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !