제출 #302606

#제출 시각아이디문제언어결과실행 시간메모리
302606ASD3D카니발 티켓 (IOI20_tickets)Java
컴파일 에러
0 ms0 KiB
public class Problem { public static int find_maximum(int k, int[][] x) { int ans = 0; for (int i = 0; i < x.length; i++) { ans += x[i][0]; } ans -= x.length * x[x.length/2][0]; int[][] s = new int[x.length][1]; allocate_tickets(s); return ans; } }

컴파일 시 표준 에러 (stderr) 메시지

tickets.java:1: error: class Problem is public, should be declared in a file named Problem.java
public class Problem {
       ^
tickets.java:9: error: cannot find symbol
        allocate_tickets(s);
        ^
  symbol:   method allocate_tickets(int[][])
  location: class Problem
grader.java:56: error: cannot find symbol
        tickets solver = new tickets();
        ^
  symbol:   class tickets
  location: class grader
grader.java:56: error: cannot find symbol
        tickets solver = new tickets();
                             ^
  symbol:   class tickets
  location: class grader
4 errors