ysh's blog
  • 首頁
  • 庫存
  • 分類
  • 標籤
  • 關於
  •   
  •   

Codeforces - Tracking-Segments

Codeforces - Tracking-SegmentsTracking-Segments.cpp // Author : ysh // 2023/06/21 Wed 08:13:45 // https://codeforces.com/contest/1843/problem/E #include<bits/stdc++.h> using namespace std; #ifdef L
2023-06-21
資訊 > 題解 > Codeforces
#solution #pref #binary_search

Codeforces - Apple-Tree

Codeforces出處 Codeforces Round 881 (Div. 3)難度 1200標籤 combinatorics dfs and similar dp math trees *1200 Codeforces - Apple-TreeApple-Tree.cpp // Author : ysh // 2023/06/
2023-06-21
資訊 > 題解 > Codeforces
#solution #DFS

e999. 2. 巨額獎金(Bonus) - 高中生程式解題系統

Zerojudge解題紀錄 e999. 2. 巨額獎金(Bonus) - 高中生程式解題系統Zerojudge-e999.cpp // Author : ysh // 06/16/2023 Fri 20:52:01.71 #include<bits/stdc++.h> using namespace std; int main() {
2023-06-16
資訊 > 題解 > Zerojudge
#solution #DP #graph #DAG

Codeforces - Copying-Data

Codeforces出處 Croc Champ 2013 - Round 1難度 1900標籤 data structures *1900 Codeforces - Copying-DataCopying-Data.cpp // Author : ysh // 06/06/2023 Tue 10:37:34.93 // https://co
2023-06-06
資訊 > 題解 > Codeforces
#solution #seg_tree

Codeforces - Walk-the-Runway

Codeforces出處 Codeforces Round 870 (Div. 2)難度 2400標籤 bitmasks brute force data structures dp graphs implementation sortings *2400 Codeforces - Walk-the-RunwayWalk-the
2023-05-08
資訊 > 題解 > Codeforces
#solution #DP #graph #DAG #bitset

e828. 3.猴子打字遊戲 (Typing) - 高中生程式解題系統

Zerojudge解題紀錄 e828. 3.猴子打字遊戲 (Typing) - 高中生程式解題系統Zerojudge-e828.cpp // Author : ysh // 05/05/2023 Fri 8:35:29.62 #include<bits/stdc++.h> using namespace std; int check(str
2023-05-05
資訊 > 題解 > Zerojudge
#solution #DP

d067. P-6-2. 不連續的表演酬勞 - TCFSH CIRC Judge

TCIRC解題紀錄 d067. P-6-2. 不連續的表演酬勞 - TCFSH CIRC JudgeAP325-d067-7.cpp // Author : ysh // 05/02/2023 Tue 23:48:53.28 // https://judge.tcirc.tw/ShowProblem?problemid=b036 #include&
2023-05-02
資訊 > 題解 > TCIRC
#solution #DC

2023.04 TOI 潛力組題解

Repo我終於把專題趕完ㄌ(灑花 A.Icebreakerproblem給你一堆關係,請你分成兩組,問怎麼分可以讓每一組中的任兩個人沒有關係。 solution簡而言之又是個二分圖問題,但這題不需要複雜的演算法,直接DFS就可以ㄌ走到一個點,如果之前沒經過,就幫他上跟父節點相反的顏色(總共只有兩種顏色),但如果之前有經過,就會有兩種情況: 顏色正常(跟父節點相反) 顏色錯誤(跟父節點相同)對於第
2023-04-25
資訊 > 題解
#algo #solution #exam

b048. $ y = a + b $ - TCFSH CIRC Judge

TCIRC解題紀錄 b048. $ y = a + b $ - TCFSH CIRC Judgetcirc-b048.cpp // Author : ysh // 03/14/2023 Tue 11:50:36.68 // https://judge.tcirc.tw/ShowProblem?problemid=b048 #include
2023-03-14
資訊 > 題解 > TCIRC
#solution #two-pointer

d114. Q-8-12. 佔領連續的城鎮 - TCFSH CIRC Judge

TCIRC解題紀錄 d114. Q-8-12. 佔領連續的城鎮 - TCFSH CIRC JudgeAP325-d114.cpp // Author : ysh // 03/06/2023 Mon 13:00:21.81 // https://judge.tcirc.tw/ShowProblem?problemid=d114 #include<
2023-03-06
資訊 > 題解 > TCIRC
#solution #DP #tree
1…45678…35

搜尋

Hexo Fluid
總訪問量 次 總訪客數 人