Borderou de evaluare (job #1528491)

Utilizator cboneCristi Niculae cbone Data 19 noiembrie 2015 19:20:09
Problema Cel mai lung subsir comun Status done
Runda Arhiva educationala Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:47:32: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld\n",maxi); ^ user.cpp:49:41: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld ",vint[i][j]); ^ user.cpp:51:36: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 2 has type ‘int’ [-Wformat=] printf("%ld",vint[i][0]); ^ user.cpp:5:36: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.in", "r", stdin); ^ user.cpp:6:38: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen("cmlsc.out", "w", stdout); ^ user.cpp:7:25: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d %d",&N,&M); ^ user.cpp:9:30: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v1[i][0]); ^ user.cpp:12:27: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&v2[i]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms448kbSubsir incorect!0
20ms460kbLungime incorecta!0
30ms460kbLungime incorecta!0
40ms576kbLungime incorecta!0
50ms592kbLungime incorecta!0
60ms472kbLungime incorecta!0
70ms588kbKilled by signal 11(SIGSEGV).0
80ms696kbKilled by signal 11(SIGSEGV).0
90ms648kbKilled by signal 11(SIGSEGV).0
100ms508kbLungime incorecta!0
Punctaj total0

Ceva nu functioneaza?