結果
問題 |
No.480 合計
|
ユーザー |
|
提出日時 | 2020-08-24 11:48:29 |
言語 | JavaScript (node v23.5.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 237 bytes |
コンパイル時間 | 120 ms |
コンパイル使用メモリ | 6,948 KB |
実行使用メモリ | 41,580 KB |
最終ジャッジ日時 | 2024-11-06 10:03:50 |
合計ジャッジ時間 | 2,478 ms |
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | AC * 2 WA * 20 |
ソースコード
function Main(input) { const N = input[0]; 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"));