2014-06-05から1日間の記事一覧
はい。 http://codeforces.com/contest/221 A. Little Elephant and Function ざっくりと大意 ・xが1なら関数は何もしない ・1より大きければcall f(x - 1), and then make swap(ax - 1, ax) (swap the x-th and (x - 1)-th elements of a) 方針のようなもの…
はい。 http://codeforces.com/contest/221 A. Little Elephant and Function ざっくりと大意 ・xが1なら関数は何もしない ・1より大きければcall f(x - 1), and then make swap(ax - 1, ax) (swap the x-th and (x - 1)-th elements of a) 方針のようなもの…