fork download
  1. public class Main {
  2. public static void main(String[] args) {
  3. int[][] data = {
  4. {2, 3, 4},
  5. {1, 7, 8},
  6. {3, 4, 5}
  7. };
  8. for (int[] v: data) {
  9. for (int i = 0; i < v[0]; i++) {
  10. System.out.println(String.valueOf(v[0]) + String.valueOf(v[1]) + String.valueOf(v[2]));
  11. }
  12. }
  13. }
  14. }
  15.  
Success #stdin #stdout 0.15s 50568KB
stdin
Standard input is empty
stdout
234
234
178
345
345
345