Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
122269 赵乘浩 外围元素之和 Python3 Wrong Answer 37 MS 3768 KB 275 2025-06-15 09:49:14

Tests(0/10):


Code:

m,n=input().split() m,n=int(m),int(n) x=0 ; y=0 a=[] for i in range(m+1): t=input().split() a.append(t) for i in range(m+1): for i in range(n+1): if i == 0 or i == m - 1 or j == 0 or j == n - 1: s = s + int(a[i][j]) print(s)


Run Info:

------Input------
1 10 9 0 4 4 7 7 9 4 6 4
------Answer-----
54
------Your output-----