记录详情

Runtime Error

/in/foo.cc: In function 'int main()':
/in/foo.cc:23:43: warning: operation on 'py' may be undefined [-Wsequence-point]
   if(temp=='S')sum=sum+sumy[py]-(n-sumy[py++]);
                                         ~~^~
/in/foo.cc:24:30: warning: operation on 'py' may be undefined [-Wsequence-point]
   if(temp=='J') sum=sum-sumy[--py]+(n-sumy[py]);
                              ^~~~
/in/foo.cc:25:44: warning: operation on 'px' may be undefined [-Wsequence-point]
   if(temp=='I') sum=sum+sumx[px]-(n-sumx[px++]);
                                          ~~^~
/in/foo.cc:26:30: warning: operation on 'px' may be undefined [-Wsequence-point]
   if(temp=='Z') sum=sum-sumx[--px]+(n-sumx[px]);
                              ^~~~
# 状态 耗时 内存占用
#1 Accepted 3ms 316.0 KiB
#2 Runtime Error 4ms 320.0 KiB
#3 Runtime Error 73ms 832.0 KiB
#4 Runtime Error 92ms 1.309 MiB
#5 Runtime Error 114ms 1.438 MiB
#6 Runtime Error 4ms 832.0 KiB
#7 Runtime Error 5ms 320.0 KiB
#8 Runtime Error 9ms 448.0 KiB
#9 Runtime Error 94ms 1.227 MiB
#10 Runtime Error 84ms 1.059 MiB

信息

递交者
类型
递交
题目
距离之和
题目数据
下载
语言
C++
递交时间
2017-09-16 11:24:27
评测时间
2017-09-16 11:24:27
评测机
分数
10
总耗时
486ms
峰值内存
1.438 MiB