Submission
Status:
----------
Subtask/Task Score:
0/100
Score: 0
User: purihorharin
Problemset: ลูกเต๋า (2566)
Language: c
Time: 0.002 second
Submitted On: 2026-03-20 18:35:17
#include <stdio.h>
char *(arr[3][10]) = {
{" ", " ", " * ", "* ", "* *", "* *", "* *", " ", " ", " "},
{" ", " * ", " ", " * ", " ", " * ", "* *", " ", " ", " "},
{"___", " ", " * ", " *", "* *", "* *", "* *", "___", "___", "___"}
};
int main () {
char buf[3];
fread(buf, 1, 3, stdin);
for (int i = 0; i < 3; i++) {
for (int j = 0; j < 3; j++) {
fwrite(arr[i][buf[j] - '0'], 1, 3, stdout);
}
putchar('\n');
}
}