2014年8月2日

Codeforces Round #259 (Div. 2)-D. Little Pony and Harmony Chest

摘要: 题目范围给的很小,所以有状压的方向。我们是构造出一个数列,且数列中每两个数的最大公约数为1;给的A[I]#include#include#include#define inf 0x3f3f3f3fusing namespace std;int cnt=0;int c[123],a[123];int ... 阅读全文

posted @ 2014-08-02 20:21 forgot93 阅读(175) 评论(0) 推荐(0) 编辑

导航