call of overladed error message

I’m getting the following error message from the code below,

“call of overloaded ‘println(int [sl])’ is ambiguous”

I’m sure it’s a simple syntax error but I don’t know how to address it.

int sl = 10;
int seed = 1;

void setup() {
  // put your setup code here, to run once:

void loop() {
  // put your main code here, to run repeatedly:
  int scramblenumbers[sl];

  for (int x = 0; x <= sl; x + 1){

    scramblenumbers[x] = random(1, 18);


// l, l', l2, r, r', r2, u, u' u2, d, d', d2, b, b', b2, f, f', f2

You can’t pass an array to print.

If you want to print every element, you need to loop over the array and print every element, eg:

for (int i=0;i<sl;i++) {

Also, using an extremely long delay like that to end the program is stupid. If you only want it to run once, put the code in setup(), not loop().

You can't pass an array to print.

...except, of course, when the array is a char array, and a valid C string. When you can.