摘要:
void jinzhiConvert()//p进制转换为R进制{ int p,r,len,i,k,d,temp; char s[10],mod[10]; while(~scanf("%d %d %s",&p,&r,&s)) { len=strlen(s); k=1... 阅读全文
摘要:
void fibonacci()//fibonacci序列{ int n; while(scanf("%d",&n)) { if(n0;j--) { if(temp==b[j-1]) {flag=0;break;} if(temp>b[j-1... 阅读全文
摘要:
#include #include void convert(){ char strb[200]; int i; while(1) { gets(strb); if(strcmp(strb,"endofinput")==0) return; gets(strb)... 阅读全文