結果
問題 | No.1429 Simple Dowsing |
ユーザー | gorugo30 |
提出日時 | 2021-03-14 14:04:44 |
言語 | PyPy3 (7.3.15) |
結果 |
QLE
|
実行時間 | - |
コード長 | 276 bytes |
コンパイル時間 | 288 ms |
コンパイル使用メモリ | 87,296 KB |
実行使用メモリ | 92,236 KB |
平均クエリ数 | 2.33 |
最終ジャッジ日時 | 2023-09-24 09:59:43 |
合計ジャッジ時間 | 3,056 ms |
ジャッジサーバーID (参考情報) |
judge13 / judge12 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | QLE | - |
testcase_01 | AC | 98 ms
87,420 KB |
testcase_02 | QLE | - |
testcase_03 | AC | 101 ms
91,404 KB |
testcase_04 | AC | 101 ms
92,052 KB |
testcase_05 | QLE | - |
testcase_06 | AC | 99 ms
91,484 KB |
testcase_07 | QLE | - |
testcase_08 | QLE | - |
testcase_09 | QLE | - |
testcase_10 | QLE | - |
testcase_11 | QLE | - |
testcase_12 | QLE | - |
testcase_13 | AC | 100 ms
91,936 KB |
testcase_14 | QLE | - |
ソースコード
print("? 0 0") r1 = int(input()) print("? 100 0") r2 = int(input()) for a in range(101): for b in range(101): if a * a + b * a != r1: continue if (100 - a) * (100 - a) + b * b != r2: continue print("!", a, b) exit()