上一页 1 ··· 22 23 24 25 26
摘要: 题目链接 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 const int maxn = 50+5; 5 int T,n,t,a[maxn],dp[180*maxn]; 6 7 int main(int argc, char const 阅读全文
posted @ 2016-11-08 15:35 _yxg123 阅读(109) 评论(0) 推荐(0)
摘要: 1 #include 2 using namespace std; 3 4 const int maxn = 50+5; 5 int T,n,t,a[maxn],dp[180*maxn]; 6 7 int main(int argc, char const *argv[]) 8 { 9 scanf("%d",&T); 10 for(int cas=1; c... 阅读全文
posted @ 2016-11-08 15:34 _yxg123 阅读(104) 评论(0) 推荐(0)
摘要: 题目链接#include using namespace std;const int maxn = 50+5;double x[maxn],y[maxn],dist[maxn][maxn],d[maxn][maxn];int main(){ int n; while(s... 阅读全文
posted @ 2016-11-08 07:47 _yxg123 阅读(124) 评论(0) 推荐(0)
摘要: 1 #include <bits/stdc++.h> 2 using namespace std; 3 4 const int maxn = 30+5; 5 int n,blocks[maxn][3],d[maxn][3]; 6 7 void get_dimensions(int* v,int b, 阅读全文
posted @ 2016-11-08 07:40 _yxg123 阅读(159) 评论(0) 推荐(0)
摘要: #include #include #include #include #include using namespace std; const int maxn = 1e5+10; int block,belong[maxn],num,l[500],r[500],n,m,x,h; double Max[maxn],k[maxn]; vector see[500]; void b... 阅读全文
posted @ 2016-11-06 15:00 _yxg123 阅读(144) 评论(0) 推荐(0)
上一页 1 ··· 22 23 24 25 26