Borderou de evaluare (job #2017811)

Utilizator BodeaBodea Vasile Bodea Data 2 septembrie 2017 17:19:34
Problema Triunghi5 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 0

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:50:33: warning: format ‘%d’ expects argument of type ‘int*’, but argument 3 has type ‘long long int*’ [-Wformat=] fscanf(fin,"%d",&bete[i]); ^ user.cpp:65:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d ",final[0]); ^ user.cpp:67:36: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d ",final[1]); ^ user.cpp:72:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d ",final[i]); ^ user.cpp:114:40: warning: format ‘%d’ expects argument of type ‘int’, but argument 3 has type ‘long long int’ [-Wformat=] fprintf(fout,"%d ",final[i]); ^ user.cpp:44:17: warning: unused variable ‘j’ [-Wunused-variable] int v,n,k,i,j,poz; ^ user.cpp:47:36: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin, "%d%d%d", &v,&n,&k); ^ user.cpp:50:34: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fin,"%d",&bete[i]); ^ user.cpp:103:46: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] final[n+1] = final[n] + final[poz] +1; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms196kbKilled by signal 11(SIGSEGV).0
20ms196kbKilled by signal 11(SIGSEGV).0
30ms196kbKilled by signal 11(SIGSEGV).0
40ms200kbKilled by signal 11(SIGSEGV).0
50ms200kbKilled by signal 11(SIGSEGV).0
60ms192kbKilled by signal 11(SIGSEGV).0
70ms196kbKilled by signal 11(SIGSEGV).0
80ms192kbKilled by signal 11(SIGSEGV).0
90ms196kbKilled by signal 11(SIGSEGV).0
100ms192kbKilled by signal 11(SIGSEGV).0
110ms192kbKilled by signal 11(SIGSEGV).0
120ms192kbKilled by signal 11(SIGSEGV).0
130ms200kbKilled by signal 11(SIGSEGV).0
140ms196kbKilled by signal 11(SIGSEGV).0
150ms196kbKilled by signal 11(SIGSEGV).0
160ms196kbKilled by signal 11(SIGSEGV).0
170ms192kbKilled by signal 11(SIGSEGV).0
180ms192kbKilled by signal 11(SIGSEGV).0
190ms196kbKilled by signal 11(SIGSEGV).0
200ms196kbKilled by signal 11(SIGSEGV).0
Punctaj total0

Ceva nu functioneaza?