Borderou de evaluare (job #1224291)

Utilizator isav_costinVlad Costin Andrei isav_costin Data 30 august 2014 13:51:49
Problema Inter 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:22:13: error: expected primary-expression before ‘)’ token if( ) ^ user.cpp:23:9: error: expected primary-expression before ‘}’ token } ^ user.cpp:23:9: error: expected ‘;’ before ‘}’ token user.cpp:13:37: warning: unused variable ‘j’ [-Wunused-variable] int i, n, m, p1, p2, aux, st=0, j=1; ^ user.cpp:11:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "inter.in", "r", stdin ); ^ user.cpp:12:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "inter.out", "w", stdout ); ^ user.cpp:14:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &n, &m ); ^ user.cpp:19:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &p1, &p2 ); ^

Ceva nu functioneaza?