문제
URL : https://codeup.kr/problemsetsol.php?psid=23
소스코드
#include <iostream>
using namespace std;
int main()
{
int year, month, day;
scanf("%d. %d. %d", &year, &month, &day);
printf("%02d. %02d. %02d", year, month, day);
return 0;
}
URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
int year, month, day;
scanf("%d. %d. %d", &year, &month, &day);
printf("%02d. %02d. %02d", year, month, day);
return 0;
}