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

Answered

0
4 comments

Please clarify what you are trying to do.

0
Avatar
Permanently deleted user

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?

 

0
Avatar
Permanently deleted user

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.

 

0

Write a code that will read and parse it from a file.

1

Please sign in to leave a comment.