上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 53 下一页
摘要: #include #include #include #include #include #include #include #include using namespace std; #define maxn 6005 struct node{ int to,net; }que[maxn<<1]; int head[maxn]; int n; int dp[maxn][2],fath... 阅读全文
posted @ 2016-03-24 21:04 柳下_MBX 阅读(216) 评论(0) 推荐(0) 编辑
摘要: A - Anniversary party Time Limit:1000MS Memory Limit:32768KB 64bit IO Format:%I64d & %I64u Submit Status Practice HDU 1520 A - Anniversary party Submi 阅读全文
posted @ 2016-03-24 21:03 柳下_MBX 阅读(252) 评论(0) 推荐(0) 编辑
摘要: Description 大师兄在取经途中迷上了ACM-ICPC,稍不留神,师傅就被妖怪抓走了。 大师兄并不着急去救师傅,在虐这道简单题: 有两个字符串A和B,每一次可以选择以下操作中的一种,只对字符串A进行操作,用最少的操作使得字符串A与字符串B相等: 在字符串A中插入一个字符; 在字符串A中删除一 阅读全文
posted @ 2016-03-14 20:12 柳下_MBX 阅读(449) 评论(4) 推荐(1) 编辑
摘要: /*数位dp模板int dfs(int i, int s, bool e) { if (i 1) return s==target_s; if (!e && ~f[i][s]) return f[i][s]; int res = 0; int u = e?num[i]:9; for (int d = 阅读全文
posted @ 2016-03-13 23:17 柳下_MBX 阅读(1212) 评论(1) 推荐(1) 编辑
摘要: 提溜一个糖水黄桃罐头瓶,放在桌边,坐下以后,脖子略微后仰,翘着二郎腿,低头盯着屏幕看需求。 最好点一根烟,牌子无所谓,能冒烟就行。要得就是云山雾绕的感觉,从烟雾中眯着眼睛看出去,一副胸有成竹的样。 一根烟抽完,流程图也在脑子里走完了。啪一下把烟头掐灭到茶缸子里。再点燃一根,开始闷声敲代码。心无旁骛的专心敲,烟灰都不要弹。 敲好之后,编译,调试,再编译,再调试,功能跑通,SVN提交代码(地震... 阅读全文
posted @ 2016-03-13 21:06 柳下_MBX 阅读(266) 评论(0) 推荐(0) 编辑
摘要: /* HDU 3183 */ #include #include #include #include #include using namespace std; const int MAXN=1010; int a[MAXN]; int dp[MAXN][20]; void makeRMQIndex(int n,int b[])//形成最小值下标的RMQ { for(int i=0;... 阅读全文
posted @ 2016-03-12 19:53 柳下_MBX 阅读(214) 评论(0) 推荐(0) 编辑
摘要: D - Going Home Time Limit:1000MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice POJ 2195 D - Going Home Submit Status Pract 阅读全文
posted @ 2016-03-12 11:30 柳下_MBX 阅读(183) 评论(0) 推荐(0) 编辑
摘要: 二分图匹配 7 days ago 省赛选拔(2) 9 days ago 省赛选拔 10 days ago 2.27线段树 13 days ago 寒假 >数论基础 28 days ago 寒假 >博弈1(1.23) 2 months ago 寒假 >博弈2(1.23) 2 months ago 寒假 阅读全文
posted @ 2016-03-11 17:49 柳下_MBX 阅读(152) 评论(0) 推荐(0) 编辑
摘要: Current Time: 2016-03-11 17:45:36 Contest Type: Public Start Time: 2016-03-04 13:00:00 Contest Status: Running End Time: 2016-05-03 13:00:00 Manager: 阅读全文
posted @ 2016-03-11 17:47 柳下_MBX 阅读(129) 评论(0) 推荐(0) 编辑
摘要: R - Work Scheduling Time Limit:500MS Memory Limit:65536KB 64bit IO Format:%I64d & %I64u Submit Status Practice URAL 1099 Appoint description: Descript 阅读全文
posted @ 2016-03-11 17:46 柳下_MBX 阅读(276) 评论(0) 推荐(0) 编辑
上一页 1 ··· 20 21 22 23 24 25 26 27 28 ··· 53 下一页