1 solutions
-
0
C++ :
#include <bits/stdc++.h> using namespace std; int main(){ string a; cin>>a; string arr[4][5]={{"..... ",".***.",".***.",".***.","..... "}, {"****.","****.","****.","****.","****."}, {".....","****.",".....",".****","....."}, {".....","****.",".....","****.","....."}}; for(int i=0;i<5;++i){ for(int j=0;j<a.size();j++){ cout<<arr[a[j]-'0'][i]; }cout<<endl; } }
- 1
Information
- ID
- 54
- Time
- 1000ms
- Memory
- 128MiB
- Difficulty
- (None)
- Tags
- # Submissions
- 0
- Accepted
- 0
- Uploaded By