CSES - Grid Paths CSES - Grid PathsGrid-Paths.cpp // Author : ysh // 08/25/2022 Thu 17:23:21.41 // https://cses.fi/problemset/task/1638 #include<bits/stdc++.h> using namespace std; const int R = 1e9 + 7; int main() 2022-08-25 資訊 > 題解 > CSES #solution #DP
2224 - B. 村莊與小徑 | TIOJ INFOR Online Judge 2224 - B. 村莊與小徑 | TIOJ INFOR Online Judgecountry-and-road-2.cpp // Author : ysh // 08/25/2022 Thu 9:03:10.09 // https://tioj.ck.tp.edu.tw/problems/2224 #include<bits/stdc++.h> using namespace std; 2022-08-25 資訊 > 題解 > TIOJ #solution #graph
2224 - B. 村莊與小徑 | TIOJ INFOR Online Judge 2224 - B. 村莊與小徑 | TIOJ INFOR Online Judgecountry-and-road.cpp // Author : ysh // 08/25/2022 Thu 7:13:29.95 // https://tioj.ck.tp.edu.tw/problems/2224 #include<bits/stdc++.h> using namespace std; # 2022-08-25 資訊 > 題解 > TIOJ #solution #graph
1509 - 地道問題 | TIOJ INFOR Online Judge 1509 - 地道問題 | TIOJ INFOR Online Judgetunnel.cpp // Author : ysh // 08/25/2022 Thu 6:52:52.49 // https://tioj.ck.tp.edu.tw/problems/1509 #include<bits/stdc++.h> using namespace std; #define int lon 2022-08-25 資訊 > 題解 > TIOJ #solution #graph
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