結果

問題 No.149 碁石の移動
ユーザー maimai
提出日時 2016-01-29 11:13:35
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 124 bytes
コンパイル時間 89 ms
コンパイル使用メモリ 11,920 KB
実行使用メモリ 16,112 KB
最終ジャッジ日時 2023-10-21 16:34:05
合計ジャッジ時間 2,977 ms
ジャッジサーバーID
(参考情報)
judge14 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 85 ms
16,104 KB
testcase_03 AC 87 ms
16,104 KB
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 87 ms
16,104 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 87 ms
16,104 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 90 ms
16,104 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - ab
Main.rb:2: warning: assigned but unused variable - bb
Syntax OK

ソースコード

diff #

aw,ab=gets.split(" ").map(&:to_i)
bw,bb=gets.split(" ").map(&:to_i)
c,d=gets.split(" ").map(&:to_i)

p [[aw,c].min+bw,d].min
0