上一页 1 2 3 4 5 6 7 8 ··· 30 下一页
摘要: 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) 编辑
摘要: https://www.acwing.com/activity/content/competition/problem_list/3128/ ###4947. 大整数 题目大意: 给定n,k。输出n个k。 输入样例: 3 2 输出样例: 222 #include<bits/stdc++.h> usi 阅读全文
posted @ 2023-04-09 20:52 高尔赛凡尔娟 阅读(6) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/49030 这套题目质量挺好的,E过了200+,状态不佳,改天补补 ###A-子序列的权值最小值 输入 6 1 1 4 5 1 4 输出 0 #include<bits/stdc++.h> using namespace std 阅读全文
posted @ 2023-04-06 20:29 高尔赛凡尔娟 阅读(10) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/46597 ###A-超市里扫货 #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<LL,LL> PII; const 阅读全文
posted @ 2023-04-05 19:33 高尔赛凡尔娟 阅读(4) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1352 不知道怎么的复制过来的代码容易歪,观看效果可能不大好。 这场古早div4,大题极其友好,除了E卡空间卡到我爆炸,别的都体验感极好。 ###A. Sum of Round Numbers #include<bits/stdc++. 阅读全文
posted @ 2023-04-05 16:40 高尔赛凡尔娟 阅读(7) 评论(0) 推荐(0) 编辑
摘要: https://codeforces.com/contest/1516/problem/B 题目大意: 给定长度为n的数组a,问我们能不能一直选择两个相邻的元素进行异或后,删除这两个值,把异或值留下来, 最后剩下>=2个数字,它们都是相同的? 可以做到输出YES,不能的话输出NO。 input 2 阅读全文
posted @ 2023-04-04 17:35 高尔赛凡尔娟 阅读(12) 评论(0) 推荐(0) 编辑
摘要: https://ac.nowcoder.com/acm/contest/47266#question ###A-幼稚园的树 输入 2 6 1 10 100 200 120 230 5 230 200 7 5 1 2 3 4 5 10 5 2 1 输出 31 40 130 230 150 225 1 阅读全文
posted @ 2023-04-04 10:41 高尔赛凡尔娟 阅读(6) 评论(0) 推荐(0) 编辑
摘要: https://atcoder.jp/contests/abc296 ###A - Alternately #include<bits/stdc++.h> using namespace std; typedef long long LL; typedef pair<LL,LL> PII; cons 阅读全文
posted @ 2023-04-01 23:31 高尔赛凡尔娟 阅读(25) 评论(0) 推荐(0) 编辑
摘要: https://www.acwing.com/activity/content/competition/problem_list/3088/ 果然绩点成绩和竞赛水平总得寄一个(to me ###4944. 热身计算 #include<bits/stdc++.h> using namespace st 阅读全文
posted @ 2023-04-01 21:20 高尔赛凡尔娟 阅读(6) 评论(0) 推荐(0) 编辑
上一页 1 2 3 4 5 6 7 8 ··· 30 下一页