結果

問題 No.514 宝探し3
ユーザー JunOnumaJunOnuma
提出日時 2017-05-25 14:42:57
言語 Python2
(2.7.18)
結果
AC  
実行時間 37 ms / 2,000 ms
コード長 228 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 6,668 KB
実行使用メモリ 24,360 KB
平均クエリ数 2.67
最終ジャッジ日時 2023-09-23 14:08:56
合計ジャッジ時間 1,381 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 37 ms
24,348 KB
testcase_01 AC 32 ms
23,892 KB
testcase_02 AC 33 ms
23,976 KB
testcase_03 AC 30 ms
23,460 KB
testcase_04 AC 29 ms
24,360 KB
testcase_05 AC 32 ms
23,784 KB
testcase_06 AC 32 ms
23,712 KB
testcase_07 AC 30 ms
24,000 KB
testcase_08 AC 30 ms
23,676 KB
testcase_09 AC 32 ms
24,084 KB
testcase_10 AC 30 ms
24,360 KB
testcase_11 AC 31 ms
23,772 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
print 0,0
sys.stdout.flush()
d1 = int(raw_input())
if d1 == 0:
    sys.exit()
print d1,0
sys.stdout.flush()
d2 = int(raw_input())
if d2 == 0:
    sys.exit()
print d1-d2/2,d2/2
sys.stdout.flush()
d3 = int(raw_input())
0