結果

問題 No.3100 始業式
ユーザー gyozasukisukigyozasukisuki
提出日時 2023-03-31 21:54:26
言語 C++17
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 570 bytes
コンパイル時間 2,021 ms
コンパイル使用メモリ 200,000 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-24 07:48:59
合計ジャッジ時間 2,476 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <bits/stdc++.h>
#define rep(i,l,r) for(int i=(l); i<(r); i++)
#define INF ((1LL<<62)-(1LL<<31)) 
using namespace std;
using ll = long long;
using inv = vector<int>;
using stv = vector<string>;
using GraphI = vector<inv>;
using position = pair<int,int>;

int main(){
    cin.tie(nullptr);
    ios::sync_with_stdio(false);

    int T;
    cin >> T;

    rep(j,0,T){

        int N;
        cin >> N;
        
        int ans = 0;
        rep(i,0,N){
            int a;
            cin >> a;
            ans += a;
        } 
        cout << ans << "\n";
    }



}
0