1
0
codeforces-template/Codeforces.Console/Program.cs

17 lines
325 B
C#
Raw Normal View History

2023-08-09 09:42:50 +03:00
namespace Codeforces
{
public class Program
{
public static void Main(string[] args)
{
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());
}
}
}
}