Borderou de evaluare (job #156644)

Utilizator avatar Brandon Chris Brandon Brandon IP ascuns
Problemă Regine Compilator cpp
Rundă Arhiva de probleme Status evaluat
Dată 28 sept. 2015 10:20:59 Scor 0

Raport evaluator

Eroare de compilare: user.cpp:19:25: error: expected ‘,’ or ‘...’ before ‘.’ token user.cpp: In function ‘void danger(int)’: user.cpp:23:19: error: request for member ‘x’ in ‘q’, which is of non-class type ‘int’ user.cpp:23:28: error: request for member ‘y’ in ‘q’, which is of non-class type ‘int’ user.cpp: In function ‘void solve()’: user.cpp:40:28: error: too many arguments to function ‘void danger(int)’ user.cpp:19:13: note: declared here user.cpp: In function ‘void open_file()’: user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:13:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp: In function ‘void read()’: user.cpp:17:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]