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

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

Codeforces - Frog

Codeforces - FrogFrog.py # Author : ysh # 2024/08/15 Thu 00:13:58 # https://codeforces.com/group/j50SrY6hsZ/contest/542817/problem/A R = 10 ** 9 + 7 def check(a: int,b: int) -> int: if b == 0: re
2024-08-15
資訊 > 題解 > Codeforces
#math #solution #fast-power

b966. 3. 線段覆蓋長度 - 高中生程式解題系統

Zerojudge解題紀錄 b966. 3. 線段覆蓋長度 - 高中生程式解題系統Zerojudge-b966-4.cpp // Author : ysh // 2024/04/10 Wed 21:24:51 #include<bits/stdc++.h> using namespace std; int main() {
2024-04-10
資訊 > 題解 > Zerojudge
#solution #sweep-line #sort

Codeforces - Nearly-Shortest-Repeating-Substring

Codeforces - Nearly-Shortest-Repeating-SubstringNearly-Shortest-Repeating-Substring.cpp // Author : ysh // 2024/04/01 Mon 20:30:14 // https://codeforces.com/contest/1950/problem/E #include<bits/std
2024-04-01
資訊 > 題解 > Codeforces
#solution #prime

n414. 不便利指數 (Index) - 高中生程式解題系統

Zerojudge解題紀錄 n414. 不便利指數 (Index) - 高中生程式解題系統Zerojudge-n414.cpp // Author : ysh // 2024/03/30 Sat 12:21:02 #include<bits/stdc++.h> using namespace std; #include<slow> co
2024-03-30
資訊 > 題解 > Zerojudge
#solution #BFS

n362. 質數遊戲 (Primes) - 高中生程式解題系統

Zerojudge解題紀錄 n362. 質數遊戲 (Primes) - 高中生程式解題系統Zerojudge-n362.cpp // Author : ysh // 2024/03/30 Sat 12:07:20 #include<bits/stdc++.h> using namespace std; const int R = 1e5; b
2024-03-30
資訊 > 題解 > Zerojudge
#solution #prime

Codeforces - Unordered-Subsequence

Codeforces出處 Codeforces Beta Round 27 (Codeforces format, Div. 2)難度 1900標籤 constructive algorithms greedy *1900 Codeforces - Unordered-SubsequenceUnordered-Subsequence.cp
2024-03-19
資訊 > 題解 > Codeforces
#solution #binary_search

CSES - Coin Combinations I

CSES - Coin Combinations ICoin-Combinations-I.cpp // Author : ysh // 2024/03/10 Sun 20:59:26 // https://cses.fi/problemset/task/1635 #include<bits/stdc++.h> using namespace std; const int R = int(1
2024-03-10
資訊 > 題解 > CSES
#solution #DP

Codeforces - Vlad-and-a-Sum-of-Sum-of-Digits

Codeforces - Vlad-and-a-Sum-of-Sum-of-DigitsVlad-and-a-Sum-of-Sum-of-Digits.cpp // Author : ysh // 2024/02/20 Tue 09:35:35 // https://codeforces.com/contest/1926/problem/C #include<bits/stdc++.h> u
2024-02-20
資訊 > 題解 > Codeforces
#solution #DP
123456…38

搜尋

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