Language: Java

28 sec ??????42552 KB ??????13 lines ?????? 248 bytes ??????2017-03-25 10:56 
?
1
2
3
4
5
6
7
8
9
10
11
12
import java.util.Scanner;
public class Main {
????????public static void main(String[] args){
????????????????Scanner in = new Scanner(System.in);
????????????????for(int i=1;;i++){
????????????????????????int num=in.nextInt();
????????????????????????if(num==0)
????????????????????????????????break;
????????????????????????System.out.println("Case "+i+": "+num);
????????????????}
????????}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
28 sec ??????42552 KB ??????13 lines ?????? 248 bytes ??????2017-03-25 10:56 
^
Main.java:17: error: illegal start of type
????????public static void main(String[] args){
^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
 ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
  ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
   ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
    ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
     ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
      ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
       ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
        ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
         ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
          ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
           ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
            ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
             ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
              ^
Main.java:18: error: illegal start of expression
????????????????Scanner in = new Scanner(System.in);
               ^
Main.java:18: error: : expected
????????????????Scanner in = new Scanner(System.in);
                       ^
Main.java:18: error: : expected
????????????????Scanner in = new Scanner(System.in);
                                                   ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
 ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
  ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
   ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
    ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
     ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
      ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
       ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
        ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
         ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
          ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
           ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
            ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
             ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
              ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
               ^
Main.java:19: error: illegal start of expression
????????????????for(int i=1;;i++){
                ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
 ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
  ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
   ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
    ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
     ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
      ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
       ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
        ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
         ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
          ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
           ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
            ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
             ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
              ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
               ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                 ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                  ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                   ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                    ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                     ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                      ^
Main.java:20: error: illegal start of expression
????????????????????????int num=in.nextInt();
                       ^
Main.java:20: error: '.class' expected
????????????????????????int num=in.nextInt();
                            ^
Main.java:20: error: : expected
????????????????????????int num=in.nextInt();
                                            ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
 ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
  ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
   ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
    ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
     ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
      ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
       ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
        ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
         ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
          ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
           ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
            ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
             ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
              ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
               ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                 ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                  ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                   ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                    ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                     ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                      ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                       ^
Main.java:21: error: illegal start of expression
????????????????????????if(num==0)
                        ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
 ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
  ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
   ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
    ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
     ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
      ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
       ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
        ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
         ^
Main.java:22: error: illegal start of expression
????????????????????????????????break;
          ^
Main.java:22: error: illegal start of