Monday, August 28, 2017

1921 Guilherme and His Kites Uri Problem Only Solution In C#



using System;

public class Test

{
    public static void Main()
   
    {
      
      long a=Convert.ToInt64(Console.ReadLine());
       long n=(a*(a-3))>>1;
      Console.WriteLine(n);
   
    }   
}

No comments:

Post a Comment