原创 Educational Codeforces Round 79 (Rated for Div. 2) A-D
#include<bits/stdc++.h> using namespace std; const int inf = 0x3f3f3f3f; int main(){ ios::sync_with_stdio(0); cin
原创 Longest Increasing Subsequence (dp+LIS)
鏈接:https://ac.nowcoder.com/acm/contest/1110/E 來源:牛客網 時間限制:C/C++ 3秒,其他語言6秒 空間限制:C/C++ 32768K,其他語言65536K Special Judge,
原创 Codeforces Round #624 (Div. 3) F Moving Points(離散化+樹狀數組)
F. Moving Points time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard
原创 codeforces-1278D Segment Tree(亂搞)
Segment Tree time limit per test 2 seconds memory limit per test 256 megabytes input standard input output standard ou
原创 CodeForces Good Bye 2019 A-E
A. Card Game time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outp
原创 Codeforces Round #618 (Div. 2)全解
A. Non-zero time limit per test 1 second memory limit per test 256 megabytes input standard input output standard outpu
原创 HDU - 5919 (主席樹)
Sequence II Time Limit: 9000/4500 MS (Java/Others) Memory Limit: 131072/131072 K (Java/Others) Total Submission(s):
原创 上海網絡賽 J Stone game (dp)
CSL loves stone games. He has nn stones; each has a weight a_iai. CSL wants to get some stones. The rule is that the p
原创 瀋陽網絡賽 D Fish eating fruit
State Z is a underwater kingdom of the Atlantic Ocean. This country is amazing. There are nn cities in the country and
原创 上海網絡賽 F Rhyme scheme(預處理+dfs)
A rhyme scheme is the pattern of rhymes at the end of each line of a poem or song. It is usually referred to by using l
原创 反手套一波迴文樹模板加例題就很舒服
往上偷的板子,用起來蠻不錯嘿嘿嘿。 #include<bits/stdc++.h> using namespace std; const int MAXN = 300005; const int N = 26; const int MO
原创 The beautiful values of the palace 南京網絡賽A(主席樹)
Here is a square matrix of n * nn∗n, each lattice has its value (nn must be odd), and the center value is n * nn∗n. Its
原创 HDU - 6714 || 2019 百度之星初賽三 最短路 2(思維+spfa)
最短路 2 Time Limit: 6000/4000 MS (Java/Others) Memory Limit: 32768/32768 K (Java/Others) Total Submission(s): 417 A
原创 2019 CCPC - 網絡選拔賽 B array
array Time Limit: 2000/1500 MS (Java/Others) Memory Limit: 262144/262144 K (Java/Others) Total Submission(s): 97
原创 HDU - 6705 path (K短路+剪枝)
進入報名鏈接)~ path Time Limit: 2000/2000 MS (Java/Others) Memory Limit: 65536/65536 K (Java/Others) Total Submissio