Language: Java

import java.util.*;
 
class Main{
    public static void main(String args[]){
        Scanner s=new Scanner(System.in);
        while(s.hasNext()){
            char [][] a=new char[20][20];
            for(int i=0;i<20;i++)
                for(int j=0;j<20;j++)
                    a[i][j]='0';
            for(int i=0;i<8;i++){
                String now=s.next();
                for(int j=0;j<8;j++)
                    a[i][j]=now.charAt(j);
            }
            char ans=' ';
             
            for(int i=0;i<8;i++){
                for(int j=0;j<8;j++){
                    if(a[i][j]=='1'&&a[i][j+1]=='1'&&a[i+1][j]=='1'&&a[i+1][j+1]=='1')ans='A';
                    if(a[i][j]=='1'&&a[i+1][j]=='1'&&a[i+2][j]=='1'&&a[i+3][j]=='1')ans='B';
                    if(a[i][j]=='1'&&a[i][j+1]=='1'&&a[i][j+2]=='1'&&a[i][j+3]=='1')ans='C';
                    if(a[i][j+1]=='1'&&a[i+1][j+1]=='1'&&a[i+1][j]=='1'&&a[i+2][j]=='1')ans='D';
                    if(a[i][j]=='1'&&a[i][j+1]=='1'&&a[i+1][j+1]=='1'&&a[i+1][j+2]=='1')ans='E';
                    if(a[i][j]=='1'&&a[i+1][j]=='1'&&a[i+1][j+1]=='1'&&a[i+2][j+1]=='1')ans='F';
                    if(a[i][j+1]=='1'&&a[i][j+2]=='1'&&a[i+1][j+1]=='1'&&a[i+1][j]=='1')ans='G';
                }
            }
            System.out.println(""+ans);
        }
    }
}


Compiler output:
Main.java:2: error: illegal character: '\u00a0'
?
^
Main.java:3: error: class, interface, enum, or record expected
class Main{
      ^
Main.java:4: error: illegal character: '\u00a0'
????public static void main(String args[]){
^
Main.java:4: error: illegal character: '\u00a0'
????public static void main(String args[]){
 ^
Main.java:4: error: illegal character: '\u00a0'
????public static void main(String args[]){
  ^
Main.java:4: error: illegal character: '\u00a0'
????public static void main(String args[]){
   ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
 ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
  ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
   ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
    ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
     ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
      ^
Main.java:5: error: illegal character: '\u00a0'
????????Scanner s=new Scanner(System.in);
       ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
 ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
  ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
   ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
    ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
     ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
      ^
Main.java:6: error: illegal character: '\u00a0'
????????while(s.hasNext()){
       ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
 ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
  ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
   ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
    ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
     ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
      ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
       ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
        ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
         ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
          ^
Main.java:7: error: illegal character: '\u00a0'
????????????char [][] a=new char[20][20];
           ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
 ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
  ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
   ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
    ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
     ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
      ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
       ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
        ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
         ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
          ^
Main.java:8: error: illegal character: '\u00a0'
????????????for(int i=0;i<20;i++)
           ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
 ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
  ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
   ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
    ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
     ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
      ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
       ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
        ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
         ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
          ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
           ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
            ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
             ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
              ^
Main.java:9: error: illegal character: '\u00a0'
????????????????for(int j=0;j<20;j++)
               ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
 ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
  ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
   ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
    ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
     ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
      ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
       ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
        ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
         ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
          ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
           ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
            ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
             ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
              ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
               ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
                ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
                 ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
                  ^
Main.java:10: error: illegal character: '\u00a0'
????????????????????a[i][j]='0';
                   ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
 ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
  ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
   ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
    ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
     ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
      ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
       ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
        ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
         ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
          ^
Main.java:11: error: illegal character: '\u00a0'
????????????for(int i=0;i<8;i++){
           ^
Main.java:12: error: illegal character: '\u00a0'
????????????????String now=s.next();
^
Main.java:12: error: illegal character: '\u00a0'
????????????????String now=s.next();
 ^
Main.java:12: error: illegal character: '\u00a0'
????????????????String now=s.next();
  ^
Main.java:12: error: illegal character: '\u00a0'
????????????????String now=s.next();
   ^
Main.java:12: error: illegal character: '\u00a0'
????????????????String now=s.next();
    ^
Main.java:12: error: illegal character: '\u00a0'
????????????????String now=s.next();
     ^
100 errors
only showing the first 100 errors, of 405 total; use -Xmaxerrs if you would like to see more