洛谷 - P3812 洛谷 - P3812luogu-P3812.py # Author : ysh # 2025/08/01 Fri 23:50:33 # https://www.luogu.com.cn/problem/P3812 n = int(input()) f = [int(i) for i in input().split()] R = 61 mark = [0 for _ in range(R)] f 2025-08-01 資訊 > 題解 > 洛谷 #solution #XOR-basis
洛谷 - P3812 洛谷 - P3812luogu-P3812.cpp // Author : ysh // 2025/08/01 Fri 23:26:14 // https://www.luogu.com.cn/problem/P3812 #include<bits/stdc++.h> using namespace std; #include<slow> #define R 51 int main() 2025-08-01 資訊 > 題解 > 洛谷 #solution #XOR-basis
洛谷 - P2921 洛谷 - P2921luogu-P2921.cpp // Author : ysh // 2025/07/20 Sun 07:52:47 // https://www.luogu.com.cn/problem/P2921 #include<bits/stdc++.h> using namespace std; #include<slow> int main() { i 2025-07-20 資訊 > 題解 > 洛谷 #solution #graph #DFS
洛谷 - P1939 洛谷 - P1939luogu-P1939.cpp // Author : ysh // 2025/07/18 Fri 21:53:35 // https://www.luogu.com.cn/problem/P1939 #include<bits/stdc++.h> using namespace std; #include<slow> #include<square> #de 2025-07-18 資訊 > 題解 > 洛谷 #solution #fast-power
洛谷 - P3390 洛谷 - P3390luogu-P3390.cpp // Author : ysh // 2025/07/18 Fri 21:47:02 // https://www.luogu.com.cn/problem/P3390 #include<bits/stdc++.h> using namespace std; #include<slow> #include<square> int 2025-07-18 資訊 > 題解 > 洛谷 #solution #fast-power
洛谷 - P2661 洛谷 - P2661luogu-P2661.cpp // Author : ysh // 2025/07/18 Fri 21:14:46 // https://www.luogu.com.cn/problem/P2661 #include<bits/stdc++.h> using namespace std; #include<slow> // vc<int>color; // 2025-07-18 資訊 > 題解 > 洛谷 #solution #DFS
Codeforces - Friends-and-Subsequences Codeforces - Friends-and-SubsequencesFriends-and-Subsequences.cpp // Author : ysh // 2025/06/27 Fri 00:02:39 // https://codeforces.com/contest/689/problem/D #include<bits/stdc++.h> using namespace 2025-06-27 資訊 > 題解 > Codeforces #solution #sparse_table
Codeforces - Mike-and-Shortcuts Codeforces - Mike-and-ShortcutsMike-and-Shortcuts.cpp // Author : ysh // 2025/06/26 Thu 23:38:46 // https://codeforces.com/contest/689/problem/B #include<bits/stdc++.h> using namespace std; #includ 2025-06-26 資訊 > 題解 > Codeforces #solution #BFS
q839. 4. 分組遊戲 - 高中生程式解題系統 Zerojudge解題紀錄 q839. 4. 分組遊戲 - 高中生程式解題系統Zerojudge-q839.cpp // Author : ysh // 2025/06/18 Wed 18:24:07 #include<bits/stdc++.h> using namespace std; #include<fast> #includ 2025-06-18 資訊 > 題解 > Zerojudge #solution #greedy #graph #MST
Codeforces - Gellyfish-and-Flaming-Peony-2 Codeforces - Gellyfish-and-Flaming-Peony-2Gellyfish-and-Flaming-Peony-2.cpp // Author : ysh // 2025/06/06 Fri 09:47:24 // https://codeforces.com/contest/2116/problem/C #include<bits/stdc++.h> using 2025-06-06 資訊 > 題解 > Codeforces #solution #graph #BFS #gcd