結果

問題 No.2357 Guess the Function
ユーザー 👑 p-adic
提出日時 2023-04-16 11:57:40
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 56 ms / 1,000 ms
コード長 148 bytes
コンパイル時間 115 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 27,608 KB
平均クエリ数 2.91
最終ジャッジ日時 2024-12-14 14:05:06
合計ジャッジ時間 1,618 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

print("? 100")
y=int(input())
if y==99:
	A=99
	B=100
else:
	print("? "+str(99-y))
	B=int(input())+1
	A=(y+(B-1)*100)%B
print("! "+str(A)+" "+str(B))
0