Borderou de evaluare (job #2885734)
Utilizator | Data | 6 aprilie 2022 14:51:57 | |
---|---|---|---|
Problema | Arbsumpow | Status | done |
Runda | Arhiva de probleme | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:14:1: error: 'vector' does not name a type
14 | vector <int> adj[N + 1];
| ^~~~~~
main.cpp: In function 'void dfs(int)':
main.cpp:31:20: error: 'adj' was not declared in this scope
31 | for(auto vec : adj[nod]){
| ^~~
main.cpp:39:20: error: 'i' was not declared in this scope
39 | dp[i][j] += comb(j, x) * dp[i][x] * dp[vec][vec - x];
| ^
main.cpp: In function 'int main()':
main.cpp:60:9: error: 'adj' was not declared in this scope
60 | adj[i].push_back(x);
| ^~~
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !