Borderou de evaluare (job #1536753)

Utilizator Corneliu10Dumitru Corneliu Corneliu10 Data 26 noiembrie 2015 17:08:51
Problema Lanterna Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:93:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘short unsigned int*’ [-Wformat=] scanf("%d%d",&n,&k); ^ user.cpp:93:23: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘short unsigned int*’ [-Wformat=] user.cpp:95:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 2 has type ‘bool*’ [-Wformat=] scanf("%d",&baza[i]); ^ user.cpp:99:20: warning: large integer implicitly truncated to unsigned type [-Woverflow] T[i][j]=inf, W[i][j]=k + 1; ^ user.cpp:91:30: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result] freopen(inFile,"r",stdin); ^ user.cpp:93:24: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d",&n,&k); ^ user.cpp:95:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&baza[i]); ^ user.cpp:101:19: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d",&m); ^ user.cpp:105:38: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] scanf("%d%d%d%d",&a,&b,&c,&d); ^ user.cpp:126:26: warning: ‘Kmax’ may be used uninitialized in this function [-Wmaybe-uninitialized] g<<timpMin<<" "<<Kmax; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms424kbKilled by signal 11(SIGSEGV).0
20ms428kbKilled by signal 11(SIGSEGV).0
30ms424kbKilled by signal 11(SIGSEGV).0
40ms432kbKilled by signal 11(SIGSEGV).0
50ms428kbKilled by signal 11(SIGSEGV).0
60ms424kbKilled by signal 11(SIGSEGV).0
70ms428kbKilled by signal 11(SIGSEGV).0
80ms424kbKilled by signal 11(SIGSEGV).0
90ms420kbKilled by signal 11(SIGSEGV).0
100ms420kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?