結果
| 問題 | No.2357 Guess the Function |
| コンテスト | |
| ユーザー |
Iroha_3856
|
| 提出日時 | 2025-12-16 00:04:20 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 253 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 90,624 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2026-07-19 13:42:54 |
| 合計ジャッジ時間 | 2,990 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 9 RE * 1 |
ソースコード
print("? 100")
p = int(input())
#A + 100 = kB + p
#A + 100 - (p+1) = (k-1)B + B-1
y = 99 - p
print("?", y)
B = int(input())
B += 1
A = (p - 100) % B
print("!", A, B)
Iroha_3856