记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:8:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    8 |  scanf("%d%d", &num_a,&num_t);
      |  ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
foo.c:10:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   10 |   scanf("%d", &h_a[i]);
      |   ^~~~~~~~~~~~~~~~~~~~
foo.c:12:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   12 |   scanf("%d", &h_t[i]);
      |   ^~~~~~~~~~~~~~~~~~~~
foo.c:6:2: warning: 'num_a' is used uninitialized in this function [-Wuninitialized]
    6 |  int h_a[num_a],h_t[num_t+1];
      |  ^~~
foo.c:6:26: warning: 'num_t' is used uninitialized in this function [-Wuninitialized]
    6 |  int h_a[num_a],h_t[num_t+1];
      |                     ~~~~~^~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1063ms ≥256.016 MiB

信息

递交者
类型
自测
题目
P1017 苹果摘陶陶
语言
C
递交时间
2022-01-19 12:50:05
评测时间
2022-01-19 12:50:05
评测机
分数
0
总耗时
≥1063ms
峰值内存
≥256.016 MiB