結果
| 問題 |
No.2357 Guess the Function
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2023-06-23 23:36:54 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 211 bytes |
| コンパイル時間 | 148 ms |
| コンパイル使用メモリ | 82,284 KB |
| 実行使用メモリ | 70,472 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2024-07-01 03:23:47 |
| 合計ジャッジ時間 | 1,769 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 5 WA * 5 |
ソースコード
x1 = 100
print(f"? {x1}", flush=True)
y1 = int(input())
if y1==99:
print(f"! 99 100")
exit()
x2 = x1 - y1 - 1
print(f"? {x2}", flush=True)
y2 = int(input())
print(f"! {(y2-x2)%x2} {y2+1}" ,flush=True)