Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: Newton4566
Problemset: ลูกเต๋า
Language: cpp
Time: 0.004 second
Submitted On: 2026-10-10 15:56:16
#include <bits/stdc++.h>
using namespace std;
int main() {
const string dice[3][6] = {
{" ", " * ", "* ", "* *", "* *", "* *"},
{" * ", " ", " * ", " ", " * ", "* *"},
{" ", " * ", " *", "* *", "* *", "* *"}
};
string n;
cin >> n;
for (int i = 0; i < 3; ++i) {
for (int k = 0; k < n.size(); k++)
cout << dice[i][n[k]];
cout << '\n';
}
return 0;
}