結果

問題 No.480 合計
ユーザー 山口太輔
提出日時 2020-08-24 11:53:09
言語 JavaScript
(node v23.5.0)
結果
AC  
実行時間 68 ms / 2,000 ms
コード長 234 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 6,816 KB
実行使用メモリ 41,332 KB
最終ジャッジ日時 2024-11-06 10:06:52
合計ジャッジ時間 2,578 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 22
権限があれば一括ダウンロードができます

ソースコード

diff #

function Main(input) {
    const N = input;
    
    let cal = 0;
    for(let i = 1; i <= N; i++) {
        cal = cal + i;
    }
    console.log(cal);
}

// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));
0