結果

問題 No.513 宝探し2
ユーザー cielciel
提出日時 2018-02-21 19:01:04
言語 Ruby
(3.3.0)
結果
AC  
実行時間 100 ms / 2,000 ms
コード長 90 bytes
コンパイル時間 70 ms
コンパイル使用メモリ 11,532 KB
実行使用メモリ 31,452 KB
平均クエリ数 2.75
最終ジャッジ日時 2023-09-23 15:48:25
合計ジャッジ時間 2,300 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
30,896 KB
testcase_01 AC 99 ms
31,148 KB
testcase_02 AC 97 ms
30,648 KB
testcase_03 AC 97 ms
31,192 KB
testcase_04 AC 99 ms
31,096 KB
testcase_05 AC 99 ms
30,764 KB
testcase_06 AC 100 ms
31,220 KB
testcase_07 AC 96 ms
31,452 KB
testcase_08 AC 96 ms
30,680 KB
testcase_09 AC 98 ms
30,808 KB
testcase_10 AC 98 ms
31,288 KB
testcase_11 AC 98 ms
31,196 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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