摘要:
#include int Search(char *str,char *sum){ int l1=strlen(str); int l2=strlen(sum); if(l1-l2<0) return -1; else { int i,j; for(i=0;i<l1;i++) { ... 阅读全文
摘要:
#include char *change(char *str){ int length=strlen(str); int i; char flag; for(i=0;i<length/2;i++) { flag=str[length-1-i]; str[length-1-i]=str[i]; ... 阅读全文
摘要:
#include "stdio.h"void Search(int p[],int low,int height,int key){ int middle=(low+height)/2; if(low>height) { printf("没有该数!"); return; } if(p[middl... 阅读全文