/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:30:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int l=2;l<=i;l++)//从左往右推 从左往右走的情况更新
         ^~~
/in/foo.cc:32:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             f[i][1]=min(f[i][1],f[i][i]+a[i][1]);
             ^
/in/foo.cc:34:9: warning: this 'for' clause does not guard... [-Wmisleading-indentation]
         for(int k=i-1;k>0;k--)//再推一遍从右往左推 从右往左走的情况更新
         ^~~
/in/foo.cc:36:13: note: ...this statement, but the latter is misleadingly indented as if it is guarded by the 'for'
             f[i][i]=min(f[i][i],f[i][1]+a[i][i]);
             ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 380.0 KiB
#2 Wrong Answer 2ms 888.0 KiB
#3 Wrong Answer 12ms 4.5 MiB
#4 Time Exceeded ≥1001ms ≥2.082 MiB
#5 Time Exceeded ≥1000ms ≥2.059 MiB
#6 Time Exceeded ≥1002ms ≥2.031 MiB
#7 Time Exceeded ≥1002ms ≥2.059 MiB
#8 Time Exceeded ≥1004ms ≥2.117 MiB
#9 Time Exceeded ≥1001ms ≥2.055 MiB
#10 Time Exceeded ≥1005ms ≥2.086 MiB

信息

递交者
类型
递交
题目
P1008 篝火晚会
语言
C++
递交时间
2024-10-21 23:17:38
评测时间
2024-10-21 23:17:38
评测机
分数
0
总耗时
≥7034ms
峰值内存
≥4.5 MiB