摘要: You’re given a list of n strings a1, a2, …, an. You’d like to concatenate them together in some order such that the resulting string w... 阅读全文
posted @ 2016-07-25 21:17 __NaCl 阅读(133) 评论(0) 推荐(0) 编辑
摘要: 题意很长。。。总的来说就是这样的。假设刚开始两个容器分别放的不明物体分别有f[0],f[1]。那么经过一次操作就是就变成f[2]=f[1]+f[0],f[1]。。 然后让你求经过M次之后f[m+1]和f[m]的gcd。。中途执行到N次的时候要f[n+1]要家Y. 做题... 阅读全文
posted @ 2016-07-25 20:44 __NaCl 阅读(121) 评论(0) 推荐(0) 编辑