CODE FESTIVAL 2016 Relay: A - 合成抵抗 / Equivalent Resistance date: 2016-11-30 see also: https://beta.atcoder.jp/contests/cf16-relay-open/tasks/relay_a 同一コードで最短タイ。 <>=~$";print$`*$'/($`+$')