Tenka1 Programmer Beginner Contestが開始されました。
Tenka1 Programmer Beginner Contestは終了しました。
Range of N ?
「N に対して h,n,w≤3500 となる解が存在することが保証される。」以外の制約はありません。 ----- There is no constraint other than "It is guaranteed that, for the given integer N, there exists a solution such that h,n,w≤3500."