摘要:
#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;... 阅读全文
摘要:
#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... 阅读全文
摘要:
#include#include#include#include#includeusing namespace std;#define INF 10000000int a[3000];int now[3000];int dp[2000+100][2000+100];int main(){ int ... 阅读全文
摘要:
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 ... 阅读全文
摘要:
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... 阅读全文
摘要:
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 ... 阅读全文
摘要:
http://acm.csu.edu.cn/OnlineJudge/showsource.php?id=97234#include#include#include#include#includeusing namespace std;int main(){ //freopen("output.tx... 阅读全文
摘要:
题意: 输入一行字符串 只包含大小写字母 可以使用shift 和 caps 键 切换大小写 问最少按几次键思路:if(str[i]>='A'&&str[i]#include#include#includeusing namespace std;int dp[200][5];char st... 阅读全文
摘要:
#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"... 阅读全文
摘要:
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... 阅读全文