/ Vijos /

记录详情

Time Exceeded

foo.cc: In function 'int cal(int)':
foo.cc:4:9: warning: unused variable 'sum' [-Wunused-variable]
    4 |     int sum=0;
      |         ^~~
foo.cc:14:1: warning: no return statement in function returning non-void [-Wreturn-type]
   14 | }
      | ^
foo.cc: In function 'int main()':
foo.cc:19:10: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
   19 |     scanf("%d",&n);
      |     ~~~~~^~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1098ms ≥256.0 KiB
#2 Time Exceeded ≥1099ms ≥256.0 KiB
#3 Time Exceeded ≥1100ms ≥256.0 KiB
#4 Time Exceeded ≥1099ms ≥256.0 KiB
#5 Time Exceeded ≥1100ms ≥256.0 KiB
#6 Time Exceeded ≥1101ms ≥256.0 KiB
#7 Time Exceeded ≥1100ms ≥256.0 KiB

信息

递交者
类型
递交
题目
P1302 连续自然数和
语言
C++
递交时间
2022-03-18 19:43:26
评测时间
2022-03-18 19:43:26
评测机
分数
0
总耗时
≥7699ms
峰值内存
≥256.0 KiB