dfs
dfs
QAQ!
这个作者很懒,什么都没留下…
展开
专栏收录文章
- 默认排序
- 最新发布
- 最早发布
- 最多阅读
- 最少阅读
-
[Codeforces Round #660 (Div. 2)]1388
文章目录A - Captain Flint and Crew Recruitment [思维]B - Captain Flint and a Long Voyage [思维]C - Uncle Bogdan and Country Happiness [dfs] ★★D - Captain Flint and Treasure [拓扑] ★★A -竞赛首页 Codeforces Round #660 (Div. 2)A - Captain Flint and Crew Recruitment [思.原创 2020-08-15 07:48:52 · 254 阅读 · 0 评论 -
[Codeforces Round #649 (Div. 2)]1364
文章目录A - XXXXX [思维]B - Sign Flipping [思维]C - Sign Flipping [思维]A - XXXXX [思维]目录题目传送门题意有 nnn 个数的数组 a[]a[]a[],要使数组的总和%k!=0\% k != 0%k!=0可以选择删去开始的连续几个数或者删去末尾的连续几个数问这个数组满足条件的最长长度,不存在则输出 −1-1−1分析只要找到头尾最近的一个 %k!=0\% k != 0%k!=0 的数,然后扣掉这一整段的长度Code#i..原创 2020-07-07 14:16:38 · 354 阅读 · 0 评论 -
[Codeforces Round #635 (div2)]1337C - Linova and Kingdom[dfs][贪心]
1337C - Linova and Kingdom[dfsdfsdfs][贪心]time limit per testmemory limit per testinputoutput2 seconds256 megabytesstandard inputstandard outputDescription: Writing light novels is...原创 2020-04-19 13:48:35 · 309 阅读 · 0 评论 -
[Codeforces Round #628]1325F - Ehab's Last Theorem[思维+dfs树]
1325F - Ehab’s Last Theorem[思维+dfsdfsdfs树]time limit per testmemory limit per testinputoutput1 seconds256 megabytesstandard inputstandard outputDescription: It’s the year 5555. Yo...原创 2020-03-26 14:51:24 · 335 阅读 · 0 评论 -
历届试题-发现环[蓝桥杯][dfs]
发现环[dfs]time limit per testmemory limit per testinputoutput1 seconds256 megabytesstandard inputstandard outputDescription: 小明的实验室有N台电脑,编号1~N。原本这N台电脑之间有N-1条数据链接相连,恰好构成一个树形网络。在树形网络上...原创 2020-03-04 23:14:50 · 204 阅读 · 0 评论 -
历届试题-分考场[蓝桥杯][暴力dfs][着色原理]
分考场[暴力dfs]time limit per testmemory limit per testinputoutput1 seconds256 megabytesstandard inputstandard outputDescription: n个人参加某项特殊考试。为了公平,要求任何两个认识的人不能分在同一个考场。求是少需要分几个考场才能满足条...原创 2020-03-01 02:26:55 · 252 阅读 · 0 评论
分享