結果
問題 |
No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
|
ユーザー |
|
提出日時 | 2021-07-20 22:54:21 |
言語 | JavaScript (node v23.5.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 272 bytes |
コンパイル時間 | 254 ms |
コンパイル使用メモリ | 6,940 KB |
実行使用メモリ | 41,716 KB |
最終ジャッジ日時 | 2024-07-17 13:50:22 |
合計ジャッジ時間 | 2,867 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | RE * 4 |
other | RE * 15 |
ソースコード
function Main(input:string) { const datas=input.split(' ').map(i=>Number(i)); const Answer=datas.reduce(function (accum:number,current:number){ return accum+current },0) console.log(Answer) } Main(require("fs").readFileSync("/dev/stdin", "utf8"));