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

17 lines
312 B
C#
Raw Normal View History

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