摘要:
#include<stdio.h> #include <cstdio> #include <iostream>#include <cstring>#include <algorithm>#include <math.h>#include <sstream>//stringstream头文件using 阅读全文
摘要:
GG 大概做了10天了 怎么写都是错 唉 以后再看吧 还有1046 1051 简直了QAQ 附1066的代码 #include <stdio.h>int main(){ int a[100]; int i,j,n,m,sum,tmp; scanf("%d",&n ); m = 0; while(sc 阅读全文
摘要:
#include <stdio.h>int main(){ unsigned long long a,b,c,a1,b1; int i,n; while(scanf("%d",&n )!=EOF) { if(n==1||n==2) { printf("%d\n",n); } else if(n == 阅读全文
摘要:
恢复内容开始 #include <stdio.h>int palouti(int x);int main(){ int a; int b=0; while(scanf("%d",&a )!=EOF) { b = palouti(a); printf("%d\n",b); } return 0;}in 阅读全文
摘要:
#include <stdio.h>int feibo(int a);int main(){ int n,m; scanf("%d",&n ); m = feibo(n); printf("%d\n",m); getchar(); getchar(); getchar(); return 0;}in 阅读全文
摘要:
#include <stdio.h>int digui(int a);int main(){ int n,m; scanf("%d",&n ); m = digui(n); printf("%d\n",m); getchar(); getchar(); return 0;}int digui(int 阅读全文
摘要:
#include<stdio.h>int main(){int m,n;int a[20];int i,j,tmp;while(scanf("%d%d",&n,&m)!=EOF&&(m!=0&&n!=0)){ for(i=0;i<n;i++) { scanf("%d",&a[i]); } for(i 阅读全文