Borderou de evaluare (job #1125649)
| Utilizator | Data | 26 februarie 2014 18:51:20 | |
|---|---|---|---|
| Problema | Parcurgere DFS - componente conexe | Status | done |
| Runda | Arhiva educationala | Compilator | cpp | Vezi sursa |
| Scor | 0 | ||
Raport evaluator
Eroare de compilare:
user.cpp:4:10: error: #include expects "FILENAME" or <FILENAME>
#include nmax 100005
^
user.cpp: In function ‘void dfs(int)’:
user.cpp:8:2: error: ‘seen’ was not declared in this scope
seen[x] = true;
^
user.cpp:9:17: error: ‘v’ was not declared in this scope
for(int i=0; i<v[x].size(); i++)
^
user.cpp: In function ‘int main()’:
user.cpp:17:5: error: ‘n’ was not declared in this scope
f>>n>>m;
^
user.cpp:17:8: error: ‘m’ was not declared in this scope
f>>n>>m;
^
user.cpp:19:6: error: ‘a’ was not declared in this scope
f>>a>>b;
^
user.cpp:19:9: error: ‘b’ was not declared in this scope
f>>a>>b;
^
user.cpp:20:3: error: ‘v’ was not declared in this scope
v[a].push_back(b);
^
user.cpp:25:7: error: ‘seen’ was not declared in this scope
if(!seen[i]) dfs(i), sol++;
^
user.cpp:25:24: error: ‘sol’ was not declared in this scope
if(!seen[i]) dfs(i), sol++;
^
user.cpp:27:5: error: ‘sol’ was not declared in this scope
g<<sol<<"\n";
^
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !
