Borderou de evaluare (job #1633261)

Utilizator UCV_DUMITRU_ENACHE_MITROIUCV DUMITRU MITROI ENACHE UCV_DUMITRU_ENACHE_MITROI Data 6 martie 2016 11:53:50
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:55:26: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long int’ [-Wformat=] fprintf(g, "%d", maxS); ^ user.cpp:18:9: warning: variable ‘finL’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp:18:15: warning: variable ‘finR’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp:18:21: warning: variable ‘finT’ set but not used [-Wunused-but-set-variable] int finL, finR, finT, finB; ^ user.cpp:18: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:106:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&a[i]); ^ user.cpp:111:28: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long int*’ [-Wformat=] fscanf(f,"%d",&b[j]); ^ user.cpp:94: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:106: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:111: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
124ms16056kbKilled by signal 11(SIGSEGV).00
224ms16052kbKilled by signal 11(SIGSEGV).0
324ms16056kbKilled by signal 11(SIGSEGV).0
424ms16056kbKilled by signal 11(SIGSEGV).0
524ms16052kbKilled by signal 11(SIGSEGV).0
624ms16052kbKilled by signal 11(SIGSEGV).0
724ms16052kbKilled by signal 11(SIGSEGV).0
824ms16052kbKilled by signal 11(SIGSEGV).0
924ms16060kbKilled by signal 11(SIGSEGV).0
1024ms16060kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?