Skip to content

Commit b0fea23

Browse files
authored
Create Day 30 Which row is bigger?
1 parent 773ad83 commit b0fea23

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

Day 30 Which row is bigger?

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
''' Read input from STDIN. Print your output to STDOUT '''
2+
#Use input() to read input from STDIN and use print to write your output to STDOUT
3+
4+
5+
def main():
6+
row, col = map(int,input().split())
7+
mat = []
8+
max=0
9+
for i in range(row):
10+
arr = list(map(int,input().split()))
11+
if sum(arr)>max:
12+
max = sum(arr)
13+
rowid = i+1
14+
print("Row",rowid,end='')
15+
16+
main()

0 commit comments

Comments
 (0)