君はまるで砂漠に咲く、一輪の花。

僕はその花に引き寄せられる蝶。

2014-06-05から1日間の記事一覧

Codeforces Round #136 (Div. 2)

はい。 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) 方針のようなもの…