d767. 血緣關係 - 高中生程式解題系統 Zerojudge解題紀錄 d767. 血緣關係 - 高中生程式解題系統Zerojudge-d767-2.cpp // Author : ysh // 11/04/2022 Fri 8:28:42.40 #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #include< 2022-11-04 資訊 > 題解 > Zerojudge #solution #graph #LCA
CSES - Tree Distances II CSES - Tree Distances IITree-Distances-II-2.cpp // Author : ysh // 11/02/2022 Wed 9:20:11.51 // https://cses.fi/problemset/task/1133 #include<bits/stdc++.h> using namespace std; #define int long l 2022-11-02 資訊 > 題解 > CSES #solution #DFS #tree
d793. 00929 - Number Maze - 高中生程式解題系統 Zerojudge解題紀錄 d793. 00929 - Number Maze - 高中生程式解題系統Zerojudge-d793.cpp // Author : ysh // 11/01/2022 Tue 11:19:59.04 #include<bits/stdc++.h> using namespace std; struct box& 2022-11-01 資訊 > 題解 > Zerojudge #solution #graph #dijkstra
j125. 4. 蓋步道 - 高中生程式解題系統 Zerojudge解題紀錄 j125. 4. 蓋步道 - 高中生程式解題系統Zerojudge-j125-3.cpp // Author : ysh // 10/30/2022 Sun 12:00:03.17 #include<bits/stdc++.h> using namespace std; vector<vector<pa 2022-10-30 資訊 > 題解 > Zerojudge #solution #graph #BFS
CSES - Advertisement CSES - AdvertisementAdvertisement-2.cpp // Author : ysh // 10/27/2022 Thu 18:25:06.75 // https://cses.fi/problemset/task/1142/ #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #include< 2022-10-27 資訊 > 題解 > CSES #solution #DC
1209 - 圖論 之 二分圖測試 | TIOJ INFOR Online Judge 1209 - 圖論 之 二分圖測試 | TIOJ INFOR Online JudgeTIOJ-1209.cpp // Author : ysh // 10/27/2022 Thu 7:53:48.37 // https://tioj.ck.tp.edu.tw/problems/1209 #include<bits/stdc++.h> using namespace std; #ifdef 2022-10-27 資訊 > 題解 > TIOJ #solution #graph #DFS #bigraph
APCS - 11110-4-3.cpp APCS - 11110-4-3.cppAPCS-11110-4-3.cpp // Author : ysh // 10/24/2022 Mon 10:21:43.36 #include<bits/stdc++.h> using namespace std; vector<vector<pair<int,int>>>f; vector<vector<int>>v 2022-10-24 資訊 > 題解 > APCS #solution #binary_search #DSU #BFS
APCS - 11110-4-2.cpp APCS - 11110-4-2.cppAPCS-11110-4-2.cpp // Author : ysh // 10/24/2022 Mon 10:21:27.02 #include<bits/stdc++.h> using namespace std; bool c = 1; const int xx[] = {-1,0,1,0}; const int yy[] = 2022-10-24 資訊 > 題解 > APCS #solution #DP #BFS
i401. 3. 雷射測試 - 高中生程式解題系統 Zerojudge解題紀錄 i401. 3. 雷射測試 - 高中生程式解題系統Zerojudge-i401.cpp // Author : ysh // 10/23/2022 Sun 10:34:15.50 #include<bits/stdc++.h> #include<bits/extc++.h> using namespace s 2022-10-23 資訊 > 題解 > Zerojudge #solution #map #binary_search
USACO USACOHoof-Paper-Scissors.cpp // Author : ysh // 10/22/2022 Sat 17:14:51.38 // http://www.usaco.org/index.php?page=viewproblem2 #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #define freo 2022-10-22 資訊 > 題解 > Others #solution #DP