結果
| 問題 | No.2357 Guess the Function |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-08-11 17:43:02 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 117 ms / 1,000 ms |
| + 1µs | |
| コード長 | 254 bytes |
| 記録 | |
| コンパイル時間 | 273 ms |
| コンパイル使用メモリ | 95,976 KB |
| 実行使用メモリ | 79,104 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2026-08-25 00:11:48 |
| 合計ジャッジ時間 | 2,212 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
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(b):
if (a+100)%b==mod:
print("!",a,b,flush=True)
exit()