結果

問題 No.8100 始業式
ユーザー 👑 CleyL
提出日時 2023-04-01 11:55:34
言語 C++17
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 276 bytes
コンパイル時間 1,868 ms
コンパイル使用メモリ 66,092 KB
最終ジャッジ日時 2025-02-11 22:06:44
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other WA * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

#include <iostream>
using namespace std;
int main(){
    int t;cin>>t;
    for(int i = 0; t > i; i++){
        int n;cin>>n;
        int ans = 0;
        for(int j = 0; n > j; j++){
            int x;cin>>x;
            ans += x;
        }
        cout << ans << endl;
    }
}
0