結果
| 問題 | No.246 質問と回答 |
| コンテスト | |
| ユーザー |
No
|
| 提出日時 | 2017-05-15 00:11:34 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 243 bytes |
| 記録 | |
| コンパイル時間 | 347 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 27,608 KB |
| 平均クエリ数 | 72.80 |
| 最終ジャッジ日時 | 2024-07-16 13:42:20 |
| 合計ジャッジ時間 | 5,157 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 12 RE * 18 |
ソースコード
import sys
min = 1
max = 1000000000
while min != max:
y = (min + max) // 2
print("? %d" % y)
sys.stdout.flush()
a = input()
if a == "1":
min = y
else:
max = y - 1
print("! %d" % min)
sys.stdout.flush()
No