в чем проблема?
package com.javarush.task.pro.task05.task0511;
import java.util.Scanner;
/*
Создаем двумерный массив
*/
public class Solution {
public static int[][] multiArray;
public static void main(String[] args) {
Scanner console = new Scanner(System.in);
int n = console.nextInt();
int[][] multiArray = new int[n][];
for (int i = 0; i < n; i++) {
int x = console.nextInt();
// for (int j = 0; j < x; j++) {
multiArray[i] = new int[x];
//}
} //напишите тут ваш код
}
}