Borderou de evaluare (job #1902729)

Utilizator titusTitus A titus Data 4 martie 2017 19:18:10
Problema Qmatrix 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:32:23: error: expected ‘)’ before ‘{’ token else if(c=='L'{ ^ user.cpp:40:5: error: expected primary-expression before ‘}’ token } ^ user.cpp:40:5: error: expected ‘;’ before ‘}’ token user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qmatrix.in","r",stdin); ^ user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("qmatrix.out","w",stdout); ^ user.cpp:8:39: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d %d %d\n",&N,&x,&y,&Q); ^ user.cpp:22:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%c %d %d\n",&c,&k,&p); ^

Ceva nu functioneaza?