Borderou de evaluare (job #1865923)

Utilizator CNTVDABCNTV DABELEA CNTVDAB Data 2 februarie 2017 12:29:46
Problema Markon Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:1:1: error: ‘include’ does not name a type include <bits/stdc++.h> ^ user.cpp:10:1: error: ‘vector’ does not name a type vector<int>G[MAX_N]; ^ user.cpp:12:1: error: ‘vector’ does not name a type vector<int>sol; ^ user.cpp: In function ‘void Add(int, int)’: user.cpp:17:3: error: ‘G’ was not declared in this scope G[a].push_back(b); ^ user.cpp: In function ‘bool ok3(int)’: user.cpp:30:16: error: ‘G’ was not declared in this scope for(auto i : G[nod]) ^ user.cpp: In function ‘void BfsBrut()’: user.cpp:38:3: error: ‘sol’ was not declared in this scope sol.push_back(X); ^ user.cpp:39:3: error: ‘queue’ was not declared in this scope queue<int>Q; ^ user.cpp:39:9: error: expected primary-expression before ‘int’ queue<int>Q; ^ user.cpp:39:9: error: expected ‘;’ before ‘int’ user.cpp:41:5: error: ‘Q’ was not declared in this scope Q.push(X); ^ user.cpp:44:10: error: ‘Q’ was not declared in this scope while(!Q.empty()) { ^ user.cpp:47:20: error: ‘G’ was not declared in this scope for(auto i : G[nod]) { ^ user.cpp:54:20: error: ‘G’ was not declared in this scope for(auto i : G[nod]) { ^ user.cpp:61:28: error: ‘printf’ was not declared in this scope printf("%d\n", sol.size()); ^ user.cpp:62:16: error: unable to deduce ‘auto&&’ from ‘sol’ for(auto i : sol) ^ user.cpp: In function ‘void Bfs()’: user.cpp:67:3: error: ‘sol’ was not declared in this scope sol.push_back(X); ^

Ceva nu functioneaza?