Q

codeup 1025

codeup 1025번 문제

codeup 1025번 문제


C code

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#include <stdio.h>

int main()
{
int a,b,c,d,e;

scanf("%1d%1d%1d%1d%1d", &a, &b, &c, &d, &e);

printf("[%d]\n",a*10000);
printf("[%d]\n",b*1000);
printf("[%d]\n",c*100);
printf("[%d]\n",d*10);
printf("[%d]\n",e);
return 0;
}