Borderou de evaluare (job #1666747)

Utilizator cyg_ieeuVasile Radu-Andrei cyg_ieeu Data 28 martie 2016 12:37:38
Problema Dunarea 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:44:3: error: ‘else’ without a previous ‘if’ else if(v[i].x <= l && v[i].y > r) ^ user.cpp:45:2: error: expected primary-expression before ‘}’ token } ^ user.cpp:45:2: error: expected ‘;’ before ‘}’ token user.cpp:17:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dunarea.in", "r",stdin); ^ user.cpp:18:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("dunarea.out", "w",stdout); ^ user.cpp:20:32: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &a, &b, &n); ^ user.cpp:23:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &tx, &ty); ^

Ceva nu functioneaza?