1197

CF1197 Educational Codeforces Round 69 (Rated for Div. 2)

CF1197A DIY Wooden Ladder 答案为 \(\min(a_{n-1},n-2)\)。 #include<iostream> #include<cstdio> #include<algorithm> using namespace std; const int N=100005; ......
Educational Codeforces Round Rated 1197

CF1197D

Yet Another Subarray Problem - 洛谷 | 计算机科学教育新生态 (luogu.com.cn) 这道题是一道dp状态跟模数有关的dp,难点就是想到以模数作为dp状态之一,因为 m 很小 (这个以模数作为dp状态是真的妙!!!) 设dp[i][j]为以 i 结尾,取了若干个 ......
1197D 1197 CF
共2篇  :1/1页 首页上一页1下一页尾页