最开始基础的A + B problem
关键在于Process to end of file 就是处理到文件的结束此处为坑
#include <iostream>
using namespace std;
int main()
{
int a;
int b;
while(cin>>a>>b)
{
cout<<(a+b)<<endl;
}
return 0;
}
最开始基础的A + B problem
关键在于Process to end of file 就是处理到文件的结束此处为坑
#include <iostream>
using namespace std;
int main()
{
int a;
int b;
while(cin>>a>>b)
{
cout<<(a+b)<<endl;
}
return 0;
}