Borderou de evaluare (job #1608677)

Utilizator eustatiuDima Eustatiu eustatiu Data 22 februarie 2016 11:49:22
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: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
18ms276kbOk!10
2Depăşit264kbTime limit exceeded.0
3120ms276kbRaspuns gresit0
472ms272kbOk!10
5Depăşit244kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
7Depăşit244kbTime limit exceeded.0
8Depăşit244kbTime limit exceeded.0
9Depăşit244kbTime limit exceeded.0
10Depăşit248kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?