记录详情

Wrong Answer

foo.c: In function 'main':
foo.c:17:11: warning: array subscript has type 'char' [-Wchar-subscripts]
   17 |  while((s1[i]=getchar())!='\n')
      |           ^
foo.c:19:4: warning: array subscript has type 'char' [-Wchar-subscripts]
   19 |  s1[i]='\0';
      |    ^
foo.c:20:11: warning: array subscript has type 'char' [-Wchar-subscripts]
   20 |  while((s2[j]=getchar())!='\n')
      |           ^
foo.c:22:4: warning: array subscript has type 'char' [-Wchar-subscripts]
   22 |  s2[j]='\0';
      |    ^
foo.c: In function 'Concat':
foo.c:13:1: warning: control reaches end of non-void function [-Wreturn-type]
   13 | }
      | ^
[Hydro](https://hydro.ac)提供评测服务
# 状态 耗时 内存占用
#1 Accepted 1ms 256.0 KiB
#2 Accepted 1ms 256.0 KiB
#3 Accepted 2ms 256.0 KiB
#4 Accepted 3ms 256.0 KiB
#5 Wrong Answer Standard answer longer than user output. 2ms 256.0 KiB

信息

递交者
类型
递交
比赛
中北 计算机2021级专业修读指导(4)
语言
C
递交时间
2021-12-23 22:52:53
评测时间
2021-12-23 22:52:53
评测机
分数
80
总耗时
11ms
峰值内存
256.0 KiB