摘要:
A Closest Point 由题意可得 三个及以上的点无法插入新的点,只有两个点时可以插入 但当两个点间隔为1时同样无法插入 先判断,后输出就行 #include<bits/stdc++.h> using namespace std; const int N = 50; int t, n; in 阅读全文
摘要:
使用前缀和进行数据的预处理 再使用遍历查找最大加权矩形 点击查看代码 #include<bits/stdc++.h> using namespace std; int b[125][125]; int main(){ //初始化最小值 int n,ans=-99999999; cin>>n; for 阅读全文