Borderou de evaluare (job #1225913)

Utilizator isa_mirica_mihaiMirica Matei isa_mirica_mihai Data 3 septembrie 2014 23:19:22
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:10:5: error: ‘max1’ was not declared in this scope max1 = 0; ^ user.cpp:11:5: error: ‘max2’ was not declared in this scope max2 = 0; ^ user.cpp:8:21: warning: unused variable ‘i2’ [-Wunused-variable] int n, c, i, j, i2, x, y, ok = 0, aux, auxpoz, p1, p2, cc; ^ user.cpp:8:31: warning: unused variable ‘ok’ [-Wunused-variable] int n, c, i, j, i2, x, y, ok = 0, aux, auxpoz, p1, p2, cc; ^ user.cpp:6:36: 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:7:38: 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:9:26: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &n, &c); ^ user.cpp:14:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &x, &y); ^

Ceva nu functioneaza?