結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 AC 84 ms
15,348 KB
testcase_03 AC 85 ms
15,160 KB
testcase_04 AC 84 ms
15,092 KB
testcase_05 WA -
testcase_06 WA -
testcase_07 AC 84 ms
15,220 KB
testcase_08 AC 84 ms
15,140 KB
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 AC 85 ms
15,336 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 83 ms
15,264 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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