From c20bff382ed01993a7f05ff6425fc82cfe27fec4 Mon Sep 17 00:00:00 2001 From: Serghei Cebotari Date: Fri, 11 Aug 2023 10:10:29 +0300 Subject: [PATCH] Edit program --- Codeforces.Console/Program.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Codeforces.Console/Program.cs b/Codeforces.Console/Program.cs index 029f76d..49db58b 100644 --- a/Codeforces.Console/Program.cs +++ b/Codeforces.Console/Program.cs @@ -7,9 +7,7 @@ int count = int.Parse(Console.ReadLine()); for (int i = 0; i < count; i++) { - var numbers = Console.ReadLine() - .Split(' ') - .Select(x => int.Parse(x)); + var numbers = ParseInput(); Console.WriteLine(numbers.Sum()); } }