aboutsummaryrefslogtreecommitdiff
path: root/Codeforces.Console/Program.cs
blob: 029f76d101171e9af38e9e71986901a837b5ae40 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
namespace Codeforces
{
	public class Program
	{
		public static void Main()
		{
			int count = int.Parse(Console.ReadLine());
			for (int i = 0; i < count; i++)
			{
				var numbers = Console.ReadLine()
					.Split(' ')
					.Select(x => int.Parse(x));
				Console.WriteLine(numbers.Sum());
			}
		}

		public static int[] ParseInput()
		{
			return Console.ReadLine()
					.Split(' ')
					.Select(x => int.Parse(x))
					.ToArray();
		}
	}
}