上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 43 下一页
摘要: 传送门 Time Limit: 1000MS Memory Limit: 65536K Description A histogram is a polygon composed of a sequence of rectangles aligned at a common base line. T 阅读全文
posted @ 2015-12-22 19:42 Pat 阅读(304) 评论(0) 推荐(0) 编辑
摘要: 大学以来,我的健康状况时好时坏。大一时为一场感冒发烧虚惊一场,大二较为平静,今年又经历了人生第一次手术。 大学生活可说是混乱的,我该反省。虽说“痛定思痛,痛何如哉”,但人往往是好了伤疤忘了疼。 现在必须着手改变,初步的想法是想法定下几条准则 1、每天起床后直到晚上睡觉,期间不再回床上躺着。 2、每天 阅读全文
posted @ 2015-12-22 14:18 Pat 阅读(155) 评论(0) 推荐(0) 编辑
摘要: 传送门 Time Limit: 1 Sec Memory Limit: 128 MB Description 据说...高中学习了好多公式。所以...萌学长不知道该用什么公式来解决下面这个问题。对于一些平面图形,比如正方形、矩形、菱形、圆...如果一个图形能够完全包含在另一个图形里面,萌学长就认为这 阅读全文
posted @ 2015-12-04 18:36 Pat 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 1 #include 2 using namespace std; 3 4 const int N (1e5+5), M(1e5+5); 5 6 int head[N]; 7 struct Edge{ 8 /* 9 r: residual capacity 10 */ 11 int v, r, nt; 12 }E[M]; 13 int ta... 阅读全文
posted @ 2015-12-02 22:11 Pat 阅读(379) 评论(0) 推荐(0) 编辑
摘要: 2009国家集训队徐持衡的论文《浅谈几类背包问题》里提到的一个经典问题: 长度限制最大连续和问题: 给出长度为 n 的序列 X i ,求这个序列中长度不超过 Lmax 的最大连续和。 Implementation 阅读全文
posted @ 2015-12-01 19:29 Pat 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 传送门 Leftmost Digit Time Limit: 2000/1000 MS (Java/Others) Memory Limit: 65536/32768 K (Java/Others)Total Submission(s): 15305 Accepted Submission(s): 阅读全文
posted @ 2015-11-29 00:04 Pat 阅读(191) 评论(0) 推荐(0) 编辑
摘要: 传送门The Enterprise has encountered a planet that at one point had been inhabited. The only remnant from the prior civilization is a set of texts that w... 阅读全文
posted @ 2015-11-28 01:01 Pat 阅读(208) 评论(0) 推荐(0) 编辑
摘要: 下述快捷键都是我写C++代码时发现的,是否适用其他格式(扩展名)的文件尚为未知。 Basic Editing Ctrl + A 全选 Ctrl + S 保存 Ctrl + C 复制 Ctrl + V 粘贴 Ctrl + L 选中一行 (Select lines - Repeat to select 阅读全文
posted @ 2015-11-27 23:34 Pat 阅读(372) 评论(0) 推荐(0) 编辑
摘要: (这篇随笔是 C++ Primer 5th ed. pp.39-40的摘录)Some characters, such as backspace or control characters, have no visible image. Such characters are non printab... 阅读全文
posted @ 2015-11-27 00:02 Pat 阅读(290) 评论(0) 推荐(0) 编辑
摘要: 传送门Solution:KM算法关于KM算法有一篇极好的文档http://www.cse.ust.hk/~golin/COMP572/Notes/Matching.pdfImplementation:#include #include #include #include using namespac... 阅读全文
posted @ 2015-11-22 21:22 Pat 阅读(240) 评论(0) 推荐(0) 编辑
上一页 1 ··· 32 33 34 35 36 37 38 39 40 ··· 43 下一页