結果
| 問題 | No.3677 Global Checksum |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-04 23:12:40 |
| 言語 | PyPy3 (7.3.23) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 696 bytes |
| 記録 | |
| コンパイル時間 | 228 ms |
| コンパイル使用メモリ | 95,948 KB |
| 実行使用メモリ | 164,148 KB |
| 最終ジャッジ日時 | 2026-09-04 23:13:01 |
| 合計ジャッジ時間 | 4,290 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 TLE * 1 -- * 7 |
ソースコード
# https://github.com/tyuyu-62/cp-library
def II(): return int(input())
def LI(dec=0): return [int(x) - dec for x in input().split()]
def SI(): return input()
def LS(): return list(input().split())
mod = 998244353
inf = 2002002002002002002
_buf = []
def print(*args, sep=" "): _buf.append(sep.join(map(str, args)))
import io, os, sys
input = io.BytesIO(os.read(0, os.fstat(0).st_size)).readline
def solve():
mask = 2 ** 32 - 1
H, W = LI()
S = [sum(LI()) for _ in range(H)]
T = sum(S)
for si in S:
print((si + T) & mask)
return
if __name__ == "__main__":
T = 1
# T = II()
for _ in range(T):
solve()
sys.stdout.write("\n".join(_buf) + "\n")