无码av一区二区三区无码,在线观看老湿视频福利,日韩经典三级片,成 人色 网 站 欧美大片在线观看

歡迎光臨散文網(wǎng) 會(huì)員登陸 & 注冊(cè)

Blah

2023-07-11 17:33 作者:SpiderMonkeyLing  | 我要投稿

#include <iostream>
#include <cstdio>
using namespace std;
const int N=10000001;
int q[N],x[N],y[N];
int hh,tt,xh,yh,xt,yt;
int main()
{
?? ?int a,n;
?? ?while(cin>>a>>n) {
?? ??? ?q[tt++]=a;
?? ??? ?for(int i=0;i<n;i++) {
?? ??? ??? ?a=q[hh++];
?? ??? ??? ?x[xt++]=2*a+1;
?? ??? ??? ?y[yt++]=3*a+1;
?? ??? ??? ?if(x[xh]<y[yh]) {
?? ??? ??? ??? ?q[tt++]=x[xh++];
?? ??? ??? ?}
?? ??? ??? ?else if(x[xh]>y[yh]) {
?? ??? ??? ??? ?q[tt++]=y[yh++];
?? ??? ??? ?}
?? ??? ??? ?else {
?? ??? ??? ??? ?q[tt++]=y[yh++];
?? ??? ??? ??? ?xh++;
?? ??? ??? ?}
?? ??? ?}
?? ??? ?cout<<q[hh-1]<<endl;
?? ??? ?hh=0,tt=0,xh=0,yh=0,xt=0,yt=0;
?? ?}
?? ?return 0;
}

Blah的評(píng)論 (共 條)

分享到微博請(qǐng)遵守國(guó)家法律
禹州市| 临西县| 朝阳区| 岑巩县| 华安县| 崇信县| 平湖市| 南部县| 蓝山县| 荣昌县| 柘荣县| 米林县| 柯坪县| 永泰县| 新余市| 新闻| 宜兰县| 平湖市| 徐闻县| 康马县| 鱼台县| 蕉岭县| 苍梧县| 梧州市| 永福县| 武穴市| 康马县| 应用必备| 林州市| 察隅县| 大兴区| 铁岭县| 胶南市| 宁都县| 镇康县| 太和县| 尼木县| 沅江市| 杨浦区| 东兴市| 珠海市|