摘要: 题目链接 http://acm.hdu.edu.cn/showproblem.php?pid=5900 题意:给出序列$A_{i}.key$和$A_{i}.value$,若当前相邻的两个数$A_{i}.key$和$A_{i+1}.key$的最大公约数大于1,则可以把这两个数消去,同时消去$A_{i} 阅读全文
posted @ 2016-09-27 19:28 cxhscst2 阅读(160) 评论(0) 推荐(0) 编辑