记录详情

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 20ms 17.828 MiB
#2 Accepted 24ms 19.43 MiB
#3 Accepted 50ms 3.562 MiB
#4 Accepted 47ms 3.57 MiB
#5 Accepted 1290ms 131.434 MiB
#6 Accepted 1305ms 131.402 MiB
#7 Accepted 1255ms 129.828 MiB
#8 Accepted 1244ms 129.801 MiB
#9 Accepted 1162ms 129.812 MiB
#10 Accepted 1152ms 129.82 MiB

信息

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