結果
| 問題 | No.246 質問と回答 |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2015-07-13 11:44:08 |
| 言語 | PyPy2 (7.3.15) |
| 結果 |
WA
(最新)
AC
(最初)
|
| 実行時間 | - |
| コード長 | 199 bytes |
| 記録 | |
| コンパイル時間 | 223 ms |
| コンパイル使用メモリ | 77,044 KB |
| 最終ジャッジ日時 | 2025-12-03 15:49:40 |
|
ジャッジサーバーID (参考情報) |
judge2 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | WA * 30 |
ソースコード
import time
A = 0
B = 10 ** 9 + 1
while B - A > 1:
c = (A + B) // 2
print "? %d" % c
response = raw_input()
if response == 1:
A = c
else:
B = c
print "! %d" % c