Borderou de evaluare (job #2541335)

Utilizator popashtefan10Popa Stefan popashtefan10 Data 8 februarie 2020 12:37:10
Problema Ciclu Eulerian Status done
Runda Arhiva educationala Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:9:1: error: 'vector' does not name a type vector<int> v[NMAX + 5]; ^~~~~~ main.cpp: In function 'void dfs(int, int)': main.cpp:14:10: error: 'v' was not declared in this scope while(!v[x].empty()) { ^ main.cpp: In function 'int main()': main.cpp:38:5: error: 'v' was not declared in this scope v[x].push_back(y); ^ main.cpp:43:8: error: 'v' was not declared in this scope if(v[i].size() % 2 == 1) { ^ main.cpp:31:39: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ciclueuler.in", "r", stdin); ^ main.cpp:32:41: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("ciclueuler.out", "w", stdout); ^ main.cpp:35:25: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &n, &m); ^ main.cpp:37:27: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &x, &y); ^ Non zero exit status: 1

Ceva nu functioneaza?