1344
CF1344E Train Tracks
注意到第二问并没有什么意义:我们只在必须改道的地方改道就不会变差。 那我们自然会好奇哪些时候必须改道,这个是比较显然的:对于一个点 $u$,倘若在 $t_0$ 时刻有车往 $v$ 开,$t_1$ 时刻有车往 $w$ 开,并且这两个时刻之间,没有别的开往子树内的列车,那么我们只要在 $(t_0,t_1 ......
[LeetCode] 1344. Angle Between Hands of a Clock 时钟指针的夹角
Given two numbers, `hour` and `minutes`, return *the smaller angle (in degrees) formed between the *`hour`* and the *`minute`* hand*. Answers within ` ......