1、这题比较简单,考虑字符的ascall码来做这题,可以用数组来存字符个数,具体看代码
#include<iostream>
#include<math.h>
#include<string.h>
using namespace std;
int pd(int n)
{
if(n==1 || n==0)
return 0;
for
1、这题比较简单,考虑字符的ascall码来做这题,可以用数组来存字符个数,具体看代码
#include<iostream>
#include<math.h>
#include<string.h>
using namespace std;
int pd(int n)
{
if(n==1 || n==0)
return 0;
for