結果

問題 No.2357 Guess the Function
ユーザー komkompi
提出日時 2023-06-24 01:22:42
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 193 bytes
コンパイル時間 165 ms
コンパイル使用メモリ 82,156 KB
実行使用メモリ 82,648 KB
平均クエリ数 2.91
最終ジャッジ日時 2024-07-01 05:03:18
合計ジャッジ時間 1,860 ms
ジャッジサーバーID
(参考情報)
judge4 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample WA * 1
other WA * 9 RE * 1
権限があれば一括ダウンロードができます

ソースコード

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