Borderou de evaluare (job #1425684)

Utilizator din99danyMatei Daniel din99dany Data 27 aprilie 2015 21:29:08
Problema A+B 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: expected ‘;’ before ‘printf’ printf("%d",k+k2); ^ user.cpp:8:9: warning: unused variable ‘i’ [-Wunused-variable] int i, j, k, k2, ok, s, n, m; ^ user.cpp:8:12: warning: unused variable ‘j’ [-Wunused-variable] int i, j, k, k2, ok, s, n, m; ^ user.cpp:8:22: warning: unused variable ‘ok’ [-Wunused-variable] int i, j, k, k2, ok, s, n, m; ^ user.cpp:8:26: warning: unused variable ‘s’ [-Wunused-variable] int i, j, k, k2, ok, s, n, m; ^ user.cpp:8:29: warning: unused variable ‘n’ [-Wunused-variable] int i, j, k, k2, ok, s, n, m; ^ user.cpp:8:32: warning: unused variable ‘m’ [-Wunused-variable] int i, j, k, k2, ok, s, n, m; ^ 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("adunare.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("adunare.out","w",stdout); ^ user.cpp:10:22: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] printf("%d",k+k2); ^

Ceva nu functioneaza?