摘要:
1 #include 2 #include 3 int main() 4 { 5 int n,i; 6 int a[20]; 7 a[1]=8,a[0]=5; 8 while(scanf("%d",&n)!=EOF) 9 { 10 for(i=2; i<n; i++) 11 { 12 ... 阅读全文
posted @ 2019-03-06 20:48
念文丶
阅读(264)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 int main() 4 { 5 int n,i; 6 int a[100]; 7 a[3]=4,a[2]=3,a[1]=2;a[0]=1; 8 while(scanf("%d",&n)&&n!=0) 9 { 10 for(i=4; i<n; i++) 11 ... 阅读全文
posted @ 2019-03-06 20:42
念文丶
阅读(278)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 struct node 4 { 5 int data; 6 struct node*next; 7 }; 8 int main() 9 { 10 int m,n,x,i,j; 11 while(~ scanf("%d",&n)&&n!=0) 12 { 13 struct ... 阅读全文
posted @ 2019-03-06 19:42
念文丶
阅读(404)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 struct node 4 { 5 int data; 6 struct node*next; 7 }; 8 int main() 9 { 10 int m,n,x,i,j; 11 struct node*head,*p,*end; 12 head=(struct node*)mallo... 阅读全文
posted @ 2019-03-06 19:30
念文丶
阅读(342)
评论(0)
推荐(0)
摘要:
1 #include 2 #include 3 struct node 4 { 5 int data; 6 struct node*next,*last; 7 }; 8 int main() 9 { 10 int m,n,x,i,a; 11 struct node*head,*p,*end; 12 head=(struct node*... 阅读全文
posted @ 2019-03-06 18:59
念文丶
阅读(314)
评论(0)
推荐(0)

浙公网安备 33010602011771号