StdRandom, StdOut, Insertion não pode ser resolvido
Este código deve implementar a classificação.
Eu tenho 3 erros:
"StdRandom não pode ser resolvido",
"StdOut não pode ser resolvido",
"Inserção não pode ser resolvida".
Pode haver algumas bibliotecas para importar?
public class randomDoubles
{
public static void main(String[] args)
{
int N = Integer.parseInt(args[0]);
Double[] a = new Double[N];
for(int i = 0; i < N; i++)
a[i] = StdRandom.uniform(); // error: StdRandom cannot be resolved
Insertion.sort(a); // error: Insertion cannot be resolved
for (int i = 0; i < N; i++)
StdOut.println(a[i]); // error: StdOut cannot be resolved
}
}