criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.io.*;
import java.util.*;

public class Main {
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    while (sc.hasNext()) {
      int H = Integer.parseInt(sc.next());
      int W = Integer.parseInt(sc.next());
      if (H == 0 && W == 0) break;
      for (int i = 0; i < H; i++) {
        for (int j = 0; j < W; j++) {
          System.out.print('#');
        }
        System.out.print('\n');
      }
      System.out.print('\n')
    }
  }
}

Compiler output:
Main.java:17: error: ';' expected
      System.out.print('\n')
                            ^
1 error
Language: Java

import java.util.Scanner;

public class tyohou{
	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.printf("#");
				}
				System.out.printf("\n");	
			}
                        System.out.printf("\n");
		}
	}
}

Compiler output:
Main.java:3: error: class tyohou is public, should be declared in a file named tyohou.java
public class tyohou{
       ^
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		for(;;){
		int h=sc.nextInt();
		int w=sc.nextInt();
		if(h==0&&w==0||h,w<1||h,w>300){
			break;
		}
		int i,j;
		for(i=0;i<h;i++){
			for(j=0;j<w;j++){
				System.out.print('#');
			}
			System.out.println("");
		}
		}
	}
}

Compiler output:
Main.java:9: error: ')' expected
		if(h==0&&w==0||h,w<1||h,w>300){
		                ^
Main.java:9: error: illegal start of type
		if(h==0&&w==0||h,w<1||h,w>300){
		                   ^
Main.java:9: error: not a statement
		if(h==0&&w==0||h,w<1||h,w>300){
		                  ^
Main.java:9: error: not a statement
		if(h==0&&w==0||h,w<1||h,w>300){
		                      ^
Main.java:9: error: ';' expected
		if(h==0&&w==0||h,w<1||h,w>300){
		                       ^
Main.java:9: error: not a statement
		if(h==0&&w==0||h,w<1||h,w>300){
		                         ^
Main.java:9: error: ';' expected
		if(h==0&&w==0||h,w<1||h,w>300){
		                             ^
7 errors
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int height = sc.nextInt();
    int wide = sc.nextInt();
    
    for(int i=0;i<height;i++){
      for(int j=0;j<wide;j++){
        System.out.print("#");
      }
      Ststem.out.println("");
    }
  }
}

Compiler output:
Main.java:13: error: package Ststem does not exist
      Ststem.out.println("");
            ^
1 error
Language: Java

import java.util.Scanner;

public class PrintRectangle {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int i,j;
		for(;;){
		int h=sc.nextInt();
		int w=sc.nextInt();
		if(h==0&&w==0){
			break;
		}
		for(i=0;i<h;i++){
			for(j=0;j<w;j++){
				System.out.print('#');
			}
			System.out.printf("\n");
		}
		
		}
	}
}

Compiler output:
Main.java:3: error: class PrintRectangle is public, should be declared in a file named PrintRectangle.java
public class PrintRectangle {
       ^
1 error
Language: Java

import java.util.Scanner;
public class Main{
	private static Scanner sc;
	public static void main(String[] args){
		int i=999;
		int [] H=new int[i];
		int [] W=new int[i];
		for(i=0;i<999;i++){
			sc = new Scanner(System.in);
			H[i]=sc.nextInt();
			W[i]=sc.nextInt();
			if(H[i]==0||W[i]==0){
				break;
			}
			if(H[i]<1||H[i]>300){
				break;
			}
			if(W[i]<1||W[i]>300){
				break;
			}
		}
		for(int n=0;n<=i;n++){
			System.out.println();
			for(int p=0;p<H[n];p++){
				for(int q=0;q<W[n];q++){
					System.out.print("#");
				}
				System.out.println();
			}
		}
	}

Compiler output:
Main.java:31: error: reached end of file while parsing
	}
	 ^
1 error
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String [] args){
        Scanner scan = new Scanner(System.in);

        while(true){
            int h = scan.nextInt();
            int w = scan.nextInt();

            if(h == 0 && w == 0) break;

            for(int i = 0; i < h; ++i){
                for(int j = 0; j < w; ++j){
                    System.out.print('#');
                }

                System.out.println();
            }

Compiler output:
Main.java:19: error: reached end of file while parsing
            }
             ^
1 error
Language: Java

import java.util.Scanner;

class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int height = sc.nextInt();
    int wide = sc.nextInt();
    char c = '#';
    
    for(int i=0;i<height;i++){
      for(int j=0;j<wide;j++){
        System.out.print(c);
      }
      Ststem.out.println();
    }
  }
}

Compiler output:
Main.java:14: error: package Ststem does not exist
      Ststem.out.println();
            ^
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
		int i, j, x, y;
		Scanner sc = new Scanner(System.in);
		do {
			i = sc.nextInt();
			j = sc.nextInt();

			for (x = 1; x <= i; x++) {
				for (y = 1; y <= j; y++) {
					System.out.printf("#");
				}
				System.out.printf("\n");
			}
			System.out.printf("\n");
		} while (i != 0 && j != 0);
	}
}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class lesson2_1 {
	public static void main(String[] args) {
		int i, j, x, y;
		Scanner sc = new Scanner(System.in);
		do {
			i = sc.nextInt();
			j = sc.nextInt();

			for (x = 1; x <= i; x++) {
				for (y = 1; y <= j; y++) {
					System.out.printf("#");
				}
				System.out.printf("\n");
			}
			System.out.printf("\n");
		} while (i != 0 && j != 0);
	}
}

Compiler output:
Main.java:3: error: class lesson2_1 is public, should be declared in a file named lesson2_1.java
public class lesson2_1 {
       ^
1 error
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 j = 0; j < H; j++) {
				for (int i = 0; i < W; i++) {
					System.out.printf("#");
				}
				System.out.printf("\n");
			}
                        System.out.printf("\n");
		}
	}

}

Compiler output:
Main.java:3: error: class Main_ is public, should be declared in a file named Main_.java
public class Main_ {
       ^
1 error
Language: Java

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

Compiler output:
Main.java:2: error: class Rectangle is public, should be declared in a file named Rectangle.java
public class Rectangle {
       ^
Main.java:12: error: cannot find symbol
	for(int i=1;i<=H;i++){
	               ^
  symbol:   variable H
  location: class Rectangle
Main.java:13: error: cannot find symbol
		for(int j=1;j<=W;j++){
		               ^
  symbol:   variable W
  location: class Rectangle
3 errors
Language: Java

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

Compiler output:
Main.java:2: error: class Rectangle is public, should be declared in a file named Rectangle.java
public class Rectangle {
       ^
Main.java:12: error: cannot find symbol
	for(int i=1;i<=H;i++){
	               ^
  symbol:   variable H
  location: class Rectangle
Main.java:13: error: cannot find symbol
		for(int j=1;j<=W;j++){
		               ^
  symbol:   variable W
  location: class Rectangle
3 errors
Language: Java

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

Compiler output:
Main.java:8: error: break outside switch or loop
		if(H==0 & W==0) break;
		                ^
1 error
Language: Java

import java.util.Scanner;

public class PR {
	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.printf("#");
				}
				System.out.printf("\n");
			}
			System.out.printf("\n");
		}

	}

}

Compiler output:
Main.java:3: error: class PR is public, should be declared in a file named PR.java
public class PR {
       ^
1 error
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("\n");
   }
 }
}

Compiler output:
Main.java:22: error: reached end of file while parsing
}
 ^
1 error
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("\n");
   }
 }
}

Compiler output:
Main.java:3: error: class main is public, should be declared in a file named main.java
public class main{
       ^
Main.java:15: error: cannot find symbol
   for(int i=0;i<H;i++){
                 ^
  symbol:   variable H
  location: class main
Main.java:16: error: cannot find symbol
    for(int j=0;j<W;j++){
                  ^
  symbol:   variable W
  location: class main
3 errors
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.printf("#");
				}
			}
			printf("\n");
		}
	}
}

Compiler output:
Main.java:17: error: cannot find symbol
			printf("\n");
			^
  symbol:   method printf(String)
  location: class Main
1 error
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("\n");
   }
 }
}

Compiler output:
Main.java:15: error: cannot find symbol
   for(int i=0;i<H;i++){
                 ^
  symbol:   variable H
  location: class Main
Main.java:16: error: cannot find symbol
    for(int j=0;j<W;j++){
                  ^
  symbol:   variable W
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
   
   Scanner sc = new Scanner(System.in);

   while(1){
    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("\n");
   }
    System.out.println("\n");
 }
}
}

Compiler output:
Main.java:8: error: incompatible types: int cannot be converted to boolean
   while(1){
         ^
1 error
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.print("#");
	    	}
	    		System.out.println(+" "+);
	    	}
	    	}System.out.println(+" "+);
	    }
}

Compiler output:
Main.java:15: error: illegal start of expression
	    		System.out.println(+" "+);
	    		                        ^
Main.java:17: error: illegal start of expression
	    	}System.out.println(+" "+);
	    	                         ^
2 errors
Language: Java

import java.util.Scanner;

public class PrintRectangle {
	 public static void main(String[] args){
		 Scanner input=new Scanner(System.in);
	        int h = input.nextInt();
	        int w = input.nextInt();
	        
	        System.out.println();
	        
	        if ( h !=0 && w !=0){
	        	for (int i=0;i<h;i++){
	        		for (int j=0;j<w;j++){
	        			System.out.print("#");
	        		}	
	        		System.out.println();
	        	}
	        }
	        
	        
	 }
}

Compiler output:
Main.java:3: error: class PrintRectangle is public, should be declared in a file named PrintRectangle.java
public class PrintRectangle {
       ^
1 error
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.printf("#");
	    	}
	    		System.out.printf("\ n");
	    	}
	    	}System.out.printf("\ n");
	    }
}

Compiler output:
Main.java:16: error: illegal escape character
	    		System.out.printf("\ n");
	    		                    ^
Main.java:18: error: illegal escape character
	    	}System.out.printf("\ n");
	    	                     ^
2 errors
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.print("#");
	    	}
	    		System.out.printf( );
	    	}
	    	}System.out.printf( );
	    }
}

Compiler output:
Main.java:16: error: no suitable method found for printf(no arguments)
	    		System.out.printf( );
	    		          ^
    method PrintStream.printf(String,Object...) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.printf(Locale,String,Object...) is not applicable
      (actual and formal argument lists differ in length)
Main.java:18: error: no suitable method found for printf(no arguments)
	    	}System.out.printf( );
	    	           ^
    method PrintStream.printf(String,Object...) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.printf(Locale,String,Object...) is not applicable
      (actual and formal argument lists differ in length)
2 errors
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.printf("#");
	    	}
	    		System.out.printf( );
	    	}
	    	}System.out.printf( );
	    }
}

Compiler output:
Main.java:16: error: no suitable method found for printf(no arguments)
	    		System.out.printf( );
	    		          ^
    method PrintStream.printf(String,Object...) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.printf(Locale,String,Object...) is not applicable
      (actual and formal argument lists differ in length)
Main.java:18: error: no suitable method found for printf(no arguments)
	    	}System.out.printf( );
	    	           ^
    method PrintStream.printf(String,Object...) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.printf(Locale,String,Object...) is not applicable
      (actual and formal argument lists differ in length)
2 errors
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.printf("#");
	    	}
	    		System.out.println(+" "+);
	    	}
	    	}System.out.println(+" "+);
	    }
}

Compiler output:
Main.java:16: error: illegal start of expression
	    		System.out.println(+" "+);
	    		                        ^
Main.java:18: error: illegal start of expression
	    	}System.out.println(+" "+);
	    	                         ^
2 errors
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 n = 0;n < h;n++){
				for(int m = 0;m < w;m++){
					System.out.printf("#");
				}
				System.out.printf("\n");
			}
		}
	}
}

Compiler output:
Main.java:6: error: ';' expected
		While(true){
		           ^
1 error
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.print("#");
	    	}
	    		System.out.println( );
	    	}
	    	System.out.println( );
	    }
}

Compiler output:
Main.java:20: error: reached end of file while parsing
}
 ^
1 error
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.printf("#");
	    	}
	    		System.out.println( );
	    	}
	    	System.out.println( );
	    }
}

Compiler output:
Main.java:21: error: reached end of file while parsing
}
 ^
1 error
Language: Java



public class Main {
	public static void main(String[] args){
		   Scanner input=new Scanner(System.in);
		         
		         
		         for (;;){
		          int h = input.nextInt();
		          int w = input.nextInt();
		          if ( h !=0 && w !=0){
		           for (int i=0;i<h;i++){
		            for (int j=0;j<w;j++){
		             System.out.print("#");
		            } 
		            System.out.println();
		           }
		          
		           System.out.println();
		          }
		          else break;
		         }
	}
}

Compiler output:
Main.java:5: error: cannot find symbol
		   Scanner input=new Scanner(System.in);
		   ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		   Scanner input=new Scanner(System.in);
		                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {
	public static void main(String[] args){
		   Scanner input=new Scanner(System.in);
		         
		         
		         for (;;){
		          int h = input.nextInt();
		          int w = input.nextInt();
		          if ( h !=0 && w !=0){
		           for (int i=0;i<h;i++){
		            for (int j=0;j<w;j++){
		             System.out.print("#");
		            } 
		            System.out.println();
		           }
		          
		           System.out.println();
		          }
		          else break;
		         }
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		   Scanner input=new Scanner(System.in);
		   ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		   Scanner input=new Scanner(System.in);
		                     ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

public class Main {
	private static Scanner input;

	public static void main(String[] args){
		   input = new Scanner(System.in);
		         
		         
		         for (;;){
		          int h = input.nextInt();
		          int w = input.nextInt();
		          if ( h !=0 && w !=0){
		           for (int i=0;i<h;i++){
		            for (int j=0;j<w;j++){
		             System.out.print("#");
		            } 
		            System.out.println();
		           }
		          
		           System.out.println();
		          }
		          else break;
		         }
	}
}

Compiler output:
Main.java:2: error: cannot find symbol
	private static Scanner input;
	               ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		   input = new Scanner(System.in);
		               ^
  symbol:   class Scanner
  location: class Main
2 errors
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=1;i<=H;i++);
	    	{for(int j=1;j<=W;j++);{
	    		System.out.printf("#");
	    	}
	    		System.out.println( );
	    	}
	    	System.out.println( );
	    }
}

Compiler output:
Main.java:21: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		try(Scanner sc = new Scanner(System.in)){
	    while(true){
	    	int H = sc.nextInt();
	    	int W = sc.nextInt();
	    	if (H == 0 && W == 0){
	    		break;

	    	}
               for(int a=1;a<=H;a++);
	    	{for(int b=1;b<=W;b++);{
	    		System.out.printf("#");
	    	}
	    		System.out.println( );
	    	}
	    	System.out.println( );
	    }
}

Compiler output:
Main.java:21: error: reached end of file while parsing
}
 ^
1 error
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.outprintln("#");
				}
				System.outprintln("\n");
			}
		}
	}
}
				

Compiler output:
Main.java:4: error: ',', ')', or '[' expected
	public static void main(String[] args{
	                                     ^
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		try(Scanner sc = new Scanner(System.in)){
	    while(true){
	    	int H = sc.nextInt();
	    	int W = sc.nextInt();
	    	if (H == 0 && W == 0){
	    		break;

	    	}
               for(int a=1;a<=H;a++);
	    	{for(int b=1;b<=W;b++);{
	    		System.out.printf("#");
	    	}
	    		System.out.println( );
	    	}
	    	System.out.println( );
	    }
}}

Compiler output:
Main.java:21: error: reached end of file while parsing
}}
  ^
1 error
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.outprintln("#");
				}
				System.outprintln("\n");
			}
		}
	}
}
						

Compiler output:
Main.java:14: error: cannot find symbol
				System.outprintln("#");
				      ^
  symbol:   method outprintln(String)
  location: class System
Main.java:16: error: cannot find symbol
				System.outprintln("\n");
				      ^
  symbol:   method outprintln(String)
  location: class System
2 errors
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		try(Scanner sc = new Scanner(System.in)){
	    while(true){
	    	int H = sc.nextInt();
	    	int W = sc.nextInt();
	    	if (H == 0 && W == 0){
	    		break;

	    	}
               for(int a=1;a<=H;a++);{
	     for(int b=1;b<=W;b++);{
	    		System.out.print("#");
	    	}
	    		System.out.println( );
	    	}
	    	System.out.println( );
	    }
}}

Compiler output:
Main.java:21: error: reached end of file while parsing
}}
  ^
1 error
Language: Java

import java.util.Scanner;

public class Main {
	public static void main(String[]args){
		try(Scanner sc = new Scanner(System.in)){
	    while(true){
	    	int H = sc.nextInt();
	    	int W = sc.nextInt();
	    	if (H == 0 && W == 0){
	    		break;

	    	}
               for(int a=1;a<=H;a++);{
	     for(int b=1;b<=W;b++);{
	    		System.out.print("#");
	    	}
	    		System.out.println();
	    	}
	    	System.out.println();
	    }
}}

Compiler output:
Main.java:21: error: reached end of file while parsing
}}
  ^
1 error
Language: Java

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.printf("#");
			}
			System.out.printf("\n");
			}
		System.out.printf("\n");
		}
		
		}
		}

Compiler output:
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

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.printf("#");
			}
			System.out.printf("\n");
			}
		System.out.printf("\n");
		}
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;
public class Rectangle { 
	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 = 1 ;i<=H; i++){
	for(int j = 1 ; j<=W; j++){
		System.out.print("#");
	
	}
	System.out.printf("\n");
}
}
}
}

Compiler output:
Main.java:2: error: class Rectangle is public, should be declared in a file named Rectangle.java
public class Rectangle { 
       ^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;


public class Main {
	private Scanner sc;
	private ArrayList<Integer> height;
	private ArrayList<Integer> width;
	
	public PrintRectangle(){
		sc = new Scanner(System.in);
		height = new ArrayList<Integer>();
		width = new ArrayList<Integer>();
	}
	
	public static void main(String[] args) {
		PrintRectangle printRectangle = new PrintRectangle();
		printRectangle.getInput();
		printRectangle.drawAllRectangle();
	}
	
	private void getInput() {
		//"0 0"ツつェツ禿シツ療債つウツづェツづゥツづ慊づ禿シツ療債づーツ偲ウツつッツ偲ヲツづゥ
		while(sc.hasNextLine()){
			System.out.println("input found");
			int h = sc.nextInt();
			int w = sc.nextInt();
			
			if(! ((h == 0) && (w == 0)) ){
				height.add(h);
				width.add(w);
			}
			else{
				break;
			}
			System.out.println("wait for next input");
		}
	}

	private void drawRectangle(int index){
		int h = height.get(index);
		int w = width.get(index);
		
		for(int i = 0; i < h; i++){
			for(int j = 0; j < w; j++){
				System.out.printf("#");
			}
			System.out.println();
		}
		System.out.println();
	}

	private void drawAllRectangle(){
		//ツ債つつウツづ閉敖づ個禿シツ療債つウツづェツつスツ青板つェツ督ッツつカツづ按づァツ図ツ形ツづーツ出ツ療債つキツづゥ
		int sumRectangle = height.size();
		if(sumRectangle == width.size()){
			for(int i = 0; i < sumRectangle; i++){
				drawRectangle(i);
			}
		}
		else{
			System.out.println("ツ債つつウツづ閉敖づ個禿シツ療債つウツづェツつスツ青板つェツ暗卍づ按づィツづ慊つキ");
		}
	}
}

Compiler output:
Main.java:10: error: invalid method declaration; return type required
	public PrintRectangle(){
	       ^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;


public class Main{
	private Scanner sc;
	private ArrayList<Integer> height;
	private ArrayList<Integer> width;
	
	Main(){
		sc = new Scanner(System.in);
		height = new ArrayList<Integer>();
		width = new ArrayList<Integer>();
	}
	
	public static void main(String[] args) {
		PrintRectangle printRectangle = new PrintRectangle();
		printRectangle.getInput();
		printRectangle.drawAllRectangle();
	}
	
	private void getInput() {
		//"0 0"ツつェツ禿シツ療債つウツづェツづゥツづ慊づ禿シツ療債づーツ偲ウツつッツ偲ヲツづゥ
		while(sc.hasNextLine()){
			System.out.println("input found");
			int h = sc.nextInt();
			int w = sc.nextInt();
			
			if(! ((h == 0) && (w == 0)) ){
				height.add(h);
				width.add(w);
			}
			else{
				break;
			}
			System.out.println("wait for next input");
		}
	}

	private void drawRectangle(int index){
		int h = height.get(index);
		int w = width.get(index);
		
		for(int i = 0; i < h; i++){
			for(int j = 0; j < w; j++){
				System.out.printf("#");
			}
			System.out.println();
		}
		System.out.println();
	}

	private void drawAllRectangle(){
		//ツ債つつウツづ閉敖づ個禿シツ療債つウツづェツつスツ青板つェツ督ッツつカツづ按づァツ図ツ形ツづーツ出ツ療債つキツづゥ
		int sumRectangle = height.size();
		if(sumRectangle == width.size()){
			for(int i = 0; i < sumRectangle; i++){
				drawRectangle(i);
			}
		}
		else{
			System.out.println("ツ債つつウツづ閉敖づ個禿シツ療債つウツづェツつスツ青板つェツ暗卍づ按づィツづ慊つキ");
		}
	}
}

Compiler output:
Main.java:17: error: cannot find symbol
		PrintRectangle printRectangle = new PrintRectangle();
		^
  symbol:   class PrintRectangle
  location: class Main
Main.java:17: error: cannot find symbol
		PrintRectangle printRectangle = new PrintRectangle();
		                                    ^
  symbol:   class PrintRectangle
  location: class Main
2 errors
Language: Java

import java.util.*;
class Main {
public static void main(String[] args) {
Scanner in new Scanner(System.in);
while(in.hasNext()) {
int h = in.nextInt(), w = in.nextInt();
StringBuilder ans = new StringBuilder();
for(int i = 0; i < h; i++) {
for(int j = 0; j < w; j++) {
ans.append("#");
}
ans.append("\n");
}
ans.append("\n");
System.out.println(ans.toString());
}
}

Compiler output:
Main.java:4: error: ';' expected
Scanner in new Scanner(System.in);
          ^
Main.java:17: error: reached end of file while parsing
}
 ^
2 errors
Language: Java

import java.util.*;
class Main {
public static void main(String[] args) {
Scanner in new Scanner(System.in);
while(in.hasNext()) {
int h = in.nextInt(), w = in.nextInt();
StringBuilder ans = new StringBuilder();
for(int i = 0; i < h; i++) {
for(int j = 0; j < w; j++) {
ans.append("#");
}
ans.append("\n");
}
ans.append("\n");
System.out.println(ans.toString());
}
}
}
}

Compiler output:
Main.java:4: error: ';' expected
Scanner in new Scanner(System.in);
          ^
Main.java:19: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

import java.util.*;
class Main {
	public static void main(String[] args) {
		Scanner in new Scanner(System.in);
		while(in.hasNext()) {
			int h = in.nextInt(), w = in.nextInt();
			StringBuilder ans = new StringBuilder();
			for(int i = 0; i < h; i++) {
				for(int j = 0; j < w; j++) {
					ans.append("#");
				}
				ans.append("\n");
			}
			ans.append("\n");
			System.out.println(ans.toString());
		}
	}
}

Compiler output:
Main.java:4: error: ';' expected
		Scanner in new Scanner(System.in);
		          ^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class PrintRectangle {
	private Scanner sc;
	private ArrayList<Integer> height;
	private ArrayList<Integer> width;
	
	PrintRectangle(){
		this.sc = new Scanner(System.in);
		this.height = new ArrayList<Integer>();
		this.width = new ArrayList<Integer>();
	}
	
	public static void main(String[] args) {
		PrintRectangle printRectangle = new PrintRectangle();
		printRectangle.getInput();
		printRectangle.drawAllRectangle();
	}
	
	private void getInput() {
		while(this.sc.hasNextLine()){
			int h = this.sc.nextInt();
			int w = this.sc.nextInt();
			
			if(! ((h == 0) && (w == 0)) ){
				this.height.add(h);
				this.width.add(w);
			}
			else{
				break;
			}
		}
	}

	private void drawRectangle(int index){
		int h = this.height.get(index);
		int w = this.width.get(index);
		
		for(int i = 0; i < h; i++){
			for(int j = 0; j < w; j++){
				System.out.printf("#");
			}
			System.out.println();
		}
		System.out.println();
	}

	private void drawAllRectangle(){
		int sumRectangle = this.height.size();
		if(sumRectangle == this.width.size()){
			for(int i = 0; i < sumRectangle; i++){
				drawRectangle(i);
			}
		}
		else{
			System.out.println("高さと幅の入力された数が異なります");
		}
	}
}

Compiler output:
Main.java:4: error: class PrintRectangle is public, should be declared in a file named PrintRectangle.java
public class PrintRectangle {
       ^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	private Scanner sc;
	private ArrayList<Integer> height;
	private ArrayList<Integer> width;
	
	PrintRectangle(){
		this.sc = new Scanner(System.in);
		this.height = new ArrayList<Integer>();
		this.width = new ArrayList<Integer>();
	}
	
	public static void main(String[] args) {
		PrintRectangle printRectangle = new PrintRectangle();
		printRectangle.getInput();
		printRectangle.drawAllRectangle();
	}
	
	private void getInput() {
		while(this.sc.hasNextLine()){
			int h = this.sc.nextInt();
			int w = this.sc.nextInt();
			
			if(! ((h == 0) && (w == 0)) ){
				this.height.add(h);
				this.width.add(w);
			}
			else{
				break;
			}
		}
	}

	private void drawRectangle(int index){
		int h = this.height.get(index);
		int w = this.width.get(index);
		
		for(int i = 0; i < h; i++){
			for(int j = 0; j < w; j++){
				System.out.printf("#");
			}
			System.out.println();
		}
		System.out.println();
	}

	private void drawAllRectangle(){
		int sumRectangle = this.height.size();
		if(sumRectangle == this.width.size()){
			for(int i = 0; i < sumRectangle; i++){
				drawRectangle(i);
			}
		}
		else{
			System.out.println("高さと幅の入力された数が異なります");
		}
	}
}

Compiler output:
Main.java:9: error: invalid method declaration; return type required
	PrintRectangle(){
	^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	private Scanner sc;
	private ArrayList<Integer> height;
	private ArrayList<Integer> width;
	
	PrintRectangle(){
		this.sc = new Scanner(System.in);
		this.height = new ArrayList<Integer>();
		this.width = new ArrayList<Integer>();
	}
	
	public static void main(String[] args) {
		PrintRectangle printRectangle = new PrintRectangle();
		printRectangle.getInput();
		printRectangle.drawAllRectangle();
	}
	
	private void getInput() {

		while(this.sc.hasNextLine()){
			int h = this.sc.nextInt();
			int w = this.sc.nextInt();
			
			if(! ((h == 0) && (w == 0)) ){
				this.height.add(h);
				this.width.add(w);
			}
			else{
				break;
			}
		}
	}

	private void drawRectangle(int index){
		int h = this.height.get(index);
		int w = this.width.get(index);
		
		for(int i = 0; i < h; i++){
			for(int j = 0; j < w; j++){
				System.out.printf("#");
			}
			System.out.println();
		}
		System.out.println();
	}

	private void drawAllRectangle(){

		int sumRectangle = this.height.size();
		if(sumRectangle == this.width.size()){
			for(int i = 0; i < sumRectangle; i++){
				drawRectangle(i);
			}
		}
		else{
			System.out.println("高さと幅の入力された数が異なります");
		}
	}
}

Compiler output:
Main.java:9: error: invalid method declaration; return type required
	PrintRectangle(){
	^
1 error
Language: Java

import java.util.ArrayList;
import java.util.Scanner;

public class Main {
	private Scanner sc;
	private ArrayList<Integer> height;
	private ArrayList<Integer> width;
	
	ans10012(){
		this.sc = new Scanner(System.in);
		this.height = new ArrayList<Integer>();
		this.width = new ArrayList<Integer>();
	}
	
	public static void main(String[] args) {
		ans10012 printRectangle = new ans10012();
		printRectangle.getInput();
		printRectangle.drawAllRectangle();
	}
	
	private void getInput() {

		while(this.sc.hasNextLine()){
			int h = this.sc.nextInt();
			int w = this.sc.nextInt();
			
			if(! ((h == 0) && (w == 0)) ){
				this.height.add(h);
				this.width.add(w);
			}
			else{
				break;
			}
		}
	}

	private void drawRectangle(int index){
		int h = this.height.get(index);
		int w = this.width.get(index);
		
		for(int i = 0; i < h; i++){
			for(int j = 0; j < w; j++){
				System.out.printf("#");
			}
			System.out.println();
		}
		System.out.println();
	}

	private void drawAllRectangle(){

		int sumRectangle = this.height.size();
		if(sumRectangle == this.width.size()){
			for(int i = 0; i < sumRectangle; i++){
				drawRectangle(i);
			}
		}
		else{
			System.out.println("高さと幅の入力された数が異なります");
		}
	}
}

Compiler output:
Main.java:9: error: invalid method declaration; return type required
	ans10012(){
	^
1 error
Language: Java

import java.util.Scanner;
public class AOJ112 {
	public static void main(String[] args) {
		Scanner sc=new Scanner(System.in);			
		sc.useDelimiter("\\s"); 
		while(true){
			int x=sc.nextInt();
			int y=sc.nextInt();
			if(x==0 && y==0)break;
			for(int j=0;j<x;j++){
				for(int i=0;i<y;i++){
					System.out.print("#");
					if(i==(y-1))System.out.printf("\n");
				}
			}
			System.out.printf("\n");
		}
		sc.close();
		System.exit(0);
	}
}

Compiler output:
Main.java:2: error: class AOJ112 is public, should be declared in a file named AOJ112.java
public class AOJ112 {
       ^
1 error
Language: C

#include<stdio.h>

int main(void)
{
	int h,w,i,j;
	
	scanf("%d %d",&h,&w);
	
	while(h!=0||w!=0){
	for(i=0;i<h;i++){
		for(j=0;j<w;j++){
			putchar('#');
		}
		putchar('\n);
	}scanf("%d %d",&h,&w);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:25: warning: missing terminating ' character
   14 |                 putchar('\n);
      |                         ^
main.c:14:25: error: missing terminating ' character
   14 |                 putchar('\n);
      |                         ^~~~~
main.c:15:9: error: expected expression before '}' token
   15 |         }scanf("%d %d",&h,&w);
      |         ^
main.c:14:25: error: expected ';' before '}' token
   14 |                 putchar('\n);
      |                         ^
      |                         ;
   15 |         }scanf("%d %d",&h,&w);
      |         ~
Language: C

include<stdio.h>
int main(){
  int H,W,i,ii;
  scanf("%d %d",&H,&W);
  while((H !=0) || (W !=0)){
    for( i=0; i<H; i++){
      for( ii=0; ii<W; ii++){
	printf("#");
      }
      printf("\n\n");
    }
    scanf("%d %d",&H,&W);
  }
  return(0);
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include <stdio.h>
int main(){
int h,w,i,j;
scanf("%d %d",&h,&w);
 for(i=1;i<=h;i++){
  for(j=1;j<=w;j++){
    printf("#");
  }
  printf("\n");
  }
return 0
}

Compiler output:
main.c: In function 'main':
main.c:11:9: error: expected ';' before '}' token
   11 | return 0
      |         ^
      |         ;
   12 | }
      | ~
Language: C

#include <stdio.h>
int main(){
    int h,w,i,j;
    while(1){
        scanf("%d %d",&h,&w);
        if(h==0 && w==0){
            break;
        }
        for(i=1;i<=h;i++){
            for(j=1;j<=w;j++){
                printf("#");
            }
            printf("\n");
        }
     printf("\n"):
     }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:18: error: expected ';' before ':' token
   15 |      printf("\n"):
      |                  ^
      |                  ;
Language: C

#include<stdio.h>

int main(void)
{
  int h,w;
  int i,j;

  scanf("%d %d",&h,&w);
  if( h==0 && w==0 )break;
  for( i=0; i<h; i++ ){
    for( j=0; j<w; j++ ){
      putchar('#');
    }
    printf("\n");
  }
  printf("\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:21: error: break statement not within loop or switch
    9 |   if( h==0 && w==0 )break;
      |                     ^~~~~
Language: C

テッツシツナnclude<stdio.h>

int main(void)
{
  int h,w;
  int i,j;
  while(1){
  scanf("%d %d",&h,&w);
  if( h==0 && w==0 )break;
  for( i=0; i<h; i++ ){
    for( j=0; j<w; j++ ){
      putchar('#');
    }
    printf("\n");
  }
  printf("\n");
  }
  return 0;
}

Compiler output:
main.c:1:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | テッツシツナnclude<stdio.h>
      |                   ^
Language: C

include<stdio.h>

int main() {
	int i, j, H, W;

	while (1) {
		scanf("%d &d", &H, &W);
		for (i = 0; i < W; i++) {
			for (j = 0; j < H; j++) {
				printf("#");
			}
			printf("\n");
		}
		if (H == 0 && W == 0) {
			break;
		}
	}
	return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include <stdio.h>

int main(void)
{

  int h,w;

    if(h==0&&w==0)break;
    scanf("%d %d",&h,&w);
    int i;
    for(i=1;i <= h*w;i++)
      {
	printf("#");
	if(i%w==0)putchar('\n');
      }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:19: error: break statement not within loop or switch
    8 |     if(h==0&&w==0)break;
      |                   ^~~~~
Language: C

#include <stdio.h>
#include <iostream>

using namespace std;

main(void) {
	int a;
	int b;	
	scanf("%d",&a);
	scanf("%d",&b);
	int i;
	int j;
	for ( i = 0; i < a; i++){
		for ( j = 0; j < b; j++) {
			printf("#");
		}
		printf("\n");
	}
	
	return 0;
}

Compiler output:
main.c:2:10: fatal error: iostream: No such file or directory
    2 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include <stdio.h>
#include <iostream>

using namespace std;

main(void) {
	int a;
	int b;
	int i;
	int j;
	while(true){
		scanf("%d",&a);
		scanf("%d",&b);
		
		printf("\n");
		
		if(a != 0 && b!= 0){
			for ( i = 0; i < a; i++){
				for ( j = 0; j < b; j++) {
					printf("#");
					}
				printf("\n");
			}
			printf("\n");
		}else{
			break;
		}
	}
	
	return 0;
}

Compiler output:
main.c:2:10: fatal error: iostream: No such file or directory
    2 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main(void)
{
    int H,W;
    scanf("%d %d",&H,&W);
    if(H!=0||W!=0){
        for(H=0;H>=;H--){
            for(W=0;W<=300&&W>=0;W--){
                printf("#");
        }
        printf("\n");
    }
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:20: error: expected expression before ';' token
    8 |         for(H=0;H>=;H--){
      |                    ^
Language: C

#include<stdio.h>
int main(void){
	int H,W;
	int i,j;
	scanf("%d %d",&x,&y);
	
	for(i=0;i<H;i++){
		printf("#");
		for(j=1;j<W;j++){
				printf("#");
		}
		printf("\n");
	}
	printf("\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:24: error: 'x' undeclared (first use in this function)
    5 |         scanf("%d %d",&x,&y);
      |                        ^
main.c:5:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:27: error: 'y' undeclared (first use in this function)
    5 |         scanf("%d %d",&x,&y);
      |                           ^
Language: C

#include<stdio.h>
int main(void){
	int H,W;
	int i,j;
	scanf("%d %d",&x,&y);
	
	for(i=0;i<H;i++){
		printf("#");
		for(j=1;j<W;j++){
				printf("#");
		}if(H==0&&W==0){
			break;
		}
		printf("\n");
	}
	printf("\n");
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:24: error: 'x' undeclared (first use in this function)
    5 |         scanf("%d %d",&x,&y);
      |                        ^
main.c:5:24: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:27: error: 'y' undeclared (first use in this function)
    5 |         scanf("%d %d",&x,&y);
      |                           ^
Language: C

}#include<stdio.h>
int main(void){
	int H,W;
	int i,j;
	scanf("%d %d",&H,&W);
	
	for(i=0;i<H;i++){
		printf("#");
		for(j=1;j<W;j++){
				printf("#");
		}if(H==0&&W==0)
			break;
		printf("\n");
	}
	printf("\n");
	return 0;
}

Compiler output:
main.c:1:1: error: expected identifier or '(' before '}' token
    1 | }#include<stdio.h>
      | ^
main.c:1:2: error: stray '#' in program
    1 | }#include<stdio.h>
      |  ^
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | }#include<stdio.h>
      |          ^
Language: C

#include<stdio.h>
int main(void)
{
  int h, w, a, b;
  int t=0;

  while(scanf("%d %d", &h, &w)!=EOF){
    if(h==0 && w==0) beak;
    for(a=0;a<h;a++){
      for(b=0;b<w;b++){
        printf("#");}
      b=0;
      printf("\n");}
    printf("\n");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:22: error: 'beak' undeclared (first use in this function)
    8 |     if(h==0 && w==0) beak;
      |                      ^~~~
main.c:8:22: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
main(){
	int H,W;
	for(;;){
		scanf("%d %d",&H,&W);
		if(H==0 && W==0)break;
		for(int i=1;i<=H;i++){
			for(int k=1;k<=W;k++){
				printf("#");
			}
			printf("\n");
		}
	return (0);
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include<stdio.h>
main(){
	int H,W,i,k;
	for(;;){
		scanf("%d %d",&H,&W);
		if(H==0 && W==0)break;
		for(i=1;i<=H;i++){
			for(k=1;k<=W;k++){
				printf("#");
			}
			printf("\n");
		}
	return (0);
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include<stdio.h>
main(){
	int h,w,i,k;
	for(;;){
		scanf("%d %d",&h,&w);
		if(H==0 && W==0)break;
		for(i=1;i<=h;i++){
			for(k=1;k<=w;k++){
				printf("#");
			}
			printf("\n");
		}
	return (0);
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:6:20: error: 'H' undeclared (first use in this function)
    6 |                 if(H==0 && W==0)break;
      |                    ^
main.c:6:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:28: error: 'W' undeclared (first use in this function)
    6 |                 if(H==0 && W==0)break;
      |                            ^
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include<stdio.h>
main(){
	int h,w,i,k;
	for(;;){
		scanf("%d %d",&h,&w);
		if(h==0 && w==0)break;
		for(i=1;i<=h;i++){
			for(k=1;k<=w;k++){
				printf("#");
			}
			printf("\n");
		}
	return (0);
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C

#include<stdio.H>
main(){
	int H,W,i,k;
	for(;;){
		scanf("%d %d",&H,&W);
		if(H==0 && W==0)break;
		for(i=0;i<H;i++){
			for(k=0;k<W;k++){
				printf("#");
			}
			printf("\n");
		}
	}
	return (0);
}

Compiler output:
main.c:1:9: fatal error: stdio.H: No such file or directory
    1 | #include<stdio.H>
      |         ^~~~~~~~~
compilation terminated.