Borderou de evaluare (job #1079436)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:31:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:39:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:47:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:55:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:63:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:71:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:79:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:87:3: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(nrp==1)
^
user.cpp:44:15: warning: array subscript is above array bounds [-Warray-bounds]
if(s[3][j]=='.') nrp++;
^
user.cpp:68:18: warning: array subscript is above array bounds [-Warray-bounds]
if(s[j][3]=='.') nrp++;
^
user.cpp:95:46: warning: array subscript is above array bounds [-Warray-bounds]
else if(x==1 && !ok && s[1][1]=='X' && s[3][3]=='X' && s[3][1]=='0') fprintf(g,"Testul #%d: win\n",nr);
^
user.cpp:95:43: warning: array subscript is above array bounds [-Warray-bounds]
else if(x==1 && !ok && s[1][1]=='X' && s[3][3]=='X' && s[3][1]=='0') fprintf(g,"Testul #%d: win\n",nr);
^
user.cpp:95:59: warning: array subscript is above array bounds [-Warray-bounds]
else if(x==1 && !ok && s[1][1]=='X' && s[3][3]=='X' && s[3][1]=='0') fprintf(g,"Testul #%d: win\n",nr);
^
user.cpp:96:30: warning: array subscript is above array bounds [-Warray-bounds]
else if(x==1 && !ok && s[1][3]=='X' && s[3][1]=='X' && s[3][3]=='0') fprintf(g,"Testul #%d: win\n",nr);
^
user.cpp:96:43: warning: array subscript is above array bounds [-Warray-bounds]
else if(x==1 && !ok && s[1][3]=='X' && s[3][1]=='X' && s[3][3]=='0') fprintf(g,"Testul #%d: win\n",nr);
^
user.cpp:96:62: warning: array subscript is above array bounds [-Warray-bounds]
else if(x==1 && !ok && s[1][3]=='X' && s[3][1]=='X' && s[3][3]=='0') fprintf(g,"Testul #%d: win\n",nr);
^
user.cpp:96:59: warning: array subscript is above array bounds [-Warray-bounds]
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 152ms | 236kb | Incorect | 0 |
Punctaj total | 0 |