結果
| 問題 | No.246 質問と回答 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-07-13 11:47:04 |
| 言語 | PyPy2 (7.3.20) |
| 結果 |
AC
|
| 実行時間 | 150 ms / 2,000 ms |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 1,437 ms |
| コンパイル使用メモリ | 80,384 KB |
| 実行使用メモリ | 100,128 KB |
| 平均クエリ数 | 30.87 |
| 最終ジャッジ日時 | 2026-03-31 08:50:26 |
| 合計ジャッジ時間 | 8,229 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge2_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 30 |
ソースコード
import sys
A = 0
B = 10 ** 9 + 1
while B - A > 1:
c = (A + B) // 2
print "? %d" % c
sys.stdout.flush()
response = int(raw_input())
if response == 1:
A = c
else:
B = c
print "! %d" % A