Wrong Answer
/in/foo.cc: In function 'void SetInter(int*, int*, int, int)': /in/foo.cc:17:22: warning: left operand of comma operator has no effect [-Wunused-value] for(int i=0,flag=0;i<k,flag<k;i++,flag++) ~^~ /in/foo.cc:18:20: warning: suggest parentheses around assignment used as truth value [-Wparentheses] if(pa[flag]=pa[i]) a[i-1]=a[i],k--; ^
信息
- 递交者
- 类型
- 递交
- 比赛
- 数据结构课堂练习9-16
- 语言
- C++
- 递交时间
- 2019-09-16 11:06:29
- 评测时间
- 2019-09-16 11:06:29
- 评测机
- 分数
- 0
- 总耗时
- 6ms
- 峰值内存
- 224.0 KiB