Borderou de evaluare (job #1700086)

Utilizator alittlezzCazaciuc Valentin alittlezz Data 9 mai 2016 13:40:24
Problema Sahara Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:45:23: warning: left operand of comma operator has no effect [-Wunused-value] x,y; ^ user.cpp:45:24: warning: right operand of comma operator has no effect [-Wunused-value] x,y; ^ user.cpp:46:28: error: ‘class std::stack<std::pair<int, int> >’ has no member named ‘front’ x = qq.front().first; ^ user.cpp:47:28: error: ‘class std::stack<std::pair<int, int> >’ has no member named ‘front’ y = qq.front().second; ^ user.cpp:37:11: warning: unused variable ‘nx’ [-Wunused-variable] int k,nx,ny,x,y; ^ user.cpp:37:14: warning: unused variable ‘ny’ [-Wunused-variable] int k,nx,ny,x,y; ^ user.cpp:19:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sahara.in", "r", stdin); ^ user.cpp:20:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sahara.out", "w", stdout); ^ user.cpp:22:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d",&n,&m,&q); ^ user.cpp:23:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&t); ^ user.cpp:25:51: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d %d",&x1,&y1,&x2,&y2,&v); ^

Ceva nu functioneaza?