結果

問題 No.2357 Guess the Function
ユーザー miya145592miya145592
提出日時 2023-06-23 22:23:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 290 ms
コンパイル使用メモリ 86,868 KB
実行使用メモリ 91,732 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-13 17:24:22
合計ジャッジ時間 2,481 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 AC 96 ms
91,228 KB
testcase_04 WA -
testcase_05 AC 94 ms
87,140 KB
testcase_06 AC 97 ms
91,040 KB
testcase_07 AC 102 ms
91,520 KB
testcase_08 AC 95 ms
87,164 KB
testcase_09 WA -
testcase_10 AC 100 ms
91,060 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

x1 = 3
print(f"? {x1}", flush=True)
y1 = int(input())

x2 = 100
print(f"? {x2}", flush=True)
y2 = int(input())

for a in range(0, 100):
    for b in range(a+1, 101):
        if (a+x1)%b==y1 and (a+x2)%b==y2:
            print(f"! {a} {b}", flush=True)
            exit()
        
0