結果
| 問題 | No.3677 Global Checksum |
| コンテスト | |
| ユーザー |
T1610
|
| 提出日時 | 2026-10-09 11:39:43 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
TLE
不安定
|
| 実行時間 | - |
| コード長 | 317 bytes |
| 記録 | |
| コンパイル時間 | 2,296 ms |
| コンパイル使用メモリ | 336,444 KB |
| 実行使用メモリ | 9,908 KB |
| 最終ジャッジ日時 | 2026-10-09 11:40:20 |
| 合計ジャッジ時間 | 25,902 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 11 TLE * 9 |
ソースコード
#include<bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i=0; i<n; ++i)
int main(){
int n,m;
cin>>n>>m;
using uint=unsigned int;
vector<uint> s(n);
rep(i,n) rep(j,m) {
uint a;
cin>>a;
s[i]+=a;
}
uint t=accumulate(s.begin(),s.end(),(uint)0);
rep(i,n){
uint c=s[i]+t;
cout<<c<<endl;
}
}
T1610