摘要: 约数之和 原题链接 #include<iostream> using namespace std; const int mod=9901; int power(int a,int b) { int res=1%mod; while(b) { if(b&1) res=res*a%mod; a=a*a% 阅读全文
posted @ 2021-02-16 20:26 Tsukinousag1 阅读(38) 评论(0) 推荐(0)
摘要: 3.1费解的开关 原题链接 #include<iostream> #include<cstring> using namespace std; const int INF=1e6+10; char g[10][10]; void turn(int x,int y) { int dx[5]={0,-1 阅读全文
posted @ 2021-02-16 20:25 Tsukinousag1 阅读(90) 评论(0) 推荐(0)