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
d065. P-5-7. 大樓外牆廣告 - TCFSH CIRC Judge TCIRC解題紀錄 d065. P-5-7. 大樓外牆廣告 - TCFSH CIRC JudgeAP325-d065.cpp // Author : ysh // 07/29/2022 Fri 19:03:40.55 // https://judge.tcirc.tw/ShowProblem?problemid=d065 #include<b 2022-07-29 資訊 > 題解 > TCIRC #solution #DC
d053. Q-4-8. 先到先服務 (*) - TCFSH CIRC Judge TCIRC解題紀錄 d053. Q-4-8. 先到先服務 (*) - TCFSH CIRC JudgeAP325-d053.cpp // Author : ysh // 07/29/2022 Fri 16:07:36.84 #include<bits/stdc++.h> using namespace std; int main() 2022-07-29 資訊 > 題解 > TCIRC #solution #priority_queue #greedy
d091. P-7-2. 開車蒐集寶物 - TCFSH CIRC Judge TCIRC解題紀錄 d091. P-7-2. 開車蒐集寶物 - TCFSH CIRC JudgeAP325-d091.cpp // Author : ysh // 07/28/2022 Thu 14:55:22.06 #include<bits/stdc++.h> using namespace std; #define int long l 2022-07-28 資訊 > 題解 > TCIRC #solution #graph #DSU
d075. Q-6-10. 置物櫃出租 (APCS201810) - TCFSH CIRC Judge TCIRC解題紀錄 d075. Q-6-10. 置物櫃出租 (APCS201810) - TCFSH CIRC JudgeAP325-d075.cpp // Author : ysh // 07/26/2022 Tue 13:54:21.92 #include<bits/stdc++.h> using namespace std; int m 2022-07-26 資訊 > 題解 > TCIRC #solution #DP