看板 ACMCLUB 關於我們 聯絡資訊
10413 for each k ( the circle length )(it have a range, but I forget it) We should calculate how many days each two barbarians first meet, using the mod formula to solve it. If the result less than or equal to the min(life of a,life of b) then the k is wrong, try next k 10416 I use the relation of each pair of points and axis of symmetric. That is simple. -- ※ 發信站: 批踢踢實業坊(ptt.csie.ntu.edu.tw) ◆ From: 140.112.249.215