結果
| 問題 |
No.513 宝探し2
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2017-09-01 03:32:38 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 338 bytes |
| コンパイル時間 | 92 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 27,736 KB |
| 平均クエリ数 | 3.92 |
| 最終ジャッジ日時 | 2024-07-16 14:08:55 |
| 合計ジャッジ時間 | 3,678 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 12 |
ソースコード
X=Y=0#origin
P=100000#border
c=100
while c:
print(X-P,Y+P);a=input()
print(X+P,Y+P);b=input()
print(X+P,Y-P);c=input()
print(X-P,Y-P);d=input()
P//=2
if a==min(a,b,c,d): X,Y=X-P,Y+P
elif b==min(a,b,c,d): X,Y=X+P,Y+P
elif c==min(a,b,c,d): X,Y=X+P,Y-P
else: X,Y=X-P,Y-P
c-=1