結果
問題 | No.333 門松列を数え上げ |
ユーザー |
|
提出日時 | 2017-05-30 12:37:18 |
言語 | Ruby (3.4.1) |
結果 |
WA
|
実行時間 | - |
コード長 | 92 bytes |
コンパイル時間 | 42 ms |
コンパイル使用メモリ | 7,680 KB |
実行使用メモリ | 12,416 KB |
最終ジャッジ日時 | 2024-09-21 19:17:56 |
合計ジャッジ時間 | 1,429 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 WA * 1 |
other | AC * 4 WA * 3 |
コンパイルメッセージ
Main.rb:5: warning: `elsif' at the end of line without an expression Syntax OK
ソースコード
a,b = gets.split.map(&:to_i) if a>b then puts 1999999999 - b elsif b-2 end