Answer the question
In order to leave comments, you need to log in
Answer the question
In order to leave comments, you need to log in
It is possible to try to make a recursion, but it will be a rigid crutch.
What is the purpose of such logic?
Everything is just int[][] a;
a[0][0] = 1;
...
A two-dimensional array. And so any dimension.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question