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;
????????????????}
????????????????int i,j;
????????????????for(i=0;i<x;i++){
????????????????????????for(j=0;j<y;j++)
????????????????????????????????if((i+j)%2 == 0){
????????????????????????????????????????System.out.print('#');
????????????????????????????????}else if((i+j)%2 == 1){
????????????????????????????????System.out.print('.');
????????????????????????}
????????????????????????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
????????public static void main(String[] args){
^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
 ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
  ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
   ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
    ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
     ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
      ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
       ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
        ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
         ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
          ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
           ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
            ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
             ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
              ^
Main.java:5: error: illegal start of expression
????????????????Scanner sc =new Scanner(System.in);
               ^
Main.java:5: error: : expected
????????????????Scanner sc =new Scanner(System.in);
                       ^
Main.java:5: error: : expected
????????????????Scanner sc =new Scanner(System.in);
                                                  ^
Main.java:6: error: illegal start of expression
????????????????while(true){
^
Main.java:6: error: illegal start of expression
????????????????while(true){
 ^
Main.java:6: error: illegal start of expression
????????????????while(true){
  ^
Main.java:6: error: illegal start of expression
????????????????while(true){
   ^
Main.java:6: error: illegal start of expression
????????????????while(true){
    ^
Main.java:6: error: illegal start of expression
????????????????while(true){
     ^
Main.java:6: error: illegal start of expression
????????????????while(true){
      ^
Main.java:6: error: illegal start of expression
????????????????while(true){
       ^
Main.java:6: error: illegal start of expression
????????????????while(true){
        ^
Main.java:6: error: illegal start of expression
????????????????while(true){
         ^
Main.java:6: error: illegal start of expression
????????????????while(true){
          ^
Main.java:6: error: illegal start of expression
????????????????while(true){
           ^
Main.java:6: error: illegal start of expression
????????????????while(true){
            ^
Main.java:6: error: illegal start of expression
????????????????while(true){
             ^
Main.java:6: error: illegal start of expression
????????????????while(true){
              ^
Main.java:6: error: illegal start of expression
????????????????while(true){
               ^
Main.java:6: error: illegal start of expression
????????????????while(true){
                ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
 ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
  ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
   ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
    ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
     ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
      ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
       ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
        ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
         ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
          ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
           ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
             ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
              ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
               ^
Main.java:7: error: illegal start of expression
???????????? ????int H=sc.nextInt();
                ^
Main.java:7: error: '.class' expected
???????????? ????int H=sc.nextInt();
                     ^
Main.java:7: error: : expected
???????????? ????int H=sc.nextInt();
                                   ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
 ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
  ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
   ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
    ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
     ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
      ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
       ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
        ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
         ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
          ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
           ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
              ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
               ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
                ^
Main.java:8: error: illegal start of expression
????????????  ????int W=sc.nextInt();
                 ^
Main.java:8: error: '.class' expected
????????????  ????int W=sc.nextInt();
                      ^
Main.java:8: error: : expected
????????????  ????int W=sc.nextInt();
                                    ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
 ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
  ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
   ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
    ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
     ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
      ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
       ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
        ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
         ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
          ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
           ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
            ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
             ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
                 ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
                  ^
Main.java:9: error: illegal start of expression
??????????????   ??if(H==0&&W==0){
                   ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
 ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
  ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
   ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
    ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
     ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
      ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
       ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
        ^
Main.java:10: error: illegal start of expression
??????????????  ??????????break;
         ^
100 errors
only showing the first 100 errors, of 226 total; use -Xmaxerrs if you would like to see more
printing javac parameters to: /w/javac.20260128_045312.args