/ JF_OIer /

记录详情

Accepted

/in/foo.cc: In function 'int main()':
/in/foo.cc:46:21: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
         if(x=a||flag)x=b;
                     ^
/in/foo.cc:38:36: warning: iteration 6005 invokes undefined behavior [-Waggressive-loop-optimizations]
  for(int i=0;i<=M;i++)t[i].l=t[i].r=0;
                              ~~~~~~^~
/in/foo.cc:38:15: note: within this loop
  for(int i=0;i<=M;i++)t[i].l=t[i].r=0;
              ~^~~
# 状态 耗时 内存占用
#1 Accepted 1ms 352.0 KiB
#2 Accepted 1ms 352.0 KiB
#3 Accepted 1ms 356.0 KiB
#4 Accepted 1ms 348.0 KiB
#5 Accepted 1ms 360.0 KiB
#6 Accepted 1ms 352.0 KiB
#7 Accepted 1ms 360.0 KiB
#8 Accepted 9ms 632.0 KiB
#9 Accepted 9ms 636.0 KiB
#10 Accepted 9ms 636.0 KiB

信息

递交者
类型
递交
题目
P1005 没有上司的舞会
语言
C++
递交时间
2019-07-24 09:29:09
评测时间
2019-07-24 09:29:09
评测机
分数
100
总耗时
37ms
峰值内存
636.0 KiB