結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 110 ms
30,912 KB
testcase_01 AC 106 ms
31,540 KB
testcase_02 AC 106 ms
31,268 KB
testcase_03 AC 106 ms
30,716 KB
testcase_04 AC 107 ms
30,888 KB
testcase_05 AC 106 ms
31,536 KB
testcase_06 AC 103 ms
30,876 KB
testcase_07 AC 109 ms
31,472 KB
testcase_08 AC 105 ms
31,320 KB
testcase_09 AC 106 ms
31,052 KB
testcase_10 AC 106 ms
30,768 KB
testcase_11 AC 103 ms
30,852 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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