记录详情

Memory Exceeded

foo.c: In function 'main':
foo.c:11:15: warning: variable 'len' set but not used [-Wunused-but-set-variable]
  int n, k, i, len, max;
               ^~~
foo.c:18:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    scanf("%d",&a[i]);
    ^~~~~~~~~~~~~~~~~
foo.c:20:3: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   scanf("%d",&k);
   ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Standard answer longer than user output. 0ms 256.0 KiB
#2 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#3 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#4 Wrong Answer Standard answer longer than user output. 1ms 256.0 KiB
#5 Memory Exceeded ≥88ms ≥16.016 MiB

信息

递交者
类型
递交
题目
A10-3 数组的去重
比赛
2021(四) 作业第二场:见面赛
语言
C
递交时间
2021-10-31 11:55:57
评测时间
2021-10-31 11:55:57
评测机
分数
0
总耗时
≥92ms
峰值内存
≥16.016 MiB