Language: Java

public class Main{
??public static void main(String[] args){
????try (Scanner sc = new Scanner(System.in)){
??????while(true){
????????final int H = sc.nextInt();
????????final int W = sc.nextInt();
????????if(H == 0 && W == 0){
??????????break;
????????}
????????for(int y = 0; y < H; y++){
??????????for(int x = 0; x < W; x++){
????????????System.out.println("0");
??????????}
??????????System.out.println("#\n");
????????}
??????System.out.println("#");
   }
 ??}
 }
}

Compiler output:
Main.java:2: error: illegal start of type
??public static void main(String[] args){
^
Main.java:3: error: illegal start of expression
????try (Scanner sc = new Scanner(System.in)){
^
Main.java:3: error: illegal start of expression
????try (Scanner sc = new Scanner(System.in)){
 ^
Main.java:3: error: illegal start of expression
????try (Scanner sc = new Scanner(System.in)){
  ^
Main.java:3: error: illegal start of expression
????try (Scanner sc = new Scanner(System.in)){
   ^
Main.java:3: error: illegal start of expression
????try (Scanner sc = new Scanner(System.in)){
    ^
Main.java:4: error: illegal start of expression
??????while(true){
^
Main.java:4: error: illegal start of expression
??????while(true){
 ^
Main.java:4: error: illegal start of expression
??????while(true){
  ^
Main.java:4: error: illegal start of expression
??????while(true){
   ^
Main.java:4: error: illegal start of expression
??????while(true){
    ^
Main.java:4: error: illegal start of expression
??????while(true){
     ^
Main.java:4: error: illegal start of expression
??????while(true){
      ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
 ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
  ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
   ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
    ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
     ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
      ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
       ^
Main.java:5: error: illegal start of expression
????????final int H = sc.nextInt();
        ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
 ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
  ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
   ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
    ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
     ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
      ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
       ^
Main.java:6: error: illegal start of expression
????????final int W = sc.nextInt();
        ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
 ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
  ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
   ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
    ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
     ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
      ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
       ^
Main.java:7: error: illegal start of expression
????????if(H == 0 && W == 0){
        ^
Main.java:8: error: illegal start of expression
??????????break;
^
Main.java:8: error: illegal start of expression
??????????break;
 ^
Main.java:8: error: illegal start of expression
??????????break;
  ^
Main.java:8: error: illegal start of expression
??????????break;
   ^
Main.java:8: error: illegal start of expression
??????????break;
    ^
Main.java:8: error: illegal start of expression
??????????break;
     ^
Main.java:8: error: illegal start of expression
??????????break;
      ^
Main.java:8: error: illegal start of expression
??????????break;
       ^
Main.java:8: error: illegal start of expression
??????????break;
        ^
Main.java:8: error: illegal start of expression
??????????break;
         ^
Main.java:8: error: illegal start of expression
??????????break;
          ^
Main.java:9: error: illegal start of expression
????????}
^
Main.java:9: error: illegal start of expression
????????}
 ^
Main.java:9: error: illegal start of expression
????????}
  ^
Main.java:9: error: illegal start of expression
????????}
   ^
Main.java:9: error: illegal start of expression
????????}
    ^
Main.java:9: error: illegal start of expression
????????}
     ^
Main.java:9: error: illegal start of expression
????????}
      ^
Main.java:9: error: illegal start of expression
????????}
       ^
Main.java:9: error: illegal start of expression
????????}
        ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
 ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
  ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
   ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
    ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
     ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
      ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
       ^
Main.java:10: error: illegal start of expression
????????for(int y = 0; y < H; y++){
        ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
 ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
  ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
   ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
    ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
     ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
      ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
       ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
        ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
         ^
Main.java:11: error: illegal start of expression
??????????for(int x = 0; x < W; x++){
          ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
 ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
  ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
   ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
    ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
     ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
      ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
       ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
        ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
         ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
          ^
Main.java:12: error: illegal start of expression
????????????System.out.println("0");
           ^
Main.java:12: error: : expected
????????????System.out.println("0");
                                   ^
Main.java:13: error: illegal start of expression
??????????}
^
Main.java:13: error: illegal start of expression
??????????}
 ^
Main.java:13: error: illegal start of expression
??????????}
  ^
Main.java:13: error: illegal start of expression
??????????}
   ^
Main.java:13: error: illegal start of expression
??????????}
    ^
Main.java:13: error: illegal start of expression
??????????}
     ^
Main.java:13: error: illegal start of expression
??????????}
      ^
100 errors
only showing the first 100 errors, of 134 total; use -Xmaxerrs if you would like to see more