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

d799. 区间求和 - 高中生程式解題系統

Zerojudge解題紀錄 d799. 区间求和 - 高中生程式解題系統Zerojudge-d799-3.cpp // Author : ysh // 12/07/2022 Wed 12:54:30.08 #include<bits/stdc++.h> using namespace std; struct tree{ ve
2022-12-07
資訊 > 題解 > Zerojudge
#solution #BIT

Codeforces - Mouse-Hunt

Codeforces出處 Educational Codeforces Round 49 (Rated for Div. 2)難度 1700標籤 dfs and similar graphs *1700 Codeforces - Mouse-HuntMouse-Hunt.cpp // Author : ysh // 12/07/2022
2022-12-07
資訊 > 題解 > Codeforces
#solution #DFS

1175 - Longest Increasing Subsequence | TIOJ INFOR Online Judge

1175 - Longest Increasing Subsequence | TIOJ INFOR Online JudgeTIOJ-1175.cpp // Author : ysh // 12/07/2022 Wed 11:27:02.80 // https://tioj.ck.tp.edu.tw/problems/1175 #include<bits/stdc++.h> using n
2022-12-07
資訊 > 題解 > TIOJ
#solution #DP

d539. 區間 MAX - 高中生程式解題系統

Zerojudge解題紀錄 d539. 區間 MAX - 高中生程式解題系統Zerojudge-d539-7.cpp // Author : ysh // 12/07/2022 Wed 9:10:36.25 #include<bits/stdc++.h> using namespace std; #define N 500000 int m
2022-12-07
資訊 > 題解 > Zerojudge
#solution #sqrt

微積分上課筆記5

段考範圍 羅畢達定理 when $f(x)$ and $g(x)$ are differentiable and $g’(a)\neq 0$,thenif $\displaystyle \lim_{x \rightarrow a} f(x) = 0$ $\displaystyle \lim_{x \rightarrow a} g(x) = 0$ (or
2022-12-05
數學 > 上課筆記
#math #calculus

Codeforces - Multi-Colored-Segments

Codeforces出處 Codeforces Round 826 (Div. 3)難度 2000標籤 binary search data structures math sortings *2000 Codeforces - Multi-Colored-SegmentsMulti-Colored-Segments.cpp // A
2022-12-03
資訊 > 題解 > Codeforces
#solution #seg_tree #offline

2022.11 TOI 潛力組題解

因為感覺沒甚麼人在寫TOI練習賽題解,而且為了拯救快變成修課筆記的競程筆記,想說來寫看看 Cycleproblem給定一有向圖,求能夠到達任一環路的所有點集合。 solution開一個陣列倒著記錄每一個有向邊。再用一個陣列記錄入度,跑一次拓樸排序,剩下入度不為0的點即是環路及可到達環路的點(因為是倒著紀錄)。 code code //
2022-12-02
資訊 > 題解
#algo #solution #exam

CSES - Hotel Queries

CSES - Hotel QueriesHotel-Queries.cpp // Author : ysh // 11/29/2022 Tue 17:06:04.59 // https://cses.fi/problemset/task/1143 #include<bits/stdc++.h> using namespace std; struct box{ int x;
2022-11-29
資訊 > 題解 > CSES
#solution #binary_search #seg_tree

CSES - Forest Queries

CSES - Forest QueriesForest-Queries.cpp // Author : ysh // 11/29/2022 Tue 16:56:30.75 // https://cses.fi/problemset/task/1652 #include<bits/stdc++.h> using namespace std; int main() { ios:
2022-11-29
資訊 > 題解 > CSES
#solution #DP

Codeforces - Doremy's-Pegging-Game

Codeforces出處 Codeforces Global Round 24難度 2000標籤 combinatorics dp math *2000 Codeforces - Doremy’s-Pegging-GameDoremy’s-Pegging-Game.cpp // Author : ysh // 11/28/2022 Mo
2022-11-28
資訊 > 題解 > Codeforces
#math #solution
1…1314151617…37

搜尋

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