摘要: 1 #include 2 #include 3 struct node 4 { 5 int date1,date2; 6 struct node*next; 7 } node; 8 int main() 9 { 10 struct node*p,*head,*end,*q; 11 head=(struct node*)malloc(sizeo... 阅读全文
posted @ 2019-10-08 22:58 念文丶 阅读(184) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 int a[60000],c=0; 4 int i; 5 int max(int m,int n) 6 { 7 if(m>n)return m; 8 else return n; 9 } 10 int sum(int ii,int jj) 11 { 12 int maxsum=0; 13 c++; 14 if 阅读全文
posted @ 2019-10-08 21:42 念文丶 阅读(163) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 int main() 5 { 6 int m,i,j,k,p,mark=1,n,t; 7 int math[1000000]; 8 scanf("%d",&n); 9 for(i=0; i<n; i++) 10 { 11 scanf("%d",&m... 阅读全文
posted @ 2019-10-08 13:14 念文丶 阅读(242) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 int main() 5 { 6 int m,i,j,k,p,mark=1; 7 int math[10000]; 8 scanf("%d",&m); 9 while(m--) 10 { 11 int n; 12 p=0; 13 scanf("%d",&n); 14 阅读全文
posted @ 2019-10-08 12:46 念文丶 阅读(300) 评论(0) 推荐(0) 编辑
摘要: 1 #include <stdio.h> 2 #include <stdlib.h> 3 #include <string.h> 4 int main() 5 { 6 int m,i,j,k; 7 int math[20000]; 8 scanf("%d",&m); 9 while(m--) 10 { 11 int n; 12 scanf("%d",&n); 13 for(i=0; i<n; i+ 阅读全文
posted @ 2019-10-08 12:22 念文丶 阅读(321) 评论(0) 推荐(0) 编辑