We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 05ebf7a commit a01d211Copy full SHA for a01d211
1 file changed
심수연/10주차/260304.py
@@ -0,0 +1,21 @@
1
+# https://www.acmicpc.net/problem/2566
2
+
3
+import sys
4
+input = sys.stdin.readline
5
6
+graph = [list(map(int, input().split())) for _ in range(9)]
7
8
+max_value = 0
9
+row = 0
10
+col = 0
11
12
+for i in range(9):
13
+ for j in range(9):
14
+ if graph[i][j] >= max_value:
15
+ max_value = graph[i][j]
16
+ col = j + 1
17
+ row = i + 1
18
19
+print(max_value)
20
+print(row, col)
21
0 commit comments