node_ids listlengths 4 1.4k | edge_index listlengths 1 2.22k | text listlengths 4 1.4k | source stringlengths 14 427k |
|---|---|---|---|
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
114,
11
],
[
114,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while (true) {\n int n = Integer.parseInt(sc.next());\n if (n == 0) break;\n\n ... | import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int n = Integer.parseInt(sc.next());
if (n == 0) break;
List<Integer> S... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
2,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n \twhile(true) {\n\t \tlong sum=0;\n\t \tint n = sc.nextInt();\n\t \tif(n==0) break;\n\t \tdouble a[]= new double[n+1];\n\t \tfor(int i=0;i<n;i++) {\n\t ... |
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(true) {
long sum=0;
int n = sc.nextInt();
if(n==0) break;
double a[]= new double[n+1];
for(int i=0;i<n;i++) {
a[i]=sc.nextDouble();
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
18,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
155,
11
],
[
155,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.*;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tString fst = br.readLine();\n\t\t\tint n = Integer.pars... | import java.io.*;
import java.util.Arrays;
import java.util.Scanner;
public class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
String fst = br.readLine();
int n = Integer.parseInt(fst);
if(n==0){br... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
0,
13,
17,
0,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n;\n double m, a2;\n while ((n = sc.nextInt()) != 0) {\n m = 0;\n a2 = 0;\n int s[] = new int[n];\n for (int i = 0; i < n; i++) {\n s[i] =... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n;
double m, a2;
while ((n = sc.nextInt()) != 0) {
m = 0;
a2 = 0;
int s[] = new int[n];
for (int i = 0; i < n; i++) {
s[i] = sc.nextInt();
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
4,
18,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
113,
5
],
[
113,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int[] data = new int[1000];\n while(true){\n int sum = 0;\n double p = 0;\n double ave;\n int n = scanner.nextInt();\n for (int i = 0; i < n; i++){\n ... | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
int[] data = new int[1000];
while(true){
int sum = 0;
double p = 0;
double ave;
int n = scanner.nextInt();
for (int i = 0; i < n; i++){
int a = scanne... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
0,
13,
4,
18,
13,
42,
2,
13,
17,
30,
0,
13,
20,
13,
0,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n int n, sum;\n int[] s;\n double dev;\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n while (n != 0) {\n s = new int [n];\n sum = 0;\n for... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int n, sum;
int[] s;
double dev;
Scanner sc = new Scanner(System.in);
n = sc.nextInt();
while (n != 0) {
s = new int [n];
sum = 0;
for (int i = 0; i < ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[]args){\n try(Scanner sc = new Scanner(System.in)){\n while(true){\n int sum=0;\n double sqsum=0;\n int n=sc.nextInt();\n if(n==0) break;\n int[] score = new ... | import java.util.Scanner;
public class Main{
public static void main(String[]args){
try(Scanner sc = new Scanner(System.in)){
while(true){
int sum=0;
double sqsum=0;
int n=sc.nextInt();
if(n==0) break;
int[] score = new int[n];
... |
[
7,
15,
13,
17,
6,
13,
41,
13,
12,
13,
30,
0,
13,
20,
41,
13,
20,
17,
41,
13,
20,
17,
17,
41,
13,
20,
17,
41,
13,
17,
41,
13,
17,
11,
1,
30,
30,
0,
18,
13,
13,
4,
18,
13,
14,
2,
18,
13,
13,
17,
30,
3,
11,
1,
4... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
226,
5
],
[
226,
6
],
[
6,
7
],
[
226,
8
],
[
8,
9
],
[
8,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static Scanner sc;\n\tpublic static void main(String[] args) {\n\t\tsc=new Scanner(System.in);\n\t\tint n[]=new int[15];\n\t\tint score[][]=new int[15][1000];\n\t\tdouble ans[]=new double[1000];\n\t\tint i=0;\n\t\tint count=0;\n\t\tfor(;;) {\n\t\t\tn[i]=sc... | import java.util.Scanner;
public class Main {
public static Scanner sc;
public static void main(String[] args) {
sc=new Scanner(System.in);
int n[]=new int[15];
int score[][]=new int[15][1000];
double ans[]=new double[1000];
int i=0;
int count=0;
for(;;) {
n[i]=sc.nextInt();
if(n[i]==0) {
bre... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
17,
38,
30,
14,
2,
13,
17,
4,
18,
13,
30,
0,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
149,
8
],
[
149,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import static java.lang.Math.*;\n\nimport java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = null;\n\t\ttry{\n\t\t\tscan = new Scanner(System.in);\n\t\t\twhile(true){\n\t\t\t\tint n = scan.nextInt();\n\t\t\t\tif(n == 0)break;\n\t\t\t\tint[] data = new int[n];\n\t\... | import static java.lang.Math.*;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner scan = null;
try{
scan = new Scanner(System.in);
while(true){
int n = scan.nextInt();
if(n == 0)break;
int[] data = new int[n];
for(int i = 0 ; i < data.length;i++){
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
3... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
114,
5
],
[
114,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int n = 100;\n\n while(true){\n n = sc.nextInt();\n if(n==0) break;\n double s[] = new double[n];\n double m, sum = 0d, sum2 = 0d;\... | import java.util.Scanner;
public class Main {
public static void main(String args[]){
Scanner sc = new Scanner(System.in);
int n = 100;
while(true){
n = sc.nextInt();
if(n==0) break;
double s[] = new double[n];
double m, sum = 0d, sum2 = 0d;
double r... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
112,
5
],
[
112,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n;\n while(true){\n n = sc.nextInt();\n if(n==0) break;\n double sum=0;\n double sum2=0;\n double ave... | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
int n;
while(true){
n = sc.nextInt();
if(n==0) break;
double sum=0;
double sum2=0;
double ave;
do... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\t\n\t\t\n\t\t\n\t\twhile(true){\n\t\t\tint n = Integer.parseInt(scan.nextLine());\n\t\t\tif(n == 0) break;\n\t\t\tString str = scan.nextLine();\n\t\t\tString[] points =... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while(true){
int n = Integer.parseInt(scan.nextLine());
if(n == 0) break;
String str = scan.nextLine();
String[] points = str.split(" ");
double m = 0.0;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
136,
5
],
[
136,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc=new Scanner(System.in)){\n\t\t\twhile(true) {\n\t\t\t\tint n=sc.nextInt();\n\t\t\t\tif(n==0) {break;}\n\t\t\t\tint score[]=new int[n];\n\t\t\tfor(int i=0;i<score.length;i++) {\n\t\t\t\tscore[i]=sc.nextI... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try(Scanner sc=new Scanner(System.in)){
while(true) {
int n=sc.nextInt();
if(n==0) {break;}
int score[]=new int[n];
for(int i=0;i<score.length;i++) {
score[i]=sc.nextInt();
}
double average=0, variance... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] arg){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n while(n != 0){\n int[] s = new int[n];\n int sum = 0;\n double ave = 0;\n double a = 0;\n ... | import java.util.Scanner;
public class Main{
public static void main(String[] arg){
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
while(n != 0){
int[] s = new int[n];
int sum = 0;
double ave = 0;
double a = 0;
for(int ... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
3,
41,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
156,
11
],
[
156,
12
],
[
12,
13
],
[
12,
14
],... | [
"\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );\n\n\t\tint i;\n\t\tString n;\n\t\tdouble avg,a,s... |
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader( new InputStreamReader( System.in ) );
int i;
String n;
double avg,a,sum1,sum2;
//double[] x =... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
42,
4,
18,
13,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
0,
13,
17,
0,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
121,
5
],
[
121,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main (String [] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint students;\n\t\tdouble total = 0.0;\n\t\tdouble average = 0.0;\n\t\tdouble var = 0.0;\n\t\t\n\t\tdo {\n\t\t\tstudents = scan.nextInt();\n\t\t\t\n\t\t\tif (students == ... | import java.util.Scanner;
public class Main {
public static void main (String [] args) {
Scanner scan = new Scanner (System.in);
int students;
double total = 0.0;
double average = 0.0;
double var = 0.0;
do {
students = scan.nextInt();
if (students == 0) break;
total = 0.0;
var = 0.0... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
124,
11
],
[
124,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tint count = Integer.pa... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
int count = Integer.parseInt(br.readLine());
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
3,
41,
13,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n while(true){\n int n=sc.nextInt();\n int sum1=0;\n int sum2=0;\n if(n==0){\n break;\n }\n ... | 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();
int sum1=0;
int sum2=0;
if(n==0){
break;
}
int[] scores;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
108,
5
],
[
108,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n;\n while(true){\n n = sc.nextInt();\n if(n == 0) break;\n int[] s = new int[n];\n int sum = 0;\n d... | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n;
while(true){
n = sc.nextInt();
if(n == 0) break;
int[] s = new int[n];
int sum = 0;
double square = 0... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
17,
13,
3,
41,
13,
4,
18,
13,
13,
0,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
28,
13,
13,
30,
30,
0... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
114,
8
],
[
114,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\t\t\tString line = br.readLine();\n\t\t\tif (\"0\".equals(line... | import java.io.BufferedReader;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String line = br.readLine();
if ("0".equals(line))
break;
int n = In... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
3... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
115,
5
],
[
115,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n\n Scanner scan = new Scanner(System.in); \n while(true){\n int n = scan.nextInt();\n if(n==0){ break; }\n double[] s = new double[n];\n int i = 0;\n d... | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while(true){
int n = scan.nextInt();
if(n==0){ break; }
double[] s = new double[n];
int i = 0;
double sum = 0;
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
17,
4,
18,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math.*;\nimport java.util.*;\nimport java.math.*;\nimport java.text.*;\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System... | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.Math.*;
import java.util.*;
import java.math.*;
import java.text.*;
public class Main {
public static void main(String[] args) throws Exception {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.*;\nimport java.text.*;\n\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n for(;;) {\n int n = sc.nextInt();\n if(n == 0) break;\n int [] xs = new int[n];\n long s = 0;\n ... | import java.util.*;
import java.text.*;
class Main {
public static void main(String[]args)throws Exception {
Scanner sc = new Scanner(System.in);
for(;;) {
int n = sc.nextInt();
if(n == 0) break;
int [] xs = new int[n];
long s = 0;
for(int... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
41,
13,
12,
13,
30,
0,
13,
20,
0,
13,
20,
41,
13,
20,
4,
18,
13,
4,
18,
13,
23,
13,
6,
13,
12,
13,
30,
42,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n \n static class Solu... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.Scanner;
import java.util.StringTokenizer;
public class Main {
static InputReader in;
static PrintWriter out;
static class Solution {
void s... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
13,
14,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n double a = 0.0;\n\n while (true) {\n int n = scan.nextInt();\n int sum = 0;\n int[] students = new int[n];\n if ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
double a = 0.0;
while (true) {
int n = scan.nextInt();
int sum = 0;
int[] students = new int[n];
if (n == 0) break;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
140,
5
],
[
140,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\ntry(Scanner sc =new Scanner(System.in)){\n while(true){\n int n = sc.nextInt();\n if(n==0){break; }\n int[]scores=new int[n];\n for(int i =0;i<scores.length;i++){\n scores[i]=sc.nex... | import java.util.Scanner;
public class Main{
public static void main(String args[]){
try(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();
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
109,
5
],
[
109,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n= sc.nextInt();\n if(n==0){break;}\n int[] scores=new int[n];\n double average=0, variance=0;\n for(int i=0; i<scores.length; i++){\n scores[i] =sc.nextInt();\n ave... | 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];
double average=0, variance=0;
for(int i=0; i<scores.length; i++){
scores[i] =sc.nextInt();
average += scores[i]... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
112,
8
],
[
112,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.util.Scanner;\n\n\nimport java.lang.Math;\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n while(true){\n int n = sc.nextInt();\n if(n==0){\n break;\n }\n ... | import java.util.Scanner;
import java.lang.Math;
public class Main {
public static void main(String[] args) throws Exception {
Scanner sc = new Scanner(System.in);
while(true){
int n = sc.nextInt();
if(n==0){
break;
}
double s[] = new... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
38,
5,
13,
30,
4,
18,
13,
5,
13,
30,
4,
18,
13,
30,
42,
2,
4,
18,
0,
13,
4,
18,
13,
17,
17,
30,
41,
13,
4,
18,
13,
13,
41,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
148,
11
],
[
148,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t \n\t\tString x = \"\";\n\t\ttry {\n\t\t\twhile ((x = in.readLine())... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) {
BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
String x = "";
try {
while ((x = in.readLine()).equals("0") == false) {
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
42,
2,
13,
17,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
117,
8
],
[
117,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t\tScanner sc = new Scanner(System.in);\n\t\t\tint a = sc.nextInt();\n\t\t\tdouble s = 0;\n\t\t\tdouble d = 0;\n\... | import java.io.IOException;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws Exception {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
double s = 0;
double d = 0;
while(a != 0){
int c[] =... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
41,
13,
4,
18,
13,
2,
13,
17,
1,
0,
13,
4,
18,
13,
30,
30,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
116,
5
],
[
116,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n for (int n = sc.nextInt(); n != 0; n = sc.nextInt()) {\n \tint[] data = new int[n];\n \tint sum = 0;\n \tfor (int i = 0; i < n; i++) {\n \... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for (int n = sc.nextInt(); n != 0; n = sc.nextInt()) {
int[] data = new int[n];
int sum = 0;
for (int i = 0; i < n; i++) {
data[i] = sc.nextInt(... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main { \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n \n while (in.hasNext()){\n int n = in.nextInt();\n if (n == 0) break;\n int[] numbers = new int[n];\n long double_sum = 0;\n long sum_double = 0;\n ... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner in = new Scanner(System.in);
while (in.hasNext()){
int n = in.nextInt();
if (n == 0) break;
int[] numbers = new int[n];
long double_sum = 0;
long sum_double = 0;
for (int ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
20,
13,
14,
2,
13,
17,
3,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.*;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n\n while(true){\n int n = sc.nextInt();\n int[] test = new int[n];\n double[] tmp = new double[n];\n\n if(n == 0) break;\n\n ... | import java.util.*;
class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
int n = sc.nextInt();
int[] test = new int[n];
double[] tmp = new double[n];
if(n == 0) break;
double sum = 0;
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
4... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
125,
11
],
[
125,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws NumberFormatException, IOException {\n\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n while(true)... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws NumberFormatException, IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
133,
5
],
[
133,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n = sc.nextInt();\n if(n==0)break;\n int[] scores = new int[n];\n for(int i=0;i<scores.length;i++){\n scores[i]... | 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(... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
133,
8
],
[
133,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"\nimport java.util.Random;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(final String[] args){\n Scanner scanner = new Scanner(System.in);\n while(true){\n int n = scanner.nextInt();\n if(n == 0){\n break;\n }\n ... |
import java.util.Random;
import java.util.Scanner;
public class Main{
public static void main(final String[] args){
Scanner scanner = new Scanner(System.in);
while(true){
int n = scanner.nextInt();
if(n == 0){
break;
}
int[] s = new i... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
134,
5
],
[
134,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n try(Scanner sc = new Scanner(System.in)){\n while(true){\n int n = sc.nextInt();\n if(n == 0){\n break;\n }\n int[] scores... | import java.util.Scanner;
public class Main {
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)){
while(true){
int n = sc.nextInt();
if(n == 0){
break;
}
int[] scores = new int[n];
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
17,
41,
13,
11,
1,
30,
30,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble[] array = new double[1000];\n\t\tint i;\n\t\tfor(;;){\n\t\t\tdouble sum = 0;\n\t\t\tdouble ave;\n\t\t\tdouble hen = 0;\n\t\t\tdouble hen_sum = 0;\n\t\t\tint n = scan.nex... | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
double[] array = new double[1000];
int i;
for(;;){
double sum = 0;
double ave;
double hen = 0;
double hen_sum = 0;
int n = scan.nextInt();
if(n == 0)
break;
for(... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
0,
13,
20,
13,
41,
13,
17,
41,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
112,
5
],
[
112,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int n = sc.nextInt();\n if(n==0) break;\n int[] s;\n s = new int[n];\n int sum=0;\n d... | 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[] s;
s = new int[n];
int sum=0;
double ave, bunsa... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
108,
5
],
[
108,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true) {\n\t\t\tint n = sc.nextInt();\n\n\t\t\tif(n == 0) break;\n\n\t\t\tint[] scores = new int[n];\n\n\t\t\tint sum = 0;\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\... | 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];
int sum = 0;
for (int i = 0; i < n; i++) {
scores[i] = sc.nextInt();
sum += scor... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
0,
13,
20,
13,
0,
13,
17,
0,
13,
17,
11,
1,
0,
13,
17,
2,
13,
13,
1,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint i,n;\n\t\tdouble sum;\n\t\tdouble rec[];\n\t\tdouble a;\n\n\t\twhile(true){\n\t\t\tn = sc.nextInt();\n\t\t\tif(n==0){\n\t\t\t\tbreak;\n\t\t\... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO 自動生成されたメソッド・スタブ
Scanner sc = new Scanner(System.in);
int i,n;
double sum;
double rec[];
double a;
while(true){
n = sc.nextInt();
if(n==0){
break;
}
rec = new double[n];
sum = 0.0;
a = 0... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
116,
14
],
... | [
"import java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tfinal int n = sc.nextInt();\n\n\t\t\tif(n == 0){\n\t\t\t\tbreak;\n\t\t\t}... | import java.util.Arrays;
import java.util.HashMap;
import java.util.Map;
import java.util.Scanner;
public class Main {
public static void main(String args[]) {
Scanner sc = new Scanner(System.in);
while (true) {
final int n = sc.nextInt();
if(n == 0){
break;
}
int[] arr = new int[n];
lon... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
0,
13,
17,
0,
13,
17,
0,
13,
17,
0,
13,
17,
41,
13,
20,
13,
11,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Scanner;\nimport java.util.Arrays;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble sum;\n\t\tdouble average;\n\t\tdouble b;\n\t\tdouble answer;\n\n\t\twhile(true){\n\t\t\tint n = scanner.nextInt();\n\t\t\tif(n == 0){\n\t\t\t\tbre... | import java.util.Scanner;
import java.util.Arrays;
class Main{
public static void main(String[] args){
Scanner scanner = new Scanner(System.in);
double sum;
double average;
double b;
double answer;
while(true){
int n = scanner.nextInt();
if(n == 0){
break;
}
sum = 0;
average = 0;
b... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.util.Random;\nimport java.util.Scanner;\nclass Main {\n public static void main(String[] args) {\n Random rand = new Random();\n Scanner stdIn = new Scanner(System.in); int j = 0;\n\n double[] ans = new double[1000];\n while (true) {\n int n = stdIn.nextInt();\n if (n == 0) bre... | import java.util.Random;
import java.util.Scanner;
class Main {
public static void main(String[] args) {
Random rand = new Random();
Scanner stdIn = new Scanner(System.in); int j = 0;
double[] ans = new double[1000];
while (true) {
int n = stdIn.nextInt();
if (n == 0) break;
int[] s... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
118,
8
],
[
118,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
]... | [
"import java.lang.Math;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n while (true) {\n int n = sc.nextInt();\n if (n == 0) break;\n double s[] = new double... | import java.lang.Math;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
while (true) {
int n = sc.nextInt();
if (n == 0) break;
double s[] = new double[n];
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
41,
13,
17,
42,
2,
13,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.*;\n \nclass Main {\n public static void main(String[] args) {\n \t\n \tScanner sc = new Scanner(System.in);\n \tArrayList<Double> sList = new ArrayList<>();\n \tArrayList<Double> devList = new ArrayList<>();\n \tArrayList<Double> sigmaList = new ArrayList<>();\n \t\n \tint... | import java.util.*;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
ArrayList<Double> sList = new ArrayList<>();
ArrayList<Double> devList = new ArrayList<>();
ArrayList<Double> sigmaList = new ArrayList<>();
int n = 999;
double ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
104,
5
],
[
104,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int count = sc.nextInt();\n if (count == 0) {\n break;\n }\n double[] s = new double[co... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int count = sc.nextInt();
if (count == 0) {
break;
}
double[] s = new double[count];
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
42,
2,
13,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int sum1, sum2;\n double m, v, s;\n int[] score;\n while(n != 0) {\n sum1 = 0;\n sum2 = 0;\... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
int n = sc.nextInt();
int sum1, sum2;
double m, v, s;
int[] score;
while(n != 0) {
sum1 = 0;
sum2 = 0;
scor... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
144,
5
],
[
144,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main (String[] args){\n try(Scanner sc = new Scanner(System.in)){\n while(true){\n int n = sc.nextInt();\n if(n == 0){break;}\n int[] scores = new int[n];\n for(int ... | import java.util.Scanner;
public class Main{
public static void main (String[] args){
try(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 < scor... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
110,
5
],
[
110,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t\twhile(true){\n\t\t\tint n = sc.nextInt();\n\t\t\tif(n == 0) break;\n\t\t\tint[] scores = new int[n];\n\n\t\t\tint sum = 0;\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tscores[i] ... | 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];
int sum = 0;
for(int i = 0;i < n;i++){
scores[i] = sc.nextInt();
//System.out.print(i +... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
11,
1,
0,
13,
17,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,
41,
13,
20,
13,
14,
2,
13,
17,
30,
3,
30,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
141,
5
],
[
141,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int i,n,j,S=0;\n double avr,O=0,s;\n for(i=0; ;i++){\n n=sc.nextInt();\n int array[]=new int[n];\n if(n==0){\n ... | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc=new Scanner(System.in);
int i,n,j,S=0;
double avr,O=0,s;
for(i=0; ;i++){
n=sc.nextInt();
int array[]=new int[n];
if(n==0){
break;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
20,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int n, i, sum = 0;\n double average, a = 0;\n int data[] = new int[1001];\n\n while((n = scan.nextInt()) != 0) {\n for(i = 0; i < n; i+... | import java.util.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
int n, i, sum = 0;
double average, a = 0;
int data[] = new int[1001];
while((n = scan.nextInt()) != 0) {
for(i = 0; i < n; i++) {
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
14,
4,
18,
13,
17,
3,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
[
... | [
"import java.io.*;\nclass Main\n{\n public static void main(String args[])throws IOException\n {\n\tBufferedReader input=new BufferedReader(new InputStreamReader(System.in));\n\t\n\tString a;\n\twhile(true)\n\t {\n\t\ta=input.readLine();\n\t\tif(a.equals(\"0\"))break;\t\t\t\n\t\tint n=Integer.parseInt(a);\... | import java.io.*;
class Main
{
public static void main(String args[])throws IOException
{
BufferedReader input=new BufferedReader(new InputStreamReader(System.in));
String a;
while(true)
{
a=input.readLine();
if(a.equals("0"))break;
int n=Integer.parseInt(a);
String c=input.readLine();
St... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
20,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
20,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
123,
8
],
[
123,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.math.BigDecimal;\nimport java.util.Scanner;\n\n//Solution:\n\npublic class Main { \n public static void main(String[] args) {\n Scanner f = new Scanner(System.in);\n // fill in the dictionary with the initial value\n while(true) {\n int num = f.nextInt();\n ... | import java.math.BigDecimal;
import java.util.Scanner;
//Solution:
public class Main {
public static void main(String[] args) {
Scanner f = new Scanner(System.in);
// fill in the dictionary with the initial value
while(true) {
int num = f.nextInt();
if(num == 0) br... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
0,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
122,
5
],
[
122,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n while (sc.hasNext()) {\n int i = 0;\n double m = 0, sum = 0, a = 0, b = 0;\n double[] rem;\n\n int n = sc.nextInt();\n ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (sc.hasNext()) {
int i = 0;
double m = 0, sum = 0, a = 0, b = 0;
double[] rem;
int n = sc.nextInt();
if(n==... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
17,
0,
13,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
0,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
123,
5
],
[
123,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tint n, s[], i;\n\t\tdouble ave, a, ans;\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tave = 0.0;\n\t\t\ta = 0.0;\n\t\t\tn = sc.nextInt();\n\t\t\tif (n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\ts =... | import java.util.Scanner;
public class Main {
public static void main(String args[]) {
int n, s[], i;
double ave, a, ans;
Scanner sc = new Scanner(System.in);
while (true) {
ave = 0.0;
a = 0.0;
n = sc.nextInt();
if (n == 0) {
break;
}
s = new int[n];
for (i = 0; i < n; ++i) {
s[i]... |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
41,
13,
20,
13,
41,
13,
17,
41,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
115,
5
],
[
115,
6
],
[
6,
7
],
[
6,
8
],
[
115,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
13,
14
... | [
"import java.util.*;\npublic class Main{\n static Scanner kbd = new Scanner(System.in);\n public static void main(String[] args){\n \n while(kbd.hasNext()){\n int n = kbd.nextInt();\n if(n!=0){\n int[] s = new int[n];\n double ave = 0;\n int i;\n \n for(i=0; i<... | import java.util.*;
public class Main{
static Scanner kbd = new Scanner(System.in);
public static void main(String[] args){
while(kbd.hasNext()){
int n = kbd.nextInt();
if(n!=0){
int[] s = new int[n];
double ave = 0;
int i;
for(i=0; i<n; i++){
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
18... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
141,
11
],
[
141,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint num = Integer.parseInt(br.re... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
int num = Integer.parseInt(br.readLine());
if(num ... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
2,
13,
17,
17,
30,
4,
18,
13,
4,
18,
13,
13,
14,
4,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
224,
14
],
... | [
"import java.math.BigDecimal;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tList<Integer> klist = new ArrayList<Integer>();\n\t\tList<String> vlist = new ArrayList<S... | import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
public class Main {
public static void main(String[] arges) {
Scanner sc = new Scanner(System.in);
List<Integer> klist = new ArrayList<Integer>();
List<String> vlist = new ArrayList<String>();
int count ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
107,
5
],
[
107,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner stdIn = new Scanner(System.in);\n\t\twhile(true){\n\t\t\tint n = stdIn.nextInt();\n\t\t\tif(n==0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint[] s = new int[n];\n\t\t\tdouble a = 0;\n\t\t\tdouble ans = 0;\n\t\t\tfor(... |
import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner stdIn = new Scanner(System.in);
while(true){
int n = stdIn.nextInt();
if(n==0){
break;
}
int[] s = new int[n];
double a = 0;
double ans = 0;
for(int i=0;i<n;i++){
s[i] = stdIn.nextInt();
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
120,
5
],
[
120,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n double sum1=0, sum2=0, ave=0, bun=0, hen=0;\n int n = sc.nextInt();\n if(n==0) break;\n int[] data = new int... | import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
double sum1=0, sum2=0, ave=0, bun=0, hen=0;
int n = sc.nextInt();
if(n==0) break;
int[] data = new int[n];
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
20,
17,
41,
13,
41,
13,
41,
13,
17,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
116,
8
],
[
116,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.lang.Math;\nimport java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n double m=0;\n double[] si = new double[1001];\n int i,n;\n double z=0;\n while(true){\n n = s.nextInt();\... | import java.lang.Math;
import java.util.Scanner;
public class Main{
public static void main(String[] args){
Scanner s = new Scanner(System.in);
double m=0;
double[] si = new double[1001];
int i,n;
double z=0;
while(true){
n = s.nextInt();
if(n... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
17,
30,
4,
18,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
126,
8
],
[
126,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import static java.lang.Double.*;\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tint n = 0;\n\t\twhile ( ( n =... | import static java.lang.Double.*;
import java.util.Scanner;
public class Main {
public static void main(String[] args) {
// TODO ?????????????????????????????????????????????
Scanner sc = new Scanner(System.in);
StringBuilder sb = new StringBuilder();
int n = 0;
while ( ( n = sc.nextInt() ) != 0 ) {
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
127,
11
],
[
127,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile(true){\n\n\t\t\tint studentNum = Integer... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
int studentNum = Integer.parseInt(br.readLine())... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
20,
13,
11,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
13,
14
],
... | [
"import java.util.ArrayList;\nimport java.util.List;\nimport java.io.*;\nimport java.util.Scanner;\nimport java.math.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint n = Integer.parseInt(scan.nextLine());\n\t\t\tif (n ==... | import java.util.ArrayList;
import java.util.List;
import java.io.*;
import java.util.Scanner;
import java.math.*;
public class Main {
public static void main(String[] args) {
Scanner scan = new Scanner(System.in);
while (true) {
int n = Integer.parseInt(scan.nextLine());
if (n == 0) {
break;
}
St... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
145,
5
],
[
145,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int a = sc.nextInt();\n if(a==0) {break;}\n int []scores=new int[a];\n for(int i=0;i<scores.length;i++){\n ... | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
int a = sc.nextInt();
if(a==0) {break;}
int []scores=new int[a];
for(int i=0;i<scores.length;i++){
s... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
0,
13,
17,
2,
13,
13,
1,
40,
13,
30... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main{\n \n\tpublic static void main(String[] args) {\n\n\t\tint n,i;\n\t\tdouble ave,std;\n\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\twhile(true)\n\t\t{\n\t\t\tint sum=0;\n\t\t\tdouble var=0;\n\t\t\t\n\t\t\tn = scan.nextInt();\n\t\t\t\n\t\t\tif(n==0) break;\n\t\t\t\n... | import java.util.Scanner;
class Main{
public static void main(String[] args) {
int n,i;
double ave,std;
Scanner scan = new Scanner(System.in);
while(true)
{
int sum=0;
double var=0;
n = scan.nextInt();
if(n==0) break;
int a[] = new int[n];
for(i=0; i<n; i++)
{
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
13,
41,
13,
17,
11,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\twhile(tr... | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
class Main{
public static void main(String[] args) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
while(true){
int num = Inte... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n \nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while (true) {\n int x = sc.nextInt();\n if (x == 0){\n break;\n ... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while (true) {
int x = sc.nextInt();
if (x == 0){
break;
}
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
3... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
113,
5
],
[
113,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tfor(;;){\n\t\t\tint n = sc.nextInt();\n\t\t\tif(n==0)break;\n\t\t\t\n\t\t\tdouble st = 0;\n\t\t\tdouble m = 0;\n\t\t\tdouble to = 0;\n\t\t\tdouble a = 0;\n\t\t\tdouble[] s =... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
for(;;){
int n = sc.nextInt();
if(n==0)break;
double st = 0;
double m = 0;
double to = 0;
double a = 0;
double[] s = new double[n];
for(int i=0; i<n; i++){
s... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
138,
5
],
[
138,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
" import java.util.Scanner;\n public class Main{\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n while (true) {\n int n = sc.nextInt();\n if (n == 0) {\n break;\n ... | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
try (Scanner sc = new Scanner(System.in)) {
while (true) {
int n = sc.nextInt();
if (n == 0) {
break;
}
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
17,
30,
0,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
20,
13,
11,
1,
41... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
131,
5
],
[
131,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int n;\n\n while(true){\n n = Integer.parseInt(br.... | import java.io.*;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int n;
while(true){
n = Integer.parseInt(br.readLine());
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n while(true){\n int n=Integer.parseInt(scan.next());\n if(n==0)break;\n int[] s=new int[n];\n for(int i=0;i<n;i+... | import java.io.*;
import java.util.*;
import java.lang.*;
class Main{
public static void main(String[] args) throws IOException{
Scanner scan=new Scanner(System.in);
while(true){
int n=Integer.parseInt(scan.next());
if(n==0)break;
int[] s=new int[n];
for(int i=0;i<n;i++){
s[i]... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
41,
13,
0,
13,
17,
0,
13,
17,
41,
13,
20,
41,
13,
20,
42,
17,
30,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
157,
5
],
[
157,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"\n\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n;\n\t\tDouble avg, num;\n\t\tnum = 0.0;\n\t\tavg = 0.0;\n\t\tStringBuilder sb = new StringBuilder();\n\t\tList<Integer> list = new ArrayList<Integer>();\n\n\t\twhile (tru... |
import java.util.*;
public class Main {
public static void main(String args[]) {
Scanner scan = new Scanner(System.in);
int n;
Double avg, num;
num = 0.0;
avg = 0.0;
StringBuilder sb = new StringBuilder();
List<Integer> list = new ArrayList<Integer>();
while (true) {
n = scan.nextInt();
// n... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
4... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
121,
5
],
[
121,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n Scanner sc =new Scanner(System.in);\n\n while(true){\n \t\tdouble total = 0.0; //合計点\n double m = 0.0; //平均点\n double a = 0.0; //分散\n double stdev = 0.0;\n\n ... | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc =new Scanner(System.in);
while(true){
double total = 0.0; //合計点
double m = 0.0; //平均点
double a = 0.0; //分散
double stdev = 0.0;
//学生の数
in... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
17,
14,
2,
13,
17,
3,
0,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
113,
5
],
[
113,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n\n while(true){\n int n = scan.nextInt();\n int[] score;\n double sum = 0, avg;\n double bunsan = 0;\n if(n==0) break;\n score = new int[n];\n for(... | import java.util.*;
public class Main{
public static void main(String[] args){
Scanner scan = new Scanner(System.in);
while(true){
int n = scan.nextInt();
int[] score;
double sum = 0, avg;
double bunsan = 0;
if(n==0) break;
score = new int[n];
for(int i=0;i<n;i++){
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
18,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
122,
5
],
[
122,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n = sc.nextInt();\n if(n==0){\n break;\n }\n int[] scores = new int[n];\n for(int i=0;i<scores.length;i++){\n scores[i]... | 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();
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
17,
30,
41,
13,
4,
18,
13,
14,
4,
18,
13,
17,
3,
41,
13,
4,
18,
13,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
12,
13
],
[
12,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String args[]) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n double alph;\n\n while(true){\n\n\t String st = br.read... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
class Main{
public static void main(String args[]) throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
double alph;
while(true){
String st = br.readLine();
if( st... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
126,
5
],
[
126,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n while(true) {\n int n = scanner.nextInt();\n if (n == 0) break;\n\n int s[] = new int[n];\n for (int i = 0; i < ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
while(true) {
int n = scanner.nextInt();
if (n == 0) break;
int s[] = new int[n];
for (int i = 0; i < n; i++) {
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
20,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
4,
18,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
10,
11
],
[
10,
12
],
[
0,
13
],
[
134,
14
],
... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new java.util.Scanner(Syst... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Scanner;
public class Main {
public static void main(String[] args) throws IOException {
// TODO ?????????????????????????????????????????????
Scanner scan = new java.util.Scanner(System.in);
InputStr... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n while(true){\n int count = sc.nextInt();\n if (count == 0) break;\n int[] score = new int[count];\n int sum = 0;\n ... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(true){
int count = sc.nextInt();
if (count == 0) break;
int[] score = new int[count];
int sum = 0;
double ave... |
[
7,
15,
13,
17,
6,
13,
41,
13,
20,
12,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
0,
13,
2,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
109,
5
],
[
109,
6
],
[
6,
7
],
[
6,
8
],
[
109,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
... | [
"import java.util.Scanner;\npublic class Main {\n\tprivate static Scanner sc=new Scanner(System.in);\n\tpublic static void main (String[] args){\n\twhile(true){\n\t\tint n=sc.nextInt();\n\t\tif(n==0) break;\n\t\tint[] s=new int[n];\n\t\tdouble sum=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\ts[i]=sc.nextInt();\n\t\t\tsum=s... | import java.util.Scanner;
public class Main {
private static Scanner sc=new Scanner(System.in);
public static void main (String[] args){
while(true){
int n=sc.nextInt();
if(n==0) break;
int[] s=new int[n];
double sum=0;
for(int i=0;i<n;i++){
s[i]=sc.nextInt();
sum=sum+s[i];
}
double ave=sum/n;
... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
17,
41,
13,
17,
42,
2,
0,
13,
4,
18,
13,
4,
18,
13,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
20,
13,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
143,
11
],
[
143,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tin... | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
StringBuilder sb = new StringBuilder();
int n = 0;
double... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
42,
2,
0,
13,
4,
18,
13,
17,
30,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,
13,
41,
13,
17,
11,
1,
41,
13,
17,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
119,
5
],
[
119,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n;\n while ((n = scanner.nextInt()) != 0) {\n int data[] = new int[n];\n for (int i = 0; i < n; i++) {\n data[i]... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner scanner = new Scanner(System.in);
int n;
while ((n = scanner.nextInt()) != 0) {
int data[] = new int[n];
for (int i = 0; i < n; i++) {
data[i] = scanner.nex... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
41,
13,
41,
13,
41,
13,
17,
41,
13,
41,
13,
17,
41,
13,
17,
0,
13,
4,
18,
13,
41,
13,
20,
13,
14,
2,
13,
17,
30,
3,
11,
1,
0,
13,
17,
2,
13,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
124,
5
],
[
124,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\n\npublic class Main{\npublic static void main(String[] args) {\nScanner sc = new Scanner(System.in);\n\n\nwhile(true){\nint i,j,k;\ndouble sum=0,ave,s=0,sg=0; \n\n\nj = sc.nextInt();\nint[] intarray = new int[j];\n\nif (j == 0 ){\n break;\n}\n\nfor(i=0;i<j;i++){\n\n intarray[i] = sc.n... | import java.util.Scanner;
public class Main{
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
while(true){
int i,j,k;
double sum=0,ave,s=0,sg=0;
j = sc.nextInt();
int[] intarray = new int[j];
if (j == 0 ){
break;
}
for(i=0;i<j;i++){
intarray[i] = sc.nextInt();
sum = sum + int... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
13,
41,
13,
4,
18,
13,
17,
41,
13,
17,
11,
1,
4... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
138,
11
],
[
138,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\twhile (true) {\n\n\t\t\tString first_line =... | import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
public class Main {
public static void main(String[] args) throws IOException {
BufferedReader input = new BufferedReader(new InputStreamReader(System.in));
while (true) {
String first_line = input.readLine();
/... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
17,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
17,
42,
13,
30,
41,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
0,
13,
17,
0,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tdouble area = 0.f;\n\t\tdouble sum;\n\t\tdouble sta;\n\t\tdouble dev;\n\t\tdouble dev_w;\n\t\tdouble dev_sum;\n\t\tdouble ave;\n\t\tdouble var;\n\t\tboolean Judge = true;\n\t\t\... | import java.util.Scanner;
class Main {
public static void main(String args[]) {
Scanner scanner = new Scanner(System.in);
double area = 0.f;
double sum;
double sta;
double dev;
double dev_w;
double dev_sum;
double ave;
double var;
boolean Judge = true;
while(Judge){
int stu_num = scanner.... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
11,
1,
30,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
117,
5
],
[
117,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new java.util.Scanner(System.in);\n for(;;){\n int n = scan.nextInt();\n double sum = 0;\n double m = 0;\n if(n == 0)break;\n double[] s ... | import java.util.Scanner;
public class Main {
public static void main(String[] args){
Scanner scan = new java.util.Scanner(System.in);
for(;;){
int n = scan.nextInt();
double sum = 0;
double m = 0;
if(n == 0)break;
double[] s = new double[n... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
41,
13,
17,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
42,
4,
13,
0,
13,
4,
18,
13,
30,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
13,
4,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
148,
8
],
[
148,
9
],
[
9,
10
],
[
9,
11
],
[
148,
12
],
[
12,
13
],
[
12,
14
... | [
"import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tstatic final int END_SIGN = 0;\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 標準偏差値のリスト\n\t\tArrayList<Double> standardDeviationList = new ArrayList<Double>();\n\n\t\tint inputCount... | import java.util.ArrayList;
import java.util.Scanner;
public class Main {
static final int END_SIGN = 0;
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
// 標準偏差値のリスト
ArrayList<Double> standardDeviationList = new ArrayList<Double>();
int inputCount;
// 得点の件数を入力、0で終了
while... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
41,
13,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
111,
5
],
[
111,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
8,
14
],
... | [
"import java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n double ave;\n double s;\n while(true) {\n double sum=0;\n double tmp=0;\n int num = sc.nextInt();\n if (num =... | import java.util.Scanner;
public class Main {
public static void main(String[] args) {
Scanner sc = new Scanner(System.in);
double ave;
double s;
while(true) {
double sum=0;
double tmp=0;
int num = sc.nextInt();
if (num == 0) break;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
20,
41,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
20,
13,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
41,
13,
4,
18,
13,
0,
18,
13,
13,
1... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
121,
5
],
[
121,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\n\t\tList<Double> listAl = new ArrayList<Double>();\n\t\tScanner scan = new Scanner(System.in);\n\t\tdouble n = scan.nextDouble();\n\t\twhile(n != 0){\n\t\t\tdouble[] sc = new double[(int) n];\n\t\t\tdouble sum = 0;\n\t\t\tfor(i... | import java.util.*;
public class Main{
public static void main(String[] args){
List<Double> listAl = new ArrayList<Double>();
Scanner scan = new Scanner(System.in);
double n = scan.nextDouble();
while(n != 0){
double[] sc = new double[(int) n];
double sum = 0;
for(int i = 0; i < n; i++){
double ... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
38,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
20,
13,
41,
13,
17,
41,
13,
17,
14,
2,
13,
17,
3,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,
13,
13,
4... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
109,
5
],
[
109,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
10,
11
],
[
11,
12
],
[
11,
13
],
[
10,
14
... | [
"import java.util.Scanner;\n\npublic class Main{\n public static void main(String[] args){\n try(Scanner sc = new Scanner(System.in)){\n while(true){\n int num = sc.nextInt();\n double score[] = new double[num];\n double ave = 0;\n double var = ... | import java.util.Scanner;
public class Main{
public static void main(String[] args){
try(Scanner sc = new Scanner(System.in)){
while(true){
int num = sc.nextInt();
double score[] = new double[num];
double ave = 0;
double var = 0;
... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
4,
18,
13,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
4,
18,
13,
4,
18,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
135,
8
],
[
135,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.io.*;\nimport java.util.*;\npublic class Main {\n\n\t/**\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\t\tScanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(s.hasNext()){\n\t\t\tInteger student_num = Integer.parseInt(s.next());\n\t\t\tif(s... | import java.io.*;
import java.util.*;
public class Main {
/**
* @param args
*/
public static void main(String[] args) {
Scanner s = new Scanner(new BufferedReader(new InputStreamReader(System.in)));
while(s.hasNext()){
Integer student_num = Integer.parseInt(s.next());
if(student_num == 0){
break;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
41,
13,
4,
18,
13,
4,
18,
13,
42,
2,
13,
17,
30,
41,
13,
20,
13,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
18,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\twhile(n!=0){\n\t\t\tdouble[] s=new double[n];\n\t\t\tString[] a=br.readLine().split(\" \");\n\... | import java.io.*;
class Main {
public static void main(String[] args) throws Exception {
BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
int n=Integer.parseInt(br.readLine());
while(n!=0){
double[] s=new double[n];
String[] a=br.readLine().split(" ");
double sum=0;
for(int i=... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
41,
13,
41,
13,
41,
13,
41,
13,
20,
42,
17,
30,
0,
13,
17,
0,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
8,
11
],
[
11,
12
],
[
8,
13
],
[
13,
14
],
[... | [
"import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint n;\n\t\tdouble a, m, b;\n\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\twhile (true) {\n\t\t\tb = 0.0;\n\t\t\tn = stdIn.nextInt();\n\t\t\tif(n == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint[] s = new int[n];\n\n\t... | import java.util.Scanner;
class Main {
public static void main(String[] args) {
int n;
double a, m, b;
Scanner stdIn = new Scanner(System.in);
while (true) {
b = 0.0;
n = stdIn.nextInt();
if(n == 0) {
break;
}
int[] s = new int[n];
for (int i = 0; i < n; i++) {
s[i] = stdIn.next... |
[
7,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
13,
17,
30,
3,
41,
13,
20,
13,
11,
1,
41,
13,
17,
2,
13,
13,
1,
... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
118,
8
],
[
118,
9
],
[
9,
10
],
[
9,
11
],
[
11,
12
],
[
12,
13
],
[
12,
14
]... | [
"import java.util.Scanner;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n while(true){\n int n = sc.nextInt();\n int sum=0;\n double m=0;\n double ans=0;\n double sum1=0;\n if(n==0){\n break;\n }\n... | import java.util.Scanner;
import java.util.ArrayList;
public class Main {
public static void main(String[] args){
Scanner sc = new Scanner(System.in);
while(true){
int n = sc.nextInt();
int sum=0;
double m=0;
double ans=0;
double sum1=0;
if(n==0){
break;
}
int[] s = new in... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
17,
41,
13,
17,
41,
13,
17,
14,
2,
0,
13,
4,
18,
13,
17,
30,
3,
41,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,
0,
13,
4,
18,
13,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"\nimport java.util.*;\nclass Main {\n\tpublic static void main(String...args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\twhile(true) {\n\t\tdouble heikin = 0;\n\t\tdouble powM = 0;\n\t\tint howM = 0;\n\t\t\tif((howM = scan.nextInt()) == 0 ) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tint mem = 0;\n\t\t\tfor(int i ... |
import java.util.*;
class Main {
public static void main(String...args) {
Scanner scan = new Scanner(System.in);
while(true) {
double heikin = 0;
double powM = 0;
int howM = 0;
if((howM = scan.nextInt()) == 0 ) {
break;
}
int mem = 0;
for(int i = 0; i < howM ; i++) {
mem = scan.nextInt(... |
[
7,
15,
13,
17,
15,
13,
17,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
30,
3,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13,
20,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
0,
7
],
[
7,
8
],
[
7,
9
],
[
0,
10
],
[
138,
11
],
[
138,
12
],
[
12,
13
],
[
12,
14
],... | [
"import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\n\npublic class Main{\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try {\n while(true){\n int x = Int... | import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main{
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
while(true){
int x = Integer.parseInt(... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
38,
5,
13,
30,
4,
18,
13,
30,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
17,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
41,
13... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
13,
14
],
[... | [
"// ITP1_10_C Standard_Deviation\nimport java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n try {\n while (true) {\n int n = Integer.parseInt(br.readLine());\n if (n == 0) bre... | // ITP1_10_C Standard_Deviation
import java.io.*;
class Main {
public static void main(String[] args) {
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
try {
while (true) {
int n = Integer.parseInt(br.readLine());
if (n == 0) break;
... |
[
7,
15,
13,
17,
6,
13,
12,
13,
30,
41,
13,
20,
42,
17,
30,
41,
13,
4,
18,
13,
4,
18,
13,
14,
2,
13,
17,
3,
41,
13,
17,
41,
13,
17,
41,
13,
4,
18,
4,
18,
13,
17,
11,
1,
41,
13,
17,
2,
13,
13,
1,
40,
13,
30,
30,... | [
[
0,
1
],
[
1,
2
],
[
1,
3
],
[
0,
4
],
[
4,
5
],
[
4,
6
],
[
6,
7
],
[
6,
8
],
[
8,
9
],
[
9,
10
],
[
9,
11
],
[
8,
12
],
[
12,
13
],
[
12,
14
],
[... | [
"import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] arg)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\twhile(true){\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tif(n == 0)break;\n\t\t\tdouble m = 0,sig = 0;\n\t\t\tString[] div = b... | import java.io.*;
class Main {
public static void main(String[] arg)throws IOException{
BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
while(true){
int n = Integer.parseInt(br.readLine());
if(n == 0)break;
double m = 0,sig = 0;
String[] div = br.readLine().split(" ");
for... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.