結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 83 ms
15,080 KB
testcase_01 AC 82 ms
15,164 KB
testcase_02 WA -
testcase_03 AC 82 ms
15,096 KB
testcase_04 WA -
testcase_05 AC 83 ms
15,168 KB
testcase_06 AC 82 ms
15,036 KB
testcase_07 WA -
testcase_08 AC 82 ms
15,180 KB
testcase_09 AC 83 ms
15,124 KB
testcase_10 AC 81 ms
15,356 KB
testcase_11 AC 83 ms
15,040 KB
testcase_12 AC 81 ms
15,140 KB
testcase_13 WA -
testcase_14 WA -
testcase_15 AC 82 ms
15,364 KB
testcase_16 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Main.rb:1: warning: assigned but unused variable - b
Syntax OK

ソースコード

diff #

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