結果

問題 No.1429 Simple Dowsing
ユーザー pluto77pluto77
提出日時 2021-06-25 16:10:00
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 92 ms / 2,000 ms
コード長 204 bytes
コンパイル時間 304 ms
コンパイル使用メモリ 86,808 KB
実行使用メモリ 92,228 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-24 10:41:57
合計ジャッジ時間 3,004 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 91 ms
87,464 KB
testcase_01 AC 87 ms
87,660 KB
testcase_02 AC 88 ms
87,008 KB
testcase_03 AC 91 ms
91,668 KB
testcase_04 AC 90 ms
91,648 KB
testcase_05 AC 88 ms
87,360 KB
testcase_06 AC 89 ms
91,920 KB
testcase_07 AC 91 ms
91,768 KB
testcase_08 AC 91 ms
92,228 KB
testcase_09 AC 90 ms
91,536 KB
testcase_10 AC 86 ms
87,160 KB
testcase_11 AC 92 ms
92,188 KB
testcase_12 AC 89 ms
91,984 KB
testcase_13 AC 92 ms
92,040 KB
testcase_14 AC 84 ms
87,348 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#yuki1429
print('? 0 0')
d1=int(input())
print('? 0 100')
d2=int(input())
for i in range(101):
 for j in range(101):
  if i**2+j**2==d1 and i**2+(j-100)**2==d2:
   print('! '+str(i)+' '+str(j))
   exit()
0