https://www.acmicpc.net/problem/11758
using System;
class Program
{
static void Main() {
string[] s=Console.ReadLine().Split(' ');
string[] s1=Console.ReadLine().Split(' ');
string[] s2=Console.ReadLine().Split(' ');
int x1=int.Parse(s[0]);
int y1=int.Parse(s[1]);
int x2=int.Parse(s1[0]);
int y2=int.Parse(s1[1]);
int x3=int.Parse(s2[0]);
int y3=int.Parse(s2[1]);
int a=x1*y2+x2*y3+x3*y1;
int b=x2*y1+x3*y2+x1*y3;
if(a-b>0) Console.Write("1");
else if(a-b<0) Console.Write("-1");
else Console.Write("0");
}
}