結果
| 問題 |
No.2252 Find Zero
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2024-07-28 23:04:34 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 169 bytes |
| コンパイル時間 | 329 ms |
| コンパイル使用メモリ | 82,432 KB |
| 実行使用メモリ | 88,704 KB |
| 平均クエリ数 | 78.17 |
| 最終ジャッジ日時 | 2024-07-28 23:04:39 |
| 合計ジャッジ時間 | 4,378 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 14 RE * 4 |
ソースコード
N=int(input())
for i in range(0,N,2):
print("?",i,i+1,flush=True)
c=int(input())
if c==i:
print("!",i+1)
exit()
elif c==i+1:
print("!",i)
exit()
print("!",N)