Borderou de evaluare (job #3217929)
Utilizator | Data | 25 martie 2024 10:53:38 | |
---|---|---|---|
Problema | Viteza | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:7:1: error: 'vector' does not name a type
7 | vector <int> A[100001];
| ^~~~~~
main.cpp: In function 'void update(int, int)':
main.cpp:25:9: warning: statement has no effect [-Wunused-value]
25 | for(i;i<=n;i+=(i&(-i)))
| ^
main.cpp: In function 'int query(int)':
main.cpp:33:9: warning: statement has no effect [-Wunused-value]
33 | for(i;i>0;i-=(i&(-i)))
| ^
main.cpp: In function 'void dfs(int, int, int)':
main.cpp:43:16: error: 'A' was not declared in this scope
43 | for(auto i:A[nod])
| ^
main.cpp: In function 'int main()':
main.cpp:108:9: error: 'A' was not declared in this scope
108 | A[x].push_back(y);
| ^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !