上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页
摘要: #include#include#include#includeusing namespace std;struct Node{ int m; double p;};Node bank[200];double dp[100000];int main(){ int t,n; double p;... 阅读全文
posted @ 2015-03-21 16:18 sola94 阅读(86) 评论(0) 推荐(0) 编辑
摘要: #include #include #include#includeusing namespace std;struct Node{ int x,y; int rt;};Node node[200];int n,m;int cnt,gcnt,ans,ok,temp;char mat[12][12... 阅读全文
posted @ 2015-03-20 17:47 sola94 阅读(101) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;#define INF 10000000int a[3000];int now[3000];int dp[2000+100][2000+100];int main(){ int ... 阅读全文
posted @ 2015-03-19 20:44 sola94 阅读(92) 评论(0) 推荐(0) 编辑
摘要: http://acm.fzu.edu.cn/contest/problem.php?cid=134&sortid=9#include#include#include#include#includeusing namespace std;struct Node{ double x,y;};Node ... 阅读全文
posted @ 2015-03-18 12:37 sola94 阅读(123) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1160#include #include #include #include #include using namespace std;struct Node{ int w,s,id,fa;};Node mi... 阅读全文
posted @ 2015-03-18 00:25 sola94 阅读(95) 评论(0) 推荐(0) 编辑
摘要: http://acm.csu.edu.cn/OnlineJudge/showsource.php?id=97625#include#include#include#includeusing namespace std;int a[200000];int main(){ int n,m; int ... 阅读全文
posted @ 2015-03-15 21:09 sola94 阅读(162) 评论(0) 推荐(0) 编辑
摘要: http://acm.csu.edu.cn/OnlineJudge/showsource.php?id=97234#include#include#include#include#includeusing namespace std;int main(){ //freopen("output.tx... 阅读全文
posted @ 2015-03-15 21:03 sola94 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 题意: 输入一行字符串 只包含大小写字母 可以使用shift 和 caps 键 切换大小写 问最少按几次键思路:if(str[i]>='A'&&str[i]#include#include#includeusing namespace std;int dp[200][5];char st... 阅读全文
posted @ 2015-03-14 13:12 sola94 阅读(97) 评论(0) 推荐(0) 编辑
摘要: #include#include#include#include#includeusing namespace std;int a[120],c[120];int dp[100000+100];int main(){ int n,m; int i,j,k; while(scanf("%d%d"... 阅读全文
posted @ 2015-03-10 21:20 sola94 阅读(100) 评论(0) 推荐(0) 编辑
摘要: http://acm.hdu.edu.cn/showproblem.php?pid=1069#include#include#include#includeusing namespace std;struct Node{ int a,b,c,dp;};Node node[3000];int cmp... 阅读全文
posted @ 2015-03-08 20:00 sola94 阅读(100) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 22 下一页