Time Exceeded

foo.cc: In function 'int main()':
foo.cc:10:24: warning: for increment expression has no effect [-Wunused-value]
   10 |  for(int i=1;i<=n*2-1;i+2)
      |                       ~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1099ms ≥384.0 KiB
#2 Time Exceeded ≥1098ms ≥384.0 KiB
#3 Time Exceeded ≥1099ms ≥384.0 KiB
#4 Time Exceeded ≥1099ms ≥384.0 KiB
#5 Time Exceeded ≥1100ms ≥384.0 KiB
#6 Time Exceeded ≥1099ms ≥512.0 KiB
#7 Time Exceeded ≥1100ms ≥256.0 KiB
#8 Time Exceeded ≥1099ms ≥384.0 KiB
#9 Time Exceeded ≥1100ms ≥384.0 KiB
#10 Time Exceeded ≥1099ms ≥384.0 KiB

信息

递交者
类型
递交
题目
P1189 序列前N项和
语言
C++
递交时间
2021-12-22 13:30:28
评测时间
2021-12-22 13:30:28
评测机
分数
0
总耗时
≥10997ms
峰值内存
≥512.0 KiB