QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#742118 | #3131. Tapioka | vwxyz# | AC ✓ | 15ms | 10608kb | Python3 | 139b | 2024-11-13 15:55:15 | 2024-11-13 15:55:18 |
Judging History
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'