結果

問題 No.2357 Guess the Function
ユーザー 👑 timitimi
提出日時 2023-06-23 22:18:19
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 176 bytes
コンパイル時間 252 ms
コンパイル使用メモリ 87,012 KB
実行使用メモリ 91,976 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-13 17:19:31
合計ジャッジ時間 2,276 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 WA -
testcase_04 AC 97 ms
91,560 KB
testcase_05 AC 92 ms
87,072 KB
testcase_06 AC 95 ms
91,876 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 AC 95 ms
91,224 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

print('?',1)
x=int(input())
print('?',1+x)
y=int(input())

for a in range(100):
  for b in range(a+1,101):
    if (1+a)%b==x and (1+x+a)%b==y:
      print('!',a,b)
      exit()
0