#include <iostream> using namespace std; int main() { int n,a,b; scanf("%d",&n); while(n--){ scanf("%d%d",&a,&b); cout << a+b << endl; } return 0; }
Double click to view unformatted code.