結果

問題 No.2357 Guess the Function
ユーザー 👑 timitimi
提出日時 2023-06-23 21:28:26
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 172 bytes
コンパイル時間 774 ms
コンパイル使用メモリ 86,824 KB
実行使用メモリ 91,856 KB
平均クエリ数 3.00
最終ジャッジ日時 2023-09-13 16:29:13
合計ジャッジ時間 2,782 ms
ジャッジサーバーID
(参考情報)
judge14 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

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

ソースコード

diff #

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

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