結果

問題 No.8043 yukicoderへようこそ!
ユーザー okkuukenken
提出日時 2022-06-03 21:54:01
言語 C++23
(gcc 13.3.0 + boost 1.87.0)
結果
WA  
実行時間 -
コード長 219 bytes
コンパイル時間 812 ms
コンパイル使用メモリ 88,660 KB
実行使用メモリ 6,944 KB
最終ジャッジ日時 2024-09-21 02:40:15
合計ジャッジ時間 1,193 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 2 WA * 4
権限があれば一括ダウンロードができます

ソースコード

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