摘要: https://pintia.cn/problem-sets/994805046380707840/exam/problems/994805050709229568 输入样例: 7 5 4 1 2 2 3 3 1 4 5 5 6 1 4 5 7 输出样例: 2 6 4 0 #include<bits 阅读全文
posted @ 2023-04-10 21:23 高尔赛凡尔娟 阅读(47) 评论(0) 推荐(0) 编辑
摘要: https://pintia.cn/problem-sets/994805046380707840/exam/problems/994805052626026496 输入样例: 3 4 5 2 1 1 1 1 1 1 1 1 1 1 1 1 0 0 1 1 0 0 1 1 0 0 1 1 1 0 1 阅读全文
posted @ 2023-04-10 20:39 高尔赛凡尔娟 阅读(54) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1433/problem/E 题目大意: n个人(n是偶数)跳了两轮舞,每轮舞正好有n/2个人。你的任务是找出n个人跳两轮舞的方法,如果每轮舞正好由n/2个人组成。每个人都应该属于这两种圆舞中的一种。 人相同位置不同也算是同一种方案。 i 阅读全文
posted @ 2023-04-10 19:42 高尔赛凡尔娟 阅读(15) 评论(0) 推荐(0) 编辑