ICPC江西省:M-Zoos‘s Animal Codes(思维题)

题目描述

The speed of mail sorting is also known as postal code, or post code. Postal area code system has become one of the standards to measure the level of communication technology and postal service in a country. 

The post code is usually composed of Arabic numerals, which represents a special code of the post office where the mail is delivered, and also the communication code of residents and units within the delivery range of the Bureau. Postal code is a special code for postal communication to realize mail machine sorting. It is a necessary tool to realize postal modernization. The ultimate purpose is to improve the speed and accuracy of your mail in the process of delivery. Therefore, it is necessary to write the postal code when delivering and sending letters and parcels. 

For the convenience of management, zoos also arrange a code for each animal's residence, which is called animal code. The animal code consists of animal area code and animal species ID number. If the animal area code of the tiger is 008 and the animal species ID number of the South China tiger is 006, the animal code of the South China tiger is 008006. Now given an animal area code and animal species ID number, can you give the animal code of the animal?

输入描述:

 

The input is 2 lines, each line is a string of length 3. The first line is animal area code, and the second line is animal species ID number.

输出描述:

Output the corresponding animal code.

示例1

输入

008

006

输出

008006

分析:一道水题就直接上代码了

#include <bits/stdc++.h>
using namespace std ;


int main (){
	string s1 , s2 ;
	
	cin >> s1 >> s2 ;
	
	cout<< s1+s2 <<endl ; 
}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包

打赏作者

little Chen1

你的鼓励将是我创作的最大动力

¥1 ¥2 ¥4 ¥6 ¥10 ¥20
扫码支付:¥1
获取中
扫码支付

您的余额不足,请更换扫码支付或充值

打赏作者

实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值