結果
問題 |
No.2357 Guess the Function
|
ユーザー |
|
提出日時 | 2024-08-11 17:41:57 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 256 bytes |
コンパイル時間 | 256 ms |
コンパイル使用メモリ | 82,400 KB |
実行使用メモリ | 69,740 KB |
平均クエリ数 | 2.64 |
最終ジャッジ日時 | 2024-08-11 17:41:59 |
合計ジャッジ時間 | 1,975 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 1 |
other | AC * 7 WA * 3 |
ソースコード
print("?",100,flush=True) mod=int(input()) if mod==99: print("!",99,100,flush=True) else: print("?",99-mod,flush=True) b=int(input())+1 for a in range(1,b): if (a+100)%b==mod: print("!",a,b,flush=True) exit()