Submission
Status:
PPPPP--PPP
Subtask/Task Score:
80/100
Score: 80
User: Peerawat
Problemset: ลูกเต๋า
Language: cpp
Time: 0.005 second
Submitted On: 2026-10-13 16:28:25
#include <bits/stdc++.h>
using namespace std;
int main(){
string first[7] = {""," "," "," * ","* *","* *","* *"};
string second[7]= {""," * ","* *"," * "," "," * ","* *"};
string third[7] = {""," "," "," * ","* *","* *","* *"};
string s;
cin >> s;
int a = s[0] - '0';
int b = s[1] - '0';
int c = s[2] - '0';
cout << first[a];
cout << "|";
cout << first[b];
cout << "|";
cout << first[c];
cout << "\n";
cout << second[a];
cout << "|";
cout << second[b];
cout << "|";
cout << second[c];
cout << "\n";
cout << third[a];
cout << "|";
cout << third[b];
cout << "|";
cout << third[c];
}