Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- m, n = map(int, input().split())
- a = 0
- ai = 0
- aj = 0
- for i in range(n):
- q = list(map(int, input().split()))
- for j in range(m):
- if (q[j] > a):
- a = q[j]
- ai = i
- aj = j
- print(a)
- print(str(ai)+" "+str(aj))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement