随笔分类 -  奇妙的构造

摘要:#include using namespace std; #define LL long long const int maxn=sqrt(2e9)+10; int p[maxn]; void getprime() { for(int i=2;i getfactor(LL x) { vectorq; for(int i=1,t;i*imp[maxm]; int lin... 阅读全文
posted @ 2018-10-13 12:46 BIack_Cat 阅读(247) 评论(0) 推荐(0)
摘要:#include #define LL long long using namespace std; const int maxn=1e3+10; int a[maxn][maxn]; int m4[4][4]={ 1,2,3,4, 4,3,2,1, 2,1,4,3, 3,4,1,2 }; void meow(int n) { if(n==4) ... 阅读全文
posted @ 2018-10-01 21:30 BIack_Cat 阅读(175) 评论(0) 推荐(0)