Borderou de evaluare (job #2984037)
Utilizator | Data | 23 februarie 2023 14:30:59 | |
---|---|---|---|
Problema | Poligon7 | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:17:1: error: 'vector' does not name a type
17 | vector<int>leaf;
| ^~~~~~
main.cpp:18:1: error: 'vector' does not name a type
18 | vector<int>ans[NMAX];
| ^~~~~~
main.cpp:19:1: error: 'vector' does not name a type
19 | vector<int>topos;
| ^~~~~~
main.cpp: In function 'void dfs1(int)':
main.cpp:59:16: error: 'ans' was not declared in this scope; did you mean 'abs'?
59 | for(auto i:ans[p])
| ^~~
| abs
main.cpp: In function 'void dfs2(int, int)':
main.cpp:73:5: error: 'topos' was not declared in this scope
73 | topos.push_back(p);
| ^~~~~
main.cpp:74:16: error: 'ans' was not declared in this scope; did you mean 'abs'?
74 | for(auto i:ans[p])
| ^~~
| abs
main.cpp: In function 'int main()':
main.cpp:117:17: error: 'ans' was not declared in this scope; did you mean 'abs'?
117 | ans[apm[p[i]].x].push_back(apm[p[i]].y);
| ^~~
| abs
main.cpp:127:23: error: 'topos' was not declared in this scope
127 | for(i=0;i<topos.size()-1;i++)
| ^~~~~
main.cpp:131:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
131 | ans[i].clear();
| ^~~
| abs
main.cpp:132:9: error: 'topos' was not declared in this scope
132 | topos.clear();
| ^~~~~
main.cpp:85:11: warning: unused variable 'm' [-Wunused-variable]
85 | int n,m,i,j,cer,test;
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !