Accepted
/in/foo.cc: In function 'bool li(long int, long int)': /in/foo.cc:8:12: warning: suggest parentheses around '&&' within '||' [-Wparentheses] if(j==x&&k==y||j==0&&k==0) return 1; ~~~~^~~~~~ /in/foo.cc:2:36: warning: suggest parentheses around '&&' within '||' [-Wparentheses] #define L(j,k,x,y) (j==x+1||j==x-1)&&(k==y+2||k==y-2) ~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~ /in/foo.cc:9:8: note: in expansion of macro 'L' if(L(j,k,x,y)||L(k,j,y,x)) return 1; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1121 马拦过河卒
- 语言
- C++
- 递交时间
- 2018-08-14 15:05:24
- 评测时间
- 2018-08-14 15:05:24
- 评测机
- 分数
- 100
- 总耗时
- 32ms
- 峰值内存
- 384.0 KiB