#p32. 数字分解统计
数字分解统计
Description
输入一个正整数 n,统计并输出它的每一位数字中奇数和偶数的个数。
Format
Input
One integer n, satisfying
Output
Two integers;
Samples
1468
1
3
Limitation
相关
在下列比赛中:
输入一个正整数 n,统计并输出它的每一位数字中奇数和偶数的个数。
One integer n, satisfying 1≤n≤108
Two integers;
1468
1
3
1≤n≤108