結果

問題 No.2357 Guess the Function
ユーザー komkompikomkompi
提出日時 2023-06-24 01:22:42
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 308 ms
コンパイル使用メモリ 87,264 KB
実行使用メモリ 95,748 KB
平均クエリ数 2.91
最終ジャッジ日時 2023-09-13 20:34:04
合計ジャッジ時間 2,942 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 WA -
testcase_02 WA -
testcase_03 RE -
testcase_04 WA -
testcase_05 WA -
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

# coding: utf-8
# Your code here!



print("? 100")

s=int(input())

n=100-s-1

print(f"? {n}")

t=int(input())

B=t+1

for a in range(B):
    if (100+a)%B==s and (n+a)%B==t:
        print(a,B)
0