結果
| 問題 | No.2357 Guess the Function |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2026-05-05 01:02:52 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 1,000 ms |
| コード長 | 214 bytes |
| 記録 | |
| コンパイル時間 | 197 ms |
| コンパイル使用メモリ | 85,096 KB |
| 実行使用メモリ | 73,632 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2026-05-05 01:02:59 |
| 合計ジャッジ時間 | 2,440 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
def question(x):
print("?", x)
return int(input())
def answer(A, B):
print("!", A, B)
a = question(100)
if a == 99:
exit(answer(99, 100))
b = question(100-a-1)
B = b+1
A = (a-100)%B
answer(A, B)
detteiuu