![](https://img-blog.csdnimg.cn/20201014180756738.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
思维
henucyt
这个作者很懒,什么都没留下…
展开
-
CodeForces - 1000C Covered Points Count
You are given n segments on a coordinate line; each endpoint of every segment has integer coordinates. Some segments can degenerate to points. Segments can intersect with each other, be nested in eac...原创 2018-08-06 14:21:15 · 189 阅读 · 0 评论 -
CodeForces ~ 1000B ~ Light It Up(思维,贪心,模拟)
题目链接 Recently, you bought a brand new smart lamp with programming features. At first, you set up a schedule to the lamp. Every day it will turn power on at moment 0 and turn power off at moment M. Mor...原创 2018-08-07 17:24:34 · 438 阅读 · 4 评论 -
【牛客国庆集训派对Day1】New Game!
题目链接 L1 到 L2 之间连边权值 |C1−C2| / √ A2+B2 线 L 与圆 i 之间连边权值 max(0, d(Oi , L1) − ri) 圆 i 与圆 j 之间连边权值 max(0, d(Oi , Oj ) − ri − rj ) 求 L1 到 L2 的最短路即可。 #include<bits/stdc++.h> #define ios1 ios::...原创 2019-01-19 09:54:14 · 211 阅读 · 0 评论