結果

問題 No.333 門松列を数え上げ
ユーザー akko_yukkyakko_yukky
提出日時 2017-05-30 12:37:18
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 92 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 11,924 KB
実行使用メモリ 16,080 KB
最終ジャッジ日時 2023-10-21 18:00:13
合計ジャッジ時間 1,488 ms
ジャッジサーバーID
(参考情報)
judge15 / judge10
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 81 ms
16,028 KB
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 84 ms
16,028 KB
testcase_05 AC 82 ms
16,028 KB
testcase_06 AC 81 ms
16,028 KB
testcase_07 WA -
testcase_08 AC 80 ms
16,028 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
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