QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#773816#9578. 爱上字典laonongmin#RE 328ms62464kbPython3233b2024-11-23 10:26:362024-11-23 10:26:42

Judging History

你现在查看的是最新测评结果

  • [2024-11-23 10:26:42]
  • 评测
  • 测评结果:RE
  • 用时:328ms
  • 内存:62464kb
  • [2024-11-23 10:26:36]
  • 提交

answer

s = input().lower().split()
s = [ss.strip('.!?, ') for ss in s]

# print(s)
n = int(input())
lst = input().lower().split()
s = list(set(s))
lst = list(set(lst))
ans = 0
for ss in s:
    ans += (lst.count(ss)==0)
print(ans)

详细

Test #1:

score: 100
Accepted
time: 11ms
memory: 10628kb

input:

I love Liaoning. Love Dalian!
1
love

output:

3

result:

ok single line: '3'

Test #2:

score: 0
Accepted
time: 15ms
memory: 10624kb

input:

Sulfox Loves Furry! Fur fur Furred.
2
anthropomorphic furry

output:

4

result:

ok single line: '4'

Test #3:

score: 0
Accepted
time: 9ms
memory: 10752kb

input:

Ginkgo leaves dance lightly and fall, reflecting the autumn light on the golden ground. Time is as peaceful as when we first met.
5
ginkgo reflect is as we

output:

17

result:

ok single line: '17'

Test #4:

score: 0
Accepted
time: 323ms
memory: 62436kb

input:

Eunuchism overterrible furbelow gantlet. Sophism thyroiditis thermoelectricity hassel misreward Barolong biradiated? Sweetie fatal delinquence unseemlily beamish inwork, azyme kamias Hans asteatosis synderesis champleve cheth? Dinitrile podial presentee! Waxmaker scleroscope ratably hectography lamp...

output:

201961

result:

ok single line: '201961'

Test #5:

score: 0
Accepted
time: 328ms
memory: 61744kb

input:

Unsubsidiary unsacrificeable hacking colberter pseudoappendicitis rufescence tumbak? Hypocrize aithochroi. Spina machar proximation? Chaperone vermicide virescent Klan preplacental unabsolvedness Sarcosporida noveletter waspishness sponge trustle bistetrazole prepositure melamed, cinephone. Physopho...

output:

201951

result:

ok single line: '201951'

Test #6:

score: 0
Accepted
time: 314ms
memory: 62464kb

input:

Baikerite discontentful semicitizen Acoemetic veracity pretechnical bloodweed cytogenetic icebound disrelishable leader meltedness heroship sciniph gunsel fatalistically unreasoned anticatarrhal? Unmentioned! Overaddiction broomy misapplication hecte inflammable disheart dicaryon blacktail prisonabl...

output:

201759

result:

ok single line: '201759'

Test #7:

score: -100
Dangerous Syscalls

input:

Dizoic filtering damenization bistipuled Opisthothelae multiangular blaff mortally. Perfusive alkaptonuria possessorial coinstantaneousness Stanhopea Nascan. Ankylostoma aumil oxygenicity cubhood abandonee fishman poppy pickpole synkinesis arteriosclerosis coloproctitis prematrimonial pseudoviaduct ...

output:


result: