Borderou de evaluare (job #1412983)

Utilizator danstefanDamian Dan Stefan danstefan Data 1 aprilie 2015 17:59:33
Problema Oz 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:12:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%d%d%d",&a,&b,&c); ^ user.cpp:12:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:12:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘long long int*’ [-Wformat=] user.cpp:19:9: error: expected ‘;’ before ‘cc’ cc=c; ^ user.cpp:19:13: warning: statement has no effect [-Wunused-value] cc=c; ^ user.cpp:22:9: error: expected ‘;’ before ‘b’ b=v[b]; ^ user.cpp:22:15: warning: statement has no effect [-Wunused-value] b=v[b]; ^ user.cpp:8:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("oz.in","r",stdin); ^ user.cpp:10:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&m); ^ user.cpp:12:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d",&a,&b,&c); ^

Ceva nu functioneaza?