摘要: Catching Dogs Description Diao Yang keeps many dogs. But today his dogs all run away. Diao Yang has to catch them. To simplify the problem, we assume 阅读全文
posted @ 2016-05-15 21:22 超级学渣渣 阅读(255) 评论(0) 推荐(0) 编辑
摘要: struct Node { long long a; long long b; long long c; long long num; int i; bool operator < (const Node& t)const { return ((num>t.num)|| (num==t.num&&a 阅读全文
posted @ 2016-05-15 21:03 超级学渣渣 阅读(1016) 评论(0) 推荐(0) 编辑
摘要: Problem C: The Same Color Description Diao Yang has many balls with different colors. Today he wants to divide his balls into two groups. But he does 阅读全文
posted @ 2016-05-15 20:54 超级学渣渣 阅读(219) 评论(0) 推荐(0) 编辑
摘要: Array C Description Giving two integers and and two arrays and both with length , you should construct an array also with length which satisfied: 1.0≤ 阅读全文
posted @ 2016-05-15 20:52 超级学渣渣 阅读(306) 评论(0) 推荐(0) 编辑