Competitive Programming
Try To Help To Generate & Improve The Idea Of Competitive Programming
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
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment