136 solutions
Information
- ID
- 56
- Time
- 1000ms
- Memory
- 1024MiB
- Difficulty
- 1
- Tags
- # Submissions
- 8065
- Accepted
- 3634
- Uploaded By
这题很简单,输入 a 和 b,然后输出他们的和即可。
#include<iostream> //头文件
using namespace std; //命名空间
int main(){ //主函数,程序从这里开始
int a,b; //定义变量
cin>>a>>b; //输入
cout<<a+b<<endl; //输出他们的和
return 0; //主函数需要返回0
}
管理大大求过
By signing up a HydroOJ universal account, you can submit code and join discussions in all online judging services provided by us.