Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: .n0t_gloomy.
Problemset: ลูกเต๋า (2566)
Language: cpp
Time: 0.003 second
Submitted On: 2025-09-29 21:44:33
#include <bits/stdc++.h>
using namespace std;
int main()
{
vector<string> top = {" "," "," * ","* ","* *","* *","* *"};
vector<string> mid ={" "," * "," "," * "," "," * ","* *"};
vector<string> bot ={"___"," "," * "," *","* *","* *","* *"};
char a,b,c;
cin>>a>>b>>c;
if (a > 6) a = 0;
if (b > 6) b = 0;
if (c > 6) c = 0;
cout<<top[a]<<" "<<top[b]<<" "<<top[c]<<"\n";
cout<<mid[a]<<" "<<mid[b]<<" "<<mid[c]<<"\n";
cout<<bot[a]<<" "<<bot[b]<<" "<<bot[c]<<"\n";
return 0;
}