Borderou de evaluare (job #1509921)

Utilizator mihaidanielmihai daniel mihaidaniel Data 24 octombrie 2015 13:54:46
Problema Insule Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:12:30: warning: format ‘%s’ expects argument of type ‘char*’, but argument 2 has type ‘char (*)[103]’ [-Wformat=] scanf( "%s", &mat[i] ); ^ user.cpp:8:39: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "insule.in", "r", stdin ); ^ user.cpp:9:41: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen( "insule.out", "w", stdout ); ^ user.cpp:10:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%d%d", &n, &m ); ^ user.cpp:12:31: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf( "%s", &mat[i] ); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbRaspuns Gresit0
20ms260kbRaspuns Gresit0
30ms264kbRaspuns Gresit0
40ms268kbRaspuns Gresit0
50ms268kbRaspuns Gresit0
60ms268kbRaspuns Gresit0
70ms268kbRaspuns Gresit0
80ms268kbRaspuns Gresit0
90ms272kbRaspuns Gresit0
100ms268kbRaspuns Gresit0
Punctaj total0

Ceva nu functioneaza?