/ Vijos /

记录详情

Time Exceeded

/in/foo.cc: In function 'int main()':
/in/foo.cc:26:14: warning: unused variable '_' [-Wunused-variable]
  for(int i=1,_=scanf("%d %d %d",&d,&n,&m);i<=n;scanf("%d",&t[i]),a[i]=t[i]-t[i-1],ma=a[i]>ma?a[i]:ma,a[n+1]=i==n?d-t[n]:0,i++);
              ^
# 状态 耗时 内存占用
#1 Wrong Answer 1ms 504.0 KiB
#2 Wrong Answer 2ms 528.0 KiB
#3 Accepted 11ms 612.0 KiB
#4 Accepted 34ms 604.0 KiB
#5 Wrong Answer 179ms 600.0 KiB
#6 Time Exceeded ≥1001ms ≥676.0 KiB
#7 Time Exceeded ≥1002ms ≥684.0 KiB
#8 Time Exceeded ≥1002ms ≥784.0 KiB
#9 Time Exceeded ≥1003ms ≥776.0 KiB
#10 Time Exceeded ≥1005ms ≥768.0 KiB

信息

递交者
类型
递交
题目
P1981 跳石头
语言
C++
递交时间
2024-11-30 15:04:30
评测时间
2024-11-30 15:04:30
评测机
分数
20
总耗时
≥5245ms
峰值内存
≥784.0 KiB