node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 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, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 13, 4, 18, 13, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 28, 13, 13, 30, 30, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 23, 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 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 26, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 26, 59 ], [ 59, 60 ], [ 59, 61 ], [ 26, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 26, 66 ], [ 66, 67 ], [ 66, 68 ], [ 26, 69 ], [ 69, 70 ], [ 69, 71 ], [ 69, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 85, 87 ], [ 73, 88 ], [ 88, 89 ], [ 88, 90 ], [ 26, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 99, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 97, 103 ], [ 99, 104 ], [ 26, 105 ], [ 105, 106 ], [ 106, 107 ], [ 24, 108 ], [ 108, 109 ], [ 22, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 110, 117 ], [ 117, 118 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.logging.Logger;\n import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Long> array = new ArrayList<Long>();\n \n \n for(int i=0;i<n;i++){\n array.add(toLong(scan.nextInt()));\n }\n \n long min=1000001;\n long max=-1000001;\n long sum = 0;\n \n for(long i : array){\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }\n \n public static long toLong(Number number){\n return number.longValue();\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.logging.Logger;", "Logger", "java.util.logging", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Long> array = new ArrayList<Long>();\n \n \n for(int i=0;i<n;i++){\n array.add(toLong(scan.nextInt()));\n }\n \n long min=1000001;\n long max=-1000001;\n long sum = 0;\n \n for(long i : array){\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }\n \n public static long toLong(Number number){\n return number.longValue();\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Long> array = new ArrayList<Long>();\n \n \n for(int i=0;i<n;i++){\n array.add(toLong(scan.nextInt()));\n }\n \n long min=1000001;\n long max=-1000001;\n long sum = 0;\n \n for(long i : array){\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<Long> array = new ArrayList<Long>();\n \n \n for(int i=0;i<n;i++){\n array.add(toLong(scan.nextInt()));\n }\n \n long min=1000001;\n long max=-1000001;\n long sum = 0;\n \n for(long i : array){\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "ArrayList<Long> array = new ArrayList<Long>();", "array", "new ArrayList<Long>()", "for(int i=0;i<n;i++){\n array.add(toLong(scan.nextInt()));\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n array.add(toLong(scan.nextInt()));\n }", "{\n array.add(toLong(scan.nextInt()));\n }", "array.add(toLong(scan.nextInt()))", "array.add", "array", "toLong(scan.nextInt())", "toLong", "scan.nextInt()", "scan.nextInt", "scan", "long min=1000001;", "min", "1000001", "long max=-1000001;", "max", "-1000001", "1000001", "long sum = 0;", "sum", "0", "for(long i : array){\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }", "long i", "array", "{\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }", "{\n if(min > i) min = i;\n if(max < i) max = i;\n sum += i;\n }", "if(min > i) min = i;", "min > i", "min", "i", "min = i", "min", "i", "if(max < i) max = i;", "max < i", "max", "i", "max = i", "max", "i", "sum += i", "sum", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "scan.close()", "scan.close", "scan", "String[] args", "args", "public static long toLong(Number number){\n return number.longValue();\n }", "toLong", "{\n return number.longValue();\n }", "return number.longValue();", "number.longValue()", "number.longValue", "number", "Number number", "number" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.logging.Logger; import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); ArrayList<Long> array = new ArrayList<Long>(); for(int i=0;i<n;i++){ array.add(toLong(scan.nextInt())); } long min=1000001; long max=-1000001; long sum = 0; for(long i : array){ if(min > i) min = i; if(max < i) max = i; sum += i; } System.out.println(min + " " + max + " " + sum); scan.close(); } public static long toLong(Number number){ return number.longValue(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 40, 17, 41, 13, 17, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 43, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 43, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 74, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 74, 79 ], [ 6, 80 ], [ 80, 81 ] ]
[ "import java.util.Scanner;\n\nclass Main\n{\n public static void main(String[] args)\n {\n int Max=-1000000,min=1000000,n,temp;\n long sum=0;\n Scanner in=new Scanner(System.in);\n\t\n\tn=in.nextInt();\n\tfor(int i=0;i<n;i++)\n\t{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}\n\tSystem.out.println(min + \" \" + Max + \" \" + sum);\n \n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main\n{\n public static void main(String[] args)\n {\n int Max=-1000000,min=1000000,n,temp;\n long sum=0;\n Scanner in=new Scanner(System.in);\n\t\n\tn=in.nextInt();\n\tfor(int i=0;i<n;i++)\n\t{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}\n\tSystem.out.println(min + \" \" + Max + \" \" + sum);\n \n }\n\n}", "Main", "public static void main(String[] args)\n {\n int Max=-1000000,min=1000000,n,temp;\n long sum=0;\n Scanner in=new Scanner(System.in);\n\t\n\tn=in.nextInt();\n\tfor(int i=0;i<n;i++)\n\t{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}\n\tSystem.out.println(min + \" \" + Max + \" \" + sum);\n \n }", "main", "{\n int Max=-1000000,min=1000000,n,temp;\n long sum=0;\n Scanner in=new Scanner(System.in);\n\t\n\tn=in.nextInt();\n\tfor(int i=0;i<n;i++)\n\t{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}\n\tSystem.out.println(min + \" \" + Max + \" \" + sum);\n \n }", "int Max=-1000000", "Max", "-1000000", "1000000", "min=1000000", "min", "1000000", "n", "n", "temp;", "temp", "long sum=0;", "sum", "0", "Scanner in=new Scanner(System.in);", "in", "new Scanner(System.in)", "n=in.nextInt()", "n", "in.nextInt()", "in.nextInt", "in", "for(int i=0;i<n;i++)\n\t{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}", "{\n\t\ttemp=in.nextInt();\n\t\tif(temp>Max)\n\t\t\tMax=temp;\n\t\tif(temp<min)\n\t\t\tmin=temp;\n\t\tsum+=temp;\t\t\n\t}", "temp=in.nextInt()", "temp", "in.nextInt()", "in.nextInt", "in", "if(temp>Max)\n\t\t\tMax=temp;", "temp>Max", "temp", "Max", "Max=temp", "Max", "temp", "if(temp<min)\n\t\t\tmin=temp;", "temp<min", "temp", "min", "min=temp", "min", "temp", "sum+=temp", "sum", "temp", "System.out.println(min + \" \" + Max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + Max + \" \" + sum", "\" \"", "Max", "min + \" \" + Max + \" \" + sum", "min", "\" \"", "Max", "\" \"", "sum", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { int Max=-1000000,min=1000000,n,temp; long sum=0; Scanner in=new Scanner(System.in); n=in.nextInt(); for(int i=0;i<n;i++) { temp=in.nextInt(); if(temp>Max) Max=temp; if(temp<min) min=temp; sum+=temp; } System.out.println(min + " " + Max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 4, 18, 13, 41, 13, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 11, 1, 0, 13, 17, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 4, 18, 13, 18, 13, 13, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 4, 18, 13, 18, 13, 13, 30, 0, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 64, 66 ], [ 56, 67 ], [ 67, 68 ], [ 68, 69 ], [ 56, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 71, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 82, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 71, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 100, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 115, 116 ], [ 115, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 126, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 126, 131 ], [ 6, 132 ], [ 132, 133 ] ]
[ "import java.io.*;\n\nclass Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n long n,max,min,sum;\n n = Integer.parseInt(br.readLine()); \n int i; \n strAry = br.readLine().split(\" \");\n min = Integer.parseInt(strAry[0]); \n max = Integer.parseInt(strAry[0]);\n \n \n \n for(i=0,sum=0;i<n;i++){\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }\n \n System.out.println(min+ \" \" + max +\" \"+sum); \n\n }\n}", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n long n,max,min,sum;\n n = Integer.parseInt(br.readLine()); \n int i; \n strAry = br.readLine().split(\" \");\n min = Integer.parseInt(strAry[0]); \n max = Integer.parseInt(strAry[0]);\n \n \n \n for(i=0,sum=0;i<n;i++){\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }\n \n System.out.println(min+ \" \" + max +\" \"+sum); \n\n }\n}", "Main", "public static void main(String[] args)throws IOException{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n long n,max,min,sum;\n n = Integer.parseInt(br.readLine()); \n int i; \n strAry = br.readLine().split(\" \");\n min = Integer.parseInt(strAry[0]); \n max = Integer.parseInt(strAry[0]);\n \n \n \n for(i=0,sum=0;i<n;i++){\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }\n \n System.out.println(min+ \" \" + max +\" \"+sum); \n\n }", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n String[] strAry; \n long n,max,min,sum;\n n = Integer.parseInt(br.readLine()); \n int i; \n strAry = br.readLine().split(\" \");\n min = Integer.parseInt(strAry[0]); \n max = Integer.parseInt(strAry[0]);\n \n \n \n for(i=0,sum=0;i<n;i++){\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }\n \n System.out.println(min+ \" \" + max +\" \"+sum); \n\n }", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] strAry;", "strAry", "long n", "n", "max", "max", "min", "min", "sum;", "sum", "n = Integer.parseInt(br.readLine())", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int i;", "i", "strAry = br.readLine().split(\" \")", "strAry", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "min = Integer.parseInt(strAry[0])", "min", "Integer.parseInt(strAry[0])", "Integer.parseInt", "Integer", "strAry[0]", "strAry", "0", "max = Integer.parseInt(strAry[0])", "max", "Integer.parseInt(strAry[0])", "Integer.parseInt", "Integer", "strAry[0]", "strAry", "0", "for(i=0,sum=0;i<n;i++){\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }", "i=0,sum=0;", "i=0", "i", "0", "sum=0", "sum", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }", "{\n sum=sum + Integer.parseInt(strAry[i]); \n if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }\n if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }\n \n }", "sum=sum + Integer.parseInt(strAry[i])", "sum", "sum + Integer.parseInt(strAry[i])", "sum", "Integer.parseInt(strAry[i])", "Integer.parseInt", "Integer", "strAry[i]", "strAry", "i", "if(min>Integer.parseInt(strAry[i])){ \n min=Integer.parseInt(strAry[i]);\n }", "min>Integer.parseInt(strAry[i])", "min", "Integer.parseInt(strAry[i])", "Integer.parseInt", "Integer", "strAry[i]", "strAry", "i", "{ \n min=Integer.parseInt(strAry[i]);\n }", "min=Integer.parseInt(strAry[i])", "min", "Integer.parseInt(strAry[i])", "Integer.parseInt", "Integer", "strAry[i]", "strAry", "i", "if(max<Integer.parseInt(strAry[i])){\n max=Integer.parseInt(strAry[i]);\n }", "max<Integer.parseInt(strAry[i])", "max", "Integer.parseInt(strAry[i])", "Integer.parseInt", "Integer", "strAry[i]", "strAry", "i", "{\n max=Integer.parseInt(strAry[i]);\n }", "max=Integer.parseInt(strAry[i])", "max", "Integer.parseInt(strAry[i])", "Integer.parseInt", "Integer", "strAry[i]", "strAry", "i", "System.out.println(min+ \" \" + max +\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+ \" \" + max +\" \"+sum", "\" \"", "max", "min+ \" \" + max +\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); String[] strAry; long n,max,min,sum; n = Integer.parseInt(br.readLine()); int i; strAry = br.readLine().split(" "); min = Integer.parseInt(strAry[0]); max = Integer.parseInt(strAry[0]); for(i=0,sum=0;i<n;i++){ sum=sum + Integer.parseInt(strAry[i]); if(min>Integer.parseInt(strAry[i])){ min=Integer.parseInt(strAry[i]); } if(max<Integer.parseInt(strAry[i])){ max=Integer.parseInt(strAry[i]); } } System.out.println(min+ " " + max +" "+sum); } }
[ 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, 17, 41, 13, 0, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 13, 13, 13, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 67, 78 ], [ 79, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 80, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 79, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 79, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 8, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 117, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 115, 121 ], [ 117, 122 ], [ 6, 123 ], [ 123, 124 ], [ 0, 125 ], [ 125, 126 ], [ 125, 127 ] ]
[ "import java.util.Scanner; \n public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b ;\n int max;\n int min;\n int i;\n long sum=0;\n int list[];\n list = new int[a];\n for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }\n min=list[0];\n max=list[0];\n for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n }", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b ;\n int max;\n int min;\n int i;\n long sum=0;\n int list[];\n list = new int[a];\n for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }\n min=list[0];\n max=list[0];\n for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n }", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b ;\n int max;\n int min;\n int i;\n long sum=0;\n int list[];\n list = new int[a];\n for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }\n min=list[0];\n max=list[0];\n for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b ;\n int max;\n int min;\n int i;\n long sum=0;\n int list[];\n list = new int[a];\n for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }\n min=list[0];\n max=list[0];\n for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int b ;", "b", "int max;", "max", "int min;", "min", "int i;", "i", "long sum=0;", "sum", "0", "int list[];", "list", "list = new int[a]", "list", "new int[a]", "a", "for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }", "i=0;", "i=0", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n b = sc.nextInt();\n list[i]=b;\n }", "{\n b = sc.nextInt();\n list[i]=b;\n }", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "list[i]=b", "list[i]", "list", "i", "b", "min=list[0]", "min", "list[0]", "list", "0", "max=list[0]", "max", "list[0]", "list", "0", "for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }", "i=0;", "i=0", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }", "{\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }", "if(list[i]>max){\n max=list[i];\n }", "list[i]>max", "list[i]", "list", "i", "max", "{\n max=list[i];\n }", "max=list[i]", "max", "list[i]", "list", "i", "if(list[i]<min){\n min=list[i];\n }", "list[i]<min", "list[i]", "list", "i", "min", "{\n min=list[i];\n }", "min=list[i]", "min", "list[i]", "list", "i", "sum+=list[i]", "sum", "list[i]", "list", "i", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b ;\n int max;\n int min;\n int i;\n long sum=0;\n int list[];\n list = new int[a];\n for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }\n min=list[0];\n max=list[0];\n for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n }", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int a = sc.nextInt();\n int b ;\n int max;\n int min;\n int i;\n long sum=0;\n int list[];\n list = new int[a];\n for(i=0;i<a;i++){\n b = sc.nextInt();\n list[i]=b;\n }\n min=list[0];\n max=list[0];\n for(i=0;i<a;i++){\n \n if(list[i]>max){\n max=list[i];\n }\n if(list[i]<min){\n min=list[i];\n }\n sum+=list[i];\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n }", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); int b ; int max; int min; int i; long sum=0; int list[]; list = new int[a]; for(i=0;i<a;i++){ b = sc.nextInt(); list[i]=b; } min=list[0]; max=list[0]; for(i=0;i<a;i++){ if(list[i]>max){ max=list[i]; } if(list[i]<min){ min=list[i]; } sum+=list[i]; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 0, 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, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 17, 17, 18, 13, 2, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 83, 8 ], [ 83, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 41, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 11, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 68, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 67, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 66, 78 ], [ 68, 79 ], [ 9, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint nn = scan.nextInt();\n\n\t\tint[] aiai;\n\t\taiai = new int[nn];\n\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}\n\n\t\tArrays.sort(aiai);\n\t\tSystem.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total);\n\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint nn = scan.nextInt();\n\n\t\tint[] aiai;\n\t\taiai = new int[nn];\n\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}\n\n\t\tArrays.sort(aiai);\n\t\tSystem.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total);\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint nn = scan.nextInt();\n\n\t\tint[] aiai;\n\t\taiai = new int[nn];\n\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}\n\n\t\tArrays.sort(aiai);\n\t\tSystem.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total);\n\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint nn = scan.nextInt();\n\n\t\tint[] aiai;\n\t\taiai = new int[nn];\n\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}\n\n\t\tArrays.sort(aiai);\n\t\tSystem.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total);\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int nn = scan.nextInt();", "nn", "scan.nextInt()", "scan.nextInt", "scan", "int[] aiai;", "aiai", "aiai = new int[nn]", "aiai", "new int[nn]", "nn", "long total = 0;", "total", "0", "for (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < nn", "i", "nn", "i++", "i++", "i", "{\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}", "{\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}", "aiai[i] = scan.nextInt()", "aiai[i]", "aiai", "i", "scan.nextInt()", "scan.nextInt", "scan", "total = total + aiai[i]", "total", "total + aiai[i]", "total", "aiai[i]", "aiai", "i", "Arrays.sort(aiai)", "Arrays.sort", "Arrays", "aiai", "System.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total)", "System.out.println", "System.out", "System", "System.out", "aiai[0] + \" \" + aiai[nn - 1] + \" \" + total", "\" \"", "aiai[nn - 1]", "aiai[0] + \" \" + aiai[nn - 1] + \" \" + total", "aiai[0]", "aiai", "0", "\" \"", "aiai[nn - 1]", "aiai", "nn - 1", "nn", "1", "\" \"", "total", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint nn = scan.nextInt();\n\n\t\tint[] aiai;\n\t\taiai = new int[nn];\n\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}\n\n\t\tArrays.sort(aiai);\n\t\tSystem.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint nn = scan.nextInt();\n\n\t\tint[] aiai;\n\t\taiai = new int[nn];\n\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < nn; i++) {\n\t\t\taiai[i] = scan.nextInt();\n\t\t\ttotal = total + aiai[i];\n\t\t}\n\n\t\tArrays.sort(aiai);\n\t\tSystem.out.println(aiai[0] + \" \" + aiai[nn - 1] + \" \" + total);\n\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int nn = scan.nextInt(); int[] aiai; aiai = new int[nn]; long total = 0; for (int i = 0; i < nn; i++) { aiai[i] = scan.nextInt(); total = total + aiai[i]; } Arrays.sort(aiai); System.out.println(aiai[0] + " " + aiai[nn - 1] + " " + total); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 28, 13, 13, 30, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 17, 17, 18, 13, 2, 18, 13, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 99, 5 ], [ 99, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 37, 47 ], [ 47, 48 ], [ 48, 49 ], [ 37, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 66, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 82, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 80, 94 ], [ 82, 95 ], [ 6, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n=0;\n\t\tString s = sc.nextLine();\n\t\ts = sc.nextLine();\n\t\tString[] st = s.split(\" \");\n\t\tlong[] a = new long[st.length];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(long i:a){\n\t\t\tn+=i;\n\t\t}\n\t\tSystem.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n=0;\n\t\tString s = sc.nextLine();\n\t\ts = sc.nextLine();\n\t\tString[] st = s.split(\" \");\n\t\tlong[] a = new long[st.length];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(long i:a){\n\t\t\tn+=i;\n\t\t}\n\t\tSystem.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n=0;\n\t\tString s = sc.nextLine();\n\t\ts = sc.nextLine();\n\t\tString[] st = s.split(\" \");\n\t\tlong[] a = new long[st.length];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(long i:a){\n\t\t\tn+=i;\n\t\t}\n\t\tSystem.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n=0;\n\t\tString s = sc.nextLine();\n\t\ts = sc.nextLine();\n\t\tString[] st = s.split(\" \");\n\t\tlong[] a = new long[st.length];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(long i:a){\n\t\t\tn+=i;\n\t\t}\n\t\tSystem.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long n=0;", "n", "0", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "s = sc.nextLine()", "s", "sc.nextLine()", "sc.nextLine", "sc", "String[] st = s.split(\" \");", "st", "s.split(\" \")", "s.split", "s", "\" \"", "long[] a = new long[st.length];", "a", "new long[st.length]", "st.length", "st", "st.length", "for(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}", "{\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}", "a[i] = Long.parseLong(st[i])", "a[i]", "a", "i", "Long.parseLong(st[i])", "Long.parseLong", "Long", "st[i]", "st", "i", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "for(long i:a){\n\t\t\tn+=i;\n\t\t}", "long i", "a", "{\n\t\t\tn+=i;\n\t\t}", "{\n\t\t\tn+=i;\n\t\t}", "n+=i", "n", "i", "System.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n)", "System.out.println", "System.out", "System", "System.out", "a[0]+\" \"+a[a.length-1]+\" \"+n", "\" \"", "a[a.length-1]", "a[0]+\" \"+a[a.length-1]+\" \"+n", "a[0]", "a", "0", "\" \"", "a[a.length-1]", "a", "a.length-1", "a.length", "a", "a.length", "1", "\" \"", "n", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n=0;\n\t\tString s = sc.nextLine();\n\t\ts = sc.nextLine();\n\t\tString[] st = s.split(\" \");\n\t\tlong[] a = new long[st.length];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(long i:a){\n\t\t\tn+=i;\n\t\t}\n\t\tSystem.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong n=0;\n\t\tString s = sc.nextLine();\n\t\ts = sc.nextLine();\n\t\tString[] st = s.split(\" \");\n\t\tlong[] a = new long[st.length];\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\ta[i] = Long.parseLong(st[i]);\n\t\t}\n\t\tArrays.sort(a);\n\t\tfor(long i:a){\n\t\t\tn+=i;\n\t\t}\n\t\tSystem.out.println(a[0]+\" \"+a[a.length-1]+\" \"+n);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System.in); long n=0; String s = sc.nextLine(); s = sc.nextLine(); String[] st = s.split(" "); long[] a = new long[st.length]; for(int i=0;i<a.length;i++){ a[i] = Long.parseLong(st[i]); } Arrays.sort(a); for(long i:a){ n+=i; } System.out.println(a[0]+" "+a[a.length-1]+" "+n); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 17, 28, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 17, 17, 4, 18, 13, 2, 4, 18, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 79, 5 ], [ 79, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 60, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 59, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 69, 73 ], [ 58, 74 ], [ 60, 75 ], [ 6, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.*;\n\n/**\n * Created by khrom on 2017/06/15.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<Integer> numList = new ArrayList<>();\n for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());\n Collections.sort(numList);\n long sum = 0;\n for (Integer integer : numList)\n sum += integer;\n System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<Integer> numList = new ArrayList<>();\n for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());\n Collections.sort(numList);\n long sum = 0;\n for (Integer integer : numList)\n sum += integer;\n System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<Integer> numList = new ArrayList<>();\n for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());\n Collections.sort(numList);\n long sum = 0;\n for (Integer integer : numList)\n sum += integer;\n System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum);\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<Integer> numList = new ArrayList<>();\n for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());\n Collections.sort(numList);\n long sum = 0;\n for (Integer integer : numList)\n sum += integer;\n System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "List<Integer> numList = new ArrayList<>();", "numList", "new ArrayList<>()", "for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "numList.add(scanner.nextInt());", "numList.add(scanner.nextInt())", "numList.add", "numList", "scanner.nextInt()", "scanner.nextInt", "scanner", "Collections.sort(numList)", "Collections.sort", "Collections", "numList", "long sum = 0;", "sum", "0", "for (Integer integer : numList)\n sum += integer;", "Integer integer", "numList", "sum += integer;", "sum += integer", "sum", "integer", "System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum", "\" \"", "numList.get(numList.size() - 1)", "numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum", "numList.get(0)", "numList.get", "numList", "0", "\" \"", "numList.get(numList.size() - 1)", "numList.get", "numList", "numList.size() - 1", "numList.size()", "numList.size", "numList", "1", "\" \"", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<Integer> numList = new ArrayList<>();\n for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());\n Collections.sort(numList);\n long sum = 0;\n for (Integer integer : numList)\n sum += integer;\n System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<Integer> numList = new ArrayList<>();\n for (int i = 0; i < n; i++)\n numList.add(scanner.nextInt());\n Collections.sort(numList);\n long sum = 0;\n for (Integer integer : numList)\n sum += integer;\n System.out.println(numList.get(0) + \" \" + numList.get(numList.size() - 1) + \" \" + sum);\n }\n}", "Main" ]
import java.util.*; /** * Created by khrom on 2017/06/15. */ public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); List<Integer> numList = new ArrayList<>(); for (int i = 0; i < n; i++) numList.add(scanner.nextInt()); Collections.sort(numList); long sum = 0; for (Integer integer : numList) sum += integer; System.out.println(numList.get(0) + " " + numList.get(numList.size() - 1) + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 104, 5 ], [ 104, 6 ], [ 6, 7 ], [ 104, 8 ], [ 8, 9 ], [ 104, 10 ], [ 10, 11 ], [ 104, 12 ], [ 12, 13 ], [ 104, 14 ], [ 14, 15 ], [ 104, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 18, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 32, 37 ], [ 18, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 18, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 18, 54 ], [ 54, 55 ], [ 54, 56 ], [ 18, 57 ], [ 57, 58 ], [ 57, 59 ], [ 57, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 61, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 61, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 61, 84 ], [ 84, 85 ], [ 84, 86 ], [ 18, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 95, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 99 ], [ 95, 100 ], [ 16, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.io.*;\n\npublic class Main {\n\n private static int n, min, max, number;\n private static long sum;\n\n public static void main(String[] args) throws NumberFormatException, IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n n = Integer.parseInt(br.readLine());\n String[] input_numbers = br.readLine().split(\" \");\n min = Integer.parseInt(input_numbers[0]);\n max = Integer.parseInt(input_numbers[0]);\n sum = 0;\n\n for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n private static int n, min, max, number;\n private static long sum;\n\n public static void main(String[] args) throws NumberFormatException, IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n n = Integer.parseInt(br.readLine());\n String[] input_numbers = br.readLine().split(\" \");\n min = Integer.parseInt(input_numbers[0]);\n max = Integer.parseInt(input_numbers[0]);\n sum = 0;\n\n for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "Main", "private static int n", "n", "min", "min", "max", "max", "number;", "number", "private static long sum;", "sum", "public static void main(String[] args) throws NumberFormatException, IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n n = Integer.parseInt(br.readLine());\n String[] input_numbers = br.readLine().split(\" \");\n min = Integer.parseInt(input_numbers[0]);\n max = Integer.parseInt(input_numbers[0]);\n sum = 0;\n\n for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n n = Integer.parseInt(br.readLine());\n String[] input_numbers = br.readLine().split(\" \");\n min = Integer.parseInt(input_numbers[0]);\n max = Integer.parseInt(input_numbers[0]);\n sum = 0;\n\n for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "n = Integer.parseInt(br.readLine())", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] input_numbers = br.readLine().split(\" \");", "input_numbers", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "min = Integer.parseInt(input_numbers[0])", "min", "Integer.parseInt(input_numbers[0])", "Integer.parseInt", "Integer", "input_numbers[0]", "input_numbers", "0", "max = Integer.parseInt(input_numbers[0])", "max", "Integer.parseInt(input_numbers[0])", "Integer.parseInt", "Integer", "input_numbers[0]", "input_numbers", "0", "sum = 0", "sum", "0", "for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }", "String input_number", "input_numbers", "{\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }", "{\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }", "number = Integer.parseInt(input_number)", "number", "Integer.parseInt(input_number)", "Integer.parseInt", "Integer", "input_number", "if (min > number) {\n min = number;\n }", "min > number", "min", "number", "{\n min = number;\n }", "min = number", "min", "number", "if (max < number) {\n max = number;\n }", "max < number", "max", "number", "{\n max = number;\n }", "max = number", "max", "number", "sum += number", "sum", "number", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n private static int n, min, max, number;\n private static long sum;\n\n public static void main(String[] args) throws NumberFormatException, IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n n = Integer.parseInt(br.readLine());\n String[] input_numbers = br.readLine().split(\" \");\n min = Integer.parseInt(input_numbers[0]);\n max = Integer.parseInt(input_numbers[0]);\n sum = 0;\n\n for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "public class Main {\n\n private static int n, min, max, number;\n private static long sum;\n\n public static void main(String[] args) throws NumberFormatException, IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n n = Integer.parseInt(br.readLine());\n String[] input_numbers = br.readLine().split(\" \");\n min = Integer.parseInt(input_numbers[0]);\n max = Integer.parseInt(input_numbers[0]);\n sum = 0;\n\n for (String input_number : input_numbers) {\n number = Integer.parseInt(input_number);\n if (min > number) {\n min = number;\n }\n if (max < number) {\n max = number;\n }\n sum += number;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "Main" ]
import java.io.*; public class Main { private static int n, min, max, number; private static long sum; public static void main(String[] args) throws NumberFormatException, IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); n = Integer.parseInt(br.readLine()); String[] input_numbers = br.readLine().split(" "); min = Integer.parseInt(input_numbers[0]); max = Integer.parseInt(input_numbers[0]); sum = 0; for (String input_number : input_numbers) { number = Integer.parseInt(input_number); if (min > number) { min = number; } if (max < number) { max = number; } sum += number; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 40, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 40, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 40, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 83, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 83, 88 ], [ 6, 89 ], [ 89, 90 ] ]
[ "import java.util.*;\n\nclass Main{\n\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint cnt = sc.nextInt(); //入力データ数用\n\t\tint fst;\t\t\t\t//比較初期値\n\t\tint min = 0;\t\t\t//最大値用変数とりあえず0で初期化\n\t\tint max = 0;\t\t\t//最小値用変数とりあえず0で初期化\n\t\tlong sum = 0; \t\t//合計用変数\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\t\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint cnt = sc.nextInt(); //入力データ数用\n\t\tint fst;\t\t\t\t//比較初期値\n\t\tint min = 0;\t\t\t//最大値用変数とりあえず0で初期化\n\t\tint max = 0;\t\t\t//最小値用変数とりあえず0で初期化\n\t\tlong sum = 0; \t\t//合計用変数\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint cnt = sc.nextInt(); //入力データ数用\n\t\tint fst;\t\t\t\t//比較初期値\n\t\tint min = 0;\t\t\t//最大値用変数とりあえず0で初期化\n\t\tint max = 0;\t\t\t//最小値用変数とりあえず0で初期化\n\t\tlong sum = 0; \t\t//合計用変数\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint cnt = sc.nextInt(); //入力データ数用\n\t\tint fst;\t\t\t\t//比較初期値\n\t\tint min = 0;\t\t\t//最大値用変数とりあえず0で初期化\n\t\tint max = 0;\t\t\t//最小値用変数とりあえず0で初期化\n\t\tlong sum = 0; \t\t//合計用変数\n\t\tfor(int i = 0; i < cnt; i++){\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int cnt = sc.nextInt();", "cnt", "sc.nextInt()", "sc.nextInt", "sc", "int fst;", "fst", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for(int i = 0; i < cnt; i++){\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < cnt", "i", "cnt", "i++", "i++", "i", "{\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}", "{\n\t\t\tfst = sc.nextInt();\n\t\t\tif(i == 0){min = max = fst;}\n\t\t\tif(min > fst){ min = fst;}\n\t\t\tif(max < fst){ max = fst;}\n\t\t\tsum += fst;\n\t\t}", "fst = sc.nextInt()", "fst", "sc.nextInt()", "sc.nextInt", "sc", "if(i == 0){min = max = fst;}", "i == 0", "i", "0", "{min = max = fst;}", "min = max = fst", "min", "max = fst", "max", "fst", "if(min > fst){ min = fst;}", "min > fst", "min", "fst", "{ min = fst;}", "min = fst", "min", "fst", "if(max < fst){ max = fst;}", "max < fst", "max", "fst", "{ max = fst;}", "max = fst", "max", "fst", "sum += fst", "sum", "fst", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int cnt = sc.nextInt(); //入力データ数用 int fst; //比較初期値 int min = 0; //最大値用変数とりあえず0で初期化 int max = 0; //最小値用変数とりあえず0で初期化 long sum = 0; //合計用変数 for(int i = 0; i < cnt; i++){ fst = sc.nextInt(); if(i == 0){min = max = fst;} if(min > fst){ min = fst;} if(max < fst){ max = fst;} sum += fst; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 98, 5 ], [ 98, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 43, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 43, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 86, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 86, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 6, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tlong sum = 0, max = -1000000, min = 1000000;\n \tint n = scan.nextInt();\n \tlong a[] = new long[n]; \n \tfor(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}\t\t\n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tlong sum = 0, max = -1000000, min = 1000000;\n \tint n = scan.nextInt();\n \tlong a[] = new long[n]; \n \tfor(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}\t\t\n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }\n\n}", "Main", "public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tlong sum = 0, max = -1000000, min = 1000000;\n \tint n = scan.nextInt();\n \tlong a[] = new long[n]; \n \tfor(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}\t\t\n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }", "main", "{\n \tScanner scan = new Scanner(System.in);\n \tlong sum = 0, max = -1000000, min = 1000000;\n \tint n = scan.nextInt();\n \tlong a[] = new long[n]; \n \tfor(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}\t\t\n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long sum = 0", "sum", "0", "max = -1000000", "max", "-1000000", "1000000", "min = 1000000;", "min", "1000000", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "long a[] = new long[n];", "a", "new long[n]", "n", "for(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}", "int cnt = 0;", "int cnt = 0;", "cnt", "0", "cnt < n", "cnt", "n", "cnt++", "cnt++", "cnt", "{\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}", "{\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}", "a[cnt] = scan.nextLong()", "a[cnt]", "a", "cnt", "scan.nextLong()", "scan.nextLong", "scan", "if(a[cnt] < min)\n \t\t\tmin = a[cnt];", "a[cnt] < min", "a[cnt]", "a", "cnt", "min", "min = a[cnt]", "min", "a[cnt]", "a", "cnt", "if(a[cnt] > max)\n \t\t\tmax = a[cnt];", "a[cnt] > max", "a[cnt]", "a", "cnt", "max", "max = a[cnt]", "max", "a[cnt]", "a", "cnt", "sum += a[cnt]", "sum", "a[cnt]", "a", "cnt", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tlong sum = 0, max = -1000000, min = 1000000;\n \tint n = scan.nextInt();\n \tlong a[] = new long[n]; \n \tfor(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}\t\t\n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }\n\n}", "public class Main {\n\n\n public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \tlong sum = 0, max = -1000000, min = 1000000;\n \tint n = scan.nextInt();\n \tlong a[] = new long[n]; \n \tfor(int cnt = 0; cnt < n; cnt++){\n \t\ta[cnt] = scan.nextLong();\n \t\tif(a[cnt] < min)\n \t\t\tmin = a[cnt];\n \t\tif(a[cnt] > max)\n \t\t\tmax = a[cnt];\n \t\tsum += a[cnt];\n \t}\t\t\n System.out.println(min + \" \" + max + \" \" + sum);\n scan.close();\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); long sum = 0, max = -1000000, min = 1000000; int n = scan.nextInt(); long a[] = new long[n]; for(int cnt = 0; cnt < n; cnt++){ a[cnt] = scan.nextLong(); if(a[cnt] < min) min = a[cnt]; if(a[cnt] > max) max = a[cnt]; sum += a[cnt]; } System.out.println(min + " " + max + " " + sum); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 14, 2, 2, 40, 17, 18, 13, 13, 2, 18, 13, 13, 17, 30, 14, 2, 13, 18, 13, 13, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 129, 5 ], [ 129, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 40, 50 ], [ 50, 51 ], [ 51, 52 ], [ 40, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 63, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 62, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 75, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 87, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 75, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 8, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 111, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 109, 115 ], [ 111, 116 ], [ 129, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 117, 126 ], [ 126, 127 ], [ 0, 128 ], [ 128, 129 ], [ 128, 130 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint[] array = new int[size];\n\t\tint min=1000000, max=-1000000;\n\t\tlong sum=0;\n\t\t\n\t\tif(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint[] array = new int[size];\n\t\tint min=1000000, max=-1000000;\n\t\tlong sum=0;\n\t\t\n\t\tif(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "Main", "private void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint[] array = new int[size];\n\t\tint min=1000000, max=-1000000;\n\t\tlong sum=0;\n\t\t\n\t\tif(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "calc", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint[] array = new int[size];\n\t\tint min=1000000, max=-1000000;\n\t\tlong sum=0;\n\t\t\n\t\tif(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int size = scanner.nextInt();", "size", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[] array = new int[size];", "array", "new int[size]", "size", "int min=1000000", "min", "1000000", "max=-1000000;", "max", "-1000000", "1000000", "long sum=0;", "sum", "0", "if(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}", "0<=size && size<=10000", "0<=size", "0", "size", "size<=10000", "size", "10000", "{\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}", "for(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}", "array[i] = scanner.nextInt()", "array[i]", "array", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}", "-1000000<=array[i] && array[i]<=1000000", "-1000000<=array[i]", "-1000000", "1000000", "array[i]", "array", "i", "array[i]<=1000000", "array[i]", "array", "i", "1000000", "{\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}", "if(min>array[i])min=array[i];", "min>array[i]", "min", "array[i]", "array", "i", "min=array[i]", "min", "array[i]", "array", "i", "if(max<array[i])max=array[i];", "max<array[i]", "max", "array[i]", "array", "i", "max=array[i]", "max", "array[i]", "array", "i", "sum +=array[i]", "sum", "array[i]", "array", "i", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "public static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}", "main", "{\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}", "Main run =new Main();", "run", "new Main()", "run.calc()", "run.calc", "run", "String[] args", "args", "public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint[] array = new int[size];\n\t\tint min=1000000, max=-1000000;\n\t\tlong sum=0;\n\t\t\n\t\tif(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "public class Main {\n\tprivate void calc(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint size = scanner.nextInt();\n\t\tint[] array = new int[size];\n\t\tint min=1000000, max=-1000000;\n\t\tlong sum=0;\n\t\t\n\t\tif(0<=size && size<=10000){\n\t\t\tfor(int i=0; i<array.length; i++){\n\t\t\t\tarray[i] = scanner.nextInt();\n\t\t\t\tif(-1000000<=array[i] && array[i]<=1000000){\n\t\t\t\t\tif(min>array[i])min=array[i];\n\t\t\t\t\tif(max<array[i])max=array[i];\n\t\t\t\t\tsum +=array[i];\t\n\t\t\t\t}\n\t\t\t}\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.calc();\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private void calc(){ Scanner scanner = new Scanner(System.in); int size = scanner.nextInt(); int[] array = new int[size]; int min=1000000, max=-1000000; long sum=0; if(0<=size && size<=10000){ for(int i=0; i<array.length; i++){ array[i] = scanner.nextInt(); if(-1000000<=array[i] && array[i]<=1000000){ if(min>array[i])min=array[i]; if(max<array[i])max=array[i]; sum +=array[i]; } } } System.out.println(min+" "+max+" "+sum); } public static void main(String[] args) { Main run =new Main(); run.calc(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 10, 6, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 32, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 46, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 69, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 83, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 95, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 110, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 108, 114 ], [ 110, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 6, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "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, i;\n long min, max;\n long sum = 0;\n n = sc.nextInt();\n long[] a = new long[n];\n\n for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }\n\n min = a[0];\n max = a[0];\n\n for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n sc.close();\n }\n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n, i;\n long min, max;\n long sum = 0;\n n = sc.nextInt();\n long[] a = new long[n];\n\n for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }\n\n min = a[0];\n max = a[0];\n\n for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n, i;\n long min, max;\n long sum = 0;\n n = sc.nextInt();\n long[] a = new long[n];\n\n for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }\n\n min = a[0];\n max = a[0];\n\n for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n, i;\n long min, max;\n long sum = 0;\n n = sc.nextInt();\n long[] a = new long[n];\n\n for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }\n\n min = a[0];\n max = a[0];\n\n for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n", "n", "i;", "i", "long min", "min", "max;", "max", "long sum = 0;", "sum", "0", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "long[] a = new long[n];", "a", "new long[n]", "n", "for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }", "i = 0;", "i = 0", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n a[i] = sc.nextLong();\n sum += a[i];\n }", "{\n a[i] = sc.nextLong();\n sum += a[i];\n }", "a[i] = sc.nextLong()", "a[i]", "a", "i", "sc.nextLong()", "sc.nextLong", "sc", "sum += a[i]", "sum", "a[i]", "a", "i", "min = a[0]", "min", "a[0]", "a", "0", "max = a[0]", "max", "a[0]", "a", "0", "for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }", "i = 0;", "i = 0", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }", "{\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }", "min = Math.min(min, a[i])", "min", "Math.min(min, a[i])", "Math.min", "Math", "min", "a[i]", "a", "i", "max = Math.max(max, a[i])", "max", "Math.max(max, a[i])", "Math.max", "Math", "max", "a[i]", "a", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n, i;\n long min, max;\n long sum = 0;\n n = sc.nextInt();\n long[] a = new long[n];\n\n for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }\n\n min = a[0];\n max = a[0];\n\n for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n, i;\n long min, max;\n long sum = 0;\n n = sc.nextInt();\n long[] a = new long[n];\n\n for(i = 0; i < a.length; i++){\n a[i] = sc.nextLong();\n sum += a[i];\n }\n\n min = a[0];\n max = a[0];\n\n for(i = 0; i < a.length; i++){\n min = Math.min(min, a[i]);\n max = Math.max(max, a[i]);\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n, i; long min, max; long sum = 0; n = sc.nextInt(); long[] a = new long[n]; for(i = 0; i < a.length; i++){ a[i] = sc.nextLong(); sum += a[i]; } min = a[0]; max = a[0]; for(i = 0; i < a.length; i++){ min = Math.min(min, a[i]); max = Math.max(max, a[i]); } System.out.println(min + " " + max + " " + sum); sc.close(); } }
[ 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, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 13, 13, 17, 4, 13, 13, 17, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 13, 4, 18, 13, 13, 30, 0, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 40, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 13, 4, 18, 13, 13, 30, 0, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 4, 18, 13, 13, 29, 13, 23, 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 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 23, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 37, 42 ], [ 23, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 43, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 23, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 76, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 81, 82 ], [ 81, 83 ], [ 74, 84 ], [ 76, 85 ], [ 85, 86 ], [ 85, 87 ], [ 21, 88 ], [ 88, 89 ], [ 19, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 96, 106 ], [ 106, 107 ], [ 107, 108 ], [ 96, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 92, 125 ], [ 125, 126 ], [ 90, 127 ], [ 127, 128 ], [ 19, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 131, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 136, 146 ], [ 146, 147 ], [ 147, 148 ], [ 136, 149 ], [ 150, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 151, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 131, 165 ], [ 165, 166 ], [ 129, 167 ], [ 167, 168 ], [ 19, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 175, 185 ], [ 185, 186 ], [ 186, 187 ], [ 175, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 195, 196 ], [ 194, 197 ], [ 171, 198 ], [ 198, 199 ], [ 169, 200 ], [ 200, 201 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString n = br.readLine();\n\t\tList<Integer>list = new ArrayList<Integer>();\n\t\tString[]fList = br.readLine().split(\" \");\n\t\tfor(int i = 0; i < Integer.parseInt(n); i++){\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}\n\t\tSystem.out.println(searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list));\n\t}\n\n\tstatic int searchMin(List<Integer> list) {\n\t\tint min = 1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}\n\n\tstatic int searchMax(List<Integer> list) {\n\t\tint max = -1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}\n\n\tstatic long sum(List<Integer> list) {\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\treturn sum;\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString n = br.readLine();\n\t\tList<Integer>list = new ArrayList<Integer>();\n\t\tString[]fList = br.readLine().split(\" \");\n\t\tfor(int i = 0; i < Integer.parseInt(n); i++){\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}\n\t\tSystem.out.println(searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list));\n\t}\n\n\tstatic int searchMin(List<Integer> list) {\n\t\tint min = 1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}\n\n\tstatic int searchMax(List<Integer> list) {\n\t\tint max = -1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}\n\n\tstatic long sum(List<Integer> list) {\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\treturn sum;\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString n = br.readLine();\n\t\tList<Integer>list = new ArrayList<Integer>();\n\t\tString[]fList = br.readLine().split(\" \");\n\t\tfor(int i = 0; i < Integer.parseInt(n); i++){\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}\n\t\tSystem.out.println(searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list));\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString n = br.readLine();\n\t\tList<Integer>list = new ArrayList<Integer>();\n\t\tString[]fList = br.readLine().split(\" \");\n\t\tfor(int i = 0; i < Integer.parseInt(n); i++){\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}\n\t\tSystem.out.println(searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list));\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String n = br.readLine();", "n", "br.readLine()", "br.readLine", "br", "List<Integer>list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "String[]fList = br.readLine().split(\" \");", "fList", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int i = 0; i < Integer.parseInt(n); i++){\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < Integer.parseInt(n)", "i", "Integer.parseInt(n)", "Integer.parseInt", "Integer", "n", "i++", "i++", "i", "{\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}", "{\n\t\t\tlist.add(Integer.parseInt(fList[i]));\n\t\t}", "list.add(Integer.parseInt(fList[i]))", "list.add", "list", "Integer.parseInt(fList[i])", "Integer.parseInt", "Integer", "fList[i]", "fList", "i", "System.out.println(searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list))", "System.out.println", "System.out", "System", "System.out", "searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list)", "\" \"", "searchMax(list)", "searchMin(list) + \" \" + searchMax(list) + \" \" + sum(list)", "searchMin(list)", "searchMin", "list", "\" \"", "searchMax(list)", "searchMax", "list", "\" \"", "sum(list)", "sum", "list", "String[] args", "args", "static int searchMin(List<Integer> list) {\n\t\tint min = 1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}", "searchMin", "{\n\t\tint min = 1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn min;\n\t}", "int min = 1000000;", "min", "1000000", "for (int i = 0; i < list.size(); i++) {\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}\n\t\t}", "if (min > list.get(i)) {\n\t\t\t\tmin = list.get(i);\n\t\t\t}", "min > list.get(i)", "min", "list.get(i)", "list.get", "list", "i", "{\n\t\t\t\tmin = list.get(i);\n\t\t\t}", "min = list.get(i)", "min", "list.get(i)", "list.get", "list", "i", "return min;", "min", "List<Integer> list", "list", "static int searchMax(List<Integer> list) {\n\t\tint max = -1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}", "searchMax", "{\n\t\tint max = -1000000;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}\n\t\treturn max;\n\t}", "int max = -1000000;", "max", "-1000000", "1000000", "for (int i = 0; i < list.size(); i++) {\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}\n\t\t}", "if (max < list.get(i)) {\n\t\t\t\tmax = list.get(i);\n\t\t\t}", "max < list.get(i)", "max", "list.get(i)", "list.get", "list", "i", "{\n\t\t\t\tmax = list.get(i);\n\t\t\t}", "max = list.get(i)", "max", "list.get(i)", "list.get", "list", "i", "return max;", "max", "List<Integer> list", "list", "static long sum(List<Integer> list) {\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\treturn sum;\n\t}", "sum", "{\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\treturn sum;\n\t}", "long sum = 0;", "sum", "0", "for (int i = 0; i < list.size(); i++) {\n\t\t\tsum = sum + list.get(i);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tsum = sum + list.get(i);\n\t\t}", "{\n\t\t\tsum = sum + list.get(i);\n\t\t}", "sum = sum + list.get(i)", "sum", "sum + list.get(i)", "sum", "list.get(i)", "list.get", "list", "i", "return sum;", "sum", "List<Integer> list", "list" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; import java.util.Scanner; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String n = br.readLine(); List<Integer>list = new ArrayList<Integer>(); String[]fList = br.readLine().split(" "); for(int i = 0; i < Integer.parseInt(n); i++){ list.add(Integer.parseInt(fList[i])); } System.out.println(searchMin(list) + " " + searchMax(list) + " " + sum(list)); } static int searchMin(List<Integer> list) { int min = 1000000; for (int i = 0; i < list.size(); i++) { if (min > list.get(i)) { min = list.get(i); } } return min; } static int searchMax(List<Integer> list) { int max = -1000000; for (int i = 0; i < list.size(); i++) { if (max < list.get(i)) { max = list.get(i); } } return max; } static long sum(List<Integer> list) { long sum = 0; for (int i = 0; i < list.size(); i++) { sum = sum + list.get(i); } return sum; } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 85, 8 ], [ 85, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 45, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 60, 64 ], [ 45, 65 ], [ 65, 66 ], [ 65, 67 ], [ 11, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 76, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 76, 81 ], [ 9, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Arrays;\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\tfinal long n = sc.nextLong();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal long n = sc.nextLong();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal long n = sc.nextLong();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal long n = sc.nextLong();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "final long n = sc.nextLong();", "n", "sc.nextLong()", "sc.nextLong", "sc", "long min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "long max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}", "{\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}", "final int input = sc.nextInt();", "input", "sc.nextInt()", "sc.nextInt", "sc", "min = Math.min(min, input)", "min", "Math.min(min, input)", "Math.min", "Math", "min", "input", "max = Math.max(max, input)", "max", "Math.max(max, input)", "Math.max", "Math", "max", "input", "sum += input", "sum", "input", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String args[]", "args", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal long n = sc.nextLong();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal long n = sc.nextLong();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfinal int input = sc.nextInt();\n\t\t\t\n\t\t\tmin = Math.min(min, input);\n\t\t\tmax = Math.max(max, input);\n\t\t\tsum += input;\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); final long n = sc.nextLong(); long min = Integer.MAX_VALUE; long max = Integer.MIN_VALUE; long sum = 0; for(int i = 0; i < n; i++){ final int input = sc.nextInt(); min = Math.min(min, input); max = Math.max(max, input); sum += input; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 4, 18, 13, 13, 3, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 85, 11 ], [ 85, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 28, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 38, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 14, 57 ], [ 57, 58 ], [ 57, 59 ], [ 14, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 14, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 76, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 76, 81 ], [ 12, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\n/**\n * Created 2017/06/01.\n */\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }\n\n int max_a = Collections.max(ary);\n int min_a = Collections.min(ary);\n long sum_a = 0;\n for (int sum : ary) {\n sum_a += sum;\n }\n System.out.println(min_a + \" \" + max_a + \" \" + sum_a);\n }\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }\n\n int max_a = Collections.max(ary);\n int min_a = Collections.min(ary);\n long sum_a = 0;\n for (int sum : ary) {\n sum_a += sum;\n }\n System.out.println(min_a + \" \" + max_a + \" \" + sum_a);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }\n\n int max_a = Collections.max(ary);\n int min_a = Collections.min(ary);\n long sum_a = 0;\n for (int sum : ary) {\n sum_a += sum;\n }\n System.out.println(min_a + \" \" + max_a + \" \" + sum_a);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }\n\n int max_a = Collections.max(ary);\n int min_a = Collections.min(ary);\n long sum_a = 0;\n for (int sum : ary) {\n sum_a += sum;\n }\n System.out.println(min_a + \" \" + max_a + \" \" + sum_a);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<Integer> ary = new ArrayList<>();", "ary", "new ArrayList<>()", "while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }", "true", "{\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "ary.add(a)", "ary.add", "ary", "a", "if (ary.size() == n) break;", "ary.size() == n", "ary.size()", "ary.size", "ary", "n", "break;", "int max_a = Collections.max(ary);", "max_a", "Collections.max(ary)", "Collections.max", "Collections", "ary", "int min_a = Collections.min(ary);", "min_a", "Collections.min(ary)", "Collections.min", "Collections", "ary", "long sum_a = 0;", "sum_a", "0", "for (int sum : ary) {\n sum_a += sum;\n }", "int sum", "ary", "{\n sum_a += sum;\n }", "{\n sum_a += sum;\n }", "sum_a += sum", "sum_a", "sum", "System.out.println(min_a + \" \" + max_a + \" \" + sum_a)", "System.out.println", "System.out", "System", "System.out", "min_a + \" \" + max_a + \" \" + sum_a", "\" \"", "max_a", "min_a + \" \" + max_a + \" \" + sum_a", "min_a", "\" \"", "max_a", "\" \"", "sum_a", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }\n\n int max_a = Collections.max(ary);\n int min_a = Collections.min(ary);\n long sum_a = 0;\n for (int sum : ary) {\n sum_a += sum;\n }\n System.out.println(min_a + \" \" + max_a + \" \" + sum_a);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n ArrayList<Integer> ary = new ArrayList<>();\n\n while (true) {\n int a = sc.nextInt();\n ary.add(a);\n if (ary.size() == n) break;\n }\n\n int max_a = Collections.max(ary);\n int min_a = Collections.min(ary);\n long sum_a = 0;\n for (int sum : ary) {\n sum_a += sum;\n }\n System.out.println(min_a + \" \" + max_a + \" \" + sum_a);\n }\n}", "Main" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; /** * Created 2017/06/01. */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ArrayList<Integer> ary = new ArrayList<>(); while (true) { int a = sc.nextInt(); ary.add(a); if (ary.size() == n) break; } int max_a = Collections.max(ary); int min_a = Collections.min(ary); long sum_a = 0; for (int sum : ary) { sum_a += sum; } System.out.println(min_a + " " + max_a + " " + sum_a); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 4, 18, 13, 13, 9, 0, 13, 4, 18, 13, 17, 0, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 0, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 0, 13, 18, 13, 17, 0, 13, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 178, 8 ], [ 178, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 46, 53 ], [ 41, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 41, 60 ], [ 60, 61 ], [ 60, 62 ], [ 41, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 76, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 41, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 105, 112 ], [ 112, 113 ], [ 112, 114 ], [ 105, 115 ], [ 115, 116 ], [ 116, 117 ], [ 105, 118 ], [ 119, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 138, 140 ], [ 128, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 41, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 41, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 155, 157 ], [ 41, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 166, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 164, 170 ], [ 166, 171 ], [ 11, 172 ], [ 172, 173 ], [ 173, 174 ], [ 9, 175 ], [ 175, 176 ], [ 0, 177 ], [ 177, 178 ], [ 177, 179 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\npublic class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n=0;\n\t\tString[] arr;\n\t\tint[] array;\n\t\tint min=0;\n\t\tint max=0;\n\t\tlong sum=0;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}\t\t\n\t\tbr.close();\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n=0;\n\t\tString[] arr;\n\t\tint[] array;\n\t\tint min=0;\n\t\tint max=0;\n\t\tlong sum=0;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}\t\t\n\t\tbr.close();\n\t}\n}", "Main", "public static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n=0;\n\t\tString[] arr;\n\t\tint[] array;\n\t\tint min=0;\n\t\tint max=0;\n\t\tlong sum=0;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}\t\t\n\t\tbr.close();\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n=0;\n\t\tString[] arr;\n\t\tint[] array;\n\t\tint min=0;\n\t\tint max=0;\n\t\tlong sum=0;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}\t\t\n\t\tbr.close();\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str;", "str", "int n=0;", "n", "0", "String[] arr;", "arr", "int[] array;", "array", "int min=0;", "min", "0", "int max=0;", "max", "0", "long sum=0;", "sum", "0", "while((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}", "(str=br.readLine())!=null", "(str=br.readLine())", "str", "br.readLine()", "br.readLine", "br", "null", "{\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}", "if(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}", "n == 0", "n", "0", "{\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}", "n=Integer.parseInt(str)", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "continue;", "arr=str.split(\" \")", "arr", "str.split(\" \")", "str.split", "str", "\" \"", "array = new int[n]", "array", "new int[n]", "n", "for(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}", "{\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}", "array[i]=Integer.parseInt(arr[i])", "array[i]", "array", "i", "Integer.parseInt(arr[i])", "Integer.parseInt", "Integer", "arr[i]", "arr", "i", "sum+=array[i]", "sum", "array[i]", "array", "i", "for(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}", "int j=i+1;", "int j=i+1;", "j", "i+1", "i", "1", "j<n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}", "if(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}", "array[i] <= array[j]", "array[i]", "array", "i", "array[j]", "array", "j", "{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}", "int temp = array[i];", "temp", "array[i]", "array", "i", "array[i]=array[j]", "array[i]", "array", "i", "array[j]", "array", "j", "array[j]=temp", "array[j]", "array", "j", "temp", "min=array[0]", "min", "array[0]", "array", "0", "max=array[n-1]", "max", "array[n-1]", "array", "n-1", "n", "1", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "br.close()", "br.close", "br", "String[]args", "args", "public class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n=0;\n\t\tString[] arr;\n\t\tint[] array;\n\t\tint min=0;\n\t\tint max=0;\n\t\tlong sum=0;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}\t\t\n\t\tbr.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[]args)throws Exception{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString str;\n\t\tint n=0;\n\t\tString[] arr;\n\t\tint[] array;\n\t\tint min=0;\n\t\tint max=0;\n\t\tlong sum=0;\n\t\twhile((str=br.readLine())!=null){\n\t\t\tif(n == 0){\n\t\t\t\tn=Integer.parseInt(str);\n\t\t\t\tcontinue;\n\t\t\t}\n\t\t\tarr=str.split(\" \");\n\t\t\tarray = new int[n];\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray[i]=Integer.parseInt(arr[i]);\n\t\t\t\tsum+=array[i];\n\t\t\t}\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tfor(int j=i+1;j<n;j++) {\n\t\t\t\t\tif(array[i] <= array[j]);\n\t\t\t\t\telse{\n\t\t\t\t\t\tint temp = array[i];\n\t\t\t\t\t\tarray[i]=array[j];\n\t\t\t\t\t\tarray[j]=temp;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tmin=array[0];\n\t\t\tmax=array[n-1];\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t\n\t\t}\t\t\n\t\tbr.close();\n\t}\n}", "Main" ]
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)); String str; int n=0; String[] arr; int[] array; int min=0; int max=0; long sum=0; while((str=br.readLine())!=null){ if(n == 0){ n=Integer.parseInt(str); continue; } arr=str.split(" "); array = new int[n]; for(int i=0;i<n;i++){ array[i]=Integer.parseInt(arr[i]); sum+=array[i]; } for(int i=0;i<n;i++){ for(int j=i+1;j<n;j++) { if(array[i] <= array[j]); else{ int temp = array[i]; array[i]=array[j]; array[j]=temp; } } } min=array[0]; max=array[n-1]; System.out.println(min+" "+max+" "+sum); } br.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 47, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 60, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 70, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 70, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 98, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 98, 103 ], [ 6, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tlong i=0;\n\t\tlong temp=0;\n\t\tlong minval=0;\n\t\tlong maxval=0;\n\t\tlong sumval=0;\n\n\t\t//long n = new Scanner(System.in).nextInt();\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = Integer.parseInt(scan.next());\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(minval+\" \"+maxval+\" \"+sumval);\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tlong i=0;\n\t\tlong temp=0;\n\t\tlong minval=0;\n\t\tlong maxval=0;\n\t\tlong sumval=0;\n\n\t\t//long n = new Scanner(System.in).nextInt();\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = Integer.parseInt(scan.next());\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(minval+\" \"+maxval+\" \"+sumval);\n\t\t\n\t}\n}", "Main", "public static void main(String args[]){\n\t\t\n\t\tlong i=0;\n\t\tlong temp=0;\n\t\tlong minval=0;\n\t\tlong maxval=0;\n\t\tlong sumval=0;\n\n\t\t//long n = new Scanner(System.in).nextInt();\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = Integer.parseInt(scan.next());\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(minval+\" \"+maxval+\" \"+sumval);\n\t\t\n\t}", "main", "{\n\t\t\n\t\tlong i=0;\n\t\tlong temp=0;\n\t\tlong minval=0;\n\t\tlong maxval=0;\n\t\tlong sumval=0;\n\n\t\t//long n = new Scanner(System.in).nextInt();\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = Integer.parseInt(scan.next());\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(minval+\" \"+maxval+\" \"+sumval);\n\t\t\n\t}", "long i=0;", "i", "0", "long temp=0;", "temp", "0", "long minval=0;", "minval", "0", "long maxval=0;", "maxval", "0", "long sumval=0;", "sumval", "0", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long n = Integer.parseInt(scan.next());", "n", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "for(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}", "{\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}", "temp=Integer.parseInt(scan.next())", "temp", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "if(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}", "i==0", "i", "0", "{\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}", "minval=temp", "minval", "temp", "maxval=temp", "maxval", "temp", "sumval=temp", "sumval", "temp", "{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}", "if(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}", "temp<minval", "temp", "minval", "{\n\t\t\t\t\tminval=temp;\n\t\t\t\t}", "minval=temp", "minval", "temp", "if(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}", "maxval<temp", "maxval", "temp", "{\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}", "maxval=temp", "maxval", "temp", "sumval+=temp", "sumval", "temp", "System.out.println(minval+\" \"+maxval+\" \"+sumval)", "System.out.println", "System.out", "System", "System.out", "minval+\" \"+maxval+\" \"+sumval", "\" \"", "maxval", "minval+\" \"+maxval+\" \"+sumval", "minval", "\" \"", "maxval", "\" \"", "sumval", "String args[]", "args", "public class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tlong i=0;\n\t\tlong temp=0;\n\t\tlong minval=0;\n\t\tlong maxval=0;\n\t\tlong sumval=0;\n\n\t\t//long n = new Scanner(System.in).nextInt();\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = Integer.parseInt(scan.next());\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(minval+\" \"+maxval+\" \"+sumval);\n\t\t\n\t}\n}", "public class Main{\n\tpublic static void main(String args[]){\n\t\t\n\t\tlong i=0;\n\t\tlong temp=0;\n\t\tlong minval=0;\n\t\tlong maxval=0;\n\t\tlong sumval=0;\n\n\t\t//long n = new Scanner(System.in).nextInt();\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong n = Integer.parseInt(scan.next());\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\ttemp=Integer.parseInt(scan.next());\n\t\t\t\n\t\t\tif(i==0){\n\t\t\t\tminval=temp;\n\t\t\t\tmaxval=temp;\n\t\t\t\tsumval=temp;\n\t\t\t}else{\n\t\t\t\n\t\t\t\tif(temp<minval){\n\t\t\t\t\tminval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(maxval<temp){\n\t\t\t\t\tmaxval=temp;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tsumval+=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(minval+\" \"+maxval+\" \"+sumval);\n\t\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ long i=0; long temp=0; long minval=0; long maxval=0; long sumval=0; //long n = new Scanner(System.in).nextInt(); Scanner scan = new Scanner(System.in); long n = Integer.parseInt(scan.next()); for(i=0;i<n;i++){ temp=Integer.parseInt(scan.next()); if(i==0){ minval=temp; maxval=temp; sumval=temp; }else{ if(temp<minval){ minval=temp; } if(maxval<temp){ maxval=temp; } sumval+=temp; } } System.out.println(minval+" "+maxval+" "+sumval); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 18, 13, 17, 18, 13, 2, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 91, 8 ], [ 91, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 11, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 53, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 11, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 73, 79 ], [ 79, 80 ], [ 79, 81 ], [ 73, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 73, 87 ], [ 9, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] ary=new int[n];\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(ary);\n\t\tlong sum=0;\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum);\n\t}\n\t\n}\n", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] ary=new int[n];\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(ary);\n\t\tlong sum=0;\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum);\n\t}\n\t\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] ary=new int[n];\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(ary);\n\t\tlong sum=0;\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] ary=new int[n];\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(ary);\n\t\tlong sum=0;\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] ary=new int[n];", "ary", "new int[n]", "n", "for(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<ary.length", "i", "ary.length", "ary", "ary.length", "i++", "i++", "i", "{\n\t\t\tary[i]=sc.nextInt();\n\t\t}", "{\n\t\t\tary[i]=sc.nextInt();\n\t\t}", "ary[i]=sc.nextInt()", "ary[i]", "ary", "i", "sc.nextInt()", "sc.nextInt", "sc", "Arrays.sort(ary)", "Arrays.sort", "Arrays", "ary", "long sum=0;", "sum", "0", "for(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<ary.length", "i", "ary.length", "ary", "ary.length", "i++", "i++", "i", "{\n\t\t\tsum+=ary[i];\n\t\t}", "{\n\t\t\tsum+=ary[i];\n\t\t}", "sum+=ary[i]", "sum", "ary[i]", "ary", "i", "System.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d%n\"", "ary[0]", "ary", "0", "ary[n-1]", "ary", "n-1", "n", "1", "sum", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] ary=new int[n];\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(ary);\n\t\tlong sum=0;\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum);\n\t}\n\t\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint[] ary=new int[n];\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tary[i]=sc.nextInt();\n\t\t}\n\t\tArrays.sort(ary);\n\t\tlong sum=0;\n\t\tfor(int i=0; i<ary.length; i++) {\n\t\t\tsum+=ary[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\",ary[0],ary[n-1],sum);\n\t}\n\t\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int[] ary=new int[n]; for(int i=0; i<ary.length; i++) { ary[i]=sc.nextInt(); } Arrays.sort(ary); long sum=0; for(int i=0; i<ary.length; i++) { sum+=ary[i]; } System.out.printf("%d %d %d%n",ary[0],ary[n-1],sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 4, 18, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 12, 13, 30, 12, 13, 30, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 18, 36, 13, 17, 30, 0, 18, 36, 13, 20, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 6, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 41, 13, 12, 13, 30, 0, 18, 36, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 4, 18, 13, 41, 13, 4, 18, 4, 18, 4, 18, 13, 13, 28, 13, 13, 30, 30, 4, 18, 4, 18, 18, 36, 13, 20, 23, 13, 12, 13, 30, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 28, 13, 4, 18, 18, 36, 13, 30, 30, 0, 13, 4, 18, 13, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 0, 13, 4, 18, 4, 18, 13, 29, 13, 10, 6, 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 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 306, 26 ], [ 306, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 40, 41 ], [ 30, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 42, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 42, 53 ], [ 53, 54 ], [ 54, 55 ], [ 42, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 27, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 66, 73 ], [ 73, 74 ], [ 73, 75 ], [ 66, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 66, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 81, 89 ], [ 89, 90 ], [ 66, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 93, 106 ], [ 106, 107 ], [ 66, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 108, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 118, 122 ], [ 122, 123 ], [ 122, 124 ], [ 118, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 125, 133 ], [ 133, 134 ], [ 118, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 118, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 140, 148 ], [ 148, 149 ], [ 0, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 150, 158 ], [ 158, 159 ], [ 158, 160 ], [ 150, 161 ], [ 161, 162 ], [ 150, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 150, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 176, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 173, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 186, 193 ], [ 173, 194 ], [ 194, 195 ], [ 194, 196 ], [ 194, 197 ], [ 198, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 199, 206 ], [ 171, 207 ], [ 207, 208 ], [ 150, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 215, 221 ], [ 214, 222 ], [ 209, 223 ], [ 223, 224 ], [ 150, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 231, 232 ], [ 231, 233 ], [ 227, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 227, 238 ], [ 238, 239 ], [ 238, 240 ], [ 227, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 241, 248 ], [ 249, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 253, 254 ], [ 252, 255 ], [ 252, 256 ], [ 256, 257 ], [ 257, 258 ], [ 249, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 262, 263 ], [ 261, 264 ], [ 261, 265 ], [ 265, 266 ], [ 266, 267 ], [ 249, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 271, 272 ], [ 227, 273 ], [ 273, 274 ], [ 273, 275 ], [ 227, 276 ], [ 276, 277 ], [ 277, 278 ], [ 276, 279 ], [ 227, 280 ], [ 280, 281 ], [ 281, 282 ], [ 280, 283 ], [ 227, 284 ], [ 284, 285 ], [ 285, 286 ], [ 284, 287 ], [ 227, 288 ], [ 288, 289 ], [ 289, 290 ], [ 288, 291 ], [ 227, 292 ], [ 292, 293 ], [ 293, 294 ], [ 292, 295 ], [ 227, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 227, 303 ], [ 303, 304 ], [ 0, 305 ], [ 305, 306 ], [ 305, 307 ] ]
[ "/*\n * Aizu Online Judge\n */\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\nimport java.text.NumberFormat;\nimport java.text.DecimalFormat;\nimport java.util.ArrayList;\nimport java.util.List;\n\n/**\n *\n * @author yoshkur\n */\npublic class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}\n\nclass DataService {\n\n\tprivate List<DataEntity> entities = new ArrayList<>();\n\tprivate DataEntity entity;\n\n\tpublic DataService() {\n\t}\n\n\tpublic List<DataEntity> getEntities() {\n\t\treturn entities;\n\t}\n\n\tpublic void setEntities(List<DataEntity> entities) {\n\t\tthis.entities = entities;\n\t}\n\n\tpublic DataEntity getEntity() {\n\t\tif (this.entity == null) {\n\t\t\tthis.entity = new DataEntity();\n\t\t}\n\t\treturn entity;\n\t}\n\n\tpublic void setEntity(DataEntity entity) {\n\t\tthis.entity = entity;\n\t}\n}\n\nclass DataEntity {\n\tprivate Integer number;\n\n\tpublic DataEntity() {\n\t}\n\n\tpublic DataEntity(Integer number) {\n\t\tthis.number = number;\n\t}\n\n\tpublic Integer getNumber() {\n\t\treturn number;\n\t}\n\n\tpublic void setNumber(Integer number) {\n\t\tthis.number = number;\n\t}\n}\n\nclass DataController {\n\n\tprivate static final String RETCODE = System.getProperty(\"line.separator\");\n\tpublic static final String SEPARATOR = \" \";\n\n\tprivate final DataService ejb;\n\n\tpublic DataController() {\n\t\tthis.ejb = new DataService();\n\t}\n\n\tpublic void setDataFromLine(BufferedReader br) throws IOException {\n\t\tInteger count = Integer.valueOf(br.readLine().trim());\n\t\tString[] values = br.readLine().trim().split(SEPARATOR);\n\t\tfor (String str : values) {\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}\n\t}\n\n\tpublic void setDataFromLines(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n//\t\t\tDataEntity entity = new DataEntity();\n//\t\t\tString[] values = line.trim().split(SEPARATOR);\n//\t\t\tentity.setNum0(Integer.valueOf(values[0]));\n//\t\t\tentity.setNum1(Integer.valueOf(values[1]));\n//\t\t\tthis.ejb.getEntities().add(entity);\n\t\t}\n\t}\n\n\tpublic String getResult() {\n\t\tString result = null;\n\t\tInteger min = 1000000;\n\t\tInteger max = -1000000;\n\t\tLong sum = 0L;\n\t\t\n\t\tfor (DataEntity entity : this.ejb.getEntities()) {\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(min);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(max);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(sum);\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.text.NumberFormat;", "NumberFormat", "java.text", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}", "Main", "/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}", "catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}", "IOException | NumberFormatException e", "{\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}", "System.err.println(e.getLocalizedMessage())", "System.err.println", "System.err", "System", "System.err", "e.getLocalizedMessage()", "e.getLocalizedMessage", "e", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "DataController controller = new DataController();", "controller", "new DataController()", "controller.setDataFromLine(br)", "controller.setDataFromLine", "controller", "br", "br.close()", "br.close", "br", "System.out.println(controller.getResult())", "System.out.println", "System.out", "System", "System.out", "controller.getResult()", "controller.getResult", "controller", "String[] args", "args", "class DataService {\n\n\tprivate List<DataEntity> entities = new ArrayList<>();\n\tprivate DataEntity entity;\n\n\tpublic DataService() {\n\t}\n\n\tpublic List<DataEntity> getEntities() {\n\t\treturn entities;\n\t}\n\n\tpublic void setEntities(List<DataEntity> entities) {\n\t\tthis.entities = entities;\n\t}\n\n\tpublic DataEntity getEntity() {\n\t\tif (this.entity == null) {\n\t\t\tthis.entity = new DataEntity();\n\t\t}\n\t\treturn entity;\n\t}\n\n\tpublic void setEntity(DataEntity entity) {\n\t\tthis.entity = entity;\n\t}\n}", "DataService", "private List<DataEntity> entities = new ArrayList<>();", "entities", "new ArrayList<>()", "private DataEntity entity;", "entity", "public DataService() {\n\t}", "DataService", "{\n\t}", "public List<DataEntity> getEntities() {\n\t\treturn entities;\n\t}", "getEntities", "{\n\t\treturn entities;\n\t}", "return entities;", "entities", "public void setEntities(List<DataEntity> entities) {\n\t\tthis.entities = entities;\n\t}", "setEntities", "{\n\t\tthis.entities = entities;\n\t}", "this.entities = entities", "this.entities", "this", "this.entities", "entities", "List<DataEntity> entities", "entities", "public DataEntity getEntity() {\n\t\tif (this.entity == null) {\n\t\t\tthis.entity = new DataEntity();\n\t\t}\n\t\treturn entity;\n\t}", "getEntity", "{\n\t\tif (this.entity == null) {\n\t\t\tthis.entity = new DataEntity();\n\t\t}\n\t\treturn entity;\n\t}", "if (this.entity == null) {\n\t\t\tthis.entity = new DataEntity();\n\t\t}", "this.entity == null", "this.entity", "this", "this.entity", "null", "{\n\t\t\tthis.entity = new DataEntity();\n\t\t}", "this.entity = new DataEntity()", "this.entity", "this", "this.entity", "new DataEntity()", "return entity;", "entity", "public void setEntity(DataEntity entity) {\n\t\tthis.entity = entity;\n\t}", "setEntity", "{\n\t\tthis.entity = entity;\n\t}", "this.entity = entity", "this.entity", "this", "this.entity", "entity", "DataEntity entity", "entity", "class DataEntity {\n\tprivate Integer number;\n\n\tpublic DataEntity() {\n\t}\n\n\tpublic DataEntity(Integer number) {\n\t\tthis.number = number;\n\t}\n\n\tpublic Integer getNumber() {\n\t\treturn number;\n\t}\n\n\tpublic void setNumber(Integer number) {\n\t\tthis.number = number;\n\t}\n}", "DataEntity", "private Integer number;", "number", "public DataEntity() {\n\t}", "DataEntity", "{\n\t}", "public DataEntity(Integer number) {\n\t\tthis.number = number;\n\t}", "DataEntity", "{\n\t\tthis.number = number;\n\t}", "this.number = number", "this.number", "this", "this.number", "number", "Integer number", "number", "public Integer getNumber() {\n\t\treturn number;\n\t}", "getNumber", "{\n\t\treturn number;\n\t}", "return number;", "number", "public void setNumber(Integer number) {\n\t\tthis.number = number;\n\t}", "setNumber", "{\n\t\tthis.number = number;\n\t}", "this.number = number", "this.number", "this", "this.number", "number", "Integer number", "number", "class DataController {\n\n\tprivate static final String RETCODE = System.getProperty(\"line.separator\");\n\tpublic static final String SEPARATOR = \" \";\n\n\tprivate final DataService ejb;\n\n\tpublic DataController() {\n\t\tthis.ejb = new DataService();\n\t}\n\n\tpublic void setDataFromLine(BufferedReader br) throws IOException {\n\t\tInteger count = Integer.valueOf(br.readLine().trim());\n\t\tString[] values = br.readLine().trim().split(SEPARATOR);\n\t\tfor (String str : values) {\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}\n\t}\n\n\tpublic void setDataFromLines(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n//\t\t\tDataEntity entity = new DataEntity();\n//\t\t\tString[] values = line.trim().split(SEPARATOR);\n//\t\t\tentity.setNum0(Integer.valueOf(values[0]));\n//\t\t\tentity.setNum1(Integer.valueOf(values[1]));\n//\t\t\tthis.ejb.getEntities().add(entity);\n\t\t}\n\t}\n\n\tpublic String getResult() {\n\t\tString result = null;\n\t\tInteger min = 1000000;\n\t\tInteger max = -1000000;\n\t\tLong sum = 0L;\n\t\t\n\t\tfor (DataEntity entity : this.ejb.getEntities()) {\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(min);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(max);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(sum);\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}\n}", "DataController", "private static final String RETCODE = System.getProperty(\"line.separator\");", "RETCODE", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "public static final String SEPARATOR = \" \";", "SEPARATOR", "\" \"", "private final DataService ejb;", "ejb", "public DataController() {\n\t\tthis.ejb = new DataService();\n\t}", "DataController", "{\n\t\tthis.ejb = new DataService();\n\t}", "this.ejb = new DataService()", "this.ejb", "this", "this.ejb", "new DataService()", "public void setDataFromLine(BufferedReader br) throws IOException {\n\t\tInteger count = Integer.valueOf(br.readLine().trim());\n\t\tString[] values = br.readLine().trim().split(SEPARATOR);\n\t\tfor (String str : values) {\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}\n\t}", "setDataFromLine", "{\n\t\tInteger count = Integer.valueOf(br.readLine().trim());\n\t\tString[] values = br.readLine().trim().split(SEPARATOR);\n\t\tfor (String str : values) {\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}\n\t}", "Integer count = Integer.valueOf(br.readLine().trim());", "count", "Integer.valueOf(br.readLine().trim())", "Integer.valueOf", "Integer", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "String[] values = br.readLine().trim().split(SEPARATOR);", "values", "br.readLine().trim().split(SEPARATOR)", "br.readLine().trim().split", "br.readLine().trim()", "br.readLine().trim", "br.readLine()", "br.readLine", "br", "SEPARATOR", "for (String str : values) {\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}", "String str", "values", "{\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}", "{\n\t\t\tthis.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)));\n\t\t}", "this.ejb.getEntities().add(new DataEntity(Integer.valueOf(str)))", "this.ejb.getEntities().add", "this.ejb.getEntities()", "this.ejb.getEntities", "this.ejb", "this", "this.ejb", "new DataEntity(Integer.valueOf(str))", "BufferedReader br", "br", "public void setDataFromLines(BufferedReader br) throws IOException {\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n//\t\t\tDataEntity entity = new DataEntity();\n//\t\t\tString[] values = line.trim().split(SEPARATOR);\n//\t\t\tentity.setNum0(Integer.valueOf(values[0]));\n//\t\t\tentity.setNum1(Integer.valueOf(values[1]));\n//\t\t\tthis.ejb.getEntities().add(entity);\n\t\t}\n\t}", "setDataFromLines", "{\n\t\tString line;\n\t\twhile ((line = br.readLine()) != null) {\n//\t\t\tDataEntity entity = new DataEntity();\n//\t\t\tString[] values = line.trim().split(SEPARATOR);\n//\t\t\tentity.setNum0(Integer.valueOf(values[0]));\n//\t\t\tentity.setNum1(Integer.valueOf(values[1]));\n//\t\t\tthis.ejb.getEntities().add(entity);\n\t\t}\n\t}", "String line;", "line", "while ((line = br.readLine()) != null) {\n//\t\t\tDataEntity entity = new DataEntity();\n//\t\t\tString[] values = line.trim().split(SEPARATOR);\n//\t\t\tentity.setNum0(Integer.valueOf(values[0]));\n//\t\t\tentity.setNum1(Integer.valueOf(values[1]));\n//\t\t\tthis.ejb.getEntities().add(entity);\n\t\t}", "(line = br.readLine()) != null", "(line = br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "{\n//\t\t\tDataEntity entity = new DataEntity();\n//\t\t\tString[] values = line.trim().split(SEPARATOR);\n//\t\t\tentity.setNum0(Integer.valueOf(values[0]));\n//\t\t\tentity.setNum1(Integer.valueOf(values[1]));\n//\t\t\tthis.ejb.getEntities().add(entity);\n\t\t}", "BufferedReader br", "br", "public String getResult() {\n\t\tString result = null;\n\t\tInteger min = 1000000;\n\t\tInteger max = -1000000;\n\t\tLong sum = 0L;\n\t\t\n\t\tfor (DataEntity entity : this.ejb.getEntities()) {\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(min);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(max);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(sum);\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}", "getResult", "{\n\t\tString result = null;\n\t\tInteger min = 1000000;\n\t\tInteger max = -1000000;\n\t\tLong sum = 0L;\n\t\t\n\t\tfor (DataEntity entity : this.ejb.getEntities()) {\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}\n\t\t\n\t\tStringBuilder sb = new StringBuilder();\n\t\tsb.append(min);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(max);\n\t\tsb.append(SEPARATOR);\n\t\tsb.append(sum);\n\t\tresult = sb.toString().trim();\n\t\treturn result;\n\t}", "String result = null;", "result", "null", "Integer min = 1000000;", "min", "1000000", "Integer max = -1000000;", "max", "-1000000", "1000000", "Long sum = 0L;", "sum", "0L", "for (DataEntity entity : this.ejb.getEntities()) {\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}", "DataEntity entity", "this.ejb.getEntities()", "this.ejb.getEntities", "this.ejb", "this", "this.ejb", "{\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}", "{\n\t\t\tmin = Math.min(min, entity.getNumber());\n\t\t\tmax = Math.max(max, entity.getNumber());\n\t\t\tsum += entity.getNumber();\n\t\t}", "min = Math.min(min, entity.getNumber())", "min", "Math.min(min, entity.getNumber())", "Math.min", "Math", "min", "entity.getNumber()", "entity.getNumber", "entity", "max = Math.max(max, entity.getNumber())", "max", "Math.max(max, entity.getNumber())", "Math.max", "Math", "max", "entity.getNumber()", "entity.getNumber", "entity", "sum += entity.getNumber()", "sum", "entity.getNumber()", "entity.getNumber", "entity", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "sb.append(min)", "sb.append", "sb", "min", "sb.append(SEPARATOR)", "sb.append", "sb", "SEPARATOR", "sb.append(max)", "sb.append", "sb", "max", "sb.append(SEPARATOR)", "sb.append", "sb", "SEPARATOR", "sb.append(sum)", "sb.append", "sb", "sum", "result = sb.toString().trim()", "result", "sb.toString().trim()", "sb.toString().trim", "sb.toString()", "sb.toString", "sb", "return result;", "result", "public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}", "public class Main {\n\n\t/**\n\t * @param args the command line arguments\n\t */\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tDataController controller = new DataController();\n\t\t\tcontroller.setDataFromLine(br);\n\t\t\tbr.close();\n\t\t\tSystem.out.println(controller.getResult());\n\n\t\t} catch (IOException | NumberFormatException e) {\n\t\t\tSystem.err.println(e.getLocalizedMessage());\n\t\t}\n\t}\n}", "Main" ]
/* * Aizu Online Judge */ import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigDecimal; import java.text.NumberFormat; import java.text.DecimalFormat; import java.util.ArrayList; import java.util.List; /** * * @author yoshkur */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); DataController controller = new DataController(); controller.setDataFromLine(br); br.close(); System.out.println(controller.getResult()); } catch (IOException | NumberFormatException e) { System.err.println(e.getLocalizedMessage()); } } } class DataService { private List<DataEntity> entities = new ArrayList<>(); private DataEntity entity; public DataService() { } public List<DataEntity> getEntities() { return entities; } public void setEntities(List<DataEntity> entities) { this.entities = entities; } public DataEntity getEntity() { if (this.entity == null) { this.entity = new DataEntity(); } return entity; } public void setEntity(DataEntity entity) { this.entity = entity; } } class DataEntity { private Integer number; public DataEntity() { } public DataEntity(Integer number) { this.number = number; } public Integer getNumber() { return number; } public void setNumber(Integer number) { this.number = number; } } class DataController { private static final String RETCODE = System.getProperty("line.separator"); public static final String SEPARATOR = " "; private final DataService ejb; public DataController() { this.ejb = new DataService(); } public void setDataFromLine(BufferedReader br) throws IOException { Integer count = Integer.valueOf(br.readLine().trim()); String[] values = br.readLine().trim().split(SEPARATOR); for (String str : values) { this.ejb.getEntities().add(new DataEntity(Integer.valueOf(str))); } } public void setDataFromLines(BufferedReader br) throws IOException { String line; while ((line = br.readLine()) != null) { // DataEntity entity = new DataEntity(); // String[] values = line.trim().split(SEPARATOR); // entity.setNum0(Integer.valueOf(values[0])); // entity.setNum1(Integer.valueOf(values[1])); // this.ejb.getEntities().add(entity); } } public String getResult() { String result = null; Integer min = 1000000; Integer max = -1000000; Long sum = 0L; for (DataEntity entity : this.ejb.getEntities()) { min = Math.min(min, entity.getNumber()); max = Math.max(max, entity.getNumber()); sum += entity.getNumber(); } StringBuilder sb = new StringBuilder(); sb.append(min); sb.append(SEPARATOR); sb.append(max); sb.append(SEPARATOR); sb.append(sum); result = sb.toString().trim(); return result; } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 20, 12, 13, 30, 0, 13, 4, 18, 13, 0, 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, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 0, 13, 18, 13, 13, 41, 13, 40, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 0, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 12, 13, 30, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 10, 12 ], [ 4, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 21, 23 ], [ 15, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 15, 45 ], [ 45, 46 ], [ 45, 47 ], [ 15, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 61, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 15, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 15, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 89, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 15, 100 ], [ 100, 101 ], [ 100, 102 ], [ 15, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 15, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 131, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 131, 136 ], [ 4, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 137, 141 ], [ 141, 142 ] ]
[ "import java.util.*;\n\nclass Main{\n\tint n;\n\tint[] ai;\n\tScanner scan = new Scanner(System.in);\n\tpublic Main(){\n\t\tn=scan.nextInt();\n\t\tai=new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tai[i]=scan.nextInt();\n\t\t}\n\t\tint min=1000000;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}\n\t\tint max=-1000000;\n\t\tfor(int j=0; j<n; j++){\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}\n\t\tlong sum=0;\n\t\tfor(int k=0; k<n; k++){\n\t\t\tsum=sum+ai[k];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\tpublic static void main(String[]args){\n\t\tnew Main();\n\t}\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tint n;\n\tint[] ai;\n\tScanner scan = new Scanner(System.in);\n\tpublic Main(){\n\t\tn=scan.nextInt();\n\t\tai=new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tai[i]=scan.nextInt();\n\t\t}\n\t\tint min=1000000;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}\n\t\tint max=-1000000;\n\t\tfor(int j=0; j<n; j++){\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}\n\t\tlong sum=0;\n\t\tfor(int k=0; k<n; k++){\n\t\t\tsum=sum+ai[k];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\tpublic static void main(String[]args){\n\t\tnew Main();\n\t}\n}", "Main", "int n;", "n", "int[] ai;", "ai", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public Main(){\n\t\tn=scan.nextInt();\n\t\tai=new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tai[i]=scan.nextInt();\n\t\t}\n\t\tint min=1000000;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}\n\t\tint max=-1000000;\n\t\tfor(int j=0; j<n; j++){\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}\n\t\tlong sum=0;\n\t\tfor(int k=0; k<n; k++){\n\t\t\tsum=sum+ai[k];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "Main", "{\n\t\tn=scan.nextInt();\n\t\tai=new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tai[i]=scan.nextInt();\n\t\t}\n\t\tint min=1000000;\n\t\tfor(int i=0; i<n; i++){\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}\n\t\tint max=-1000000;\n\t\tfor(int j=0; j<n; j++){\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}\n\t\tlong sum=0;\n\t\tfor(int k=0; k<n; k++){\n\t\t\tsum=sum+ai[k];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "n=scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "ai=new int[n]", "ai", "new int[n]", "n", "for(int i=0; i<n; i++){\n\t\t\tai[i]=scan.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tai[i]=scan.nextInt();\n\t\t}", "{\n\t\t\tai[i]=scan.nextInt();\n\t\t}", "ai[i]=scan.nextInt()", "ai[i]", "ai", "i", "scan.nextInt()", "scan.nextInt", "scan", "int min=1000000;", "min", "1000000", "for(int i=0; i<n; i++){\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}", "{\n\t\t\tif(min>ai[i])min=ai[i];\n\t\t}", "if(min>ai[i])min=ai[i];", "min>ai[i]", "min", "ai[i]", "ai", "i", "min=ai[i]", "min", "ai[i]", "ai", "i", "int max=-1000000;", "max", "-1000000", "1000000", "for(int j=0; j<n; j++){\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}", "{\n\t\t\tif(max<ai[j])max=ai[j];\n\t\t}", "if(max<ai[j])max=ai[j];", "max<ai[j]", "max", "ai[j]", "ai", "j", "max=ai[j]", "max", "ai[j]", "ai", "j", "long sum=0;", "sum", "0", "for(int k=0; k<n; k++){\n\t\t\tsum=sum+ai[k];\n\t\t}", "int k=0;", "int k=0;", "k", "0", "k<n", "k", "n", "k++", "k++", "k", "{\n\t\t\tsum=sum+ai[k];\n\t\t}", "{\n\t\t\tsum=sum+ai[k];\n\t\t}", "sum=sum+ai[k]", "sum", "sum+ai[k]", "sum", "ai[k]", "ai", "k", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "public static void main(String[]args){\n\t\tnew Main();\n\t}", "main", "{\n\t\tnew Main();\n\t}", "new Main()", "String[]args", "args" ]
import java.util.*; class Main{ int n; int[] ai; Scanner scan = new Scanner(System.in); public Main(){ n=scan.nextInt(); ai=new int[n]; for(int i=0; i<n; i++){ ai[i]=scan.nextInt(); } int min=1000000; for(int i=0; i<n; i++){ if(min>ai[i])min=ai[i]; } int max=-1000000; for(int j=0; j<n; j++){ if(max<ai[j])max=ai[j]; } long sum=0; for(int k=0; k<n; k++){ sum=sum+ai[k]; } System.out.println(min+" "+max+" "+sum); } public static void main(String[]args){ new Main(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 41, 13, 4, 18, 13, 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, 18, 13, 17, 0, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 70, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 70, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 106, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 104, 110 ], [ 106, 111 ], [ 6, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong max,min,sum = 0;\n\t\tint n = s.nextInt();\n\t\tlong[] data = new long[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}\n\t\t\n\t\tmax = data[0];\n\t\tmin = data[0];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+max+\" \"+sum);\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong max,min,sum = 0;\n\t\tint n = s.nextInt();\n\t\tlong[] data = new long[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}\n\t\t\n\t\tmax = data[0];\n\t\tmin = data[0];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+max+\" \"+sum);\n\t\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong max,min,sum = 0;\n\t\tint n = s.nextInt();\n\t\tlong[] data = new long[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}\n\t\t\n\t\tmax = data[0];\n\t\tmin = data[0];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+max+\" \"+sum);\n\t\t\n\t}", "main", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tlong max,min,sum = 0;\n\t\tint n = s.nextInt();\n\t\tlong[] data = new long[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}\n\t\t\n\t\tmax = data[0];\n\t\tmin = data[0];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+max+\" \"+sum);\n\t\t\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "long max", "max", "min", "min", "sum = 0;", "sum", "0", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "long[] data = new long[n];", "data", "new long[n]", "n", "for(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdata[i] = s.nextInt();\n\t\t}", "{\n\t\t\tdata[i] = s.nextInt();\n\t\t}", "data[i] = s.nextInt()", "data[i]", "data", "i", "s.nextInt()", "s.nextInt", "s", "max = data[0]", "max", "data[0]", "data", "0", "min = data[0]", "min", "data[0]", "data", "0", "for(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}", "{\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}", "if(data[i] >= max)\n\t\t\t\tmax = data[i];", "data[i] >= max", "data[i]", "data", "i", "max", "max = data[i]", "max", "data[i]", "data", "i", "if(data[i] <= min)\n\t\t\t\tmin = data[i];", "data[i] <= min", "data[i]", "data", "i", "min", "min = data[i]", "min", "data[i]", "data", "i", "sum += data[i]", "sum", "data[i]", "data", "i", "System.out.println(min +\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min +\" \"+max+\" \"+sum", "\" \"", "max", "min +\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong max,min,sum = 0;\n\t\tint n = s.nextInt();\n\t\tlong[] data = new long[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}\n\t\t\n\t\tmax = data[0];\n\t\tmin = data[0];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+max+\" \"+sum);\n\t\t\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner s = new Scanner(System.in);\n\t\tlong max,min,sum = 0;\n\t\tint n = s.nextInt();\n\t\tlong[] data = new long[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tdata[i] = s.nextInt();\n\t\t}\n\t\t\n\t\tmax = data[0];\n\t\tmin = data[0];\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tif(data[i] >= max)\n\t\t\t\tmax = data[i];\n\t\t\tif(data[i] <= min)\n\t\t\t\tmin = data[i];\n\t\t\tsum += data[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+max+\" \"+sum);\n\t\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner s = new Scanner(System.in); long max,min,sum = 0; int n = s.nextInt(); long[] data = new long[n]; for(int i = 0;i < n;i++){ data[i] = s.nextInt(); } max = data[0]; min = data[0]; for(int i = 0;i < n;i++){ if(data[i] >= max) max = data[i]; if(data[i] <= min) min = data[i]; sum += data[i]; } System.out.println(min +" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 13, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 8, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 73, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 106, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 104, 110 ], [ 106, 111 ], [ 6, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[n];\n\t\tlong tot = 0;\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}\n\t\tint max = a[0];\n\t\tint min = a[0];\n\t\tfor(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ tot);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[n];\n\t\tlong tot = 0;\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}\n\t\tint max = a[0];\n\t\tint min = a[0];\n\t\tfor(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ tot);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[n];\n\t\tlong tot = 0;\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}\n\t\tint max = a[0];\n\t\tint min = a[0];\n\t\tfor(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ tot);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[n];\n\t\tlong tot = 0;\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}\n\t\tint max = a[0];\n\t\tint min = a[0];\n\t\tfor(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ tot);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int a[] = new int[n];", "a", "new int[n]", "n", "long tot = 0;", "tot", "0", "for(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}", "int b = 0;", "int b = 0;", "b", "0", "b<n", "b", "n", "b++", "b++", "b", "{\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}", "{\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}", "a[b] = scan.nextInt()", "a[b]", "a", "b", "scan.nextInt()", "scan.nextInt", "scan", "tot = tot + a[b]", "tot", "tot + a[b]", "tot", "a[b]", "a", "b", "int max = a[0];", "max", "a[0]", "a", "0", "int min = a[0];", "min", "a[0]", "a", "0", "for(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}", "int c = 1;", "int c = 1;", "c", "1", "c<n", "c", "n", "c++", "c++", "c", "{\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}", "{\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}", "if(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}", "max < a[c]", "max", "a[c]", "a", "c", "{\n\t\t\t\tmax = a[c];\n\t\t\t}", "max = a[c]", "max", "a[c]", "a", "c", "if(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}", "min > a[c]", "min", "a[c]", "a", "c", "{\n\t\t\t\tmin = a[c];\n\t\t\t}", "min = a[c]", "min", "a[c]", "a", "c", "System.out.println(min +\" \"+ max +\" \"+ tot)", "System.out.println", "System.out", "System", "System.out", "min +\" \"+ max +\" \"+ tot", "\" \"", "max", "min +\" \"+ max +\" \"+ tot", "min", "\" \"", "max", "\" \"", "tot", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[n];\n\t\tlong tot = 0;\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}\n\t\tint max = a[0];\n\t\tint min = a[0];\n\t\tfor(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ tot);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint a[] = new int[n];\n\t\tlong tot = 0;\n\t\tfor(int b = 0;b<n;b++){\n\t\t\ta[b] = scan.nextInt();\n\t\t\ttot = tot + a[b];\n\t\t}\n\t\tint max = a[0];\n\t\tint min = a[0];\n\t\tfor(int c = 1;c<n;c++){\n\t\t\tif(max < a[c]){\n\t\t\t\tmax = a[c];\n\t\t\t}\n\t\t\tif(min > a[c]){\n\t\t\t\tmin = a[c];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ tot);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int a[] = new int[n]; long tot = 0; for(int b = 0;b<n;b++){ a[b] = scan.nextInt(); tot = tot + a[b]; } int max = a[0]; int min = a[0]; for(int c = 1;c<n;c++){ if(max < a[c]){ max = a[c]; } if(min > a[c]){ min = a[c]; } } System.out.println(min +" "+ max +" "+ tot); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 30, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 49, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 69, 71 ], [ 58, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 72, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 98, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 98, 103 ], [ 6, 104 ], [ 104, 105 ] ]
[ "/* ITP1_4_D */\nimport java.io.*;\n\nclass Main\n{\n public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n // input\n int quantity = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for(int i = 0; i < quantity; i++){\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }\n // output\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.io.*;", "io.*", "java", "class Main\n{\n public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n // input\n int quantity = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for(int i = 0; i < quantity; i++){\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }\n // output\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args) throws IOException\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n // input\n int quantity = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for(int i = 0; i < quantity; i++){\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }\n // output\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n // input\n int quantity = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for(int i = 0; i < quantity; i++){\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }\n // output\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int quantity = Integer.parseInt(br.readLine());", "quantity", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for(int i = 0; i < quantity; i++){\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < quantity", "i", "quantity", "i++", "i++", "i", "{\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }", "{\n\n int value = Integer.parseInt(str[i]);\n\n if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }\n }", "int value = Integer.parseInt(str[i]);", "value", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "if(i == 0){\n min = value;\n max = value;\n sum = value;\n }else {\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }", "i == 0", "i", "0", "{\n min = value;\n max = value;\n sum = value;\n }", "min = value", "min", "value", "max = value", "max", "value", "sum = value", "sum", "value", "{\n //check\n if(min > value)\n min = value;\n if(max < value)\n max = value;\n sum += value;\n }", "if(min > value)\n min = value;", "min > value", "min", "value", "min = value", "min", "value", "if(max < value)\n max = value;", "max < value", "max", "value", "max = value", "max", "value", "sum += value", "sum", "value", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
/* ITP1_4_D */ import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // input int quantity = Integer.parseInt(br.readLine()); String[] str = br.readLine().split(" "); int min = 0; int max = 0; long sum = 0; for(int i = 0; i < quantity; i++){ int value = Integer.parseInt(str[i]); if(i == 0){ min = value; max = value; sum = value; }else { //check if(min > value) min = value; if(max < value) max = value; sum += value; } } // output System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 41, 13, 40, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 136, 5 ], [ 136, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 98, 100 ], [ 8, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 8, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 127, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 125, 131 ], [ 127, 132 ], [ 6, 133 ], [ 133, 134 ], [ 0, 135 ], [ 135, 136 ], [ 135, 137 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n // ?????°????????????????¢??????????.\n // ?????????????´????????´???????.\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int array[] = new int[count];\n for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }\n\n\n // ????°???????????????????.\n // ?????§??????????????????.\n // ????¨???????????????????.\n long min = 1000001;\n for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }\n long max = -1000001;\n for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }\n long sum = 0;\n for (int i = 0; i < count; i ++) { sum += array[i]; }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n // ?????°????????????????¢??????????.\n // ?????????????´????????´???????.\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int array[] = new int[count];\n for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }\n\n\n // ????°???????????????????.\n // ?????§??????????????????.\n // ????¨???????????????????.\n long min = 1000001;\n for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }\n long max = -1000001;\n for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }\n long sum = 0;\n for (int i = 0; i < count; i ++) { sum += array[i]; }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args) {\n\n // ??????????????????????????????.\n // ?????°????????????????¢??????????.\n // ?????????????´????????´???????.\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int array[] = new int[count];\n for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }\n\n\n // ????°???????????????????.\n // ?????§??????????????????.\n // ????¨???????????????????.\n long min = 1000001;\n for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }\n long max = -1000001;\n for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }\n long sum = 0;\n for (int i = 0; i < count; i ++) { sum += array[i]; }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n\n // ??????????????????????????????.\n // ?????°????????????????¢??????????.\n // ?????????????´????????´???????.\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int array[] = new int[count];\n for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }\n\n\n // ????°???????????????????.\n // ?????§??????????????????.\n // ????¨???????????????????.\n long min = 1000001;\n for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }\n long max = -1000001;\n for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }\n long sum = 0;\n for (int i = 0; i < count; i ++) { sum += array[i]; }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int count = sc.nextInt();", "count", "sc.nextInt()", "sc.nextInt", "sc", "int array[] = new int[count];", "array", "new int[count]", "count", "for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i ++", "i ++", "i", "{\n array[i] = sc.nextInt();\n }", "{\n array[i] = sc.nextInt();\n }", "array[i] = sc.nextInt()", "array[i]", "array", "i", "sc.nextInt()", "sc.nextInt", "sc", "long min = 1000001;", "min", "1000001", "for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i ++", "i ++", "i", "{\n if (min > array[i]) { min = array[i]; }\n }", "{\n if (min > array[i]) { min = array[i]; }\n }", "if (min > array[i]) { min = array[i]; }", "min > array[i]", "min", "array[i]", "array", "i", "{ min = array[i]; }", "min = array[i]", "min", "array[i]", "array", "i", "long max = -1000001;", "max", "-1000001", "1000001", "for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i ++", "i ++", "i", "{\n if (max < array[i]) { max = array[i]; }\n }", "{\n if (max < array[i]) { max = array[i]; }\n }", "if (max < array[i]) { max = array[i]; }", "max < array[i]", "max", "array[i]", "array", "i", "{ max = array[i]; }", "max = array[i]", "max", "array[i]", "array", "i", "long sum = 0;", "sum", "0", "for (int i = 0; i < count; i ++) { sum += array[i]; }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i ++", "i ++", "i", "{ sum += array[i]; }", "{ sum += array[i]; }", "sum += array[i]", "sum", "array[i]", "array", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n // ?????°????????????????¢??????????.\n // ?????????????´????????´???????.\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int array[] = new int[count];\n for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }\n\n\n // ????°???????????????????.\n // ?????§??????????????????.\n // ????¨???????????????????.\n long min = 1000001;\n for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }\n long max = -1000001;\n for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }\n long sum = 0;\n for (int i = 0; i < count; i ++) { sum += array[i]; }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n // ?????°????????????????¢??????????.\n // ?????????????´????????´???????.\n Scanner sc = new Scanner(System.in);\n int count = sc.nextInt();\n int array[] = new int[count];\n for (int i = 0; i < count; i ++) {\n array[i] = sc.nextInt();\n }\n\n\n // ????°???????????????????.\n // ?????§??????????????????.\n // ????¨???????????????????.\n long min = 1000001;\n for (int i = 0; i < count; i ++) {\n if (min > array[i]) { min = array[i]; }\n }\n long max = -1000001;\n for (int i = 0; i < count; i ++) {\n if (max < array[i]) { max = array[i]; }\n }\n long sum = 0;\n for (int i = 0; i < count; i ++) { sum += array[i]; }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // ??????????????????????????????. // ?????°????????????????¢??????????. // ?????????????´????????´???????. Scanner sc = new Scanner(System.in); int count = sc.nextInt(); int array[] = new int[count]; for (int i = 0; i < count; i ++) { array[i] = sc.nextInt(); } // ????°???????????????????. // ?????§??????????????????. // ????¨???????????????????. long min = 1000001; for (int i = 0; i < count; i ++) { if (min > array[i]) { min = array[i]; } } long max = -1000001; for (int i = 0; i < count; i ++) { if (max < array[i]) { max = array[i]; } } long sum = 0; for (int i = 0; i < count; i ++) { sum += array[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 75, 5 ], [ 75, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 46, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 40, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 63, 69 ], [ 63, 70 ], [ 63, 71 ], [ 6, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long sum = sc.nextInt();\n int min = (int)sum,max = (int)sum;\n for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }\n System.out.printf(\"%d %d %d\\n\",min,max,sum);\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long sum = sc.nextInt();\n int min = (int)sum,max = (int)sum;\n for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }\n System.out.printf(\"%d %d %d\\n\",min,max,sum);\n }\n\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long sum = sc.nextInt();\n int min = (int)sum,max = (int)sum;\n for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }\n System.out.printf(\"%d %d %d\\n\",min,max,sum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long sum = sc.nextInt();\n int min = (int)sum,max = (int)sum;\n for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }\n System.out.printf(\"%d %d %d\\n\",min,max,sum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long sum = sc.nextInt();", "sum", "sc.nextInt()", "sc.nextInt", "sc", "int min = (int)sum", "min", "(int)sum", "max = (int)sum;", "max", "(int)sum", "for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "++i", "++i", "i", "{\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }", "{\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "if(max < a) max = a;\n else if(a < min) min = a;", "max < a", "max", "a", "max = a", "max", "a", "if(a < min) min = a;", "a < min", "a", "min", "min = a", "min", "a", "sum += a", "sum", "a", "System.out.printf(\"%d %d %d\\n\",min,max,sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long sum = sc.nextInt();\n int min = (int)sum,max = (int)sum;\n for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }\n System.out.printf(\"%d %d %d\\n\",min,max,sum);\n }\n\n}", "public class Main {\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n long sum = sc.nextInt();\n int min = (int)sum,max = (int)sum;\n for(int i = 1;i < n;++i){\n int a = sc.nextInt();\n if(max < a) max = a;\n else if(a < min) min = a;\n sum += a;\n }\n System.out.printf(\"%d %d %d\\n\",min,max,sum);\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long sum = sc.nextInt(); int min = (int)sum,max = (int)sum; for(int i = 1;i < n;++i){ int a = sc.nextInt(); if(max < a) max = a; else if(a < min) min = a; sum += a; } System.out.printf("%d %d %d\n",min,max,sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 17, 41, 13, 20, 13, 41, 13, 41, 13, 17, 42, 2, 13, 13, 30, 0, 13, 4, 18, 13, 14, 2, 2, 13, 40, 17, 2, 13, 17, 30, 0, 18, 13, 13, 13, 40, 13, 41, 13, 17, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 28, 13, 13, 30, 30, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 19, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 10, 32 ], [ 32, 33 ], [ 32, 34 ], [ 10, 36 ], [ 36, 37 ], [ 10, 38 ], [ 38, 39 ], [ 38, 40 ], [ 10, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 51, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 10, 68 ], [ 68, 69 ], [ 68, 70 ], [ 10, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 10, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 10, 81 ], [ 81, 82 ], [ 81, 83 ], [ 81, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 85, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 85, 102 ], [ 102, 103 ], [ 102, 104 ], [ 10, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 110, 114 ], [ 110, 115 ], [ 110, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}\n\t}", "main", "{\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}\n\t}", "try(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}", "{\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int cnt = sc.nextInt();", "cnt", "sc.nextInt()", "sc.nextInt", "sc", "if(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "cnt <0 || cnt > 10000", "cnt <0", "cnt", "0", "cnt > 10000", "cnt", "10000", "{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.exit(0)", "System.exit", "System", "0", "int[] ary = new int[cnt];", "ary", "new int[cnt]", "cnt", "int input;", "input", "int i=0;", "i", "0", "while(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}", "i<cnt", "i", "cnt", "{\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}", "input = sc.nextInt()", "input", "sc.nextInt()", "sc.nextInt", "sc", "if(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}", "input >= -1000000 && input <= 1000000", "input >= -1000000", "input", "-1000000", "1000000", "input <= 1000000", "input", "1000000", "{\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}", "ary[i] = input", "ary[i]", "ary", "i", "input", "i++", "i", "long sum =0;", "sum", "0", "int min = ary[0];", "min", "ary[0]", "ary", "0", "int max = ary[0];", "max", "ary[0]", "ary", "0", "for(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}", "int tmp", "ary", "{\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}", "{\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}", "if(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}", "tmp < min", "tmp", "min", "{\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}", "min = tmp", "min", "tmp", "if(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}", "tmp > max", "tmp", "max", "{\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}", "max = tmp", "max", "tmp", "sum += tmp", "sum", "tmp", "System.out.println(String.format(\"%d %d %d\", min,max,sum))", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d %d %d\", min,max,sum)", "String.format", "String", "\"%d %d %d\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner sc = new Scanner(System.in)){\n\n\t\t\tint cnt = sc.nextInt();\n\t\t\t\n\t\t\tif(cnt <0 || cnt > 10000) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\t\n\t\t\tint[] ary = new int[cnt];\n\t\t\tint input;\n\t\t\tint i=0;\n\t\t\twhile(i<cnt) {\n\t\t\t\tinput = sc.nextInt();\n\t\t\t\tif(input >= -1000000 && input <= 1000000) {\n\t\t\t\t\tary[i] = input;\n\t\t\t\t\ti++;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\n\t\t\t\n\t\t\tlong sum =0;\n\t\t\tint min = ary[0];\n\t\t\tint max = ary[0];\n\t\t\tfor(int tmp:ary) {\n\t\t\t\tif(tmp < min) {\n\t\t\t\t\tmin = tmp;\n\t\t\t\t}\n\t\t\t\tif(tmp > max) {\n\t\t\t\t\tmax = tmp;\n\t\t\t\t}\n\t\t\t\tsum += tmp;\n\t\t\t}\n\t\t\tSystem.out.println(String.format(\"%d %d %d\", min,max,sum));\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try(Scanner sc = new Scanner(System.in)){ int cnt = sc.nextInt(); if(cnt <0 || cnt > 10000) { System.exit(0); } int[] ary = new int[cnt]; int input; int i=0; while(i<cnt) { input = sc.nextInt(); if(input >= -1000000 && input <= 1000000) { ary[i] = input; i++; } } long sum =0; int min = ary[0]; int max = ary[0]; for(int tmp:ary) { if(tmp < min) { min = tmp; } if(tmp > max) { max = tmp; } sum += tmp; } System.out.println(String.format("%d %d %d", min,max,sum)); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 2, 4, 18, 13, 13, 40, 17, 2, 4, 18, 13, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 4, 18, 13, 13, 14, 2, 4, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 14, 2, 4, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 17, 17, 4, 18, 13, 2, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 175, 11 ], [ 175, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 18, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 35, 40 ], [ 40, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 33, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 33, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 56 ], [ 56, 57 ], [ 12, 58 ], [ 58, 59 ], [ 175, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 69, 71 ], [ 62, 72 ], [ 72, 73 ], [ 72, 74 ], [ 62, 75 ], [ 75, 76 ], [ 62, 77 ], [ 77, 78 ], [ 77, 79 ], [ 62, 80 ], [ 80, 81 ], [ 80, 82 ], [ 62, 83 ], [ 83, 84 ], [ 83, 85 ], [ 62, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 62, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 108, 109 ], [ 103, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 103, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 62, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 62, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 130, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 130, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 143, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 158, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 158, 163 ], [ 157, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 167, 168 ], [ 167, 169 ], [ 156, 170 ], [ 158, 171 ], [ 60, 172 ], [ 172, 173 ], [ 0, 174 ], [ 174, 175 ], [ 174, 176 ] ]
[ "import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static int exception(ArrayList<Integer> parse){\n\t\tint result = 0;\n\t\tfor(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args){\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n=0;\n\t\tint a=0,b=0; //int????????¨?????°\n\t\tlong sum = 0;\n\t\tString str;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ?????????????????\\?????¨????????????????´?\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\tn = scan.nextInt(); //????????°\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}\n\t\tCollections.sort(parse); //int???????????????????????????\n\t\tif(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}\n\t}\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static int exception(ArrayList<Integer> parse){\n\t\tint result = 0;\n\t\tfor(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args){\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n=0;\n\t\tint a=0,b=0; //int????????¨?????°\n\t\tlong sum = 0;\n\t\tString str;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ?????????????????\\?????¨????????????????´?\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\tn = scan.nextInt(); //????????°\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}\n\t\tCollections.sort(parse); //int???????????????????????????\n\t\tif(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}\n\t}\n\n}", "Main", "public static int exception(ArrayList<Integer> parse){\n\t\tint result = 0;\n\t\tfor(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "exception", "{\n\t\tint result = 0;\n\t\tfor(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}", "int result = 0;", "result", "0", "for(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < parse.size()", "j", "parse.size()", "parse.size", "parse", "++j", "++j", "j", "{\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}", "if(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}", "parse.get(j) < -1000000 || parse.get(j) > 1000000", "parse.get(j) < -1000000", "parse.get(j)", "parse.get", "parse", "j", "-1000000", "1000000", "parse.get(j) > 1000000", "parse.get(j)", "parse.get", "parse", "j", "1000000", "{\n\t\t\t\tresult = 0;\n\t\t\t}", "result = 0", "result", "0", "{\n\t\t\t\tresult = 1;\n\t\t\t}", "result = 1", "result", "1", "return result;", "result", "ArrayList<Integer> parse", "parse", "public static void main(String[] args){\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n=0;\n\t\tint a=0,b=0; //int????????¨?????°\n\t\tlong sum = 0;\n\t\tString str;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ?????????????????\\?????¨????????????????´?\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\tn = scan.nextInt(); //????????°\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}\n\t\tCollections.sort(parse); //int???????????????????????????\n\t\tif(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}\n\t}", "main", "{\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n=0;\n\t\tint a=0,b=0; //int????????¨?????°\n\t\tlong sum = 0;\n\t\tString str;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ?????????????????\\?????¨????????????????´?\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\tn = scan.nextInt(); //????????°\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}\n\t\tCollections.sort(parse); //int???????????????????????????\n\t\tif(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}\n\t}", "int n=0;", "n", "0", "int a=0", "a", "0", "b=0;", "b", "0", "long sum = 0;", "sum", "0", "String str;", "str", "ArrayList<String> st = new ArrayList<String>();", "st", "new ArrayList<String>()", "ArrayList<Integer> parse = new ArrayList<Integer>();", "parse", "new ArrayList<Integer>()", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}", "{\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}", "st.add(scan.next())", "st.add", "st", "scan.next()", "scan.next", "scan", "parse.add(Integer.parseInt(st.get(i)))", "parse.add", "parse", "Integer.parseInt(st.get(i))", "Integer.parseInt", "Integer", "st.get(i)", "st.get", "st", "i", "sum += parse.get(i)", "sum", "parse.get(i)", "parse.get", "parse", "i", "Collections.sort(parse)", "Collections.sort", "Collections", "parse", "if(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}", "exception(parse) == 0", "exception(parse)", "exception", "parse", "0", "{\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}", "System.out.println(\"??\\??????????????§???.???????????????.\")", "System.out.println", "System.out", "System", "System.out", "\"??\\??????????????§???.???????????????.\"", "if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}", "exception(parse) == 1", "exception(parse)", "exception", "parse", "1", "{\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}", "System.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum", "\" \"", "parse.get(n-1)", "parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum", "parse.get(0)", "parse.get", "parse", "0", "\" \"", "parse.get(n-1)", "parse.get", "parse", "n-1", "n", "1", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static int exception(ArrayList<Integer> parse){\n\t\tint result = 0;\n\t\tfor(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args){\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n=0;\n\t\tint a=0,b=0; //int????????¨?????°\n\t\tlong sum = 0;\n\t\tString str;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ?????????????????\\?????¨????????????????´?\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\tn = scan.nextInt(); //????????°\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}\n\t\tCollections.sort(parse); //int???????????????????????????\n\t\tif(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static int exception(ArrayList<Integer> parse){\n\t\tint result = 0;\n\t\tfor(int j = 0; j < parse.size(); ++j){\n\t\t\tif(parse.get(j) < -1000000 || parse.get(j) > 1000000){\n\t\t\t\tresult = 0;\n\t\t\t}\n\t\t\telse {\n\t\t\t\tresult = 1;\n\t\t\t}\n\t\t}\n\t\treturn result;\n\t}\n\tpublic static void main(String[] args){\n\t\t/**\n\t\t * ?????°?????£?¨?\n\t\t */\n\t\tint n=0;\n\t\tint a=0,b=0; //int????????¨?????°\n\t\tlong sum = 0;\n\t\tString str;\n\t\t/**\n\t\t * ???????????£?¨?\n\t\t */\n\t\tArrayList<String> st = new ArrayList<String>();\n\t\tArrayList<Integer> parse = new ArrayList<Integer>();\n\t\t/**\n\t\t * ?????????????????\\?????¨????????????????´?\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\t\tn = scan.nextInt(); //????????°\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tst.add(scan.next());\n\t\t\tparse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´?\n\t\t\tsum += parse.get(i); // ????¨????\n\t\t}\n\t\tCollections.sort(parse); //int???????????????????????????\n\t\tif(exception(parse) == 0){\n\t\t\tSystem.out.println(\"??\\??????????????§???.???????????????.\");\n\t\t}\n\t\telse if(exception(parse) == 1){\n\t\tSystem.out.println(parse.get(0)+\" \"+parse.get(n-1)+\" \"+sum);\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static int exception(ArrayList<Integer> parse){ int result = 0; for(int j = 0; j < parse.size(); ++j){ if(parse.get(j) < -1000000 || parse.get(j) > 1000000){ result = 0; } else { result = 1; } } return result; } public static void main(String[] args){ /** * ?????°?????£?¨? */ int n=0; int a=0,b=0; //int????????¨?????° long sum = 0; String str; /** * ???????????£?¨? */ ArrayList<String> st = new ArrayList<String>(); ArrayList<Integer> parse = new ArrayList<Integer>(); /** * ?????????????????\?????¨????????????????´? */ Scanner scan = new Scanner(System.in); n = scan.nextInt(); //????????° for(int i = 0;i < n; ++i){ st.add(scan.next()); parse.add(Integer.parseInt(st.get(i))); //int????????¨int????????????????´? sum += parse.get(i); // ????¨???? } Collections.sort(parse); //int??????????????????????????? if(exception(parse) == 0){ System.out.println("??\??????????????§???.???????????????."); } else if(exception(parse) == 1){ System.out.println(parse.get(0)+" "+parse.get(n-1)+" "+sum); } } }
[ 7, 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, 20, 41, 13, 20, 0, 13, 20, 41, 13, 4, 18, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 18, 13, 13, 41, 13, 40, 17, 28, 13, 13, 30, 30, 14, 2, 13, 13, 30, 0, 13, 13, 41, 13, 17, 28, 13, 13, 30, 30, 14, 2, 13, 13, 30, 0, 13, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 20, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 20, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 52 ], [ 52, 53 ], [ 53, 54 ], [ 42, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 20, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 20, 70 ], [ 70, 71 ], [ 70, 72 ], [ 70, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 20, 83 ], [ 83, 84 ], [ 83, 85 ], [ 20, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 20, 99 ], [ 99, 100 ], [ 99, 101 ], [ 20, 102 ], [ 102, 103 ], [ 102, 104 ], [ 102, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 20, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 120, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 118, 124 ], [ 120, 125 ], [ 18, 126 ], [ 126, 127 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.text.DecimalFormat;\nimport java.util.ArrayList;\n\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\ts = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tArrayList<Integer> is = new ArrayList<Integer>();\n\t\tfor(int i = 0; i< ss.length;i++){\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}\n\t\tint max = -1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tint min = 1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(Integer i:is){\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "import java.util.ArrayList;", "ArrayList", "java.util", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\ts = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tArrayList<Integer> is = new ArrayList<Integer>();\n\t\tfor(int i = 0; i< ss.length;i++){\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}\n\t\tint max = -1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tint min = 1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(Integer i:is){\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\ts = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tArrayList<Integer> is = new ArrayList<Integer>();\n\t\tfor(int i = 0; i< ss.length;i++){\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}\n\t\tint max = -1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tint min = 1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(Integer i:is){\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\n\t}", "main", "{\n\t\tDecimalFormat df1 = new DecimalFormat(\"0.000000\");\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = new String(in.readLine());\n\t\ts = new String(in.readLine());\n\t\tString[] ss = s.split(\" \");\n\t\tArrayList<Integer> is = new ArrayList<Integer>();\n\t\tfor(int i = 0; i< ss.length;i++){\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}\n\t\tint max = -1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}\n\t\tint min = 1000000;\n\t\tfor(Integer i:is){\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}\n\t\tlong sum = 0;\n\t\tfor(Integer i:is){\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\n\t}", "DecimalFormat df1 = new DecimalFormat(\"0.000000\");", "df1", "new DecimalFormat(\"0.000000\")", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "String s = new String(in.readLine());", "s", "new String(in.readLine())", "s = new String(in.readLine())", "s", "new String(in.readLine())", "String[] ss = s.split(\" \");", "ss", "s.split(\" \")", "s.split", "s", "\" \"", "ArrayList<Integer> is = new ArrayList<Integer>();", "is", "new ArrayList<Integer>()", "for(int i = 0; i< ss.length;i++){\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i< ss.length", "i", "ss.length", "ss", "ss.length", "i++", "i++", "i", "{\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}", "{\n\t\t\tis.add(Integer.parseInt(ss[i]));\n\t\t}", "is.add(Integer.parseInt(ss[i]))", "is.add", "is", "Integer.parseInt(ss[i])", "Integer.parseInt", "Integer", "ss[i]", "ss", "i", "int max = -1000000;", "max", "-1000000", "1000000", "for(Integer i:is){\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}", "Integer i", "is", "{\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}", "{\n\t\t\tif(i > max){\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\t\n\t\t}", "if(i > max){\n\t\t\t\tmax = i;\n\t\t\t}", "i > max", "i", "max", "{\n\t\t\t\tmax = i;\n\t\t\t}", "max = i", "max", "i", "int min = 1000000;", "min", "1000000", "for(Integer i:is){\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}", "Integer i", "is", "{\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i < min){\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t}", "if(i < min){\n\t\t\t\tmin = i;\n\t\t\t}", "i < min", "i", "min", "{\n\t\t\t\tmin = i;\n\t\t\t}", "min = i", "min", "i", "long sum = 0;", "sum", "0", "for(Integer i:is){\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}", "Integer i", "is", "{\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}", "{\n\t\t\tsum = sum + i;\n\t\t\t\n\t\t}", "sum = sum + i", "sum", "sum + i", "sum", "i", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.text.DecimalFormat; import java.util.ArrayList; class Main { public static void main(String[] args) throws IOException { DecimalFormat df1 = new DecimalFormat("0.000000"); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); String s = new String(in.readLine()); s = new String(in.readLine()); String[] ss = s.split(" "); ArrayList<Integer> is = new ArrayList<Integer>(); for(int i = 0; i< ss.length;i++){ is.add(Integer.parseInt(ss[i])); } int max = -1000000; for(Integer i:is){ if(i > max){ max = i; } } int min = 1000000; for(Integer i:is){ if(i < min){ min = i; } } long sum = 0; for(Integer i:is){ sum = sum + i; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 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, 4, 18, 13, 0, 13, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 78, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 90, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 102, 108 ], [ 102, 109 ], [ 102, 110 ], [ 6, 111 ], [ 111, 112 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int[] a = new int[n];\n long sum = 0;\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }\n int max = a[0];\n int min = a[0];\n for (int i = 1; i < n; i++ ) {\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int[] a = new int[n];\n long sum = 0;\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }\n int max = a[0];\n int min = a[0];\n for (int i = 1; i < n; i++ ) {\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int[] a = new int[n];\n long sum = 0;\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }\n int max = a[0];\n int min = a[0];\n for (int i = 1; i < n; i++ ) {\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int[] a = new int[n];\n long sum = 0;\n for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }\n int max = a[0];\n int min = a[0];\n for (int i = 1; i < n; i++ ) {\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = Integer.parseInt(sc.next());", "n", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int[] a = new int[n];", "a", "new int[n]", "n", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }", "{\n a[i] = Integer.parseInt(sc.next());\n sum += a[i];\n }", "a[i] = Integer.parseInt(sc.next())", "a[i]", "a", "i", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "sum += a[i]", "sum", "a[i]", "a", "i", "int max = a[0];", "max", "a[0]", "a", "0", "int min = a[0];", "min", "a[0]", "a", "0", "for (int i = 1; i < n; i++ ) {\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }", "{\n if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }\n }", "if (max < a[i]) {\n max = a[i];\n } else if (min > a[i]) {\n min = a[i];\n }", "max < a[i]", "max", "a[i]", "a", "i", "{\n max = a[i];\n }", "max = a[i]", "max", "a[i]", "a", "i", "if (min > a[i]) {\n min = a[i];\n }", "min > a[i]", "min", "a[i]", "a", "i", "{\n min = a[i];\n }", "min = a[i]", "min", "a[i]", "a", "i", "System.out.printf(\"%d %d %d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); int[] a = new int[n]; long sum = 0; for (int i = 0; i < n; i++) { a[i] = Integer.parseInt(sc.next()); sum += a[i]; } int max = a[0]; int min = a[0]; for (int i = 1; i < n; i++ ) { if (max < a[i]) { max = a[i]; } else if (min > a[i]) { min = a[i]; } } System.out.printf("%d %d %d\n", min, max, sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 41, 13, 20, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 41, 13, 4, 13, 13, 4, 18, 4, 18, 4, 18, 4, 18, 4, 18, 13, 13, 17, 13, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 41, 13, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 2, 18, 13, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 2, 13, 17, 0, 13, 18, 13, 2, 13, 17, 29, 13, 23, 13, 12, 13, 30, 41, 13, 41, 13, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 2, 18, 13, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 2, 13, 17, 0, 13, 18, 13, 2, 13, 17, 29, 13, 23, 13, 12, 13, 30, 41, 13, 41, 13, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 2, 18, 13, 13, 17, 1, 40, 13, 30, 30, 0, 13, 18, 13, 2, 13, 17, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 242, 11 ], [ 242, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 17, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 14, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 14, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 14, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 14, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 14, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 93, 99 ], [ 91, 100 ], [ 89, 101 ], [ 87, 102 ], [ 14, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 12, 109 ], [ 109, 110 ], [ 242, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 113, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 121, 133 ], [ 133, 134 ], [ 134, 135 ], [ 121, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 138, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 113, 153 ], [ 153, 154 ], [ 111, 155 ], [ 155, 156 ], [ 242, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 164, 166 ], [ 159, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 167, 179 ], [ 179, 180 ], [ 180, 181 ], [ 167, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 196, 198 ], [ 159, 199 ], [ 199, 200 ], [ 157, 201 ], [ 201, 202 ], [ 242, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 205, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 210, 212 ], [ 205, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 213, 225 ], [ 225, 226 ], [ 226, 227 ], [ 213, 228 ], [ 229, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 234, 236 ], [ 205, 237 ], [ 237, 238 ], [ 203, 239 ], [ 239, 240 ], [ 0, 241 ], [ 241, 242 ], [ 241, 243 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main (String[] args) throws IOException {\n int c;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n\n String data = reader.readLine();\n c = Integer.parseInt(data);\n int[] array = new int[c];\n\n data = reader.readLine();\n String[] number = data.split(\" \");\n for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }\n int max = Max(array);\n int min = Min(array);\n long sum = Sum(array);\n builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum);\n System.out.println(builder);\n \n }\n public static int Max (int[] array){\n int i;\n int max = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }\n return max;\n }\n public static int Min (int[] array){\n int i;\n int min = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }\n return min;\n }\n public static long Sum (int[] array){\n int i;\n long sum = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }\n return sum;\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main (String[] args) throws IOException {\n int c;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n\n String data = reader.readLine();\n c = Integer.parseInt(data);\n int[] array = new int[c];\n\n data = reader.readLine();\n String[] number = data.split(\" \");\n for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }\n int max = Max(array);\n int min = Min(array);\n long sum = Sum(array);\n builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum);\n System.out.println(builder);\n \n }\n public static int Max (int[] array){\n int i;\n int max = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }\n return max;\n }\n public static int Min (int[] array){\n int i;\n int min = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }\n return min;\n }\n public static long Sum (int[] array){\n int i;\n long sum = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }\n return sum;\n }\n}", "Main", "public static void main (String[] args) throws IOException {\n int c;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n\n String data = reader.readLine();\n c = Integer.parseInt(data);\n int[] array = new int[c];\n\n data = reader.readLine();\n String[] number = data.split(\" \");\n for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }\n int max = Max(array);\n int min = Min(array);\n long sum = Sum(array);\n builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum);\n System.out.println(builder);\n \n }", "main", "{\n int c;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n\n String data = reader.readLine();\n c = Integer.parseInt(data);\n int[] array = new int[c];\n\n data = reader.readLine();\n String[] number = data.split(\" \");\n for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }\n int max = Max(array);\n int min = Min(array);\n long sum = Sum(array);\n builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum);\n System.out.println(builder);\n \n }", "int c;", "c", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder builder = new StringBuilder();", "builder", "new StringBuilder()", "String data = reader.readLine();", "data", "reader.readLine()", "reader.readLine", "reader", "c = Integer.parseInt(data)", "c", "Integer.parseInt(data)", "Integer.parseInt", "Integer", "data", "int[] array = new int[c];", "array", "new int[c]", "c", "data = reader.readLine()", "data", "reader.readLine()", "reader.readLine", "reader", "String[] number = data.split(\" \");", "number", "data.split(\" \")", "data.split", "data", "\" \"", "for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < c", "i", "c", "i++", "i++", "i", "{\n array[i] = Integer.parseInt(number[i]);\n }", "{\n array[i] = Integer.parseInt(number[i]);\n }", "array[i] = Integer.parseInt(number[i])", "array[i]", "array", "i", "Integer.parseInt(number[i])", "Integer.parseInt", "Integer", "number[i]", "number", "i", "int max = Max(array);", "max", "Max(array)", "Max", "array", "int min = Min(array);", "min", "Min(array)", "Min", "array", "long sum = Sum(array);", "sum", "Sum(array)", "Sum", "array", "builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum)", "builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append", "builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")", "builder\n .append(min)\n .append(\" \")\n .append(max)\n .append", "builder\n .append(min)\n .append(\" \")\n .append(max)", "builder\n .append(min)\n .append(\" \")\n .append", "builder\n .append(min)\n .append(\" \")", "builder\n .append(min)\n .append", "builder\n .append(min)", "builder\n .append", "builder", "min", "\" \"", "max", "\" \"", "sum", "System.out.println(builder)", "System.out.println", "System.out", "System", "System.out", "builder", "String[] args", "args", "public static int Max (int[] array){\n int i;\n int max = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }\n return max;\n }", "Max", "{\n int i;\n int max = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }\n return max;\n }", "int i;", "i", "int max = array[0];", "max", "array[0]", "array", "0", "for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }", "i = 0;", "i = 0", "i", "0", "i < array.length-1", "i", "array.length-1", "array.length", "array", "array.length", "1", "i++", "i++", "i", "{\n if ( max < array[i+1])\n max = array[i+1];\n }", "{\n if ( max < array[i+1])\n max = array[i+1];\n }", "if ( max < array[i+1])\n max = array[i+1];", "max < array[i+1]", "max", "array[i+1]", "array", "i+1", "i", "1", "max = array[i+1]", "max", "array[i+1]", "array", "i+1", "i", "1", "return max;", "max", "int[] array", "array", "public static int Min (int[] array){\n int i;\n int min = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }\n return min;\n }", "Min", "{\n int i;\n int min = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }\n return min;\n }", "int i;", "i", "int min = array[0];", "min", "array[0]", "array", "0", "for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }", "i = 0;", "i = 0", "i", "0", "i < array.length-1", "i", "array.length-1", "array.length", "array", "array.length", "1", "i++", "i++", "i", "{\n if ( min > array[i+1])\n min = array[i+1];\n }", "{\n if ( min > array[i+1])\n min = array[i+1];\n }", "if ( min > array[i+1])\n min = array[i+1];", "min > array[i+1]", "min", "array[i+1]", "array", "i+1", "i", "1", "min = array[i+1]", "min", "array[i+1]", "array", "i+1", "i", "1", "return min;", "min", "int[] array", "array", "public static long Sum (int[] array){\n int i;\n long sum = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }\n return sum;\n }", "Sum", "{\n int i;\n long sum = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }\n return sum;\n }", "int i;", "i", "long sum = array[0];", "sum", "array[0]", "array", "0", "for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }", "i = 0;", "i = 0", "i", "0", "i < array.length-1", "i", "array.length-1", "array.length", "array", "array.length", "1", "i++", "i++", "i", "{\n sum += array[i+1];\n }", "{\n sum += array[i+1];\n }", "sum += array[i+1]", "sum", "array[i+1]", "array", "i+1", "i", "1", "return sum;", "sum", "int[] array", "array", "public class Main {\n public static void main (String[] args) throws IOException {\n int c;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n\n String data = reader.readLine();\n c = Integer.parseInt(data);\n int[] array = new int[c];\n\n data = reader.readLine();\n String[] number = data.split(\" \");\n for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }\n int max = Max(array);\n int min = Min(array);\n long sum = Sum(array);\n builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum);\n System.out.println(builder);\n \n }\n public static int Max (int[] array){\n int i;\n int max = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }\n return max;\n }\n public static int Min (int[] array){\n int i;\n int min = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }\n return min;\n }\n public static long Sum (int[] array){\n int i;\n long sum = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }\n return sum;\n }\n}", "public class Main {\n public static void main (String[] args) throws IOException {\n int c;\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder builder = new StringBuilder(); \n\n String data = reader.readLine();\n c = Integer.parseInt(data);\n int[] array = new int[c];\n\n data = reader.readLine();\n String[] number = data.split(\" \");\n for (int i = 0; i < c ; i++ ) {\n array[i] = Integer.parseInt(number[i]);\n }\n int max = Max(array);\n int min = Min(array);\n long sum = Sum(array);\n builder\n .append(min)\n .append(\" \")\n .append(max)\n .append(\" \")\n .append(sum);\n System.out.println(builder);\n \n }\n public static int Max (int[] array){\n int i;\n int max = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( max < array[i+1])\n max = array[i+1];\n }\n return max;\n }\n public static int Min (int[] array){\n int i;\n int min = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n if ( min > array[i+1])\n min = array[i+1];\n }\n return min;\n }\n public static long Sum (int[] array){\n int i;\n long sum = array[0];\n for (i = 0; i < array.length-1 ; i++ ) {\n sum += array[i+1];\n }\n return sum;\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main (String[] args) throws IOException { int c; BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); StringBuilder builder = new StringBuilder(); String data = reader.readLine(); c = Integer.parseInt(data); int[] array = new int[c]; data = reader.readLine(); String[] number = data.split(" "); for (int i = 0; i < c ; i++ ) { array[i] = Integer.parseInt(number[i]); } int max = Max(array); int min = Min(array); long sum = Sum(array); builder .append(min) .append(" ") .append(max) .append(" ") .append(sum); System.out.println(builder); } public static int Max (int[] array){ int i; int max = array[0]; for (i = 0; i < array.length-1 ; i++ ) { if ( max < array[i+1]) max = array[i+1]; } return max; } public static int Min (int[] array){ int i; int min = array[0]; for (i = 0; i < array.length-1 ; i++ ) { if ( min > array[i+1]) min = array[i+1]; } return min; } public static long Sum (int[] array){ int i; long sum = array[0]; for (i = 0; i < array.length-1 ; i++ ) { sum += array[i+1]; } return sum; } }
[ 7, 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, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 13, 41, 13, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 108, 11 ], [ 108, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 48, 50 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 63, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 63, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 63, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 14, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 99, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 97, 103 ], [ 99, 104 ], [ 12, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int max=a;\n int min=a;\n long total=a;\n for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int max=a;\n int min=a;\n long total=a;\n for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int max=a;\n int min=a;\n long total=a;\n for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int max=a;\n int min=a;\n long total=a;\n for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String str[] = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int a = Integer.parseInt(str[0]);", "a", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int max=a;", "max", "a", "int min=a;", "min", "a", "long total=a;", "total", "a", "for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }", "{\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }", "int b = Integer.parseInt(str[i]);", "b", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "if(max<b) max=b;", "max<b", "max", "b", "max=b", "max", "b", "if(min>b) min=b;", "min>b", "min", "b", "min=b", "min", "b", "total = total + b", "total", "total + b", "total", "b", "System.out.println(min+\" \"+max+\" \"+total)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+total", "\" \"", "max", "min+\" \"+max+\" \"+total", "min", "\" \"", "max", "\" \"", "total", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int max=a;\n int min=a;\n long total=a;\n for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str[] = br.readLine().split(\" \");\n int a = Integer.parseInt(str[0]);\n int max=a;\n int min=a;\n long total=a;\n for(int i=1;i<n;i++){\n int b = Integer.parseInt(str[i]);\n if(max<b) max=b;\n if(min>b) min=b;\n total = total + b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "Main" ]
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 n = Integer.parseInt(br.readLine()); String str[] = br.readLine().split(" "); int a = Integer.parseInt(str[0]); int max=a; int min=a; long total=a; for(int i=1;i<n;i++){ int b = Integer.parseInt(str[i]); if(max<b) max=b; if(min>b) min=b; total = total + b; } System.out.println(min+" "+max+" "+total); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 13, 14, 2, 13, 17, 30, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 106, 5 ], [ 106, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 42, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 42, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 42, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 94, 100 ], [ 94, 101 ], [ 94, 102 ], [ 6, 103 ], [ 103, 104 ], [ 0, 105 ], [ 105, 106 ], [ 105, 107 ] ]
[ "import 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 = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tint max = 0, min = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tint max = 0, min = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tint max = 0, min = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tint max = 0, min = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int[] number = new int[n];", "number", "new int[n]", "n", "int max = 0", "max", "0", "min = 0;", "min", "0", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}", "{\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}", "number[i] = scan.nextInt()", "number[i]", "number", "i", "scan.nextInt()", "scan.nextInt", "scan", "if(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}", "max = number[0]", "max", "number[0]", "number", "0", "min = number[0]", "min", "number[0]", "number", "0", "if(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}", "max < number[i]", "max", "number[i]", "number", "i", "{\n\t\t\t\tmax = number[i];\n\t\t\t}", "max = number[i]", "max", "number[i]", "number", "i", "if(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}", "min > number[i]", "min", "number[i]", "number", "i", "{\n\t\t\t\tmin = number[i];\n\t\t\t}", "min = number[i]", "min", "number[i]", "number", "i", "sum+= number[i]", "sum", "number[i]", "number", "i", "System.out.printf(\"%d %d %d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tint max = 0, min = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] number = new int[n];\n\t\tint max = 0, min = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tnumber[i] = scan.nextInt();\n\t\t\tif(i == 0){\n\t\t\t\tmax = number[0];\n\t\t\t\tmin = number[0];\n\t\t\t}\n\t\t\tif(max < number[i]){\n\t\t\t\tmax = number[i];\n\t\t\t}\n\t\t\tif(min > number[i]){\n\t\t\t\tmin = number[i];\n\t\t\t}\n\t\t\tsum+= number[i];\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] number = new int[n]; int max = 0, min = 0; long sum = 0; for(int i = 0; i < n; i++){ number[i] = scan.nextInt(); if(i == 0){ max = number[0]; min = number[0]; } if(max < number[i]){ max = number[i]; } if(min > number[i]){ min = number[i]; } sum+= number[i]; } System.out.printf("%d %d %d\n", min, max, sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 2, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 12, 13, 30, 4, 18, 20, 23, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 27, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 51, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 51, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 97, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 95, 101 ], [ 97, 102 ], [ 4, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 103, 109 ], [ 109, 110 ] ]
[ "import java.util.Scanner;\nclass Main {\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong gou = 0;\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0){\n\t\t\tmin = 0;\n\t\t\tmax = 0;\n\t\t}else {\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + gou);\n\t}\n\n public static void main(String[] args) {\n\t\tnew Main().kami();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong gou = 0;\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0){\n\t\t\tmin = 0;\n\t\t\tmax = 0;\n\t\t}else {\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + gou);\n\t}\n\n public static void main(String[] args) {\n\t\tnew Main().kami();\n\t}\n\n}", "Main", "public void kami() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong gou = 0;\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0){\n\t\t\tmin = 0;\n\t\t\tmax = 0;\n\t\t}else {\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + gou);\n\t}", "kami", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong gou = 0;\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0){\n\t\t\tmin = 0;\n\t\t\tmax = 0;\n\t\t}else {\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + gou);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long gou = 0;", "gou", "0", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "if(n == 0){\n\t\t\tmin = 0;\n\t\t\tmax = 0;\n\t\t}else {\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "n == 0", "n", "0", "{\n\t\t\tmin = 0;\n\t\t\tmax = 0;\n\t\t}", "min = 0", "min", "0", "max = 0", "max", "0", "{\n\t\t\tfor(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int i = 1; i <= n; i++){\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tgou = ai + gou;\n\t\t\t\t\n\t\t\t\tif(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tif(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t}", "int ai = sc.nextInt();", "ai", "sc.nextInt()", "sc.nextInt", "sc", "gou = ai + gou", "gou", "ai + gou", "ai", "gou", "if(n == 1){\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "n == 1", "n", "1", "{\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "min = ai", "min", "ai", "max = ai", "max", "ai", "if(ai < min){\n\t\t\t\t\tmin = ai;\n\t\t\t\t}else if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "ai < min", "ai", "min", "{\n\t\t\t\t\tmin = ai;\n\t\t\t\t}", "min = ai", "min", "ai", "if(ai > max){\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "ai > max", "ai", "max", "{\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "max = ai", "max", "ai", "System.out.println(min + \" \" + max + \" \" + gou)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + gou", "\" \"", "max", "min + \" \" + max + \" \" + gou", "min", "\" \"", "max", "\" \"", "gou", "public static void main(String[] args) {\n\t\tnew Main().kami();\n\t}", "main", "{\n\t\tnew Main().kami();\n\t}", "new Main().kami()", "new Main().kami", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main { public void kami() { Scanner sc = new Scanner(System.in); long gou = 0; int min = 1000000; int max = -1000000; int n = sc.nextInt(); if(n == 0){ min = 0; max = 0; }else { for(int i = 1; i <= n; i++){ int ai = sc.nextInt(); gou = ai + gou; if(n == 1){ min = ai; max = ai; } if(ai < min){ min = ai; }else if(ai > max){ max = ai; } } } System.out.println(min + " " + max + " " + gou); } public static void main(String[] args) { new Main().kami(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 20, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 0, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 17, 17, 18, 13, 2, 13, 17, 17, 13, 23, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 11, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 73, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 71, 83 ], [ 73, 84 ], [ 9, 85 ], [ 85, 86 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long[] array=new long[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n long sum=0;\n for(int i=0;i<n;i++){ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[n-1]+\" \"+sum);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long[] array=new long[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n long sum=0;\n for(int i=0;i<n;i++){ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[n-1]+\" \"+sum);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long[] array=new long[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n long sum=0;\n for(int i=0;i<n;i++){ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[n-1]+\" \"+sum);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n=Integer.parseInt(br.readLine());\n long[] array=new long[n];\n StringTokenizer st=new StringTokenizer(br.readLine());\n long sum=0;\n for(int i=0;i<n;i++){ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[n-1]+\" \"+sum);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n=Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "long[] array=new long[n];", "array", "new long[n]", "n", "StringTokenizer st=new StringTokenizer(br.readLine());", "st", "new StringTokenizer(br.readLine())", "long sum=0;", "sum", "0", "for(int i=0;i<n;i++){ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }", "{ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; }", "array[i]=Long.parseLong(st.nextToken())", "array[i]", "array", "i", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "sum+=array[i]", "sum", "array[i]", "array", "i", "Arrays.sort(array)", "Arrays.sort", "Arrays", "array", "System.out.println(array[0]+\" \"+array[n-1]+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "array[0]+\" \"+array[n-1]+\" \"+sum", "\" \"", "array[n-1]", "array[0]+\" \"+array[n-1]+\" \"+sum", "array[0]", "array", "0", "\" \"", "array[n-1]", "array", "n-1", "n", "1", "\" \"", "sum", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); long[] array=new long[n]; StringTokenizer st=new StringTokenizer(br.readLine()); long sum=0; for(int i=0;i<n;i++){ array[i]=Long.parseLong(st.nextToken()); sum+=array[i]; } Arrays.sort(array); System.out.println(array[0]+" "+array[n-1]+" "+sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 17, 30, 0, 13, 0, 13, 0, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 14, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 70, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 82, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 82, 99 ], [ 99, 100 ], [ 99, 101 ], [ 14, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 14, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 14, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 14, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 14, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 12, 138 ], [ 138, 139 ] ]
[ "/* package whatever; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tBufferedReader r =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s = r.readLine();\n int size = Integer.parseInt(s);\n long min = 0,max = 0,sum = 0;\n s = r.readLine();\n String[] strData = s.split(\" \");\n for (int count = 0; count < size; count++){\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }\n System.out.print(min);\n System.out.print(\" \");\n System.out.print(max);\n System.out.print(\" \");\n System.out.print(sum);\n System.out.print(\"\\n\");\n }\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tBufferedReader r =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s = r.readLine();\n int size = Integer.parseInt(s);\n long min = 0,max = 0,sum = 0;\n s = r.readLine();\n String[] strData = s.split(\" \");\n for (int count = 0; count < size; count++){\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }\n System.out.print(min);\n System.out.print(\" \");\n System.out.print(max);\n System.out.print(\" \");\n System.out.print(sum);\n System.out.print(\"\\n\");\n }\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tBufferedReader r =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s = r.readLine();\n int size = Integer.parseInt(s);\n long min = 0,max = 0,sum = 0;\n s = r.readLine();\n String[] strData = s.split(\" \");\n for (int count = 0; count < size; count++){\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }\n System.out.print(min);\n System.out.print(\" \");\n System.out.print(max);\n System.out.print(\" \");\n System.out.print(sum);\n System.out.print(\"\\n\");\n }", "main", "{\n\t\t// your code goes here\n\t\tBufferedReader r =\n new BufferedReader(new InputStreamReader(System.in), 1);\n String s = r.readLine();\n int size = Integer.parseInt(s);\n long min = 0,max = 0,sum = 0;\n s = r.readLine();\n String[] strData = s.split(\" \");\n for (int count = 0; count < size; count++){\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }\n System.out.print(min);\n System.out.print(\" \");\n System.out.print(max);\n System.out.print(\" \");\n System.out.print(sum);\n System.out.print(\"\\n\");\n }", "BufferedReader r =\n new BufferedReader(new InputStreamReader(System.in), 1);", "r", "new BufferedReader(new InputStreamReader(System.in), 1)", "String s = r.readLine();", "s", "r.readLine()", "r.readLine", "r", "int size = Integer.parseInt(s);", "size", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "long min = 0", "min", "0", "max = 0", "max", "0", "sum = 0;", "sum", "0", "s = r.readLine()", "s", "r.readLine()", "r.readLine", "r", "String[] strData = s.split(\" \");", "strData", "s.split(\" \")", "s.split", "s", "\" \"", "for (int count = 0; count < size; count++){\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }", "int count = 0;", "int count = 0;", "count", "0", "count < size", "count", "size", "count++", "count++", "count", "{\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }", "{\n \t\tlong tmp = Long.parseLong(strData[count]);\n \t\tif(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}\n }", "long tmp = Long.parseLong(strData[count]);", "tmp", "Long.parseLong(strData[count])", "Long.parseLong", "Long", "strData[count]", "strData", "count", "if(count == 0){\n \t\t\tmin = max = sum = tmp;\n \t\t} else {\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}", "count == 0", "count", "0", "{\n \t\t\tmin = max = sum = tmp;\n \t\t}", "min = max = sum = tmp", "min", "max = sum = tmp", "max", "sum = tmp", "sum", "tmp", "{\n \t\t\tif (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}\n \t\t\tif (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}\n \t\t\tsum += tmp;\n \t\t}", "if (min > tmp) {\n \t\t\t\tmin = tmp;\n \t\t\t}", "min > tmp", "min", "tmp", "{\n \t\t\t\tmin = tmp;\n \t\t\t}", "min = tmp", "min", "tmp", "if (max < tmp) {\n \t\t\t\tmax = tmp;\n \t\t\t}", "max < tmp", "max", "tmp", "{\n \t\t\t\tmax = tmp;\n \t\t\t}", "max = tmp", "max", "tmp", "sum += tmp", "sum", "tmp", "System.out.print(min)", "System.out.print", "System.out", "System", "System.out", "min", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(max)", "System.out.print", "System.out", "System", "System.out", "max", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "String[] args", "args" ]
/* package whatever; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { // your code goes here BufferedReader r = new BufferedReader(new InputStreamReader(System.in), 1); String s = r.readLine(); int size = Integer.parseInt(s); long min = 0,max = 0,sum = 0; s = r.readLine(); String[] strData = s.split(" "); for (int count = 0; count < size; count++){ long tmp = Long.parseLong(strData[count]); if(count == 0){ min = max = sum = tmp; } else { if (min > tmp) { min = tmp; } if (max < tmp) { max = tmp; } sum += tmp; } } System.out.print(min); System.out.print(" "); System.out.print(max); System.out.print(" "); System.out.print(sum); System.out.print("\n"); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 17, 41, 13, 40, 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, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 4, 18, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 43, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 43, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 43, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 74, 80 ], [ 74, 81 ], [ 74, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 6, 86 ], [ 86, 87 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tlong sum=0;\n\t\tint max=-1000000,min=1000000;\n\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}\n\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tlong sum=0;\n\t\tint max=-1000000,min=1000000;\n\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}\n\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tlong sum=0;\n\t\tint max=-1000000,min=1000000;\n\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}\n\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\n\t\tscan.close();\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] a = new int[n];\n\t\tlong sum=0;\n\t\tint max=-1000000,min=1000000;\n\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}\n\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int[] a = new int[n];", "a", "new int[n]", "n", "long sum=0;", "sum", "0", "int max=-1000000", "max", "-1000000", "1000000", "min=1000000;", "min", "1000000", "for(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}", "{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tmin = Math.min(min, a[i]);\n\t\t}", "a[i] = scan.nextInt()", "a[i]", "a", "i", "scan.nextInt()", "scan.nextInt", "scan", "sum += a[i]", "sum", "a[i]", "a", "i", "max = Math.max(max, a[i])", "max", "Math.max(max, a[i])", "Math.max", "Math", "max", "a[i]", "a", "i", "min = Math.min(min, a[i])", "min", "Math.min(min, a[i])", "Math.min", "Math", "min", "a[i]", "a", "i", "System.out.printf(\"%d %d %d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "scan.close()", "scan.close", "scan", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] a = new int[n]; long sum=0; int max=-1000000,min=1000000; for(int i=0; i<n; i++) { a[i] = scan.nextInt(); sum += a[i]; max = Math.max(max, a[i]); min = Math.min(min, a[i]); } System.out.printf("%d %d %d\n", min, max, sum); scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 11, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 11, 54 ], [ 54, 55 ], [ 54, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 69, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 69, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 11, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 99, 105 ], [ 99, 106 ], [ 99, 107 ], [ 9, 108 ], [ 108, 109 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] array = new int[n];\n \n for (int i = 0; i < n ; i++) {\n array[i] = sc.nextInt();\n }\n \n int max = array[0];\n int min = array[0];\n long sum = 0;\n \n for (int i = 0; i < n; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }\n \n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] array = new int[n];\n \n for (int i = 0; i < n ; i++) {\n array[i] = sc.nextInt();\n }\n \n int max = array[0];\n int min = array[0];\n long sum = 0;\n \n for (int i = 0; i < n; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }\n \n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] array = new int[n];\n \n for (int i = 0; i < n ; i++) {\n array[i] = sc.nextInt();\n }\n \n int max = array[0];\n int min = array[0];\n long sum = 0;\n \n for (int i = 0; i < n; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }\n \n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int[] array = new int[n];\n \n for (int i = 0; i < n ; i++) {\n array[i] = sc.nextInt();\n }\n \n int max = array[0];\n int min = array[0];\n long sum = 0;\n \n for (int i = 0; i < n; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }\n \n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] array = new int[n];", "array", "new int[n]", "n", "for (int i = 0; i < n ; i++) {\n array[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n array[i] = sc.nextInt();\n }", "{\n array[i] = sc.nextInt();\n }", "array[i] = sc.nextInt()", "array[i]", "array", "i", "sc.nextInt()", "sc.nextInt", "sc", "int max = array[0];", "max", "array[0]", "array", "0", "int min = array[0];", "min", "array[0]", "array", "0", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }", "{\n if (max < array[i]) {\n max = array[i];\n }\n if (min > array[i]) {\n min = array[i];\n }\n sum += array[i];\n }", "if (max < array[i]) {\n max = array[i];\n }", "max < array[i]", "max", "array[i]", "array", "i", "{\n max = array[i];\n }", "max = array[i]", "max", "array[i]", "array", "i", "if (min > array[i]) {\n min = array[i];\n }", "min > array[i]", "min", "array[i]", "array", "i", "{\n min = array[i];\n }", "min = array[i]", "min", "array[i]", "array", "i", "sum += array[i]", "sum", "array[i]", "array", "i", "System.out.printf(\"%d %d %d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] array = new int[n]; for (int i = 0; i < n ; i++) { array[i] = sc.nextInt(); } int max = array[0]; int min = array[0]; long sum = 0; for (int i = 0; i < n; i++) { if (max < array[i]) { max = array[i]; } if (min > array[i]) { min = array[i]; } sum += array[i]; } System.out.printf("%d %d %d\n", min, max, sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 41, 13, 20, 0, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 20, 0, 13, 4, 18, 13, 20, 0, 13, 4, 18, 13, 20, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 4, 18, 13, 20, 30, 0, 13, 4, 18, 13, 20, 14, 2, 13, 4, 18, 13, 20, 30, 0, 13, 4, 18, 13, 20, 0, 13, 4, 18, 13, 20, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 134, 8 ], [ 134, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 11, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 11, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 11, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 11, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 11, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 83, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 83, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 82, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 11, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 125, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 125, 130 ], [ 9, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, min, max, cnt;\n\t\tlong sum = 0;\n\t\tArrayList<Integer> I = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}\n\t\tmax = I.get(new Integer(0));\n\t\tmin = I.get(new Integer(0));\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, min, max, cnt;\n\t\tlong sum = 0;\n\t\tArrayList<Integer> I = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}\n\t\tmax = I.get(new Integer(0));\n\t\tmin = I.get(new Integer(0));\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint n, i, min, max, cnt;\n\t\tlong sum = 0;\n\t\tArrayList<Integer> I = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}\n\t\tmax = I.get(new Integer(0));\n\t\tmin = I.get(new Integer(0));\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tint n, i, min, max, cnt;\n\t\tlong sum = 0;\n\t\tArrayList<Integer> I = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}\n\t\tmax = I.get(new Integer(0));\n\t\tmin = I.get(new Integer(0));\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "int n", "n", "i", "i", "min", "min", "max", "max", "cnt;", "cnt", "long sum = 0;", "sum", "0", "ArrayList<Integer> I = new ArrayList<Integer>();", "I", "new ArrayList<Integer>()", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}", "cnt = 0;", "cnt = 0", "cnt", "0", "cnt < n", "cnt", "n", "cnt++", "cnt++", "cnt", "{\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}", "{\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}", "i = sc.nextInt()", "i", "sc.nextInt()", "sc.nextInt", "sc", "I.add(new Integer(i))", "I.add", "I", "new Integer(i)", "max = I.get(new Integer(0))", "max", "I.get(new Integer(0))", "I.get", "I", "new Integer(0)", "min = I.get(new Integer(0))", "min", "I.get(new Integer(0))", "I.get", "I", "new Integer(0)", "for(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}", "cnt = 0;", "cnt = 0", "cnt", "0", "cnt < n", "cnt", "n", "cnt++", "cnt++", "cnt", "{\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}", "{\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}", "if(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}", "min > I.get(new Integer(cnt))", "min", "I.get(new Integer(cnt))", "I.get", "I", "new Integer(cnt)", "{\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}", "min = I.get(new Integer(cnt))", "min", "I.get(new Integer(cnt))", "I.get", "I", "new Integer(cnt)", "if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}", "max < I.get(new Integer(cnt))", "max", "I.get(new Integer(cnt))", "I.get", "I", "new Integer(cnt)", "{\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}", "max = I.get(new Integer(cnt))", "max", "I.get(new Integer(cnt))", "I.get", "I", "new Integer(cnt)", "sum += I.get(new Integer(cnt))", "sum", "I.get(new Integer(cnt))", "I.get", "I", "new Integer(cnt)", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, min, max, cnt;\n\t\tlong sum = 0;\n\t\tArrayList<Integer> I = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}\n\t\tmax = I.get(new Integer(0));\n\t\tmin = I.get(new Integer(0));\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n, i, min, max, cnt;\n\t\tlong sum = 0;\n\t\tArrayList<Integer> I = new ArrayList<Integer>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\ti = sc.nextInt();\n\t\t\tI.add(new Integer(i));\n\t\t}\n\t\tmax = I.get(new Integer(0));\n\t\tmin = I.get(new Integer(0));\n\t\tfor(cnt = 0; cnt < n; cnt++){\n\t\t\tif(min > I.get(new Integer(cnt))){\n\t\t\t\tmin = I.get(new Integer(cnt));\n\t\t\t}else if(max < I.get(new Integer(cnt))){\n\t\t\t\tmax = I.get(new Integer(cnt));\n\t\t\t}\n\t\t\tsum += I.get(new Integer(cnt));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { int n, i, min, max, cnt; long sum = 0; ArrayList<Integer> I = new ArrayList<Integer>(); Scanner sc = new Scanner(System.in); n = sc.nextInt(); for(cnt = 0; cnt < n; cnt++){ i = sc.nextInt(); I.add(new Integer(i)); } max = I.get(new Integer(0)); min = I.get(new Integer(0)); for(cnt = 0; cnt < n; cnt++){ if(min > I.get(new Integer(cnt))){ min = I.get(new Integer(cnt)); }else if(max < I.get(new Integer(cnt))){ max = I.get(new Integer(cnt)); } sum += I.get(new Integer(cnt)); } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 14, 2, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 47, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 62, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 61, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 75, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 61, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 102, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 102, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 6, 111 ], [ 111, 112 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n \n List<Integer> array = new ArrayList<Integer>();\n while (scan.hasNext()) {\n int i = scan.nextInt();\n array.add(i);\n }\n \n for(int j=0; j<array.size(); j++) {\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }\n \n System.out.println(min +\" \"+ max +\" \"+ sum);\n scan.close();\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n \n List<Integer> array = new ArrayList<Integer>();\n while (scan.hasNext()) {\n int i = scan.nextInt();\n array.add(i);\n }\n \n for(int j=0; j<array.size(); j++) {\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }\n \n System.out.println(min +\" \"+ max +\" \"+ sum);\n scan.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n \n List<Integer> array = new ArrayList<Integer>();\n while (scan.hasNext()) {\n int i = scan.nextInt();\n array.add(i);\n }\n \n for(int j=0; j<array.size(); j++) {\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }\n \n System.out.println(min +\" \"+ max +\" \"+ sum);\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n \n List<Integer> array = new ArrayList<Integer>();\n while (scan.hasNext()) {\n int i = scan.nextInt();\n array.add(i);\n }\n \n for(int j=0; j<array.size(); j++) {\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }\n \n System.out.println(min +\" \"+ max +\" \"+ sum);\n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "int max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long sum = 0;", "sum", "0", "List<Integer> array = new ArrayList<Integer>();", "array", "new ArrayList<Integer>()", "while (scan.hasNext()) {\n int i = scan.nextInt();\n array.add(i);\n }", "scan.hasNext()", "scan.hasNext", "scan", "{\n int i = scan.nextInt();\n array.add(i);\n }", "int i = scan.nextInt();", "i", "scan.nextInt()", "scan.nextInt", "scan", "array.add(i)", "array.add", "array", "i", "for(int j=0; j<array.size(); j++) {\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }", "int j=0;", "int j=0;", "j", "0", "j<array.size()", "j", "array.size()", "array.size", "array", "j++", "j++", "j", "{\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }", "{\n if(min > array.get(j)) min = array.get(j);\n if(max < array.get(j)) max = array.get(j);\n sum += array.get(j);\n }", "if(min > array.get(j)) min = array.get(j);", "min > array.get(j)", "min", "array.get(j)", "array.get", "array", "j", "min = array.get(j)", "min", "array.get(j)", "array.get", "array", "j", "if(max < array.get(j)) max = array.get(j);", "max < array.get(j)", "max", "array.get(j)", "array.get", "array", "j", "max = array.get(j)", "max", "array.get(j)", "array.get", "array", "j", "sum += array.get(j)", "sum", "array.get(j)", "array.get", "array", "j", "System.out.println(min +\" \"+ max +\" \"+ sum)", "System.out.println", "System.out", "System", "System.out", "min +\" \"+ max +\" \"+ sum", "\" \"", "max", "min +\" \"+ max +\" \"+ sum", "min", "\" \"", "max", "\" \"", "sum", "scan.close()", "scan.close", "scan", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int min = Integer.MAX_VALUE; int max = Integer.MIN_VALUE; long sum = 0; List<Integer> array = new ArrayList<Integer>(); while (scan.hasNext()) { int i = scan.nextInt(); array.add(i); } for(int j=0; j<array.size(); j++) { if(min > array.get(j)) min = array.get(j); if(max < array.get(j)) max = array.get(j); sum += array.get(j); } System.out.println(min +" "+ max +" "+ sum); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 22, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 50, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 50, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 50, 73 ], [ 73, 74 ], [ 73, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 84, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 84, 89 ], [ 6, 90 ], [ 90, 91 ] ]
[ "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 int N = Integer.parseInt(br.readLine());\n String[] ary = br.readLine().split(\" \");\n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n for(int i=0;i<N;i++){\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int N = Integer.parseInt(br.readLine());\n String[] ary = br.readLine().split(\" \");\n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n for(int i=0;i<N;i++){\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int N = Integer.parseInt(br.readLine());\n String[] ary = br.readLine().split(\" \");\n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n for(int i=0;i<N;i++){\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n int N = Integer.parseInt(br.readLine());\n String[] ary = br.readLine().split(\" \");\n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n for(int i=0;i<N;i++){\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int N = Integer.parseInt(br.readLine());", "N", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] ary = br.readLine().split(\" \");", "ary", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "for(int i=0;i<N;i++){\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }", "{\n int num = Integer.parseInt(ary[i]);\n if(num<min) min = num;\n if(num>max) max = num;\n sum += num;\n }", "int num = Integer.parseInt(ary[i]);", "num", "Integer.parseInt(ary[i])", "Integer.parseInt", "Integer", "ary[i]", "ary", "i", "if(num<min) min = num;", "num<min", "num", "min", "min = num", "min", "num", "if(num>max) max = num;", "num>max", "num", "max", "max = num", "max", "num", "sum += num", "sum", "num", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
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()); String[] ary = br.readLine().split(" "); int min = 1000000; int max = -1000000; long sum = 0; for(int i=0;i<N;i++){ int num = Integer.parseInt(ary[i]); if(num<min) min = num; if(num>max) max = num; sum += num; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 42, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 42, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 42, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 76, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 76, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0;\n\t\tfor(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0;\n\t\tfor(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0;\n\t\tfor(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0;\n\t\tfor(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "Scanner std = new Scanner(System.in);", "std", "new Scanner(System.in)", "int n = Integer.parseInt(std.next());", "n", "Integer.parseInt(std.next())", "Integer.parseInt", "Integer", "std.next()", "std.next", "std", "int max = -1000001;", "max", "-1000001", "1000001", "int min = 1000001;", "min", "1000001", "long sum = 0;", "sum", "0", "for(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}", "{\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}", "int nxt = Integer.parseInt(std.next());", "nxt", "Integer.parseInt(std.next())", "Integer.parseInt", "Integer", "std.next()", "std.next", "std", "if (max<nxt) max = nxt;", "max<nxt", "max", "nxt", "max = nxt", "max", "nxt", "if (nxt<min) min = nxt;", "nxt<min", "nxt", "min", "min = nxt", "min", "nxt", "sum += nxt", "sum", "nxt", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0;\n\t\tfor(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner std = new Scanner(System.in);\n\t\tint n = Integer.parseInt(std.next());\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0;\n\t\tfor(int i=1; i<=n; i++ ){\n\t\t\tint nxt = Integer.parseInt(std.next());\n\t\t\tif (max<nxt) max = nxt;\n\t\t\tif (nxt<min) min = nxt;\n\t\t\tsum += nxt;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner std = new Scanner(System.in); int n = Integer.parseInt(std.next()); int max = -1000001; int min = 1000001; long sum = 0; for(int i=1; i<=n; i++ ){ int nxt = Integer.parseInt(std.next()); if (max<nxt) max = nxt; if (nxt<min) min = nxt; sum += nxt; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 0, 13, 0, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 41, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 41, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 41, 74 ], [ 74, 75 ], [ 74, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 85, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ] ]
[ "import java.util.Scanner;\nclass Main {\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n int n = scanner.nextInt();\n int min, max;\n min = max = 0;\n long sum = 0;\n \n for( int i = 0; i < n; i++ ) {\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n } \n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n int n = scanner.nextInt();\n int min, max;\n min = max = 0;\n long sum = 0;\n \n for( int i = 0; i < n; i++ ) {\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n } \n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n \n int n = scanner.nextInt();\n int min, max;\n min = max = 0;\n long sum = 0;\n \n for( int i = 0; i < n; i++ ) {\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n } \n System.out.println(min+\" \"+max+\" \"+sum);\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n \n int n = scanner.nextInt();\n int min, max;\n min = max = 0;\n long sum = 0;\n \n for( int i = 0; i < n; i++ ) {\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n } \n System.out.println(min+\" \"+max+\" \"+sum);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "int min", "min", "max;", "max", "min = max = 0", "min", "max = 0", "max", "0", "long sum = 0;", "sum", "0", "for( int i = 0; i < n; i++ ) {\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n }", "{\n \n \tint num = scanner.nextInt();\n if(i == 0) {\n min = num;\n max = num;\n }\n if(min > num){\n min = num;\n }\n if(max < num){\n max = num;\n }\n sum += num;\n }", "int num = scanner.nextInt();", "num", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(i == 0) {\n min = num;\n max = num;\n }", "i == 0", "i", "0", "{\n min = num;\n max = num;\n }", "min = num", "min", "num", "max = num", "max", "num", "if(min > num){\n min = num;\n }", "min > num", "min", "num", "{\n min = num;\n }", "min = num", "min", "num", "if(max < num){\n max = num;\n }", "max < num", "max", "num", "{\n max = num;\n }", "max = num", "max", "num", "sum += num", "sum", "num", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int min, max; min = max = 0; long sum = 0; for( int i = 0; i < n; i++ ) { int num = scanner.nextInt(); if(i == 0) { min = num; max = num; } if(min > num){ min = num; } if(max < num){ max = num; } sum += num; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 2, 17, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 88, 5 ], [ 88, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 42, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 42, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 78, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 75, 83 ], [ 78, 84 ], [ 6, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint count = scanner.nextInt();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\"+ min + \" \" + max + \" \" + sum);\n\t\t\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint count = scanner.nextInt();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\"+ min + \" \" + max + \" \" + sum);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint count = scanner.nextInt();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\"+ min + \" \" + max + \" \" + sum);\n\t\t\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint count = scanner.nextInt();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\"+ min + \" \" + max + \" \" + sum);\n\t\t\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int count = scanner.nextInt();", "count", "scanner.nextInt()", "scanner.nextInt", "scanner", "long min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "long max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long sum = 0;", "sum", "0", "for (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<count", "i", "count", "i++", "i++", "i", "{\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}", "{\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}", "long t = scanner.nextInt();", "t", "scanner.nextInt()", "scanner.nextInt", "scanner", "if (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}", "t < min", "t", "min", "{\n\t\t\t\tmin = t;\n\t\t\t}", "min = t", "min", "t", "if (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}", "t > max", "t", "max", "{\n\t\t\t\tmax = t;\n\t\t\t}", "max = t", "max", "t", "sum = sum + t", "sum", "sum + t", "sum", "t", "System.out.println(\"\"+ min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "\"\"+ min + \" \" + max + \" \" + sum", "\" \"", "max", "\" \"", "\"\"+ min + \" \" + max + \" \" + sum", "\"\"", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint count = scanner.nextInt();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\"+ min + \" \" + max + \" \" + sum);\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint count = scanner.nextInt();\n\t\t\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i=0;i<count;i++){\n\t\t\tlong t = scanner.nextInt();\n\t\t\tif (t < min) {\n\t\t\t\tmin = t;\n\t\t\t}\n\t\t\tif (t > max) {\n\t\t\t\tmax = t;\n\t\t\t}\n\t\t\tsum = sum + t;\n\t\t}\n\t\t\n\t\tSystem.out.println(\"\"+ min + \" \" + max + \" \" + sum);\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int count = scanner.nextInt(); long min = Integer.MAX_VALUE; long max = Integer.MIN_VALUE; long sum = 0; for (int i=0;i<count;i++){ long t = scanner.nextInt(); if (t < min) { min = t; } if (t > max) { max = t; } sum = sum + t; } System.out.println(""+ min + " " + max + " " + sum); } }
[ 7, 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, 41, 13, 4, 18, 4, 18, 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, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 18, 13, 13, 41, 13, 40, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 17, 13, 13, 13, 23, 13, 10, 6, 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 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 61, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 14, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 14, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 14, 112 ], [ 112, 113 ], [ 112, 114 ], [ 14, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 115, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 130, 132 ], [ 14, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 138, 142 ], [ 138, 143 ], [ 138, 144 ], [ 12, 145 ], [ 145, 146 ], [ 0, 147 ], [ 147, 148 ], [ 147, 149 ] ]
[ "import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String line[] = br.readLine().split(\" \");\n int intArray[] = new int[n];\n for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }\n\n int mi = 1000000;\n for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }\n \n int ma = -1000000;\n for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }\n \n long sum = 0;\n for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }\n System.out.println(String.format(\"%s %s %s\", mi , ma, sum));\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String line[] = br.readLine().split(\" \");\n int intArray[] = new int[n];\n for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }\n\n int mi = 1000000;\n for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }\n \n int ma = -1000000;\n for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }\n \n long sum = 0;\n for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }\n System.out.println(String.format(\"%s %s %s\", mi , ma, sum));\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String line[] = br.readLine().split(\" \");\n int intArray[] = new int[n];\n for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }\n\n int mi = 1000000;\n for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }\n \n int ma = -1000000;\n for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }\n \n long sum = 0;\n for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }\n System.out.println(String.format(\"%s %s %s\", mi , ma, sum));\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String line[] = br.readLine().split(\" \");\n int intArray[] = new int[n];\n for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }\n\n int mi = 1000000;\n for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }\n \n int ma = -1000000;\n for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }\n \n long sum = 0;\n for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }\n System.out.println(String.format(\"%s %s %s\", mi , ma, sum));\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String line[] = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int intArray[] = new int[n];", "intArray", "new int[n]", "n", "for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n intArray[i] = Integer.parseInt(line[i]);\n }", "{\n intArray[i] = Integer.parseInt(line[i]);\n }", "intArray[i] = Integer.parseInt(line[i])", "intArray[i]", "intArray", "i", "Integer.parseInt(line[i])", "Integer.parseInt", "Integer", "line[i]", "line", "i", "int mi = 1000000;", "mi", "1000000", "for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n mi = Math.min(mi,intArray[i]);\n }", "{\n mi = Math.min(mi,intArray[i]);\n }", "mi = Math.min(mi,intArray[i])", "mi", "Math.min(mi,intArray[i])", "Math.min", "Math", "mi", "intArray[i]", "intArray", "i", "int ma = -1000000;", "ma", "-1000000", "1000000", "for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n ma = Math.max(ma,intArray[i]);\n }", "{\n ma = Math.max(ma,intArray[i]);\n }", "ma = Math.max(ma,intArray[i])", "ma", "Math.max(ma,intArray[i])", "Math.max", "Math", "ma", "intArray[i]", "intArray", "i", "long sum = 0;", "sum", "0", "for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n sum += (long) intArray[i];\n }", "{\n sum += (long) intArray[i];\n }", "sum += (long) intArray[i]", "sum", "(long) intArray[i]", "intArray", "i", "System.out.println(String.format(\"%s %s %s\", mi , ma, sum))", "System.out.println", "System.out", "System", "System.out", "String.format(\"%s %s %s\", mi , ma, sum)", "String.format", "String", "\"%s %s %s\"", "mi", "ma", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String line[] = br.readLine().split(\" \");\n int intArray[] = new int[n];\n for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }\n\n int mi = 1000000;\n for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }\n \n int ma = -1000000;\n for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }\n \n long sum = 0;\n for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }\n System.out.println(String.format(\"%s %s %s\", mi , ma, sum));\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String line[] = br.readLine().split(\" \");\n int intArray[] = new int[n];\n for (int i=0; i<n; i++){\n intArray[i] = Integer.parseInt(line[i]);\n }\n\n int mi = 1000000;\n for (int i=0; i<n; i++){\n mi = Math.min(mi,intArray[i]);\n }\n \n int ma = -1000000;\n for (int i=0; i<n; i++){\n ma = Math.max(ma,intArray[i]);\n }\n \n long sum = 0;\n for (int i=0; i<n; i++){\n sum += (long) intArray[i];\n }\n System.out.println(String.format(\"%s %s %s\", mi , ma, sum));\n }\n}", "Main" ]
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String line[] = br.readLine().split(" "); int intArray[] = new int[n]; for (int i=0; i<n; i++){ intArray[i] = Integer.parseInt(line[i]); } int mi = 1000000; for (int i=0; i<n; i++){ mi = Math.min(mi,intArray[i]); } int ma = -1000000; for (int i=0; i<n; i++){ ma = Math.max(ma,intArray[i]); } long sum = 0; for (int i=0; i<n; i++){ sum += (long) intArray[i]; } System.out.println(String.format("%s %s %s", mi , ma, sum)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 41, 13, 4, 18, 13, 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, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 130, 5 ], [ 130, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 67, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 118, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 116, 122 ], [ 118, 123 ], [ 8, 124 ], [ 124, 125 ], [ 125, 126 ], [ 6, 127 ], [ 127, 128 ], [ 0, 129 ], [ 129, 130 ], [ 129, 131 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint max, min;\n\t\tlong sum = 0;\n\t\t\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\t\n\t\t//?????§?????¨????°????????¨????\n\t\tmax = min = ary[0];\n\t\tfor(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}\n\t\t//????¨????????¨????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\tin.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint max, min;\n\t\tlong sum = 0;\n\t\t\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\t\n\t\t//?????§?????¨????°????????¨????\n\t\tmax = min = ary[0];\n\t\tfor(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}\n\t\t//????¨????????¨????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\tin.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint max, min;\n\t\tlong sum = 0;\n\t\t\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\t\n\t\t//?????§?????¨????°????????¨????\n\t\tmax = min = ary[0];\n\t\tfor(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}\n\t\t//????¨????????¨????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\tin.close();\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint max, min;\n\t\tlong sum = 0;\n\t\t\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\t\n\t\t//?????§?????¨????°????????¨????\n\t\tmax = min = ary[0];\n\t\tfor(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}\n\t\t//????¨????????¨????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\tin.close();\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int max", "max", "min;", "min", "long sum = 0;", "sum", "0", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int[] ary = new int[n];", "ary", "new int[n]", "n", "for(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tary[i] = in.nextInt();\n\t\t}", "{\n\t\t\tary[i] = in.nextInt();\n\t\t}", "ary[i] = in.nextInt()", "ary[i]", "ary", "i", "in.nextInt()", "in.nextInt", "in", "max = min = ary[0]", "max", "min = ary[0]", "min", "ary[0]", "ary", "0", "for(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}", "{\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}", "if(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}", "max<ary[i]", "max", "ary[i]", "ary", "i", "{\n\t\t\t\tmax = ary[i];\n\t\t\t}", "max = ary[i]", "max", "ary[i]", "ary", "i", "if(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}", "min>ary[i]", "min", "ary[i]", "ary", "i", "{\n\t\t\t\tmin = ary[i];\n\t\t\t}", "min = ary[i]", "min", "ary[i]", "ary", "i", "for(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tsum += ary[i];\n\t\t}", "{\n\t\t\tsum += ary[i];\n\t\t}", "sum += ary[i]", "sum", "ary[i]", "ary", "i", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "in.close()", "in.close", "in", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint max, min;\n\t\tlong sum = 0;\n\t\t\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\t\n\t\t//?????§?????¨????°????????¨????\n\t\tmax = min = ary[0];\n\t\tfor(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}\n\t\t//????¨????????¨????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\tin.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint max, min;\n\t\tlong sum = 0;\n\t\t\n\t\tint n = in.nextInt();\n\t\tint[] ary = new int[n];\n\t\tfor(int i=0; i<n; i++){\n\t\t\tary[i] = in.nextInt();\n\t\t}\n\t\t\n\t\t//?????§?????¨????°????????¨????\n\t\tmax = min = ary[0];\n\t\tfor(int i=1; i<n; i++){\n\t\t\tif(max<ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t}\n\t\t//????¨????????¨????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tsum += ary[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\tin.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int max, min; long sum = 0; int n = in.nextInt(); int[] ary = new int[n]; for(int i=0; i<n; i++){ ary[i] = in.nextInt(); } //?????§?????¨????°????????¨???? max = min = ary[0]; for(int i=1; i<n; i++){ if(max<ary[i]){ max = ary[i]; } if(min>ary[i]){ min = ary[i]; } } //????¨????????¨???? for(int i=0; i<n; i++){ sum += ary[i]; } System.out.println(min+" "+max+" "+sum); in.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 106, 5 ], [ 106, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 45, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 63, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 63, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 63, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 97, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 95, 101 ], [ 97, 102 ], [ 6, 103 ], [ 103, 104 ], [ 0, 105 ], [ 105, 106 ], [ 105, 107 ] ]
[ "import java.io.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//n:入力値の個数, ai:入力値, min:最小値 , max:最大値,\n\t\tint n,ai,min,max,i;\n\t\t//sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する\n\t\tlong sum = 0;\n\n\t\t//キーボード入力\n\t\tBufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\t//nの値を受け取る(この後入力される値の個数を把握する)\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\t//int型の最大値をminに代入\n\t\tmin = Integer.MAX_VALUE;\n\t\t//int型の最小値をmaxに代入\n\t\tmax = Integer.MIN_VALUE;\n\n\t\t//strAryにキーボード入力された文字列を” ”で区切った状態で代入\n\t\tString[] strAry = br.readLine().split(\" \");\n\n\t\t//iが0のときi+してiがnより小さい間、{}処理を繰り返す\n\t\tfor (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}\n\t\t//最小値、最大値、合計を1行で出力\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//n:入力値の個数, ai:入力値, min:最小値 , max:最大値,\n\t\tint n,ai,min,max,i;\n\t\t//sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する\n\t\tlong sum = 0;\n\n\t\t//キーボード入力\n\t\tBufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\t//nの値を受け取る(この後入力される値の個数を把握する)\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\t//int型の最大値をminに代入\n\t\tmin = Integer.MAX_VALUE;\n\t\t//int型の最小値をmaxに代入\n\t\tmax = Integer.MIN_VALUE;\n\n\t\t//strAryにキーボード入力された文字列を” ”で区切った状態で代入\n\t\tString[] strAry = br.readLine().split(\" \");\n\n\t\t//iが0のときi+してiがnより小さい間、{}処理を繰り返す\n\t\tfor (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}\n\t\t//最小値、最大値、合計を1行で出力\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\t//n:入力値の個数, ai:入力値, min:最小値 , max:最大値,\n\t\tint n,ai,min,max,i;\n\t\t//sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する\n\t\tlong sum = 0;\n\n\t\t//キーボード入力\n\t\tBufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\t//nの値を受け取る(この後入力される値の個数を把握する)\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\t//int型の最大値をminに代入\n\t\tmin = Integer.MAX_VALUE;\n\t\t//int型の最小値をmaxに代入\n\t\tmax = Integer.MIN_VALUE;\n\n\t\t//strAryにキーボード入力された文字列を” ”で区切った状態で代入\n\t\tString[] strAry = br.readLine().split(\" \");\n\n\t\t//iが0のときi+してiがnより小さい間、{}処理を繰り返す\n\t\tfor (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}\n\t\t//最小値、最大値、合計を1行で出力\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\t//n:入力値の個数, ai:入力値, min:最小値 , max:最大値,\n\t\tint n,ai,min,max,i;\n\t\t//sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する\n\t\tlong sum = 0;\n\n\t\t//キーボード入力\n\t\tBufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\t//nの値を受け取る(この後入力される値の個数を把握する)\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\t//int型の最大値をminに代入\n\t\tmin = Integer.MAX_VALUE;\n\t\t//int型の最小値をmaxに代入\n\t\tmax = Integer.MIN_VALUE;\n\n\t\t//strAryにキーボード入力された文字列を” ”で区切った状態で代入\n\t\tString[] strAry = br.readLine().split(\" \");\n\n\t\t//iが0のときi+してiがnより小さい間、{}処理を繰り返す\n\t\tfor (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}\n\t\t//最小値、最大値、合計を1行で出力\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "int n", "n", "ai", "ai", "min", "min", "max", "max", "i;", "i", "long sum = 0;", "sum", "0", "BufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));", "br", "new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))", "n = Integer.parseInt(br.readLine())", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "min = Integer.MAX_VALUE", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "max = Integer.MIN_VALUE", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "String[] strAry = br.readLine().split(\" \");", "strAry", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}", "{\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}", "ai = Integer.parseInt(strAry[i])", "ai", "Integer.parseInt(strAry[i])", "Integer.parseInt", "Integer", "strAry[i]", "strAry", "i", "if(ai < min) min = ai;", "ai < min", "ai", "min", "min = ai", "min", "ai", "if(ai > max) max = ai;", "ai > max", "ai", "max", "max = ai", "max", "ai", "sum += ai", "sum", "ai", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//n:入力値の個数, ai:入力値, min:最小値 , max:最大値,\n\t\tint n,ai,min,max,i;\n\t\t//sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する\n\t\tlong sum = 0;\n\n\t\t//キーボード入力\n\t\tBufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\t//nの値を受け取る(この後入力される値の個数を把握する)\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\t//int型の最大値をminに代入\n\t\tmin = Integer.MAX_VALUE;\n\t\t//int型の最小値をmaxに代入\n\t\tmax = Integer.MIN_VALUE;\n\n\t\t//strAryにキーボード入力された文字列を” ”で区切った状態で代入\n\t\tString[] strAry = br.readLine().split(\" \");\n\n\t\t//iが0のときi+してiがnより小さい間、{}処理を繰り返す\n\t\tfor (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}\n\t\t//最小値、最大値、合計を1行で出力\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\t//n:入力値の個数, ai:入力値, min:最小値 , max:最大値,\n\t\tint n,ai,min,max,i;\n\t\t//sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する\n\t\tlong sum = 0;\n\n\t\t//キーボード入力\n\t\tBufferedReader br = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\t//nの値を受け取る(この後入力される値の個数を把握する)\n\t\tn = Integer.parseInt(br.readLine());\n\n\t\t//int型の最大値をminに代入\n\t\tmin = Integer.MAX_VALUE;\n\t\t//int型の最小値をmaxに代入\n\t\tmax = Integer.MIN_VALUE;\n\n\t\t//strAryにキーボード入力された文字列を” ”で区切った状態で代入\n\t\tString[] strAry = br.readLine().split(\" \");\n\n\t\t//iが0のときi+してiがnより小さい間、{}処理を繰り返す\n\t\tfor (i = 0; i < n; i++){\n\t\t\t//aiに文字列を代入\n\t\t\tai = Integer.parseInt(strAry[i]);\n\t\t\t//条件:aiがminより小さい場合、minにaiを代入する\n\t\t\tif(ai < min) min = ai;\n\t\t\t//条件:aiがmaxより大きい場合、maxにaiを代入する\n\t\t\tif(ai > max) max = ai;\n\t\t\t//sumにsum+aiを代入する\n\t\t\tsum += ai;\n\t\t}\n\t\t//最小値、最大値、合計を1行で出力\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ //n:入力値の個数, ai:入力値, min:最小値 , max:最大値, int n,ai,min,max,i; //sum:合計値, aiを合算する為、int型では無くlong型で範囲を拡大する long sum = 0; //キーボード入力 BufferedReader br = new BufferedReader( new InputStreamReader(System.in)); //nの値を受け取る(この後入力される値の個数を把握する) n = Integer.parseInt(br.readLine()); //int型の最大値をminに代入 min = Integer.MAX_VALUE; //int型の最小値をmaxに代入 max = Integer.MIN_VALUE; //strAryにキーボード入力された文字列を” ”で区切った状態で代入 String[] strAry = br.readLine().split(" "); //iが0のときi+してiがnより小さい間、{}処理を繰り返す for (i = 0; i < n; i++){ //aiに文字列を代入 ai = Integer.parseInt(strAry[i]); //条件:aiがminより小さい場合、minにaiを代入する if(ai < min) min = ai; //条件:aiがmaxより大きい場合、maxにaiを代入する if(ai > max) max = ai; //sumにsum+aiを代入する sum += ai; } //最小値、最大値、合計を1行で出力 System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 19, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 68, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 83, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 95, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 83, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 8, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 119, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 119, 124 ], [ 6, 125 ], [ 125, 126 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\tString input1 = br.readLine();\n\tString[] input2 = br.readLine().split(\" \");\n\n\tint size = Integer.parseInt(input1);\n\tint[] a = new int[size];\n\n\tfor(int i = 0; i < size; i++) {\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}\n\n\tlong min = a[0], MAX = a[0], sum = 0;\n\n\tfor(int j = 0; j < size; j++) {\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}\n\tSystem.out.println(min + \" \" + MAX + \" \" + sum);\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\tString input1 = br.readLine();\n\tString[] input2 = br.readLine().split(\" \");\n\n\tint size = Integer.parseInt(input1);\n\tint[] a = new int[size];\n\n\tfor(int i = 0; i < size; i++) {\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}\n\n\tlong min = a[0], MAX = a[0], sum = 0;\n\n\tfor(int j = 0; j < size; j++) {\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}\n\tSystem.out.println(min + \" \" + MAX + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\tString input1 = br.readLine();\n\tString[] input2 = br.readLine().split(\" \");\n\n\tint size = Integer.parseInt(input1);\n\tint[] a = new int[size];\n\n\tfor(int i = 0; i < size; i++) {\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}\n\n\tlong min = a[0], MAX = a[0], sum = 0;\n\n\tfor(int j = 0; j < size; j++) {\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}\n\tSystem.out.println(min + \" \" + MAX + \" \" + sum);\n\t}", "main", "{\n\t\tBufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\tString input1 = br.readLine();\n\tString[] input2 = br.readLine().split(\" \");\n\n\tint size = Integer.parseInt(input1);\n\tint[] a = new int[size];\n\n\tfor(int i = 0; i < size; i++) {\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}\n\n\tlong min = a[0], MAX = a[0], sum = 0;\n\n\tfor(int j = 0; j < size; j++) {\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}\n\tSystem.out.println(min + \" \" + MAX + \" \" + sum);\n\t}", "BufferedReader br =\n\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String input1 = br.readLine();", "input1", "br.readLine()", "br.readLine", "br", "String[] input2 = br.readLine().split(\" \");", "input2", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int size = Integer.parseInt(input1);", "size", "Integer.parseInt(input1)", "Integer.parseInt", "Integer", "input1", "int[] a = new int[size];", "a", "new int[size]", "size", "for(int i = 0; i < size; i++) {\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}", "{\n\t\ta[i] = Integer.parseInt(input2[i]);\n\t}", "a[i] = Integer.parseInt(input2[i])", "a[i]", "a", "i", "Integer.parseInt(input2[i])", "Integer.parseInt", "Integer", "input2[i]", "input2", "i", "long min = a[0]", "min", "a[0]", "a", "0", "MAX = a[0]", "MAX", "a[0]", "a", "0", "sum = 0;", "sum", "0", "for(int j = 0; j < size; j++) {\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}", "int j = 0;", "int j = 0;", "j", "0", "j < size", "j", "size", "j++", "j++", "j", "{\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}", "{\n\t\tif(a[j] >= MAX) MAX = a[j];\n\t\tif(a[j] <= min) min = a[j];\n\t\tsum += a[j];\n\t}", "if(a[j] >= MAX) MAX = a[j];", "a[j] >= MAX", "a[j]", "a", "j", "MAX", "MAX = a[j]", "MAX", "a[j]", "a", "j", "if(a[j] <= min) min = a[j];", "a[j] <= min", "a[j]", "a", "j", "min", "min = a[j]", "min", "a[j]", "a", "j", "sum += a[j]", "sum", "a[j]", "a", "j", "System.out.println(min + \" \" + MAX + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + MAX + \" \" + sum", "\" \"", "MAX", "min + \" \" + MAX + \" \" + sum", "min", "\" \"", "MAX", "\" \"", "sum", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input1 = br.readLine(); String[] input2 = br.readLine().split(" "); int size = Integer.parseInt(input1); int[] a = new int[size]; for(int i = 0; i < size; i++) { a[i] = Integer.parseInt(input2[i]); } long min = a[0], MAX = a[0], sum = 0; for(int j = 0; j < size; j++) { if(a[j] >= MAX) MAX = a[j]; if(a[j] <= min) min = a[j]; sum += a[j]; } System.out.println(min + " " + MAX + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 2, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 54, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 50, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 70, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 83, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 70, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 110, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 108, 114 ], [ 110, 115 ], [ 6, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tlong min=0, max=0, sum=0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[n];\n\t\tfor (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tlong min=0, max=0, sum=0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[n];\n\t\tfor (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tlong min=0, max=0, sum=0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[n];\n\t\tfor (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tlong min=0, max=0, sum=0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[n];\n\t\tfor (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "long min=0", "min", "0", "max=0", "max", "0", "sum=0;", "sum", "0", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] a= new int[n];", "a", "new int[n]", "n", "for (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}", "{\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}", "a[i] = sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "if (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t}", "min = a[i]", "min", "a[i]", "a", "i", "max = a[i]", "max", "a[i]", "a", "i", "sum = a[i]", "sum", "a[i]", "a", "i", "{\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}", "if (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}", "min > a[i]", "min", "a[i]", "a", "i", "{\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}", "min = a[i]", "min", "a[i]", "a", "i", "if (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}", "max < a[i]", "max", "a[i]", "a", "i", "{\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}", "max = a[i]", "max", "a[i]", "a", "i", "sum = sum + a[i]", "sum", "sum + a[i]", "sum", "a[i]", "a", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tlong min=0, max=0, sum=0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[n];\n\t\tfor (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tlong min=0, max=0, sum=0;\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[n];\n\t\tfor (int i=0; i < n; i++) {\n\t\t\ta[i] = sc.nextInt();\n\t\t\tif (i == 0) {\n\t\t\t\tmin = a[i];\n\t\t\t\tmax = a[i];\n\t\t\t\tsum = a[i];\n\t\t\t} else {\n\t\t\t\tif (min > a[i]) {\n\t\t\t\t\tmin = a[i];\n\t\t\t\t}\n\t\t\t\tif (max < a[i]) {\n\t\t\t\t\tmax = a[i];\n\t\t\t\t}\n\t\t\t\tsum = sum + a[i];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { long min=0, max=0, sum=0; Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a= new int[n]; for (int i=0; i < n; i++) { a[i] = sc.nextInt(); if (i == 0) { min = a[i]; max = a[i]; sum = a[i]; } else { if (min > a[i]) { min = a[i]; } if (max < a[i]) { max = a[i]; } sum = sum + a[i]; } } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 18, 13, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 4, 18, 13, 4, 18, 13, 17, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 7, 14 ], [ 14, 15 ], [ 14, 16 ], [ 7, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 19, 30 ], [ 30, 31 ], [ 30, 32 ], [ 19, 33 ], [ 33, 34 ], [ 33, 35 ], [ 19, 36 ], [ 36, 37 ], [ 36, 38 ], [ 19, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 51, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 51, 71 ], [ 71, 72 ], [ 71, 73 ], [ 19, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 77, 81 ], [ 77, 82 ], [ 77, 83 ], [ 17, 84 ], [ 84, 85 ] ]
[ "import java.util.*;\nimport java.io.*;\n\nclass Main {\n\tstatic PrintStream out = System.out;\n\tstatic Scanner in = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint n = in.nextInt();\n\t\tint a = in.nextInt();\n\t\tlong min = a,max = a,sum = a;\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(String.format(\"%d %d %d\", min, max, sum));\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main {\n\tstatic PrintStream out = System.out;\n\tstatic Scanner in = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\t\tint n = in.nextInt();\n\t\tint a = in.nextInt();\n\t\tlong min = a,max = a,sum = a;\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(String.format(\"%d %d %d\", min, max, sum));\n\t}\n}", "Main", "static PrintStream out = System.out;", "out", "System.out", "System", "System.out", "static Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "public static void main(String[] args) {\n\t\tint n = in.nextInt();\n\t\tint a = in.nextInt();\n\t\tlong min = a,max = a,sum = a;\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(String.format(\"%d %d %d\", min, max, sum));\n\t}", "main", "{\n\t\tint n = in.nextInt();\n\t\tint a = in.nextInt();\n\t\tlong min = a,max = a,sum = a;\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(String.format(\"%d %d %d\", min, max, sum));\n\t}", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "long min = a", "min", "a", "max = a", "max", "a", "sum = a;", "sum", "a", "for (int i = 1; i < n; i++) {\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}", "{\n\t\t\ta = in.nextInt();\n\t\t\tmin = Math.min(a, min);\n\t\t\tmax = Math.max(a, max);\n\t\t\tsum += a;\n\t\t}", "a = in.nextInt()", "a", "in.nextInt()", "in.nextInt", "in", "min = Math.min(a, min)", "min", "Math.min(a, min)", "Math.min", "Math", "a", "min", "max = Math.max(a, max)", "max", "Math.max(a, max)", "Math.max", "Math", "a", "max", "sum += a", "sum", "a", "out.println(String.format(\"%d %d %d\", min, max, sum))", "out.println", "out", "String.format(\"%d %d %d\", min, max, sum)", "String.format", "String", "\"%d %d %d\"", "min", "max", "sum", "String[] args", "args" ]
import java.util.*; import java.io.*; class Main { static PrintStream out = System.out; static Scanner in = new Scanner(System.in); public static void main(String[] args) { int n = in.nextInt(); int a = in.nextInt(); long min = a,max = a,sum = a; for (int i = 1; i < n; i++) { a = in.nextInt(); min = Math.min(a, min); max = Math.max(a, max); sum += a; } out.println(String.format("%d %d %d", min, max, sum)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 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, 18, 13, 13, 41, 13, 17, 41, 13, 17, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 4, 18, 4, 18, 4, 18, 4, 18, 4, 18, 4, 18, 13, 18, 13, 13, 17, 18, 13, 13, 17, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 143, 5 ], [ 143, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 87, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 8, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 117, 128 ], [ 128, 129 ], [ 128, 130 ], [ 115, 131 ], [ 113, 132 ], [ 111, 133 ], [ 8, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "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\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n long[] num = new long[n];\n for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }\n int min = 0, max = 0;\n long sum = num[0];\n for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }\n sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\");\n\n System.out.print(sb);\n\n\n\n }\n}", "import java.io.*;", "io.*", "java", "public 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\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n long[] num = new long[n];\n for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }\n int min = 0, max = 0;\n long sum = num[0];\n for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }\n sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\");\n\n System.out.print(sb);\n\n\n\n }\n}", "Main", "public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n long[] num = new long[n];\n for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }\n int min = 0, max = 0;\n long sum = num[0];\n for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }\n sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\");\n\n System.out.print(sb);\n\n\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n long[] num = new long[n];\n for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }\n int min = 0, max = 0;\n long sum = num[0];\n for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }\n sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\");\n\n System.out.print(sb);\n\n\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long[] num = new long[n];", "num", "new long[n]", "n", "for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n num[i] = Long.parseLong(str[i]);\n }", "{\n num[i] = Long.parseLong(str[i]);\n }", "num[i] = Long.parseLong(str[i])", "num[i]", "num", "i", "Long.parseLong(str[i])", "Long.parseLong", "Long", "str[i]", "str", "i", "int min = 0", "min", "0", "max = 0;", "max", "0", "long sum = num[0];", "sum", "num[0]", "num", "0", "for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }", "{\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }", "sum += num[i]", "sum", "num[i]", "num", "i", "if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }", "num[i] < num[min]", "num[i]", "num", "i", "num[min]", "num", "min", "{\n min = i;\n }", "min = i", "min", "i", "if(num[i] > num[max]){\n max = i;\n }", "num[i] > num[max]", "num[i]", "num", "i", "num[max]", "num", "max", "{\n max = i;\n }", "max = i", "max", "i", "sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\")", "sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append", "sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum)", "sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append", "sb.append(num[min]).append(\" \").append(num[max]).append(\" \")", "sb.append(num[min]).append(\" \").append(num[max]).append", "sb.append(num[min]).append(\" \").append(num[max])", "sb.append(num[min]).append(\" \").append", "sb.append(num[min]).append(\" \")", "sb.append(num[min]).append", "sb.append(num[min])", "sb.append", "sb", "num[min]", "num", "min", "\" \"", "num[max]", "num", "max", "\" \"", "sum", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[]args", "args", "public 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\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n long[] num = new long[n];\n for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }\n int min = 0, max = 0;\n long sum = num[0];\n for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }\n sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\");\n\n System.out.print(sb);\n\n\n\n }\n}", "public 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\n int n = Integer.parseInt(br.readLine());\n String[] str = br.readLine().split(\" \");\n long[] num = new long[n];\n for(int i=0; i<n; i++){\n num[i] = Long.parseLong(str[i]);\n }\n int min = 0, max = 0;\n long sum = num[0];\n for(int i=1; i<n; i++){\n sum += num[i];\n if(num[i] < num[min]){\n min = i;\n }else if(num[i] > num[max]){\n max = i;\n }\n }\n sb.append(num[min]).append(\" \").append(num[max]).append(\" \").append(sum).append(\"\\n\");\n\n System.out.print(sb);\n\n\n\n }\n}", "Main" ]
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 = Integer.parseInt(br.readLine()); String[] str = br.readLine().split(" "); long[] num = new long[n]; for(int i=0; i<n; i++){ num[i] = Long.parseLong(str[i]); } int min = 0, max = 0; long sum = num[0]; for(int i=1; i<n; i++){ sum += num[i]; if(num[i] < num[min]){ min = i; }else if(num[i] > num[max]){ max = i; } } sb.append(num[min]).append(" ").append(num[max]).append(" ").append(sum).append("\n"); System.out.print(sb); } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 30, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 92, 8 ], [ 92, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 29, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 52, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 62, 79 ], [ 79, 80 ], [ 79, 81 ], [ 11, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 82, 86 ], [ 82, 87 ], [ 82, 88 ], [ 9, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import static java.lang.System.out;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int range = scan.nextInt();\n long min = 0;\n long max = 0;\n long sum = 0; \n\n for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }\n\n out.printf(\"%d %d %d%n\", min, max, sum);\n }\n}", "import static java.lang.System.out;", "import static java.lang.System.out;", "import static java.lang.System.out;", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int range = scan.nextInt();\n long min = 0;\n long max = 0;\n long sum = 0; \n\n for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }\n\n out.printf(\"%d %d %d%n\", min, max, sum);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int range = scan.nextInt();\n long min = 0;\n long max = 0;\n long sum = 0; \n\n for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }\n\n out.printf(\"%d %d %d%n\", min, max, sum);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int range = scan.nextInt();\n long min = 0;\n long max = 0;\n long sum = 0; \n\n for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }\n\n out.printf(\"%d %d %d%n\", min, max, sum);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int range = scan.nextInt();", "range", "scan.nextInt()", "scan.nextInt", "scan", "long min = 0;", "min", "0", "long max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < range", "i", "range", "i += 1", "i += 1", "i", "1", "{\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }", "{\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }", "int tmp = scan.nextInt();", "tmp", "scan.nextInt()", "scan.nextInt", "scan", "if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }", "i == 0", "i", "0", "{\n min = tmp;\n max = tmp;\n sum += tmp;\n }", "min = tmp", "min", "tmp", "max = tmp", "max", "tmp", "sum += tmp", "sum", "tmp", "{\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }", "if (min > tmp) {\n min = tmp;\n }", "min > tmp", "min", "tmp", "{\n min = tmp;\n }", "min = tmp", "min", "tmp", "if (max < tmp) {\n max = tmp;\n }", "max < tmp", "max", "tmp", "{\n max = tmp;\n }", "max = tmp", "max", "tmp", "sum += tmp", "sum", "tmp", "out.printf(\"%d %d %d%n\", min, max, sum)", "out.printf", "out", "\"%d %d %d%n\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int range = scan.nextInt();\n long min = 0;\n long max = 0;\n long sum = 0; \n\n for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }\n\n out.printf(\"%d %d %d%n\", min, max, sum);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int range = scan.nextInt();\n long min = 0;\n long max = 0;\n long sum = 0; \n\n for (int i = 0; i < range; i += 1) {\n int tmp = scan.nextInt();\n if (i == 0) {\n min = tmp;\n max = tmp;\n sum += tmp;\n } else {\n if (min > tmp) {\n min = tmp;\n }\n if (max < tmp) {\n max = tmp;\n }\n sum += tmp;\n }\n }\n\n out.printf(\"%d %d %d%n\", min, max, sum);\n }\n}", "Main" ]
import static java.lang.System.out; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int range = scan.nextInt(); long min = 0; long max = 0; long sum = 0; for (int i = 0; i < range; i += 1) { int tmp = scan.nextInt(); if (i == 0) { min = tmp; max = tmp; sum += tmp; } else { if (min > tmp) { min = tmp; } if (max < tmp) { max = tmp; } sum += tmp; } } out.printf("%d %d %d%n", min, max, sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 40, 13, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 40, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 76, 5 ], [ 76, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 34, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 34, 54 ], [ 54, 55 ], [ 54, 56 ], [ 34, 57 ], [ 57, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 67, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 67, 72 ], [ 6, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "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 min=sc.nextInt();\n int max=min;\n long sum=min;\n n--;\n while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int n=sc.nextInt();\n int min=sc.nextInt();\n int max=min;\n long sum=min;\n n--;\n while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int n=sc.nextInt();\n int min=sc.nextInt();\n int max=min;\n long sum=min;\n n--;\n while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "main", "{\n Scanner sc =new Scanner(System.in);\n int n=sc.nextInt();\n int min=sc.nextInt();\n int max=min;\n long sum=min;\n n--;\n while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "Scanner sc =new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int min=sc.nextInt();", "min", "sc.nextInt()", "sc.nextInt", "sc", "int max=min;", "max", "min", "long sum=min;", "sum", "min", "n--", "n", "while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }", "n>0", "n", "0", "{\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }", "int tmp=sc.nextInt();", "tmp", "sc.nextInt()", "sc.nextInt", "sc", "if(min>tmp)min=tmp;", "min>tmp", "min", "tmp", "min=tmp", "min", "tmp", "if(max<tmp)max=tmp;", "max<tmp", "max", "tmp", "max=tmp", "max", "tmp", "sum+=tmp", "sum", "tmp", "n--", "n", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int n=sc.nextInt();\n int min=sc.nextInt();\n int max=min;\n long sum=min;\n n--;\n while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc =new Scanner(System.in);\n int n=sc.nextInt();\n int min=sc.nextInt();\n int max=min;\n long sum=min;\n n--;\n while(n>0){\n int tmp=sc.nextInt();\n if(min>tmp)min=tmp;\n if(max<tmp)max=tmp;\n sum+=tmp;\n n--;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc =new Scanner(System.in); int n=sc.nextInt(); int min=sc.nextInt(); int max=min; long sum=min; n--; while(n>0){ int tmp=sc.nextInt(); if(min>tmp)min=tmp; if(max<tmp)max=tmp; sum+=tmp; n--; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 2, 13, 13, 14, 2, 2, 13, 17, 13, 0, 13, 4, 18, 13, 3, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 94, 5 ], [ 94, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 43, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 43, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 85, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 85, 90 ], [ 6, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner o = new Scanner(System.in);\n\t\tint n = o.nextInt();\n\t\tint a = o.nextInt();\n\t\tint max = a;\n\t\tint min = a;\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner o = new Scanner(System.in);\n\t\tint n = o.nextInt();\n\t\tint a = o.nextInt();\n\t\tint max = a;\n\t\tint min = a;\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tScanner o = new Scanner(System.in);\n\t\tint n = o.nextInt();\n\t\tint a = o.nextInt();\n\t\tint max = a;\n\t\tint min = a;\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tScanner o = new Scanner(System.in);\n\t\tint n = o.nextInt();\n\t\tint a = o.nextInt();\n\t\tint max = a;\n\t\tint min = a;\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "Scanner o = new Scanner(System.in);", "o", "new Scanner(System.in)", "int n = o.nextInt();", "n", "o.nextInt()", "o.nextInt", "o", "int a = o.nextInt();", "a", "o.nextInt()", "o.nextInt", "o", "int max = a;", "max", "a", "int min = a;", "min", "a", "long sum = 0;", "sum", "0", "for(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}", "{\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}", "if(max < a){\n\t\t\t\tmax = a;\n\t\t\t}", "max < a", "max", "a", "{\n\t\t\t\tmax = a;\n\t\t\t}", "max = a", "max", "a", "if(min > a){\n\t\t\t\tmin = a;\n\t\t\t}", "min > a", "min", "a", "{\n\t\t\t\tmin = a;\n\t\t\t}", "min = a", "min", "a", "sum = sum + a", "sum", "sum + a", "sum", "a", "if((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;", "(n-1) != i", "(n-1)", "n", "1", "i", "a = o.nextInt()", "a", "o.nextInt()", "o.nextInt", "o", "break;", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner o = new Scanner(System.in);\n\t\tint n = o.nextInt();\n\t\tint a = o.nextInt();\n\t\tint max = a;\n\t\tint min = a;\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner o = new Scanner(System.in);\n\t\tint n = o.nextInt();\n\t\tint a = o.nextInt();\n\t\tint max = a;\n\t\tint min = a;\n\t\tlong sum = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\t//System.out.println(a);\n\t\t\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\t\n\t\t\tif(min > a){\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t\tsum = sum + a;\n\t\t\tif((n-1) != i)\n\t\t\t\ta = o.nextInt();\n\t\t\telse\n\t\t\t\tbreak;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner o = new Scanner(System.in); int n = o.nextInt(); int a = o.nextInt(); int max = a; int min = a; long sum = 0; for(int i = 0;i < n;i++){ //System.out.println(a); if(max < a){ max = a; } if(min > a){ min = a; } sum = sum + a; if((n-1) != i) a = o.nextInt(); else break; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 95, 5 ], [ 95, 6 ], [ 6, 7 ], [ 95, 8 ], [ 8, 9 ], [ 95, 10 ], [ 10, 11 ], [ 95, 12 ], [ 12, 13 ], [ 95, 14 ], [ 14, 15 ], [ 95, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 18, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 18, 32 ], [ 32, 33 ], [ 32, 34 ], [ 18, 35 ], [ 35, 36 ], [ 35, 37 ], [ 18, 38 ], [ 38, 39 ], [ 38, 40 ], [ 18, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 53, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 53, 75 ], [ 75, 76 ], [ 75, 77 ], [ 18, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 86, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 86, 91 ], [ 16, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n private static int n, input_num, min, max;\n private static long sum;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n n = stdIn.nextInt();\n input_num = stdIn.nextInt();\n max = input_num;\n min = input_num;\n sum = input_num;\n for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n private static int n, input_num, min, max;\n private static long sum;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n n = stdIn.nextInt();\n input_num = stdIn.nextInt();\n max = input_num;\n min = input_num;\n sum = input_num;\n for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "Main", "private static int n", "n", "input_num", "input_num", "min", "min", "max;", "max", "private static long sum;", "sum", "public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n n = stdIn.nextInt();\n input_num = stdIn.nextInt();\n max = input_num;\n min = input_num;\n sum = input_num;\n for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }", "main", "{\n Scanner stdIn = new Scanner(System.in);\n n = stdIn.nextInt();\n input_num = stdIn.nextInt();\n max = input_num;\n min = input_num;\n sum = input_num;\n for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "n = stdIn.nextInt()", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "input_num = stdIn.nextInt()", "input_num", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "max = input_num", "max", "input_num", "min = input_num", "min", "input_num", "sum = input_num", "sum", "input_num", "for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }", "{\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }", "input_num = stdIn.nextInt()", "input_num", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "if(max < input_num) {\n max = input_num;\n }", "max < input_num", "max", "input_num", "{\n max = input_num;\n }", "max = input_num", "max", "input_num", "if(min > input_num) {\n min = input_num;\n }", "min > input_num", "min", "input_num", "{\n min = input_num;\n }", "min = input_num", "min", "input_num", "sum += input_num", "sum", "input_num", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n private static int n, input_num, min, max;\n private static long sum;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n n = stdIn.nextInt();\n input_num = stdIn.nextInt();\n max = input_num;\n min = input_num;\n sum = input_num;\n for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "public class Main {\n\n private static int n, input_num, min, max;\n private static long sum;\n\n public static void main(String[] args) {\n Scanner stdIn = new Scanner(System.in);\n n = stdIn.nextInt();\n input_num = stdIn.nextInt();\n max = input_num;\n min = input_num;\n sum = input_num;\n for (int i = 1;i < n; i++) {\n input_num = stdIn.nextInt();\n if(max < input_num) {\n max = input_num;\n }\n if(min > input_num) {\n min = input_num;\n }\n sum += input_num;\n }\n\n System.out.println(min + \" \" + max + \" \" + sum);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { private static int n, input_num, min, max; private static long sum; public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); n = stdIn.nextInt(); input_num = stdIn.nextInt(); max = input_num; min = input_num; sum = input_num; for (int i = 1;i < n; i++) { input_num = stdIn.nextInt(); if(max < input_num) { max = input_num; } if(min > input_num) { min = input_num; } sum += input_num; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 45, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 45, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 63, 67 ], [ 45, 68 ], [ 68, 69 ], [ 68, 70 ], [ 11, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 79, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 79, 84 ], [ 9, 85 ], [ 85, 86 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n private static final Scanner sc = new Scanner(System.in);\n public static void main(String[] Args){\n final int n = Integer.parseInt(sc.next());\n long sum = 0;\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n for(int i = 0; i<n; i++){\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n private static final Scanner sc = new Scanner(System.in);\n public static void main(String[] Args){\n final int n = Integer.parseInt(sc.next());\n long sum = 0;\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n for(int i = 0; i<n; i++){\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main", "private static final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] Args){\n final int n = Integer.parseInt(sc.next());\n long sum = 0;\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n for(int i = 0; i<n; i++){\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "main", "{\n final int n = Integer.parseInt(sc.next());\n long sum = 0;\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n for(int i = 0; i<n; i++){\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "final int n = Integer.parseInt(sc.next());", "n", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "long sum = 0;", "sum", "0", "int min = Integer.MAX_VALUE", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "for(int i = 0; i<n; i++){\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }", "int i = 0;", "int i = 0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }", "{\n final int a = Integer.parseInt(sc.next());\n max = Math.max(max, a);\n min = Math.min(min, a);\n sum += a;\n }", "final int a = Integer.parseInt(sc.next());", "a", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "max = Math.max(max, a)", "max", "Math.max(max, a)", "Math.max", "Math", "max", "a", "min = Math.min(min, a)", "min", "Math.min(min, a)", "Math.min", "Math", "min", "a", "sum += a", "sum", "a", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] Args", "Args" ]
import java.util.Scanner; class Main{ private static final Scanner sc = new Scanner(System.in); public static void main(String[] Args){ final int n = Integer.parseInt(sc.next()); long sum = 0; int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE; for(int i = 0; i<n; i++){ final int a = Integer.parseInt(sc.next()); max = Math.max(max, a); min = Math.min(min, a); sum += a; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 17, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 13, 0, 13, 13, 0, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 11, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 11, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 11, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 11, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 66, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 83, 85 ], [ 66, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 11, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 103, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 103, 108 ], [ 9, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ] ]
[ "import java.util.Scanner;\nimport java.math.BigInteger;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner inp = new Scanner(System.in);\n\t\tBigInteger sum = BigInteger.valueOf(0);\n\t\tint max, min, n, t;\n\t\tn = inp.nextInt();\n\t\tt = inp.nextInt();\n\t\tmax = t;\n\t\tmin = t;\n\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\tfor(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner inp = new Scanner(System.in);\n\t\tBigInteger sum = BigInteger.valueOf(0);\n\t\tint max, min, n, t;\n\t\tn = inp.nextInt();\n\t\tt = inp.nextInt();\n\t\tmax = t;\n\t\tmin = t;\n\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\tfor(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String args[])\n\t{\n\t\tScanner inp = new Scanner(System.in);\n\t\tBigInteger sum = BigInteger.valueOf(0);\n\t\tint max, min, n, t;\n\t\tn = inp.nextInt();\n\t\tt = inp.nextInt();\n\t\tmax = t;\n\t\tmin = t;\n\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\tfor(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner inp = new Scanner(System.in);\n\t\tBigInteger sum = BigInteger.valueOf(0);\n\t\tint max, min, n, t;\n\t\tn = inp.nextInt();\n\t\tt = inp.nextInt();\n\t\tmax = t;\n\t\tmin = t;\n\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\tfor(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner inp = new Scanner(System.in);", "inp", "new Scanner(System.in)", "BigInteger sum = BigInteger.valueOf(0);", "sum", "BigInteger.valueOf(0)", "BigInteger.valueOf", "BigInteger", "0", "int max", "max", "min", "min", "n", "n", "t;", "t", "n = inp.nextInt()", "n", "inp.nextInt()", "inp.nextInt", "inp", "t = inp.nextInt()", "t", "inp.nextInt()", "inp.nextInt", "inp", "max = t", "max", "t", "min = t", "min", "t", "sum = sum.add(BigInteger.valueOf(t))", "sum", "sum.add(BigInteger.valueOf(t))", "sum.add", "sum", "BigInteger.valueOf(t)", "BigInteger.valueOf", "BigInteger", "t", "for(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}", "{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}", "t = inp.nextInt()", "t", "inp.nextInt()", "inp.nextInt", "inp", "if(t > max)max = t;", "t > max", "t", "max", "max = t", "max", "t", "if(t < min)min = t;", "t < min", "t", "min", "min = t", "min", "t", "sum = sum.add(BigInteger.valueOf(t))", "sum", "sum.add(BigInteger.valueOf(t))", "sum.add", "sum", "BigInteger.valueOf(t)", "BigInteger.valueOf", "BigInteger", "t", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String args[]", "args", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner inp = new Scanner(System.in);\n\t\tBigInteger sum = BigInteger.valueOf(0);\n\t\tint max, min, n, t;\n\t\tn = inp.nextInt();\n\t\tt = inp.nextInt();\n\t\tmax = t;\n\t\tmin = t;\n\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\tfor(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner inp = new Scanner(System.in);\n\t\tBigInteger sum = BigInteger.valueOf(0);\n\t\tint max, min, n, t;\n\t\tn = inp.nextInt();\n\t\tt = inp.nextInt();\n\t\tmax = t;\n\t\tmin = t;\n\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\tfor(int i = 1; i < n; i++)\n\t\t{\n\t\t\tt = inp.nextInt();\n\t\t\tif(t > max)max = t;\n\t\t\tif(t < min)min = t;\n\t\t\tsum = sum.add(BigInteger.valueOf(t));\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.Scanner; import java.math.BigInteger; public class Main { public static void main(String args[]) { Scanner inp = new Scanner(System.in); BigInteger sum = BigInteger.valueOf(0); int max, min, n, t; n = inp.nextInt(); t = inp.nextInt(); max = t; min = t; sum = sum.add(BigInteger.valueOf(t)); for(int i = 1; i < n; i++) { t = inp.nextInt(); if(t > max)max = t; if(t < min)min = t; sum = sum.add(BigInteger.valueOf(t)); } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 0, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 2, 13, 18, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 2, 18, 13, 13, 13, 2, 18, 13, 13, 13, 30, 9, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 4, 14 ], [ 14, 15 ], [ 14, 16 ], [ 4, 17 ], [ 17, 18 ], [ 17, 19 ], [ 4, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 22, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 47, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 47, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 62, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 73, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 88, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 100, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 112, 124 ], [ 124, 125 ], [ 22, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 134, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 132, 138 ], [ 134, 139 ], [ 4, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 140, 146 ], [ 146, 147 ] ]
[ "import java.util.Scanner;\nclass Main{\n int n,i;\n int max = -9999999;\n int min = 9999999;\n long sam = 0;\n\n public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int[n];\n for(i = 0; i < n; i++){\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }\n System.out.println(min + \" \" + max + \" \" + sam);\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n int n,i;\n int max = -9999999;\n int min = 9999999;\n long sam = 0;\n\n public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int[n];\n for(i = 0; i < n; i++){\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }\n System.out.println(min + \" \" + max + \" \" + sam);\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}", "Main", "int n", "n", "i;", "i", "int max = -9999999;", "max", "-9999999", "9999999", "int min = 9999999;", "min", "9999999", "long sam = 0;", "sam", "0", "public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int[n];\n for(i = 0; i < n; i++){\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }\n System.out.println(min + \" \" + max + \" \" + sam);\n }", "solve", "{\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n int a[] = new int[n];\n for(i = 0; i < n; i++){\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }\n System.out.println(min + \" \" + max + \" \" + sam);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "int a[] = new int[n];", "a", "new int[n]", "n", "for(i = 0; i < n; i++){\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }", "{\n a[i] = sc.nextInt();\n sam = sam + a[i];\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }\n \n }", "a[i] = sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "sam = sam + a[i]", "sam", "sam + a[i]", "sam", "a[i]", "a", "i", "if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }", "n == 0", "n", "0", "{\n min = 0;\n max = 0;\n }", "min = 0", "min", "0", "max = 0", "max", "0", "if(n == 1){\n max = a[i];\n min = a[i];\n }else if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }", "n == 1", "n", "1", "{\n max = a[i];\n min = a[i];\n }", "max = a[i]", "max", "a[i]", "a", "i", "min = a[i]", "min", "a[i]", "a", "i", "if(a[i] < min){\n min = a[i];\n }else if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }", "a[i] < min", "a[i]", "a", "i", "min", "{\n min = a[i];\n }", "min = a[i]", "min", "a[i]", "a", "i", "if(a[i] > max){\n max = a[i];\n }else if(a[i] == min || a[i] == max){\n continue;\n }", "a[i] > max", "a[i]", "a", "i", "max", "{\n max = a[i];\n }", "max = a[i]", "max", "a[i]", "a", "i", "if(a[i] == min || a[i] == max){\n continue;\n }", "a[i] == min || a[i] == max", "a[i] == min", "a[i]", "a", "i", "min", "a[i] == max", "a[i]", "a", "i", "max", "{\n continue;\n }", "continue;", "System.out.println(min + \" \" + max + \" \" + sam)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sam", "\" \"", "max", "min + \" \" + max + \" \" + sam", "min", "\" \"", "max", "\" \"", "sam", "public static void main(String[] args){\n new Main().solve();\n }", "main", "{\n new Main().solve();\n }", "new Main().solve()", "new Main().solve", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main{ int n,i; int max = -9999999; int min = 9999999; long sam = 0; public void solve(){ Scanner sc = new Scanner(System.in); n = sc.nextInt(); int a[] = new int[n]; for(i = 0; i < n; i++){ a[i] = sc.nextInt(); sam = sam + a[i]; if(n == 0){ min = 0; max = 0; }else if(n == 1){ max = a[i]; min = a[i]; }else if(a[i] < min){ min = a[i]; }else if(a[i] > max){ max = a[i]; }else if(a[i] == min || a[i] == max){ continue; } } System.out.println(min + " " + max + " " + sam); } public static void main(String[] args){ new Main().solve(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 40, 17, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 4, 18, 4, 18, 4, 18, 4, 18, 13, 13, 17, 13, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 100, 8 ], [ 100, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 48, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 81, 87 ], [ 79, 88 ], [ 77, 89 ], [ 75, 90 ], [ 11, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 9, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\npublic class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tint max = -1000000;\n int min = 1000000;\n \tint num =sc.nextInt();\n \tint tmp = 0;\n \tlong sum = 0;\n \tfor (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}\n sb.append(min).append(\" \").append(max).append(\" \").append(sum);\n \tSystem.out.println(sb);\n }\n\n}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tint max = -1000000;\n int min = 1000000;\n \tint num =sc.nextInt();\n \tint tmp = 0;\n \tlong sum = 0;\n \tfor (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}\n sb.append(min).append(\" \").append(max).append(\" \").append(sum);\n \tSystem.out.println(sb);\n }\n\n}", "Main", "public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tint max = -1000000;\n int min = 1000000;\n \tint num =sc.nextInt();\n \tint tmp = 0;\n \tlong sum = 0;\n \tfor (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}\n sb.append(min).append(\" \").append(max).append(\" \").append(sum);\n \tSystem.out.println(sb);\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tint max = -1000000;\n int min = 1000000;\n \tint num =sc.nextInt();\n \tint tmp = 0;\n \tlong sum = 0;\n \tfor (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}\n sb.append(min).append(\" \").append(max).append(\" \").append(sum);\n \tSystem.out.println(sb);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int max = -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "int num =sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "int tmp = 0;", "tmp", "0", "long sum = 0;", "sum", "0", "for (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}", "{\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "if(a>max){\n \t\t\tmax=a;\n \t\t}", "a>max", "a", "max", "{\n \t\t\tmax=a;\n \t\t}", "max=a", "max", "a", "if(min>a){\n \t\t\tmin=a;\n \t\t}", "min>a", "min", "a", "{\n \t\t\tmin=a;\n \t\t}", "min=a", "min", "a", "sum = sum+a", "sum", "sum+a", "sum", "a", "sb.append(min).append(\" \").append(max).append(\" \").append(sum)", "sb.append(min).append(\" \").append(max).append(\" \").append", "sb.append(min).append(\" \").append(max).append(\" \")", "sb.append(min).append(\" \").append(max).append", "sb.append(min).append(\" \").append(max)", "sb.append(min).append(\" \").append", "sb.append(min).append(\" \")", "sb.append(min).append", "sb.append(min)", "sb.append", "sb", "min", "\" \"", "max", "\" \"", "sum", "System.out.println(sb)", "System.out.println", "System.out", "System", "System.out", "sb", "String args[]", "args", "public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tint max = -1000000;\n int min = 1000000;\n \tint num =sc.nextInt();\n \tint tmp = 0;\n \tlong sum = 0;\n \tfor (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}\n sb.append(min).append(\" \").append(max).append(\" \").append(sum);\n \tSystem.out.println(sb);\n }\n\n}", "public class Main {\n public static void main (String args[]) throws IOException {\n \tScanner sc = new Scanner(System.in);\n \tStringBuilder sb = new StringBuilder();\n \tint max = -1000000;\n int min = 1000000;\n \tint num =sc.nextInt();\n \tint tmp = 0;\n \tlong sum = 0;\n \tfor (int i=0;i<num;i++){\n \t\tint a = sc.nextInt();\n \t\tif(a>max){\n \t\t\tmax=a;\n \t\t}\n\n \t\tif(min>a){\n \t\t\tmin=a;\n \t\t}\n \t\tsum = sum+a;\n \t}\n sb.append(min).append(\" \").append(max).append(\" \").append(sum);\n \tSystem.out.println(sb);\n }\n\n}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { public static void main (String args[]) throws IOException { Scanner sc = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int max = -1000000; int min = 1000000; int num =sc.nextInt(); int tmp = 0; long sum = 0; for (int i=0;i<num;i++){ int a = sc.nextInt(); if(a>max){ max=a; } if(min>a){ min=a; } sum = sum+a; } sb.append(min).append(" ").append(max).append(" ").append(sum); System.out.println(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 39, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 39, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 74, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 74, 79 ], [ 6, 80 ], [ 80, 81 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n long k = 0;\n int max = -1000001;\n int min = 1000001;\n for ( int i = 1 ; i <= a ; i++){\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }\n System.out.println(min + \" \" + max + \" \" + k);\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n long k = 0;\n int max = -1000001;\n int min = 1000001;\n for ( int i = 1 ; i <= a ; i++){\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }\n System.out.println(min + \" \" + max + \" \" + k);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n long k = 0;\n int max = -1000001;\n int min = 1000001;\n for ( int i = 1 ; i <= a ; i++){\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }\n System.out.println(min + \" \" + max + \" \" + k);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n\n long k = 0;\n int max = -1000001;\n int min = 1000001;\n for ( int i = 1 ; i <= a ; i++){\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }\n System.out.println(min + \" \" + max + \" \" + k);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "long k = 0;", "k", "0", "int max = -1000001;", "max", "-1000001", "1000001", "int min = 1000001;", "min", "1000001", "for ( int i = 1 ; i <= a ; i++){\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }", "int i = 1 ;", "int i = 1 ;", "i", "1", "i <= a", "i", "a", "i++", "i++", "i", "{\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }", "{\n int b = sc.nextInt();\n if ( b > max ){\n max = b;\n }\n if ( b < min ){\n min = b;\n }\n k = k + b;\n }", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "if ( b > max ){\n max = b;\n }", "b > max", "b", "max", "{\n max = b;\n }", "max = b", "max", "b", "if ( b < min ){\n min = b;\n }", "b < min", "b", "min", "{\n min = b;\n }", "min = b", "min", "b", "k = k + b", "k", "k + b", "k", "b", "System.out.println(min + \" \" + max + \" \" + k)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + k", "\" \"", "max", "min + \" \" + max + \" \" + k", "min", "\" \"", "max", "\" \"", "k", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int a = sc.nextInt(); long k = 0; int max = -1000001; int min = 1000001; for ( int i = 1 ; i <= a ; i++){ int b = sc.nextInt(); if ( b > max ){ max = b; } if ( b < min ){ min = b; } k = k + b; } System.out.println(min + " " + max + " " + k); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 2, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 42, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 42, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 77, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 75, 81 ], [ 77, 82 ], [ 6, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong b = 0;\n\t\tfor(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+b)\t;\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong b = 0;\n\t\tfor(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+b)\t;\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong b = 0;\n\t\tfor(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+b)\t;\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong b = 0;\n\t\tfor(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+b)\t;\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "int min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "long b = 0;", "b", "0", "for(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "b = b + a", "b", "b + a", "b", "a", "if(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}", "max<a", "max", "a", "{\n\t\t\t\tmax = a;\n\t\t\t}", "max = a", "max", "a", "if(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}", "min>a", "min", "a", "{\n\t\t\t\tmin = a;\n\t\t\t}", "min = a", "min", "a", "System.out.println(min+\" \"+max+\" \"+b)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+b", "\" \"", "max", "min+\" \"+max+\" \"+b", "min", "\" \"", "max", "\" \"", "b", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong b = 0;\n\t\tfor(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+b)\t;\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong b = 0;\n\t\tfor(int i = 1;i<=n;i++){\n\t\t\tint a = sc.nextInt();\n\t\t\tb = b + a;\n\t\t\tif(max<a) {\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(min>a) {\n\t\t\t\tmin = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+b)\t;\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int max = Integer.MIN_VALUE; int min = Integer.MAX_VALUE; long b = 0; for(int i = 1;i<=n;i++){ int a = sc.nextInt(); b = b + a; if(max<a) { max = a; } if(min>a) { min = a; } } System.out.println(min+" "+max+" "+b) ; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 37, 20, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 19, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 26, 46 ], [ 46, 47 ], [ 26, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 60, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 60, 82 ], [ 82, 83 ], [ 82, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 85, 91 ], [ 85, 92 ], [ 85, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "main", "{\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "try (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "if (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}", "n < 0 || n > 10000", "n < 0", "n", "0", "n > 10000", "n", "10000", "{\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}", "throw new RuntimeException();", "new RuntimeException()", "int ai;", "ai", "for (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}", "{\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}", "ai = sc.nextInt()", "ai", "sc.nextInt()", "sc.nextInt", "sc", "if (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}", "ai < min", "ai", "min", "{\n\t\t\t\t\tmin = ai;\n\t\t\t\t}", "min = ai", "min", "ai", "if (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "ai > max", "ai", "max", "{\n\t\t\t\t\tmax = ai;\n\t\t\t\t}", "max = ai", "max", "ai", "sum += ai", "sum", "ai", "System.out.printf(\"%d %d %d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\ttry (Scanner sc = new Scanner(System.in)) {\n\t\t\tint n = sc.nextInt();\n\t\t\tif (n < 0 || n > 10000) {\n\t\t\t\tthrow new RuntimeException();\n\t\t\t}\n\t\t\tint ai;\n\t\t\tfor (int i = 1; i <= n; i++) {\n\t\t\t\tai = sc.nextInt();\n\t\t\t\tif (ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t}\n\t\t\t\tif (ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int min = 1000000; int max = -1000000; long sum = 0; try (Scanner sc = new Scanner(System.in)) { int n = sc.nextInt(); if (n < 0 || n > 10000) { throw new RuntimeException(); } int ai; for (int i = 1; i <= n; i++) { ai = sc.nextInt(); if (ai < min) { min = ai; } if (ai > max) { max = ai; } sum += ai; } } catch (Exception e) { e.printStackTrace(); } System.out.printf("%d %d %d\n", min, max, sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 91, 5 ], [ 91, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 46, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 46, 68 ], [ 68, 69 ], [ 68, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 79, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 79, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 6, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args){\n\t\tint n,x;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tn = sc.nextInt();\n\t\tsc.hasNext();\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\tsc.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args){\n\t\tint n,x;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tn = sc.nextInt();\n\t\tsc.hasNext();\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\tsc.close();\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tint n,x;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tn = sc.nextInt();\n\t\tsc.hasNext();\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\tsc.close();\n\t}", "main", "{\n\t\tint n,x;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tn = sc.nextInt();\n\t\tsc.hasNext();\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\tsc.close();\n\t}", "int n", "n", "x;", "x", "int max = -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "long sum = 0;", "sum", "0", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "sc.hasNext()", "sc.hasNext", "sc", "for(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}", "{\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "if(min > x){\n\t\t\t\tmin = x;\n\t\t\t}", "min > x", "min", "x", "{\n\t\t\t\tmin = x;\n\t\t\t}", "min = x", "min", "x", "if(x > max){\n\t\t\t\tmax = x;\n\t\t\t}", "x > max", "x", "max", "{\n\t\t\t\tmax = x;\n\t\t\t}", "max = x", "max", "x", "sum += x", "sum", "x", "System.out.println(min +\" \"+ max +\" \"+ sum)", "System.out.println", "System.out", "System", "System.out", "min +\" \"+ max +\" \"+ sum", "\" \"", "max", "min +\" \"+ max +\" \"+ sum", "min", "\" \"", "max", "\" \"", "sum", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args){\n\t\tint n,x;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tn = sc.nextInt();\n\t\tsc.hasNext();\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args){\n\t\tint n,x;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tn = sc.nextInt();\n\t\tsc.hasNext();\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tx = sc.nextInt();\n\t\t\tif(min > x){\n\t\t\t\tmin = x;\n\t\t\t}\n\t\t\tif(x > max){\n\t\t\t\tmax = x;\n\t\t\t}\n\t\t\tsum += x;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\tsc.close();\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ int n,x; int max = -1000000; int min = 1000000; long sum = 0; Scanner sc = new Scanner(System.in); n = sc.nextInt(); sc.hasNext(); for(int i=0;i<n;i++){ x = sc.nextInt(); if(min > x){ min = x; } if(x > max){ max = x; } sum += x; } System.out.println(min +" "+ max +" "+ sum); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 40, 13, 14, 2, 2, 13, 17, 17, 9, 41, 13, 4, 18, 13, 17, 4, 13, 13, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 124, 8 ], [ 124, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 31, 37 ], [ 28, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 28, 44 ], [ 44, 45 ], [ 44, 46 ], [ 44, 47 ], [ 11, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 9, 52 ], [ 52, 53 ], [ 124, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 56, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 70, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 84, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 97, 99 ], [ 84, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 84, 107 ], [ 107, 108 ], [ 107, 109 ], [ 56, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 110, 116 ], [ 110, 117 ], [ 110, 118 ], [ 54, 119 ], [ 119, 120 ], [ 54, 121 ], [ 121, 122 ], [ 0, 123 ], [ 123, 124 ], [ 123, 125 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tint max = Integer.MIN_VALUE, min = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tint max = Integer.MIN_VALUE, min = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}", "main", "{\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}", "BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));", "stdIn", "new BufferedReader(new InputStreamReader(System.in))", "String s;", "s", "int inCnt = 0;", "inCnt", "0", "while ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}", "(s = stdIn.readLine()) != null", "(s = stdIn.readLine())", "s", "stdIn.readLine()", "stdIn.readLine", "stdIn", "null", "{\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}", "inCnt++", "inCnt", "if (inCnt % 2 == 1)\n\t\t\t\tcontinue;", "inCnt % 2 == 1", "inCnt % 2", "inCnt", "2", "1", "continue;", "String[] se = s.split(\" \");", "se", "s.split(\" \")", "s.split", "s", "\" \"", "doMain(inCnt, se)", "doMain", "inCnt", "se", "System.exit(0)", "System.exit", "System", "0", "String[] args", "args", "private static void doMain(int inCnt, String[] se) {\n\t\tint max = Integer.MIN_VALUE, min = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\n\t}", "doMain", "{\n\t\tint max = Integer.MIN_VALUE, min = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\n\t}", "int max = Integer.MIN_VALUE", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "long total = 0;", "total", "0", "for (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < se.length", "i", "se.length", "se", "se.length", "i++", "i++", "i", "{\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}", "{\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}", "int e = Integer.valueOf(se[i]);", "e", "Integer.valueOf(se[i])", "Integer.valueOf", "Integer", "se[i]", "se", "i", "if (max < e)\n\t\t\t\tmax = e;", "max < e", "max", "e", "max = e", "max", "e", "if (min > e)\n\t\t\t\tmin = e;", "min > e", "min", "e", "min = e", "min", "e", "total += e", "total", "e", "System.out.printf(\"%d %d %d\\n\", min, max, total)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "total", "int inCnt", "inCnt", "String[] se", "se", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tint max = Integer.MIN_VALUE, min = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s;\n\t\tint inCnt = 0;\n\t\twhile ((s = stdIn.readLine()) != null) {\n\t\t\tinCnt++;\n\t\t\tif (inCnt % 2 == 1)\n\t\t\t\tcontinue;\n\t\t\tString[] se = s.split(\" \");\n\t\t\tdoMain(inCnt, se);\n\t\t}\n\t\tSystem.exit(0);\n\t}\n\n\tprivate static void doMain(int inCnt, String[] se) {\n\t\tint max = Integer.MIN_VALUE, min = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < se.length; i++) {\n\t\t\tint e = Integer.valueOf(se[i]);\n\t\t\tif (max < e)\n\t\t\t\tmax = e;\n\t\t\tif (min > e)\n\t\t\t\tmin = e;\n\t\t\ttotal += e;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader stdIn = new BufferedReader(new InputStreamReader(System.in)); String s; int inCnt = 0; while ((s = stdIn.readLine()) != null) { inCnt++; if (inCnt % 2 == 1) continue; String[] se = s.split(" "); doMain(inCnt, se); } System.exit(0); } private static void doMain(int inCnt, String[] se) { int max = Integer.MIN_VALUE, min = Integer.MAX_VALUE; long total = 0; for (int i = 0; i < se.length; i++) { int e = Integer.valueOf(se[i]); if (max < e) max = e; if (min > e) min = e; total += e; } System.out.printf("%d %d %d\n", min, max, total); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 30, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 55, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 58, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 73, 79 ], [ 73, 80 ], [ 73, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }\n\n System.out.printf(\"%d %d %d%n\", min, max, sum);\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }\n\n System.out.printf(\"%d %d %d%n\", min, max, sum);\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }\n\n System.out.printf(\"%d %d %d%n\", min, max, sum);\n }", "main", "{\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }\n\n System.out.printf(\"%d %d %d%n\", min, max, sum);\n }", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "int n = stdin.nextInt();", "n", "stdin.nextInt()", "stdin.nextInt", "stdin", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }", "{\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }", "int m = stdin.nextInt();", "m", "stdin.nextInt()", "stdin.nextInt", "stdin", "sum += m", "sum", "m", "if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }", "i == 0", "i", "0", "{\n min = m;\n max = m;\n }", "min = m", "min", "m", "max = m", "max", "m", "{\n min = Math.min(min, m);\n max = Math.max(max, m);\n }", "min = Math.min(min, m)", "min", "Math.min(min, m)", "Math.min", "Math", "min", "m", "max = Math.max(max, m)", "max", "Math.max(max, m)", "Math.max", "Math", "max", "m", "System.out.printf(\"%d %d %d%n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d%n\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }\n\n System.out.printf(\"%d %d %d%n\", min, max, sum);\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner stdin = new Scanner(System.in);\n int n = stdin.nextInt();\n int min = 0;\n int max = 0;\n long sum = 0;\n\n for (int i = 0; i < n; i++) {\n int m = stdin.nextInt();\n sum += m;\n\n if (i == 0) {\n min = m;\n max = m;\n } else {\n min = Math.min(min, m);\n max = Math.max(max, m);\n }\n }\n\n System.out.printf(\"%d %d %d%n\", min, max, sum);\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdin = new Scanner(System.in); int n = stdin.nextInt(); int min = 0; int max = 0; long sum = 0; for (int i = 0; i < n; i++) { int m = stdin.nextInt(); sum += m; if (i == 0) { min = m; max = m; } else { min = Math.min(min, m); max = Math.max(max, m); } } System.out.printf("%d %d %d%n", min, max, sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 110, 8 ], [ 110, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 76, 80 ], [ 65, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 83, 87 ], [ 65, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 11, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 101, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 101, 106 ], [ 9, 107 ], [ 107, 108 ], [ 0, 109 ], [ 109, 110 ], [ 109, 111 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n long n = Long.parseLong(br.readLine());\n String[] input = br.readLine().split(\" \");\n long m = Long.parseLong(input[0]);\n long mm = Long.parseLong(input[0]);\n long sum = 0;\n for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }\n System.out.println(mm + \" \" + m + \" \" + sum);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n long n = Long.parseLong(br.readLine());\n String[] input = br.readLine().split(\" \");\n long m = Long.parseLong(input[0]);\n long mm = Long.parseLong(input[0]);\n long sum = 0;\n for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }\n System.out.println(mm + \" \" + m + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n long n = Long.parseLong(br.readLine());\n String[] input = br.readLine().split(\" \");\n long m = Long.parseLong(input[0]);\n long mm = Long.parseLong(input[0]);\n long sum = 0;\n for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }\n System.out.println(mm + \" \" + m + \" \" + sum);\n }", "main", "{\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n long n = Long.parseLong(br.readLine());\n String[] input = br.readLine().split(\" \");\n long m = Long.parseLong(input[0]);\n long mm = Long.parseLong(input[0]);\n long sum = 0;\n for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }\n System.out.println(mm + \" \" + m + \" \" + sum);\n }", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "long n = Long.parseLong(br.readLine());", "n", "Long.parseLong(br.readLine())", "Long.parseLong", "Long", "br.readLine()", "br.readLine", "br", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long m = Long.parseLong(input[0]);", "m", "Long.parseLong(input[0])", "Long.parseLong", "Long", "input[0]", "input", "0", "long mm = Long.parseLong(input[0]);", "mm", "Long.parseLong(input[0])", "Long.parseLong", "Long", "input[0]", "input", "0", "long sum = 0;", "sum", "0", "for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }", "int x = 0 ;", "int x = 0 ;", "x", "0", "x < n", "x", "n", "x++", "x++", "x", "{\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }", "{\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }", "int a = Integer.parseInt(input[x]);", "a", "Integer.parseInt(input[x])", "Integer.parseInt", "Integer", "input[x]", "input", "x", "m = Math.max(m, a)", "m", "Math.max(m, a)", "Math.max", "Math", "m", "a", "mm = Math.min(mm, a)", "mm", "Math.min(mm, a)", "Math.min", "Math", "mm", "a", "sum = sum + a", "sum", "sum + a", "sum", "a", "System.out.println(mm + \" \" + m + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "mm + \" \" + m + \" \" + sum", "\" \"", "m", "mm + \" \" + m + \" \" + sum", "mm", "\" \"", "m", "\" \"", "sum", "String[] args", "args", "public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n long n = Long.parseLong(br.readLine());\n String[] input = br.readLine().split(\" \");\n long m = Long.parseLong(input[0]);\n long mm = Long.parseLong(input[0]);\n long sum = 0;\n for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }\n System.out.println(mm + \" \" + m + \" \" + sum);\n }\n}", "public class Main {\n public static void main(String[] args)throws Exception {\n \tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n long n = Long.parseLong(br.readLine());\n String[] input = br.readLine().split(\" \");\n long m = Long.parseLong(input[0]);\n long mm = Long.parseLong(input[0]);\n long sum = 0;\n for(int x = 0 ; x < n ; x++){\n \tint a = Integer.parseInt(input[x]);\n \tm = Math.max(m, a);\n \tmm = Math.min(mm, a);\n \tsum = sum + a;\n }\n System.out.println(mm + \" \" + m + \" \" + sum);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args)throws Exception { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); long n = Long.parseLong(br.readLine()); String[] input = br.readLine().split(" "); long m = Long.parseLong(input[0]); long mm = Long.parseLong(input[0]); long sum = 0; for(int x = 0 ; x < n ; x++){ int a = Integer.parseInt(input[x]); m = Math.max(m, a); mm = Math.min(mm, a); sum = sum + a; } System.out.println(mm + " " + m + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 48, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 83, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 83, 88 ], [ 9, 89 ], [ 89, 90 ] ]
[ "import java.util.Scanner;\nimport java.io.IOException;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.nextLine());\n\t\tint big = Integer.MIN_VALUE;\n\t\tint small = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}\n\t\tSystem.out.println(small + \" \" + big + \" \" + total);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.io.IOException;", "IOException", "java.io", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.nextLine());\n\t\tint big = Integer.MIN_VALUE;\n\t\tint small = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}\n\t\tSystem.out.println(small + \" \" + big + \" \" + total);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.nextLine());\n\t\tint big = Integer.MIN_VALUE;\n\t\tint small = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}\n\t\tSystem.out.println(small + \" \" + big + \" \" + total);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.nextLine());\n\t\tint big = Integer.MIN_VALUE;\n\t\tint small = Integer.MAX_VALUE;\n\t\tlong total = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}\n\t\tSystem.out.println(small + \" \" + big + \" \" + total);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = Integer.parseInt(scan.nextLine());", "n", "Integer.parseInt(scan.nextLine())", "Integer.parseInt", "Integer", "scan.nextLine()", "scan.nextLine", "scan", "int big = Integer.MIN_VALUE;", "big", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "int small = Integer.MAX_VALUE;", "small", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "long total = 0;", "total", "0", "for (int i = 0; i < n; i++) {\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tif (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}\n\t\t\tif (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}\n\t\t\ttotal = total + a;\n\t\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "if (big < a) {\n\t\t\t\tbig = a;\n\t\t\t}", "big < a", "big", "a", "{\n\t\t\t\tbig = a;\n\t\t\t}", "big = a", "big", "a", "if (a < small) {\n\t\t\t\tsmall = a;\n\t\t\t}", "a < small", "a", "small", "{\n\t\t\t\tsmall = a;\n\t\t\t}", "small = a", "small", "a", "total = total + a", "total", "total + a", "total", "a", "System.out.println(small + \" \" + big + \" \" + total)", "System.out.println", "System.out", "System", "System.out", "small + \" \" + big + \" \" + total", "\" \"", "big", "small + \" \" + big + \" \" + total", "small", "\" \"", "big", "\" \"", "total", "String[] args", "args" ]
import java.util.Scanner; import java.io.IOException; class Main { public static void main(String[] args) throws IOException { Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan.nextLine()); int big = Integer.MIN_VALUE; int small = Integer.MAX_VALUE; long total = 0; for (int i = 0; i < n; i++) { int a = scan.nextInt(); if (big < a) { big = a; } if (a < small) { small = a; } total = total + a; } System.out.println(small + " " + big + " " + total); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 137, 5 ], [ 137, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 8, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 128, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 128, 133 ], [ 6, 134 ], [ 134, 135 ], [ 0, 136 ], [ 136, 137 ], [ 136, 138 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint amount = scan.nextInt();\n\t\tlong[] num = new long[amount];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\t// Calculate Max\n\t\tlong max = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}\n\t\t\n\t\t// Calculate min\n\t\tlong min = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}\n\t\t\n\t\t// Calculate Sum\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint amount = scan.nextInt();\n\t\tlong[] num = new long[amount];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\t// Calculate Max\n\t\tlong max = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}\n\t\t\n\t\t// Calculate min\n\t\tlong min = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}\n\t\t\n\t\t// Calculate Sum\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint amount = scan.nextInt();\n\t\tlong[] num = new long[amount];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\t// Calculate Max\n\t\tlong max = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}\n\t\t\n\t\t// Calculate min\n\t\tlong min = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}\n\t\t\n\t\t// Calculate Sum\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner scan = new Scanner (System.in);\n\t\tint amount = scan.nextInt();\n\t\tlong[] num = new long[amount];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\t// Calculate Max\n\t\tlong max = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}\n\t\t\n\t\t// Calculate min\n\t\tlong min = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}\n\t\t\n\t\t// Calculate Sum\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner scan = new Scanner (System.in);", "scan", "new Scanner (System.in)", "int amount = scan.nextInt();", "amount", "scan.nextInt()", "scan.nextInt", "scan", "long[] num = new long[amount];", "num", "new long[amount]", "amount", "for (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < amount", "i", "amount", "i++", "i++", "i", "{\n\t\t\tnum[i] = scan.nextLong();\n\t\t}", "{\n\t\t\tnum[i] = scan.nextLong();\n\t\t}", "num[i] = scan.nextLong()", "num[i]", "num", "i", "scan.nextLong()", "scan.nextLong", "scan", "long max = num[0];", "max", "num[0]", "num", "0", "for (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < amount", "i", "amount", "i++", "i++", "i", "{\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}", "{\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}", "if (num[i] >= max)\n\t\t\t\tmax = num[i];", "num[i] >= max", "num[i]", "num", "i", "max", "max = num[i]", "max", "num[i]", "num", "i", "long min = num[0];", "min", "num[0]", "num", "0", "for (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < amount", "i", "amount", "i++", "i++", "i", "{\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}", "{\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}", "if (num[i] <= min)\n\t\t\t\tmin = num[i];", "num[i] <= min", "num[i]", "num", "i", "min", "min = num[i]", "min", "num[i]", "num", "i", "long sum = 0;", "sum", "0", "for (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < amount", "i", "amount", "i++", "i++", "i", "{\n\t\t\tsum += num[i];\n\t\t}", "{\n\t\t\tsum += num[i];\n\t\t}", "sum += num[i]", "sum", "num[i]", "num", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint amount = scan.nextInt();\n\t\tlong[] num = new long[amount];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\t// Calculate Max\n\t\tlong max = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}\n\t\t\n\t\t// Calculate min\n\t\tlong min = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}\n\t\t\n\t\t// Calculate Sum\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner (System.in);\n\t\tint amount = scan.nextInt();\n\t\tlong[] num = new long[amount];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tnum[i] = scan.nextLong();\n\t\t}\n\t\t\n\t\t// Calculate Max\n\t\tlong max = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] >= max)\n\t\t\t\tmax = num[i];\n\t\t}\n\t\t\n\t\t// Calculate min\n\t\tlong min = num[0];\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tif (num[i] <= min)\n\t\t\t\tmin = num[i];\n\t\t}\n\t\t\n\t\t// Calculate Sum\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < amount; i++) {\n\t\t\tsum += num[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner (System.in); int amount = scan.nextInt(); long[] num = new long[amount]; for (int i = 0; i < amount; i++) { num[i] = scan.nextLong(); } // Calculate Max long max = num[0]; for (int i = 0; i < amount; i++) { if (num[i] >= max) max = num[i]; } // Calculate min long min = num[0]; for (int i = 0; i < amount; i++) { if (num[i] <= min) min = num[i]; } // Calculate Sum long sum = 0; for (int i = 0; i < amount; i++) { sum += num[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 17, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 43, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 43, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 73, 77 ], [ 73, 78 ], [ 73, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 6, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint min =1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tint line = sc.nextInt();\n\t\tint L[] = new int[line];\n\t\t\n\t\tfor(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", min, max, sum));\n\t\tsc.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint min =1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tint line = sc.nextInt();\n\t\tint L[] = new int[line];\n\t\t\n\t\tfor(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", min, max, sum));\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint min =1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tint line = sc.nextInt();\n\t\tint L[] = new int[line];\n\t\t\n\t\tfor(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", min, max, sum));\n\t\tsc.close();\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint min =1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tint line = sc.nextInt();\n\t\tint L[] = new int[line];\n\t\t\n\t\tfor(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", min, max, sum));\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int min =1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "int line = sc.nextInt();", "line", "sc.nextInt()", "sc.nextInt", "sc", "int L[] = new int[line];", "L", "new int[line]", "line", "for(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < line", "i", "line", "i++", "i++", "i", "{\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}", "{\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}", "int value = sc.nextInt();", "value", "sc.nextInt()", "sc.nextInt", "sc", "if(min > value){\n\t\t\t\tmin = value;\n\t\t\t}", "min > value", "min", "value", "{\n\t\t\t\tmin = value;\n\t\t\t}", "min = value", "min", "value", "if(max < value){\n\t\t\t\tmax = value;\n\t\t\t}", "max < value", "max", "value", "{\n\t\t\t\tmax = value;\n\t\t\t}", "max = value", "max", "value", "sum += value", "sum", "value", "System.out.println(String.format(\"%d %d %d\", min, max, sum))", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d %d %d\", min, max, sum)", "String.format", "String", "\"%d %d %d\"", "min", "max", "sum", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint min =1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tint line = sc.nextInt();\n\t\tint L[] = new int[line];\n\t\t\n\t\tfor(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", min, max, sum));\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint min =1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tint line = sc.nextInt();\n\t\tint L[] = new int[line];\n\t\t\n\t\tfor(int i = 0; i < line; i++){\n\t\t\tint value = sc.nextInt();\n\t\t\t\n\t\t\tif(min > value){\n\t\t\t\tmin = value;\n\t\t\t}\n\t\t\tif(max < value){\n\t\t\t\tmax = value;\n\t\t\t}\n\t\t\tsum += value;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", min, max, sum));\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); int min =1000000; int max = -1000000; long sum = 0; int line = sc.nextInt(); int L[] = new int[line]; for(int i = 0; i < line; i++){ int value = sc.nextInt(); if(min > value){ min = value; } if(max < value){ max = value; } sum += value; } System.out.println(String.format("%d %d %d", min, max, sum)); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 17, 17, 18, 13, 2, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 11, 37 ], [ 37, 38 ], [ 37, 39 ], [ 40, 41 ], [ 40, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 11, 70 ], [ 70, 71 ], [ 70, 72 ], [ 11, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 11, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 99, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 97, 109 ], [ 99, 110 ], [ 9, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "import java.util.Arrays;\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\tString line1 = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\t\tString[] x = line2.split(\" \");\n\t\tint[] a = new int[x.length];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum);\n\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\t\tString[] x = line2.split(\" \");\n\t\tint[] a = new int[x.length];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum);\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\t\tString[] x = line2.split(\" \");\n\t\tint[] a = new int[x.length];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum);\n\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\t\tString[] x = line2.split(\" \");\n\t\tint[] a = new int[x.length];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line1 = sc.nextLine();", "line1", "sc.nextLine()", "sc.nextLine", "sc", "String line2 = sc.nextLine();", "line2", "sc.nextLine()", "sc.nextLine", "sc", "int n = Integer.parseInt(line1);", "n", "Integer.parseInt(line1)", "Integer.parseInt", "Integer", "line1", "String[] x = line2.split(\" \");", "x", "line2.split(\" \")", "line2.split", "line2", "\" \"", "int[] a = new int[x.length];", "a", "new int[x.length]", "x.length", "x", "x.length", "for (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}", "{\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}", "a[i] = Integer.parseInt(x[i])", "a[i]", "a", "i", "Integer.parseInt(x[i])", "Integer.parseInt", "Integer", "x[i]", "x", "i", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tsum += a[i];\n\t\t}", "{\n\t\t\tsum += a[i];\n\t\t}", "sum += a[i]", "sum", "a[i]", "a", "i", "System.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "a[0] + \" \" + a[n - 1] + \" \" + sum", "\" \"", "a[n - 1]", "a[0] + \" \" + a[n - 1] + \" \" + sum", "a[0]", "a", "0", "\" \"", "a[n - 1]", "a", "n - 1", "n", "1", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\t\tString[] x = line2.split(\" \");\n\t\tint[] a = new int[x.length];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line1 = sc.nextLine();\n\t\tString line2 = sc.nextLine();\n\t\tint n = Integer.parseInt(line1);\n\t\tString[] x = line2.split(\" \");\n\t\tint[] a = new int[x.length];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ta[i] = Integer.parseInt(x[i]);\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(a[0] + \" \" + a[n - 1] + \" \" + sum);\n\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner sc = new Scanner(System.in); String line1 = sc.nextLine(); String line2 = sc.nextLine(); int n = Integer.parseInt(line1); String[] x = line2.split(" "); int[] a = new int[x.length]; for (int i = 0; i < n; i++) { a[i] = Integer.parseInt(x[i]); } Arrays.sort(a); long sum = 0; for (int i = 0; i < n; i++) { sum += a[i]; } System.out.println(a[0] + " " + a[n - 1] + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 17, 17, 18, 13, 2, 18, 13, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 80, 8 ], [ 80, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 18, 19 ], [ 19, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 24, 34 ], [ 34, 35 ], [ 35, 36 ], [ 24, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 38, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 11, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 63, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 61, 75 ], [ 63, 76 ], [ 9, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n int[] array = new int[input.nextInt()];\n long total = 0;\n for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n int[] array = new int[input.nextInt()];\n long total = 0;\n for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n int[] array = new int[input.nextInt()];\n long total = 0;\n for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total);\n }", "main", "{\n Scanner input = new Scanner(System.in);\n int[] array = new int[input.nextInt()];\n long total = 0;\n for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total);\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int[] array = new int[input.nextInt()];", "array", "new int[input.nextInt()]", "input.nextInt()", "input.nextInt", "input", "long total = 0;", "total", "0", "for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n array[i] = input.nextInt();\n total += array[i];\n }", "{\n array[i] = input.nextInt();\n total += array[i];\n }", "array[i] = input.nextInt()", "array[i]", "array", "i", "input.nextInt()", "input.nextInt", "input", "total += array[i]", "total", "array[i]", "array", "i", "Arrays.sort(array)", "Arrays.sort", "Arrays", "array", "System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total)", "System.out.println", "System.out", "System", "System.out", "array[0]+\" \"+array[array.length-1]+\" \"+total", "\" \"", "array[array.length-1]", "array[0]+\" \"+array[array.length-1]+\" \"+total", "array[0]", "array", "0", "\" \"", "array[array.length-1]", "array", "array.length-1", "array.length", "array", "array.length", "1", "\" \"", "total", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n int[] array = new int[input.nextInt()];\n long total = 0;\n for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total);\n }\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n Scanner input = new Scanner(System.in);\n int[] array = new int[input.nextInt()];\n long total = 0;\n for(int i = 0; i < array.length; i++){\n array[i] = input.nextInt();\n total += array[i];\n }\n Arrays.sort(array);\n System.out.println(array[0]+\" \"+array[array.length-1]+\" \"+total);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String[] args) throws Exception { Scanner input = new Scanner(System.in); int[] array = new int[input.nextInt()]; long total = 0; for(int i = 0; i < array.length; i++){ array[i] = input.nextInt(); total += array[i]; } Arrays.sort(array); System.out.println(array[0]+" "+array[array.length-1]+" "+total); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 0, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 45, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 45, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 8, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 90, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 90, 95 ], [ 6, 96 ], [ 96, 97 ] ]
[ "/** 2つの整数 a, b と1つの演算子 op を読み込んで、a op b を計算するプログラムを作成して下さい。\n * ただし、演算子 op は、\"+\"(和)、\"-\"(差)、\"*\"(積)、\"/\"(商)、のみとし、\n * 割り算で割り切れない場合は、小数点以下を切り捨てたものを計算結果とします。\n */\n\n/*sucannerクラス使うためにインポート*/\nimport java.util.Scanner;\n\nclass Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intmax = -1000000;\n\t\tint intmin = 1000000;\n\t\tlong lonsum = 0;\n\t\tint inthakosuu = sc.nextInt();\n\t\tint[] hako;\n\t\thako = new int[inthakosuu];\n\n\n\t\tfor (int i = 0; i < inthakosuu; i++) {\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}\n\t\tSystem.out.println(intmin + \" \" + intmax + \" \" + lonsum);\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\t// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intmax = -1000000;\n\t\tint intmin = 1000000;\n\t\tlong lonsum = 0;\n\t\tint inthakosuu = sc.nextInt();\n\t\tint[] hako;\n\t\thako = new int[inthakosuu];\n\n\n\t\tfor (int i = 0; i < inthakosuu; i++) {\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}\n\t\tSystem.out.println(intmin + \" \" + intmax + \" \" + lonsum);\n\n\t}\n}", "Main", "// プログラムのエントリポイント\n\tpublic static void main(String[] args) {\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intmax = -1000000;\n\t\tint intmin = 1000000;\n\t\tlong lonsum = 0;\n\t\tint inthakosuu = sc.nextInt();\n\t\tint[] hako;\n\t\thako = new int[inthakosuu];\n\n\n\t\tfor (int i = 0; i < inthakosuu; i++) {\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}\n\t\tSystem.out.println(intmin + \" \" + intmax + \" \" + lonsum);\n\n\t}", "main", "{\n\t\t// 入力ストリームの生成\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intmax = -1000000;\n\t\tint intmin = 1000000;\n\t\tlong lonsum = 0;\n\t\tint inthakosuu = sc.nextInt();\n\t\tint[] hako;\n\t\thako = new int[inthakosuu];\n\n\n\t\tfor (int i = 0; i < inthakosuu; i++) {\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}\n\t\tSystem.out.println(intmin + \" \" + intmax + \" \" + lonsum);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int intmax = -1000000;", "intmax", "-1000000", "1000000", "int intmin = 1000000;", "intmin", "1000000", "long lonsum = 0;", "lonsum", "0", "int inthakosuu = sc.nextInt();", "inthakosuu", "sc.nextInt()", "sc.nextInt", "sc", "int[] hako;", "hako", "hako = new int[inthakosuu]", "hako", "new int[inthakosuu]", "inthakosuu", "for (int i = 0; i < inthakosuu; i++) {\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < inthakosuu", "i", "inthakosuu", "i++", "i++", "i", "{\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}", "{\n\t\t\thako[i] = sc.nextInt();\n\t\t\tif (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t} if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}\n\n\t\t\tlonsum += hako[i];\n\t\t}", "hako[i] = sc.nextInt()", "hako[i]", "hako", "i", "sc.nextInt()", "sc.nextInt", "sc", "if (intmin > hako[i]) {\n\t\t\t\tintmin = hako[i];\n\t\t\t}", "intmin > hako[i]", "intmin", "hako[i]", "hako", "i", "{\n\t\t\t\tintmin = hako[i];\n\t\t\t}", "intmin = hako[i]", "intmin", "hako[i]", "hako", "i", "if (intmax < hako[i]) {\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}", "intmax < hako[i]", "intmax", "hako[i]", "hako", "i", "{\n\n\t\t\t\tintmax = hako[i];\n\t\t\t}", "intmax = hako[i]", "intmax", "hako[i]", "hako", "i", "lonsum += hako[i]", "lonsum", "hako[i]", "hako", "i", "System.out.println(intmin + \" \" + intmax + \" \" + lonsum)", "System.out.println", "System.out", "System", "System.out", "intmin + \" \" + intmax + \" \" + lonsum", "\" \"", "intmax", "intmin + \" \" + intmax + \" \" + lonsum", "intmin", "\" \"", "intmax", "\" \"", "lonsum", "String[] args", "args" ]
/** 2つの整数 a, b と1つの演算子 op を読み込んで、a op b を計算するプログラムを作成して下さい。 * ただし、演算子 op は、"+"(和)、"-"(差)、"*"(積)、"/"(商)、のみとし、 * 割り算で割り切れない場合は、小数点以下を切り捨てたものを計算結果とします。 */ /*sucannerクラス使うためにインポート*/ import java.util.Scanner; class Main { // プログラムのエントリポイント public static void main(String[] args) { // 入力ストリームの生成 Scanner sc = new Scanner(System.in); int intmax = -1000000; int intmin = 1000000; long lonsum = 0; int inthakosuu = sc.nextInt(); int[] hako; hako = new int[inthakosuu]; for (int i = 0; i < inthakosuu; i++) { hako[i] = sc.nextInt(); if (intmin > hako[i]) { intmin = hako[i]; } if (intmax < hako[i]) { intmax = hako[i]; } lonsum += hako[i]; } System.out.println(intmin + " " + intmax + " " + lonsum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 132, 8 ], [ 132, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 11, 41 ], [ 41, 42 ], [ 41, 43 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 47, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 11, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 11, 76 ], [ 76, 77 ], [ 76, 78 ], [ 11, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 79, 89 ], [ 89, 90 ], [ 90, 91 ], [ 79, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 11, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 11, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 11, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 9, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\t\tint[] m = new int[v];\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tint[] y = new int[m.length];\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tArrays.sort(y);\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}\n\t\tSystem.out.print(y[0]);\n\t\tSystem.out.print(\" \" + y[y.length - 1]);\n\t\tSystem.out.println(\" \" + sum);\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\t\tint[] m = new int[v];\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tint[] y = new int[m.length];\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tArrays.sort(y);\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}\n\t\tSystem.out.print(y[0]);\n\t\tSystem.out.print(\" \" + y[y.length - 1]);\n\t\tSystem.out.println(\" \" + sum);\n\t}\n}", "Main", "public static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\t\tint[] m = new int[v];\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tint[] y = new int[m.length];\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tArrays.sort(y);\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}\n\t\tSystem.out.print(y[0]);\n\t\tSystem.out.print(\" \" + y[y.length - 1]);\n\t\tSystem.out.println(\" \" + sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\t\tint[] m = new int[v];\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tint[] y = new int[m.length];\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tArrays.sort(y);\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}\n\t\tSystem.out.print(y[0]);\n\t\tSystem.out.print(\" \" + y[y.length - 1]);\n\t\tSystem.out.println(\" \" + sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "int v = Integer.parseInt(line);", "v", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "int[] m = new int[v];", "m", "new int[v]", "v", "String line2 = sc.nextLine();", "line2", "sc.nextLine()", "sc.nextLine", "sc", "String[] k = line2.split(\" \");", "k", "line2.split(\" \")", "line2.split", "line2", "\" \"", "int[] y = new int[m.length];", "y", "new int[m.length]", "m.length", "m", "m.length", "for (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m.length", "i", "m.length", "m", "m.length", "i++", "i++", "i", "{\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}", "{\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}", "y[i] = Integer.parseInt(k[i])", "y[i]", "y", "i", "Integer.parseInt(k[i])", "Integer.parseInt", "Integer", "k[i]", "k", "i", "Arrays.sort(y)", "Arrays.sort", "Arrays", "y", "long sum = 0;", "sum", "0", "for (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < y.length", "i", "y.length", "y", "y.length", "i++", "i++", "i", "{\n\t\t\tsum += y[i];\n\t\t}", "{\n\t\t\tsum += y[i];\n\t\t}", "sum += y[i]", "sum", "y[i]", "y", "i", "System.out.print(y[0])", "System.out.print", "System.out", "System", "System.out", "y[0]", "y", "0", "System.out.print(\" \" + y[y.length - 1])", "System.out.print", "System.out", "System", "System.out", "\" \" + y[y.length - 1]", "\" \"", "y[y.length - 1]", "y", "y.length - 1", "y.length", "y", "y.length", "1", "System.out.println(\" \" + sum)", "System.out.println", "System.out", "System", "System.out", "\" \" + sum", "\" \"", "sum", "String[] arges", "arges", "public class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\t\tint[] m = new int[v];\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tint[] y = new int[m.length];\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tArrays.sort(y);\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}\n\t\tSystem.out.print(y[0]);\n\t\tSystem.out.print(\" \" + y[y.length - 1]);\n\t\tSystem.out.println(\" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] arges) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint v = Integer.parseInt(line);\n\t\tint[] m = new int[v];\n\n\t\tString line2 = sc.nextLine();\n\t\tString[] k = line2.split(\" \");\n\t\tint[] y = new int[m.length];\n\t\tfor (int i = 0; i < m.length; i++) {\n\t\t\ty[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tArrays.sort(y);\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < y.length; i++) {\n\t\t\tsum += y[i];\n\t\t}\n\t\tSystem.out.print(y[0]);\n\t\tSystem.out.print(\" \" + y[y.length - 1]);\n\t\tSystem.out.println(\" \" + sum);\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] arges) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); int v = Integer.parseInt(line); int[] m = new int[v]; String line2 = sc.nextLine(); String[] k = line2.split(" "); int[] y = new int[m.length]; for (int i = 0; i < m.length; i++) { y[i] = Integer.parseInt(k[i]); } Arrays.sort(y); long sum = 0; for (int i = 0; i < y.length; i++) { sum += y[i]; } System.out.print(y[0]); System.out.print(" " + y[y.length - 1]); System.out.println(" " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 40, 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, 18, 13, 13, 41, 13, 17, 41, 13, 17, 42, 2, 2, 13, 2, 13, 17, 2, 13, 2, 13, 17, 30, 40, 13, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 41, 13, 17, 41, 13, 17, 42, 2, 2, 13, 2, 13, 17, 2, 13, 2, 13, 17, 30, 40, 13, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 41, 13, 20, 2, 13, 17, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 13, 2, 13, 17, 18, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 13, 17, 18, 13, 13, 17, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 235, 5 ], [ 235, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 12, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 31, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 31, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 54, 55 ], [ 31, 56 ], [ 56, 57 ], [ 56, 58 ], [ 31, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 72, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 31, 83 ], [ 83, 84 ], [ 83, 85 ], [ 31, 86 ], [ 86, 87 ], [ 86, 88 ], [ 31, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 90, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 89, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 31, 116 ], [ 116, 117 ], [ 116, 118 ], [ 31, 119 ], [ 119, 120 ], [ 119, 121 ], [ 31, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 122, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 142, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 31, 149 ], [ 149, 150 ], [ 149, 151 ], [ 152, 153 ], [ 152, 154 ], [ 31, 155 ], [ 155, 156 ], [ 155, 157 ], [ 31, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 164, 166 ], [ 159, 167 ], [ 167, 168 ], [ 168, 169 ], [ 159, 170 ], [ 171, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 176, 178 ], [ 31, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 31, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 184, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 204, 206 ], [ 201, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 209, 211 ], [ 31, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 220, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 219, 225 ], [ 225, 226 ], [ 225, 227 ], [ 218, 228 ], [ 220, 229 ], [ 229, 230 ], [ 229, 231 ], [ 6, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}", "Main", "public static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }", "main", "{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }", "catch (IOException e) {\n System.out.println(e);\n }", "IOException e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "catch (NumberFormatException e) {\n System.out.println(\"error\");\n }", "NumberFormatException e", "{\n System.out.println(\"error\");\n }", "System.out.println(\"error\")", "System.out.println", "System.out", "System", "System.out", "\"error\"", "{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t}", "String line1 = reader.readLine();", "line1", "reader.readLine()", "reader.readLine", "reader", "int n = Integer.parseInt(line1);", "n", "Integer.parseInt(line1)", "Integer.parseInt", "Integer", "line1", "String line2 = reader.readLine();", "line2", "reader.readLine()", "reader.readLine", "reader", "String[] sarray = line2.split(\" \", -1);", "sarray", "line2.split(\" \", -1)", "line2.split", "line2", "\" \"", "-1", "1", "int[] num = new int[n];", "num", "new int[n]", "n", "for(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}", "{\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}", "num[i] = Integer.parseInt(sarray[i])", "num[i]", "num", "i", "Integer.parseInt(sarray[i])", "Integer.parseInt", "Integer", "sarray[i]", "sarray", "i", "int min = 0;", "min", "0", "int p = 0;", "p", "0", "while(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}", "min < n - 1 && p < n - 1", "min < n - 1", "min", "n - 1", "n", "1", "p < n - 1", "p", "n - 1", "n", "1", "{\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}", "p++", "p", "if(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}", "num[min] > num[p]", "num[min]", "num", "min", "num[p]", "num", "p", "{\n\t\t\t\t\tmin = p;\n\t\t\t\t}", "min = p", "min", "p", "int max = 0;", "max", "0", "int q = 0;", "q", "0", "while(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}", "max < n - 1 && q < n - 1", "max < n - 1", "max", "n - 1", "n", "1", "q < n - 1", "q", "n - 1", "n", "1", "{\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}", "q++", "q", "if(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}", "num[max] < num[q]", "num[max]", "num", "max", "num[q]", "num", "q", "{\n\t\t\t\t\tmax = q;\n\t\t\t\t}", "max = q", "max", "q", "long sum[] = new long[n + 1];", "sum", "new long[n + 1]", "n + 1", "n", "1", "long value[] = new long[n];", "value", "new long[n]", "n", "for(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}", "{\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}", "value[j] = num[j]", "value[j]", "value", "j", "num[j]", "num", "j", "sum[0] = 0", "sum[0]", "sum", "0", "0", "for(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}", "int k = 1;", "int k = 1;", "k", "1", "k <= n", "k", "n", "k++", "k++", "k", "{\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}", "{\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}", "sum[k] = value[k - 1] + sum[k - 1]", "sum[k]", "sum", "k", "value[k - 1] + sum[k - 1]", "value[k - 1]", "value", "k - 1", "k", "1", "sum[k - 1]", "sum", "k - 1", "k", "1", "System.out.println(num[min] + \" \" + num[max] + \" \" + sum[n])", "System.out.println", "System.out", "System", "System.out", "num[min] + \" \" + num[max] + \" \" + sum[n]", "\" \"", "num[max]", "num[min] + \" \" + num[max] + \" \" + sum[n]", "num[min]", "num", "min", "\" \"", "num[max]", "num", "max", "\" \"", "sum[n]", "sum", "n", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\t\t\tString line1 = reader.readLine();\n\t\t\tint n = Integer.parseInt(line1);//1stLine\n\t\t\tString line2 = reader.readLine();//2ndLine\n\t\t\tString[] sarray = line2.split(\" \", -1);\n\t\t\tint[] num = new int[n];\n\t\t\tfor(int i = 0; i < n; i++){\n\t\t\t\tnum[i] = Integer.parseInt(sarray[i]);\n\t\t\t}\n\t\t\t\n\t\t\tint min = 0;//min number\n\t\t\tint p = 0;\n\t\t\twhile(min < n - 1 && p < n - 1){\n\t\t\t\tp++;\n\t\t\t\tif(num[min] > num[p]){\n\t\t\t\t\tmin = p;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint max = 0;//max number\n\t\t\tint q = 0;\n\t\t\twhile(max < n - 1 && q < n - 1){\n\t\t\t\tq++;\n\t\t\t\tif(num[max] < num[q]){\n\t\t\t\t\tmax = q;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tlong sum[] = new long[n + 1]; //sum long\n\t\t\tlong value[] = new long[n];\n\t\t\tfor(int j = 0; j < n; j++){\n\t\t\t\tvalue[j] = num[j]; //int to long\n\t\t\t}\n\t\t\tsum[0] = 0;\n\t\t\tfor(int k = 1; k <= n; k++){\n\t\t\t\tsum[k] = value[k - 1] + sum[k - 1];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(num[min] + \" \" + num[max] + \" \" + sum[n]);\n\t\t} catch (IOException e) {\n System.out.println(e);\n } catch (NumberFormatException e) {\n System.out.println(\"error\");\n }\n }\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args){ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); try{ String line1 = reader.readLine(); int n = Integer.parseInt(line1);//1stLine String line2 = reader.readLine();//2ndLine String[] sarray = line2.split(" ", -1); int[] num = new int[n]; for(int i = 0; i < n; i++){ num[i] = Integer.parseInt(sarray[i]); } int min = 0;//min number int p = 0; while(min < n - 1 && p < n - 1){ p++; if(num[min] > num[p]){ min = p; } } int max = 0;//max number int q = 0; while(max < n - 1 && q < n - 1){ q++; if(num[max] < num[q]){ max = q; } } long sum[] = new long[n + 1]; //sum long long value[] = new long[n]; for(int j = 0; j < n; j++){ value[j] = num[j]; //int to long } sum[0] = 0; for(int k = 1; k <= n; k++){ sum[k] = value[k - 1] + sum[k - 1]; } System.out.println(num[min] + " " + num[max] + " " + sum[n]); } catch (IOException e) { System.out.println(e); } catch (NumberFormatException e) { System.out.println("error"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 4, 18, 4, 18, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 91, 8 ], [ 91, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 13, 22 ], [ 22, 23 ], [ 22, 24 ], [ 13, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 13, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 13, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 13, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 13, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 82, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 80, 86 ], [ 82, 87 ], [ 9, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.Scanner;\nimport java.util.stream.LongStream;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.stream.LongStream;", "LongStream", "java.util.stream", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}\n\t}", "main", "{\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}\n\t}", "try(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}", "{\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}", "Scanner scanner = new Scanner(System.in)", "Scanner scanner = new Scanner(System.in)", "new Scanner(System.in)", "int N = scanner.nextInt();", "N", "scanner.nextInt()", "scanner.nextInt", "scanner", "long[] list = new long[N];", "list", "new long[N]", "N", "for(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}", "list[i] = scanner.nextInt()", "list[i]", "list", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "long min = LongStream.of(list).min().getAsLong();", "min", "LongStream.of(list).min().getAsLong()", "LongStream.of(list).min().getAsLong", "LongStream.of(list).min()", "LongStream.of(list).min", "LongStream.of(list)", "LongStream.of", "LongStream", "list", "long max = LongStream.of(list).max().getAsLong();", "max", "LongStream.of(list).max().getAsLong()", "LongStream.of(list).max().getAsLong", "LongStream.of(list).max()", "LongStream.of(list).max", "LongStream.of(list)", "LongStream.of", "LongStream", "list", "long sum = LongStream.of(list).sum();", "sum", "LongStream.of(list).sum()", "LongStream.of(list).sum", "LongStream.of(list)", "LongStream.of", "LongStream", "list", "System.out.println(min+\" \"+max+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+sum", "\" \"", "max", "min+\" \"+max+\" \"+sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry(Scanner scanner = new Scanner(System.in)){\n\t\t\tint N = scanner.nextInt();\n\t\t\tlong[] list = new long[N];\n\t\t\tfor(int i=0;i<N;i++){\n\t\t\t\tlist[i] = scanner.nextInt();\n\t\t\t}\n\t\t\tlong min = LongStream.of(list).min().getAsLong();\n\t\t\tlong max = LongStream.of(list).max().getAsLong();\n\t\t\tlong sum = LongStream.of(list).sum();\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; import java.util.stream.LongStream; public class Main { public static void main(String[] args) { try(Scanner scanner = new Scanner(System.in)){ int N = scanner.nextInt(); long[] list = new long[N]; for(int i=0;i<N;i++){ list[i] = scanner.nextInt(); } long min = LongStream.of(list).min().getAsLong(); long max = LongStream.of(list).max().getAsLong(); long sum = LongStream.of(list).sum(); System.out.println(min+" "+max+" "+sum); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 4, 18, 13, 4, 18, 13, 1, 0, 13, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 17, 17, 4, 18, 13, 2, 4, 18, 13, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 74, 5 ], [ 74, 6 ], [ 6, 7 ], [ 6, 8 ], [ 74, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 26, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 18, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 11, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 55, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 64, 68 ], [ 53, 69 ], [ 55, 70 ], [ 9, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n long sum = 0;\n ArrayList<Integer> ali = new ArrayList<>();\n for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }\n Collections.sort(ali);\n System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n );\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n long sum = 0;\n ArrayList<Integer> ali = new ArrayList<>();\n for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }\n Collections.sort(ali);\n System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n );\n }\n}", "Main", "private static final Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "public static void main(String[] args) {\n long sum = 0;\n ArrayList<Integer> ali = new ArrayList<>();\n for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }\n Collections.sort(ali);\n System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n );\n }", "main", "{\n long sum = 0;\n ArrayList<Integer> ali = new ArrayList<>();\n for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }\n Collections.sort(ali);\n System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n );\n }", "long sum = 0;", "sum", "0", "ArrayList<Integer> ali = new ArrayList<>();", "ali", "new ArrayList<>()", "for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }", "int a = scn.nextInt();", "int a = scn.nextInt();", "a", "scn.nextInt()", "scn.nextInt", "scn", "scn.hasNext()", "scn.hasNext", "scn", "sum += a", "sum += a", "sum", "a", "{\n a = scn.nextInt();\n ali.add(a);\n }", "{\n a = scn.nextInt();\n ali.add(a);\n }", "a = scn.nextInt()", "a", "scn.nextInt()", "scn.nextInt", "scn", "ali.add(a)", "ali.add", "ali", "a", "Collections.sort(ali)", "Collections.sort", "Collections", "ali", "System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n )", "System.out.println", "System.out", "System", "System.out", "ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum", "\" \"", "ali.get(ali.size() - 1)", "ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum", "ali.get(0)", "ali.get", "ali", "0", "\" \"", "ali.get(ali.size() - 1)", "ali.get", "ali", "ali.size() - 1", "ali.size()", "ali.size", "ali", "1", "\" \"", "sum", "String[] args", "args", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n long sum = 0;\n ArrayList<Integer> ali = new ArrayList<>();\n for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }\n Collections.sort(ali);\n System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n );\n }\n}", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n long sum = 0;\n ArrayList<Integer> ali = new ArrayList<>();\n for(int a = scn.nextInt(); scn.hasNext(); sum += a) {\n a = scn.nextInt();\n ali.add(a);\n }\n Collections.sort(ali);\n System.out.println(\n ali.get(0) + \" \" + ali.get(ali.size() - 1) + \" \" + sum\n );\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner scn = new Scanner(System.in); public static void main(String[] args) { long sum = 0; ArrayList<Integer> ali = new ArrayList<>(); for(int a = scn.nextInt(); scn.hasNext(); sum += a) { a = scn.nextInt(); ali.add(a); } Collections.sort(ali); System.out.println( ali.get(0) + " " + ali.get(ali.size() - 1) + " " + sum ); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 81, 5 ], [ 81, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 39, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 39, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 72, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 72, 77 ], [ 6, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint M=-1000000,m=1000000;\n\t\tlong S = 0;\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}\n\t\tSystem.out.println(m+\" \"+M+\" \"+S);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint M=-1000000,m=1000000;\n\t\tlong S = 0;\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}\n\t\tSystem.out.println(m+\" \"+M+\" \"+S);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint M=-1000000,m=1000000;\n\t\tlong S = 0;\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}\n\t\tSystem.out.println(m+\" \"+M+\" \"+S);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint M=-1000000,m=1000000;\n\t\tlong S = 0;\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}\n\t\tSystem.out.println(m+\" \"+M+\" \"+S);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int M=-1000000", "M", "-1000000", "1000000", "m=1000000;", "m", "1000000", "long S = 0;", "S", "0", "for(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}", "{\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "M = Math.max(M, x)", "M", "Math.max(M, x)", "Math.max", "Math", "M", "x", "m = Math.min(m, x)", "m", "Math.min(m, x)", "Math.min", "Math", "m", "x", "S = S+x", "S", "S+x", "S", "x", "System.out.println(m+\" \"+M+\" \"+S)", "System.out.println", "System.out", "System", "System.out", "m+\" \"+M+\" \"+S", "\" \"", "M", "m+\" \"+M+\" \"+S", "m", "\" \"", "M", "\" \"", "S", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint M=-1000000,m=1000000;\n\t\tlong S = 0;\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}\n\t\tSystem.out.println(m+\" \"+M+\" \"+S);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint M=-1000000,m=1000000;\n\t\tlong S = 0;\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\tint x = sc.nextInt();\n\t\t\tM = Math.max(M, x);\n\t\t\tm = Math.min(m, x);\n\t\t\tS = S+x;\n\t\t}\n\t\tSystem.out.println(m+\" \"+M+\" \"+S);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int M=-1000000,m=1000000; long S = 0; for(int i = 1;i <= n;i++){ int x = sc.nextInt(); M = Math.max(M, x); m = Math.min(m, x); S = S+x; } System.out.println(m+" "+M+" "+S); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 118, 11 ], [ 118, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 41, 46 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 14, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 75, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 86, 90 ], [ 75, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 93, 97 ], [ 75, 98 ], [ 98, 99 ], [ 98, 100 ], [ 14, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 109, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 109, 114 ], [ 12, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "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\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n long y , x;\n long sum = 0;\n String input = br.readLine();\n x = Long.parseLong(input);\n String[] list = br.readLine().split(\" \");\n long ma = Long.parseLong(list[0]);\n long mi = Long.parseLong(list[0]);\n for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }\t\n System.out.println(mi +\" \" + ma +\" \" + sum);\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n long y , x;\n long sum = 0;\n String input = br.readLine();\n x = Long.parseLong(input);\n String[] list = br.readLine().split(\" \");\n long ma = Long.parseLong(list[0]);\n long mi = Long.parseLong(list[0]);\n for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }\t\n System.out.println(mi +\" \" + ma +\" \" + sum);\n\t}\n\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n long y , x;\n long sum = 0;\n String input = br.readLine();\n x = Long.parseLong(input);\n String[] list = br.readLine().split(\" \");\n long ma = Long.parseLong(list[0]);\n long mi = Long.parseLong(list[0]);\n for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }\t\n System.out.println(mi +\" \" + ma +\" \" + sum);\n\t}", "main", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n long y , x;\n long sum = 0;\n String input = br.readLine();\n x = Long.parseLong(input);\n String[] list = br.readLine().split(\" \");\n long ma = Long.parseLong(list[0]);\n long mi = Long.parseLong(list[0]);\n for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }\t\n System.out.println(mi +\" \" + ma +\" \" + sum);\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "long y", "y", "x;", "x", "long sum = 0;", "sum", "0", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "x = Long.parseLong(input)", "x", "Long.parseLong(input)", "Long.parseLong", "Long", "input", "String[] list = br.readLine().split(\" \");", "list", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long ma = Long.parseLong(list[0]);", "ma", "Long.parseLong(list[0])", "Long.parseLong", "Long", "list[0]", "list", "0", "long mi = Long.parseLong(list[0]);", "mi", "Long.parseLong(list[0])", "Long.parseLong", "Long", "list[0]", "list", "0", "for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i ++", "i ++", "i", "{\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }", "{\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }", "y = Integer.parseInt(list[i])", "y", "Integer.parseInt(list[i])", "Integer.parseInt", "Integer", "list[i]", "list", "i", "ma = Math.max(ma, y)", "ma", "Math.max(ma, y)", "Math.max", "Math", "ma", "y", "mi = Math.min(mi, y)", "mi", "Math.min(mi, y)", "Math.min", "Math", "mi", "y", "sum += y", "sum", "y", "System.out.println(mi +\" \" + ma +\" \" + sum)", "System.out.println", "System.out", "System", "System.out", "mi +\" \" + ma +\" \" + sum", "\" \"", "ma", "mi +\" \" + ma +\" \" + sum", "mi", "\" \"", "ma", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n long y , x;\n long sum = 0;\n String input = br.readLine();\n x = Long.parseLong(input);\n String[] list = br.readLine().split(\" \");\n long ma = Long.parseLong(list[0]);\n long mi = Long.parseLong(list[0]);\n for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }\t\n System.out.println(mi +\" \" + ma +\" \" + sum);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n long y , x;\n long sum = 0;\n String input = br.readLine();\n x = Long.parseLong(input);\n String[] list = br.readLine().split(\" \");\n long ma = Long.parseLong(list[0]);\n long mi = Long.parseLong(list[0]);\n for (int i = 0; i < x; i ++)\n {\n \ty = Integer.parseInt(list[i]);\n \tma = Math.max(ma, y);\n \tmi = Math.min(mi, y);\n \tsum += y;\n }\t\n System.out.println(mi +\" \" + ma +\" \" + sum);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args)throws IOException{ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); long y , x; long sum = 0; String input = br.readLine(); x = Long.parseLong(input); String[] list = br.readLine().split(" "); long ma = Long.parseLong(list[0]); long mi = Long.parseLong(list[0]); for (int i = 0; i < x; i ++) { y = Integer.parseInt(list[i]); ma = Math.max(ma, y); mi = Math.min(mi, y); sum += y; } System.out.println(mi +" " + ma +" " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 18, 13, 13, 30, 0, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 18, 13, 13, 17, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 139, 5 ], [ 139, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 100, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 126, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 131, 133 ], [ 124, 134 ], [ 126, 135 ], [ 6, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint intArray[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}\n\t\t// ????°????????±???????????????°??????\n\t\tint min = 0;\n for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }\n // ?????§???????±???????????????°??????\n int max = 0;\n for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }\n // ????¨????????±???????????????°??????\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}\n\t\tSystem.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint intArray[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}\n\t\t// ????°????????±???????????????°??????\n\t\tint min = 0;\n for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }\n // ?????§???????±???????????????°??????\n int max = 0;\n for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }\n // ????¨????????±???????????????°??????\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}\n\t\tSystem.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint intArray[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}\n\t\t// ????°????????±???????????????°??????\n\t\tint min = 0;\n for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }\n // ?????§???????±???????????????°??????\n int max = 0;\n for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }\n // ????¨????????±???????????????°??????\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}\n\t\tSystem.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint intArray[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}\n\t\t// ????°????????±???????????????°??????\n\t\tint min = 0;\n for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }\n // ?????§???????±???????????????°??????\n int max = 0;\n for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }\n // ????¨????????±???????????????°??????\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}\n\t\tSystem.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int intArray[] = new int[n];", "intArray", "new int[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}", "intArray[i] = sc.nextInt()", "intArray[i]", "intArray", "i", "sc.nextInt()", "sc.nextInt", "sc", "int min = 0;", "min", "0", "for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }", "{\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }", "if(intArray[i] < intArray[min]) {\n min = i;\n }", "intArray[i] < intArray[min]", "intArray[i]", "intArray", "i", "intArray[min]", "intArray", "min", "{\n min = i;\n }", "min = i", "min", "i", "int max = 0;", "max", "0", "for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }", "{\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }", "if(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}", "intArray[max] < intArray[i]", "intArray[max]", "intArray", "max", "intArray[i]", "intArray", "i", "{\n \t\tmax = i;\n \t}", "max = i", "max", "i", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tsum += intArray[i];\n\t\t}", "{\n\t\t\tsum += intArray[i];\n\t\t}", "sum += intArray[i]", "sum", "intArray[i]", "intArray", "i", "System.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "intArray[min] + \" \" + intArray[max] + \" \" + sum", "\" \"", "intArray[max]", "intArray[min] + \" \" + intArray[max] + \" \" + sum", "intArray[min]", "intArray", "min", "\" \"", "intArray[max]", "intArray", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint intArray[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}\n\t\t// ????°????????±???????????????°??????\n\t\tint min = 0;\n for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }\n // ?????§???????±???????????????°??????\n int max = 0;\n for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }\n // ????¨????????±???????????????°??????\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}\n\t\tSystem.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint intArray[] = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tintArray[i] = sc.nextInt();\n\t\t}\n\t\t// ????°????????±???????????????°??????\n\t\tint min = 0;\n for(int i = 1; i < n; i++) {\n if(intArray[i] < intArray[min]) {\n min = i;\n }\n }\n // ?????§???????±???????????????°??????\n int max = 0;\n for(int i = 1; i < n; i++) {\n \tif(intArray[max] < intArray[i]) {\n \t\tmax = i;\n \t}\n }\n // ????¨????????±???????????????°??????\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum += intArray[i];\n\t\t}\n\t\tSystem.out.println(intArray[min] + \" \" + intArray[max] + \" \" + sum);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int intArray[] = new int[n]; for(int i = 0; i < n; i++) { intArray[i] = sc.nextInt(); } // ????°????????±???????????????°?????? int min = 0; for(int i = 1; i < n; i++) { if(intArray[i] < intArray[min]) { min = i; } } // ?????§???????±???????????????°?????? int max = 0; for(int i = 1; i < n; i++) { if(intArray[max] < intArray[i]) { max = i; } } // ????¨????????±???????????????°?????? long sum = 0; for(int i = 0; i < n; i++) { sum += intArray[i]; } System.out.println(intArray[min] + " " + intArray[max] + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 41, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 72, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 72, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 72, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 110, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 108, 114 ], [ 110, 115 ], [ 6, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "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\tint x = scan.nextInt();\n\t\tint n[] = new int[x];\n\t\tint min, max;\n\t\tlong sum;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tmin = n[0];\n\t\tmax = n[0];\n\t\tsum = 0;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint x = scan.nextInt();\n\t\tint n[] = new int[x];\n\t\tint min, max;\n\t\tlong sum;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tmin = n[0];\n\t\tmax = n[0];\n\t\tsum = 0;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint x = scan.nextInt();\n\t\tint n[] = new int[x];\n\t\tint min, max;\n\t\tlong sum;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tmin = n[0];\n\t\tmax = n[0];\n\t\tsum = 0;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint x = scan.nextInt();\n\t\tint n[] = new int[x];\n\t\tint min, max;\n\t\tlong sum;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tmin = n[0];\n\t\tmax = n[0];\n\t\tsum = 0;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "int n[] = new int[x];", "n", "new int[x]", "x", "int min", "min", "max;", "max", "long sum;", "sum", "for(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n\t\t\tn[i] = scan.nextInt();\n\t\t}", "{\n\t\t\tn[i] = scan.nextInt();\n\t\t}", "n[i] = scan.nextInt()", "n[i]", "n", "i", "scan.nextInt()", "scan.nextInt", "scan", "min = n[0]", "min", "n[0]", "n", "0", "max = n[0]", "max", "n[0]", "n", "0", "sum = 0", "sum", "0", "for(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}", "{\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}", "if(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}", "max < n[i]", "max", "n[i]", "n", "i", "{\n\t\t\t\tmax = n[i];\n\t\t\t}", "max = n[i]", "max", "n[i]", "n", "i", "if(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}", "min > n[i]", "min", "n[i]", "n", "i", "{\n\t\t\t\tmin = n[i];\n\t\t\t}", "min = n[i]", "min", "n[i]", "n", "i", "sum += n[i]", "sum", "n[i]", "n", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint x = scan.nextInt();\n\t\tint n[] = new int[x];\n\t\tint min, max;\n\t\tlong sum;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tmin = n[0];\n\t\tmax = n[0];\n\t\tsum = 0;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint x = scan.nextInt();\n\t\tint n[] = new int[x];\n\t\tint min, max;\n\t\tlong sum;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tn[i] = scan.nextInt();\n\t\t}\n\t\t\n\t\tmin = n[0];\n\t\tmax = n[0];\n\t\tsum = 0;\n\t\t\n\t\tfor(int i = 0; i < x; i++){\n\t\t\tif(max < n[i]){\n\t\t\t\tmax = n[i];\n\t\t\t}\n\t\t\tif(min > n[i]){\n\t\t\t\tmin = n[i];\n\t\t\t}\n\t\t\tsum += n[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int x = scan.nextInt(); int n[] = new int[x]; int min, max; long sum; for(int i = 0; i < x; i++){ n[i] = scan.nextInt(); } min = n[0]; max = n[0]; sum = 0; for(int i = 0; i < x; i++){ if(max < n[i]){ max = n[i]; } if(min > n[i]){ min = n[i]; } sum += n[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 0, 13, 8, 2, 13, 13, 13, 13, 0, 13, 8, 2, 13, 13, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 82, 5 ], [ 82, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 6, 17 ], [ 17, 18 ], [ 82, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 21, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 21, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 21, 37 ], [ 37, 38 ], [ 37, 39 ], [ 21, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 53, 58 ], [ 45, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 61, 66 ], [ 45, 67 ], [ 67, 68 ], [ 67, 69 ], [ 21, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 70, 76 ], [ 70, 77 ], [ 70, 78 ], [ 19, 79 ], [ 79, 80 ], [ 0, 81 ], [ 81, 82 ], [ 81, 83 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "Main", "public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }", "main", "{\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }", "try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }", "{\n solve(in);\n }", "Scanner in = new Scanner(System.in)", "Scanner in = new Scanner(System.in)", "new Scanner(System.in)", "solve(in)", "solve", "in", "String[] args", "args", "private static void solve(Scanner in) {\n int n = in.nextInt();\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }", "solve", "{\n int n = in.nextInt();\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int min = Integer.MAX_VALUE", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long sum = 0;", "sum", "0", "while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }", "n-- > 0", "n--", "n", "0", "{\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }", "int x = in.nextInt();", "x", "in.nextInt()", "in.nextInt", "in", "min = min < x ? min : x", "min", "min < x ? min : x", "min < x", "min", "x", "min", "x", "max = max > x ? max : x", "max", "max > x ? max : x", "max > x", "max", "x", "max", "x", "sum += x", "sum", "x", "System.out.printf(\"%d %d %d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min", "max", "sum", "Scanner in", "in", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n try (Scanner in = new Scanner(System.in)) {\n solve(in);\n }\n }\n\n private static void solve(Scanner in) {\n int n = in.nextInt();\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n while (n-- > 0) {\n int x = in.nextInt();\n min = min < x ? min : x;\n max = max > x ? max : x;\n sum += x;\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner in = new Scanner(System.in)) { solve(in); } } private static void solve(Scanner in) { int n = in.nextInt(); int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE; long sum = 0; while (n-- > 0) { int x = in.nextInt(); min = min < x ? min : x; max = max > x ? max : x; sum += x; } System.out.printf("%d %d %d\n", min, max, sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 4, 13, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 13, 41, 13, 4, 13, 18, 13, 17, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 29, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 37, 20, 30, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 13, 17, 29, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 17, 23, 13, 10, 6, 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 ], [ 225, 14 ], [ 225, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 15, 30 ], [ 30, 31 ], [ 225, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 34, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 34, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 34, 57 ], [ 57, 58 ], [ 57, 59 ], [ 34, 60 ], [ 60, 61 ], [ 60, 62 ], [ 60, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 64, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 64, 79 ], [ 79, 80 ], [ 79, 81 ], [ 34, 82 ], [ 82, 83 ], [ 86, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 86, 91 ], [ 32, 92 ], [ 92, 93 ], [ 225, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 109, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 103, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 140, 142 ], [ 136, 143 ], [ 143, 144 ], [ 143, 145 ], [ 136, 146 ], [ 146, 147 ], [ 136, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 149, 155 ], [ 148, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 157, 163 ], [ 136, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 94, 168 ], [ 168, 169 ], [ 225, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 172, 179 ], [ 179, 180 ], [ 179, 181 ], [ 182, 183 ], [ 182, 184 ], [ 172, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 185, 195 ], [ 195, 196 ], [ 196, 197 ], [ 185, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 204, 205 ], [ 205, 206 ], [ 204, 207 ], [ 207, 208 ], [ 207, 209 ], [ 172, 210 ], [ 210, 211 ], [ 170, 212 ], [ 212, 213 ], [ 225, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 218, 221 ], [ 214, 222 ], [ 222, 223 ], [ 0, 224 ], [ 224, 225 ], [ 224, 226 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n final int[] array = split(lines[1]);\n\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n\n for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }\n\n return min + \" \" + max + \" \" + sum;\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n final int[] array = split(lines[1]);\n\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n\n for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }\n\n return min + \" \" + max + \" \" + sum;\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "Main", "public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }", "main", "{\n System.out.println(process(readAll(System.in)));\n }", "System.out.println(process(readAll(System.in)))", "System.out.println", "System.out", "System", "System.out", "process(readAll(System.in))", "process", "readAll(System.in)", "readAll", "System.in", "System", "System.in", "String[] args", "args", "protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n final int[] array = split(lines[1]);\n\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n\n for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }\n\n return min + \" \" + max + \" \" + sum;\n }", "process", "{\n final String[] lines = splitForLines(data);\n\n final int[] array = split(lines[1]);\n\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n\n for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }\n\n return min + \" \" + max + \" \" + sum;\n }", "final String[] lines = splitForLines(data);", "lines", "splitForLines(data)", "splitForLines", "data", "final int[] array = split(lines[1]);", "array", "split(lines[1])", "split", "lines[1]", "lines", "1", "int min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "int max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long sum = 0;", "sum", "0", "for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }", "int i", "array", "{\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }", "{\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }", "min = Math.min(i, min)", "min", "Math.min(i, min)", "Math.min", "Math", "i", "min", "max = Math.max(i, max)", "max", "Math.max(i, max)", "Math.max", "Math", "i", "max", "sum += i", "sum", "i", "return min + \" \" + max + \" \" + sum;", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String data", "data", "private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }", "readAll", "{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }", "InputStreamReader r = null;", "r", "null", "BufferedReader br = null;", "br", "null", "try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }", "if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }", "br != null", "br", "null", "{\n try {\n br.close();\n } catch (IOException e) {\n }\n }", "try {\n br.close();\n } catch (IOException e) {\n }", "catch (IOException e) {\n }", "IOException e", "{\n }", "{\n br.close();\n }", "br.close()", "br.close", "br", "if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }", "r != null", "r", "null", "{\n try {\n r.close();\n } catch (IOException e) {\n }\n }", "try {\n r.close();\n } catch (IOException e) {\n }", "catch (IOException e) {\n }", "IOException e", "{\n }", "{\n r.close();\n }", "r.close()", "r.close", "r", "{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }", "r = new InputStreamReader(is)", "r", "new InputStreamReader(is)", "br = new BufferedReader(r)", "br", "new BufferedReader(r)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String s;", "s", "while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }", "(s = br.readLine()) != null", "(s = br.readLine())", "s", "br.readLine()", "br.readLine", "br", "null", "{\n sb.append(s).append('\\n');\n }", "sb.append(s).append('\\n')", "sb.append(s).append", "sb.append(s)", "sb.append", "sb", "s", "'\\n'", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "InputStream is", "is", "private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }", "split", "{\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }", "final String[] s0 = s.split(\" \");", "s0", "s.split(\" \")", "s.split", "s", "\" \"", "int[] ia = new int[s0.length];", "ia", "new int[s0.length]", "s0.length", "s0", "s0.length", "for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s0.length", "i", "s0.length", "s0", "s0.length", "i++", "i++", "i", "{\n ia[i] = Integer.parseInt(s0[i]);\n }", "{\n ia[i] = Integer.parseInt(s0[i]);\n }", "ia[i] = Integer.parseInt(s0[i])", "ia[i]", "ia", "i", "Integer.parseInt(s0[i])", "Integer.parseInt", "Integer", "s0[i]", "s0", "i", "return ia;", "ia", "String s", "s", "private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }", "splitForLines", "{\n return lines.split(\"\\\\n\");\n }", "return lines.split(\"\\\\n\");", "lines.split(\"\\\\n\")", "lines.split", "lines", "\"\\\\n\"", "String lines", "lines", "public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n final int[] array = split(lines[1]);\n\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n\n for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }\n\n return min + \" \" + max + \" \" + sum;\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n System.out.println(process(readAll(System.in)));\n }\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n\n final int[] array = split(lines[1]);\n\n int min = Integer.MAX_VALUE;\n int max = Integer.MIN_VALUE;\n long sum = 0;\n\n for (int i : array) {\n min = Math.min(i, min);\n max = Math.max(i, max);\n sum += i;\n }\n\n return min + \" \" + max + \" \" + sum;\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { System.out.println(process(readAll(System.in))); } protected static String process(String data) { final String[] lines = splitForLines(data); final int[] array = split(lines[1]); int min = Integer.MAX_VALUE; int max = Integer.MIN_VALUE; long sum = 0; for (int i : array) { min = Math.min(i, min); max = Math.max(i, max); sum += i; } return min + " " + max + " " + sum; } private static String readAll(InputStream is) { InputStreamReader r = null; BufferedReader br = null; try { r = new InputStreamReader(is); br = new BufferedReader(r); StringBuilder sb = new StringBuilder(); String s; while ((s = br.readLine()) != null) { sb.append(s).append('\n'); } return sb.toString(); } catch (IOException e) { throw new RuntimeException(e); } finally { if (br != null) { try { br.close(); } catch (IOException e) { } } if (r != null) { try { r.close(); } catch (IOException e) { } } } } private static int[] split(String s) { final String[] s0 = s.split(" "); int[] ia = new int[s0.length]; for (int i = 0; i < s0.length; i++) { ia[i] = Integer.parseInt(s0[i]); } return ia; } private static String[] splitForLines(String lines) { return lines.split("\\n"); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 98, 11 ], [ 98, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 48, 50 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 55, 78 ], [ 78, 79 ], [ 78, 80 ], [ 14, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 89, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 87, 93 ], [ 89, 94 ], [ 12, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "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 IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n br.readLine();\n final String[] data = br.readLine().split(\" \");\n long min = Long.parseLong(data[0]);\n long max = Long.parseLong(data[0]);\n long sum = 0;\n long num = 0;\n for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n br.readLine();\n final String[] data = br.readLine().split(\" \");\n long min = Long.parseLong(data[0]);\n long max = Long.parseLong(data[0]);\n long sum = 0;\n long num = 0;\n for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n br.readLine();\n final String[] data = br.readLine().split(\" \");\n long min = Long.parseLong(data[0]);\n long max = Long.parseLong(data[0]);\n long sum = 0;\n long num = 0;\n for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n br.readLine();\n final String[] data = br.readLine().split(\" \");\n long min = Long.parseLong(data[0]);\n long max = Long.parseLong(data[0]);\n long sum = 0;\n long num = 0;\n for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));", "br", "new BufferedReader(\n new InputStreamReader(System.in))", "br.readLine()", "br.readLine", "br", "final String[] data = br.readLine().split(\" \");", "data", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long min = Long.parseLong(data[0]);", "min", "Long.parseLong(data[0])", "Long.parseLong", "Long", "data[0]", "data", "0", "long max = Long.parseLong(data[0]);", "max", "Long.parseLong(data[0])", "Long.parseLong", "Long", "data[0]", "data", "0", "long sum = 0;", "sum", "0", "long num = 0;", "num", "0", "for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }", "String s", "data", "{\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }", "{\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }", "num = Long.parseLong(s)", "num", "Long.parseLong(s)", "Long.parseLong", "Long", "s", "if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }", "max < num", "max", "num", "{\n max = num;\n }", "max = num", "max", "num", "if (num < min) {\n min = num;\n }", "num < min", "num", "min", "{\n min = num;\n }", "min = num", "min", "num", "sum += num", "sum", "num", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n br.readLine();\n final String[] data = br.readLine().split(\" \");\n long min = Long.parseLong(data[0]);\n long max = Long.parseLong(data[0]);\n long sum = 0;\n long num = 0;\n for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(\n new InputStreamReader(System.in));\n br.readLine();\n final String[] data = br.readLine().split(\" \");\n long min = Long.parseLong(data[0]);\n long max = Long.parseLong(data[0]);\n long sum = 0;\n long num = 0;\n for (String s : data) {\n num = Long.parseLong(s);\n if (max < num) {\n max = num;\n } else if (num < min) {\n min = num;\n }\n sum += num;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main" ]
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)); br.readLine(); final String[] data = br.readLine().split(" "); long min = Long.parseLong(data[0]); long max = Long.parseLong(data[0]); long sum = 0; long num = 0; for (String s : data) { num = Long.parseLong(s); if (max < num) { max = num; } else if (num < min) { min = num; } sum += num; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 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, 41, 13, 4, 18, 4, 18, 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, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 108, 11 ], [ 108, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 28, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 14, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 14, 71 ], [ 71, 72 ], [ 71, 73 ], [ 14, 74 ], [ 74, 75 ], [ 74, 76 ], [ 74, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 81, 85 ], [ 78, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 88, 92 ], [ 78, 93 ], [ 93, 94 ], [ 93, 95 ], [ 14, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 96, 102 ], [ 96, 103 ], [ 96, 104 ], [ 12, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "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\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tlong[] input = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}\n\t\tlong max = input[0];\n\t\tlong min = input[0];\n\t\tlong sum = 0;\n\t\tfor(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\", min, max, sum);\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tlong[] input = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}\n\t\tlong max = input[0];\n\t\tlong min = input[0];\n\t\tlong sum = 0;\n\t\tfor(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\", min, max, sum);\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tlong[] input = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}\n\t\tlong max = input[0];\n\t\tlong min = input[0];\n\t\tlong sum = 0;\n\t\tfor(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\", min, max, sum);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tlong[] input = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}\n\t\tlong max = input[0];\n\t\tlong min = input[0];\n\t\tlong sum = 0;\n\t\tfor(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\", min, max, sum);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] tmp = br.readLine().split(\" \");", "tmp", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long[] input = new long[n];", "input", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}", "{\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}", "input[i] = Long.parseLong(tmp[i])", "input[i]", "input", "i", "Long.parseLong(tmp[i])", "Long.parseLong", "Long", "tmp[i]", "tmp", "i", "long max = input[0];", "max", "input[0]", "input", "0", "long min = input[0];", "min", "input[0]", "input", "0", "long sum = 0;", "sum", "0", "for(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}", "long x", "input", "{\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}", "{\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}", "max = Math.max(max, x)", "max", "Math.max(max, x)", "Math.max", "Math", "max", "x", "min = Math.min(min, x)", "min", "Math.min(min, x)", "Math.min", "Math", "min", "x", "sum += x", "sum", "x", "System.out.printf(\"%d %d %d%n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d%n\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tlong[] input = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}\n\t\tlong max = input[0];\n\t\tlong min = input[0];\n\t\tlong sum = 0;\n\t\tfor(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\", min, max, sum);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] tmp = br.readLine().split(\" \");\n\t\tlong[] input = new long[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput[i] = Long.parseLong(tmp[i]);\n\t\t}\n\t\tlong max = input[0];\n\t\tlong min = input[0];\n\t\tlong sum = 0;\n\t\tfor(long x : input){\n\t\t\tmax = Math.max(max, x);\n\t\t\tmin = Math.min(min, x);\n\t\t\tsum += x;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d%n\", min, max, sum);\n\t}\n\n}", "Main" ]
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 n = Integer.parseInt(br.readLine()); String[] tmp = br.readLine().split(" "); long[] input = new long[n]; for (int i = 0; i < n; i++) { input[i] = Long.parseLong(tmp[i]); } long max = input[0]; long min = input[0]; long sum = 0; for(long x : input){ max = Math.max(max, x); min = Math.min(min, x); sum += x; } System.out.printf("%d %d %d%n", min, max, sum); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 13, 13, 2, 13, 17, 30, 0, 13, 13, 14, 2, 2, 13, 13, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 93, 5 ], [ 93, 6 ], [ 6, 7 ], [ 93, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 10, 22 ], [ 22, 23 ], [ 22, 24 ], [ 10, 25 ], [ 25, 26 ], [ 25, 27 ], [ 10, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 40, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 40, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 40, 73 ], [ 73, 74 ], [ 73, 75 ], [ 10, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 84, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 84, 89 ], [ 8, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long min = 0;", "min", "0", "long max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}", "{\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}", "int num = Integer.parseInt(sc.next());", "num", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}", "num <= min || i == 0", "num <= min", "num", "min", "i == 0", "i", "0", "{\n\t\t\t\tmin = num;\n\t\t\t}", "min = num", "min", "num", "if (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}", "max <= num || i == 0", "max <= num", "max", "num", "i == 0", "i", "0", "{\n\t\t\t\tmax = num;\n\t\t\t}", "max = num", "max", "num", "sum += num", "sum", "num", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(sc.next());\n\t\t\tif (num <= min || i == 0) {\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tif (max <= num || i == 0) {\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); int n = sc.nextInt(); long min = 0; long max = 0; long sum = 0; for (int i = 0; i < n; i++) { int num = Integer.parseInt(sc.next()); if (num <= min || i == 0) { min = num; } if (max <= num || i == 0) { max = num; } sum += num; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 41, 13, 41, 13, 41, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 129, 8 ], [ 129, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 22, 31 ], [ 31, 32 ], [ 22, 33 ], [ 33, 34 ], [ 22, 35 ], [ 35, 36 ], [ 22, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 22, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 47, 52 ], [ 22, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 22, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 22, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 81, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 81, 106 ], [ 106, 107 ], [ 106, 108 ], [ 22, 109 ], [ 109, 110 ], [ 110, 111 ], [ 22, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 120, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 118, 124 ], [ 120, 125 ], [ 9, 126 ], [ 126, 127 ], [ 0, 128 ], [ 128, 129 ], [ 128, 130 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}", "catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}", "Exception e", "{\n\t\t\tSystem.err.println(e);\n\t\t}", "System.err.println(e)", "System.err.println", "System.err", "System", "System.err", "e", "{\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));", "br", "new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in))", "String[] strArray;", "strArray", "long sum = 0;", "sum", "0", "int num", "num", "max", "max", "min;", "min", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "strArray = br.readLine().split(\"\\\\s\")", "strArray", "br.readLine().split(\"\\\\s\")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\"\\\\s\"", "max = Integer.parseInt(strArray[0])", "max", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "min = Integer.parseInt(strArray[0])", "min", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "for (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}", "{\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}", "num = Integer.parseInt(strArray[i])", "num", "Integer.parseInt(strArray[i])", "Integer.parseInt", "Integer", "strArray[i]", "strArray", "i", "if (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}", "max < num", "max", "num", "{\n\t\t\t\t\tmax = num;\n\t\t\t\t}", "max = num", "max", "num", "if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}", "min > num", "min", "num", "{\n\t\t\t\t\tmin = num;\n\t\t\t\t}", "min = num", "min", "num", "sum += num", "sum", "num", "br.close()", "br.close", "br", "System.out.println(min +\" \"+ max +\" \"+ sum)", "System.out.println", "System.out", "System", "System.out", "min +\" \"+ max +\" \"+ sum", "\" \"", "max", "min +\" \"+ max +\" \"+ sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\t\t\tString[] strArray;\t\t\n\t\t\tlong sum = 0;\n\t\t\tint num ,max, min;\n\t\t\t\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tstrArray = br.readLine().split(\"\\\\s\");\n\n\t\t\tmax = Integer.parseInt(strArray[0]);\n\t\t\tmin = Integer.parseInt(strArray[0]);\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strArray[i]);\n\t\t\t\tif (max < num) {\n\t\t\t\t\tmax = num;\n\t\t\t\t} else if (min > num) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum += num;\n\t\t\t}\n\t\t\tbr.close();\n\t\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t\t} catch (Exception e) {\n\t\t\tSystem.err.println(e);\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader( System.in)); String[] strArray; long sum = 0; int num ,max, min; int n = Integer.parseInt(br.readLine()); strArray = br.readLine().split("\\s"); max = Integer.parseInt(strArray[0]); min = Integer.parseInt(strArray[0]); for (int i = 0; i < n; i++) { num = Integer.parseInt(strArray[i]); if (max < num) { max = num; } else if (min > num) { min = num; } sum += num; } br.close(); System.out.println(min +" "+ max +" "+ sum); } catch (Exception e) { System.err.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 43, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 43, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 76, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 76, 81 ], [ 6, 82 ], [ 82, 83 ] ]
[ "import java.util.Scanner;\n \nclass Main{\n public static void main(String[] arg){\n int n, max = -1000000, min = 1000000, input;\n long sum = 0;\n\n Scanner in = new Scanner(System.in);\n n = in.nextInt();\n\n for(int i=0; i<n; i++){\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] arg){\n int n, max = -1000000, min = 1000000, input;\n long sum = 0;\n\n Scanner in = new Scanner(System.in);\n n = in.nextInt();\n\n for(int i=0; i<n; i++){\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main(String[] arg){\n int n, max = -1000000, min = 1000000, input;\n long sum = 0;\n\n Scanner in = new Scanner(System.in);\n n = in.nextInt();\n\n for(int i=0; i<n; i++){\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n int n, max = -1000000, min = 1000000, input;\n long sum = 0;\n\n Scanner in = new Scanner(System.in);\n n = in.nextInt();\n\n for(int i=0; i<n; i++){\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }", "int n", "n", "max = -1000000", "max", "-1000000", "1000000", "min = 1000000", "min", "1000000", "input;", "input", "long sum = 0;", "sum", "0", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "n = in.nextInt()", "n", "in.nextInt()", "in.nextInt", "in", "for(int i=0; i<n; i++){\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }", "{\n input = in.nextInt();\n if(input > max){\n max = input;\n }\n if( input < min){\n min = input;\n }\n sum += input;\n }", "input = in.nextInt()", "input", "in.nextInt()", "in.nextInt", "in", "if(input > max){\n max = input;\n }", "input > max", "input", "max", "{\n max = input;\n }", "max = input", "max", "input", "if( input < min){\n min = input;\n }", "input < min", "input", "min", "{\n min = input;\n }", "min = input", "min", "input", "sum += input", "sum", "input", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] arg", "arg" ]
import java.util.Scanner; class Main{ public static void main(String[] arg){ int n, max = -1000000, min = 1000000, input; long sum = 0; Scanner in = new Scanner(System.in); n = in.nextInt(); for(int i=0; i<n; i++){ input = in.nextInt(); if(input > max){ max = input; } if( input < min){ min = input; } sum += input; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 13, 41, 13, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 0, 13, 13, 41, 13, 2, 2, 2, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 12, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 33, 38 ], [ 19, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 19, 47 ], [ 47, 48 ], [ 47, 49 ], [ 19, 50 ], [ 50, 51 ], [ 50, 52 ], [ 19, 53 ], [ 53, 54 ], [ 53, 55 ], [ 19, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 68, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 68, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 68, 91 ], [ 91, 92 ], [ 91, 93 ], [ 19, 94 ], [ 94, 95 ], [ 94, 96 ], [ 99, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 98, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 97, 109 ], [ 99, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 19, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 9, 120 ], [ 120, 121 ], [ 0, 122 ], [ 122, 123 ], [ 122, 124 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t}", "BufferedReader input = new BufferedReader(new InputStreamReader(System.in));", "input", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(input.readLine());", "n", "Integer.parseInt(input.readLine())", "Integer.parseInt", "Integer", "input.readLine()", "input.readLine", "input", "String[] line = input.readLine().split(\" \");", "line", "input.readLine().split(\" \")", "input.readLine().split", "input.readLine()", "input.readLine", "input", "\" \"", "int first = Integer.parseInt(line[0]);", "first", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int min = first;", "min", "first", "int max = first;", "max", "first", "long sum = first;", "sum", "first", "for (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}", "{\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}", "int a = Integer.parseInt(line[i]);", "a", "Integer.parseInt(line[i])", "Integer.parseInt", "Integer", "line[i]", "line", "i", "if (a < min) min = a;", "a < min", "a", "min", "min = a", "min", "a", "if (max < a) max = a;", "max < a", "max", "a", "max = a", "max", "a", "sum += a", "sum", "a", "String answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);", "answer", "String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum)", "\" \"", "String.valueOf(max)", "String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum)", "String.valueOf(min)", "String.valueOf", "String", "min", "\" \"", "String.valueOf(max)", "String.valueOf", "String", "max", "\" \"", "String.valueOf(sum)", "String.valueOf", "String", "sum", "System.out.println(answer)", "System.out.println", "System.out", "System", "System.out", "answer", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint n = Integer.parseInt(input.readLine());\n\t\t\t\n\t\t\tString[] line = input.readLine().split(\" \");\n\t\t\tint first = Integer.parseInt(line[0]);\n\t\t\tint min = first;\n\t\t\tint max = first;\n\t\t\tlong sum = first;\n\t\t\tfor (int i = 1; i < n; i++) {\n\t\t\t\tint a = Integer.parseInt(line[i]);\n\t\t\t\tif (a < min) min = a;\n\t\t\t\tif (max < a) max = a;\n\t\t\t\tsum += a;\n\t\t\t}\n\t\t\tString answer = String.valueOf(min) + \" \" + String.valueOf(max) + \" \" + String.valueOf(sum);\n\t\t\tSystem.out.println(answer);\n\t\t} catch (Exception e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { try { BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(input.readLine()); String[] line = input.readLine().split(" "); int first = Integer.parseInt(line[0]); int min = first; int max = first; long sum = first; for (int i = 1; i < n; i++) { int a = Integer.parseInt(line[i]); if (a < min) min = a; if (max < a) max = a; sum += a; } String answer = String.valueOf(min) + " " + String.valueOf(max) + " " + String.valueOf(sum); System.out.println(answer); } catch (Exception e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 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, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 0, 13, 2, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 66, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 66, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 106, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 104, 110 ], [ 106, 111 ], [ 6, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong sum = 0;\n\t\tint[] x = new int[N];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\t\tint max = x[0];\n\t\tint min = x[0];\n\n\t\tfor (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong sum = 0;\n\t\tint[] x = new int[N];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\t\tint max = x[0];\n\t\tint min = x[0];\n\n\t\tfor (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong sum = 0;\n\t\tint[] x = new int[N];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\t\tint max = x[0];\n\t\tint min = x[0];\n\n\t\tfor (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong sum = 0;\n\t\tint[] x = new int[N];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\t\tint max = x[0];\n\t\tint min = x[0];\n\n\t\tfor (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "long sum = 0;", "sum", "0", "int[] x = new int[N];", "x", "new int[N]", "N", "for (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tx[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tx[i] = sc.nextInt();\n\t\t}", "x[i] = sc.nextInt()", "x[i]", "x", "i", "sc.nextInt()", "sc.nextInt", "sc", "int max = x[0];", "max", "x[0]", "x", "0", "int min = x[0];", "min", "x[0]", "x", "0", "for (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}", "{\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}", "if (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}", "max < x[i]", "max", "x[i]", "x", "i", "{\n\t\t\t\tmax = x[i];\n\t\t\t}", "max = x[i]", "max", "x[i]", "x", "i", "if (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}", "min > x[i]", "min", "x[i]", "x", "i", "{\n\t\t\t\tmin = x[i];\n\t\t\t}", "min = x[i]", "min", "x[i]", "x", "i", "sum = sum + x[i]", "sum", "sum + x[i]", "sum", "x[i]", "x", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String args[]", "args", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong sum = 0;\n\t\tint[] x = new int[N];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\t\tint max = x[0];\n\t\tint min = x[0];\n\n\t\tfor (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong sum = 0;\n\t\tint[] x = new int[N];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tx[i] = sc.nextInt();\n\t\t}\n\t\tint max = x[0];\n\t\tint min = x[0];\n\n\t\tfor (int i = 0; i < N; i++) {\n\n\t\t\tif (max < x[i]) {\n\t\t\t\tmax = x[i];\n\t\t\t}\n\n\t\t\tif (min > x[i]) {\n\t\t\t\tmin = x[i];\n\t\t\t}\n\n\t\t\tsum = sum + x[i];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); long sum = 0; int[] x = new int[N]; for (int i = 0; i < N; i++) { x[i] = sc.nextInt(); } int max = x[0]; int min = x[0]; for (int i = 0; i < N; i++) { if (max < x[i]) { max = x[i]; } if (min > x[i]) { min = x[i]; } sum = sum + x[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 17, 0, 13, 0, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 45, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 45, 67 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 78, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 78, 83 ], [ 6, 84 ], [ 84, 85 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min, max;\n long sum = 0;\n sum = min = max = scan.nextInt();\n for(int i = 1; i < n; i++){\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min, max;\n long sum = 0;\n sum = min = max = scan.nextInt();\n for(int i = 1; i < n; i++){\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min, max;\n long sum = 0;\n sum = min = max = scan.nextInt();\n for(int i = 1; i < n; i++){\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int min, max;\n long sum = 0;\n sum = min = max = scan.nextInt();\n for(int i = 1; i < n; i++){\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int min", "min", "max;", "max", "long sum = 0;", "sum", "0", "sum = min = max = scan.nextInt()", "sum", "min = max = scan.nextInt()", "min", "max = scan.nextInt()", "max", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 1; i < n; i++){\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }", "{\n int ai = scan.nextInt();\n if(min > ai){\n min = ai;\n }\n if(max < ai){\n max = ai;\n }\n sum += ai;\n }", "int ai = scan.nextInt();", "ai", "scan.nextInt()", "scan.nextInt", "scan", "if(min > ai){\n min = ai;\n }", "min > ai", "min", "ai", "{\n min = ai;\n }", "min = ai", "min", "ai", "if(max < ai){\n max = ai;\n }", "max < ai", "max", "ai", "{\n max = ai;\n }", "max = ai", "max", "ai", "sum += ai", "sum", "ai", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int min, max; long sum = 0; sum = min = max = scan.nextInt(); for(int i = 1; i < n; i++){ int ai = scan.nextInt(); if(min > ai){ min = ai; } if(max < ai){ max = ai; } sum += ai; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 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, 0, 13, 2, 13, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 30, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 30, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 44, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 11, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 11, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 11, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 69, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 83, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 11, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 116, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 114, 120 ], [ 116, 121 ], [ 9, 122 ], [ 122, 123 ] ]
[ "//4-D\nimport java.util.Random;\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n Random ran = new Random();\n \n int n = sc.nextInt();\n \n long sum = 0;\n \n int num [] = new int [n];\n \n \t/*for(int i = 0 ; i < num.length ; i++ ){\n\t \t num [i] = ran.nextInt(1000000);\n\t \t //System.out.println(num[i]);\n\t \t \n\t \t sum = sum + num[i];\n\t \t \n\t }*/\n \n\t for(int i = 0 ; i < num.length ; i++ ){\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}\n\t \n \t\tint max = num[0];\n \t\tint min = num[0];\n\t\n\t\tfor(int i=0; i < num.length; i++ ){\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}\n\t\n System.out.println(min + \" \" + max + \" \" + sum);\n\t\n }\n}", "import java.util.Random;", "Random", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n Random ran = new Random();\n \n int n = sc.nextInt();\n \n long sum = 0;\n \n int num [] = new int [n];\n \n \t/*for(int i = 0 ; i < num.length ; i++ ){\n\t \t num [i] = ran.nextInt(1000000);\n\t \t //System.out.println(num[i]);\n\t \t \n\t \t sum = sum + num[i];\n\t \t \n\t }*/\n \n\t for(int i = 0 ; i < num.length ; i++ ){\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}\n\t \n \t\tint max = num[0];\n \t\tint min = num[0];\n\t\n\t\tfor(int i=0; i < num.length; i++ ){\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}\n\t\n System.out.println(min + \" \" + max + \" \" + sum);\n\t\n }\n}", "Main", "public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n Random ran = new Random();\n \n int n = sc.nextInt();\n \n long sum = 0;\n \n int num [] = new int [n];\n \n \t/*for(int i = 0 ; i < num.length ; i++ ){\n\t \t num [i] = ran.nextInt(1000000);\n\t \t //System.out.println(num[i]);\n\t \t \n\t \t sum = sum + num[i];\n\t \t \n\t }*/\n \n\t for(int i = 0 ; i < num.length ; i++ ){\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}\n\t \n \t\tint max = num[0];\n \t\tint min = num[0];\n\t\n\t\tfor(int i=0; i < num.length; i++ ){\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}\n\t\n System.out.println(min + \" \" + max + \" \" + sum);\n\t\n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n Random ran = new Random();\n \n int n = sc.nextInt();\n \n long sum = 0;\n \n int num [] = new int [n];\n \n \t/*for(int i = 0 ; i < num.length ; i++ ){\n\t \t num [i] = ran.nextInt(1000000);\n\t \t //System.out.println(num[i]);\n\t \t \n\t \t sum = sum + num[i];\n\t \t \n\t }*/\n \n\t for(int i = 0 ; i < num.length ; i++ ){\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}\n\t \n \t\tint max = num[0];\n \t\tint min = num[0];\n\t\n\t\tfor(int i=0; i < num.length; i++ ){\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}\n\t\n System.out.println(min + \" \" + max + \" \" + sum);\n\t\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Random ran = new Random();", "ran", "new Random()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long sum = 0;", "sum", "0", "int num [] = new int [n];", "num", "new int [n]", "n", "for(int i = 0 ; i < num.length ; i++ ){\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}", "{\n \t\tnum[i] = sc.nextInt();\n \t\t\n \t\tsum = sum + num[i];\n\n \t}", "num[i] = sc.nextInt()", "num[i]", "num", "i", "sc.nextInt()", "sc.nextInt", "sc", "sum = sum + num[i]", "sum", "sum + num[i]", "sum", "num[i]", "num", "i", "int max = num[0];", "max", "num[0]", "num", "0", "int min = num[0];", "min", "num[0]", "num", "0", "for(int i=0; i < num.length; i++ ){\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}", "{\n\t\t\t\n\t\t\tif (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t\t\n\t\t\tif (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}\n\t\t}", "if (max < num[i]){\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}", "max < num[i]", "max", "num[i]", "num", "i", "{\t\n\t\t\t\t\n\t\t\t\tmax = num[i];\n\t\t\t\t\n\t\t\t\t}", "max = num[i]", "max", "num[i]", "num", "i", "if (min > num[i]){\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}", "min > num[i]", "min", "num[i]", "num", "i", "{\t\n\t\t\t\t\n\t\t\t\tmin = num[i];\n\t\t\t\t\n\t\t\t\t}", "min = num[i]", "min", "num[i]", "num", "i", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args" ]
//4-D import java.util.Random; import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); Random ran = new Random(); int n = sc.nextInt(); long sum = 0; int num [] = new int [n]; /*for(int i = 0 ; i < num.length ; i++ ){ num [i] = ran.nextInt(1000000); //System.out.println(num[i]); sum = sum + num[i]; }*/ for(int i = 0 ; i < num.length ; i++ ){ num[i] = sc.nextInt(); sum = sum + num[i]; } int max = num[0]; int min = num[0]; for(int i=0; i < num.length; i++ ){ if (max < num[i]){ max = num[i]; } if (min > num[i]){ min = num[i]; } } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 42, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 42, 64 ], [ 64, 65 ], [ 64, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 75, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 75, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tlong sum = 0;\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong a = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tlong sum = 0;\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong a = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tlong sum = 0;\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong a = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tlong sum = 0;\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong a = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "long sum = 0;", "sum", "0", "long min = 1000000;", "min", "1000000", "long max = -1000000;", "max", "-1000000", "1000000", "long a = 0;", "a", "0", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}", "{\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "if(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}", "a < min", "a", "min", "{\n\t\t\t\tmin = \ta;\n\t\t\t}", "min = \ta", "min", "a", "if(a > max){\n\t\t\t\tmax = a;\n\t\t\t}", "a > max", "a", "max", "{\n\t\t\t\tmax = a;\n\t\t\t}", "max = a", "max", "a", "sum += a", "sum", "a", "System.out.println(min + \" \" + max + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tlong sum = 0;\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong a = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tlong sum = 0;\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong a = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tfor(int i = 1;i <= n;i++){\n\t\t\ta = scan.nextInt();\n\t\t\tif(a < min){\n\t\t\t\tmin = \ta;\n\t\t\t}\n\t\t\tif(a > max){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tsum += a;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { long sum = 0; long min = 1000000; long max = -1000000; long a = 0; Scanner scan = new Scanner(System.in); int n = scan.nextInt(); for(int i = 1;i <= n;i++){ a = scan.nextInt(); if(a < min){ min = a; } if(a > max){ max = a; } sum += a; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 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, 41, 13, 4, 13, 13, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 12, 13, 30, 29, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 20, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 69, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 20, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 9, 101 ], [ 101, 102 ], [ 114, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 103, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\n\t}", "main", "{\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\n\t}", "InputStreamReader is = new InputStreamReader(System.in);", "is", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(is);", "br", "new BufferedReader(is)", "while (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}", "true", "{\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] num = getElement(str);", "num", "getElement(str)", "getElement", "str", "int h = Integer.parseInt(num[0]);", "h", "Integer.parseInt(num[0])", "Integer.parseInt", "Integer", "num[0]", "num", "0", "int w = Integer.parseInt(num[1]);", "w", "Integer.parseInt(num[1])", "Integer.parseInt", "Integer", "num[1]", "num", "1", "if (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}", "h == 0 && w == 0", "h == 0", "h", "0", "w == 0", "w", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "for (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < h", "i", "h", "i++", "i++", "i", "{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}", "{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}", "for (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < w", "j", "w", "j++", "j++", "j", "{\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}", "System.out.print(\"#\")", "System.out.print", "System.out", "System", "System.out", "\"#\"", "System.out.print(\"\\r\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\r\\n\"", "System.out.print(\"\\r\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\r\\n\"", "String[] args", "args", "//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}", "getElement", "{\n\t\treturn (element.split(\" \"));\n\t}", "return (element.split(\" \"));", "(element.split(\" \"))", "element.split", "element", "\" \"", "String element", "element", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\twhile (true) {\n\t\t\tString str = br.readLine();\n\n\t\t\tString[] num = getElement(str);\n\n\t\t\tint h = Integer.parseInt(num[0]);\n\t\t\tint w = Integer.parseInt(num[1]);\n\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\tif (j == w - 1) {\n//\t\t\t\t\t\tSystem.out.print(\" \");\n//\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\r\\n\");\n\t\t}\n\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); while (true) { String str = br.readLine(); String[] num = getElement(str); int h = Integer.parseInt(num[0]); int w = Integer.parseInt(num[1]); if (h == 0 && w == 0) { break; } for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) { System.out.print("#"); // if (j == w - 1) { // System.out.print(" "); // } } System.out.print("\r\n"); } System.out.print("\r\n"); } } //?????????????????????????????????????????? public static String[] getElement(String element) { return (element.split(" ")); } }
[ 7, 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, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 10, 6, 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 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 214, 20 ], [ 214, 21 ], [ 21, 22 ], [ 214, 23 ], [ 23, 24 ], [ 214, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 40, 41 ], [ 41, 42 ], [ 25, 43 ], [ 43, 44 ], [ 214, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 52, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 85, 96 ], [ 97, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 84, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 52, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 214, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 110, 114 ], [ 114, 115 ], [ 110, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 116, 122 ], [ 122, 123 ], [ 110, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 127, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 126, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 144, 145 ], [ 145, 146 ], [ 110, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 150, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 149, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 167, 168 ], [ 168, 169 ], [ 110, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 173, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 172, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 110, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 193, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 192, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 207, 210 ], [ 210, 211 ], [ 211, 212 ], [ 0, 213 ], [ 213, 214 ], [ 213, 215 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }\n}", "Solution", "void solve() throws IOException {\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }", "solve", "{\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }", "while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }", "true", "{\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }", "int H = in.nextInt();", "H", "in.nextInt()", "in.nextInt", "in", "int W = in.nextInt();", "W", "in.nextInt()", "in.nextInt", "in", "if (H == 0 && W == 0) break;", "H == 0 && W == 0", "H == 0", "H", "0", "W == 0", "W", "0", "break;", "for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < H", "i", "H", "i++", "i++", "i", "{\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }", "{\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }", "for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < W", "j", "W", "j++", "j++", "j", "{\n out.print(\"#\");\n }", "{\n out.print(\"#\");\n }", "out.print(\"#\")", "out.print", "out", "\"#\"", "out.print(\"\\n\")", "out.print", "out", "\"\\n\"", "out.print(\"\\n\")", "out.print", "out", "\"\\n\"", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n while (true) {\n int H = in.nextInt();\n int W = in.nextInt();\n if (H == 0 && W == 0) break;\n \n for (int i = 0; i < H; i++) {\n for (int j = 0; j < W; j++) {\n out.print(\"#\");\n }\n out.print(\"\\n\");\n }\n \n out.print(\"\\n\");\n }\n }\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { while (true) { int H = in.nextInt(); int W = in.nextInt(); if (H == 0 && W == 0) break; for (int i = 0; i < H; i++) { for (int j = 0; j < W; j++) { out.print("#"); } out.print("\n"); } out.print("\n"); } } } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 84, 5 ], [ 84, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 18, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 18, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 51, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 18, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "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\tint i,j;\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint i,j;\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main", "public static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint i,j;\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint i,j;\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int i", "i", "j;", "j", "while(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "true", "{\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "int h = scan.nextInt();", "h", "scan.nextInt()", "scan.nextInt", "scan", "int w = scan.nextInt();", "w", "scan.nextInt()", "scan.nextInt", "scan", "if(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}", "h == 0 && w == 0", "h == 0", "h", "0", "w == 0", "w", "0", "{\n\t\t\t\tbreak;\n\t\t\t}", "break;", "for(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "i=0;", "i=0", "i", "0", "i<h", "i", "h", "i++", "i++", "i", "{\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "{\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "for(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}", "j=0;", "j=0", "j", "0", "j<w", "j", "w", "j++", "j++", "j", "{\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}", "System.out.print('#')", "System.out.print", "System.out", "System", "System.out", "'#'", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String [] args", "args", "public class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint i,j;\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String [] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint i,j;\n\t\t\n\t\twhile(true){\n\t\t\t\n\t\t\tint h = scan.nextInt();\n\t\t\tint w = scan.nextInt();\n\t\t\t\n\t\t\tif(h == 0 && w == 0){\n\t\t\t\tbreak;\n\t\t\t}\n\t\t\t\n\t\t\tfor(i=0; i<h; i++){\n\t\t\t\tfor(j=0; j<w; j++){\n\t\t\t\t\tSystem.out.print('#');\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String [] args){ Scanner scan = new Scanner(System.in); int i,j; while(true){ int h = scan.nextInt(); int w = scan.nextInt(); if(h == 0 && w == 0){ break; } for(i=0; i<h; i++){ for(j=0; j<w; j++){ System.out.print('#'); } System.out.println(); } System.out.println(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 3, 14, 2, 2, 13, 17, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 101, 5 ], [ 101, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 16, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 57, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 44, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 101, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 89, 98 ], [ 98, 99 ], [ 0, 100 ], [ 100, 101 ], [ 100, 102 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tprivate void rect(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.rect();\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tprivate void rect(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.rect();\n\n\t}\n}", "Main", "private void rect(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "rect", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "while(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "scanner.hasNextInt()", "scanner.hasNextInt", "scanner", "{\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "int h =scanner.nextInt();", "h", "scanner.nextInt()", "scanner.nextInt", "scanner", "int w =scanner.nextInt();", "w", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(h==0 && w==0)break;", "h==0 && w==0", "h==0", "h", "0", "w==0", "w", "0", "break;", "if(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}", "h<=300 && w<=300", "h<=300", "h", "300", "w<=300", "w", "300", "{\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}", "for(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<h", "i", "h", "i++", "i++", "i", "{\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}", "{\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}", "for(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}", "int j=1;", "int j=1;", "j", "1", "j<w", "j", "w", "j++", "j++", "j", "{\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}", "System.out.printf(\"#\")", "System.out.printf", "System.out", "System", "System.out", "\"#\"", "System.out.println(\"#\")", "System.out.println", "System.out", "System", "System.out", "\"#\"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "public static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.rect();\n\n\t}", "main", "{\n\t\tMain run =new Main();\n\t\trun.rect();\n\n\t}", "Main run =new Main();", "run", "new Main()", "run.rect()", "run.rect", "run", "String[] args", "args", "public class Main {\n\tprivate void rect(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.rect();\n\n\t}\n}", "public class Main {\n\tprivate void rect(){\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\twhile(scanner.hasNextInt()){\n\t\t\tint h =scanner.nextInt();\n\t\t\tint w =scanner.nextInt();\n\t\t\tif(h==0 && w==0)break;\n\t\t\t\n\t\t\tif(h<=300 && w<=300){\n\t\t\t\tfor(int i=0; i<h; i++){\n\t\t\t\t\tfor(int j=1; j<w; j++){\n\t\t\t\t\t\tSystem.out.printf(\"#\");\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tMain run =new Main();\n\t\trun.rect();\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private void rect(){ Scanner scanner = new Scanner(System.in); while(scanner.hasNextInt()){ int h =scanner.nextInt(); int w =scanner.nextInt(); if(h==0 && w==0)break; if(h<=300 && w<=300){ for(int i=0; i<h; i++){ for(int j=1; j<w; j++){ System.out.printf("#"); } System.out.println("#"); } System.out.println(""); } } } public static void main(String[] args) { Main run =new Main(); run.rect(); } }
[ 7, 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, 4, 18, 13, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 26, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 26, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 26, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 26, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 76, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 26, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.*;\n/*\nMain class for AOJ where there is no input.\n*/\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n int h;\n int w;\n int i,j;\n \n while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n } \n }//main method \n}//class", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n int h;\n int w;\n int i,j;\n \n while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n } \n }//main method \n}//class", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n int h;\n int w;\n int i,j;\n \n while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n } \n }//main method ", "main", "{\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n int h;\n int w;\n int i,j;\n \n while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n } \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String str;", "str", "String[] arr;", "arr", "int h;", "h", "int w;", "w", "int i", "i", "j;", "j", "while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n }", "true", "{\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n }", "str = sc.nextLine()", "str", "sc.nextLine()", "sc.nextLine", "sc", "arr = str.split(\" \")", "arr", "str.split(\" \")", "str.split", "str", "\" \"", "h = Integer.parseInt(arr[0])", "h", "Integer.parseInt(arr[0])", "Integer.parseInt", "Integer", "arr[0]", "arr", "0", "w = Integer.parseInt(arr[1])", "w", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "if(h == 0 && w == 0){\n break;\n }", "h == 0 && w == 0", "h == 0", "h", "0", "w == 0", "w", "0", "{\n break;\n }", "break;", "for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }", "i = 0;", "i = 0", "i", "0", "i < h", "i", "h", "i ++", "i ++", "i", "{\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }", "{\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }", "for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }", "j = 0;", "j = 0", "j", "0", "j < w", "j", "w", "j ++", "j ++", "j", "{\n System.out.print(\"#\");\n }", "{\n System.out.print(\"#\");\n }", "System.out.print(\"#\")", "System.out.print", "System.out", "System", "System.out", "\"#\"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n int h;\n int w;\n int i,j;\n \n while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n } \n }//main method \n}//class", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n String str;\n String[] arr;\n int h;\n int w;\n int i,j;\n \n while(true){\n str = sc.nextLine();\n arr = str.split(\" \");\n h = Integer.parseInt(arr[0]);\n w = Integer.parseInt(arr[1]);\n \n if(h == 0 && w == 0){\n break;\n }\n \n \n for(i = 0; i < h; i ++ ){\n for(j = 0; j < w; j ++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n \n } \n }//main method \n}//class", "Main" ]
import java.util.*; /* Main class for AOJ where there is no input. */ public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); String str; String[] arr; int h; int w; int i,j; while(true){ str = sc.nextLine(); arr = str.split(" "); h = Integer.parseInt(arr[0]); w = Integer.parseInt(arr[1]); if(h == 0 && w == 0){ break; } for(i = 0; i < h; i ++ ){ for(j = 0; j < w; j ++){ System.out.print("#"); } System.out.println(); } System.out.println(); } }//main method }//class
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 11, 1, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 3, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 19, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 19, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 19, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 30, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 52, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 39, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Scanner;\n\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}\n\n\t}}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}\n\n\t}}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a", "a", "b;", "b", "for(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}", ";", "{\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}", "{\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "b=sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}", "a==0&&b==0", "a==0", "a", "0", "b==0", "b", "0", "break;", "{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}", "for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}", "{\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}", "for(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}", "int l = 0;", "int l = 0;", "l", "0", "l<b", "l", "b", "l++", "l++", "l", "{\n\t\t\t\t\tSystem.out.print(\"#\");}", "{\n\t\t\t\t\tSystem.out.print(\"#\");}", "System.out.print(\"#\")", "System.out.print", "System.out", "System", "System.out", "\"#\"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}\n\n\t}}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint a,b;\n\t\tfor(;;){\n\t\t\ta=sc.nextInt();\n\t\t\tb=sc.nextInt();\n\t\t\tif(a==0&&b==0)break;\n\t\t\telse{for(int i=0;i<a;i++){\n\t\t\t\tfor(int l = 0;l<b;l++){\n\t\t\t\t\tSystem.out.print(\"#\");}\n\t\t\t\tSystem.out.println();\n\t\t\t\t}System.out.println();\n\t\t\t}\n\t\t}\n\n\t}}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a,b; for(;;){ a=sc.nextInt(); b=sc.nextInt(); if(a==0&&b==0)break; else{for(int i=0;i<a;i++){ for(int l = 0;l<b;l++){ System.out.print("#");} System.out.println(); }System.out.println(); } } }}
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 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 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 16, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 16, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 16, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 16, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 69, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 16, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 6, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}", "String input = sc.nextLine();", "input", "sc.nextLine()", "sc.nextLine", "sc", "String[] array = input.split(\" \");", "array", "input.split(\" \")", "input.split", "input", "\" \"", "int h = Integer.parseInt(array[0]);", "h", "Integer.parseInt(array[0])", "Integer.parseInt", "Integer", "array[0]", "array", "0", "int w = Integer.parseInt(array[1]);", "w", "Integer.parseInt(array[1])", "Integer.parseInt", "Integer", "array[1]", "array", "1", "if (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "h == 0 && w == 0", "h == 0", "h", "0", "w == 0", "w", "0", "{\n\t\t\t\tSystem.exit(0);\n\t\t\t}", "System.exit(0)", "System.exit", "System", "0", "for (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < h", "i", "h", "i++", "i++", "i", "{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}", "{\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}", "for (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < w", "j", "w", "j++", "j++", "j", "{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}", "System.out.print(\"#\")", "System.out.print", "System.out", "System", "System.out", "\"#\"", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (sc.hasNext()) {\n\t\t\tString input = sc.nextLine();\n\t\t\tString[] array = input.split(\" \");\n\t\t\tint h = Integer.parseInt(array[0]);\n\t\t\tint w = Integer.parseInt(array[1]);\n\t\t\tif (h == 0 && w == 0) {\n\t\t\t\tSystem.exit(0);\n\t\t\t}\n\t\t\tfor (int i = 0; i < h; i++) {\n\t\t\t\tfor (int j = 0; j < w; j++) {\n\t\t\t\t\tSystem.out.print(\"#\");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t\t\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (sc.hasNext()) { String input = sc.nextLine(); String[] array = input.split(" "); int h = Integer.parseInt(array[0]); int w = Integer.parseInt(array[1]); if (h == 0 && w == 0) { System.exit(0); } for (int i = 0; i < h; i++) { for (int j = 0; j < w; j++) { System.out.print("#"); } System.out.print("\n"); } System.out.print("\n"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 16, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 49, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 16, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n in.close();\n }\n }", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n in.close();\n }\n }", "Main", "public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n in.close();\n }", "main", "{\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n in.close();\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }", "in.hasNext()", "in.hasNext", "in", "{\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }", "int H = in.nextInt();", "H", "in.nextInt()", "in.nextInt", "in", "int W = in.nextInt();", "W", "in.nextInt()", "in.nextInt", "in", "if(H==0&&W==0){\n break;\n }", "H==0&&W==0", "H==0", "H", "0", "W==0", "W", "0", "{\n break;\n }", "break;", "for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i<H", "i", "H", "i++", "i++", "i", "{\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }", "{\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }", "for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }", "int j = 0;", "int j = 0;", "j", "0", "j<W", "j", "W", "j++", "j++", "j", "{\n System.out.print(\"#\");\n }", "{\n System.out.print(\"#\");\n }", "System.out.print(\"#\")", "System.out.print", "System.out", "System", "System.out", "\"#\"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "in.close()", "in.close", "in", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n in.close();\n }\n }", "public class Main{\n public static void main(String[] args){\n Scanner in = new Scanner(System.in);\n while(in.hasNext()){\n int H = in.nextInt();\n int W = in.nextInt();\n if(H==0&&W==0){\n break;\n }\n for(int i = 0; i<H ; i++){\n for(int j = 0; j<W ; j++){\n System.out.print(\"#\");\n }\n System.out.println();\n }\n System.out.println();\n }\n in.close();\n }\n }", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); while(in.hasNext()){ int H = in.nextInt(); int W = in.nextInt(); if(H==0&&W==0){ break; } for(int i = 0; i<H ; i++){ for(int j = 0; j<W ; j++){ System.out.print("#"); } System.out.println(); } System.out.println(); } in.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 80, 5 ], [ 80, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 14, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 46, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 14, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 6, 77 ], [ 77, 78 ], [ 0, 79 ], [ 79, 80 ], [ 79, 81 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\npublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\npublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "while (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "true", "{\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "int H = sc.nextInt();", "H", "sc.nextInt()", "sc.nextInt", "sc", "int W = sc.nextInt();", "W", "sc.nextInt()", "sc.nextInt", "sc", "if (H == 0 || W == 0) break;", "H == 0 || W == 0", "H == 0", "H", "0", "W == 0", "W", "0", "break;", "for (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= H", "i", "H", "i ++", "i ++", "i", "{\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}", "{\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}", "for (int j = 1; j <= W; j ++) System.out.print(\"#\");", "int j = 1;", "int j = 1;", "j", "1", "j <= W", "j", "W", "j ++", "j ++", "j", "System.out.print(\"#\");", "System.out.print(\"#\")", "System.out.print", "System.out", "System", "System.out", "\"#\"", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "String[] args", "args", "public class Main{\npublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}", "public class Main{\npublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\twhile (true) {\n\t\t\tint H = sc.nextInt();\n\t\t\tint W = sc.nextInt();\n\t\t\tif (H == 0 || W == 0) break;\n\t\t\tfor (int i = 1; i <= H; i ++) {\n\t\t\t\tfor (int j = 1; j <= W; j ++) System.out.print(\"#\");\n\t\t\t\tSystem.out.print(\"\\n\");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); while (true) { int H = sc.nextInt(); int W = sc.nextInt(); if (H == 0 || W == 0) break; for (int i = 1; i <= H; i ++) { for (int j = 1; j <= W; j ++) System.out.print("#"); System.out.print("\n"); } System.out.print("\n"); } } }