Wrong Answer

foo.c: In function 'main':
foo.c:41:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10001]' [-Wformat=]
  scanf("%s",&a);
         ~^  ~~
foo.c:42:10: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10001]' [-Wformat=]
  scanf("%s",&b);
         ~^  ~~
foo.c:41:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",&a);
  ^~~~~~~~~~~~~~
foo.c:42:2: warning: ignoring return value of 'scanf', declared with attribute warn_unused_result [-Wunused-result]
  scanf("%s",&b);
  ^~~~~~~~~~~~~~
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 0, expect 10. 0ms 256.0 KiB
#2 Wrong Answer Read 072, expect 72. 1ms 256.0 KiB
#3 Wrong Answer Read 1100, expect 200. 0ms 256.0 KiB
#4 Wrong Answer Read 01111111110, expect 1111111110. 0ms 256.0 KiB
#5 Wrong Answer Read 1010111111111111..., expect 1101111111111111.... 0ms 256.0 KiB

信息

递交者
类型
递交
语言
C
递交时间
2021-11-15 14:39:36
评测时间
2021-11-15 14:39:36
评测机
分数
0
总耗时
4ms
峰值内存
256.0 KiB