2683 - 数字

通过次数

0

提交次数

0

时间限制 : 1 秒 内存限制 : 128 MB

编程: 读入一个两位数,输出十位上和个位上的数字。

题目输入

题目输出

输入/输出样例

输入格式

45

输出格式

4 5

C++解答

#include<bits/stdc++.h>
using namespace std;
string a;
int main()
{
	cin>>a;
	for(int i=0;i<a.size();i++)
		cout<<a[i]<<" ";
	return 0;
}