結果
| 問題 |
No.480 合計
|
| コンテスト | |
| ユーザー |
05MDWTBm3v24VLT
|
| 提出日時 | 2019-04-27 22:17:12 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 143 bytes |
| コンパイル時間 | 193 ms |
| コンパイル使用メモリ | 7,424 KB |
| 実行使用メモリ | 12,544 KB |
| 最終ジャッジ日時 | 2024-11-29 19:05:29 |
| 合計ジャッジ時間 | 3,252 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 22 |
コンパイルメッセージ
Syntax OK
ソースコード
def total
n = get.to_i
i = 0
x = 0
while i <= n do
i += 1
x += i
end
puts i
end
total
05MDWTBm3v24VLT