結果
| 問題 |
No.1429 Simple Dowsing
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2021-03-14 14:11:00 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 341 bytes |
| コンパイル時間 | 90 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,856 KB |
| 平均クエリ数 | 3.00 |
| 最終ジャッジ日時 | 2024-07-17 10:48:23 |
| 合計ジャッジ時間 | 1,977 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 15 |
ソースコード
print("? 0 0")
a = int(input())
print("? 100 100")
b = int(input())
print("? 0 100")
c = int(input())
for i in range(101):
for j in range(101):
if i**2+j**2 != a:
continue
if (100-i)**2 + (100-j)**2 != b:
continue
if i**2 + (100-j)**2 != c:
continue
print("! {i} {j}")