結果
| 問題 | No.3677 Global Checksum |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2026-09-04 23:16:11 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 313 bytes |
| 記録 | |
| コンパイル時間 | 346 ms |
| コンパイル使用メモリ | 95,948 KB |
| 実行使用メモリ | 277,656 KB |
| 最終ジャッジ日時 | 2026-09-04 23:16:33 |
| 合計ジャッジ時間 | 4,452 ms |
|
ジャッジサーバーID (参考情報) |
judge4_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 TLE * 1 -- * 7 |
ソースコード
from sys import stdin
input = stdin.readline
H, W = map(int, input().split())
A = [input().rstrip("\n") for _ in range(H)]
for i in range(H):
A[i] = list(map(int, A[i].split()))
B = [sum(a) for a in A]
SUM = sum(B)
ans = []
for i in range(H):
ans.append(str((B[i]+SUM)%(1<<32)))
print("\n".join(ans))
detteiuu