Input a rectangular matrix of M×N integers (0…999), line by line. Determine M and N, transpose matrix and output it line by line using «"%3d"» format.

918 707 260 475 180 691
78 96 744 955 192 703
619 848 745 920 505 474
254 179 418 335 842 312
150 122 577 574 85 966
852 40 500 123 200 690
328 542 277 583 352 412
22 541 940 60 125 452
132 592 315 309 420 888

918  78 619 254 150 852 328  22 132
707  96 848 179 122  40 542 541 592
260 744 745 418 577 500 277 940 315
475 955 920 335 574 123 583  60 309
180 192 505 842  85 200 352 125 420
691 703 474 312 966 690 412 452 888


CategoryHomework

HSE/ProgrammingOS/Homework_TransArray (последним исправлял пользователь FrBrGeorge 2020-03-05 20:11:35)