結果
| 問題 | No.2252 Find Zero |
| コンテスト | |
| ユーザー |
detteiuu
|
| 提出日時 | 2026-08-23 23:55:57 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 173 ms / 2,000 ms |
| + 2µs | |
| コード長 | 227 bytes |
| 記録 | |
| コンパイル時間 | 560 ms |
| コンパイル使用メモリ | 95,884 KB |
| 実行使用メモリ | 83,840 KB |
| 平均クエリ数 | 78.17 |
| 最終ジャッジ日時 | 2026-08-23 23:56:03 |
| 合計ジャッジ時間 | 3,702 ms |
|
ジャッジサーバーID (参考情報) |
judge2_0 / judge1_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 18 |
ソースコード
N = int(input())
for i in range(N//2):
print("?", i*2, i*2+1)
Z = int(input())
if Z == i*2:
print("!", i*2+1)
break
if Z == i*2+1:
print("!", i*2)
break
else:
print("!", N-1)
detteiuu