結果
| 問題 | 
                            No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
                             | 
                    
| ユーザー | 
                             gedy01221406
                         | 
                    
| 提出日時 | 2019-09-26 02:03:42 | 
| 言語 | C++17  (gcc 13.3.0 + boost 1.87.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 301 bytes | 
| コンパイル時間 | 803 ms | 
| コンパイル使用メモリ | 72,016 KB | 
| 最終ジャッジ日時 | 2025-01-07 19:10:20 | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge5 / judge2 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 WA * 1 | 
| other | AC * 9 WA * 6 | 
ソースコード
#include <iostream>
#include <numeric>
#include <vector>
#include <cstdint>
using namespace std;
int main() {
	int i;
	cin >> i;
	vector<uint64_t> num(i);
	
	for (uint64_t x = 0; x < i; x++) {
		cin >> num[x];
	}
	
	
	uint64_t k;
	k = accumulate(num.begin(), num.end(), 0);
	cout << k;
	
	return 0;
}
            
            
            
        
            
gedy01221406