結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2020-08-24 11:52:41 |
| 言語 | JavaScript (node v23.5.0) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 237 bytes |
| コンパイル時間 | 371 ms |
| コンパイル使用メモリ | 7,076 KB |
| 実行使用メモリ | 41,460 KB |
| 最終ジャッジ日時 | 2024-11-06 10:06:49 |
| 合計ジャッジ時間 | 2,708 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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"));