diff --git a/indexRownowagi/index.cs b/indexRownowagi/index.cs new file mode 100644 index 0000000..a5aa0ec --- /dev/null +++ b/indexRownowagi/index.cs @@ -0,0 +1,46 @@ +using System; + +public class Program +{ + public static void Main() + { + int[] A = {-7, 1, 5, 2, -4, 3, 0}; + + int length = A.Length; + + int sum1=0, sum2=0; + + + if(A.Length < 3) + { + System.Console.Write("-1"); + } + else + { + for(int i = 1; i A[i] && A[j]