记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:19:10: warning: format '%d' expects argument of type 'int *', but argument 2 has type 'char (*)[10000]' [-Wformat=]
   19 |  scanf("%d%d",&s1,&s2);
      |         ~^    ~~~
      |          |    |
      |          |    char (*)[10000]
      |          int *
foo.c:19:12: warning: format '%d' expects argument of type 'int *', but argument 3 has type 'char (*)[10000]' [-Wformat=]
   19 |  scanf("%d%d",&s1,&s2);
      |           ~^      ~~~
      |            |      |
      |            int *  char (*)[10000]
foo.c:19:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
   19 |  scanf("%d%d",&s1,&s2);
      |  ^~~~~~~~~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 14. 2ms 384.0 KiB

信息

递交者
类型
自测
语言
C
递交时间
2021-12-23 23:45:37
评测时间
2021-12-23 23:45:37
评测机
分数
0
总耗时
2ms
峰值内存
384.0 KiB