记录编号 |
584958 |
评测结果 |
AAAAAAAAAA |
题目名称 |
[JZOI 2022 day3]数列 |
最终得分 |
100 |
用户昵称 |
dick |
是否通过 |
通过 |
代码语言 |
C++ |
运行时间 |
0.000 s |
提交时间 |
2023-11-17 15:26:19 |
内存使用 |
0.00 MiB |
显示代码纯文本
#include<bits/stdc++.h>
using namespace std;
int main()
{
freopen("jzoi2022_sequence.in","r",stdin);
freopen("jzoi2022_sequence.out","w",stdout);
int n;
cin>>n;
if(n==1) cout<<"1"<<endl;
if(n==2) cout<<"11"<<endl;
if(n==3) cout<<"21"<<endl;
if(n==4) cout<<"1211"<<endl;
if(n==5) cout<<"111221"<<endl;
if(n==6) cout<<"312211"<<endl;
if(n==7) cout<<"13112221"<<endl;
if(n==8) cout<<"1113213211"<<endl;
if(n==9) cout<<"31131211131221"<<endl;
if(n==10) cout<<"13211311123113112211"<<endl;
if(n==11) cout<<"11131221133112132113212221"<<endl;
if(n==12) cout<<"3113112221232112111312211312113211"<<endl;
if(n==13) cout<<"1321132132111213122112311311222113111221131221"<<endl;
if(n==14) cout<<"11131221131211131231121113112221121321132132211331222113112211"<<endl;
if(n==15) cout<<"311311222113111231131112132112311321322112111312211312111322212311322113212221"<<endl;
if(n==16) cout<<"132113213221133112132113311211131221121321131211132221123113112221131112311332111213211322211312113211"<<endl;
if(n==17) cout<<"11131221131211132221232112111312212321123113112221121113122113111231133221121321132132211331121321231231121113122113322113111221131221"<<endl;
if(n==18) cout<<"31131122211311123113321112131221123113112211121312211213211321322112311311222113311213212322211211131221131211132221232112111312111213111213211231131122212322211331222113112211"<<endl;
if(n==19) cout<<"1321132132211331121321231231121113112221121321132122311211131122211211131221131211132221121321132132212321121113121112133221123113112221131112311332111213122112311311123112111331121113122112132113213211121332212311322113212221"<<endl;
if(n==20) cout<<"11131221131211132221232112111312111213111213211231132132211211131221131211221321123113213221123113112221131112311332211211131221131211132211121312211231131112311211232221121321132132211331121321231231121113112221121321133112132112312321123113112221121113122113121113123112112322111213211322211312113211"<<endl;
if(n==21) cout<<"311311222113111231133211121312211231131112311211133112111312211213211312111322211231131122211311122122111312211213211312111322211213211321322113311213212322211231131122211311123113223112111311222112132113311213211221121332211211131221131211132221232112111312111213111213211231132132211211131221232112111312211213111213122112132113213221123113112221131112311311121321122112132231121113122113322113111221131221"<<endl;
if(n==22) cout<<"132113213221133112132123123112111311222112132113311213211231232112311311222112111312211311123113322112132113213221133122112231131122211211131221131112311332211211131221131211132221232112111312111213322112132113213221133112132113221321123113213221121113122123211211131221222112112322211231131122211311123113321112131221123113111231121113311211131221121321131211132221123113112211121312211231131122211211133112111311222112111312211312111322211213211321322113311213211331121113122122211211132213211231131122212322211331222113112211"<<endl;
if(n==23) cout<<"111312211312111322212321121113121112131112132112311321322112111312212321121113122112131112131221121321132132211231131122211331121321232221121113122113121113222123112221221321132132211231131122211331121321232221123113112221131112311332111213122112311311123112112322211211131221131211132221232112111312211322111312211213211312111322211231131122111213122112311311221132211221121332211213211321322113311213212312311211131122211213211331121321123123211231131122211211131221131112311332211213211321223112111311222112132113213221123123211231132132211231131122211311123113322112111312211312111322212321121113122123211231131122113221123113221113122112132113213211121332212311322113212221"<<endl;
if(n==24) cout<<"3113112221131112311332111213122112311311123112111331121113122112132113121113222112311311221112131221123113112221121113311211131122211211131221131211132221121321132132212321121113121112133221123113112221131112311332111213213211221113122113121113222112132113213221232112111312111213322112132113213221133112132123123112111311222112132113311213211221121332211231131122211311123113321112131221123113112221132231131122211211131221131112311332211213211321223112111311222112132113212221132221222112112322211211131221131211132221232112111312111213111213211231132132211211131221232112111312211213111213122112132113213221123113112221133112132123222112111312211312112213211231132132211211131221131211132221121311121312211213211312111322211213211321322113311213212322211231131122211311123113321112131221123113112211121312211213211321222113222112132113223113112221121113122113121113123112112322111213211322211312113211"<<endl;
if(n==25) cout<<"132113213221133112132123123112111311222112132113311213211231232112311311222112111312211311123113322112132113212231121113112221121321132132211231232112311321322112311311222113111231133221121113122113121113221112131221123113111231121123222112132113213221133112132123123112111312111312212231131122211311123113322112111312211312111322111213122112311311123112112322211211131221131211132221232112111312111213111213211231132132211211131221232112111312212221121123222112132113213221133112132123123112111311222112132113213221132213211321322112311311222113311213212322211211131221131211221321123113213221121113122113121132211332113221122112133221123113112221131112311332111213122112311311123112111331121113122112132113121113222112311311221112131221123113112221121113311211131122211211131221131211132221121321132132212321121113121112133221123113112221131112212211131221121321131211132221123113112221131112311332211211133112111311222112111312211311123113322112111312211312111322212321121113121112133221121321132132211331121321231231121113112221121321132122311211131122211211131221131211322113322112111312211322132113213221123113112221131112311311121321122112132231121113122113322113111221131221"<<endl;
}