
往届区域赛练习
SwustLpf
长得帅~~~
展开
-
2014广州站
I-Little Zu Chongzhi’s TrianglesI-Little Zu Chongzhi’s Triangles题目链接:http://acm.hdu.edu.cn/showproblem.php?pid=5135 这题贪心是错的,但是数据有点水,阔以过,但这组数据就不得行: input: 5 51 13 40 92 45 0 output: ...原创 2018-09-07 09:59:14 · 204 阅读 · 0 评论 -
2014西安站
F - ColorF - Color题目链接:http://codeforces.com/gym/100548/attachments 题意:给 NNN 个位置填颜色,且相邻的位置不能填同样的颜色,有 MMM 种颜色阔以选,问填 KKK 种颜色的方案数我也不是很懂怎么容斥的T_T,大概就是说: 选出的这 KKK 种颜色,可能有 000 种不填,可能有 111 种不...原创 2018-08-30 21:52:20 · 178 阅读 · 0 评论