2014-03-13から1日間の記事一覧

UVa10466 How Far?

UVa

問題文 http://uva.onlinejudge.org/external/104/10466.html概要 一つの恒星の周りを惑星が周り、その惑星を別の惑星が衛星のように周わることが繰り返し続く惑星系がある。この惑星系で、それぞれの惑星は二次元上の円を成して周わる。N個の惑星が存在する…

UVa11559 Event Planning

UVa

問題文 http://uva.onlinejudge.org/external/115/11559.html概要 ポイントは以下 You are free to choose from a number of weekends this autumn, and have to find a suitable hotel to stay at, preferably as cheap as possible. > コストを最小にする…