Borderou de evaluare (job #1484053)

Utilizator dominiciorgandaDominic Iorganda dominiciorganda Data 10 septembrie 2015 13:34:48
Problema Panda Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d%d%d%d%lld%d",&p,&x,&m,&t,&k1,&i1,&b,&n); ^ user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 5 has type ‘short int*’ [-Wformat=] user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:13:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 8 has type ‘short int*’ [-Wformat=] user.cpp:13:57: warning: format ‘%d’ expects argument of type ‘int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d",&h[k],&h1[k]); ^ user.cpp:15:34: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:32:26: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d",&s); ^ user.cpp:11:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("panda.in","r",stdin); ^ user.cpp:12:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("panda.out","w",stdout); ^ user.cpp:13:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d%d%d%lld%d",&p,&x,&m,&t,&k1,&i1,&b,&n); ^ user.cpp:15:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&h[k],&h1[k]); ^ user.cpp:32:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms296kbIncorect0
20ms304kbIncorect0
30ms304kbIncorect0
40ms296kbIncorect0
50ms296kbIncorect0
60ms304kbIncorect0
70ms300kbIncorect0
80ms300kbIncorect0
90ms296kbIncorect0
100ms300kbIncorect0
110ms296kbIncorect0
120ms296kbIncorect0
130ms300kbIncorect0
140ms304kbIncorect0
150ms300kbIncorect0
160ms296kbIncorect0
170ms296kbIncorect0
180ms304kbIncorect0
190ms296kbIncorect0
200ms300kbIncorect0
210ms300kbIncorect0
220ms300kbIncorect0
230ms300kbIncorect0
240ms296kbIncorect0
250ms304kbIncorect0
Punctaj total0

Ceva nu functioneaza?