定義されたISO用紙サイズ:
Aシリーズの用紙サイズは、次の要件によって定義されます。
The length divided by the width is the square root of 2.
The A0 size has an area of 1 unit.
Each subsequent size A(n) is defined as A(n-1) cut in half parallel to its shorter sides.
仕事:
細分化f[n]された入力A0が与えられますn。
テストケース:
f[1]にf[12]:
ここで、A0はで与えられますが f[1]、このインデックスは必須ではありません。
受賞基準:
バイト単位の最短コードが優先されます。
@JungHwanMinが調整されました
—
martin



f[2]ありませんA0か?つまり、f[2]実際にテストケースではありませんf[3]か?