记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:20:11: warning: passing argument 1 of 'putchar' makes integer from pointer without a cast [-Wint-conversion]
   20 |   putchar("\n");
      |           ^~~~
      |           |
      |           char *
In file included from /usr/include/stdio.h:864,
                 from foo.c:1:
/usr/include/x86_64-linux-gnu/bits/stdio.h:82:14: note: expected 'int' but argument is of type 'char *'
   82 | putchar (int __c)
      |          ~~~~^~~
foo.c:6:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    6 |  scanf("%d",&M);
      |  ^~~~~~~~~~~~~~
foo.c:9:5: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
    9 |     scanf("%d",&n);
      |     ^~~~~~~~~~~~~~
foo.c:12:4: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   12 |    scanf("%d",&a[j]);
      |    ^~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer User output longer than standard answer. 2ms 256.0 KiB

信息

递交者
类型
自测
题目
A10-3 数组的去重
语言
C
递交时间
2021-12-23 23:18:17
评测时间
2021-12-23 23:18:17
评测机
分数
0
总耗时
2ms
峰值内存
256.0 KiB