算法入门经典p52
include//调用下面strlen()函数字符长短
include
define a 1010//全局常量
using namespace std;
int les(char *s,int p,int q)//char *s个人理解当做一个一位数组,首地址啥的。
{
int n=strlen(s);
for(int i=0;i
算法入门经典p52
using namespace std;
int les(char *s,int p,int q)//char *s个人理解当做一个一位数组,首地址啥的。
{
int n=strlen(s);
for(int i=0;i