Submission

Status:

----xxx---

Subtask/Task Score:

0/100

Score: 0

User: Zailagend1

Problemset: ลูกเต๋า (2566)

Language: cpp

Time: 0.002 second

Submitted On: 2026-08-02 19:02:52

#include<bits/stdc++.h>
using namespace std;
unordered_map<char,vector<string>> dot = {
  {'1',{
    "   ",
    " * ",
    "   "
  }},

  {'2',{
    " * ",
    "   ",
    " * "
  }},

  {'3',{
    "*  ",
    " * ",
    "  *"
  }},

  {'4',{
    "* *",
    "   ",
    "* *"
  }},

  {'5',{
    "* *",
    " * ",
    "* *"
  }},

  {'6',{
    "* *",
    "* *",
    "* *"
  }},
};
int main(){
  string a;
  cin >> a;
  vector<vector<string>> b(3,vector<string>(3*(a.size())));
    int k = 0;
    for(int i = 0;i<3;i++){
      for(int z = 0;z<3;z++){
          cout << dot[a[k]][i];
          k++;
      }
        cout << '\n';
        k = 0;
    }
        
      
      
      
}