Input: Each line will contain two integers A and B.process to end of file
Output:for each case,output A and B in one line
Submit:
#include<iostream> using namespace std; int main() { int a,b; while(cin>>a>>b) cout<<a+b<<endl; }
时间: 2024-12-09 07:42:59