Borderou de evaluare (job #1484052)

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
10ms300kbIncorect0
20ms300kbIncorect0
30ms300kbIncorect0
40ms304kbIncorect0
50ms304kbIncorect0
60ms300kbIncorect0
70ms300kbIncorect0
80ms296kbIncorect0
90ms296kbIncorect0
100ms304kbIncorect0
110ms300kbIncorect0
120ms300kbIncorect0
130ms300kbIncorect0
140ms296kbIncorect0
150ms296kbIncorect0
160ms304kbIncorect0
170ms304kbIncorect0
180ms300kbIncorect0
190ms300kbIncorect0
200ms304kbIncorect0
210ms296kbIncorect0
220ms296kbIncorect0
230ms304kbIncorect0
240ms300kbIncorect0
250ms304kbIncorect0
Punctaj total0

Ceva nu functioneaza?