結果
| 問題 | No.2357 Guess the Function |
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2023-06-26 12:18:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 184 bytes |
| 記録 | |
| コンパイル時間 | 367 ms |
| コンパイル使用メモリ | 84,864 KB |
| 実行使用メモリ | 83,856 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2026-03-24 14:21:59 |
| 合計ジャッジ時間 | 1,781 ms |
|
ジャッジサーバーID (参考情報) |
judge3_0 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 9 RE * 1 |
ソースコード
import sys
print("? 100")
sys.stdout.flush()
r = int(input())
print("? {}".format(100 - r - 1))
sys.stdout.flush()
B = int(input()) + 1
A = (r - 100) % B
print("! {} {}".format(A, B))
rlangevin