2018年3月17日
摘要: #include//写程序之前的行得通的算法最重要 #include int main() { int g(int n); int n,m; scanf("%d",&n); m=g(n); printf("%d",m); return 0; } int g(int n) { int b=n,i=0,c,m; while(n!... 阅读全文
posted @ 2018-03-17 16:08 Vidor 阅读(160) 评论(0) 推荐(0) 编辑
摘要: #include int main() { void time(int s,int f,int m,int n); int s,f,m,n; scanf("%d %d %d",&s,&f,&m); scanf("%d",&n); time(s,f,m,n); } void time(int s,int f,int m,int n) { m+=... 阅读全文
posted @ 2018-03-17 14:44 Vidor 阅读(242) 评论(0) 推荐(0) 编辑
摘要: #include #include int main() { void zf(char a[]); char a[20]; gets(a); zf(a); } void zf(char b[]) { int i,j; char t; for(i=0;ib[j+1]) { t=b[... 阅读全文
posted @ 2018-03-17 14:06 Vidor 阅读(6045) 评论(0) 推荐(0) 编辑