Language: Java

import java.util.Scanner;
??
public class Main{
??
??public static void main(String[] args) {
????Scanner sc = new Scanner(System.in);
????while(true){
??
??????int H = sc.nextInt();
??????int W = sc.nextInt();
??
??????if(H == 0 && W == 0)break;
??????for(int i = 0;i < H ;i++){
????????for(int j = 0;j < W ;j++){
??
??????????System.out.println("#");
????????}
????????System.out.println();
??????}
??????System.out.println();
????}
??}
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
??
^
Main.java:4: error: illegal start of type
??
^
Main.java:6: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
^
Main.java:6: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
 ^
Main.java:6: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
  ^
Main.java:6: error: illegal start of expression
????Scanner sc = new Scanner(System.in);
   ^
Main.java:6: error: : expected
????Scanner sc = new Scanner(System.in);
           ^
Main.java:6: error: : expected
????Scanner sc = new Scanner(System.in);
                                       ^
Main.java:7: error: illegal start of expression
????while(true){
^
Main.java:7: error: illegal start of expression
????while(true){
 ^
Main.java:7: error: illegal start of expression
????while(true){
  ^
Main.java:7: error: illegal start of expression
????while(true){
   ^
Main.java:7: error: illegal start of expression
????while(true){
    ^
Main.java:8: error: illegal start of expression
??
^
Main.java:8: error: illegal start of expression
??
 ^
Main.java:9: error: illegal start of expression
??????int H = sc.nextInt();
^
Main.java:9: error: illegal start of expression
??????int H = sc.nextInt();
 ^
Main.java:9: error: illegal start of expression
??????int H = sc.nextInt();
  ^
Main.java:9: error: illegal start of expression
??????int H = sc.nextInt();
   ^
Main.java:9: error: illegal start of expression
??????int H = sc.nextInt();
    ^
Main.java:9: error: illegal start of expression
??????int H = sc.nextInt();
     ^
Main.java:9: error: '.class' expected
??????int H = sc.nextInt();
          ^
Main.java:9: error: : expected
??????int H = sc.nextInt();
                          ^
Main.java:10: error: illegal start of expression
??????int W = sc.nextInt();
^
Main.java:10: error: illegal start of expression
??????int W = sc.nextInt();
 ^
Main.java:10: error: illegal start of expression
??????int W = sc.nextInt();
  ^
Main.java:10: error: illegal start of expression
??????int W = sc.nextInt();
   ^
Main.java:10: error: illegal start of expression
??????int W = sc.nextInt();
    ^
Main.java:10: error: illegal start of expression
??????int W = sc.nextInt();
     ^
Main.java:10: error: '.class' expected
??????int W = sc.nextInt();
          ^
Main.java:10: error: : expected
??????int W = sc.nextInt();
                          ^
Main.java:11: error: illegal start of expression
??
^
Main.java:11: error: illegal start of expression
??
 ^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
 ^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
  ^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
   ^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
    ^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
     ^
Main.java:12: error: illegal start of expression
??????if(H == 0 && W == 0)break;
      ^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
 ^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
  ^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
   ^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
    ^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
     ^
Main.java:13: error: illegal start of expression
??????for(int i = 0;i < H ;i++){
      ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
 ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
  ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
   ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
    ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
     ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
      ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
       ^
Main.java:14: error: illegal start of expression
????????for(int j = 0;j < W ;j++){
        ^
Main.java:15: error: illegal start of expression
??
^
Main.java:15: error: illegal start of expression
??
 ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
 ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
  ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
   ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
    ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
     ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
      ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
       ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
        ^
Main.java:16: error: illegal start of expression
??????????System.out.println("#");
         ^
Main.java:16: error: : expected
??????????System.out.println("#");
                                 ^
Main.java:17: error: illegal start of expression
????????}
^
Main.java:17: error: illegal start of expression
????????}
 ^
Main.java:17: error: illegal start of expression
????????}
  ^
Main.java:17: error: illegal start of expression
????????}
   ^
Main.java:17: error: illegal start of expression
????????}
    ^
Main.java:17: error: illegal start of expression
????????}
     ^
Main.java:17: error: illegal start of expression
????????}
      ^
Main.java:17: error: illegal start of expression
????????}
       ^
Main.java:17: error: illegal start of expression
????????}
        ^
Main.java:18: error: illegal start of expression
????????System.out.println();
^
Main.java:18: error: illegal start of expression
????????System.out.println();
 ^
Main.java:18: error: illegal start of expression
????????System.out.println();
  ^
Main.java:18: error: illegal start of expression
????????System.out.println();
   ^
Main.java:18: error: illegal start of expression
????????System.out.println();
    ^
Main.java:18: error: illegal start of expression
????????System.out.println();
     ^
Main.java:18: error: illegal start of expression
????????System.out.println();
      ^
Main.java:18: error: illegal start of expression
????????System.out.println();
       ^
Main.java:18: error: : expected
????????System.out.println();
                            ^
Main.java:19: error: illegal start of expression
??????}
^
Main.java:19: error: illegal start of expression
??????}
 ^
Main.java:19: error: illegal start of expression
??????}
  ^
Main.java:19: error: illegal start of expression
??????}
   ^
Main.java:19: error: illegal start of expression
??????}
    ^
Main.java:19: error: illegal start of expression
??????}
     ^
Main.java:19: error: illegal start of expression
??????}
      ^
Main.java:20: error: illegal start of expression
??????System.out.println();
^
Main.java:20: error: illegal start of expression
??????System.out.println();
 ^
Main.java:20: error: illegal start of expression
??????System.out.println();
  ^
Main.java:20: error: illegal start of expression
??????System.out.println();
   ^
Main.java:20: error: illegal start of expression
??????System.out.println();
    ^
Main.java:20: error: illegal start of expression
??????System.out.println();
     ^
100 errors
only showing the first 100 errors, of 109 total; use -Xmaxerrs if you would like to see more