Edit program
This commit is contained in:
parent
f11270f3b5
commit
c20bff382e
@ -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());
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user