結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 43 ms
24,000 KB
testcase_01 AC 38 ms
24,276 KB
testcase_02 AC 42 ms
24,012 KB
testcase_03 RE -
testcase_04 AC 38 ms
23,460 KB
testcase_05 AC 37 ms
23,496 KB
testcase_06 AC 38 ms
23,452 KB
testcase_07 AC 38 ms
23,580 KB
testcase_08 AC 38 ms
23,516 KB
testcase_09 AC 38 ms
24,288 KB
testcase_10 AC 39 ms
23,508 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print("? 100")

x = int(input())

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

b = int(input())
b += 1


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

print("!",a,b)
0