結果
| 問題 | No.246 質問と回答 |
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2016-07-07 00:51:54 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 238 bytes |
| コンパイル時間 | 190 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 27,608 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-07-16 10:32:40 |
| 合計ジャッジ時間 | 4,564 ms |
|
ジャッジサーバーID (参考情報) |
judge1 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 30 |
ソースコード
import sys
low,high = 0,10**9 + 1
while high - low > 1:
mid = (high + low) >> 1
print('? %d' % mid)
sys.stdout.flush()
ans = int(input().split()[1])
if ans == 1:
low = mid
else:
high = mid
print('! %d' % low)
sys.stdout.flush()
tookunn_1213