結果
| 問題 |
No.2252 Find Zero
|
| コンテスト | |
| ユーザー |
titia
|
| 提出日時 | 2023-03-24 21:25:57 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
RE
|
| 実行時間 | - |
| コード長 | 282 bytes |
| コンパイル時間 | 313 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 27,912 KB |
| 平均クエリ数 | 1.00 |
| 最終ジャッジ日時 | 2024-09-18 16:41:50 |
| 合計ジャッジ時間 | 3,010 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | RE * 18 |
ソースコード
import sys
input = sys.stdin.readline
N=int(input())
for i in range(0,N,2):
print("?",i,j,hlush=True)
x=int(input())
if x==i:
print("!",j,flush=True)
break
elif y==j:
print("!",i,flush=True)
break
else:
print("!",N-1,flush=True)
titia