結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2020-08-24 11:46:50 |
言語 | JavaScript (node v23.5.0) |
結果 |
RE
|
実行時間 | - |
コード長 | 367 bytes |
コンパイル時間 | 46 ms |
コンパイル使用メモリ | 6,820 KB |
実行使用メモリ | 41,716 KB |
最終ジャッジ日時 | 2024-11-06 10:01:45 |
合計ジャッジ時間 | 2,382 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 22 |
ソースコード
function Main(input) { // inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。 const N = input[0]; let cal = 0; for(let i = 1; i <= n; i++) { cal += i; } console.log(cal); } // Don't edit this line! Main(require("fs").readFileSync("/dev/stdin", "utf8"));