Borderou de evaluare (job #1683691)

Utilizator atatomirTatomir Alex atatomir Data 10 aprilie 2016 15:44:27
Problema Sortop Status done
Runda Algoritmiada 2016 Runda 3 Seniori Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘bool solve()’: user.cpp:49:13: error: ‘Q’ was not declared in this scope while (!Q.empty()) { ^ user.cpp:56:17: error: ‘class std::vector<int>’ has no member named ‘pop’ now.pop(); ^ user.cpp:61:9: error: expected primary-expression before ‘}’ token } ^ user.cpp:61:9: error: expected ‘;’ before ‘}’ token user.cpp:47:9: warning: unused variable ‘i’ [-Wunused-variable] int i; ^ user.cpp:64:1: warning: no return statement in function returning non-void [-Wreturn-type] } ^ user.cpp: In function ‘int main()’: user.cpp:97:9: error: ‘act’ was not declared in this scope act = available; ^ user.cpp:98:17: error: ‘Q’ was not declared in this scope while (!Q.empty()) Q.pop(); ^ user.cpp:101:17: error: ‘Q’ was not declared in this scope Q.push(i); ^ user.cpp:68:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sortop.in","r",stdin); ^ user.cpp:69:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("sortop.out","w",stdout); ^ user.cpp:71:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &m); ^ user.cpp:73:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^ user.cpp:79:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^

Ceva nu functioneaza?