版本比较
题解:AT_abc442_e [ABC442E] Laser Takahashi
正文
增加 1 行删除 1 行
49 行未改动505152535454555657585949 行未改动 int x,y; cin>>x>>y; int p1=lower_bound(b+1,b+n+1,a[x])-b,p2=upper_bound(b+1,b+n+1,a[y])-b-1; if(p1<=p2) cout<<p2-p1+1<<'\n'; else cout<<n-(p1-p2-1)<<'\n'; else cout<<n-(p1-p2-1)<<'\n'; } return 0;}```:::