View Code of Problem 109

#include<iostream>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <cmath>
using namespace std;
#pragma warning(disable:4996)



int main() {
	int n;
	scanf("%d", &n);
	int a, b;
	for (int i = 0; i < n; i++) {
		scanf("%d %d", &a, &b);
		printf("%d", a + b);
	}
	return 0;
}	

Double click to view unformatted code.


Back to problem 109