Borderou de evaluare (job #1608676)

Utilizator eustatiuDima Eustatiu eustatiu Data 22 februarie 2016 11:48:58
Problema Jocul Flip Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 30

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%ld%ld",&n,&m); ^ user.cpp:11:26: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘int*’ [-Wformat=] user.cpp:13:34: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf ("%ld",&a[i][j]); ^ user.cpp:39:20: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf ("%ld",s); ^ user.cpp:9:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("flip.in","r",stdin); ^ user.cpp:10:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen ("flip.out","w",stdout); ^ user.cpp:11:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld%ld",&n,&m); ^ user.cpp:13:35: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf ("%ld",&a[i][j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms276kbOk!10
20ms276kbOk!10
30ms276kbRaspuns gresit0
40ms276kbOk!10
50ms280kbRaspuns gresit0
64ms280kbRaspuns gresit0
74ms276kbRaspuns gresit0
84ms280kbRaspuns gresit0
94ms280kbRaspuns gresit0
104ms272kbRaspuns gresit0
Punctaj total30

Ceva nu functioneaza?