上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页
摘要: #include #include #include #include #include #include #include #include using namespace std; struct Node { int type; //0表示buy double p; int s; }node[5005],buy[5005],sell[5005]; bool... 阅读全文
posted @ 2019-03-12 11:21 萌新上路 阅读(165) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; int mp[20][15]; int m[5][5]; int main() { for(int i=0;i>mp[i][j]; int h = 0,flag=0; for(int i=0;i>m[h]... 阅读全文
posted @ 2019-03-07 11:19 萌新上路 阅读(140) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include #include #include"iomanip" using namespace std; string p[105],r[105]; bool test(string url) //URL地址合法性检测 { if(url[0] != '/')... 阅读全文
posted @ 2019-03-05 16:23 萌新上路 阅读(462) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; int a[5][5],h; struct Pos { int x,y; }pos[20]; int value(int x,int y,int type) //评价此时局面 { int... 阅读全文
posted @ 2019-03-05 16:22 萌新上路 阅读(165) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include #include #include using namespace std; int flag[1005]; int main() { //阅读理解:接下来每个小朋友的报数是上一个小朋友报的数加1 ,一直加下去 int n,k; cin>>n>>k; for(int i=... 阅读全文
posted @ 2019-03-05 16:21 萌新上路 阅读(92) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; struct HY { int u,v; }hy[10005]; bool cmp(HY a,HY b) { if(a.v == b.v) return a.u>b.u; else return a.v>t... 阅读全文
posted @ 2018-10-22 21:29 萌新上路 阅读(81) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include #include using namespace std; int d[30][30005]; //d[i][j] i件中,j重量的物品 ,价格最高 int v[30],w[30]; int Max(int a,int b) { if(a>b) return a; else retur... 阅读全文
posted @ 2018-10-22 21:28 萌新上路 阅读(130) 评论(0) 推荐(0) 编辑
摘要: 数字很大,要用大数乘法。 阅读全文
posted @ 2018-10-21 17:04 萌新上路 阅读(91) 评论(0) 推荐(0) 编辑
摘要: #include #include #include #include using namespace std; struct edge { int u,v,w; }edges[155000]; bool cmp(const edge &a,const edge &b) { return a.w>t; while(t--) { int v,e;... 阅读全文
posted @ 2018-10-21 15:28 萌新上路 阅读(104) 评论(0) 推荐(0) 编辑
摘要: #include #include #include using namespace std; int mp[105][105]; int main() { int t; cin>>t; while(t--) { int r,c; cin>>r>>c; for(int i=1;i>mp[i][j]; ... 阅读全文
posted @ 2018-10-16 23:34 萌新上路 阅读(152) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 9 ··· 17 下一页