1
0

Edit program

This commit is contained in:
Serghei Cebotari 2023-08-11 10:10:29 +03:00
parent f11270f3b5
commit c20bff382e

View File

@ -7,9 +7,7 @@
int count = int.Parse(Console.ReadLine()); int count = int.Parse(Console.ReadLine());
for (int i = 0; i < count; i++) for (int i = 0; i < count; i++)
{ {
var numbers = Console.ReadLine() var numbers = ParseInput();
.Split(' ')
.Select(x => int.Parse(x));
Console.WriteLine(numbers.Sum()); Console.WriteLine(numbers.Sum());
} }
} }