作者Ghost77 (vampire)
看板ACMCLUB
標題for ACM10413 and ACM10416
時間Wed Jan 15 16:45:10 2003
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