結果
| 問題 |
No.513 宝探し2
|
| コンテスト | |
| ユーザー |
JunOnuma
|
| 提出日時 | 2017-05-25 14:14:42 |
| 言語 | Python2 (2.7.18) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 300 bytes |
| コンパイル時間 | 77 ms |
| コンパイル使用メモリ | 6,940 KB |
| 実行使用メモリ | 26,208 KB |
| 平均クエリ数 | 2.92 |
| 最終ジャッジ日時 | 2024-07-16 13:46:51 |
| 合計ジャッジ時間 | 1,407 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 10 RE * 2 |
ソースコード
import sys
print 0,0
sys.stdout.flush()
d1 = int(raw_input())
print 100000,0
sys.stdout.flush()
d2 = int(raw_input())
for x in range(min(100001,d1+1)):
y = d1 - x
d = abs(100000 - x) + y
if d == d2:
print x,y
sys.stdout.flush()
d3 = int(raw_input())
break
JunOnuma