hdu 1087 Super Jumping! Jumping! Jumping!
摘要:
1 #include<stdio.h> 2 #include<string.h> 3 int a[1001],m[1001]; 4 int main() 5 { 6 int i,j,n,ans,res; 7 while(scanf("%d",&n),n){ 8 memset(m,0,sizeof(m)); 9 for(i=0;i<n;++i)10 scanf("%d",&a[i]);11 for(i=0;i<n;++i) {12 for(ans=j=0;j<i;++j)13 ... 阅读全文
posted @ 2012-11-24 21:17 小花熊 阅读(138) 评论(0) 推荐(0) 编辑