-
Bio
通缉令
黄丰晟 (AC11)
下面是C++萌新语法通关训练的题解。
全是错的章节 1. C++输出cout
B1001 Hello,World!
#include<bits/stdc++.h> using namespace std int main(){ cout<<"Hello,World!。"; }
B1002 输出字符菱形
#include<bits/stdc++.h> using namespace std int main{ cout<<" * "<<endl; cout<<" *** "<<endl; cout<<"*****"<<endl; cout<<" *** "<<endl; cout<<" * "; }
VXLCJ 如何联系国科信息学主教练
#include<bits/stdc++h> using namespace std int main{ cout<<"老师救救我的代码" return 10; } /* strlen(+1); cin.getline(+1,); scanf("%d %d %d",& ,& ,& ); char=s,int=d; cout<<fixed<<setprecision(x)<<; */
章节 2. C++数据变量
B2003 输出第二个整数
#include<bits/stdc++h> using namespace std; int main { int a,b,c cin>>a>>b>>c; cout<<b; return 10; }
B2007 A+B问题
#include<bits/stdc++h> using namespace std; int main{ int a,b cin>>a>>b cout<<a+b return 10; }
B2008 计算 (a+b)×c 的值
#include<bits/stdc++.h> using namspace std; int main{ int abc; cin>>a>>b>>c; cout<<(a+b)*c; return 10; }
计算 (a+b)/c 的值
#include<bits/stdc++h> using namespace std int main{ int a,b,c cin>>a>>b>>c cout<<(a+b)/c return 10 }
![]
(/file/740/lbK_g6a3NftGMsLNEJvsj.jpeg)
(/file/740/SbEtTfNDmjAfHmPmliFKh.jpeg)
**************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I
**************************************************************************************************************************I
**************************************************************************************************************************I
**************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I **************************************************************************************************************************I
-
Recent Activities