Codeforces - Buy-a-Ticket Codeforces出處 Educational Codeforces Round 38 (Rated for Div. 2)難度 2000標籤 data structures graphs shortest paths *2000 Codeforces - Buy-a-TicketBuy-a-Ticket.cpp // Author 2022-08-24 資訊 > 題解 > Codeforces #solution #graph
d539. 區間 MAX - 高中生程式解題系統 Zerojudge解題紀錄 d539. 區間 MAX - 高中生程式解題系統Zerojudge-d539-4.cpp // Author : ysh // 08/20/2022 Sat 8:02:03.34 #include<bits/stdc++.h> using namespace std; #define int long long 2022-08-20 資訊 > 題解 > Zerojudge #solution #re #sparse_table
CSES - Prefix Sum Queries CSES - Prefix Sum QueriesPrefix-Sum-Queries-3.cpp // Author : ysh // 08/19/2022 Fri 22:29:12.05 // https://cses.fi/problemset/task/2166/ #include<bits/stdc++.h> using namespace std; #define int lon 2022-08-19 資訊 > 題解 > CSES #solution #seg_tree
CSES - Prefix Sum Queries CSES - Prefix Sum QueriesPrefix-Sum-Queries-2.cpp // Author : ysh // 08/19/2022 Fri 21:39:25.22 // https://cses.fi/problemset/task/2166 #include<bits/stdc++.h> using namespace std; #define int long 2022-08-19 資訊 > 題解 > CSES #solution #seg_tree
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