結果

問題 No.514 宝探し3
ユーザー cielciel
提出日時 2017-05-06 15:53:26
言語 Ruby
(3.3.0)
結果
AC  
実行時間 113 ms / 2,000 ms
コード長 85 bytes
コンパイル時間 350 ms
コンパイル使用メモリ 11,316 KB
実行使用メモリ 31,192 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-23 13:57:55
合計ジャッジ時間 2,487 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 106 ms
31,148 KB
testcase_01 AC 102 ms
31,192 KB
testcase_02 AC 101 ms
31,148 KB
testcase_03 AC 101 ms
31,148 KB
testcase_04 AC 98 ms
30,980 KB
testcase_05 AC 99 ms
30,644 KB
testcase_06 AC 104 ms
30,760 KB
testcase_07 AC 101 ms
30,904 KB
testcase_08 AC 101 ms
30,912 KB
testcase_09 AC 100 ms
31,060 KB
testcase_10 AC 113 ms
31,140 KB
testcase_11 AC 97 ms
30,756 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

f=->*e{STDOUT.syswrite"%d %d\n"%e}
f[0,0]
a=gets.to_i
f[0,a]
b=gets.to_i
f[b/2,a-b/2]
0