結果
| 問題 |
No.481 1から10
|
| コンテスト | |
| ユーザー |
yamacha
|
| 提出日時 | 2017-04-02 16:36:31 |
| 言語 | Ruby (3.4.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 150 bytes |
| コンパイル時間 | 112 ms |
| コンパイル使用メモリ | 7,680 KB |
| 実行使用メモリ | 12,544 KB |
| 最終ジャッジ日時 | 2024-07-08 00:10:33 |
| 合計ジャッジ時間 | 1,374 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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