记录详情

Time Exceeded

foo.c: In function 'main':
foo.c:19:9: warning: suggest parentheses around assignment used as truth value [-Wparentheses]
   19 |  while (k = 1)
      |         ^
foo.c:4:9: warning: unused variable 'm' [-Wunused-variable]
    4 |  int n, m, a[10000];
      |         ^
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d", &n);
      |  ^~~~~~~~~~~~~~~
foo.c:9:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |   scanf("%d", &a[i]);
      |   ^~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Time Exceeded ≥1097ms ≥256.0 KiB
#2 Time Exceeded ≥1100ms ≥256.0 KiB
#3 Time Exceeded ≥1102ms ≥256.0 KiB
#4 Time Exceeded ≥1101ms ≥256.0 KiB
#5 Time Exceeded ≥1100ms ≥256.0 KiB

信息

递交者
类型
递交
题目
A10-3 数组的去重
比赛
中北 计算机2021级专业修读指导(4)
语言
C
递交时间
2021-12-24 00:25:28
评测时间
2021-12-24 00:25:29
评测机
分数
0
总耗时
≥5502ms
峰值内存
≥256.0 KiB