wjyhhh @ 2022-10-07 12:25:14
#include <bits/stdc++.h>
using namespace std;
int n,i,j,t;
string v,c[10][5]={"XXX","X.X","X.X","X.X","XXX","..X","..X","..X","..X","..X","XXX","..X","XXX","X..","XXX","XXX","..X","XXX","..X","XXX","X.X","X.X","XXX","..X","..X","XXX","X..","XXX","..X","XXX","XXX","X..","XXX","X.X","XXX","XXX","..X","..X","..X","..X","XXX","X.X","XXX","X.X","XXX","XXX","X.X","XXX","..X","XXX"};
int main(){
cin>>n;
cin>>v;
for(i=0;i<=4;i++){
for(j=0;j<=n-1;j++){
t=v[j]-48;
cout<<c[t][i];
}
cout<<endl;
}
return 0;
}
by jnyz2021109122116 @ 2022-10-07 13:26:50
@wjyhhh 数字之间要加.