这一题因为只有一个测试点,所以可以偷鸡,想要偷鸡的话看下面:
#include<iostream>
using namespace std;
int main(){
cout<<"hello I am your teacher";
return 0;
}
不想偷鸡的,想要正常版的看这下面,我给大家整理了2个:
A版:
#include <iostream>
using namespace std;
int main(){
string a;
while(cin>>a){
cout<<a<<' ';
}
return 0;
}
B版:
#include<bits/stdc++.h>
using namespace std;
int main(){
string w;
getline(cin,w);
cout<<w;
return 0;
}
制作不易,希望大家能多多关注,多多点赞。