Time Exceeded

foo.cc: In function ‘int main()’:
foo.cc:7:31: warning: for increment expression has no effect [-Wunused-value]
    7 |         for(int i=1;i<=2*n-1;i+2)
      |                              ~^~
# 状态 耗时 内存占用
#1 Time Exceeded ≥1067ms ≥324.0 KiB
#2 Time Exceeded ≥1066ms ≥540.0 KiB
#3 Time Exceeded ≥1064ms ≥320.0 KiB
#4 Time Exceeded ≥1067ms ≥288.0 KiB
#5 Time Exceeded ≥1067ms ≥320.0 KiB
#6 Time Exceeded ≥1066ms ≥288.0 KiB
#7 Time Exceeded ≥1067ms ≥320.0 KiB
#8 Time Exceeded ≥1000ms ≥324.0 KiB
#9 Time Exceeded ≥1067ms ≥536.0 KiB
#10 Time Exceeded ≥1067ms ≥540.0 KiB

信息

递交者
类型
递交
题目
P1189 序列前N项和
语言
C++
递交时间
2024-04-12 21:41:30
评测时间
2024-04-12 21:41:30
评测机
分数
0
总耗时
≥10602ms
峰值内存
≥540.0 KiB