/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'void init()':
/in/foo.cc:35:51: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   vector<pair<int,int>>().swap(v[i]),vis[i]=cnt[i]=id[i]=0,q[i]={0,0,0},dis[i]=0x3f3f3f3f3f3f3f3f;
                                             ~~~~~~^~~~~~~~
/in/foo.cc:36:21: warning: iteration 100005 invokes undefined behavior [-Waggressive-loop-optimizations]
   fo(j,0,50)dp[j][i]=0;
             ~~~~~~~~^~
/in/foo.cc:4:32: note: within this loop
 #define fo(i,l,r) for(int i=l;i<=r;i++)
                                 
/in/foo.cc:34:5:
  fo(i,0,200000){
     ~~~~~                       
/in/foo.cc:34:2: note: in expansion of macro 'fo'
  fo(i,0,200000){
  ^~
# 状态 耗时 内存占用
#1 Accepted 362ms 54.141 MiB
#2 Accepted 366ms 54.211 MiB
#3 Accepted 366ms 54.234 MiB
#4 Accepted 365ms 54.203 MiB
#5 Accepted 372ms 54.215 MiB
#6 Accepted 371ms 54.203 MiB
#7 Accepted 607ms 59.672 MiB
#8 Time Exceeded ≥3003ms ≥59.465 MiB
#9 Accepted 2325ms 59.473 MiB
#10 Accepted 1940ms 59.641 MiB

信息

递交者
类型
递交
题目
P2030 逛公园
语言
C++
递交时间
2025-01-13 09:32:16
评测时间
2025-01-13 09:32:16
评测机
分数
90
总耗时
≥10080ms
峰值内存
≥59.672 MiB