結果
| 問題 | No.480 合計 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-23 10:47:50 |
| 言語 | JavaScript (node v25.8.2) |
| 結果 |
AC
|
| 実行時間 | 91 ms / 2,000 ms |
| コード長 | 374 bytes |
| 記録 | |
| コンパイル時間 | 159 ms |
| コンパイル使用メモリ | 8,096 KB |
| 実行使用メモリ | 54,608 KB |
| 最終ジャッジ日時 | 2026-05-05 09:18:32 |
| 合計ジャッジ時間 | 3,113 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 22 |
ソースコード
function Main(input) {
// inputにはすべての入力の文字列が与えられるので必要に応じて input.split("\n") などで分割する。
const N = parseInt(input);
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"));