记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:12:28: warning: suggest explicit braces to avoid ambiguous 'else' [-Wparentheses]
  for (int i=1;i<=n;i++) if (a[i]!=m) if (flag) printf(" %d",a[i]);else flag=1,printf("%d",a[i]);
                            ^
# 状态 耗时 内存占用
#1 Accepted 3ms 352.0 KiB
#2 Accepted 2ms 356.0 KiB
#3 Accepted 3ms 208.0 KiB
#4 Accepted 3ms 348.0 KiB
#5 Accepted 4ms 384.0 KiB
#6 Accepted 4ms 352.0 KiB
#7 Accepted 3ms 364.0 KiB
#8 Accepted 6ms 360.0 KiB
#9 Accepted 38ms 588.0 KiB
#10 Accepted 190ms 3.867 MiB

信息

递交者
类型
递交
题目
美人松的高度3
语言
C++
递交时间
2018-08-19 10:40:28
评测时间
2018-08-19 10:40:28
评测机
分数
100
总耗时
261ms
峰值内存
3.867 MiB