Language: Java


import java.util.Scanner;
class Main{
????????public static void main(String[] args){
????????Scanner sc = new Scanner(System.in);
??????while(sc.hasNextInt()){
??????????????int b=sc.nextInt();
??????????????int c=sc.nextInt();
??????????????System.out.println(String.valueOf(b+c).length()
);
??????}
????????}
}

Compiler output:
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: : 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(sc.hasNextInt()){
^
Main.java:6: error: illegal start of expression
??????while(sc.hasNextInt()){
 ^
Main.java:6: error: illegal start of expression
??????while(sc.hasNextInt()){
  ^
Main.java:6: error: illegal start of expression
??????while(sc.hasNextInt()){
   ^
Main.java:6: error: illegal start of expression
??????while(sc.hasNextInt()){
    ^
Main.java:6: error: illegal start of expression
??????while(sc.hasNextInt()){
     ^
Main.java:6: error: illegal start of expression
??????while(sc.hasNextInt()){
      ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
 ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
  ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
   ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
    ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
     ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
      ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
       ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
        ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
         ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
          ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
           ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
            ^
Main.java:7: error: illegal start of expression
??????????????int b=sc.nextInt();
             ^
Main.java:7: error: '.class' expected
??????????????int b=sc.nextInt();
                  ^
Main.java:7: error: : expected
??????????????int b=sc.nextInt();
                                ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
 ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
  ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
   ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
    ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
     ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
      ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
       ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
        ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
         ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
          ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
           ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
            ^
Main.java:8: error: illegal start of expression
??????????????int c=sc.nextInt();
             ^
Main.java:8: error: '.class' expected
??????????????int c=sc.nextInt();
                  ^
Main.java:8: error: : expected
??????????????int c=sc.nextInt();
                                ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
 ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
  ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
   ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
    ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
     ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
      ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
       ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
        ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
         ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
          ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
           ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
            ^
Main.java:9: error: illegal start of expression
??????????????System.out.println(String.valueOf(b+c).length()
             ^
Main.java:10: error: : expected
);
 ^
Main.java:11: error: illegal start of expression
??????}
^
Main.java:11: error: illegal start of expression
??????}
 ^
Main.java:11: error: illegal start of expression
??????}
  ^
Main.java:11: error: illegal start of expression
??????}
   ^
Main.java:11: error: illegal start of expression
??????}
    ^
Main.java:11: error: illegal start of expression
??????}
     ^
Main.java:11: error: illegal start of expression
??????}
      ^
Main.java:12: error: illegal start of expression
????????}
^
Main.java:12: error: illegal start of expression
????????}
 ^
Main.java:12: error: illegal start of expression
????????}
  ^
Main.java:12: error: illegal start of expression
????????}
   ^
Main.java:12: error: illegal start of expression
????????}
    ^
Main.java:12: error: illegal start of expression
????????}
     ^
Main.java:12: error: illegal start of expression
????????}
      ^
Main.java:12: error: illegal start of expression
????????}
       ^
Main.java:12: error: illegal start of expression
????????}
        ^
81 errors