
dp
诉说旋律
这个作者很懒,什么都没留下…
展开
-
杭电多校第5场补题 G - permutation 2
You are given three positive integersN,x,yPlease calculate how many permutations of1∼N satisfies the following conditions (We denote thei-th number of a permutation bypi):1.p1=x2.pN=y3. fo...原创 2019-08-08 15:53:59 · 233 阅读 · 0 评论 -
牛客ACM多校赛第5场 subsequence 1
链接:https://ac.nowcoder.com/acm/contest/885/G来源:牛客网You are given two strings s and t composed by digits (characters '0' ∼\sim∼ '9'). The length of s is n and the length of t is m. The first character...原创 2019-08-02 11:30:52 · 192 阅读 · 0 评论 -
AtCoder Beginner Contest 135 D - Digits Parade
链接地址:https://atcoder.jp/contests/abc135/tasks/abc135_dTime Limit: 2 sec / Memory Limit: 1024 MBScore : 400pointsProblem StatementGiven is a stringS. Each character inSis either a digit (0,...原创 2019-07-28 12:58:23 · 570 阅读 · 0 评论