結果
| 問題 |
No.2357 Guess the Function
|
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2023-06-26 23:34:59 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
AC
|
| 実行時間 | 59 ms / 1,000 ms |
| コード長 | 166 bytes |
| コンパイル時間 | 546 ms |
| コンパイル使用メモリ | 82,680 KB |
| 実行使用メモリ | 70,480 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2024-07-03 18:34:47 |
| 合計ジャッジ時間 | 2,085 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 10 |
ソースコード
print("?", 100)
a = int(input())
if a == 99:
print("!", 99, 100)
exit()
x = 100 - a - 1
print("?", x)
B = int(input()) + 1
A = (a - 100) % B
print("!", A, B)
ntuda