Borderou de evaluare (job #1663193)

Utilizator SmarandaMaria Pandele Smaranda Data 25 martie 2016 17:04:56
Problema Arbore Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Eroare de compilare: user.cpp: In function ‘void update(int, int, int)’: user.cpp:35:18: error: ‘n’ was not declared in this scope if (st > n) ^ user.cpp: In function ‘int main()’: user.cpp:95:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("arbore.in", "r", stdin); ^ user.cpp:96:40: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("arbore.out", "w", stdout); ^ user.cpp:98:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &n, &m); ^ user.cpp:104:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &y); ^ user.cpp:110:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &type); ^ user.cpp:112:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d%d", &x, &s); ^ user.cpp:116:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%d", &s); ^

Ceva nu functioneaza?