Borderou de evaluare (job #1079436)

Utilizator UniBuc_Bobaru_Ciubuc_VisanUniBuc Bobaru Ciubuc Visan UniBuc_Bobaru_Ciubuc_Visan Data 12 ianuarie 2014 13:00:09
Problema X si 0 Status done
Runda ONIS 2014, Runda 2 Compilator cpp | Vezi sursa
Scor 0

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
1152ms236kbIncorect0
Punctaj total0

Ceva nu functioneaza?