摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=125; int a[N][N],s[N][N]; int n; int main() { ios::sync_with_stdio(false); cin.tie(0); 阅读全文
posted @ 2025-11-21 23:37
AnoSky
阅读(3)
评论(0)
推荐(0)
摘要:
点击查看代码 #include <iostream> #include <algorithm> // 用于 min/max 函数(本题可省略,但建议保留以适配更多场景) using namespace std; const int MAX_SIZE = 105; // 数组最大尺寸,适配 n/m ≤ 阅读全文
posted @ 2025-11-21 17:46
AnoSky
阅读(4)
评论(1)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=2000010; int n,sum,j; int main() { ios::sync_with_stdio(false); cin.tie(0); cout.tie(0 阅读全文
posted @ 2025-11-21 15:22
AnoSky
阅读(5)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; const int N=2000010; int n; long long a[N]; int bsearch(long long target,int n) { int l=1,r=n; whi 阅读全文
posted @ 2025-11-21 11:47
AnoSky
阅读(3)
评论(0)
推荐(0)
摘要:
点击查看代码 #include<bits/stdc++.h> using namespace std; int m; int main() { scanf("%d",&m); for(int k1=sqrt(2*m);k1>1;k1--){ if(2*m%k1==0&&(k1+2*m/k1)%2){ 阅读全文
posted @ 2025-11-21 10:31
AnoSky
阅读(6)
评论(0)
推荐(0)

浙公网安备 33010602011771号