会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
Think twice, code once!
人生不如意事十常一二
博客园
首页
新随笔
联系
订阅
管理
上一页
1
2
3
4
5
6
···
9
下一页
2020年7月27日
2020 Multi-University Training Contest 2(待补
摘要: 2020 Multi-University Training Contest 2 1001 Total Eclipse 思路:最后删除的是最大的点,则按从大到小排序,每次加入点,先判断其相邻点是否已加入,有就合并,每次的贡献是已加入点个数*相邻点权的差值 AC代码 #include <algorit
阅读全文
posted @ 2020-07-27 21:26 Misuchii
阅读(173)
评论(0)
推荐(0)
2020年7月25日
2020 Multi-University Training Contest 1(待补
摘要: 2020 Multi-University Training Contest 1 1004 Distinct Sub-palindromes __思路:思维题 $n<4$时,\(ans=26^n\);$n\ge4$时,\(ans=26*25*24\) __ AC代码 #include <algori
阅读全文
posted @ 2020-07-25 22:16 Misuchii
阅读(197)
评论(0)
推荐(0)
2020年3月13日
UCF Local Programming Contest 2012(Practice)
摘要: __ "UCF Local Programming Contest 2012(Practice)" __ __ "A. Wall Street Monopoly" __ __思路:$cost = cost[i][j]+cost[j+1][j+i]+100 min(len[j][j],dep[j][j
阅读全文
posted @ 2020-03-13 11:59 Misuchii
阅读(191)
评论(0)
推荐(0)
ICPC North Central NA Contest 2017
摘要: __ "ICPC North Central NA Contest 2017" __ __ "C. Urban Design" __ __思路:用直线的一般式判断两直线相交 通过奇偶性判断是否在同一区域__ AC代码
阅读全文
posted @ 2020-03-13 11:58 Misuchii
阅读(214)
评论(0)
推荐(0)
UCF Local Programming Contest 2015
摘要: __ "UCF Local Programming Contest 2015" __ __ "A. Find the Twins" __ __思路:水题__ AC代码
阅读全文
posted @ 2020-03-13 11:57 Misuchii
阅读(230)
评论(0)
推荐(0)
CTU Open Contest 2019
摘要: __ "CTU Open Contest 2019" __ __ "A. Beer Barrels" __ __思路:$ans=\sum_{i=0}^k{i C(k,i)}$ 注意$a!=c \&\& b!=c$还有$(a==c \&\& b==c)$的情况__ AC代码 __ "F. Beer M
阅读全文
posted @ 2020-03-13 11:55 Misuchii
阅读(215)
评论(0)
推荐(0)
2020 CDUT寒假集训第一场(思维+dp专场)
摘要: __ "2020 CDUT寒假集训第一场(思维+dp专场)" __ __ "A Vasya and Golden Ticket" __ __思路:暴力__ AC代码
阅读全文
posted @ 2020-03-13 11:52 Misuchii
阅读(173)
评论(0)
推荐(0)
2019年12月4日
Codeforces Round #603 (Div. 2)
摘要: __ "Codeforces Round 603 (Div. 2)" __ __ "A. Sweet Problem" __ __思路:水题 当时有点降智 贡献一发wa__ AC代码
阅读全文
posted @ 2019-12-04 15:51 Misuchii
阅读(197)
评论(0)
推荐(0)
2019年12月1日
Educational Codeforces Round 77 (Rated for Div. 2)
摘要: __ "Educational Codeforces Round 77 (Rated for Div. 2)" __ __ "A. Heating" __ __思路:水题__ AC代码
阅读全文
posted @ 2019-12-01 11:40 Misuchii
阅读(189)
评论(0)
推荐(0)
2019年11月26日
Codeforces Round #585 (Div. 2)
摘要: __ "Codeforces Round 585 (Div. 2)" __ __ "A. Yellow Cards" __ __思路:水题__ AC代码
阅读全文
posted @ 2019-11-26 12:20 Misuchii
阅读(134)
评论(0)
推荐(0)
上一页
1
2
3
4
5
6
···
9
下一页
公告