結果
| 問題 | No.2357 Guess the Function |
| コンテスト | |
| ユーザー |
ntuda
|
| 提出日時 | 2023-06-26 23:34:59 |
| 言語 | PyPy3 (7.3.23 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 182 ms / 1,000 ms |
| + 1µs | |
| コード長 | 166 bytes |
| 記録 | |
| コンパイル時間 | 222 ms |
| コンパイル使用メモリ | 96,104 KB |
| 実行使用メモリ | 78,720 KB |
| 平均クエリ数 | 2.91 |
| 最終ジャッジ日時 | 2026-08-05 08:24:10 |
| 合計ジャッジ時間 | 2,814 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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