Borderou de evaluare (job #1198445)

Utilizator lianaliana tucar liana Data 15 iunie 2014 18:22:26
Problema Roy-Floyd Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 50

Raport evaluator

Compilare: user.cpp: In function ‘void citire()’: user.cpp:9:19: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&n); ^ user.cpp:13:36: warning: format ‘%ld’ expects argument of type ‘long int*’, but argument 2 has type ‘int*’ [-Wformat=] scanf("%ld",&dmin[i][j]); ^ user.cpp: In function ‘void afisare()’: user.cpp:37:37: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",dmin[j][i]); ^ user.cpp:43:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",nrs[j][i]); ^ user.cpp: In function ‘void citire()’: user.cpp:9:20: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&n); ^ user.cpp:13:37: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%ld",&dmin[i][j]); ^ user.cpp: In function ‘int main()’: user.cpp:49:31: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rf.in","r",stdin); ^ user.cpp:50:33: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("rf.out","w",stdout); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms268kbOK5
20ms276kbOK5
30ms292kbOK5
40ms288kbOK5
54ms400kbOK5
64ms404kbOK5
720ms528kbOK5
820ms532kbOK5
920ms532kbOK5
1020ms532kbOK5
11Depăşit784kbTime limit exceeded.0
12Depăşit788kbTime limit exceeded.0
13Depăşit780kbTime limit exceeded.0
14Depăşit780kbTime limit exceeded.0
15Depăşit788kbTime limit exceeded.0
16Depăşit784kbTime limit exceeded.0
17Depăşit784kbTime limit exceeded.0
18Depăşit780kbTime limit exceeded.0
19Depăşit788kbTime limit exceeded.0
20Depăşit788kbTime limit exceeded.0
Punctaj total50

Ceva nu functioneaza?