Borderou de evaluare (job #4320)

Utilizator avatar vicorico Cazacu Victor vicorico IP ascuns
Problemă Paint Compilator cpp
Rundă Olimpiada pe Scoala 2012, Clasa a 7-a Status evaluat
Dată 17 dec. 2012 10:35:23 Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘int main()’: user.cpp:9:11: error: expected unqualified-id before ‘;’ token user.cpp:11:5: error: ‘i’ was not declared in this scope user.cpp:13:9: error: ‘f’ was not declared in this scope user.cpp:13:12: error: ‘c’ was not declared in this scope user.cpp:20:17: error: ‘q’ was not declared in this scope user.cpp:22:27: error: ‘x1’ was not declared in this scope user.cpp:22:31: error: ‘y1’ was not declared in this scope user.cpp:22:35: error: ‘x2’ was not declared in this scope user.cpp:22:39: error: ‘y2’ was not declared in this scope user.cpp:23:9: error: ‘su’ was not declared in this scope user.cpp:25:1: error: expected primary-expression before ‘}’ token user.cpp:25:1: error: expected ‘;’ before ‘}’ token user.cpp:8:6: warning: unused variable ‘s’ [-Wunused-variable] user.cpp: At global scope: user.cpp:26:9: error: expected unqualified-id before ‘return’ user.cpp:27:5: error: expected declaration before ‘}’ token user.cpp: In function ‘int main()’: user.cpp:6:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:7:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] user.cpp:10:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]