Language: Java

import java.io.*;

class Main{
public static void main(String[] args){
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
String line;
while((line=br.readLine())!=null){
String[] value=line.split(",");
xa=Integer.parseInt(value[0]);
ya=Integer.parseInt(value[1]);
xb=Integer.parseInt(value[2]);
yb=Integer.parseInt(value[3]);
xc=Integer.parseInt(value[4]);
yc=Integer.parseInt(value[5]);
xd=Integer.parseInt(value[6]);
yd=Integer.parseInt(value[7]);
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
if(area1==area2){
System.out.println("YES");
}
else{
System.out.println("NO");
}
}
}
static double area(double a,double b,double c,double d){
return Math.abs(a*d-b*c)/2;
}
}

Compiler output:
Main.java:9: error: cannot find symbol
xa=Integer.parseInt(value[0]);
^
  symbol:   variable xa
  location: class Main
Main.java:10: error: cannot find symbol
ya=Integer.parseInt(value[1]);
^
  symbol:   variable ya
  location: class Main
Main.java:11: error: cannot find symbol
xb=Integer.parseInt(value[2]);
^
  symbol:   variable xb
  location: class Main
Main.java:12: error: cannot find symbol
yb=Integer.parseInt(value[3]);
^
  symbol:   variable yb
  location: class Main
Main.java:13: error: cannot find symbol
xc=Integer.parseInt(value[4]);
^
  symbol:   variable xc
  location: class Main
Main.java:14: error: cannot find symbol
yc=Integer.parseInt(value[5]);
^
  symbol:   variable yc
  location: class Main
Main.java:15: error: cannot find symbol
xd=Integer.parseInt(value[6]);
^
  symbol:   variable xd
  location: class Main
Main.java:16: error: cannot find symbol
yd=Integer.parseInt(value[7]);
^
  symbol:   variable yd
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                  ^
  symbol:   variable xb
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                     ^
  symbol:   variable xa
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                        ^
  symbol:   variable yb
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                           ^
  symbol:   variable ya
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                              ^
  symbol:   variable xd
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                 ^
  symbol:   variable xa
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                    ^
  symbol:   variable yd
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                       ^
  symbol:   variable ya
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                ^
  symbol:   variable xb
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                   ^
  symbol:   variable xc
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                      ^
  symbol:   variable yb
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                         ^
  symbol:   variable yc
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                            ^
  symbol:   variable xd
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                               ^
  symbol:   variable xc
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                                  ^
  symbol:   variable yd
  location: class Main
Main.java:17: error: cannot find symbol
double area1=area(xb-xa,yb-ya,xd-xa,yd-ya)+area(xb-xc,yb-yc,xd-xc,yd-yc);
                                                                     ^
  symbol:   variable yc
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                  ^
  symbol:   variable xa
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                     ^
  symbol:   variable xb
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                        ^
  symbol:   variable ya
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                           ^
  symbol:   variable yb
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                              ^
  symbol:   variable xc
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                 ^
  symbol:   variable xb
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                    ^
  symbol:   variable yc
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                       ^
  symbol:   variable yb
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                ^
  symbol:   variable xa
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                   ^
  symbol:   variable xd
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                      ^
  symbol:   variable ya
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                         ^
  symbol:   variable yd
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                            ^
  symbol:   variable xc
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                               ^
  symbol:   variable xd
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                                  ^
  symbol:   variable yc
  location: class Main
Main.java:18: error: cannot find symbol
double area2=area(xa-xb,ya-yb,xc-xb,yc-yb)+area(xa-xd,ya-yd,xc-xd,yc-yd);
                                                                     ^
  symbol:   variable yd
  location: class Main
40 errors