#define _GLIBCXX_DEBUG #include #include #include using namespace atcoder; using namespace std; typedef long long ll; #define rep(i,a,b) for(int i=a;i; using vvi = vector; using li =vector; using lli=vector
  • ; using si =vector; using ssi =vector; const long long INF = 1e18; const long long MOD=1e9+7; int main() { int n;cin>>n; cout<<"? "<>a; int ok=n+1,ng=1; rep(i,0,9){ int mid=(ok+ng)/2; cout<<"? "<>b; if(b==a)ok=mid; else ng=mid; if(i==8&&b==a)cout<<"No"<