d799. 区间求和 - 高中生程式解題系統 Zerojudge解題紀錄 d799. 区间求和 - 高中生程式解題系統Zerojudge-d799.cpp // Author : ysh // 08/19/2022 Fri 20:31:50.68 #include<bits/stdc++.h> using namespace std; #define int long long stru 2022-08-19 資訊 > 題解 > Zerojudge #solution #tree #seg_tree #own-template #lazy-tag
b123. 最大矩形 (Area) - 高中生程式解題系統 Zerojudge解題紀錄 b123. 最大矩形 (Area) - 高中生程式解題系統Zerojudge-b123-2.cpp // Author : ysh // 08/19/2022 Fri 19:39:27.37 #include<bits/stdc++.h> using namespace std; int main() { 2022-08-19 資訊 > 題解 > Zerojudge #solution #DP #re
d652. 貪婪之糊 - 高中生程式解題系統 Zerojudge解題紀錄 d652. 貪婪之糊 - 高中生程式解題系統Zerojudge-d652-3.cpp // Author : ysh // 08/19/2022 Fri 19:15:54.69 #include<bits/stdc++.h> using namespace std; vector<int>f; vector& 2022-08-19 資訊 > 題解 > Zerojudge #solution #DP #re
d539. 區間 MAX - 高中生程式解題系統 Zerojudge解題紀錄 d539. 區間 MAX - 高中生程式解題系統Zerojudge-d539-3.cpp // Author : ysh // 08/18/2022 Thu 16:31:39.44 #include<bits/stdc++.h> using namespace std; struct table{ 2022-08-18 資訊 > 題解 > Zerojudge #solution #sparse_table
d539. 區間 MAX - 高中生程式解題系統 Zerojudge解題紀錄 d539. 區間 MAX - 高中生程式解題系統Zerojudge-d539-2.cpp // Author : ysh // 08/18/2022 Thu 16:01:07.31 #include<bits/stdc++.h> using namespace std; struct seg_tree{ 2022-08-18 資訊 > 題解 > Zerojudge #solution #seg_tree
d064. P-5-4. 反序數量 (APCS201806) - TCFSH CIRC Judge TCIRC解題紀錄 d064. P-5-4. 反序數量 (APCS201806) - TCFSH CIRC JudgeAP325-d064-5.cpp // Author : ysh // 08/17/2022 Wed 22:00:02.29 #include<bits/stdc++.h> using namespace std; #defi 2022-08-17 資訊 > 題解 > TCIRC #solution #BIT #tree
d064. P-5-4. 反序數量 (APCS201806) - TCFSH CIRC Judge TCIRC解題紀錄 d064. P-5-4. 反序數量 (APCS201806) - TCFSH CIRC JudgeAP325-d064-4.cpp // Author : ysh // 08/17/2022 Wed 21:46:43.85 #include<bits/stdc++.h> using namespace std; #defi 2022-08-17 資訊 > 題解 > TCIRC #solution #BIT #tree
d064. P-5-4. 反序數量 (APCS201806) - TCFSH CIRC Judge TCIRC解題紀錄 d064. P-5-4. 反序數量 (APCS201806) - TCFSH CIRC JudgeAP325-d064-3.cpp // Author : ysh // 08/17/2022 Wed 21:36:49.08 #include<bits/stdc++.h> #include<bits/extc++.h> 2022-08-17 資訊 > 題解 > TCIRC #solution #tree #pb_ds
CSES - Salary Queries CSES - Salary QueriesSalary-Queries.cpp // Author : ysh // 08/17/2022 Wed 8:06:09.40 // https://cses.fi/problemset/task/1144/ #include<bits/stdc++.h> #include<bits/extc++.h> using namespace std 2022-08-17 資訊 > 題解 > CSES #solution #tree #pb_ds
e367. 區間Xor - 高中生程式解題系統 Zerojudge解題紀錄 e367. 區間Xor - 高中生程式解題系統Zerojudge-e367.py # Author : ysh # 08/16/2022 Tue 16:53:37.42 b = [] llast = 0 last = 0 for i in range(100001): last = last ^ i ll 2022-08-16 資訊 > 題解 > Zerojudge #solution #pref