Borderou de evaluare (job #1673534)

Utilizator PopoviciRobertPopovici Robert PopoviciRobert Data 3 aprilie 2016 22:02:43
Problema Plus2 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 36

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:145:24: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&n); ^ user.cpp:146:27: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&v[0]); ^ user.cpp:152:28: warning: ignoring return value of ‘int fscanf(FILE*, const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result] fscanf(fi,"%d" ,&x); ^ user.cpp: In function ‘long long unsigned int E()’: user.cpp:78:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(j=poz+1; j<cif1; j++){ ^ user.cpp:8:32: note: ‘poz’ was declared here int cif1,cif2,max,con,j,i1,poz,m,t,lung; ^ user.cpp: In function ‘long long unsigned int fact()’: user.cpp:9:5: warning: ‘x’ may be used uninitialized in this function [-Wmaybe-uninitialized] if(a==b) ^ user.cpp:115:24: note: ‘x’ was declared here unsigned long long x; ^ user.cpp:78:20: warning: ‘poz’ may be used uninitialized in this function [-Wmaybe-uninitialized] for(j=poz+1; j<cif1; j++){ ^ user.cpp:8:32: note: ‘poz’ was declared here int cif1,cif2,max,con,j,i1,poz,m,t,lung; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms264kbRaspuns gresit la cerinta b!2
20ms264kbCorect!10
30ms264kbCorect!10
40ms264kbRaspuns gresit la cerinta b!2
50ms272kbRaspuns gresit la cerinta b!2
60ms284kbRaspuns gresit la cerinta b!2
70ms296kbRaspuns gresit la cerinta b!2
80ms276kbRaspuns gresit la cerinta b!2
90ms272kbRaspuns gresit la cerinta b!2
100ms272kbRaspuns gresit la cerinta b!2
Punctaj total36

Ceva nu functioneaza?