結果
| 問題 | No.1429 Simple Dowsing |
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2025-06-07 00:25:08 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 77 ms / 2,000 ms |
| コード長 | 277 bytes |
| コンパイル時間 | 766 ms |
| コンパイル使用メモリ | 11,904 KB |
| 実行使用メモリ | 27,144 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2025-06-07 00:25:12 |
| 合計ジャッジ時間 | 3,242 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 15 |
ソースコード
import sys
input = sys.stdin.readline
print("?",0,0,flush=True)
x=int(input())
print("?",0,100,flush=True)
y=int(input())
for i in range(101):
for j in range(101):
if i*i+j*j==x and i*i+(j-100)*(j-100)==y:
print("!",i,j,flush=True)
exit()
titia