Main.java:33: error: array required, but int found
u[u] += u[first[u]] + 1;
^
Main.java:33: error: array required, but int found
u[u] += u[first[u]] + 1;
^
Main.java:34: error: cannot find symbol
if (b[u] >= k) {
^
symbol: variable k
location: class Main
Main.java:37: error: array required, but int found
u[u] = 0;
^
Main.java:41: error: array required, but int found
u[v] += u[u] + 1;
^
Main.java:41: error: array required, but int found
u[v] += u[u] + 1;
^
Main.java:42: error: cannot find symbol
if (b[v] >= k) {
^
symbol: variable k
location: class Main
Main.java:45: error: array required, but int found
u[v] = 0;
^
Main.java:50: error: cannot find symbol
if (b[v] >= k) {
^
symbol: variable k
location: class Main
9 errors