Borderou de evaluare (job #1608680)

Utilizator eustatiuDima Eustatiu eustatiu Data 22 februarie 2016 11:50:52
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:41:22: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf ("%ld",max); ^ 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
18ms280kbOk!10
2Depăşit244kbTime limit exceeded.0
3Depăşit260kbTime limit exceeded.0
4128ms280kbOk!10
5Depăşit244kbTime limit exceeded.0
6Depăşit244kbTime limit exceeded.0
7Depăşit244kbTime limit exceeded.0
8Depăşit240kbTime limit exceeded.0
9Depăşit244kbTime limit exceeded.0
10Depăşit244kbTime limit exceeded.0
Punctaj total20

Ceva nu functioneaza?