资源限制
时间限制:1.0s 内存限制:256.0MB
问题描述
输入两个字符串,将其合并为一个字符串后输出。
输入格式
输入两个字符串
输出格式
输出合并后的字符串
样例输入
一个满足题目要求的输入范例。
Hello
World
样例输出
HelloWorld
数据规模和约定
输入的字符串长度0<n<100
思路
这个题根本不需要动脑壳
会printf就AC,有手就行!
#include<bits/stdc++.h>
using namespace std;
int main(){
char s1[100],s2[100];
scanf("%s%s",&s1,&s2);
printf("%s%s\n",s1,s2);
return 0;
}