哈基图
哈基图
全部文章
分类
归档
标签
去牛客网
登录
/
注册
哈基图的博客
全部文章
(共5篇)
题解 | 【模板】差分
#include<bits/stdc++.h> using namespace std; typedef long long ll; int main(){ ll n,q; cin>>n>>q; vector<ll> nums(...
2026-02-01
0
16
题解 | 小苯的最大和
#include<bits/stdc++.h> using namespace std; typedef long long ll; int main(){ ll T; cin>>T; while(T--){ ll n; ...
2026-02-01
0
27
题解 | 最大正方形
#include<bits/stdc++.h> using namespace std; int main(){ int n,maxlen = -1; cin>>n; vector<vector<int>> nums(n,vec...
2026-01-29
0
20
题解 | 括号的匹配
#include<bits/stdc++.h> #include<unordered_map> using namespace std; int main(){ int T; cin>>T; while(T--){ unor...
2026-01-29
0
21
题解 | 铺地毯
#include<bits/stdc++.h> using namespace std; bool cover(int x,int y,vector<int>pos){ int ldx = pos[0], ldy = pos[1]; int rux = ldx...
2026-01-26
0
23