QOJ.ac
QOJ
ID | 题目 | 提交者 | 结果 | 用时 | 内存 | 语言 | 文件大小 | 提交时间 | 测评时间 |
---|---|---|---|---|---|---|---|---|---|
#185868 | #5671. Programmable Virus | qzez | WA | 0ms | 3792kb | C++14 | 2.4kb | 2023-09-22 18:08:22 | 2023-09-22 18:08:23 |
Judging History
answer
#include<bits/stdc++.h>
using namespace std;
using ll=long long;
template<typename T>
ostream& operator << (ostream &out,const vector<T>&x){
if(x.empty())return out<<"[]";
out<<'['<<x[0];
for(int len=x.size(),i=1;i<len;i++)out<<','<<x[i];
return out<<']';
}
template<typename T>
vector<T> ary(const T *a,int l,int r){
return vector<T>{a+l,a+1+r};
}
template<typename T>
void debug(T x){
cerr<<x<<'\n';
}
template<typename T,typename ...S>
void debug(T x,S ...y){
cerr<<x<<' ',debug(y...);
}
string cmds[10] =
{ "CCC", "ACG", "UGA", "UGC", "UAC"
, "GCG", "UCC", "AGG", "UGU", "CAC"
};
int k;
int main(){
// freopen(".in","r",stdin);
cin>>k;
if(k==1){
return cout<<"UCCAGGUACUGUUGCGCGCCC"<<endl,0;
}
if(k==2){
return cout<<"UGCAGGUACACGAGGUACUGUUGAAGGUACAC\
GUGCUGAUGUUCCUGCUGUACGUGCAGGUACU\
GAUGCACGAGGUACUGAUACACGAGGUACUGA\
UGCACGAGGUACUGAUACACGAGGUACUGAUG\
CACGAGGUACUGAUACACGAGGUACUGAUGCA\
CGAGGUACUGAUACACGAGGUACUGAUGCACG\
AGGUACUGAUACACGUGUUGUUGUUGUUGUUG\
UUGUUGUUGUUGUUGAGCGCCC"<<endl,0;
}
if(k==3){
return cout<<"UGCAGGACGACGUCCAGGUACACGUGCACGUG\
CUGAUGAUGUACGACGACGUGCUGAUGCAGGU\
ACACGAGGUACUGUUGAUGUACGAGGUGAUGA\
UGAUGCUGAAGGUACACGAGGUACUGUUGAUG\
UACGGCGCCCUGUUGAUGAAGGUACUGAUGCA\
CGAGGUACUGAUGCACGAGGUACUGAUACUAC\
ACGAGGUACUGAUGCACGAGGUACUGAUGCAC\
GAGGUACUGAUACUACACGAGGUACUGAUGCA\
CGAGGUACUGAUGCACGAGGUACUGAUACUAC\
ACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUG\
AAGGUACUGAUGCACGUGUUGAAGGUACACGU\
GCUGAAGGUACACGUGCUGAAGGUACACGUAC\
UACUGAAGGUACACGUGCUGAUGUUGUUGUUG\
UACGAGGUACUGAUGCACGUGUUGAUGAUGU"<<endl,0;
}
if(k==6){
return cout<<"UGCAGGACGACGUCCAGGUACACGUGCACGUG\
CUGAUGAUGUACGACGACGUGCUGAUGCAGGU\
ACACGAGGUACUGUUGAUGUACGAGGUGAUGA\
UGAUGAAGGAGGUACUGUGCGCCCUGUACGAC\
GACGACGACGACGUGCAGGUACUGAUGCACGA\
GGUACUGAUACACGAGGUACUGAUGCACGAGG\
UACUGAUACACGAGGUACUGAUGCACGAGGUA\
CUGAUACACGAGGUACUGAUGCACGAGGUACU\
GAUACACGAGGUACUGAUGCACGAGGUACUGA\
UACACGUGUUGUUGUUGUUGUUGUUGUUGUUG\
UUGUUGAGCGCCCUGUUGAACGACGAGGUACU\
GUACGAGGUACUGUUGAUGAUGAUGAAGGUAC\
ACGACGACGUGCACGUGCUGAUGAUGAUGAUG\
UACGACGACGAGGUACUGAUGAUGAUGCACGA\
CGACGUGUUGAUGAUGAAGGUACUGAUGCACG\
AGGUACUGAUGCACGAGGUACUGAUACUACAC\
GAGGUACUGAUGCACGAGGUACUGAUGCACGA\
GGUACUGAUACUACACGAGGUACUGAUGCACG\
AGGUACUGAUGCACGAGGUACUGAUACUACAC\
GUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAA\
GGUACUGAUGCACGUGUUGAAGGUACACGUGC\
UGAAGGUACACGUGCUGAAGGUACACGUACUA\
CUGAAGGUACACGUGCUGAUGUUGUUGUUGUA\
CGAGGUACUGAUGCACGUGUUGAUGAUGU"<<endl,0;
}
return 0;
}
详细
Test #1:
score: 100
Accepted
time: 0ms
memory: 3572kb
input:
1
output:
UCCAGGUACUGUUGCGCGCCC
result:
ok correct
Test #2:
score: 0
Accepted
time: 0ms
memory: 3532kb
input:
2
output:
UGCAGGUACACGAGGUACUGUUGAAGGUACACGUGCUGAUGUUCCUGCUGUACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAGCGCCC
result:
ok correct
Test #3:
score: 0
Accepted
time: 0ms
memory: 3508kb
input:
3
output:
UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGCUGAAGGUACACGAGGUACUGUUGAUGUACGGCGCCCUGUUGAUGAAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGUGUUGUUGU...
result:
ok correct
Test #4:
score: 0
Accepted
time: 0ms
memory: 3792kb
input:
6
output:
UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGAAGGAGGUACUGUGCGCCCUGUACGACGACGACGACGACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGU...
result:
ok correct
Test #5:
score: 0
Accepted
time: 0ms
memory: 3584kb
input:
1
output:
UCCAGGUACUGUUGCGCGCCC
result:
ok correct
Test #6:
score: 0
Accepted
time: 0ms
memory: 3588kb
input:
2
output:
UGCAGGUACACGAGGUACUGUUGAAGGUACACGUGCUGAUGUUCCUGCUGUACGUGCAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGAGGUACUGAUGCACGAGGUACUGAUACACGUGUUGUUGUUGUUGUUGUUGUUGUUGUUGUUGAGCGCCC
result:
ok correct
Test #7:
score: 0
Accepted
time: 0ms
memory: 3764kb
input:
3
output:
UGCAGGACGACGUCCAGGUACACGUGCACGUGCUGAUGAUGUACGACGACGUGCUGAUGCAGGUACACGAGGUACUGUUGAUGUACGAGGUGAUGAUGAUGCUGAAGGUACACGAGGUACUGUUGAUGUACGGCGCCCUGUUGAUGAAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGAGGUACUGAUGCACGAGGUACUGAUGCACGAGGUACUGAUACUACACGUGUUGUUGU...
result:
ok correct
Test #8:
score: -100
Wrong Answer
time: 0ms
memory: 3504kb
input:
4
output:
result:
wrong output format Unexpected end of file - token expected