URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
int n1, n2;
scanf("%d.%d", &n1, &n2);
printf("%d\n%d", n1, n2);
return 0;
}
URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
char c[2001];
cin.getline(c, strlen(c));
cout << c;
return 0;
}
URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
char c[51];
cin >> c;
cout << c;
return 0;
}
URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
int n1, n2;
scanf("%d-%d", &n1, &n2);
printf("%d%d", n1, n2);
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;
}
URL : https://codeup.kr/problemsetsol.php?psid=23
#include <iostream>
using namespace std;
int main()
{
int hour, minute;
scanf("%d:%d", &hour, &minute);
printf("%d:%d", hour, minute);
return 0;
}