結果
| 問題 | No.3677 Global Checksum |
| コンテスト | |
| ユーザー |
harurun
|
| 提出日時 | 2026-08-11 04:51:01 |
| 言語 | C++23(gcc16) (gcc 16.1.0 + boost 1.92.0 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 439 bytes |
| 記録 | |
| コンパイル時間 | 2,008 ms |
| コンパイル使用メモリ | 168,220 KB |
| 実行使用メモリ | 9,736 KB |
| 最終ジャッジ日時 | 2026-09-05 13:51:24 |
| 合計ジャッジ時間 | 15,281 ms |
|
ジャッジサーバーID (参考情報) |
judge4_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 17 TLE * 3 |
ソースコード
#include <cstdint>
#include <iostream>
#include <vector>
std::uint32_t h, w;
std::uint32_t sums[1000010];
std::uint32_t total,x;
int main() {
std::ios::sync_with_stdio(false);
std::cin.tie(nullptr);
std::cin>>h>>w;
for (std::uint32_t i=0;i<h;i++) { std::uint32_t& s=sums[i];for (std::uint32_t j=0;j<w;++j) { std::cin>>x; s += x; } total += s; }
for (std::uint32_t i=0;i<h;i++) std::cout<<std::uint32_t(sums[i] + total)<<"\n";
}
harurun