/ new_bzoj /

记录详情

Wrong Answer

/in/foo.cc: In function 'int main()':
/in/foo.cc:18:26: warning: operation on 'tot' may be undefined [-Wsequence-point]
  for(int i=1;i<=n;++i) s[++tot]=tot+2,s[++tot]=str[i]-'0';
                          ^~~~~
/in/foo.cc:19:4: warning: operation on 'tot' may be undefined [-Wsequence-point]
  s[++tot]=tot+2;
    ^~~~~
/in/foo.cc:22:44: warning: suggest parentheses around '-' inside '>>' [-Wparentheses]
  for(int i=1;i<=tot;++i) if(i&1) ans+=rl[i]-1>>1;
                                       ~~~~~^~
# 状态 耗时 内存占用
#1 Wrong Answer 35ms 8.5 MiB
#2 Wrong Answer 18ms 7.75 MiB
#3 Accepted 15ms 8.574 MiB
#4 Wrong Answer 19ms 8.406 MiB
#5 Wrong Answer 18ms 8.375 MiB
#6 Wrong Answer 4ms 2.348 MiB
#7 Wrong Answer 4ms 4.25 MiB
#8 Wrong Answer 4ms 4.25 MiB
#9 Wrong Answer 4ms 2.461 MiB
#10 Wrong Answer 8ms 7.117 MiB

信息

递交者
类型
递交
题目
Antisymmetry
语言
C++
递交时间
2018-01-16 19:03:29
评测时间
2018-01-16 19:03:29
评测机
分数
10
总耗时
134ms
峰值内存
8.574 MiB