結果

問題 No.333 門松列を数え上げ
ユーザー cielciel
提出日時 2016-01-15 23:31:43
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 52 bytes
コンパイル時間 52 ms
コンパイル使用メモリ 11,972 KB
実行使用メモリ 16,168 KB
最終ジャッジ日時 2023-10-19 23:38:35
合計ジャッジ時間 1,498 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 93 ms
16,104 KB
testcase_01 WA -
testcase_02 AC 85 ms
16,104 KB
testcase_03 AC 86 ms
16,104 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 86 ms
16,104 KB
testcase_08 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

a,b=gets.split.map &:to_i; p a<b ?b-2:2000000000-~-b
0