Pagini recente » Borderou de evaluare (job #1931094) | Borderou de evaluare (job #1554445) | Borderou de evaluare (job #1295511) | Borderou de evaluare (job #414552) | Borderou de evaluare (job #1353054)
Borderou de evaluare (job #1353054)
Raport evaluator
Compilare:
user.cpp: In function ‘int main()’:
user.cpp:18:41: warning: suggest parentheses around ‘&&’ within ‘||’ [-Wparentheses]
if((A[x]==1&&B[y]==1)||(B[x]==1)&&A[y]==1)
^
user.cpp:47:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(A[x]==0&&B[x]==0&&prt==0)
^
user.cpp:62:11: warning: suggest explicit braces to avoid ambiguous ‘else’ [-Wparentheses]
if(B[x]==0&&A[x]==0&&prt==0)
^
user.cpp:11:35: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.in","r",stdin);
^
user.cpp:12:37: warning: ignoring return value of ‘FILE* freopen(const char*, const char*, FILE*)’, declared with attribute warn_unused_result [-Wunused-result]
freopen("meciul.out","w",stdout);
^
user.cpp:13:29: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d%d",&t,&n,&m);
^
user.cpp:17:28: warning: ignoring return value of ‘int scanf(const char*, ...)’, declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d",&x,&y);
^
Test |
Timp executie |
Memorie folosita |
Mesaj |
Punctaj/test |
1 | 0ms | 252kb | Incorect | 0 |
Punctaj total | 0 |