Borderou de evaluare (job #1199889)

Utilizator gabriel.badeaGabriel Badea gabriel.badea Data 21 iunie 2014 00:08:45
Problema Tir Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d%d", &coloanePanou, &coloaneAfis, &nr_trageri); ^ user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:24:58: warning: format ‘%d’ expects argument of type ‘int*’, but argument 4 has type ‘short int*’ [-Wformat=] user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short int*’ [-Wformat=] scanf("%d%d", &tragere[i].x, &tragere[i].y); ^ user.cpp:27:45: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short int*’ [-Wformat=] user.cpp:17:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tir.in", "r", stdin); ^ user.cpp:18:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("tir.out", "w", stdout); ^ user.cpp:24:59: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d", &coloanePanou, &coloaneAfis, &nr_trageri); ^ user.cpp:27:46: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d", &tragere[i].x, &tragere[i].y); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms612kbIncorect0
20ms612kbIncorect0
30ms612kbIncorect0
40ms612kbIncorect0
50ms608kbIncorect0
60ms608kbIncorect0
70ms612kbIncorect0
80ms612kbIncorect0
90ms608kbIncorect0
100ms608kbIncorect0
110ms608kbIncorect0
120ms612kbIncorect0
130ms612kbIncorect0
140ms608kbIncorect0
150ms608kbIncorect0
160ms608kbIncorect0
170ms608kbIncorect0
180ms608kbIncorect0
190ms608kbIncorect0
200ms608kbIncorect0
Punctaj total0

Ceva nu functioneaza?