B4116 题解

· · 题解

不难注意到答案为 1000A+10000B

void main(){
  int A=R,B=R;
  write(A*1000+B*10000);
}

R 是快读,write 是快输。