QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#225927 | #3131. Tapioka | Abtahi# | AC ✓ | 0ms | 3876kb | C++20 | 1.1kb | 2023-10-25 12:11:44 | 2023-10-25 12:11:45 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
typedef long long int ll;
typedef pair<int,int> pii;
typedef vector<int> vii;
typedef vector<ll> vll;
typedef vector<pii> vpii;
typedef unordered_map<int,int> umap;
typedef long double ld;
#define fi first
#define se second
#define pb push_back
#define mp make_pair
#define popcount __builtin_popcount
#define case cout<<"Case "<<__testcase-testcase<<": ";
#define endl '\n'
int main(){
ios_base::sync_with_stdio(false);
cin.tie(NULL);
cout.tie(NULL);
int testcase=1;
//cin>>testcase;
int __testcase=testcase;
while(testcase--){
string s[3];
cin>>s[0]>>s[1]>>s[2];
bool ind=0;
if(s[0]!="bubble"&&s[0]!="tapioka")
{
ind=1;
cout<<s[0]<<" ";
}
if(s[1]!="bubble"&&s[1]!="tapioka")
{
ind=1;
cout<<s[1]<<" ";
}
if(s[2]!="bubble"&&s[2]!="tapioka")
{
ind=1;
cout<<s[2]<<" ";
}
if(!ind)
cout<<"nothing";
cout<<endl;
}
}
詳細信息
Test #1:
score: 100
Accepted
time: 0ms
memory: 3840kb
input:
bubble tea tapioka
output:
tea
result:
ok single line: 'tea '
Test #2:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
tapioka bubble tea
output:
tea
result:
ok single line: 'tea '
Test #3:
score: 0
Accepted
time: 0ms
memory: 3580kb
input:
tapioka tapioka tapioka
output:
nothing
result:
ok single line: 'nothing'
Test #4:
score: 0
Accepted
time: 0ms
memory: 3804kb
input:
bubble tea tapiokas
output:
tea tapiokas
result:
ok single line: 'tea tapiokas '
Test #5:
score: 0
Accepted
time: 0ms
memory: 3608kb
input:
bubble tea muffin
output:
tea muffin
result:
ok single line: 'tea muffin '
Test #6:
score: 0
Accepted
time: 0ms
memory: 3800kb
input:
tapioka bubbles bubbles
output:
bubbles bubbles
result:
ok single line: 'bubbles bubbles '
Test #7:
score: 0
Accepted
time: 0ms
memory: 3672kb
input:
tapioka lduugennulniskkkpiavdwdljmggqnqm rsdweqtfgicplfyeelpevuyzwygebnyc
output:
lduugennulniskkkpiavdwdljmggqnqm rsdweqtfgicplfyeelpevuyzwygebnyc
result:
ok single line: 'lduugennulniskkkpiavdwdljmggqn...dweqtfgicplfyeelpevuyzwygebnyc '
Test #8:
score: 0
Accepted
time: 0ms
memory: 3616kb
input:
bubble tea eecjddjcopozwdubqbbysdelmpcjcppq
output:
tea eecjddjcopozwdubqbbysdelmpcjcppq
result:
ok single line: 'tea eecjddjcopozwdubqbbysdelmpcjcppq '
Test #9:
score: 0
Accepted
time: 0ms
memory: 3632kb
input:
tapioka tpmnywgdbfeyncocqkayjkvzhrkaqnrl tapioka
output:
tpmnywgdbfeyncocqkayjkvzhrkaqnrl
result:
ok single line: 'tpmnywgdbfeyncocqkayjkvzhrkaqnrl '
Test #10:
score: 0
Accepted
time: 0ms
memory: 3640kb
input:
tapioka tapiokabubble bubbletea
output:
tapiokabubble bubbletea
result:
ok single line: 'tapiokabubble bubbletea '
Test #11:
score: 0
Accepted
time: 0ms
memory: 3576kb
input:
tapioka pikataro tarokipa
output:
pikataro tarokipa
result:
ok single line: 'pikataro tarokipa '
Test #12:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
bubble tea tea
output:
tea tea
result:
ok single line: 'tea tea '
Test #13:
score: 0
Accepted
time: 0ms
memory: 3652kb
input:
tapioka bubble tapioka
output:
nothing
result:
ok single line: 'nothing'
Test #14:
score: 0
Accepted
time: 0ms
memory: 3876kb
input:
tapioka thisisnotbubble thisisalsonottapioka
output:
thisisnotbubble thisisalsonottapioka
result:
ok single line: 'thisisnotbubble thisisalsonottapioka '
Test #15:
score: 0
Accepted
time: 0ms
memory: 3636kb
input:
tapioka bubbletapioka tapiokabubble
output:
bubbletapioka tapiokabubble
result:
ok single line: 'bubbletapioka tapiokabubble '