結果
問題 |
No.2252 Find Zero
|
ユーザー |
![]() |
提出日時 | 2023-03-24 21:26:22 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
RE
|
実行時間 | - |
コード長 | 293 bytes |
コンパイル時間 | 163 ms |
コンパイル使用メモリ | 12,416 KB |
実行使用メモリ | 27,744 KB |
平均クエリ数 | 1.00 |
最終ジャッジ日時 | 2024-09-18 16:42:32 |
合計ジャッジ時間 | 3,126 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
other | RE * 18 |
ソースコード
import sys input = sys.stdin.readline N=int(input()) for i in range(0,N,2): j=i+1 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)