记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:14:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10000]' [-Wformat=]
   14 |         scanf("%s", &s1);
      |                ~^   ~~~
      |                 |   |
      |                 |   char (*)[10000]
      |                 char *
foo.c:15:17: warning: format '%s' expects argument of type 'char *', but argument 2 has type 'char (*)[10000]' [-Wformat=]
   15 |         scanf("%s", &s2);
      |                ~^   ~~~
      |                 |   |
      |                 |   char (*)[10000]
      |                 char *
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Wrong Answer Read 4, expect 19. 2ms 256.0 KiB
#2 Wrong Answer Read 4, expect 38. 2ms 256.0 KiB
#3 Wrong Answer Read 4, expect 40. 1ms 256.0 KiB
#4 Wrong Answer Read 4, expect 80. 3ms 256.0 KiB
#5 Wrong Answer Read 4, expect 160. 2ms 256.0 KiB

信息

递交者
类型
递交
题目
A8-1 字符串的输出函数
语言
C
递交时间
2022-10-07 14:29:42
评测时间
2022-10-07 14:29:42
评测机
分数
0
总耗时
12ms
峰值内存
256.0 KiB