Language: Java

import java.util.Scanner;
??
public class Main{
????????public static void main(String[] args){
????????????????Scanner sc = new Scanner(System.in);
????????????????while(true){
????????????????????????int n = sc.nextInt();
????????????????????????if(n==0){break;}
????????????????????????int[] scores =new int[n];
????????????????????????for(int i = 0;i<scores.length; i++){
????????????????????????????????scores[i] = sc.nextInt();
????????????????????????}
????????????????????????double average =0, variance =0;
????????????????????????for(int i=0; i<scores.length; i++){
????????????????????????????????average += scores[i];
????????????????????????}
????????????????????????average= average/n;
????????????????????????for(int i=0; i<scores.length; i++){
????????????????????????variance += Math.pow((scores[i]-average),2);
??
????????????????????????}
????????????????????????variance = variance/n;
??
??
????????????????????????System.out.println(Math.sqrt(variance));
????????????????}???????????? 
????????}
}

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 n = sc.nextInt();
^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
 ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
  ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
   ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
    ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
     ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
      ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
       ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
        ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
         ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
          ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
           ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
            ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
             ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
              ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
               ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                 ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                  ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                   ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                    ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                     ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                      ^
Main.java:7: error: illegal start of expression
????????????????????????int n = sc.nextInt();
                       ^
Main.java:7: error: '.class' expected
????????????????????????int n = sc.nextInt();
                            ^
Main.java:7: error: : expected
????????????????????????int n = sc.nextInt();
                                            ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
 ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
  ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
   ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
    ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
     ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
      ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
       ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
        ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
         ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
          ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
           ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
            ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
             ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
              ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
               ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                 ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                  ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                   ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                    ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                     ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                      ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                       ^
Main.java:8: error: illegal start of expression
????????????????????????if(n==0){break;}
                        ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
 ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
  ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
   ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
    ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
     ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
      ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
       ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
        ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
         ^
Main.java:9: error: illegal start of expression
????????????????????????int[] scores =new int[n];
          ^
Main.java:9: error: illegal start of expr