上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 30 下一页
摘要: 1 #include 2 int main() 3 { 4 int n; 5 scanf("%d",&n); 6 while(n--) 7 { 8 int m; 9 scanf("%d",&m); 10 int temp=0,ans=0; 11 for(int i=1; i<=m; ... 阅读全文
posted @ 2017-02-01 21:24 Posase 阅读(96) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int a[100]; 3 void q_sort(int*,int,int); 4 int main() 5 { 6 int t,n; 7 scanf("%d",&t); 8 while(t--) 9 { 10 scanf("%d",&n); 11 for(int i=0; iy) 34... 阅读全文
posted @ 2017-02-01 20:32 Posase 阅读(162) 评论(0) 推荐(0) 编辑
摘要: 1 #include<stdio.h> 2 int main() 3 { 4 int n; 5 scanf("%d",&n); 6 while(n--) 7 { 8 int a,b; 9 char s; 10 scanf("%x%c%x",&a,&s,&b); 11 if(s=='+') 12 pr 阅读全文
posted @ 2017-02-01 16:45 Posase 阅读(159) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int a[100]; 3 int main() 4 { 5 int n; 6 while(~scanf("%d",&n) && n) 7 { 8 int i,j; 9 for(i=j=0; i<n; ++i) 10 { 11 scanf("%d",&a[i... 阅读全文
posted @ 2017-02-01 16:12 Posase 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #define PI 3.1415926 3 int main() 4 { 5 double r; 6 while(~scanf("%lf",&r)) 7 printf("%.0lf\n",PI*4/3*r*r*r); 8 } 阅读全文
posted @ 2017-02-01 15:29 Posase 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 char s[1010]; 4 int a[26]; 5 int main() 6 { 7 int n,maxa; 8 scanf("%d",&n); 9 while(n--) 10 { 11 scanf("%s",s); 12 memset(a,0,sizeof a... 阅读全文
posted @ 2017-02-01 15:13 Posase 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int main() 3 { 4 int n,m; 5 char s; 6 scanf("%d",&n); 7 while(n--) 8 { 9 scanf("%s%d",&s,&m); 10 if(s<'a') 11 s-='A'-1; 12 ... 阅读全文
posted @ 2017-02-01 14:39 Posase 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 int main() 4 { 5 int n; 6 scanf("%d",&n); 7 while(n--) 8 { 9 int m,i,ant,ans; 10 scanf("%d",&m); 11 m+=1; 12 ant=(int)... 阅读全文
posted @ 2017-02-01 14:27 Posase 阅读(135) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 int main() 3 { 4 long long n,m; 5 while(~scanf("%lld%lld",&n,&m)) 6 printf("%lld\n",(n+n*n)*(m+m*m)/4); 7 } 阅读全文
posted @ 2017-01-31 19:57 Posase 阅读(123) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 char s[65550]; 3 int cus(int x,int y) 4 { 5 if(y) 6 cus(y,x%y); 7 else 8 return x; 9 } 10 int main() 11 { 12 int n; 13 scanf("%d",&n); 14 sca... 阅读全文
posted @ 2017-01-30 13:24 Posase 阅读(222) 评论(0) 推荐(0) 编辑
上一页 1 ··· 13 14 15 16 17 18 19 20 21 ··· 30 下一页