結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-07-02 15:24:34 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| コンパイル時間 | 400 ms |
| コンパイル使用メモリ | 7,072 KB |
| 実行使用メモリ | 41,200 KB |
| 最終ジャッジ日時 | 2024-09-15 01:01:15 |
| 合計ジャッジ時間 | 2,794 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 22 |
ソースコード
function Main(input) {
const num = Number(input.split("\n"))
var res = 0;
for (i = 1; i <= num; i++) {
res += i
}
console.log(res);
}
// Don't edit this line!
Main(require("fs").readFileSync("/dev/stdin", "utf8"));