记录详情

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--;
                    ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 216.0 KiB
#2 Wrong Answer 1ms 220.0 KiB
#3 Wrong Answer 1ms 224.0 KiB
#4 Wrong Answer 1ms 220.0 KiB
#5 Wrong Answer 1ms 216.0 KiB

信息

递交者
类型
递交
比赛
数据结构课堂练习9-16
语言
C++
递交时间
2019-09-16 11:06:29
评测时间
2019-09-16 11:06:29
评测机
分数
0
总耗时
6ms
峰值内存
224.0 KiB