摘要: P2216 [HAOI2007] 理想的正方形 #include <bits/stdc++.h> using namespace std; const int maxn = 1e3 + 10; int a,b,n; int c[maxn][maxn]; deque <int> dq1,dq2; in 阅读全文
posted @ 2025-09-18 17:12 Hazelxcf 阅读(2) 评论(0) 推荐(0)
摘要: P4147 玉蟾宫 #include <bits/stdc++.h> using namespace std; const int maxn = 1e3 + 10; int n,m; int a[maxn][maxn] = {{0,0}}; int l[maxn][maxn],r[maxn][max 阅读全文
posted @ 2025-09-18 10:56 Hazelxcf 阅读(2) 评论(0) 推荐(0)