记录详情

Time Exceeded

/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:65: warning: suggest parentheses around '+' in operand of '&' [-Wparentheses]
         while(va[ind].first==true&&va[ind].second!=num)ind=((ind+ind&7)%maxva);
                                                              ~~~^~~~
# 状态 耗时 内存占用
#1 Accepted 16ms 35.184 MiB
#2 Accepted 17ms 35.809 MiB
#3 Accepted 44ms 12.199 MiB
#4 Accepted 46ms 13.434 MiB
#5 Time Exceeded ≥1506ms ≥53.145 MiB
#6 Time Exceeded ≥1504ms ≥45.27 MiB
#7 Time Exceeded ≥1504ms ≥52.055 MiB
#8 Time Exceeded ≥1505ms ≥56.309 MiB
#9 Time Exceeded ≥1505ms ≥56.449 MiB
#10 Time Exceeded ≥1505ms ≥46.184 MiB

信息

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