摘要:
#include<iostream> using namespace std; const int N=110; const int INF=0x3f3f3f3f; int g[N][N],dist[N]; bool st[N]; int main() { int n;cin>>n; for(int 阅读全文
posted @ 2023-03-04 20:51
rain_wind_read
阅读(24)
评论(0)
推荐(0)
摘要:
使用线段树进行多点更改和多点查询 建树 #include<iostream> using namespace std; typedef long long ll; const int N=2e5+10; struct segm { int l,r; ll v; } tr[N*4]; ll a[N]; 阅读全文
posted @ 2023-03-04 14:36
rain_wind_read
阅读(22)
评论(0)
推荐(0)
浙公网安备 33010602011771号