Borderou de evaluare (job #2326949)
Utilizator | Data | 24 ianuarie 2019 11:58:22 | |
---|---|---|---|
Problema | Ciclu Eulerian | Status | done |
Runda | Arhiva educationala | Compilator | cpp-64 | Vezi sursa |
Scor | 0 |
Raport evaluator
Eroare de compilare:
main.cpp:5:7: error: 'N' was not declared in this scope
int r[N],n,m;
^
main.cpp:6:25: error: 'N' was not declared in this scope
vector<pair<int,int>> a[N];
^
main.cpp:7:10: error: 'N' was not declared in this scope
bool v[5*N];
^
main.cpp: In function 'void dfs(int, int)':
main.cpp:9:17: error: 'a' was not declared in this scope
for(auto it:a[i]){
^
main.cpp:10:13: error: 'v' was not declared in this scope
if(!v[it.s]){
^
main.cpp: In function 'int main()':
main.cpp:23:9: error: 'a' was not declared in this scope
a[x].push_back({y,i});
^
main.cpp:25:11: error: 'r' was not declared in this scope
++r[x], ++r[y];
^
main.cpp:28:12: error: 'r' was not declared in this scope
if(r[i]%2){
^
main.cpp:19:11: warning: unused variable 'j' [-Wunused-variable]
int i,j,x,y;
^
Non zero exit status: 1
Ceva nu functioneaza?
- Citeste despre borderoul de evaluare.
- Daca tot nu e bine, contacteaza-ne pe forum !