Borderou de evaluare (job #1633157)

Utilizator UCV_DUMITRU_ENACHE_MITROIUCV DUMITRU MITROI ENACHE UCV_DUMITRU_ENACHE_MITROI Data 6 martie 2016 11:41:49
Problema MaxSubSum Status done
Runda ONIS 2016, Runda 1 Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:54:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g, "%d", maxS); ^ user.cpp:17:9: warning: variable ‘finL’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp:17:15: warning: variable ‘finR’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp:17:21: warning: variable ‘finT’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp:17:27: warning: variable ‘finB’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp: In function ‘void computeMatrix()’: user.cpp:97:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&a[i]); ^ user.cpp:102:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&b[j]); ^ user.cpp:93:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d%d",&n,&m); ^ user.cpp:97:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&a[i]); ^ user.cpp:102:29: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(f,"%d",&b[j]); ^
Test Timp executie Memorie folosita Mesaj Punctaj/test Punctaj/grupa
124ms16028kbKilled by signal 11(SIGSEGV).00
224ms16028kbKilled by signal 11(SIGSEGV).0
320ms16032kbKilled by signal 11(SIGSEGV).0
420ms16028kbKilled by signal 11(SIGSEGV).0
520ms16032kbKilled by signal 11(SIGSEGV).0
624ms16032kbKilled by signal 11(SIGSEGV).0
720ms16036kbKilled by signal 11(SIGSEGV).0
820ms16032kbKilled by signal 11(SIGSEGV).0
924ms16032kbKilled by signal 11(SIGSEGV).0
1024ms16028kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?