結果

問題 No.2357 Guess the Function
ユーザー rlangevin
提出日時 2023-06-26 12:18:10
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 184 bytes
コンパイル時間 180 ms
コンパイル使用メモリ 82,408 KB
実行使用メモリ 81,972 KB
平均クエリ数 2.91
最終ジャッジ日時 2024-07-03 06:58:58
合計ジャッジ時間 2,396 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 9 RE * 1
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys

print("? 100")
sys.stdout.flush()
r = int(input())
print("? {}".format(100 - r - 1))
sys.stdout.flush()
B = int(input()) + 1
A = (r - 100) % B
print("! {} {}".format(A, B))
0