记录详情

Runtime Error

/in/foo.cc: In function 'bool yuudachi(int)':
/in/foo.cc:14:49: warning: operation on 'ind' may be undefined [-Wsequence-point]
     while(ta[ind].first&&ta[ind].second!=num)ind=((++ind)%maxta);
                                              ~~~^~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'bool poi::insert(int)':
/in/foo.cc:24:53: warning: operation on 'ind' may be undefined [-Wsequence-point]
         while(va[ind].first&&va[ind].second!=num)ind=((++ind)%maxva);
                                                  ~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 5ms 1.055 MiB
#2 Accepted 1ms 208.0 KiB
#3 Accepted 1ms 308.0 KiB
#4 Accepted 1ms 320.0 KiB
#5 Runtime Error 83ms 968.0 KiB
#6 Runtime Error 98ms 1.062 MiB
#7 Runtime Error 110ms 1.055 MiB
#8 Runtime Error 59ms 976.0 KiB
#9 Runtime Error 67ms 1.055 MiB
#10 Runtime Error 79ms 1.059 MiB

信息

递交者
类型
递交
题目
门票
题目数据
下载
语言
C++
递交时间
2018-10-30 16:17:12
评测时间
2018-10-30 16:17:12
评测机
分数
40
总耗时
508ms
峰值内存
1.062 MiB