結果

問題 No.2357 Guess the Function
ユーザー miya145592
提出日時 2023-06-23 22:23:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 280 bytes
コンパイル時間 176 ms
コンパイル使用メモリ 82,300 KB
実行使用メモリ 75,792 KB
平均クエリ数 3.00
最終ジャッジ日時 2024-07-01 02:06:40
合計ジャッジ時間 1,751 ms
ジャッジサーバーID
(参考情報)
judge5 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other AC * 6 WA * 4
権限があれば一括ダウンロードができます

ソースコード

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