题目链接地址: A+B Problem
题目的意思很明确,就是实现一个简单的加法。
#include <stdio.h>
#include <iostream>
using namespace std;
void main(){
int i,j;
while(cin>>i>>j)
cout<<i+j<<endl;
}
题目链接地址: A+B Problem
题目的意思很明确,就是实现一个简单的加法。
#include <stdio.h>
#include <iostream>
using namespace std;
void main(){
int i,j;
while(cin>>i>>j)
cout<<i+j<<endl;
}