CSES - Message Route CSES - Message RouteMessage-Route.cpp // Author : ysh // 08/13/2022 Sat 10:08:29.02 // https://cses.fi/problemset/task/1667 #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #include<C:\ 2022-08-13 資訊 > 題解 > CSES #solution #BFS #re-search
CSES - Building Roads CSES - Building RoadsBuilding-Roads.cpp // Author : ysh // 08/13/2022 Sat 7:44:15.40 // https://cses.fi/problemset/task/1666 #include<bits/stdc++.h> using namespace std; vector<int>f; inline in 2022-08-13 資訊 > 題解 > CSES #solution #graph
CSES - Labyrinth CSES - LabyrinthLabyrinth.cpp // Author : ysh // 08/09/2022 Tue 15:34:23 // https://cses.fi/problemset/task/1193 #include<bits/stdc++.h> using namespace std; int xx[] = {1,0,-1,0}; int yy 2022-08-09 資訊 > 題解 > CSES #solution #BFS #re-search
d055. P-4-14. 控制點 (2D-max) - TCFSH CIRC Judge TCIRC解題紀錄 d055. P-4-14. 控制點 (2D-max) - TCFSH CIRC JudgeAP325-d055.cpp // Author : ysh // 08/03/2022 Wed 10:06:43 // https://judge.tcirc.tw/ShowProblem?problemid=d055 #include& 2022-08-03 資訊 > 題解 > TCIRC #solution #sweep-line #greedy
CSES - Subarray Sums I CSES - Subarray Sums ISubarray-Sums-I.cpp // Author : ysh // 07/31/2022 Sun 17:01:02.71 // https://cses.fi/problemset/task/1660 #include<bits/stdc++.h> using namespace std; #define int long long si 2022-07-31 資訊 > 題解 > CSES #solution #map #DP
CSES - Counting Rooms CSES - Counting RoomsCounting-Rooms.cpp // Author : ysh // 07/31/2022 Sun 16:42:02.65 // https://cses.fi/problemset/task/1192 #include<bits/stdc++.h> using namespace std; const int xx[] = {1,0 2022-07-31 資訊 > 題解 > CSES #solution #DFS
CSES - String Matching CSES - String MatchingString-Matching.cpp // Author : ysh // 07/31/2022 Sun 9:25:04.48 // https://cses.fi/problemset/task/1753 #include<bits/stdc++.h> using namespace std; vector<int>f; int che 2022-07-31 資訊 > 題解 > CSES #solution #KMP
CSES - Coin Combinations II CSES - Coin Combinations IICoin-Combinations-II.cpp // Author : ysh // 07/30/2022 Sat 18:58:36.52 // https://cses.fi/problemset/task/1636 #include<bits/stdc++.h> using namespace std; const int MAX 2022-07-30 資訊 > 題解 > CSES #solution #DP
d054. Q-4-10. 恢復能量的白雲熊膽丸 - TCFSH CIRC Judge TCIRC解題紀錄 d054. Q-4-10. 恢復能量的白雲熊膽丸 - TCFSH CIRC JudgeAP325-d054-2.cpp // Author : ysh // 07/30/2022 Sat 14:19:18.50 // https://judge.tcirc.tw/ShowProblem?problemid=d054 #inclu 2022-07-30 資訊 > 題解 > TCIRC #solution #binary_search
d059. Q-4-18. 少林寺的櫃姐 (@@)(*) - TCFSH CIRC Judge TCIRC解題紀錄 d059. Q-4-18. 少林寺的櫃姐 (@@)(*) - TCFSH CIRC JudgeAP325-d059.cpp // Author : ysh // 07/29/2022 Fri 22:34:36.50 #include<bits/stdc++.h> using namespace std; #ifdef LO 2022-07-29 資訊 > 題解 > TCIRC #solution #binary_search #lower_bound