记录详情

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 15ms 35.188 MiB
#2 Accepted 17ms 35.559 MiB
#3 Accepted 40ms 12.453 MiB
#4 Accepted 39ms 13.059 MiB
#5 Accepted 1019ms 97.684 MiB
#6 Accepted 1007ms 97.449 MiB
#7 Accepted 1020ms 95.57 MiB
#8 Accepted 1017ms 97.434 MiB
#9 Accepted 1013ms 96.656 MiB
#10 Accepted 1003ms 96.809 MiB

信息

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