整数 n が与えられた時、以下の様な1と0を含むn×nの行列を作成しましょう。a(1,1) は1にする必要があります。
例:
入力 n = 5 出力 a が [1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1 0 1]
日本語での出題ありがとうございます(うれし涙)
Similar Triangles - find the height of the tree
156 Solvers
165 Solvers
07 - Common functions and indexing 5
255 Solvers
Back to basics - mean of corner elements of a matrix
236 Solvers
283 Solvers