05 2023 档案
1218:取石子游戏
摘要:#include<iostream> #include<cstdio> #include<cstring> using namespace std; bool js(int a,int b) { if(a<b) swap(a,b); if(a%b==0) return true; for(int k
阅读全文
1197:山区建小学
摘要:#include<cstdio> #include<cmath> #include<iostream> using namespace std; int a[505][505],c[505][505],f[505][505]; int main() { int m,n; scanf("%d%d",&
阅读全文