Borderou de evaluare (job #2706497)

Utilizator VladNANegoita Vlad-Andrei VladNA Data 15 februarie 2021 09:26:13
Problema Desen Status done
Runda Arhiva de probleme Compilator cpp-64 | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: main.cpp:19:1: error: 'vector' does not name a type vector<muchie> muchii; ^~~~~~ main.cpp:20:1: error: 'vector' does not name a type vector<muchie>apm; ^~~~~~ main.cpp: In function 'int main()': main.cpp:61:13: error: 'muchii' was not declared in this scope muchii.push_back(aux); ^~~~~~ main.cpp:64:14: error: 'muchii' was not declared in this scope sort(muchii.begin(),muchii.end(),cmp); ^~~~~~ main.cpp:72:17: error: 'apm' was not declared in this scope apm.push_back(aux); ^~~ main.cpp:79:9: error: 'apm' was not declared in this scope apm.swap(muchii); ^~~ main.cpp:49:34: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("desen.in","r",stdin); ^ main.cpp:50:36: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)', declared with attribute warn_unused_result [-Wunused-result] freopen("desen.out","w",stdout); ^ main.cpp:51:20: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d", &n); ^ main.cpp:54:41: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d", &v[i].x, &v[i].y); ^ Non zero exit status: 1

Ceva nu functioneaza?