Borderou de evaluare (job #3196306)
Utilizator | Data | 23 ianuarie 2024 15:35:59 | |
---|---|---|---|
Problema | Sever | Status | done |
Runda | arhiva-vianu | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:12:1: error: 'vector' does not name a type
12 | vector<int> clan[MMAX + 1];
| ^~~~~~
main.cpp:13:1: error: 'vector' does not name a type
13 | vector<int> events[QMAX + 1];
| ^~~~~~
main.cpp:23:1: error: 'vector' does not name a type
23 | vector<int> g[NMAX + 1];
| ^~~~~~
main.cpp:24:1: error: 'vector' does not name a type
24 | vector<int> euler;
| ^~~~~~
main.cpp: In function 'void dfs(int, int)':
main.cpp:45:17: error: 'euler' was not declared in this scope
45 | first[node] = euler.size();
| ^~~~~
main.cpp:48:16: error: 'g' was not declared in this scope
48 | for (int x : g[node])
| ^
main.cpp: In function 'void plusMinus(int, int)':
main.cpp:58:16: error: 'g' was not declared in this scope
58 | for (int x : g[node])
| ^
main.cpp: In function 'int main()':
main.cpp:97:5: error: 'g' was not declared in this scope
97 | g[x].push_back(y);
| ^
main.cpp:103:5: error: 'clan' was not declared in this scope
103 | clan[x].push_back(i);
| ^~~~
main.cpp:116:12: error: 'euler' was not declared in this scope
116 | int sz = euler.size();
| ^~~~~
main.cpp:138:7: error: 'events' was not declared in this scope
138 | events[i].clear();
| ^~~~~~
main.cpp:141:7: error: 'events' was not declared in this scope
141 | events[cbMid[i]].push_back(i);
| ^~~~~~
main.cpp:152:24: error: 'events' was not declared in this scope
152 | for (int group : events[i]) {
| ^~~~~~
main.cpp:154:27: error: 'clan' was not declared in this scope
154 | for (int member : clan[group])
| ^~~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !