1000: 送分题-A+B Problem
#include <iostream>
using namespace std;
int main (){
int a,b;
cin>>a>>b;
cout<<a+b;
}
1001: 零基础学C/C++01——第一个程序Hello World!
#include <iostream>
using namespace std;
int main (){
cout<<"Hello World!"<<endl;
}
1002: 零基础学C/C++02——输出简单的句子
#include <iostream>
using namespace std;
int main (){
cout<<"Nice to meet you!";
}
1003: 零基础学C/C++03——Very Good!
#include <iostream>
using namespace std;
int main (){
for(int i=0;i<15;i++) cout<<"*";
cout<<endl<<endl;
cout<<" Very Good!"<<endl;
cout<<endl;
for(int i=0;i<15;i++) cout<<"*";
cout<<endl;
}
1004: 零基础学C/C++04——超简单模仿算术题
#include <stdio.h>
int main()
{
printf("%d\n",10-7);
return 0;
}
1005: 零基础学C/C++05——再模仿一个算术题
#include <stdio.h>
int main()
{
printf("%d\n",9*10);
return 0;
}