結果

問題 No.2357 Guess the Function
ユーザー aoblue2547aoblue2547
提出日時 2023-06-23 23:41:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
RE  
実行時間 -
コード長 187 bytes
コンパイル時間 84 ms
コンパイル使用メモリ 10,520 KB
実行使用メモリ 24,312 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-13 18:50:49
合計ジャッジ時間 1,498 ms
ジャッジサーバーID
(参考情報)
judge15 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 38 ms
23,952 KB
testcase_01 AC 36 ms
23,740 KB
testcase_02 AC 36 ms
23,952 KB
testcase_03 RE -
testcase_04 AC 35 ms
24,312 KB
testcase_05 AC 35 ms
23,844 KB
testcase_06 AC 37 ms
23,952 KB
testcase_07 AC 38 ms
23,628 KB
testcase_08 AC 35 ms
23,844 KB
testcase_09 AC 36 ms
23,568 KB
testcase_10 AC 36 ms
23,372 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print("? 100")

x = int(input())

print("?",100-x-1)

b = int(input()) + 1
a=0
for i in range(0,101):
  if (i+100)%b == x:
    a = i
    break

if x == 99:
  a = 99
  b=100
print("!",a,b)
0