AT_agc006_d [AGC006D] Median Pyramid Hard
Description
[problemUrl]: https://atcoder.jp/contests/agc006/tasks/agc006_d
$ N $ 段のピラミッドがあります。 段は上から順に $ 1 $, $ 2 $, $ ... $, $ N $ と番号が振られています。 各 $ 1\
Input Format
入力は以下の形式で標準入力から与えられる。
> $ N $ $ a_1 $ $ a_2 $ $ ... $ $ a_{2N-1} $
Output Format
$ 1 $ 段目のブロックに書き込まれた整数を出力せよ。
Explanation/Hint
### 制約
- $ 2\