Borderou de evaluare (job #1476978)

Utilizator DenisONIcBanu Denis Andrei DenisONIc Data 25 august 2015 14:35:38
Problema Rayman Status done
Runda Junior Challenge 2015 Runda 2 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:9:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld%ld",&n,&m); ^ user.cpp:9:25: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 3 has type ‘long long int*’ [-Wformat=] user.cpp:13:35: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&mat[i][j]); ^ user.cpp:18:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&risc[i][j]); ^ user.cpp:23:33: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘long long int*’ [-Wformat=] scanf("%ld",&e[i][j]); ^ user.cpp:7:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rayman.in","r",stdin); ^ user.cpp:8:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rayman.out","w",stdout); ^ user.cpp:9:26: 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:36: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&mat[i][j]); ^ user.cpp:18:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&risc[i][j]); ^ user.cpp:23:34: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&e[i][j]); ^ user.cpp:66:18: warning: ‘sav2’ may be used uninitialized in this function [-Wmaybe-uninitialized] long ok=0,mx,sav2,ant=0,en,te=0; ^
Feedback Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
✓196ms1156kbIncorect00
✓296ms1152kbIncorect0
✓396ms1156kbIncorect0
✓444ms740kbIncorect00
✓540ms740kbIncorect0
✓640ms740kbIncorect0
✓7Depăşit24240kbTime limit exceeded.00
✓8Depăşit24232kbTime limit exceeded.0
✓9Depăşit24224kbTime limit exceeded.0
✓10Depăşit24176kbTime limit exceeded.00
✓11Depăşit24232kbTime limit exceeded.0
✓12Depăşit24240kbTime limit exceeded.0
✓13Depăşit24240kbTime limit exceeded.0
Punctaj total0

Ceva nu functioneaza?