結果
| 問題 | No.3677 Global Checksum |
| コンテスト | |
| ユーザー |
T1610
|
| 提出日時 | 2026-10-09 11:34:27 |
| 言語 | C++23 (gcc 15.3.0 + boost 1.92.0 + ACL) |
| 結果 |
WA
不安定
|
| 実行時間 | - |
| コード長 | 322 bytes |
| 記録 | |
| コンパイル時間 | 2,010 ms |
| コンパイル使用メモリ | 334,752 KB |
| 実行使用メモリ | 9,920 KB |
| 最終ジャッジ日時 | 2026-10-09 11:35:33 |
| 合計ジャッジ時間 | 24,911 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | WA * 3 |
| other | AC * 3 WA * 8 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);
uint c=t;
rep(i,n){
c+=s[i];
cout<<c<<endl;
}
}
T1610