QOJ.ac

QOJ

ID题目提交者结果用时内存语言文件大小提交时间测评时间
#742118#3131. Tapiokavwxyz#AC ✓15ms10608kbPython3139b2024-11-13 15:55:152024-11-13 15:55:18

Judging History

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

  • [2024-11-13 15:55:18]
  • 评测
  • 测评结果:AC
  • 用时:15ms
  • 内存:10608kb
  • [2024-11-13 15:55:15]
  • 提交

answer

S=input().split()
ans_lst=[s for s in S if not s in ("bubble","tapioka")]
if not ans_lst:
    ans_lst.append("nothing")
print(*ans_lst)

详细

Test #1:

score: 100
Accepted
time: 9ms
memory: 10608kb

input:

bubble tea tapioka

output:

tea

result:

ok single line: 'tea'

Test #2:

score: 0
Accepted
time: 14ms
memory: 10476kb

input:

tapioka bubble tea

output:

tea

result:

ok single line: 'tea'

Test #3:

score: 0
Accepted
time: 10ms
memory: 10572kb

input:

tapioka tapioka tapioka

output:

nothing

result:

ok single line: 'nothing'

Test #4:

score: 0
Accepted
time: 14ms
memory: 10448kb

input:

bubble tea tapiokas

output:

tea tapiokas

result:

ok single line: 'tea tapiokas'

Test #5:

score: 0
Accepted
time: 5ms
memory: 10456kb

input:

bubble tea muffin

output:

tea muffin

result:

ok single line: 'tea muffin'

Test #6:

score: 0
Accepted
time: 14ms
memory: 10484kb

input:

tapioka bubbles bubbles

output:

bubbles bubbles

result:

ok single line: 'bubbles bubbles'

Test #7:

score: 0
Accepted
time: 4ms
memory: 10452kb

input:

tapioka lduugennulniskkkpiavdwdljmggqnqm rsdweqtfgicplfyeelpevuyzwygebnyc

output:

lduugennulniskkkpiavdwdljmggqnqm rsdweqtfgicplfyeelpevuyzwygebnyc

result:

ok single line: 'lduugennulniskkkpiavdwdljmggqn...sdweqtfgicplfyeelpevuyzwygebnyc'

Test #8:

score: 0
Accepted
time: 14ms
memory: 10504kb

input:

bubble tea eecjddjcopozwdubqbbysdelmpcjcppq

output:

tea eecjddjcopozwdubqbbysdelmpcjcppq

result:

ok single line: 'tea eecjddjcopozwdubqbbysdelmpcjcppq'

Test #9:

score: 0
Accepted
time: 8ms
memory: 10512kb

input:

tapioka tpmnywgdbfeyncocqkayjkvzhrkaqnrl tapioka

output:

tpmnywgdbfeyncocqkayjkvzhrkaqnrl

result:

ok single line: 'tpmnywgdbfeyncocqkayjkvzhrkaqnrl'

Test #10:

score: 0
Accepted
time: 14ms
memory: 10472kb

input:

tapioka tapiokabubble bubbletea

output:

tapiokabubble bubbletea

result:

ok single line: 'tapiokabubble bubbletea'

Test #11:

score: 0
Accepted
time: 14ms
memory: 10432kb

input:

tapioka pikataro tarokipa

output:

pikataro tarokipa

result:

ok single line: 'pikataro tarokipa'

Test #12:

score: 0
Accepted
time: 4ms
memory: 10580kb

input:

bubble tea tea

output:

tea tea

result:

ok single line: 'tea tea'

Test #13:

score: 0
Accepted
time: 14ms
memory: 10504kb

input:

tapioka bubble tapioka

output:

nothing

result:

ok single line: 'nothing'

Test #14:

score: 0
Accepted
time: 14ms
memory: 10580kb

input:

tapioka thisisnotbubble thisisalsonottapioka

output:

thisisnotbubble thisisalsonottapioka

result:

ok single line: 'thisisnotbubble thisisalsonottapioka'

Test #15:

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

input:

tapioka bubbletapioka tapiokabubble

output:

bubbletapioka tapiokabubble

result:

ok single line: 'bubbletapioka tapiokabubble'