結果
| 問題 | No.2357 Guess the Function |
| コンテスト | |
| ユーザー |
Iroha_3856
|
| 提出日時 | 2025-12-16 00:04:20 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| 記録 | |
| コンパイル時間 | 461 ms |
| コンパイル使用メモリ | 82,372 KB |
| 実行使用メモリ | 84,092 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2025-12-16 00:04:23 |
| 合計ジャッジ時間 | 2,824 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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