結果

問題 No.3430 Flip the Grid
コンテスト
ユーザー teamcats
提出日時 2026-01-11 14:46:06
言語 PyPy3
(7.3.17)
結果
WA  
実行時間 -
コード長 170 bytes
記録
記録タグの例:
初AC ショートコード 純ショートコード 純主流ショートコード 最速実行時間
コンパイル時間 265 ms
コンパイル使用メモリ 82,488 KB
実行使用メモリ 111,588 KB
最終ジャッジ日時 2026-01-11 14:46:10
合計ジャッジ時間 3,587 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 1 WA * 9
権限があれば一括ダウンロードができます

ソースコード

diff #
raw source code

h, w = map(int, input().split())
A = []
for i in range(h):
    A.append(list(map(int, input().split())))
now = 0
for i in range(min(h, w)):
    now += A[i][i]
print(now)
0