记录详情

Accepted

/in/foo.c: In function 'main':
/in/foo.c:11:27: warning: array subscript has type 'char' [-Wchar-subscripts]
  for(int i=0;i<ls;i++) vis[s[i]]++;
                           ^
/in/foo.c:12:27: warning: array subscript has type 'char' [-Wchar-subscripts]
  for(int i=0;i<lt;i++) vis[t[i]]=0;
                           ^
/in/foo.c:13:30: warning: array subscript has type 'char' [-Wchar-subscripts]
  for(int i=0;i<ls;i++) if(vis[s[i]]) putchar(s[i]);
                              ^
# 状态 耗时 内存占用
#1 Accepted 1ms 196.0 KiB
#2 Accepted 0ms 208.0 KiB
#3 Accepted 0ms 212.0 KiB
#4 Accepted 0ms 200.0 KiB
#5 Accepted 0ms 208.0 KiB
#6 Accepted 0ms 204.0 KiB
#7 Accepted 0ms 208.0 KiB
#8 Accepted 0ms 204.0 KiB
#9 Accepted 0ms 208.0 KiB
#10 Accepted 0ms 208.0 KiB
#11 Accepted 0ms 208.0 KiB
#12 Accepted 0ms 200.0 KiB
#13 Accepted 0ms 208.0 KiB
#14 Accepted 0ms 208.0 KiB
#15 Accepted 0ms 212.0 KiB
#16 Accepted 0ms 204.0 KiB
#17 Accepted 0ms 204.0 KiB
#18 Accepted 0ms 204.0 KiB
#19 Accepted 0ms 212.0 KiB
#20 Accepted 0ms 200.0 KiB

信息

递交者
类型
递交
题目
P1010 【课堂测试】字符串的减法
语言
C
递交时间
2019-12-15 13:10:02
评测时间
2019-12-15 13:10:02
评测机
分数
100
总耗时
15ms
峰值内存
212.0 KiB