diff --git a/indexRownowagi/index.cs b/indexRownowagi/index.cs index a5aa0ec..594ac9f 100644 --- a/indexRownowagi/index.cs +++ b/indexRownowagi/index.cs @@ -1,4 +1,5 @@ -using System; + + using System; public class Program { @@ -8,39 +9,38 @@ public class Program int length = A.Length; - int sum1=0, sum2=0; - if(A.Length < 3) + + if(length < 3) { System.Console.Write("-1"); } else { - for(int i = 1; i A[i] && A[j]