Borderou de evaluare (job #1377531)

Utilizator andrei_diaconuAndrei Diaconu andrei_diaconu Data 5 martie 2015 22:24:42
Problema Alge Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:36:22: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%u%u", &n, &m); ^ user.cpp:36:22: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:38:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%u%u%u", &x, &y, &z); ^ user.cpp:38:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:38:29: warning: format ‘%u’ expects argument of type ‘unsigned int*’, but argument 4 has type ‘short unsigned int*’ [-Wformat=] user.cpp:34:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alge.in", "r", stdin); ^ user.cpp:35:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("alge.out", "w", stdout); ^ user.cpp:36:23: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u%u", &n, &m); ^ user.cpp:38:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%u%u%u", &x, &y, &z); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
10ms260kbRaspuns Gresit!00
20ms260kbRaspuns Gresit!0
30ms256kbRaspuns Gresit!00
40ms256kbRaspuns Gresit!0
50ms260kbRaspuns Gresit!00
60ms256kbRaspuns Gresit!0
70ms256kbRaspuns Gresit!00
80ms256kbRaspuns Gresit!00
90ms252kbRaspuns Gresit!0
100ms256kbRaspuns Gresit!0
Punctaj total0

Ceva nu functioneaza?