Submission
Status:
PPPPPPPPPP
Subtask/Task Score:
100/100
Score: 100
User: kakcode
Problemset: ลูกเต๋า (2566)
Language: cpp
Time: 0.002 second
Submitted On: 2025-11-12 21:16:26
/*
TASK: c1_bkk66_3
LANG: C++
AUTHOR: ICE
*/
#include <bits/stdc++.h>
using ll = long long;
#define forr(i, a, n) for (int i = a; i < n; i++)
const ll inf = 10e9;
#define int ll
using namespace std;
using pii = pair<int,int>;
signed main() {
ios::sync_with_stdio(false);
cin.tie(nullptr);
string num;
cin >> num;
string dice[7][3] = {{" "," ","___"},{" "," * "," "},{" * "," "," * "},{"* "," * "," *"},{"* *"," ","* *"},{"* *"," * ","* *"},{"* *","* *","* *"}};
for(int i=0;i<3;i++){
for(int j=0;j<3;j++){
int tmp = num[j] - '0';
if(tmp > 6)tmp = 0;
cout << dice[tmp][i] << ' ';
}
if(i<num.size()-1) cout<<" ";
cout << '\n';
}
return 0;
}