会员
周边
新闻
博问
闪存
赞助商
YouClaw
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Vivian-0918
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
7
8
···
30
下一页
2023年4月11日
ABC 297 DE
摘要: https://atcoder.jp/contests/abc297/tasks/abc297_d ###D - Count Subtractions 题目大意: 给定一个n和一个m,每次如果n>m,n-=m;如果n<m,m-=n; 问我们多少次操作才能使n=m? Sample Input 1 3
阅读全文
posted @ 2023-04-11 20:54 Vijurria
阅读(73)
评论(0)
推荐(0)
2023年4月10日
天梯赛练习题 L3-008 喊山(bfs)
摘要: 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 Vijurria
阅读(73)
评论(0)
推荐(0)
天梯赛练习题 L3-004 肿瘤诊断(bfs)
摘要: 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 Vijurria
阅读(64)
评论(0)
推荐(0)
Codeforces Round 677 (Div. 3) E. Two Round Dances(数论)
摘要: https://codeforces.com/contest/1433/problem/E 题目大意: n个人(n是偶数)跳了两轮舞,每轮舞正好有n/2个人。你的任务是找出n个人跳两轮舞的方法,如果每轮舞正好由n/2个人组成。每个人都应该属于这两种圆舞中的一种。 人相同位置不同也算是同一种方案。 i
阅读全文
posted @ 2023-04-10 19:42 Vijurria
阅读(39)
评论(0)
推荐(0)
2023年4月9日
AcWing 第 98 场周赛 ABC
摘要: 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 Vijurria
阅读(23)
评论(0)
推荐(0)
2023年4月6日
牛客小白月赛63 ABCD
摘要: 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 Vijurria
阅读(30)
评论(0)
推荐(0)
2023年4月5日
牛客小白月赛61 ABCE*
摘要: 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 Vijurria
阅读(22)
评论(0)
推荐(0)
Codeforces Round 640 (Div. 4) ABCDEFG
摘要: https://codeforces.com/contest/1352 不知道怎么的复制过来的代码容易歪,观看效果可能不大好。 这场古早div4,大题极其友好,除了E卡空间卡到我爆炸,别的都体验感极好。 ###A. Sum of Round Numbers #include<bits/stdc++.
阅读全文
posted @ 2023-04-05 16:40 Vijurria
阅读(30)
评论(0)
推荐(0)
2023年4月4日
Codeforces Round 717 (Div. 2) B. AGAGA XOOORRR(位运算)
摘要: https://codeforces.com/contest/1516/problem/B 题目大意: 给定长度为n的数组a,问我们能不能一直选择两个相邻的元素进行异或后,删除这两个值,把异或值留下来, 最后剩下>=2个数字,它们都是相同的? 可以做到输出YES,不能的话输出NO。 input 2
阅读全文
posted @ 2023-04-04 17:35 Vijurria
阅读(42)
评论(0)
推荐(0)
牛客小白月赛62 ABC
摘要: 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 Vijurria
阅读(28)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
7
8
···
30
下一页
公告