记录详情

Wrong Answer

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

信息

递交者
类型
自测
语言
C
递交时间
2021-12-23 22:50:09
评测时间
2021-12-23 22:50:09
评测机
分数
0
总耗时
1ms
峰值内存
256.0 KiB