HDU-4819-Mosaic

這個題須要求二維區間的最大值最小值,並完成單點更新,這就應該說二維線段樹進行解決,對二維線段樹的處理方面還不夠熟練吧,寫的有點複雜~ios 代碼:ui #include<cstdio> #include<cstring> #include<iostream> using namespace std; const int maxn=810; struct SNode { int l;
本站公眾號
   歡迎關注本站公眾號,獲取更多信息