結果
問題 |
No.1187 皇帝ペンギン
|
ユーザー |
|
提出日時 | 2020-10-04 15:57:54 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 246 bytes |
コンパイル時間 | 85 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 27,608 KB |
平均クエリ数 | 26.00 |
最終ジャッジ日時 | 2024-07-17 07:03:19 |
合計ジャッジ時間 | 12,090 ms |
ジャッジサーバーID (参考情報) |
judge4 / judge5 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 54 |
ソースコード
import sys l, r = 0, 100000 while r - l > 1: m = (l + r) // 2 print("?", m) res = input() print("?", m + 1) res2 = input() if res == res2 == "out": r = m else: l = m sys.stdout.flush() print("!", l)