結果

問題 No.2357 Guess the Function
ユーザー rlangevinrlangevin
提出日時 2023-06-26 12:18:10
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 184 bytes
コンパイル時間 292 ms
コンパイル使用メモリ 87,168 KB
実行使用メモリ 95,168 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-16 05:25:51
合計ジャッジ時間 2,491 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 99 ms
87,624 KB
testcase_01 AC 100 ms
86,876 KB
testcase_02 AC 99 ms
87,292 KB
testcase_03 RE -
testcase_04 AC 99 ms
87,676 KB
testcase_05 AC 100 ms
87,516 KB
testcase_06 AC 97 ms
87,572 KB
testcase_07 AC 100 ms
87,484 KB
testcase_08 AC 96 ms
87,012 KB
testcase_09 AC 98 ms
87,408 KB
testcase_10 AC 95 ms
87,292 KB
権限があれば一括ダウンロードができます

ソースコード

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