Submission #301641

#TimeUsernameProblemLanguageResultExecution timeMemory
301641llakiCarnival Tickets (IOI20_tickets)Java
Compilation error
0 ms0 KiB
public class IOIDay1Tickets { long find_maximum(int k, int[][] x) { int n = x.length; int m = x[0].length; int[][] answer = new int[n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { if (j < k) { answer[i][j] = j; } else { answer[i][j] = -1; } } } grader.allocate_tickets(answer); return 1; } }

Compilation message (stderr)

tickets.java:1: error: class IOIDay1Tickets is public, should be declared in a file named IOIDay1Tickets.java
public class IOIDay1Tickets {
       ^
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
3 errors