結果

問題 No.2357 Guess the Function
ユーザー ああいいああいい
提出日時 2023-06-23 22:39:48
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 98 ms / 1,000 ms
コード長 216 bytes
コンパイル時間 1,075 ms
コンパイル使用メモリ 87,072 KB
実行使用メモリ 87,376 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-13 17:43:34
合計ジャッジ時間 2,398 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 98 ms
87,248 KB
testcase_01 AC 94 ms
87,376 KB
testcase_02 AC 94 ms
86,896 KB
testcase_03 AC 94 ms
86,728 KB
testcase_04 AC 93 ms
86,984 KB
testcase_05 AC 95 ms
87,024 KB
testcase_06 AC 95 ms
86,896 KB
testcase_07 AC 96 ms
87,112 KB
testcase_08 AC 95 ms
86,764 KB
testcase_09 AC 96 ms
86,488 KB
testcase_10 AC 96 ms
86,856 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import sys
print("?",100)
y = int(input())
if y == 99:
    print("!",99,100)
    exit()
print("?",100 - y - 1)
yy = int(input())
B = yy + 1
for a in range(B):
    if (a + 100) % B == y:
        break
print("!",a,B)
0