想要偷鸡就看这里
2025-09-06 14:52:18
发布于:四川
2阅读
0回复
0点赞
这一题因为只有一个测试点,所以可以偷鸡,想要偷鸡的话看下面:
#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;
}
制作不易,希望大家能多多关注,多多点赞。
全部评论 1
请大家多多点赞,谢谢大家的支持。
4天前 来自 四川
0
有帮助,赞一个