上一页 1 2 3 4 5 6 7 8 ··· 13 下一页
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 long long exgcd(long long a,long long b,long long &x,long long &y) 7 { 8 if(b==0) 9 {1... 阅读全文
posted @ 2015-10-03 11:48 相儒以沫 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 #include 6 7 using namespace std; 8 9 struct circle 10 { 11 double x,y,r; 12 }c[25]... 阅读全文
posted @ 2015-10-03 10:24 相儒以沫 阅读(395) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 using namespace std; 4 5 struct point 6 { 7 double x,y; 8 }p[110]; 9 10 double siz(point p1,point p2,point p3)11 {12 ... 阅读全文
posted @ 2015-10-01 10:43 相儒以沫 阅读(134) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 4 using namespace std; 5 6 struct line 7 { 8 double x1; 9 double y1;10 double x2;11 double y2;12 }l[110];... 阅读全文
posted @ 2015-10-01 10:14 相儒以沫 阅读(140) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int arr[10000]; 8 9 int main()10 {11 int a,b,n,s,e;12 while(scanf("%d%d%d... 阅读全文
posted @ 2015-09-02 09:59 相儒以沫 阅读(144) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 long long dp[100010]; 8 int start[100010]; 9 int arr[100010];10 11 int main()12 {1... 阅读全文
posted @ 2015-09-01 20:22 相儒以沫 阅读(122) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 #include 5 6 int arr[100000]; 7 8 using namespace std; 9 10 int main()11 {12 int n;13 cin>>n;14 ... 阅读全文
posted @ 2015-08-31 19:52 相儒以沫 阅读(119) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int num; 8 int head[20010]; 9 int dp[20010];10 int val[20010];11 int n;12 13 struc... 阅读全文
posted @ 2015-08-30 15:22 相儒以沫 阅读(102) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int dp[1510][2]; 8 int head[1510]; 9 bool in[1510];10 int num;11 12 struct edge13 ... 阅读全文
posted @ 2015-08-30 13:11 相儒以沫 阅读(107) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 #include 3 #include 4 5 using namespace std; 6 7 int val[100100]; 8 int head[100100]; 9 int dp[100100];10 int num;11 bool in[100010... 阅读全文
posted @ 2015-08-29 20:12 相儒以沫 阅读(185) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 13 下一页