結果
| 問題 | No.3677 Global Checksum |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2026-09-04 22:40:45 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 392 bytes |
| 記録 | |
| コンパイル時間 | 1,858 ms |
| コンパイル使用メモリ | 336,312 KB |
| 実行使用メモリ | 7,716 KB |
| 最終ジャッジ日時 | 2026-09-04 22:50:23 |
| 合計ジャッジ時間 | 5,613 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 12 TLE * 2 -- * 6 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
int main(){
ios::sync_with_stdio(false);
cin.tie(0);
int h, w;
cin >> h >> w;
vector<uint32_t> S(h);
uint32_t tot = 0, v;
for(int y = 0; y < h; y++){
for(int x = 0; x < w; x++){
cin >> v;
S[y] += v;
}
tot += S[y];
}
for(auto &&v : S) cout << tot + v << '\n';
}