Wrong Answer
/in/foo.cc: In function 'int main()': /in/foo.cc:14:47: warning: suggest parentheses around operand of '!' or change '|' to '||' or '!' to '~' [-Wparentheses] for (int j=s; j>=w; j--) if (f[j-w] && (!f[j] | f[j]++)) f[j]=1,g[j]=g[j-w],g[j][i]=1; ^ /in/foo.cc:14:58: warning: operation on 'f[j]' may be undefined [-Wsequence-point] for (int j=s; j>=w; j--) if (f[j-w] && (!f[j] | f[j]++)) f[j]=1,g[j]=g[j-w],g[j][i]=1; ^
信息
- 递交者
- 类型
- 递交
- 题目
- P1071 新年趣事之打牌
- 语言
- C++
- 递交时间
- 2017-04-09 23:02:42
- 评测时间
- 2017-04-09 23:02:42
- 评测机
- 分数
- 0
- 总耗时
- 16ms
- 峰值内存
- 256.0 KiB