結果
| 問題 |
No.8100 始業式
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-03-31 23:00:50 |
| 言語 | C++14 (gcc 13.3.0 + boost 1.87.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 477 bytes |
| コンパイル時間 | 1,459 ms |
| コンパイル使用メモリ | 165,616 KB |
| 実行使用メモリ | 6,816 KB |
| 最終ジャッジ日時 | 2024-09-23 02:02:27 |
| 合計ジャッジ時間 | 1,818 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 1 |
ソースコード
#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<string,string> P;
typedef pair<int,P> Q;
#define REP(i,n) for(int i=0;i<int(n);i++)
const double pi=acos(-1.0);
int main(void){
cin.tie(nullptr); ios_base::sync_with_stdio(false);
int i,j,k;
int T;
cin >> T;
while(T--){
int N;
cin >> N;
int a=0;
REP(i,N){
int f;
cin >> f;
a+=f;
}
cout << a << endl;
}
return 0;
}