結果
| 問題 | 
                            No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
                             | 
                    
| ユーザー | 
                             | 
                    
| 提出日時 | 2022-06-01 19:25:44 | 
| 言語 | JavaScript  (node v23.5.0)  | 
                    
| 結果 | 
                             
                                WA
                                 
                             
                            
                         | 
                    
| 実行時間 | - | 
| コード長 | 262 bytes | 
| コンパイル時間 | 93 ms | 
| コンパイル使用メモリ | 5,248 KB | 
| 実行使用メモリ | 73,556 KB | 
| 最終ジャッジ日時 | 2024-09-21 01:43:26 | 
| 合計ジャッジ時間 | 4,682 ms | 
| 
                            ジャッジサーバーID (参考情報)  | 
                        judge3 / judge1 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | WA * 4 | 
| other | WA * 15 | 
ソースコード
const fs = require("fs");
const input = fs.readFileSync("/dev/stdin", "utf-8").trim();
const lines = input.split("\n");
const n = Number(lines[0]);
let arr = lines[1].split(" ").map( x => BigInt(x));
const ans = arr.reduce ( (a,b) => a + b);
console.log(ans);