QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#773554 | #9578. 爱上字典 | laonongmin# | RE | 8ms | 10664kb | Python3 | 288b | 2024-11-23 09:20:53 | 2024-11-23 09:20:54 |
Judging History
answer
s = input().lower().split()
s = [ss.strip('.').strip('!').strip(',').strip('?').strip() for ss in s]
# print(s)
n = int(input())
lst = []
for i in range(n):
lst.append(input().lower().strip())
# print(tmp)
ans = 0
for ss in s:
ans += (lst.count(ss)==0)
print(ans)
详细
Test #1:
score: 100
Accepted
time: 8ms
memory: 10664kb
input:
I love Liaoning. Love Dalian! 1 love
output:
3
result:
ok single line: '3'
Test #2:
score: -100
Dangerous Syscalls
input:
Sulfox Loves Furry! Fur fur Furred. 2 anthropomorphic furry