记录详情

Accepted

/in/foo.cc: In member function 'bool poi::insert(int)':
/in/foo.cc:25: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:32:59: warning: operation on 'ind' may be undefined [-Wsequence-point]
         while(va[ind].first==true&&va[ind].second!=num)ind=((++ind)%maxva);
                                                        ~~~^~~~~~~~~~~~~~~~
# 状态 耗时 内存占用
#1 Accepted 19ms 36.562 MiB
#2 Accepted 21ms 37.266 MiB
#3 Accepted 51ms 12.086 MiB
#4 Accepted 51ms 13.305 MiB
#5 Accepted 1194ms 108.578 MiB
#6 Accepted 985ms 109.43 MiB
#7 Accepted 1063ms 108.312 MiB
#8 Accepted 1068ms 108.57 MiB
#9 Accepted 1100ms 108.926 MiB
#10 Accepted 1092ms 107.926 MiB

信息

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