結果
| 問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
| ユーザー |
|
| 提出日時 | 2025-01-29 22:53:08 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 225 bytes |
| コンパイル時間 | 224 ms |
| コンパイル使用メモリ | 7,076 KB |
| 実行使用メモリ | 53,900 KB |
| 最終ジャッジ日時 | 2025-01-29 22:53:12 |
| 合計ジャッジ時間 | 3,166 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 4 |
| other | RE * 15 |
ソースコード
let line = require("fs").readFileSync("/dev/stdin","utf-8").split("\n");
let n = Number(line[0]);
let a = line[1].split(" ").map(Number);
total = 0;
for (let i = 0; i < n; i++) {
total += BigInt(a[i]);
}
console.log(total);