結果

問題 No.3043 yukicoderへようこそ!
ユーザー okkuukenkenokkuukenken
提出日時 2022-06-03 21:54:01
言語 C++23
(gcc 12.3.0 + boost 1.83.0)
結果
WA  
実行時間 -
コード長 219 bytes
コンパイル時間 813 ms
コンパイル使用メモリ 88,612 KB
実行使用メモリ 4,348 KB
最終ジャッジ日時 2023-10-21 01:49:25
合計ジャッジ時間 1,392 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 2 ms
4,348 KB
testcase_05 AC 2 ms
4,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#include<iostream>
#include<vector>
#include<numeric>
using namespace std;

int main()
{
	int n;
	cin >> n;
	vector<long long> a(n);
	for (auto &x : a)
		cin >> x;
	cout << accumulate(a.begin(), a.end(), 0ll) << endl;
}
0