| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 122276 | 潘允晨 | 外围元素之和 | C++ | Compile Error | 0 MS | 0 KB | 292 | 2025-06-15 09:53:19 |
row,col=input().split() row=int(row) col=int(col) a=[] for x in range(row): t=input().split() t=[int(x) for x in t] a.append(t) s=0 for i in range(row): for j in range(col): if i==0 or i==row-1 or j==0 or j==col-1: s=s+a[i][j] print(s)
Main.cc:1:1: error: 'row' does not name a type row,col=input().split() ^