結果

問題 No.2357 Guess the Function
ユーザー shogo314
提出日時 2023-06-23 23:37:18
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 62 ms / 1,000 ms
コード長 115 bytes
コンパイル時間 260 ms
コンパイル使用メモリ 81,792 KB
実行使用メモリ 68,696 KB
平均クエリ数 2.91
最終ジャッジ日時 2024-07-01 03:24:21
合計ジャッジ時間 1,911 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 10
権限があれば一括ダウンロードができます

ソースコード

diff #

a=int(input('? 100\n'))
if a==99:A,B=99,100
else:B=int(input('? '+str(99-a)+'\n'))+1;A=(a+B-100%B)%B
print('!',A,B)
0