Pagini recente » Borderou de evaluare (job #568915) | Borderou de evaluare (job #3482) | Borderou de evaluare (job #2526507) | Borderou de evaluare (job #255619) | Borderou de evaluare (job #2043595)
Borderou de evaluare (job #2043595)
Raport evaluator
Compilare:
user.cpp: In function ‘int evaluate(char (*)[5])’:
user.cpp:16:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (ch[i][1]==ch[i][2] && ch[i][2]==ch[i][3])
^
user.cpp:23:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (ch[1][i]==ch[2][i] && ch[2][i]==ch[3][i])
^
user.cpp:29:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (ch[1][1]==ch[2][2] && ch[2][2]==ch[3][3])
^
user.cpp:35:4: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if (ch[1][3]==ch[2][2] && ch[2][2]==ch[3][1])
^
user.cpp: In function ‘int main()’:
user.cpp:70:32: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xsizero.in","r",stdin);
^
user.cpp:71:34: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("xsizero.out","w",stdout);
^
user.cpp:123:12: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("\n");}
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | Depăşit | 292kb | Time limit exceeded. | 0 |
Punctaj total | 0 |