結果

問題 No.2357 Guess the Function
ユーザー 👑 hitonanodehitonanode
提出日時 2023-06-23 22:38:16
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 195 bytes
コンパイル時間 724 ms
コンパイル使用メモリ 10,604 KB
実行使用メモリ 24,264 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-13 17:42:08
合計ジャッジ時間 1,478 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 39 ms
23,440 KB
testcase_01 AC 38 ms
23,444 KB
testcase_02 WA -
testcase_03 AC 38 ms
23,928 KB
testcase_04 WA -
testcase_05 AC 37 ms
23,440 KB
testcase_06 AC 37 ms
23,676 KB
testcase_07 WA -
testcase_08 AC 38 ms
23,536 KB
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

print("? 100")
y = int(input())
if y == 99:
    print("! 99 100")
else:
    print("? {}".format(100 - y - 1))
    z = int(input())
    print("! {} {}".format((100 - y - 1 - z) % (z + 1), z + 1))
0