记录详情

Accepted

/in/foo.cc: In member function 'bool poi::insert(int)':
/in/foo.cc:26:53: warning: operation on 'ind' may be undefined [-Wsequence-point]
         while(va[ind].first&&va[ind].second!=num)ind=((++ind)%maxva);
                                                  ~~~^~~~~~~~~~~~~~~~
/in/foo.cc: In member function 'int& poi::get(int)':
/in/foo.cc:33:59: warning: operation on 'ind' may be undefined [-Wsequence-point]
         while(va[ind].first==true&&va[ind].second!=num)ind=((++ind)%maxva);
                                                        ~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 17ms 16.059 MiB
#2 Accepted 17ms 17.328 MiB
#3 Accepted 51ms 3.559 MiB
#4 Accepted 43ms 3.648 MiB
#5 Accepted 1153ms 85.684 MiB
#6 Accepted 1127ms 85.656 MiB
#7 Accepted 1109ms 83.961 MiB
#8 Accepted 1181ms 83.965 MiB
#9 Accepted 1154ms 83.992 MiB
#10 Accepted 1283ms 84.059 MiB

信息

递交者
类型
递交
题目
甘核平
题目数据
下载
语言
C++
递交时间
2018-10-31 11:21:59
评测时间
2018-10-31 11:21:59
评测机
分数
100
总耗时
7139ms
峰值内存
85.684 MiB