题目:https://vjudge.net/problem/hdu-1000?tdsourcetag=s_pctim_aiomsg
A+B
#include<iostream>
using namespace std;
int main() {
int a,b;
while(cin>>a>>b) {
cout<<a+b<<endl;
}
}
小结:入门A+B
题目:https://vjudge.net/problem/hdu-1000?tdsourcetag=s_pctim_aiomsg
A+B
#include<iostream>
using namespace std;
int main() {
int a,b;
while(cin>>a>>b) {
cout<<a+b<<endl;
}
}
小结:入门A+B