CSES - Concert Tickets CSES - Concert TicketsConcert-Tickets.cpp // Author : ysh // 2025/03/29 Sat 19:29:12 // https://cses.fi/problemset/task/1091 #include<bits/stdc++.h> using namespace std; #include<slow> int main( 2025-03-29 資訊 > 題解 > CSES #solution #binary_search #sort
CSES - Ferris Wheel CSES - Ferris WheelFerris-Wheel.cpp // Author : ysh // 2025/03/29 Sat 19:13:34 // https://cses.fi/problemset/task/1090 #include<bits/stdc++.h> using namespace std; #include<slow> int main() 2025-03-29 資訊 > 題解 > CSES #solution #sort
CSES - Apartments CSES - ApartmentsApartments.cpp // Author : ysh // 2025/03/29 Sat 18:59:39 // https://cses.fi/problemset/task/1084 #include<bits/stdc++.h> using namespace std; #include<slow> int main() { 2025-03-29 資訊 > 題解 > CSES #solution #sort #two-pointer
CSES - Distinct Numbers CSES - Distinct NumbersDistinct-Numbers.cpp // Author : ysh // 2025/03/29 Sat 18:55:24 // https://cses.fi/problemset/task/1621 #include<bits/stdc++.h> using namespace std; #include<slow> int mai 2025-03-29 資訊 > 題解 > CSES #solution #sort
Codeforces - Variety-is-Discouraged Codeforces - Variety-is-DiscouragedVariety-is-Discouraged.cpp // Author : ysh // 2025/02/21 Fri 20:16:51 // https://codeforces.com/contest/2064/problem/B #include<bits/stdc++.h> using namespace std 2025-02-21 資訊 > 題解 > Codeforces #solution #greedy
CSES - Shortest Routes I CSES - Shortest Routes IShortest-Routes-I-2.cpp // Author : ysh // 2025/01/24 Fri 11:34:54 // https://cses.fi/problemset/task/1671 #include<bits/stdc++.h> using namespace std; #define int long long 2025-01-24 資訊 > 題解 > CSES #solution #graph #Dijkstra
a259. 10917 - A Walk Through the Forest - 高中生程式解題系統 本題被回報為卡常題,問題著重於與主要演算法無關的壓常,做題前請三思並請勿花費不必要的時間於此處。 Zerojudge解題紀錄 a259. 10917 - A Walk Through the Forest - 高中生程式解題系統Zerojudge-a259.cpp // Author : ysh // 2024-12-05 資訊 > 題解 > Zerojudge #solution #DP #graph #Dijkstra
Codeforces - Making-a-String Codeforces - Making-a-StringMaking-a-String.cpp // Author : ysh // 2024/11/06 Wed 23:26:28 // https://codeforces.com/contest/624/problem/B #include<bits/stdc++.h> using namespace std; int main() 2024-11-06 資訊 > 題解 > Codeforces #solution #greedy
D - Bonus EXP D - Bonus EXPBonus-EXP.cpp // Author : ysh // 2024/09/08 Sun 20:27:40 // https://atcoder.jp/contests/abc369/tasks/abc369_d #include<bits/stdc++.h> using namespace std; #define int long long signed 2024-09-08 資訊 > 題解 > AtCoder #solution #DP
C - Count Arithmetic Subarrays C - Count Arithmetic SubarraysCount-Arithmetic-Subarrays.py # Author : ysh # 2024/09/08 Sun 20:19:49 # https://atcoder.jp/contests/abc369/tasks/abc369_c n = int(input()) f = [int(i) for i in input().s 2024-09-08 資訊 > 題解 > AtCoder #solution #two-pointer