結果
| 問題 | No.2252 Find Zero |
| コンテスト | |
| ユーザー |
sotanishy
|
| 提出日時 | 2023-03-24 21:23:10 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 222 bytes |
| 記録 | |
| コンパイル時間 | 121 ms |
| コンパイル使用メモリ | 85,248 KB |
| 実行使用メモリ | 106,508 KB |
| 最終ジャッジ日時 | 2026-04-06 18:06:47 |
| 合計ジャッジ時間 | 6,719 ms |
|
ジャッジサーバーID (参考情報) |
judge2_1 / judge1_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | TLE * 1 -- * 17 |
ソースコード
import sys
input = sys.stdin.readline
N = int(input())
for i in range(N//2):
x = 2*i
y = x+1
print('?', x, y)
z = int(input())
if z == x or z == y:
print('!', z)
exit()
print('!', N-1)
sotanishy