Borderou de evaluare (job #1484055)

Utilizator dominiciorgandaDominic Iorganda dominiciorganda Data 10 septembrie 2015 13:39:30
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:14:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%u%u%u%u%u%u%lld%u",&p,&x,&m,&t,&k1,&i1,&b,&n); ^ user.cpp:14:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:14:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:14:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 6 has type ‘short int*’ [-Wformat=] user.cpp:14:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 7 has type ‘short int*’ [-Wformat=] user.cpp:14:57: warning: format ‘%lld’ expects argument of type ‘long long int*’, but argument 8 has type ‘int*’ [-Wformat=] user.cpp:14:57: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 9 has type ‘short int*’ [-Wformat=] user.cpp:16:34: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%u%u",&h[k],&h1[k]); ^ user.cpp:16:34: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:33:26: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%u",&s); ^ user.cpp:12: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:13: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:14:58: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u%u%u%u%u%u%lld%u",&p,&x,&m,&t,&k1,&i1,&b,&n); ^ user.cpp:16:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u%u",&h[k],&h1[k]); ^ user.cpp:33:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u",&s); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms312kbIncorect0
20ms312kbIncorect0
30ms312kbIncorect0
40ms308kbIncorect0
50ms316kbIncorect0
60ms312kbIncorect0
70ms312kbIncorect0
80ms312kbIncorect0
90ms316kbIncorect0
100ms316kbIncorect0
110ms312kbIncorect0
120ms316kbIncorect0
130ms308kbIncorect0
140ms312kbIncorect0
150ms316kbIncorect0
160ms312kbIncorect0
170ms312kbIncorect0
180ms308kbIncorect0
190ms316kbIncorect0
200ms312kbIncorect0
210ms312kbIncorect0
220ms312kbIncorect0
230ms312kbIncorect0
240ms312kbIncorect0
250ms308kbIncorect0
Punctaj total0

Ceva nu functioneaza?