摘要:
#include int main(){ int m,n; int a,b,r; while(scanf("%d%d",&m,&n)!=EOF) { if(mn)?m:n; b=(m<=n)?m:n; r=a%b; wh... 阅读全文
摘要:
#include #include #include int main(){ char str[201],ch; int len,i; while(gets(str)!=NULL) { len=strlen(str); for(i=0;i<len/... 阅读全文
摘要:
#include #include #include int main(){ char str[201],ch; int i,j,k,len; while(gets(str)!=NULL) { len=strlen(str); for(i=0;i<... 阅读全文
摘要:
#include int main(){ int n,i; int a[20]; while(scanf("%d",&n)!=EOF) { int j=0,k=0,t; if(n20) continue; sca... 阅读全文
摘要:
#include int main(){ int n,i; int a[200]; while(scanf("%d",&n)!=EOF) { int m; if(n200) continue; for(i=0;i... 阅读全文
摘要:
#include #include typedef struct LNode{ char data; struct LNode *next;}LNode,*Linklist;int flag=0;void menu(){ printf("\t链表的基本操作实验\t\t\n"); ... 阅读全文
摘要:
#include #include #define M 100int flag=0;typedef struct Seqlist{ int elem[M]; int length;}Seqlist;void menu(){ printf("\t顺序表的基本操作实验\t\t\n");... 阅读全文
摘要:
#include #include #include int main(){ char s[1000]; while(scanf("%s",s)!=EOF) { if(!strstr(s,"z")||!strstr(s,"j")||!strstr(s,"o")) ... 阅读全文
摘要:
#include int main(){ int a,n; while(scanf("%d%d",&a,&n)!=EOF) { if(a9||n>100||n99-n;j--) { x=(a*(n-100+j))%10; ... 阅读全文