I had to enter every element. Can't i input like the one shown in attached image?
Answered

Please sign in to leave a comment.
Please clarify what you are trying to do.
For example if i want to enter a 2d array containing 81 elements i had to enter every single element can't i just copy the test case like shown in image and run it?
Like the online compiler ide.geeksforgeeks.org provide the input pallete like this where we can just copy the test case like this and we can run it.
Write a code that will read and parse it from a file.