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

APCS - 11110-4-3.cpp

APCS - 11110-4-3.cppAPCS-11110-4-3.cpp // Author : ysh // 10/24/2022 Mon 10:21:43.36 #include<bits/stdc++.h> using namespace std; vector<vector<pair<int,int>>>f; vector<vector<int>>v
2022-10-24
資訊 > 題解 > APCS
#solution #binary_search #DSU #BFS

APCS - 11110-4-2.cpp

APCS - 11110-4-2.cppAPCS-11110-4-2.cpp // Author : ysh // 10/24/2022 Mon 10:21:27.02 #include<bits/stdc++.h> using namespace std; bool c = 1; const int xx[] = {-1,0,1,0}; const int yy[] =
2022-10-24
資訊 > 題解 > APCS
#solution #DP #BFS

i401. 3. 雷射測試 - 高中生程式解題系統

Zerojudge解題紀錄 i401. 3. 雷射測試 - 高中生程式解題系統Zerojudge-i401.cpp // Author : ysh // 10/23/2022 Sun 10:34:15.50 #include<bits/stdc++.h> #include<bits/extc++.h> using namespace s
2022-10-23
資訊 > 題解 > Zerojudge
#solution #map #binary_search

USACO

USACOHoof-Paper-Scissors.cpp // Author : ysh // 10/22/2022 Sat 17:14:51.38 // http://www.usaco.org/index.php?page=viewproblem2 #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #define freo
2022-10-22
資訊 > 題解 > Others
#solution #DP

洛谷 - square-game

洛谷 - square-gamesquare-game.cpp // Author : ysh // 10/22/2022 Sat 13:13:51.77 // https://www.luogu.com.cn/problem/P1129 #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #include<debug.h
2022-10-22
資訊 > 題解 > 洛谷
#solution #graph #bigraph

1069 - E.魔法部的任務 | TIOJ INFOR Online Judge

1069 - E.魔法部的任務 | TIOJ INFOR Online Judgemagical-task-2.cpp // Author : ysh // 10/21/2022 Fri 16:06:37.82 // https://tioj.ck.tp.edu.tw/problems/1069 #include<bits/stdc++.h> using namespace std; str
2022-10-21
資訊 > 題解 > TIOJ
#solution #graph #bigraph

1066 - B.惱人的零錢 | TIOJ INFOR Online Judge

1066 - B.惱人的零錢 | TIOJ INFOR Online Judgeannoying-money.cpp // Author : ysh // 10/21/2022 Fri 9:09:09.77 // https://tioj.ck.tp.edu.tw/problems/1066 #include<bits/stdc++.h> using namespace std; cons
2022-10-21
資訊 > 題解 > TIOJ
#solution #greedy

1067 - C.互質任務 | TIOJ INFOR Online Judge

1067 - C.互質任務 | TIOJ INFOR Online Judgeprime-task.cpp // Author : ysh // 10/21/2022 Fri 8:27:03.37 // https://tioj.ck.tp.edu.tw/problems/1067 #include<bits/stdc++.h> using namespace std; #define R
2022-10-21
資訊 > 題解 > TIOJ
#solution #DP

f505. 10603 - Fill - 高中生程式解題系統

Zerojudge解題紀錄 f505. 10603 - Fill - 高中生程式解題系統Zerojudge-f505.cpp // Author : ysh // 10/20/2022 Thu 9:44:27.82 #include<bits/stdc++.h> using namespace std; #ifdef LOCAL #incl
2022-10-20
資訊 > 題解 > Zerojudge
#solution #BFS

洛谷 - K's-farm

洛谷 - K’s-farmK’s-farm.cpp // Author : ysh // 10/18/2022 Tue 16:24:07.30 // https://www.luogu.com.cn/problem/P1993 #include<bits/stdc++.h> using namespace std; #include<fast> int main() {
2022-10-18
資訊 > 題解 > 洛谷
#solution #graph #difference
1…1718192021…37

搜尋

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