結果

問題 No.2357 Guess the Function
ユーザー KudeKude
提出日時 2023-06-23 21:29:14
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 1,000 ms
コード長 149 bytes
コンパイル時間 564 ms
コンパイル使用メモリ 86,992 KB
実行使用メモリ 87,520 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-13 16:29:36
合計ジャッジ時間 2,550 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
86,856 KB
testcase_01 AC 91 ms
87,496 KB
testcase_02 AC 93 ms
87,128 KB
testcase_03 AC 92 ms
87,384 KB
testcase_04 AC 93 ms
86,948 KB
testcase_05 AC 93 ms
87,520 KB
testcase_06 AC 91 ms
87,244 KB
testcase_07 AC 91 ms
87,204 KB
testcase_08 AC 95 ms
87,344 KB
testcase_09 AC 93 ms
87,372 KB
testcase_10 AC 92 ms
87,072 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print('? 100')
r = int(input())
if r == 99:
    b = 100
else:
    print('?', 100 - r - 1)
    b = int(input()) + 1
a = (r - 100) % b
print('!', a, b)
0