摘要: 其实不过是大整数分解。。。注意两点:注意L 不能==N但是,N却可以是素数。。。囧#include #include #include #include #define LL __int64#define MAX 1LL>=1; a=(a>=1; } LL x=quick(a,m,n); if(x... 阅读全文
posted @ 2014-12-04 21:59 chenjunjie1994 阅读(193) 评论(0) 推荐(0) 编辑
摘要: 二分加贪心,水过了。贪心是因为,不能存在覆盖,当存在覆盖时,留小坐标的。#include #include #include #include #define N 300100using namespace std;struct Point{ int left,right;}pl[N];int qu... 阅读全文
posted @ 2014-12-04 20:05 chenjunjie1994 阅读(264) 评论(2) 推荐(0) 编辑