排列组合
shishiness
这个作者很懒,什么都没留下…
展开
-
pat 甲级 排列组合 A1093 Count PAT‘s (25分)
1093 Count PAT's (25分) The string APPAPT contains two PAT's as substrings. The first one is formed by the 2nd, the 4th, and the 6th characters, and the second one is formed by the 3rd, the 4th, and the 6th characters. Now given any string, you are suppos原创 2020-08-27 20:08:28 · 98 阅读 · 0 评论 -
pat 甲级 排列组合 A1104 Sum of Number Segments (20分)
1104 Sum of Number Segments (20分) Given a sequence of positive numbers, a segment is defined to be a consecutive subsequence. For example, given the sequence { 0.1, 0.2, 0.3, 0.4 }, we have 10 segments: (0.1) (0.1, 0.2) (0.1, 0.2, 0.3) (0.1, 0.2, 0.3, ...原创 2020-07-22 11:20:12 · 96 阅读 · 0 评论