Borderou de evaluare (job #2193458)

Utilizator lucaperjuLuca Perju Verzotti lucaperju Data 10 aprilie 2018 11:13:26
Problema Domino1 Status done
Runda Arhiva de probleme Compilator cpp | Vezi sursa
Scor 88

Raport evaluator

Compilare: user.cpp: In function ‘int main()’: user.cpp:11:5: warning: this ‘for’ clause does not guard... [-Wmisleading-indentation] for(i=1;i<=n;i++) ^~~ user.cpp:13:9: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the ‘for’ eli=el; ^~~ user.cpp:29:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v1[i]>mx || v1[i]==mx && ok==1 && v1[str]<v2[i] || v1[i]==mx && ok==0 && v2[str]<v2[i]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ user.cpp:29:90: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v1[i]>mx || v1[i]==mx && ok==1 && v1[str]<v2[i] || v1[i]==mx && ok==0 && v2[str]<v2[i]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ user.cpp:36:51: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v2[i]>mx || v2[i]==mx && ok==1 && v1[i]>v1[str] || v2[i]==mx && ok==0 && v1[i]>v2[str]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ user.cpp:36:90: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v2[i]>mx || v2[i]==mx && ok==1 && v1[i]>v1[str] || v2[i]==mx && ok==0 && v1[i]>v2[str]) ~~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~ user.cpp:68:42: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses] if(v1[i]>mx || v1[i]==mx && v2[i]>v2[str]) ~~~~~~~~~~^~~~~~~~~~~~~~~~ user.cpp:9:11: warning: unused variable ‘j’ [-Wunused-variable] int i,j,mx,ok,n,ro,el,str=0,mn,eli,cnt=0,strc,brk=0; ^
Test Timp executie Memorie folosita Mesaj Punctaj/test
10ms1392kbOK4
20ms1384kbOK4
30ms1384kbOK4
40ms1384kbOK4
50ms1384kbIncorect0
60ms1388kbOK4
70ms1388kbOK4
80ms1388kbOK4
90ms1388kbOK4
100ms1388kbOK4
110ms1384kbOK4
120ms1388kbOK4
130ms1388kbOK4
140ms1384kbIncorect0
150ms1384kbOK4
160ms1392kbIncorect0
170ms1384kbOK4
184ms1460kbOK4
198ms1464kbOK4
204ms1456kbOK4
214ms1464kbOK4
224ms1468kbOK4
234ms1464kbOK4
244ms1464kbOK4
254ms1460kbOK4
Punctaj total88

Ceva nu functioneaza?