結果

問題 No.333 門松列を数え上げ
ユーザー akko_yukkyakko_yukky
提出日時 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

ソースコード

diff #

a,b = gets.split.map(&:to_i)

if a>b then
        puts 1999999999 - b
elsif
        b-2
end
0