結果

問題 No.2357 Guess the Function
ユーザー vwxyzvwxyz
提出日時 2023-12-26 12:24:01
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 56 ms / 1,000 ms
コード長 142 bytes
コンパイル時間 166 ms
コンパイル使用メモリ 11,776 KB
実行使用メモリ 25,984 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-12-26 12:24:03
合計ジャッジ時間 1,719 ms
ジャッジサーバーID
(参考情報)
judge15 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 53 ms
25,984 KB
testcase_01 AC 50 ms
25,984 KB
testcase_02 AC 50 ms
25,984 KB
testcase_03 AC 56 ms
25,984 KB
testcase_04 AC 50 ms
25,984 KB
testcase_05 AC 56 ms
25,984 KB
testcase_06 AC 52 ms
25,984 KB
testcase_07 AC 55 ms
25,984 KB
testcase_08 AC 52 ms
25,984 KB
testcase_09 AC 55 ms
25,984 KB
testcase_10 AC 52 ms
25,984 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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