結果

問題 No.149 碁石の移動
ユーザー mmmpppmmmppp
提出日時 2017-02-27 20:38:19
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 50 bytes
コンパイル時間 64 ms
コンパイル使用メモリ 11,320 KB
実行使用メモリ 15,392 KB
最終ジャッジ日時 2023-09-02 13:07:49
合計ジャッジ時間 2,335 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 82 ms
15,284 KB
testcase_03 WA -
testcase_04 AC 82 ms
15,092 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 84 ms
15,040 KB
testcase_08 AC 82 ms
15,300 KB
testcase_09 AC 83 ms
15,100 KB
testcase_10 AC 80 ms
15,244 KB
testcase_11 WA -
testcase_12 AC 78 ms
15,188 KB
testcase_13 AC 78 ms
15,152 KB
testcase_14 AC 79 ms
15,296 KB
testcase_15 WA -
testcase_16 AC 79 ms
15,172 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - v
Main.rb:1: warning: assigned but unused variable - c
Syntax OK

ソースコード

diff #

a,v,b,_,c,d=$<.read.split.map &:to_i
p a+[d,b].min
0