记录详情

Wrong Answer

/in/foo.c: In function 'main':
/in/foo.c:15:10: warning: array subscript has type 'char' [-Wchar-subscripts]
  while((s[i]=getchar())!='\n')
          ^
/in/foo.c:17:3: warning: array subscript has type 'char' [-Wchar-subscripts]
  s[i]='\0';
   ^
/in/foo.c:18:11: warning: array subscript has type 'char' [-Wchar-subscripts]
  while((st[j]=getchar())!='\n')
           ^
/in/foo.c:20:4: warning: array subscript has type 'char' [-Wchar-subscripts]
  st[j]='\0';
    ^
# 状态 耗时 内存占用
#1 Accepted 1ms 212.0 KiB
#2 Accepted 1ms 216.0 KiB
#3 Accepted 1ms 208.0 KiB
#4 Accepted 0ms 212.0 KiB
#5 Wrong Answer 0ms 212.0 KiB

信息

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