Job 11818

Owner
sorin olimpicu
Problem
Coins
Source
1.03KB
Result
Compile error (Non-zero exit status: 1)

Compiler output

prog.java:20: error: cannot find symbol
            Set<Point> set = new HashSet<>();
                ^
  symbol:   class Point
  location: class prog
prog.java:20: error: unexpected type
            Set<Point> set = new HashSet<>();
                                        ^
  required: class
  found:    <E>HashSet<E>
  where E is a type-variable:
    E extends Object declared in class HashSet
prog.java:21: error: cannot find symbol
            Point p = new Point(0, 0);
            ^
  symbol:   class Point
  location: class prog
prog.java:21: error: cannot find symbol
            Point p = new Point(0, 0);
                          ^
  symbol:   class Point
  location: class prog
prog.java:28: error: cannot find symbol
                p = new Point(Double.parseDouble(line[0]), Double.parseDouble(line[1]));                
                        ^
  symbol:   class Point
  location: class prog
prog.java:29: error: illegal start of type
                System.out.println((int) -1*(p.x) +" "+ (int) -1*(p.y));
                                            ^
prog.java:29: error: illegal start of type
                System.out.println((int) -1*(p.x) +" "+ (int) -1*(p.y));
                                                                 ^
7 errors
javac failed: errno= return=256 at /home/marius/perl5/bin/gruntmaster-compile line 22.

Questions?

Sponsors Gold