摘要: Chef has an array A = (A1, A2, ..., AN), which has N integers in it initially. Chef found that for i ≥ 1, if Ai > 0, Ai+1 > 0, and Ai+2 exists, then h 阅读全文
posted @ 2017-08-07 20:56 友人Aqwq 阅读(711) 评论(4) 推荐(0) 编辑
摘要: Palindromic Game Problem Code: PALINGAM Palindromic Game Problem Code: PALINGAM Palindromic Game Problem Code: PALINGAM There are two players A, B pla 阅读全文
posted @ 2017-08-07 20:49 友人Aqwq 阅读(220) 评论(0) 推荐(0) 编辑
摘要: Greedy Candidates Problem Code: GCAC Greedy Candidates Problem Code: GCAC Greedy Candidates Problem Code: GCAC The placements/recruitment season is go 阅读全文
posted @ 2017-08-07 20:28 友人Aqwq 阅读(201) 评论(0) 推荐(0) 编辑
摘要: dp只会看规律 SRM 10 描述 平面上有n个点(xi,yi),用最少个数的底边在x轴上且面积为S的矩形覆盖这些点(在边界上也算覆盖) 输入格式 第一行两个整数n,S接下来n行每行两个整数xi,yi,表示点的坐标 输出格式 一行,一个整数,表示答案 样例输入 样例输出 数据范围与约定 n=3,1组 阅读全文
posted @ 2017-08-07 15:25 友人Aqwq 阅读(185) 评论(0) 推荐(0) 编辑