Borderou de evaluare (job #2189302)

Utilizator mihai.alphamihai craciun mihai.alpha Data 27 martie 2018 22:56:13
Problema Intrus Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp:44:6: error: ‘vector’ in namespace ‘std’ does not name a template type std::vector <atom> v; ^~~~~~ user.cpp: In function ‘void exec2()’: user.cpp:79:13: error: ‘v’ was not declared in this scope v.push_back(ny); ^ user.cpp:81:8: error: ‘v’ was not declared in this scope if(v.size() == 0) { ^ user.cpp:85:15: error: ‘v’ was not declared in this scope std::sort(v.begin(), v.end(), cmp); ^ user.cpp:86:18: error: unable to deduce ‘auto&&’ from ‘v’ for(auto x : v) { ^ user.cpp: In function ‘int main()’: user.cpp:97:41: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d%d", &p, &n, &m, &d); ^ user.cpp: In function ‘void exec1()’: user.cpp:16:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a); ^ user.cpp: In function ‘void exec2()’: user.cpp:62:40: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d", &a[i][j]); ^

Ceva nu functioneaza?