Borderou de evaluare (job #1608638)

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

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:35: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
10ms268kbOk!10
20ms268kbRaspuns gresit0
30ms264kbRaspuns gresit0
40ms264kbOk!10
50ms268kbRaspuns gresit0
60ms260kbRaspuns gresit0
70ms268kbRaspuns gresit0
80ms260kbRaspuns gresit0
90ms260kbRaspuns gresit0
100ms264kbRaspuns gresit0
Punctaj total20

Ceva nu functioneaza?