D - Small Multiple D - Small MultipleSmall-Multiple.cpp // Author : ysh // 2025/05/22 Thu 10:28:37 // https://atcoder.jp/contests/arc084/tasks/arc084_b #include<bits/stdc++.h> using namespace std; int main() { 2025-05-22 資訊 > 題解 > AtCoder #solution #graph #Dijkstra #mod #mod_shortest_path
洛谷 - Jumping-Machine 洛谷 - Jumping-MachineJumping-Machine.cpp // Author : ysh // 2025/05/21 Wed 23:30:29 // https://www.luogu.com.cn/problem/P3403 #include<bits/stdc++.h> using namespace std; #include<slow> #define i 2025-05-21 資訊 > 題解 > 洛谷 #solution #graph #Dijkstra #mod #mod_shortest_path
RACING - UVA 1234 - Virtual Judge RACING - UVA 1234 - Virtual JudgeRacing.cpp // Author : ysh // 2025/05/21 Wed 00:39:55 // https://vjudge.net/problem/UVA-1234 #include<bits/stdc++.h> using namespace std; #include<slow> vc<in 2025-05-21 資訊 > 題解 > Others #solution #greedy #graph #tree
Perfect P-th Powers - UVA 10622 - Virtual Judge Perfect P-th Powers - UVA 10622 - Virtual JudgePerfect-P-th-Powers.cpp // Author : ysh // 2025/04/23 Wed 13:07:44 // https://vjudge.net/problem/UVA-10622 #include<bits/stdc++.h> using namespace std 2025-04-23 資訊 > 題解 > Others #solution #prime
Minimum Sum LCM - UVA 10791 - Virtual Judge Minimum Sum LCM - UVA 10791 - Virtual JudgeMinimum-Sum-LCM.cpp // Author : ysh // 2025/04/12 Sat 22:40:16 // https://vjudge.net/problem/UVA-10791 #include<bits/stdc++.h> using namespace std; #ifdef 2025-04-12 資訊 > 題解 > Others #solution #prime
Colossal Fibonacci Numbers! - UVA 11582 - Virtual Judge Colossal Fibonacci Numbers! - UVA 11582 - Virtual JudgeUVa-11582.cpp // Author : ysh // 2025/04/12 Sat 21:26:13 // https://vjudge.net/problem/UVA-11582 #include<bits/stdc++.h> using namespace std; 2025-04-12 資訊 > 題解 > Others #solution #fast-power #fib
Codeforces - Arcology-On-Permafrost Codeforces - Arcology-On-PermafrostArcology-On-Permafrost.py # Author : ysh # 2025/04/10 Thu 11:26:16 # https://codeforces.com/contest/2084/problem/D for _ in range(int(input())): a, b, c = [int(i 2025-04-10 資訊 > 題解 > Codeforces #solution #greedy
CSES - Sum of Two Values CSES - Sum of Two ValuesSum-of-Two-Values.cpp // Author : ysh // 2025/03/30 Sun 23:38:32 // https://cses.fi/problemset/task/1640 #include<bits/stdc++.h> using namespace std; #include<slow> int m 2025-03-30 資訊 > 題解 > CSES #solution #sort #two-pointer
CSES - Movie Festival CSES - Movie FestivalMovie-Festival.cpp // Author : ysh // 2025/03/29 Sat 19:58:33 // https://cses.fi/problemset/task/1629 #include<bits/stdc++.h> using namespace std; #include<slow> int main() 2025-03-29 資訊 > 題解 > CSES #solution #sort
CSES - Restaurant Customers CSES - Restaurant CustomersRestaurant-Customers-3.cpp // Author : ysh // 2025/03/29 Sat 19:34:14 // https://cses.fi/problemset/task/1619 #include<bits/stdc++.h> using namespace std; // #include< 2025-03-29 資訊 > 題解 > CSES #solution #pref