-->
当前位置:首页 > 题库

PROGRAMMING:Yidao 99999

Luz5年前 (2021-05-10)题库374
Unique attributes, created by you.
Single boss, fury brush equipment.
PK, the winner is the king.
Dragon killing sword, click to send.
(how much did Tu Long Bao Dao give you for advertising? I'll pay double for playing blue moon.)
When Lao Wang was doing drama in his bedroom, he always saw such a strong advertisement, so he tried it for a while and indulged in it.
Now I've finished brushing a boss, and I've got a lot of equipment (n rows and m columns). The game manager asked him to select one of the rows or one of the columns
Bei found it in his backpack. Each piece of equipment has its own value V (0 < V < 1000)
###Input format:
Enter two integers n, m in the first line (0 < n, m < = 10)
Next, enter the matrix of N rows and m columns, and the total number of n * m represents the respective value V of the equipment.
###Output format:
Select the maximum value of one of the rows or columns.
###Input example:
Here is a set of inputs. For example:
```in
7 4
532 517 102 80
907 525 829 84
635 629 682 921
964 304 642 364
16 717 898 53
264 824 751 558
92 496 963 277
2 7
333 743 632 559 27 40 323
149 925 703 953 427 76 161
```
The corresponding output is given here. For example:
```out
four thousand eight hundred and sixty-seven
three thousand three hundred and ninety-four
```







answer:If there is no answer, please comment