結果
| 問題 | No.481 1から10 |
| コンテスト | |
| ユーザー |
yamacha
|
| 提出日時 | 2017-04-02 16:36:31 |
| 言語 | Ruby (4.0.2) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 150 bytes |
| 記録 | |
| コンパイル時間 | 80 ms |
| コンパイル使用メモリ | 9,088 KB |
| 実行使用メモリ | 22,528 KB |
| 最終ジャッジ日時 | 2026-03-29 15:39:42 |
| 合計ジャッジ時間 | 1,630 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | RE * 2 |
| other | WA * 1 RE * 7 |
コンパイルメッセージ
Syntax OK
ソースコード
num = gets.chomp.split
num.map!{|n| n.to_i}
for i in 1..10
if num[0] != 1
puts 1
elsif num [i] + 1 != num[i + 1]
puts num[i] + 1
end
end
yamacha