結果
| 問題 |
No.2252 Find Zero
|
| コンテスト | |
| ユーザー |
sotanishy
|
| 提出日時 | 2023-03-24 21:23:10 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 222 bytes |
| コンパイル時間 | 334 ms |
| コンパイル使用メモリ | 81,844 KB |
| 実行使用メモリ | 168,424 KB |
| 最終ジャッジ日時 | 2024-09-18 16:39:40 |
| 合計ジャッジ時間 | 6,727 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| 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