node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 0, 13, 17, 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, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 20, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 104, 2 ], [ 104, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 5, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 5, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 24, 26 ], [ 5, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 5, 32 ], [ 32, 33 ], [ 32, 34 ], [ 5, 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 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 47, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 47, 67 ], [ 67, 68 ], [ 67, 69 ], [ 5, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 76, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 76, 81 ], [ 5, 82 ], [ 82, 83 ], [ 83, 84 ], [ 3, 85 ], [ 85, 86 ], [ 3, 87 ], [ 87, 88 ], [ 104, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 95, 97 ], [ 92, 98 ], [ 98, 99 ], [ 98, 100 ], [ 89, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "public class Main {\n\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong min, max, sum;\n\t\tint n;\n\t\t\n\t\tn = sc.nextInt();\n\t\tmin = Long.MAX_VALUE;\n\t\tmax = Long.MIN_VALUE;\n\t\tsum = 0;\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(min + \" \" + max + \" \" + sum);\n\t\t\n\t\tsc.close();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "public class Main {\n\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong min, max, sum;\n\t\tint n;\n\t\t\n\t\tn = sc.nextInt();\n\t\tmin = Long.MAX_VALUE;\n\t\tmax = Long.MIN_VALUE;\n\t\tsum = 0;\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(min + \" \" + max + \" \" + sum);\n\t\t\n\t\tsc.close();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong min, max, sum;\n\t\tint n;\n\t\t\n\t\tn = sc.nextInt();\n\t\tmin = Long.MAX_VALUE;\n\t\tmax = Long.MIN_VALUE;\n\t\tsum = 0;\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(min + \" \" + max + \" \" + sum);\n\t\t\n\t\tsc.close();\n\t}", "run", "{\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong min, max, sum;\n\t\tint n;\n\t\t\n\t\tn = sc.nextInt();\n\t\tmin = Long.MAX_VALUE;\n\t\tmax = Long.MIN_VALUE;\n\t\tsum = 0;\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(min + \" \" + max + \" \" + sum);\n\t\t\n\t\tsc.close();\n\t}", "final java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "long min", "min", "max", "max", "sum;", "sum", "int n;", "n", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "min = Long.MAX_VALUE", "min", "Long.MAX_VALUE", "Long", "Long.MAX_VALUE", "max = Long.MIN_VALUE", "max", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "sum = 0", "sum", "0", "for (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}", "{\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}", "final long a = sc.nextLong();", "a", "sc.nextLong()", "sc.nextLong", "sc", "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", "out.println(min + \" \" + max + \" \" + sum)", "out.println", "out", "min + \" \" + max + \" \" + sum", "\" \"", "max", "min + \" \" + max + \" \" + sum", "min", "\" \"", "max", "\" \"", "sum", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}", "main", "{\n\t\t(new Main()).run(System.in, System.out);\n\t}", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong min, max, sum;\n\t\tint n;\n\t\t\n\t\tn = sc.nextInt();\n\t\tmin = Long.MAX_VALUE;\n\t\tmax = Long.MIN_VALUE;\n\t\tsum = 0;\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(min + \" \" + max + \" \" + sum);\n\t\t\n\t\tsc.close();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "public class Main {\n\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong min, max, sum;\n\t\tint n;\n\t\t\n\t\tn = sc.nextInt();\n\t\tmin = Long.MAX_VALUE;\n\t\tmax = Long.MIN_VALUE;\n\t\tsum = 0;\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfinal long a = sc.nextLong();\n\t\t\t\n\t\t\tif (a < min) min = a;\n\t\t\tif (max < a) max = a;\n\t\t\tsum += a;\n\t\t}\n\t\tout.println(min + \" \" + max + \" \" + sum);\n\t\t\n\t\tsc.close();\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "Main" ]
public class Main { public void run(java.io.InputStream in, java.io.PrintStream out) { final java.util.Scanner sc = new java.util.Scanner(in); long min, max, sum; int n; n = sc.nextInt(); min = Long.MAX_VALUE; max = Long.MIN_VALUE; sum = 0; for (int i = 0; i < n; ++i) { final long a = sc.nextLong(); if (a < min) min = a; if (max < a) max = a; sum += a; } out.println(min + " " + max + " " + sum); sc.close(); } public static void main(String[] args) { (new Main()).run(System.in, System.out); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 40, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 17, 14, 2, 13, 17, 30, 41, 13, 4, 18, 13, 0, 13, 13, 0, 13, 13, 0, 13, 13, 30, 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, 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, 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 ], [ 4, 10 ], [ 10, 11 ], [ 10, 12 ], [ 4, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 19, 21 ], [ 15, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 15, 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 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 42, 51 ], [ 51, 52 ], [ 51, 53 ], [ 42, 54 ], [ 54, 55 ], [ 54, 56 ], [ 38, 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 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 76, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 70, 108 ], [ 108, 109 ], [ 108, 110 ], [ 15, 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 ], [ 4, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 125, 131 ], [ 131, 132 ] ]
[ "import java.util.Scanner;\nclass Main {\n\tint max = -1000000,min = 1000000;\n\tpublic void min() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong sum = 0;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0) {\n\t\t\tmax = 0;\n\t\t\tmin = 0;\n\t\t} else if (n == 1) {\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().min();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tint max = -1000000,min = 1000000;\n\tpublic void min() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong sum = 0;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0) {\n\t\t\tmax = 0;\n\t\t\tmin = 0;\n\t\t} else if (n == 1) {\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\tpublic static void main(String[] args) {\n\t\tnew Main().min();\n\t}\n}", "Main", "int max = -1000000", "max", "-1000000", "1000000", "min = 1000000;", "min", "1000000", "public void min() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong sum = 0;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0) {\n\t\t\tmax = 0;\n\t\t\tmin = 0;\n\t\t} else if (n == 1) {\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "min", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tlong sum = 0;\n\t\tint n = sc.nextInt();\n\t\tif(n == 0) {\n\t\t\tmax = 0;\n\t\t\tmin = 0;\n\t\t} else if (n == 1) {\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\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)", "long sum = 0;", "sum", "0", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "if(n == 0) {\n\t\t\tmax = 0;\n\t\t\tmin = 0;\n\t\t} else if (n == 1) {\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t}", "n == 0", "n", "0", "{\n\t\t\tmax = 0;\n\t\t\tmin = 0;\n\t\t}", "max = 0", "max", "0", "min = 0", "min", "0", "if (n == 1) {\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}\n\t\t}", "n == 1", "n", "1", "{\n\t\t\tint ai = sc.nextInt();\n\t\t\t\tmax = ai;\n\t\t\t\tmin = ai;\n\t\t\t\tsum += ai;\n\t\t}", "int ai = sc.nextInt();", "ai", "sc.nextInt()", "sc.nextInt", "sc", "max = ai", "max", "ai", "min = ai", "min", "ai", "sum += ai", "sum", "ai", "{\n\t\t\tfor(int I = 1; I <= n; I++) {\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\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\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\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\tint ai = sc.nextInt();\n\t\t\t\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}", "{\n\t\t\t\tint ai = sc.nextInt();\n\t\t\t\tif(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tsum += ai;\n\t\t\t}", "int ai = sc.nextInt();", "ai", "sc.nextInt()", "sc.nextInt", "sc", "if(ai > max) {\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t} else if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}", "ai > max", "ai", "max", "{\n\t\t\t\t\tmax = ai;\n\t\t\t\t\tif(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}\n\t\t\t\t}", "max = ai", "max", "ai", "if(ai < min) {\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}", "ai < min", "ai", "min", "{\n\t\t\t\t\t\tmin = ai;\n\t\t\t\t\t}", "min = ai", "min", "ai", "if(ai < min) {\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}", "ai < min", "ai", "min", "{\n\t\t\t\t\tmin = ai;\n\t\t\t\t\tif(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}\n\t\t\t\t}", "min = ai", "min", "ai", "if(ai > max) {\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}", "ai > max", "ai", "max", "{\n\t\t\t\t\t\tmax = ai;\n\t\t\t\t\t}", "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", "public static void main(String[] args) {\n\t\tnew Main().min();\n\t}", "main", "{\n\t\tnew Main().min();\n\t}", "new Main().min()", "new Main().min", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main { int max = -1000000,min = 1000000; public void min() { Scanner sc = new Scanner(System.in); long sum = 0; int n = sc.nextInt(); if(n == 0) { max = 0; min = 0; } else if (n == 1) { int ai = sc.nextInt(); max = ai; min = ai; sum += ai; } else { for(int I = 1; I <= n; I++) { int ai = sc.nextInt(); if(ai > max) { max = ai; if(ai < min) { min = ai; } } else if(ai < min) { min = ai; if(ai > max) { max = ai; } } sum += ai; } } System.out.println(min + " " + max + " " + sum); } public static void main(String[] args) { new Main().min(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 14, 2, 18, 13, 13, 17, 30, 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, 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, 0, 13, 4, 18, 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 ], [ 14, 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 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 46, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 76, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 100, 102 ], [ 94, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 109, 110 ], [ 109, 111 ], [ 75, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 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.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str = br.readLine();\n String[] strs = str.split(\" \");\n int min = 0;//最小\n int max = 0;//最大\n long sum = 0;//合計\n if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }\n for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for\n System.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\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str = br.readLine();\n String[] strs = str.split(\" \");\n int min = 0;//最小\n int max = 0;//最大\n long sum = 0;//合計\n if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }\n for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for\n System.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str = br.readLine();\n String[] strs = str.split(\" \");\n int min = 0;//最小\n int max = 0;//最大\n long sum = 0;//合計\n if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }\n for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for\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 str = br.readLine();\n String[] strs = str.split(\" \");\n int min = 0;//最小\n int max = 0;//最大\n long sum = 0;//合計\n if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }\n for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for\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 str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] strs = str.split(\" \");", "strs", "str.split(\" \")", "str.split", "str", "\" \"", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }", "strs.length > 0", "strs.length", "strs", "strs.length", "0", "{\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }", "min = Integer.parseInt(strs[0])", "min", "Integer.parseInt(strs[0])", "Integer.parseInt", "Integer", "strs[0]", "strs", "0", "max = Integer.parseInt(strs[0])", "max", "Integer.parseInt(strs[0])", "Integer.parseInt", "Integer", "strs[0]", "strs", "0", "for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for", "{\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }", "if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if", "min > Integer.parseInt(strs[i])", "min", "Integer.parseInt(strs[i])", "Integer.parseInt", "Integer", "strs[i]", "strs", "i", "{\n min = Integer.parseInt(strs[i]);\n }", "min = Integer.parseInt(strs[i])", "min", "Integer.parseInt(strs[i])", "Integer.parseInt", "Integer", "strs[i]", "strs", "i", "if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if", "max < Integer.parseInt(strs[i])", "max", "Integer.parseInt(strs[i])", "Integer.parseInt", "Integer", "strs[i]", "strs", "i", "{\n max = Integer.parseInt(strs[i]);\n }", "max = Integer.parseInt(strs[i])", "max", "Integer.parseInt(strs[i])", "Integer.parseInt", "Integer", "strs[i]", "strs", "i", "sum += Integer.parseInt(strs[i])", "sum", "Integer.parseInt(strs[i])", "Integer.parseInt", "Integer", "strs[i]", "strs", "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) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str = br.readLine();\n String[] strs = str.split(\" \");\n int min = 0;//最小\n int max = 0;//最大\n long sum = 0;//合計\n if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }\n for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for\n System.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String str = br.readLine();\n String[] strs = str.split(\" \");\n int min = 0;//最小\n int max = 0;//最大\n long sum = 0;//合計\n if(strs.length > 0){\n min = Integer.parseInt(strs[0]);\n max = Integer.parseInt(strs[0]);\n }\n for(int i = 0; i < n; i++){\n if(min > Integer.parseInt(strs[i])){\n min = Integer.parseInt(strs[i]);\n }else if(max < Integer.parseInt(strs[i])){\n max = Integer.parseInt(strs[i]);\n }//if\n sum += Integer.parseInt(strs[i]);\n }//for\n System.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.io.*; 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(); String[] strs = str.split(" "); int min = 0;//最小 int max = 0;//最大 long sum = 0;//合計 if(strs.length > 0){ min = Integer.parseInt(strs[0]); max = Integer.parseInt(strs[0]); } for(int i = 0; i < n; i++){ if(min > Integer.parseInt(strs[i])){ min = Integer.parseInt(strs[i]); }else if(max < Integer.parseInt(strs[i])){ max = Integer.parseInt(strs[i]); }//if sum += Integer.parseInt(strs[i]); }//for 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, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 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, 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 ], [ 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 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 49, 51 ], [ 43, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint s = a; //????°????\n\t\tint b = a; //?????§???\n\t\tlong num = a; //????¨????\n\t\tfor (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s + \" \" + b + \" \" + num);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint s = a; //????°????\n\t\tint b = a; //?????§???\n\t\tlong num = a; //????¨????\n\t\tfor (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s + \" \" + b + \" \" + num);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint s = a; //????°????\n\t\tint b = a; //?????§???\n\t\tlong num = a; //????¨????\n\t\tfor (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s + \" \" + b + \" \" + num);\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint s = a; //????°????\n\t\tint b = a; //?????§???\n\t\tlong num = a; //????¨????\n\t\tfor (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s + \" \" + b + \" \" + num);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int s = a;", "s", "a", "int b = a;", "b", "a", "long num = a;", "num", "a", "for (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = 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\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}", "{\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "num += a", "num", "a", "if(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}", "s>a", "s", "a", "{\n\t\t\t\ts = a;\n\t\t\t}", "s = a", "s", "a", "if(b<a){\n\t\t\t\tb = a;\n\t\t\t}", "b<a", "b", "a", "{\n\t\t\t\tb = a;\n\t\t\t}", "b = a", "b", "a", "System.out.println(s + \" \" + b + \" \" + num)", "System.out.println", "System.out", "System", "System.out", "s + \" \" + b + \" \" + num", "\" \"", "b", "s + \" \" + b + \" \" + num", "s", "\" \"", "b", "\" \"", "num", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint s = a; //????°????\n\t\tint b = a; //?????§???\n\t\tlong num = a; //????¨????\n\t\tfor (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s + \" \" + b + \" \" + num);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint a = sc.nextInt();\n\t\tint s = a; //????°????\n\t\tint b = a; //?????§???\n\t\tlong num = a; //????¨????\n\t\tfor (int i=1; i<n; i++) {\n\t\t\ta = sc.nextInt();\n\t\t\tnum += a;\n\t\t\tif(s>a){\n\t\t\t\ts = a;\n\t\t\t}else if(b<a){\n\t\t\t\tb = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(s + \" \" + b + \" \" + num);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a = sc.nextInt(); int s = a; //????°???? int b = a; //?????§??? long num = a; //????¨???? for (int i=1; i<n; i++) { a = sc.nextInt(); num += a; if(s>a){ s = a; }else if(b<a){ b = a; } } System.out.println(s + " " + b + " " + num); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 0, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 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 ], [ 95, 5 ], [ 95, 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 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 44, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 44, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 44, 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 ], [ 6, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,total=0,max=0,min=0;\n\n a = sc.nextInt();\n for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,total=0,max=0,min=0;\n\n a = sc.nextInt();\n for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "Main", "public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,total=0,max=0,min=0;\n\n a = sc.nextInt();\n for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,total=0,max=0,min=0;\n\n a = sc.nextInt();\n for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long a", "a", "b", "b", "i", "i", "total=0", "total", "0", "max=0", "max", "0", "min=0;", "min", "0", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }", "i=0;", "i=0", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }", "{\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "if(i==0){\n max=b;\n min=b;\n }", "i==0", "i", "0", "{\n max=b;\n min=b;\n }", "max=b", "max", "b", "min=b", "min", "b", "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+=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\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,total=0,max=0,min=0;\n\n a = sc.nextInt();\n for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "public class Main{\n\tpublic static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n long a,b,i,total=0,max=0,min=0;\n\n a = sc.nextInt();\n for(i=0;i<a;i++){\n b = sc.nextInt();\n if(i==0){\n max=b;\n min=b;\n }\n if(max<b)max=b;\n if(min>b)min=b;\n total+=b;\n }\n System.out.println(min+\" \"+max+\" \"+total);\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); long a,b,i,total=0,max=0,min=0; a = sc.nextInt(); for(i=0;i<a;i++){ b = sc.nextInt(); if(i==0){ max=b; min=b; } if(max<b)max=b; if(min>b)min=b; total+=b; } System.out.println(min+" "+max+" "+total); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 0, 13, 0, 13, 4, 18, 13, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 18, 13, 13, 0, 13, 4, 18, 13, 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 ], [ 0, 7 ], [ 7, 8 ], [ 7, 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, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 35, 40 ], [ 11, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 11, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 51, 56 ], [ 11, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 11, 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 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 81, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 81, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 81, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 11, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 123, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 123, 128 ], [ 9, 129 ], [ 129, 130 ] ]
[ "import java.io.*;\nimport java.util.Arrays;\nclass Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i,m,max,min;\n\t\tlong sum;\n\t\tint[] n = new int[990000];\n\t\tString[] str = new String[990000];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \"); \n\t\tsum = max = min = Integer.parseInt(str[0]);\n\t\tfor(i=1;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "class Main{\n\tpublic static void main(String[] args) throws IOException {\n\t\tint i,m,max,min;\n\t\tlong sum;\n\t\tint[] n = new int[990000];\n\t\tString[] str = new String[990000];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \"); \n\t\tsum = max = min = Integer.parseInt(str[0]);\n\t\tfor(i=1;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tint i,m,max,min;\n\t\tlong sum;\n\t\tint[] n = new int[990000];\n\t\tString[] str = new String[990000];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \"); \n\t\tsum = max = min = Integer.parseInt(str[0]);\n\t\tfor(i=1;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tint i,m,max,min;\n\t\tlong sum;\n\t\tint[] n = new int[990000];\n\t\tString[] str = new String[990000];\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tstr = in.readLine().split(\" \");\n\t\tm = Integer.parseInt(str[0]);\n\t\tstr = in.readLine().split(\" \"); \n\t\tsum = max = min = Integer.parseInt(str[0]);\n\t\tfor(i=1;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "int i", "i", "m", "m", "max", "max", "min;", "min", "long sum;", "sum", "int[] n = new int[990000];", "n", "new int[990000]", "990000", "String[] str = new String[990000];", "str", "new String[990000]", "990000", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "str = in.readLine().split(\" \")", "str", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "m = Integer.parseInt(str[0])", "m", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "str = in.readLine().split(\" \")", "str", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "sum = max = min = Integer.parseInt(str[0])", "sum", "max = min = Integer.parseInt(str[0])", "max", "min = Integer.parseInt(str[0])", "min", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "for(i=1;i<m;i++){\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}", "i=1;", "i=1", "i", "1", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}", "{\n\t\t\tn[i] = Integer.parseInt(str[i]);\n\t\t\tmax = Math.max(max,n[i]);\n\t\t\tmin = Math.min(min,n[i]);\n\t\t\tsum += n[i];\n\t\t}", "n[i] = Integer.parseInt(str[i])", "n[i]", "n", "i", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "max = Math.max(max,n[i])", "max", "Math.max(max,n[i])", "Math.max", "Math", "max", "n[i]", "n", "i", "min = Math.min(min,n[i])", "min", "Math.min(min,n[i])", "Math.min", "Math", "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" ]
import java.io.*; import java.util.Arrays; class Main{ public static void main(String[] args) throws IOException { int i,m,max,min; long sum; int[] n = new int[990000]; String[] str = new String[990000]; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); str = in.readLine().split(" "); m = Integer.parseInt(str[0]); str = in.readLine().split(" "); sum = max = min = Integer.parseInt(str[0]); for(i=1;i<m;i++){ n[i] = Integer.parseInt(str[i]); max = Math.max(max,n[i]); min = Math.min(min,n[i]); sum += n[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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 41, 13, 2, 13, 17, 42, 2, 13, 17, 30, 41, 13, 17, 42, 2, 13, 13, 30, 14, 2, 18, 13, 13, 18, 13, 2, 13, 17, 30, 0, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 2, 13, 17, 0, 18, 13, 2, 13, 17, 13, 40, 13, 40, 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, 18, 13, 17, 17, 18, 13, 2, 13, 17, 17, 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 ], [ 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 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 71, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 60, 93 ], [ 93, 94 ], [ 52, 95 ], [ 95, 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 ], [ 117, 118 ], [ 117, 119 ], [ 8, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 128, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 127, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 126, 138 ], [ 128, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint tblData[] = new int[n];\n\t\t\n\t\t//?????????????´?\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\tint tmp;\n\t\tint k = n - 1;\n\t\twhile(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}\n\t\t\n\t\tlong sum = 0L;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(tblData[0] + \" \" + tblData[n-1] + \" \" + sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint tblData[] = new int[n];\n\t\t\n\t\t//?????????????´?\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\tint tmp;\n\t\tint k = n - 1;\n\t\twhile(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}\n\t\t\n\t\tlong sum = 0L;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(tblData[0] + \" \" + tblData[n-1] + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint tblData[] = new int[n];\n\t\t\n\t\t//?????????????´?\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\tint tmp;\n\t\tint k = n - 1;\n\t\twhile(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}\n\t\t\n\t\tlong sum = 0L;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(tblData[0] + \" \" + tblData[n-1] + \" \" + sum);\n\t}", "main", "{\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint tblData[] = new int[n];\n\t\t\n\t\t//?????????????´?\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\tint tmp;\n\t\tint k = n - 1;\n\t\twhile(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}\n\t\t\n\t\tlong sum = 0L;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(tblData[0] + \" \" + tblData[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 tblData[] = new int[n];", "tblData", "new int[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}", "{\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}", "tblData[i] = sc.nextInt()", "tblData[i]", "tblData", "i", "sc.nextInt()", "sc.nextInt", "sc", "int tmp;", "tmp", "int k = n - 1;", "k", "n - 1", "n", "1", "while(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}", "k > 0", "k", "0", "{\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}", "int i = 0;", "i", "0", "while(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}", "i < k", "i", "k", "{\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}", "if(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}", "tblData[i] > tblData[i+1]", "tblData[i]", "tblData", "i", "tblData[i+1]", "tblData", "i+1", "i", "1", "{\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}", "tmp = tblData[i]", "tmp", "tblData[i]", "tblData", "i", "tblData[i] = tblData[i+1]", "tblData[i]", "tblData", "i", "tblData[i+1]", "tblData", "i+1", "i", "1", "tblData[i+1] = tmp", "tblData[i+1]", "tblData", "i+1", "i", "1", "tmp", "i++", "i", "k--", "k", "long sum = 0L;", "sum", "0L", "for(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tsum = sum + tblData[i];\n\t\t}", "{\n\t\t\tsum = sum + tblData[i];\n\t\t}", "sum = sum + tblData[i]", "sum", "sum + tblData[i]", "sum", "tblData[i]", "tblData", "i", "System.out.println(tblData[0] + \" \" + tblData[n-1] + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "tblData[0] + \" \" + tblData[n-1] + \" \" + sum", "\" \"", "tblData[n-1]", "tblData[0] + \" \" + tblData[n-1] + \" \" + sum", "tblData[0]", "tblData", "0", "\" \"", "tblData[n-1]", "tblData", "n-1", "n", "1", "\" \"", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint tblData[] = new int[n];\n\t\t\n\t\t//?????????????´?\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\tint tmp;\n\t\tint k = n - 1;\n\t\twhile(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}\n\t\t\n\t\tlong sum = 0L;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(tblData[0] + \" \" + tblData[n-1] + \" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint tblData[] = new int[n];\n\t\t\n\t\t//?????????????´?\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ttblData[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\t//??´???(??????)\n\t\tint tmp;\n\t\tint k = n - 1;\n\t\twhile(k > 0) {\n\t\t\tint i = 0;\n\t\t\twhile(i < k) {\n\t\t\t\tif(tblData[i] > tblData[i+1]) {\n\t\t\t\t\ttmp = tblData[i];\n\t\t\t\t\ttblData[i] = tblData[i+1];\n\t\t\t\t\ttblData[i+1] = tmp;\n\t\t\t\t}\n\t\t\t\ti++;\n\t\t\t}\n\t\t\tk--;\n\t\t}\n\t\t\n\t\tlong sum = 0L;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tsum = sum + tblData[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(tblData[0] + \" \" + tblData[n-1] + \" \" + sum);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int tblData[] = new int[n]; //?????????????´? for(int i = 0; i < n; i++) { tblData[i] = sc.nextInt(); } //??´???(??????) int tmp; int k = n - 1; while(k > 0) { int i = 0; while(i < k) { if(tblData[i] > tblData[i+1]) { tmp = tblData[i]; tblData[i] = tblData[i+1]; tblData[i+1] = tmp; } i++; } k--; } long sum = 0L; for(int i = 0; i < n; i++) { sum = sum + tblData[i]; } System.out.println(tblData[0] + " " + tblData[n-1] + " " + sum); } }
[ 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, 41, 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, 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 ], [ 98, 5 ], [ 98, 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 ], [ 38, 40 ], [ 8, 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 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 53, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 53, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 53, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 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 ], [ 6, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.io.*;\n\npublic class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str2 = br.readLine().split(\" \");\n long sum=0;\n int max=-1000000, min=1000000, tmp=0;\n for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str2 = br.readLine().split(\" \");\n long sum=0;\n int max=-1000000, min=1000000, tmp=0;\n for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main", "public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str2 = br.readLine().split(\" \");\n long sum=0;\n int max=-1000000, min=1000000, tmp=0;\n for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str2 = br.readLine().split(\" \");\n long sum=0;\n int max=-1000000, min=1000000, tmp=0;\n for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }\n System.out.println(min+\" \"+max+\" \"+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[] str2 = br.readLine().split(\" \");", "str2", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long sum=0;", "sum", "0", "int max=-1000000", "max", "-1000000", "1000000", "min=1000000", "min", "1000000", "tmp=0;", "tmp", "0", "for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }", "{\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }", "tmp=Integer.parseInt(str2[i])", "tmp", "Integer.parseInt(str2[i])", "Integer.parseInt", "Integer", "str2[i]", "str2", "i", "if(tmp>max)max=tmp;", "tmp>max", "tmp", "max", "max=tmp", "max", "tmp", "if(tmp<min)min=tmp;", "tmp<min", "tmp", "min", "min=tmp", "min", "tmp", "sum=sum+tmp", "sum", "sum+tmp", "sum", "tmp", "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) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str2 = br.readLine().split(\" \");\n long sum=0;\n int max=-1000000, min=1000000, tmp=0;\n for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "public class Main{\n public static void main(String[]args) throws NumberFormatException, IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int n = Integer.parseInt(br.readLine());\n String[] str2 = br.readLine().split(\" \");\n long sum=0;\n int max=-1000000, min=1000000, tmp=0;\n for(int i=0;i<n;i++){\n tmp=Integer.parseInt(str2[i]);\n if(tmp>max)max=tmp;\n if(tmp<min)min=tmp;\n sum=sum+tmp;\n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[]args) throws NumberFormatException, IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] str2 = br.readLine().split(" "); long sum=0; int max=-1000000, min=1000000, tmp=0; for(int i=0;i<n;i++){ tmp=Integer.parseInt(str2[i]); if(tmp>max)max=tmp; if(tmp<min)min=tmp; sum=sum+tmp; } System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 4, 18, 13, 17, 17, 4, 18, 13, 4, 18, 13, 2, 13, 17, 17, 4, 18, 13, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 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 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 50, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 81, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 81, 89 ], [ 80, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 79, 99 ], [ 81, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 6, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) throws NumberFormatException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong sum;//??´??°?????°\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\tsum = 0;//????¨??????¨????????????\n\t\t\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t//n?????????????????????????????\\??????\n\t\tfor(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//??????????????????????????????????????¨??????????????????????????????n-1\n\t\tCollections.sort(list);\n\t\t\n\t\t//??¨????????????????¨?????????¨???\n\t\tfor(int i =0;i < list.size();i++){\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\t\n\t\tSystem.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum));\n\t\t\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String args[]) throws NumberFormatException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong sum;//??´??°?????°\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\tsum = 0;//????¨??????¨????????????\n\t\t\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t//n?????????????????????????????\\??????\n\t\tfor(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//??????????????????????????????????????¨??????????????????????????????n-1\n\t\tCollections.sort(list);\n\t\t\n\t\t//??¨????????????????¨?????????¨???\n\t\tfor(int i =0;i < list.size();i++){\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\t\n\t\tSystem.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum));\n\t\t\n\t\t\n\t}\n}", "Main", "public static void main(String args[]) throws NumberFormatException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong sum;//??´??°?????°\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\tsum = 0;//????¨??????¨????????????\n\t\t\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t//n?????????????????????????????\\??????\n\t\tfor(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//??????????????????????????????????????¨??????????????????????????????n-1\n\t\tCollections.sort(list);\n\t\t\n\t\t//??¨????????????????¨?????????¨???\n\t\tfor(int i =0;i < list.size();i++){\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\t\n\t\tSystem.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum));\n\t\t\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong sum;//??´??°?????°\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\tsum = 0;//????¨??????¨????????????\n\t\t\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t//n?????????????????????????????\\??????\n\t\tfor(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//??????????????????????????????????????¨??????????????????????????????n-1\n\t\tCollections.sort(list);\n\t\t\n\t\t//??¨????????????????¨?????????¨???\n\t\tfor(int i =0;i < list.size();i++){\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\t\n\t\tSystem.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum));\n\t\t\n\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long sum;", "sum", "int n;", "n", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "sum = 0", "sum", "0", "List<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "for(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}", "int count = 0;", "int count = 0;", "count", "0", "count < n", "count", "n", "count++", "count++", "count", "{\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}", "{\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}", "list.add(scan.nextInt())", "list.add", "list", "scan.nextInt()", "scan.nextInt", "scan", "Collections.sort(list)", "Collections.sort", "Collections", "list", "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", "System.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum))", "System.out.println", "System.out", "System", "System.out", "String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum)", "\" \"", "String.valueOf(list.get(n-1))", "String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum)", "String.valueOf(list.get(0))", "String.valueOf", "String", "list.get(0)", "list.get", "list", "0", "\" \"", "String.valueOf(list.get(n-1))", "String.valueOf", "String", "list.get(n-1)", "list.get", "list", "n-1", "n", "1", "\" \"", "String.valueOf(sum)", "String.valueOf", "String", "sum", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]) throws NumberFormatException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong sum;//??´??°?????°\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\tsum = 0;//????¨??????¨????????????\n\t\t\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t//n?????????????????????????????\\??????\n\t\tfor(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//??????????????????????????????????????¨??????????????????????????????n-1\n\t\tCollections.sort(list);\n\t\t\n\t\t//??¨????????????????¨?????????¨???\n\t\tfor(int i =0;i < list.size();i++){\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\t\n\t\tSystem.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum));\n\t\t\n\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) throws NumberFormatException{\n\t\tScanner scan = new Scanner(System.in);\n\t\tlong sum;//??´??°?????°\n\t\tint n;\n\t\tn = scan.nextInt();\n\t\tsum = 0;//????¨??????¨????????????\n\t\t\n\t\tList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\t//n?????????????????????????????\\??????\n\t\tfor(int count = 0; count < n ; count++){\n\t\t\tlist.add(scan.nextInt());\n\t\t\t\n\t\t}\n\t\t\n\t\t\n\t\t//??????????????????????????????????????¨??????????????????????????????n-1\n\t\tCollections.sort(list);\n\t\t\n\t\t//??¨????????????????¨?????????¨???\n\t\tfor(int i =0;i < list.size();i++){\n\t\t\tsum = sum + list.get(i);\n\t\t}\n\t\t\n\t\tSystem.out.println(String.valueOf(list.get(0)) + \" \" + String.valueOf(list.get(n-1)) + \" \" + String.valueOf(sum));\n\t\t\n\t\t\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) throws NumberFormatException{ Scanner scan = new Scanner(System.in); long sum;//??´??°?????° int n; n = scan.nextInt(); sum = 0;//????¨??????¨???????????? List<Integer> list = new ArrayList<Integer>(); //n?????????????????????????????\?????? for(int count = 0; count < n ; count++){ list.add(scan.nextInt()); } //??????????????????????????????????????¨??????????????????????????????n-1 Collections.sort(list); //??¨????????????????¨?????????¨??? for(int i =0;i < list.size();i++){ sum = sum + list.get(i); } System.out.println(String.valueOf(list.get(0)) + " " + String.valueOf(list.get(n-1)) + " " + String.valueOf(sum)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 0, 13, 4, 18, 13, 0, 13, 0, 13, 0, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 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 ], [ 97, 5 ], [ 97, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 41, 51 ], [ 51, 52 ], [ 52, 53 ], [ 41, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 55, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 55, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 88, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 88, 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\tScanner sc = new Scanner(System.in);\n\t\tlong n,min = 0,max = 0,sum = 0,work;\n\t\tn = sc.nextInt();\n\t\tmin = max = sum = work = sc.nextInt();\n\t\tfor(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\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 sc = new Scanner(System.in);\n\t\tlong n,min = 0,max = 0,sum = 0,work;\n\t\tn = sc.nextInt();\n\t\tmin = max = sum = work = sc.nextInt();\n\t\tfor(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\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 sc = new Scanner(System.in);\n\t\tlong n,min = 0,max = 0,sum = 0,work;\n\t\tn = sc.nextInt();\n\t\tmin = max = sum = work = sc.nextInt();\n\t\tfor(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\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\t\tlong n,min = 0,max = 0,sum = 0,work;\n\t\tn = sc.nextInt();\n\t\tmin = max = sum = work = sc.nextInt();\n\t\tfor(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\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)", "long n", "n", "min = 0", "min", "0", "max = 0", "max", "0", "sum = 0", "sum", "0", "work;", "work", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "min = max = sum = work = sc.nextInt()", "min", "max = sum = work = sc.nextInt()", "max", "sum = work = sc.nextInt()", "sum", "work = sc.nextInt()", "work", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n - 1", "i", "n - 1", "n", "1", "i++", "i++", "i", "{\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\n\t\t}", "{\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\n\t\t}", "work = sc.nextInt()", "work", "sc.nextInt()", "sc.nextInt", "sc", "if(work > max){\n\t\t\t\tmax = work;\n\t\t\t}", "work > max", "work", "max", "{\n\t\t\t\tmax = work;\n\t\t\t}", "max = work", "max", "work", "if(work < min){\n\t\t\t\tmin = work;\n\t\t\t}", "work < min", "work", "min", "{\n\t\t\t\tmin = work;\n\t\t\t}", "min = work", "min", "work", "sum += work", "sum", "work", "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 sc = new Scanner(System.in);\n\t\tlong n,min = 0,max = 0,sum = 0,work;\n\t\tn = sc.nextInt();\n\t\tmin = max = sum = work = sc.nextInt();\n\t\tfor(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\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 sc = new Scanner(System.in);\n\t\tlong n,min = 0,max = 0,sum = 0,work;\n\t\tn = sc.nextInt();\n\t\tmin = max = sum = work = sc.nextInt();\n\t\tfor(int i = 0; i < n - 1; i++){\n\t\t\twork = sc.nextInt();\n\t\t\tif(work > max){\n\t\t\t\tmax = work;\n\t\t\t}\n\t\t\tif(work < min){\n\t\t\t\tmin = work;\n\t\t\t}\n\t\t\tsum += work;\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 sc = new Scanner(System.in); long n,min = 0,max = 0,sum = 0,work; n = sc.nextInt(); min = max = sum = work = sc.nextInt(); for(int i = 0; i < n - 1; i++){ work = sc.nextInt(); if(work > max){ max = work; } if(work < min){ min = work; } sum += work; } 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, 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, 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 ], [ 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 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 38, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 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 ], [ 59, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 74, 85 ], [ 86, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 87, 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 ], [ 112, 113 ], [ 113, 114 ], [ 113, 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.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\n\n\t\tint a[]=new int[n];\n\t\tfor(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();\n\n\t\tint min=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}\n\n\t\tint max=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}\n\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n;i++)\tsum=sum+a[i];\n\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "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\tint n=sc.nextInt();\n\n\t\tint a[]=new int[n];\n\t\tfor(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();\n\n\t\tint min=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}\n\n\t\tint max=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}\n\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n;i++)\tsum=sum+a[i];\n\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\n\t\tint n=sc.nextInt();\n\n\t\tint a[]=new int[n];\n\t\tfor(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();\n\n\t\tint min=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}\n\n\t\tint max=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}\n\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n;i++)\tsum=sum+a[i];\n\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\n\n\t\tint a[]=new int[n];\n\t\tfor(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();\n\n\t\tint min=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}\n\n\t\tint max=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}\n\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n;i++)\tsum=sum+a[i];\n\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", "int a[]=new int[n];", "a", "new int[n]", "n", "for(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=sc.nextInt();", "a[i]=sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "int min=a[0];", "min", "a[0]", "a", "0", "for(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}", "{\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}", "if(a[i]<min)\tmin=a[i];", "a[i]<min", "a[i]", "a", "i", "min", "min=a[i]", "min", "a[i]", "a", "i", "int max=a[0];", "max", "a[0]", "a", "0", "for(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}", "{\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}", "if(a[i]>max)\tmax=a[i];", "a[i]>max", "a[i]", "a", "i", "max", "max=a[i]", "max", "a[i]", "a", "i", "long sum=0;", "sum", "0", "for(int i=0;i<n;i++)\tsum=sum+a[i];", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "sum=sum+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\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\n\n\t\tint a[]=new int[n];\n\t\tfor(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();\n\n\t\tint min=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}\n\n\t\tint max=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}\n\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n;i++)\tsum=sum+a[i];\n\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\n\n\t\tint a[]=new int[n];\n\t\tfor(int i=0;i<n;i++)\t\ta[i]=sc.nextInt();\n\n\t\tint min=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]<min)\tmin=a[i];\n\t\t}\n\n\t\tint max=a[0];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(a[i]>max)\tmax=a[i];\n\t\t}\n\n\t\tlong sum=0;\n\t\tfor(int i=0;i<n;i++)\tsum=sum+a[i];\n\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(); int a[]=new int[n]; for(int i=0;i<n;i++) a[i]=sc.nextInt(); int min=a[0]; for(int i=0;i<n;i++){ if(a[i]<min) min=a[i]; } int max=a[0]; for(int i=0;i<n;i++){ if(a[i]>max) max=a[i]; } long sum=0; for(int i=0;i<n;i++) sum=sum+a[i]; System.out.println(min+" "+max+" "+sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 17, 12, 13, 30, 41, 13, 4, 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, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 13, 4, 18, 13, 2, 2, 2, 2, 13, 17, 13, 17, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 157, 8 ], [ 157, 9 ], [ 9, 10 ], [ 9, 11 ], [ 157, 12 ], [ 12, 13 ], [ 12, 14 ], [ 157, 15 ], [ 15, 16 ], [ 15, 17 ], [ 157, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 20, 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 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 50, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 64, 68 ], [ 50, 69 ], [ 69, 70 ], [ 69, 71 ], [ 20, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 78, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 78, 83 ], [ 157, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 84, 90 ], [ 90, 91 ], [ 157, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 157, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 112, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 111, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 157, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 157, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 157, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n void run() {\n int N = readInt();\n int minVal = Integer.MAX_VALUE;\n int maxVal = Integer.MIN_VALUE;\n long sumVal = 0;\n for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }\n sysout.println(minVal + \" \" + maxVal + \" \" + sumVal);\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n // flush automatically iff you call `println` or `printf` or `format`.\n PrintWriter sysout = new PrintWriter(System.out, true);\n\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer buffer = null;\n\n String readLine() {\n buffer = null;\n try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n String read() {\n if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }\n return buffer.nextToken();\n }\n\n int readInt() {\n return Integer.parseInt(read());\n }\n\n long readLong() {\n return Long.parseLong(read());\n }\n\n double readDouble() {\n return Double.parseDouble(read());\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n void run() {\n int N = readInt();\n int minVal = Integer.MAX_VALUE;\n int maxVal = Integer.MIN_VALUE;\n long sumVal = 0;\n for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }\n sysout.println(minVal + \" \" + maxVal + \" \" + sumVal);\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n // flush automatically iff you call `println` or `printf` or `format`.\n PrintWriter sysout = new PrintWriter(System.out, true);\n\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer buffer = null;\n\n String readLine() {\n buffer = null;\n try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n String read() {\n if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }\n return buffer.nextToken();\n }\n\n int readInt() {\n return Integer.parseInt(read());\n }\n\n long readLong() {\n return Long.parseLong(read());\n }\n\n double readDouble() {\n return Double.parseDouble(read());\n }\n}", "Main", "// flush automatically iff you call `println` or `printf` or `format`.\n PrintWriter sysout = new PrintWriter(System.out, true);", "sysout", "new PrintWriter(System.out, true)", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer buffer = null;", "buffer", "null", "void run() {\n int N = readInt();\n int minVal = Integer.MAX_VALUE;\n int maxVal = Integer.MIN_VALUE;\n long sumVal = 0;\n for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }\n sysout.println(minVal + \" \" + maxVal + \" \" + sumVal);\n }", "run", "{\n int N = readInt();\n int minVal = Integer.MAX_VALUE;\n int maxVal = Integer.MIN_VALUE;\n long sumVal = 0;\n for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }\n sysout.println(minVal + \" \" + maxVal + \" \" + sumVal);\n }", "int N = readInt();", "N", "readInt()", "readInt", "int minVal = Integer.MAX_VALUE;", "minVal", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "int maxVal = Integer.MIN_VALUE;", "maxVal", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long sumVal = 0;", "sumVal", "0", "for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }", "{\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }", "int a = readInt();", "a", "readInt()", "readInt", "minVal = Math.min(minVal, a)", "minVal", "Math.min(minVal, a)", "Math.min", "Math", "minVal", "a", "maxVal = Math.max(maxVal, a)", "maxVal", "Math.max(maxVal, a)", "Math.max", "Math", "maxVal", "a", "sumVal += a", "sumVal", "a", "sysout.println(minVal + \" \" + maxVal + \" \" + sumVal)", "sysout.println", "sysout", "minVal + \" \" + maxVal + \" \" + sumVal", "\" \"", "maxVal", "minVal + \" \" + maxVal + \" \" + sumVal", "minVal", "\" \"", "maxVal", "\" \"", "sumVal", "public static void main(String[] args) {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "String readLine() {\n buffer = null;\n try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "readLine", "{\n buffer = null;\n try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "buffer = null", "buffer", "null", "try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\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 return in.readLine();\n }", "return in.readLine();", "in.readLine()", "in.readLine", "in", "String read() {\n if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }\n return buffer.nextToken();\n }", "read", "{\n if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }\n return buffer.nextToken();\n }", "if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }", "buffer == null || !buffer.hasMoreTokens()", "buffer == null", "buffer", "null", "!buffer.hasMoreTokens()", "buffer.hasMoreTokens()", "buffer.hasMoreTokens", "buffer", "{\n buffer = new StringTokenizer(readLine());\n }", "buffer = new StringTokenizer(readLine())", "buffer", "new StringTokenizer(readLine())", "return buffer.nextToken();", "buffer.nextToken()", "buffer.nextToken", "buffer", "int readInt() {\n return Integer.parseInt(read());\n }", "readInt", "{\n return Integer.parseInt(read());\n }", "return Integer.parseInt(read());", "Integer.parseInt(read())", "Integer.parseInt", "Integer", "read()", "read", "long readLong() {\n return Long.parseLong(read());\n }", "readLong", "{\n return Long.parseLong(read());\n }", "return Long.parseLong(read());", "Long.parseLong(read())", "Long.parseLong", "Long", "read()", "read", "double readDouble() {\n return Double.parseDouble(read());\n }", "readDouble", "{\n return Double.parseDouble(read());\n }", "return Double.parseDouble(read());", "Double.parseDouble(read())", "Double.parseDouble", "Double", "read()", "read", "public class Main {\n void run() {\n int N = readInt();\n int minVal = Integer.MAX_VALUE;\n int maxVal = Integer.MIN_VALUE;\n long sumVal = 0;\n for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }\n sysout.println(minVal + \" \" + maxVal + \" \" + sumVal);\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n // flush automatically iff you call `println` or `printf` or `format`.\n PrintWriter sysout = new PrintWriter(System.out, true);\n\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer buffer = null;\n\n String readLine() {\n buffer = null;\n try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n String read() {\n if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }\n return buffer.nextToken();\n }\n\n int readInt() {\n return Integer.parseInt(read());\n }\n\n long readLong() {\n return Long.parseLong(read());\n }\n\n double readDouble() {\n return Double.parseDouble(read());\n }\n}", "public class Main {\n void run() {\n int N = readInt();\n int minVal = Integer.MAX_VALUE;\n int maxVal = Integer.MIN_VALUE;\n long sumVal = 0;\n for (int i = 0; i < N; i++) {\n int a = readInt();\n minVal = Math.min(minVal, a);\n maxVal = Math.max(maxVal, a);\n sumVal += a;\n }\n sysout.println(minVal + \" \" + maxVal + \" \" + sumVal);\n }\n\n public static void main(String[] args) {\n new Main().run();\n }\n\n // flush automatically iff you call `println` or `printf` or `format`.\n PrintWriter sysout = new PrintWriter(System.out, true);\n\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer buffer = null;\n\n String readLine() {\n buffer = null;\n try {\n return in.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n String read() {\n if (buffer == null || !buffer.hasMoreTokens()) {\n buffer = new StringTokenizer(readLine());\n }\n return buffer.nextToken();\n }\n\n int readInt() {\n return Integer.parseInt(read());\n }\n\n long readLong() {\n return Long.parseLong(read());\n }\n\n double readDouble() {\n return Double.parseDouble(read());\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { void run() { int N = readInt(); int minVal = Integer.MAX_VALUE; int maxVal = Integer.MIN_VALUE; long sumVal = 0; for (int i = 0; i < N; i++) { int a = readInt(); minVal = Math.min(minVal, a); maxVal = Math.max(maxVal, a); sumVal += a; } sysout.println(minVal + " " + maxVal + " " + sumVal); } public static void main(String[] args) { new Main().run(); } // flush automatically iff you call `println` or `printf` or `format`. PrintWriter sysout = new PrintWriter(System.out, true); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer buffer = null; String readLine() { buffer = null; try { return in.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } String read() { if (buffer == null || !buffer.hasMoreTokens()) { buffer = new StringTokenizer(readLine()); } return buffer.nextToken(); } int readInt() { return Integer.parseInt(read()); } long readLong() { return Long.parseLong(read()); } double readDouble() { return Double.parseDouble(read()); } }
[ 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, 2, 13, 18, 13, 13, 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 ], [ 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 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 58, 68 ], [ 68, 69 ], [ 69, 70 ], [ 58, 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 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 105, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 105, 110 ], [ 6, 111 ], [ 111, 112 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\t//??\\????????£?¨?\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] hako = new int[n];\n\t\tlong sum = 0;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}\n\t\t\n\t\t//??\\?????????\n\n\t\tfor (int i=0; i<hako.length; i++) {\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}\n\t\t \n\t\t//??????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\t@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\t//??\\????????£?¨?\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] hako = new int[n];\n\t\tlong sum = 0;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}\n\t\t\n\t\t//??\\?????????\n\n\t\tfor (int i=0; i<hako.length; i++) {\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}\n\t\t \n\t\t//??????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "@SuppressWarnings(\"resource\")\n\tpublic static void main(String[] args) {\n\t\t//??\\????????£?¨?\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] hako = new int[n];\n\t\tlong sum = 0;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}\n\t\t\n\t\t//??\\?????????\n\n\t\tfor (int i=0; i<hako.length; i++) {\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}\n\t\t \n\t\t//??????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\t//??\\????????£?¨?\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint[] hako = new int[n];\n\t\tlong sum = 0;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}\n\t\t\n\t\t//??\\?????????\n\n\t\tfor (int i=0; i<hako.length; i++) {\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}\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 n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int[] hako = new int[n];", "hako", "new int[n]", "n", "long sum = 0;", "sum", "0", "int max = -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "for(int i = 0; i < n; i++){\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}", "{\n\t\t\thako[i] = scan.nextInt();\n\t\t\tsum = sum + hako[i];\n\t\t}", "hako[i] = scan.nextInt()", "hako[i]", "hako", "i", "scan.nextInt()", "scan.nextInt", "scan", "sum = sum + hako[i]", "sum", "sum + hako[i]", "sum", "hako[i]", "hako", "i", "for (int i=0; i<hako.length; i++) {\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<hako.length", "i", "hako.length", "hako", "hako.length", "i++", "i++", "i", "{\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}", "{\n\t\t\tif (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}\n\t\t\tif (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}\n\t\t}", "if (max < hako[i]) {\n\t\t\t\tmax = hako[i];\n\t\t\t}", "max < hako[i]", "max", "hako[i]", "hako", "i", "{\n\t\t\t\tmax = hako[i];\n\t\t\t}", "max = hako[i]", "max", "hako[i]", "hako", "i", "if (min > hako[i]) {\n\t\t\t\tmin = hako[i];\n\t\t\t}", "min > hako[i]", "min", "hako[i]", "hako", "i", "{\n\t\t\t\tmin = hako[i];\n\t\t\t}", "min = hako[i]", "min", "hako[i]", "hako", "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.util.Scanner; class Main{ @SuppressWarnings("resource") public static void main(String[] args) { //??\????????£?¨? Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int[] hako = new int[n]; long sum = 0; int max = -1000000; int min = 1000000; for(int i = 0; i < n; i++){ hako[i] = scan.nextInt(); sum = sum + hako[i]; } //??\????????? for (int i=0; i<hako.length; i++) { if (max < hako[i]) { max = hako[i]; } if (min > hako[i]) { min = hako[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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 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, 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, 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 ], [ 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 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 71, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 8, 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 ], [ 6, 115 ], [ 115, 116 ] ]
[ "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[] nums = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\n\t\tlong max = nums[0];\n\t\tlong min = nums[0];\n\t\tlong sum = 0;\n\n\t\tfor(int s=0; s<nums.length; s++){\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\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[] nums = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\n\t\tlong max = nums[0];\n\t\tlong min = nums[0];\n\t\tlong sum = 0;\n\n\t\tfor(int s=0; s<nums.length; s++){\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\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[] nums = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\n\t\tlong max = nums[0];\n\t\tlong min = nums[0];\n\t\tlong sum = 0;\n\n\t\tfor(int s=0; s<nums.length; s++){\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint[] nums = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}\n\t\tscan.close();\n\n\t\tlong max = nums[0];\n\t\tlong min = nums[0];\n\t\tlong sum = 0;\n\n\t\tfor(int s=0; s<nums.length; s++){\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(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[] nums = new int[n];", "nums", "new int[n]", "n", "for(int i=0; i<n; i++){\n\t\t\tnums[i] = scan.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tnums[i] = scan.nextInt();\n\t\t}", "{\n\t\t\tnums[i] = scan.nextInt();\n\t\t}", "nums[i] = scan.nextInt()", "nums[i]", "nums", "i", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "long max = nums[0];", "max", "nums[0]", "nums", "0", "long min = nums[0];", "min", "nums[0]", "nums", "0", "long sum = 0;", "sum", "0", "for(int s=0; s<nums.length; s++){\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}", "int s=0;", "int s=0;", "s", "0", "s<nums.length", "s", "nums.length", "nums", "nums.length", "s++", "s++", "s", "{\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}", "{\n\t\t\tsum += nums[s];\n\t\t\tif(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}\n\t\t\tif(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}\n\t\t}", "sum += nums[s]", "sum", "nums[s]", "nums", "s", "if(max < nums[s]){\n\t\t\t\tmax = nums[s];\n\t\t\t}", "max < nums[s]", "max", "nums[s]", "nums", "s", "{\n\t\t\t\tmax = nums[s];\n\t\t\t}", "max = nums[s]", "max", "nums[s]", "nums", "s", "if(min > nums[s]){\n\t\t\t\tmin = nums[s];\n\t\t\t}", "min > nums[s]", "min", "nums[s]", "nums", "s", "{\n\t\t\t\tmin = nums[s];\n\t\t\t}", "min = nums[s]", "min", "nums[s]", "nums", "s", "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[] nums = new int[n]; for(int i=0; i<n; i++){ nums[i] = scan.nextInt(); } scan.close(); long max = nums[0]; long min = nums[0]; long sum = 0; for(int s=0; s<nums.length; s++){ sum += nums[s]; if(max < nums[s]){ max = nums[s]; } if(min > nums[s]){ min = nums[s]; } } 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, 4, 18, 13, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 41, 13, 20, 13, 41, 13, 4, 18, 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, 0, 13, 18, 13, 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, 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 ], [ 114, 8 ], [ 114, 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, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 39, 44 ], [ 11, 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 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 57, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 57, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 57, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 11, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 105, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 105, 110 ], [ 9, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int time = Integer.parseInt(br.readLine());\n long sum = 0;\n int max = -1000000;\n int min = 1000000;\n int num[] = new int[time];\n String[] ary = br.readLine().split(\" \");\n \n for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n \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 BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int time = Integer.parseInt(br.readLine());\n long sum = 0;\n int max = -1000000;\n int min = 1000000;\n int num[] = new int[time];\n String[] ary = br.readLine().split(\" \");\n \n for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n \n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int time = Integer.parseInt(br.readLine());\n long sum = 0;\n int max = -1000000;\n int min = 1000000;\n int num[] = new int[time];\n String[] ary = br.readLine().split(\" \");\n \n for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n \n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int time = Integer.parseInt(br.readLine());\n long sum = 0;\n int max = -1000000;\n int min = 1000000;\n int num[] = new int[time];\n String[] ary = br.readLine().split(\" \");\n \n for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\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))", "int time = Integer.parseInt(br.readLine());", "time", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "long sum = 0;", "sum", "0", "int max = -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "int num[] = new int[time];", "num", "new int[time]", "time", "String[] ary = br.readLine().split(\" \");", "ary", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < time", "i", "time", "i++", "i++", "i", "{\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }", "{\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }", "num[i] = Integer.parseInt(ary[i])", "num[i]", "num", "i", "Integer.parseInt(ary[i])", "Integer.parseInt", "Integer", "ary[i]", "ary", "i", "sum += num[i]", "sum", "num[i]", "num", "i", "if (max < num[i]) {\n max = num[i];\n }", "max < num[i]", "max", "num[i]", "num", "i", "{\n max = num[i];\n }", "max = num[i]", "max", "num[i]", "num", "i", "if (min > num[i]) {\n min = num[i];\n }", "min > num[i]", "min", "num[i]", "num", "i", "{\n min = num[i];\n }", "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", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int time = Integer.parseInt(br.readLine());\n long sum = 0;\n int max = -1000000;\n int min = 1000000;\n int num[] = new int[time];\n String[] ary = br.readLine().split(\" \");\n \n for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n \n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int time = Integer.parseInt(br.readLine());\n long sum = 0;\n int max = -1000000;\n int min = 1000000;\n int num[] = new int[time];\n String[] ary = br.readLine().split(\" \");\n \n for (int i = 0; i < time; i++) {\n num[i] = Integer.parseInt(ary[i]);\n sum += num[i];\n if (max < num[i]) {\n max = num[i];\n }\n \n if (min > num[i]) {\n min = num[i];\n }\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n \n }\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)); int time = Integer.parseInt(br.readLine()); long sum = 0; int max = -1000000; int min = 1000000; int num[] = new int[time]; String[] ary = br.readLine().split(" "); for (int i = 0; i < time; i++) { num[i] = Integer.parseInt(ary[i]); sum += num[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, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 17, 0, 13, 17, 0, 13, 40, 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, 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 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 33, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 8, 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 ], [ 61, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 61, 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 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n,num,min,max;\n\t\n\t\tlong sum = 0;\n\t\tn =Integer.parseInt(scan.nextLine());\n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tnum = 0;\n\t\tmin = 1000000;\n\t\tmax = -1000000;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = 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", "class Main {\n\tpublic static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n,num,min,max;\n\t\n\t\tlong sum = 0;\n\t\tn =Integer.parseInt(scan.nextLine());\n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tnum = 0;\n\t\tmin = 1000000;\n\t\tmax = -1000000;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = 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", "public static void main(String[] args) {\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n,num,min,max;\n\t\n\t\tlong sum = 0;\n\t\tn =Integer.parseInt(scan.nextLine());\n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tnum = 0;\n\t\tmin = 1000000;\n\t\tmax = -1000000;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = 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\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n,num,min,max;\n\t\n\t\tlong sum = 0;\n\t\tn =Integer.parseInt(scan.nextLine());\n\t\tString[] str = scan.nextLine().split(\" \");\n\t\tnum = 0;\n\t\tmin = 1000000;\n\t\tmax = -1000000;\n\t\t\n\t\tfor(int i=0; i<n; i++){\n\t\t\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tsum += num;\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 n", "n", "num", "num", "min", "min", "max;", "max", "long sum = 0;", "sum", "0", "n =Integer.parseInt(scan.nextLine())", "n", "Integer.parseInt(scan.nextLine())", "Integer.parseInt", "Integer", "scan.nextLine()", "scan.nextLine", "scan", "String[] str = scan.nextLine().split(\" \");", "str", "scan.nextLine().split(\" \")", "scan.nextLine().split", "scan.nextLine()", "scan.nextLine", "scan", "\" \"", "num = 0", "num", "0", "min = 1000000", "min", "1000000", "max = -1000000", "max", "-1000000", "1000000", "for(int i=0; i<n; i++){\n\t\t\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = 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\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}", "{\n\t\t\tnum = Integer.parseInt(str[i]);\n\t\t\tif(num>max){\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tif(num<min){\n\t\t\t\tmin = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t}", "num = Integer.parseInt(str[i])", "num", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "if(num>max){\n\t\t\t\tmax = num;\n\t\t\t}", "num>max", "num", "max", "{\n\t\t\t\tmax = num;\n\t\t\t}", "max = num", "max", "num", "if(num<min){\n\t\t\t\tmin = num;\n\t\t\t}", "num<min", "num", "min", "{\n\t\t\t\tmin = num;\n\t\t\t}", "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" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n,num,min,max; long sum = 0; n =Integer.parseInt(scan.nextLine()); String[] str = scan.nextLine().split(" "); num = 0; min = 1000000; max = -1000000; for(int i=0; i<n; i++){ num = Integer.parseInt(str[i]); if(num>max){ max = num; } 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, 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, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 13, 13, 13, 17, 4, 13, 13, 13, 17, 4, 13, 13, 13, 23, 13, 12, 13, 30, 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, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 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, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 20, 29, 13, 23, 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 ], [ 199, 11 ], [ 199, 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 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 56, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 57, 60 ], [ 56, 61 ], [ 55, 62 ], [ 62, 63 ], [ 62, 64 ], [ 62, 65 ], [ 54, 66 ], [ 56, 67 ], [ 67, 68 ], [ 67, 69 ], [ 67, 70 ], [ 12, 71 ], [ 71, 72 ], [ 199, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 75, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 96, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 75, 109 ], [ 109, 110 ], [ 73, 111 ], [ 111, 112 ], [ 73, 113 ], [ 113, 114 ], [ 199, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 123, 125 ], [ 117, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 131, 132 ], [ 131, 133 ], [ 126, 134 ], [ 134, 135 ], [ 135, 136 ], [ 126, 137 ], [ 138, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 141, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 148, 149 ], [ 148, 150 ], [ 117, 151 ], [ 151, 152 ], [ 115, 153 ], [ 153, 154 ], [ 115, 155 ], [ 155, 156 ], [ 199, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 168, 169 ], [ 168, 170 ], [ 163, 171 ], [ 171, 172 ], [ 172, 173 ], [ 163, 174 ], [ 175, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 159, 182 ], [ 182, 183 ], [ 157, 184 ], [ 184, 185 ], [ 157, 186 ], [ 186, 187 ], [ 199, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 192, 195 ], [ 188, 196 ], [ 196, 197 ], [ 0, 198 ], [ 198, 199 ], [ 198, 200 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.math.BigDecimal;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tint eNum;//????????????????´???°????´???¨\n\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();//????????????????´???°???????´?\n\t\teNum = Integer.parseInt(str);\n\n\t\tString[] element = new String[eNum];\n\n\t\tstr = br.readLine();\n\t\telement = getElement(str);//????????????????´????????´?\n\n\t\tSystem.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum));\n\t}\n\n\t//?????§???????±???????????????????\n\tpublic static int getMax(String[] element, int num) {\n\t\tint max = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (max);\n\t}\n\n\t//????°????????±???????????????????\n\tpublic static int getMin(String[] element, int num) {\n\t\tint min = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (min);\n\t}\n\n\t//????¨?????±???????????????????\n\tpublic static BigDecimal getSum(String[] element, int num) {\n\t\tBigDecimal sum = new BigDecimal(\"0\");\n\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}\n\t\treturn (sum);\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tint eNum;//????????????????´???°????´???¨\n\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();//????????????????´???°???????´?\n\t\teNum = Integer.parseInt(str);\n\n\t\tString[] element = new String[eNum];\n\n\t\tstr = br.readLine();\n\t\telement = getElement(str);//????????????????´????????´?\n\n\t\tSystem.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum));\n\t}\n\n\t//?????§???????±???????????????????\n\tpublic static int getMax(String[] element, int num) {\n\t\tint max = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (max);\n\t}\n\n\t//????°????????±???????????????????\n\tpublic static int getMin(String[] element, int num) {\n\t\tint min = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (min);\n\t}\n\n\t//????¨?????±???????????????????\n\tpublic static BigDecimal getSum(String[] element, int num) {\n\t\tBigDecimal sum = new BigDecimal(\"0\");\n\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}\n\t\treturn (sum);\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tint eNum;//????????????????´???°????´???¨\n\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();//????????????????´???°???????´?\n\t\teNum = Integer.parseInt(str);\n\n\t\tString[] element = new String[eNum];\n\n\t\tstr = br.readLine();\n\t\telement = getElement(str);//????????????????´????????´?\n\n\t\tSystem.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum));\n\t}", "main", "{\n\t\tint eNum;//????????????????´???°????´???¨\n\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();//????????????????´???°???????´?\n\t\teNum = Integer.parseInt(str);\n\n\t\tString[] element = new String[eNum];\n\n\t\tstr = br.readLine();\n\t\telement = getElement(str);//????????????????´????????´?\n\n\t\tSystem.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum));\n\t}", "int eNum;", "eNum", "InputStreamReader is = new InputStreamReader(System.in);", "is", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(is);", "br", "new BufferedReader(is)", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "eNum = Integer.parseInt(str)", "eNum", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "String[] element = new String[eNum];", "element", "new String[eNum]", "eNum", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "element = getElement(str)", "element", "getElement(str)", "getElement", "str", "System.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum))", "System.out.println", "System.out", "System", "System.out", "getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum)", "\" \"", "getMax(element, eNum)", "getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum)", "getMin(element, eNum)", "getMin", "element", "eNum", "\" \"", "getMax(element, eNum)", "getMax", "element", "eNum", "\" \"", "getSum(element, eNum)", "getSum", "element", "eNum", "String[] args", "args", "//?????§???????±???????????????????\n\tpublic static int getMax(String[] element, int num) {\n\t\tint max = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (max);\n\t}", "getMax", "{\n\t\tint max = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (max);\n\t}", "int max = Integer.parseInt(element[0]);", "max", "Integer.parseInt(element[0])", "Integer.parseInt", "Integer", "element[0]", "element", "0", "for (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}", "{\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}", "max = Math.max(max, Integer.parseInt(element[i]))", "max", "Math.max(max, Integer.parseInt(element[i]))", "Math.max", "Math", "max", "Integer.parseInt(element[i])", "Integer.parseInt", "Integer", "element[i]", "element", "i", "return (max);", "(max)", "String[] element", "element", "int num", "num", "//????°????????±???????????????????\n\tpublic static int getMin(String[] element, int num) {\n\t\tint min = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (min);\n\t}", "getMin", "{\n\t\tint min = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (min);\n\t}", "int min = Integer.parseInt(element[0]);", "min", "Integer.parseInt(element[0])", "Integer.parseInt", "Integer", "element[0]", "element", "0", "for (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}", "{\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}", "min = Math.min(min, Integer.parseInt(element[i]))", "min", "Math.min(min, Integer.parseInt(element[i]))", "Math.min", "Math", "min", "Integer.parseInt(element[i])", "Integer.parseInt", "Integer", "element[i]", "element", "i", "return (min);", "(min)", "String[] element", "element", "int num", "num", "//????¨?????±???????????????????\n\tpublic static BigDecimal getSum(String[] element, int num) {\n\t\tBigDecimal sum = new BigDecimal(\"0\");\n\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}\n\t\treturn (sum);\n\t}", "getSum", "{\n\t\tBigDecimal sum = new BigDecimal(\"0\");\n\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}\n\t\treturn (sum);\n\t}", "BigDecimal sum = new BigDecimal(\"0\");", "sum", "new BigDecimal(\"0\")", "for (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}", "{\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}", "sum = sum.add(new BigDecimal(element[i]))", "sum", "sum.add(new BigDecimal(element[i]))", "sum.add", "sum", "new BigDecimal(element[i])", "return (sum);", "(sum)", "String[] element", "element", "int num", "num", "//??????????????????????????????????????????\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\tint eNum;//????????????????´???°????´???¨\n\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();//????????????????´???°???????´?\n\t\teNum = Integer.parseInt(str);\n\n\t\tString[] element = new String[eNum];\n\n\t\tstr = br.readLine();\n\t\telement = getElement(str);//????????????????´????????´?\n\n\t\tSystem.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum));\n\t}\n\n\t//?????§???????±???????????????????\n\tpublic static int getMax(String[] element, int num) {\n\t\tint max = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (max);\n\t}\n\n\t//????°????????±???????????????????\n\tpublic static int getMin(String[] element, int num) {\n\t\tint min = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (min);\n\t}\n\n\t//????¨?????±???????????????????\n\tpublic static BigDecimal getSum(String[] element, int num) {\n\t\tBigDecimal sum = new BigDecimal(\"0\");\n\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}\n\t\treturn (sum);\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tint eNum;//????????????????´???°????´???¨\n\n\t\tInputStreamReader is = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(is);\n\n\t\tString str = br.readLine();//????????????????´???°???????´?\n\t\teNum = Integer.parseInt(str);\n\n\t\tString[] element = new String[eNum];\n\n\t\tstr = br.readLine();\n\t\telement = getElement(str);//????????????????´????????´?\n\n\t\tSystem.out.println(getMin(element, eNum) + \" \" +\n\t\t\t\tgetMax(element, eNum) + \" \" + getSum(element, eNum));\n\t}\n\n\t//?????§???????±???????????????????\n\tpublic static int getMax(String[] element, int num) {\n\t\tint max = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmax = Math.max(max, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (max);\n\t}\n\n\t//????°????????±???????????????????\n\tpublic static int getMin(String[] element, int num) {\n\t\tint min = Integer.parseInt(element[0]);\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tmin = Math.min(min, Integer.parseInt(element[i]));\n\t\t}\n\t\treturn (min);\n\t}\n\n\t//????¨?????±???????????????????\n\tpublic static BigDecimal getSum(String[] element, int num) {\n\t\tBigDecimal sum = new BigDecimal(\"0\");\n\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tsum = sum.add(new BigDecimal(element[i]));\n//\t\t\tSystem.out.println(\"i=\"+i+\" \"+element[i]);\n\t\t}\n\t\treturn (sum);\n\t}\n\n\t//??????????????????????????????????????????\n\tpublic static String[] getElement(String element) {\n\t\treturn (element.split(\" \"));\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.math.BigDecimal; public class Main { public static void main(String[] args) throws Exception { int eNum;//????????????????´???°????´???¨ InputStreamReader is = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(is); String str = br.readLine();//????????????????´???°???????´? eNum = Integer.parseInt(str); String[] element = new String[eNum]; str = br.readLine(); element = getElement(str);//????????????????´????????´? System.out.println(getMin(element, eNum) + " " + getMax(element, eNum) + " " + getSum(element, eNum)); } //?????§???????±??????????????????? public static int getMax(String[] element, int num) { int max = Integer.parseInt(element[0]); for (int i = 0; i < num; i++) { max = Math.max(max, Integer.parseInt(element[i])); } return (max); } //????°????????±??????????????????? public static int getMin(String[] element, int num) { int min = Integer.parseInt(element[0]); for (int i = 0; i < num; i++) { min = Math.min(min, Integer.parseInt(element[i])); } return (min); } //????¨?????±??????????????????? public static BigDecimal getSum(String[] element, int num) { BigDecimal sum = new BigDecimal("0"); for (int i = 0; i < num; i++) { sum = sum.add(new BigDecimal(element[i])); // System.out.println("i="+i+" "+element[i]); } return (sum); } //?????????????????????????????????????????? public static String[] getElement(String element) { return (element.split(" ")); } }
[ 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, 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, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 113, 5 ], [ 113, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 8, 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 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 104, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 104, 109 ], [ 6, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] argas){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//???????????°???\n\t\tint n = sc.nextInt();\n\t\t//\n\t\tint []ary = new int[n];\n\t\t//?????£?????\\??????????????????\n\t\tfor(int i =0; i<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\t\t//??£?¨? ?????????\n\t\tint min = ary[0];\n\t\tint max = ary[0];\n\t\tlong sum = 0;\n\t\t//\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[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[] argas){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//???????????°???\n\t\tint n = sc.nextInt();\n\t\t//\n\t\tint []ary = new int[n];\n\t\t//?????£?????\\??????????????????\n\t\tfor(int i =0; i<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\t\t//??£?¨? ?????????\n\t\tint min = ary[0];\n\t\tint max = ary[0];\n\t\tlong sum = 0;\n\t\t//\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[i];\n\t\t}\n\t\t//????????¨???\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] argas){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//???????????°???\n\t\tint n = sc.nextInt();\n\t\t//\n\t\tint []ary = new int[n];\n\t\t//?????£?????\\??????????????????\n\t\tfor(int i =0; i<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\t\t//??£?¨? ?????????\n\t\tint min = ary[0];\n\t\tint max = ary[0];\n\t\tlong sum = 0;\n\t\t//\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[i];\n\t\t}\n\t\t//????????¨???\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//???????????°???\n\t\tint n = sc.nextInt();\n\t\t//\n\t\tint []ary = new int[n];\n\t\t//?????£?????\\??????????????????\n\t\tfor(int i =0; i<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\t\t//??£?¨? ?????????\n\t\tint min = ary[0];\n\t\tint max = ary[0];\n\t\tlong sum = 0;\n\t\t//\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[i];\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)", "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<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}", "int i =0;", "int i =0;", "i", "0", "i<n", "i", "n", "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", "int min = ary[0];", "min", "ary[0]", "ary", "0", "int max = ary[0];", "max", "ary[0]", "ary", "0", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\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\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[i];\n\t\t}", "{\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[i];\n\t\t}", "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", "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", "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", "String[] argas", "argas", "public class Main {\n\tpublic static void main(String[] argas){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//???????????°???\n\t\tint n = sc.nextInt();\n\t\t//\n\t\tint []ary = new int[n];\n\t\t//?????£?????\\??????????????????\n\t\tfor(int i =0; i<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\t\t//??£?¨? ?????????\n\t\tint min = ary[0];\n\t\tint max = ary[0];\n\t\tlong sum = 0;\n\t\t//\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[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[] argas){\n\t\t//????????£????????????????????°?????????????????£?¨?\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//???????????°???\n\t\tint n = sc.nextInt();\n\t\t//\n\t\tint []ary = new int[n];\n\t\t//?????£?????\\??????????????????\n\t\tfor(int i =0; i<n; i++){\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\t\t//??£?¨? ?????????\n\t\tint min = ary[0];\n\t\tint max = ary[0];\n\t\tlong sum = 0;\n\t\t//\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tif(min>ary[i]){\n\t\t\t\tmin = ary[i];\n\t\t\t}\n\t\t\tif(max < ary[i]){\n\t\t\t\tmax = ary[i];\n\t\t\t}\n\t\t\tsum += ary[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[] argas){ //????????£????????????????????°?????????????????£?¨? Scanner sc = new Scanner(System.in); //???????????°??? int n = sc.nextInt(); // int []ary = new int[n]; //?????£?????\?????????????????? for(int i =0; i<n; i++){ ary[i] = sc.nextInt(); } //??£?¨? ????????? int min = ary[0]; int max = ary[0]; long sum = 0; // for(int i = 0; i < n; i++){ if(min>ary[i]){ min = ary[i]; } if(max < ary[i]){ max = ary[i]; } sum += ary[i]; } //????????¨??? 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, 4, 18, 13, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 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, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 17, 11, 1, 41, 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 136, 11 ], [ 136, 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 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 14, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 48, 50 ], [ 41, 51 ], [ 51, 52 ], [ 52, 53 ], [ 41, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 14, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 14, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 14, 76 ], [ 76, 77 ], [ 76, 78 ], [ 14, 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 ], [ 97, 98 ], [ 96, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 93, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 93, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 14, 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 ], [ 12, 133 ], [ 133, 134 ], [ 0, 135 ], [ 135, 136 ], [ 135, 137 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\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\tString first = br.readLine();\n\t\tint[] array = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tint max = array[0]; int min = array[0]; long sum = 0;\n\t\tfor (int x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}\n\t\tSystem.out.println(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\tString first = br.readLine();\n\t\tint[] array = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tint max = array[0]; int min = array[0]; long sum = 0;\n\t\tfor (int x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}\n\t\tSystem.out.println(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\tString first = br.readLine();\n\t\tint[] array = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tint max = array[0]; int min = array[0]; long sum = 0;\n\t\tfor (int x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] array = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tint max = array[0]; int min = array[0]; long sum = 0;\n\t\tfor (int x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "BufferedReader br =new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String first = br.readLine();", "first", "br.readLine()", "br.readLine", "br", "int[] array = new int[Integer.parseInt(first)];", "array", "new int[Integer.parseInt(first)]", "Integer.parseInt(first)", "Integer.parseInt", "Integer", "first", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] stra = str.split(\" \");", "stra", "str.split(\" \")", "str.split", "str", "\" \"", "for (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\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\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}", "{\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}", "array[i] = Integer.parseInt(stra[i])", "array[i]", "array", "i", "Integer.parseInt(stra[i])", "Integer.parseInt", "Integer", "stra[i]", "stra", "i", "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 x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}", "int x = 0 ;", "int x = 0 ;", "x", "0", "x < array.length", "x", "array.length", "array", "array.length", "x++", "x++", "x", "{\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}", "{\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}", "max = Math.max(max, array[x])", "max", "Math.max(max, array[x])", "Math.max", "Math", "max", "array[x]", "array", "x", "min = Math.min(min,array[x])", "min", "Math.min(min,array[x])", "Math.min", "Math", "min", "array[x]", "array", "x", "sum = sum + array[x]", "sum", "sum + array[x]", "sum", "array[x]", "array", "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", "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\tString first = br.readLine();\n\t\tint[] array = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tint max = array[0]; int min = array[0]; long sum = 0;\n\t\tfor (int x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\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) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString first = br.readLine();\n\t\tint[] array = new int[Integer.parseInt(first)];\n\t\tString str = br.readLine();\n\t\tString[] stra = str.split(\" \");\n\t\tfor (int i = 0 ; i < array.length ; i++){\n\t\t\tarray[i] = Integer.parseInt(stra[i]);\n\t\t}\n\t\tint max = array[0]; int min = array[0]; long sum = 0;\n\t\tfor (int x = 0 ; x < array.length ;x++){\n\t\t\tmax = Math.max(max, array[x]);\n\t\t\tmin = Math.min(min,array[x]);\n\t\t\tsum = sum + array[x];\n\t\t}\n\t\tSystem.out.println(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)); String first = br.readLine(); int[] array = new int[Integer.parseInt(first)]; String str = br.readLine(); String[] stra = str.split(" "); for (int i = 0 ; i < array.length ; i++){ array[i] = Integer.parseInt(stra[i]); } int max = array[0]; int min = array[0]; long sum = 0; for (int x = 0 ; x < array.length ;x++){ max = Math.max(max, array[x]); min = Math.min(min,array[x]); sum = sum + array[x]; } 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, 4, 18, 4, 18, 13, 17, 41, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 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 ]
[ [ 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 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 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 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 54, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 54, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 88, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 88, 93 ], [ 6, 94 ], [ 94, 95 ] ]
[ "import java.io.*;\n\nclass Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tString[] str = buf.readLine().split(\" \");\n\n\t\tint tmp;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum=0;\n\t\tfor(int i=0; i< str.length; i++){\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}\n\t\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 buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tString[] str = buf.readLine().split(\" \");\n\n\t\tint tmp;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum=0;\n\t\tfor(int i=0; i< str.length; i++){\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main", "public static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tString[] str = buf.readLine().split(\" \");\n\n\t\tint tmp;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum=0;\n\t\tfor(int i=0; i< str.length; i++){\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tString[] str = buf.readLine().split(\" \");\n\n\t\tint tmp;\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong sum=0;\n\t\tfor(int i=0; i< str.length; i++){\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));", "buf", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(buf.readLine());", "n", "Integer.parseInt(buf.readLine())", "Integer.parseInt", "Integer", "buf.readLine()", "buf.readLine", "buf", "String[] str = buf.readLine().split(\" \");", "str", "buf.readLine().split(\" \")", "buf.readLine().split", "buf.readLine()", "buf.readLine", "buf", "\" \"", "int tmp;", "tmp", "int max = -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "long sum=0;", "sum", "0", "for(int i=0; i< str.length; i++){\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i< str.length", "i", "str.length", "str", "str.length", "i++", "i++", "i", "{\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}", "{\n\t\t\ttmp = Integer.parseInt(str[i]);\n\t\t\tif(tmp <= min)\n\t\t\t\tmin = tmp;\n\t\t\tif(tmp >= max)\n\t\t\t\tmax = tmp;\n\t\t\tsum += tmp;\n\t\t}", "tmp = Integer.parseInt(str[i])", "tmp", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "if(tmp <= min)\n\t\t\t\tmin = tmp;", "tmp <= min", "tmp", "min", "min = tmp", "min", "tmp", "if(tmp >= max)\n\t\t\t\tmax = tmp;", "tmp >= max", "tmp", "max", "max = tmp", "max", "tmp", "sum += tmp", "sum", "tmp", "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 buf = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(buf.readLine()); String[] str = buf.readLine().split(" "); int tmp; int max = -1000000; int min = 1000000; long sum=0; for(int i=0; i< str.length; i++){ tmp = Integer.parseInt(str[i]); if(tmp <= min) min = tmp; if(tmp >= max) max = tmp; sum += tmp; } 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, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 13, 18, 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, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 84, 8 ], [ 84, 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 ], [ 24, 26 ], [ 11, 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 ], [ 39, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 64, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 62, 76 ], [ 64, 77 ], [ 11, 78 ], [ 78, 79 ], [ 79, 80 ], [ 9, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tSystem.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + sum);\n\n\t\tscan.close();\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[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tSystem.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + sum);\n\n\t\tscan.close();\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\n\t\tint[] a = new int[n];\n\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tSystem.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + sum);\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tint[] a = new int[n];\n\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tSystem.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + 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", "for(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\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\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}", "{\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += 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", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "System.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "a[0] + \" \" + a[a.length - 1] + \" \" + sum", "\" \"", "a[a.length - 1]", "a[0] + \" \" + a[a.length - 1] + \" \" + sum", "a[0]", "a", "0", "\" \"", "a[a.length - 1]", "a", "a.length - 1", "a.length", "a", "a.length", "1", "\" \"", "sum", "scan.close()", "scan.close", "scan", "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\n\t\tint[] a = new int[n];\n\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tSystem.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + sum);\n\n\t\tscan.close();\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\n\t\tint[] a = new int[n];\n\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = scan.nextInt();\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tArrays.sort(a);\n\n\t\tSystem.out.println(a[0] + \" \" + a[a.length - 1] + \" \" + sum);\n\n\t\tscan.close();\n\t}\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 n = scan.nextInt(); int[] a = new int[n]; long sum = 0; for(int i = 0; i < n; i++) { a[i] = scan.nextInt(); sum += a[i]; } Arrays.sort(a); System.out.println(a[0] + " " + a[a.length - 1] + " " + sum); scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 13, 17, 4, 18, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 88, 17 ], [ 88, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 24, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 34, 36 ], [ 28, 37 ], [ 37, 38 ], [ 37, 39 ], [ 28, 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 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 28, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 73, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 72, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 71, 83 ], [ 73, 84 ], [ 18, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "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\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}\n\t}", "Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "scan", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "while(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}", "scan.hasNext()", "scan.hasNext", "scan", "{\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}", "int x=scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "ArrayList<Integer> list=new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "long sum=0;", "sum", "0", "for (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}", "{\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}", "int n=scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "sum +=n", "sum", "n", "list.add(n)", "list.add", "list", "n", "System.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum", "\" \"", "Collections.max(list)", "Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum", "Collections.min(list)", "Collections.min", "Collections", "list", "\" \"", "Collections.max(list)", "Collections.max", "Collections", "list", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\twhile(scan.hasNext()){\n\t\t\tint x=scan.nextInt();\n\t\t\t\n\t\t\tArrayList<Integer> list=new ArrayList<Integer>();\n\t\t\tlong sum=0;\n\t\t\tfor (int i = 0; i < x; i++) {\n\t\t\t\tint n=scan.nextInt();\n\t\t\t\tsum +=n;\n\t\t\t\tlist.add(n);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(new BufferedReader(new InputStreamReader(System.in))); while(scan.hasNext()){ int x=scan.nextInt(); ArrayList<Integer> list=new ArrayList<Integer>(); long sum=0; for (int i = 0; i < x; i++) { int n=scan.nextInt(); sum +=n; list.add(n); } System.out.println(Collections.min(list)+" "+Collections.max(list)+" "+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, 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 ]
[ [ 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 ], [ 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 ], [ 42, 43 ], [ 41, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 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 ], [ 63, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 74, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 72, 84 ], [ 74, 85 ], [ 6, 86 ], [ 86, 87 ] ]
[ "import java.util.*;\n\nclass Main{\n public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []a=new int[n];\n\n for(int i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n Arrays.sort(a);\n\n long s=0;\n\n for (int i=0;i<n;i++){\n s+=a[i];\n }\n System.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\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=sc.nextInt();\n int []a=new int[n];\n\n for(int i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n Arrays.sort(a);\n\n long s=0;\n\n for (int i=0;i<n;i++){\n s+=a[i];\n }\n System.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\n }\n}", "Main", "public static void main(String[]args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []a=new int[n];\n\n for(int i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n Arrays.sort(a);\n\n long s=0;\n\n for (int i=0;i<n;i++){\n s+=a[i];\n }\n System.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []a=new int[n];\n\n for(int i=0;i<n;i++){\n a[i]=sc.nextInt();\n }\n\n Arrays.sort(a);\n\n long s=0;\n\n for (int i=0;i<n;i++){\n s+=a[i];\n }\n System.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\n }", "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 a[i]=sc.nextInt();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n a[i]=sc.nextInt();\n }", "{\n a[i]=sc.nextInt();\n }", "a[i]=sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "long s=0;", "s", "0", "for (int i=0;i<n;i++){\n s+=a[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n s+=a[i];\n }", "{\n s+=a[i];\n }", "s+=a[i]", "s", "a[i]", "a", "i", "System.out.println(a[0] + \" \" + a [n-1] + \" \" + s )", "System.out.println", "System.out", "System", "System.out", "a[0] + \" \" + a [n-1] + \" \" + s", "\" \"", "a [n-1]", "a[0] + \" \" + a [n-1] + \" \" + s", "a[0]", "a", "0", "\" \"", "a [n-1]", "a", "n-1", "n", "1", "\" \"", "s", "String[]args", "args" ]
import java.util.*; class Main{ public static void main(String[]args){ 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(); } Arrays.sort(a); long s=0; for (int i=0;i<n;i++){ s+=a[i]; } System.out.println(a[0] + " " + a [n-1] + " " + s ); } }
[ 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, 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 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 237, 26 ], [ 237, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 27, 42 ], [ 42, 43 ], [ 237, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 46, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 46, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 46, 69 ], [ 69, 70 ], [ 69, 71 ], [ 46, 72 ], [ 72, 73 ], [ 72, 74 ], [ 72, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 79, 83 ], [ 76, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 86, 90 ], [ 76, 91 ], [ 91, 92 ], [ 91, 93 ], [ 46, 94 ], [ 94, 95 ], [ 98, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 98, 103 ], [ 44, 104 ], [ 104, 105 ], [ 237, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 108, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 121, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 115, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 152, 154 ], [ 148, 155 ], [ 155, 156 ], [ 155, 157 ], [ 148, 158 ], [ 158, 159 ], [ 148, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 161, 167 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 169, 175 ], [ 148, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 106, 180 ], [ 180, 181 ], [ 237, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 187, 190 ], [ 184, 191 ], [ 191, 192 ], [ 191, 193 ], [ 194, 195 ], [ 194, 196 ], [ 184, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 204, 206 ], [ 197, 207 ], [ 207, 208 ], [ 208, 209 ], [ 197, 210 ], [ 211, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 216, 217 ], [ 217, 218 ], [ 216, 219 ], [ 219, 220 ], [ 219, 221 ], [ 184, 222 ], [ 222, 223 ], [ 182, 224 ], [ 224, 225 ], [ 237, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 230, 233 ], [ 226, 234 ], [ 234, 235 ], [ 0, 236 ], [ 236, 237 ], [ 236, 238 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.Collections;\nimport java.util.List;\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", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.List;", "List", "java.util", "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; import java.util.ArrayList; import java.util.Arrays; import java.util.Collections; import java.util.List; 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, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 40, 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, 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, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 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 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 51, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 67, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 43, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 96, 102 ], [ 96, 103 ], [ 96, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[10000];\n\t\t\n\t\tint max= -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%1$d %2$d %3$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{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[10000];\n\t\t\n\t\tint max= -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%1$d %2$d %3$d\\n\", min, max, sum);\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[10000];\n\t\t\n\t\tint max= -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%1$d %2$d %3$d\\n\", min, max, sum);\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[10000];\n\t\t\n\t\tint max= -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%1$d %2$d %3$d\\n\", min, max, sum);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[] a = new int[10000];", "a", "new int[10000]", "10000", "int max= -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "long sum = 0;", "sum", "0", "for(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\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\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}", "{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}", "a[i] = scanner.nextInt()", "a[i]", "a", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}", "max = a[0]", "max", "a[0]", "a", "0", "min = a[0]", "min", "a[0]", "a", "0", "{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}", "if(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}", "a[i] > max", "a[i]", "a", "i", "max", "{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}", "max = a[i]", "max", "a[i]", "a", "i", "if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}", "a[i] < min", "a[i]", "a", "i", "min", "{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}", "min = a[i]", "min", "a[i]", "a", "i", "sum += a[i]", "sum", "a[i]", "a", "i", "System.out.printf(\"%1$d %2$d %3$d\\n\", min, max, sum)", "System.out.printf", "System.out", "System", "System.out", "\"%1$d %2$d %3$d\\n\"", "min", "max", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[10000];\n\t\t\n\t\tint max= -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%1$d %2$d %3$d\\n\", min, max, sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint[] a = new int[10000];\n\t\t\n\t\tint max= -1000000;\n\t\tint min = 1000000;\n\t\tlong sum = 0;\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\ta[i] = scanner.nextInt();\n\t\t\tif(i == 0)\n\t\t\t{\n\t\t\t\tmax = a[0];\n\t\t\t\tmin = a[0];\n\t\t\t}\n\t\t\telse\n\t\t\t{\n\t\t\t\t\tif(a[i] > max)\n\t\t\t\t\t{\n\t\t\t\t\t\tmax = a[i];\n\t\t\t\t\t}\n\t\t\t\t\telse if(a[i] < min)\n\t\t\t\t\t{\n\t\t\t\t\t\tmin = a[i];\n\t\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tsum += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.printf(\"%1$d %2$d %3$d\\n\", min, max, sum);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int[] a = new int[10000]; int max= -1000000; int min = 1000000; long sum = 0; for(int i=0; i<n; i++) { a[i] = scanner.nextInt(); if(i == 0) { max = a[0]; min = a[0]; } else { if(a[i] > max) { max = a[i]; } else if(a[i] < min) { min = a[i]; } } sum += a[i]; } System.out.printf("%1$d %2$d %3$d\n", 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, 13, 0, 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 ]
[ [ 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 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 40, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 40, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 40, 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 ], [ 82, 84 ], [ 81, 85 ], [ 80, 86 ], [ 82, 87 ], [ 6, 88 ], [ 88, 89 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n \tpublic static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \t\n \tint n = scan.nextInt();\n \tint a;\n \tint min = 0;\n \tint max = 0;\n \tlong sum = 0;\n \t\n \tfor(int i = 0; i < n; i++){\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}\n \t\n \tSystem.out.println(min + \" \" + max + \" \" + sum);\n \t\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n \tpublic static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \t\n \tint n = scan.nextInt();\n \tint a;\n \tint min = 0;\n \tint max = 0;\n \tlong sum = 0;\n \t\n \tfor(int i = 0; i < n; i++){\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}\n \t\n \tSystem.out.println(min + \" \" + max + \" \" + sum);\n \t\n }\n}", "Main", "public static void main(String[] args){\n \tScanner scan = new Scanner(System.in);\n \t\n \tint n = scan.nextInt();\n \tint a;\n \tint min = 0;\n \tint max = 0;\n \tlong sum = 0;\n \t\n \tfor(int i = 0; i < n; i++){\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}\n \t\n \tSystem.out.println(min + \" \" + max + \" \" + sum);\n \t\n }", "main", "{\n \tScanner scan = new Scanner(System.in);\n \t\n \tint n = scan.nextInt();\n \tint a;\n \tint min = 0;\n \tint max = 0;\n \tlong sum = 0;\n \t\n \tfor(int i = 0; i < n; i++){\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}\n \t\n \tSystem.out.println(min + \" \" + max + \" \" + sum);\n \t\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int a;", "a", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}", "{\n \t a = scan.nextInt();\n \t if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }\n \t min = Math.min(min, a);\n \t max = Math.max(max, a);\n \t sum += a;\n \t}", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "if(i == 0) {\n \t \tmin = a;\n \t \tmax = a;\n \t }", "i == 0", "i", "0", "{\n \t \tmin = a;\n \t \tmax = a;\n \t }", "min = a", "min", "a", "max = a", "max", "a", "min = Math.min(min, a)", "min", "Math.min(min, a)", "Math.min", "Math", "min", "a", "max = Math.max(max, a)", "max", "Math.max(max, a)", "Math.max", "Math", "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" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int a; int min = 0; int max = 0; long sum = 0; for(int i = 0; i < n; i++){ a = scan.nextInt(); if(i == 0) { min = a; max = a; } min = Math.min(min, a); max = Math.max(max, a); sum += a; } 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, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 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, 40, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 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 ]
[ [ 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 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 30, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 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 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 8, 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 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 84, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 84, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 8, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 122, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 122, 127 ], [ 6, 128 ], [ 128, 129 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan=new Scanner(System.in);\n\t\tString nn=scan.nextLine();\n\t\tint n=Integer.parseInt(nn);\n\t\tString val=scan.nextLine();\n\t\tString [] numnum=val.split(\" \",0);\n\t\tint [] num=new int [n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}\n\t\tint max=-10000000;\n\t\tint min=10000000;\n\t\tlong count=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+count);\n\t}\n}\n\t", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String args[]){\n\t\tScanner scan=new Scanner(System.in);\n\t\tString nn=scan.nextLine();\n\t\tint n=Integer.parseInt(nn);\n\t\tString val=scan.nextLine();\n\t\tString [] numnum=val.split(\" \",0);\n\t\tint [] num=new int [n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}\n\t\tint max=-10000000;\n\t\tint min=10000000;\n\t\tlong count=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+count);\n\t}\n}", "Main", "public static void main(String args[]){\n\t\tScanner scan=new Scanner(System.in);\n\t\tString nn=scan.nextLine();\n\t\tint n=Integer.parseInt(nn);\n\t\tString val=scan.nextLine();\n\t\tString [] numnum=val.split(\" \",0);\n\t\tint [] num=new int [n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}\n\t\tint max=-10000000;\n\t\tint min=10000000;\n\t\tlong count=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+count);\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tString nn=scan.nextLine();\n\t\tint n=Integer.parseInt(nn);\n\t\tString val=scan.nextLine();\n\t\tString [] numnum=val.split(\" \",0);\n\t\tint [] num=new int [n];\n\t\tfor(int i=0;i<n;i++){\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}\n\t\tint max=-10000000;\n\t\tint min=10000000;\n\t\tlong count=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+count);\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "String nn=scan.nextLine();", "nn", "scan.nextLine()", "scan.nextLine", "scan", "int n=Integer.parseInt(nn);", "n", "Integer.parseInt(nn)", "Integer.parseInt", "Integer", "nn", "String val=scan.nextLine();", "val", "scan.nextLine()", "scan.nextLine", "scan", "String [] numnum=val.split(\" \",0);", "numnum", "val.split(\" \",0)", "val.split", "val", "\" \"", "0", "int [] num=new int [n];", "num", "new int [n]", "n", "for(int i=0;i<n;i++){\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}", "{\n\t\t\tnum[i]=Integer.parseInt(numnum[i]);\n\t\t}", "num[i]=Integer.parseInt(numnum[i])", "num[i]", "num", "i", "Integer.parseInt(numnum[i])", "Integer.parseInt", "Integer", "numnum[i]", "numnum", "i", "int max=-10000000;", "max", "-10000000", "10000000", "int min=10000000;", "min", "10000000", "long count=0;", "count", "0", "for(int i=0;i<n;i++){\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}", "{\n\t\t\tif(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}\n\t\t\tif(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}\n\t\t\tcount+=num[i];\n\t\t}", "if(num[i]>max){\n\t\t\t\tmax=num[i];\n\t\t\t}", "num[i]>max", "num[i]", "num", "i", "max", "{\n\t\t\t\tmax=num[i];\n\t\t\t}", "max=num[i]", "max", "num[i]", "num", "i", "if(num[i]<min){\n\t\t\t\tmin=num[i];\n\t\t\t}", "num[i]<min", "num[i]", "num", "i", "min", "{\n\t\t\t\tmin=num[i];\n\t\t\t}", "min=num[i]", "min", "num[i]", "num", "i", "count+=num[i]", "count", "num[i]", "num", "i", "System.out.println(min+\" \"+max+\" \"+count)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+count", "\" \"", "max", "min+\" \"+max+\" \"+count", "min", "\" \"", "max", "\" \"", "count", "String args[]", "args" ]
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner scan=new Scanner(System.in); String nn=scan.nextLine(); int n=Integer.parseInt(nn); String val=scan.nextLine(); String [] numnum=val.split(" ",0); int [] num=new int [n]; for(int i=0;i<n;i++){ num[i]=Integer.parseInt(numnum[i]); } int max=-10000000; int min=10000000; long count=0; for(int i=0;i<n;i++){ if(num[i]>max){ max=num[i]; } if(num[i]<min){ min=num[i]; } count+=num[i]; } System.out.println(min+" "+max+" "+count); } }
[ 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, 41, 13, 18, 13, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 113, 8 ], [ 113, 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 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 69, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 11, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 104, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 104, 109 ], [ 9, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力\n\t\tint times = sc.nextInt();\n\t\tint[] ary = new int[times];\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\n\t\t//処理\n\t\tlong max = ary[0];\n\t\tlong min = ary[0];\n\t\tlong sum = 0;\n\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}\n\n\t\t//出力\n\t\tSystem.out.println(max +\" \"+ min +\" \"+ sum);\n\n\t}\n\n}\n", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力\n\t\tint times = sc.nextInt();\n\t\tint[] ary = new int[times];\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\n\t\t//処理\n\t\tlong max = ary[0];\n\t\tlong min = ary[0];\n\t\tlong sum = 0;\n\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}\n\n\t\t//出力\n\t\tSystem.out.println(max +\" \"+ min +\" \"+ sum);\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力\n\t\tint times = sc.nextInt();\n\t\tint[] ary = new int[times];\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\n\t\t//処理\n\t\tlong max = ary[0];\n\t\tlong min = ary[0];\n\t\tlong sum = 0;\n\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}\n\n\t\t//出力\n\t\tSystem.out.println(max +\" \"+ min +\" \"+ sum);\n\n\t}", "main", "{\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力\n\t\tint times = sc.nextInt();\n\t\tint[] ary = new int[times];\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\n\t\t//処理\n\t\tlong max = ary[0];\n\t\tlong min = ary[0];\n\t\tlong sum = 0;\n\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}\n\n\t\t//出力\n\t\tSystem.out.println(max +\" \"+ min +\" \"+ sum);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int times = sc.nextInt();", "times", "sc.nextInt()", "sc.nextInt", "sc", "int[] ary = new int[times];", "ary", "new int[times]", "times", "for(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<times", "i", "times", "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", "long max = ary[0];", "max", "ary[0]", "ary", "0", "long min = ary[0];", "min", "ary[0]", "ary", "0", "long sum = 0;", "sum", "0", "for(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<times", "i", "times", "i++", "i++", "i", "{\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}", "{\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}", "int v =ary[i];", "v", "ary[i]", "ary", "i", "if(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}", "max > v", "max", "v", "{\n\t\t\t\tmax = v;\n\t\t\t}", "max = v", "max", "v", "if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}", "min < v", "min", "v", "{\n\t\t\t\tmin = v;\n\t\t\t}", "min = v", "min", "v", "sum = sum + v", "sum", "sum + v", "sum", "v", "System.out.println(max +\" \"+ min +\" \"+ sum)", "System.out.println", "System.out", "System", "System.out", "max +\" \"+ min +\" \"+ sum", "\" \"", "min", "max +\" \"+ min +\" \"+ sum", "max", "\" \"", "min", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力\n\t\tint times = sc.nextInt();\n\t\tint[] ary = new int[times];\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\n\t\t//処理\n\t\tlong max = ary[0];\n\t\tlong min = ary[0];\n\t\tlong sum = 0;\n\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}\n\n\t\t//出力\n\t\tSystem.out.println(max +\" \"+ min +\" \"+ sum);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//キーボード入力メソッド\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力\n\t\tint times = sc.nextInt();\n\t\tint[] ary = new int[times];\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tary[i] = sc.nextInt();\n\t\t}\n\n\t\t//処理\n\t\tlong max = ary[0];\n\t\tlong min = ary[0];\n\t\tlong sum = 0;\n\n\t\tfor(int i=0; i<times; i++) {\n\t\t\tint v =ary[i];\n\t\t\tif(max > v) {\n\t\t\t\tmax = v;\n\t\t\t}else if(min < v) {\n\t\t\t\tmin = v;\n\t\t\t}\n\t\t\tsum = sum + v;\n\t\t}\n\n\t\t//出力\n\t\tSystem.out.println(max +\" \"+ min +\" \"+ sum);\n\n\t}\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); //入力 int times = sc.nextInt(); int[] ary = new int[times]; for(int i=0; i<times; i++) { ary[i] = sc.nextInt(); } //処理 long max = ary[0]; long min = ary[0]; long sum = 0; for(int i=0; i<times; i++) { int v =ary[i]; if(max > v) { max = v; }else if(min < v) { min = v; } sum = sum + v; } //出力 System.out.println(max +" "+ min +" "+ sum); } }
[ 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, 41, 13, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 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, 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 ], [ 105, 5 ], [ 105, 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 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 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 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 62, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 62, 85 ], [ 85, 86 ], [ 85, 87 ], [ 49, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 96, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 94, 100 ], [ 96, 101 ], [ 6, 102 ], [ 102, 103 ], [ 0, 104 ], [ 104, 105 ], [ 104, 106 ] ]
[ "import java.io.*;\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\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strs = br.readLine().split(\" \");\n\t\t\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong total = 0;\n\t\tlong num = 0;\n\t\t\n\t\tif (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}\n\t}\n\t\t\n}", "import java.io.*;", "io.*", "java", "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\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strs = br.readLine().split(\" \");\n\t\t\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong total = 0;\n\t\tlong num = 0;\n\t\t\n\t\tif (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}\n\t}\n\t\t\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strs = br.readLine().split(\" \");\n\t\t\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong total = 0;\n\t\tlong num = 0;\n\t\t\n\t\tif (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strs = br.readLine().split(\" \");\n\t\t\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong total = 0;\n\t\tlong num = 0;\n\t\t\n\t\tif (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}\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[] strs = br.readLine().split(\" \");", "strs", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long min = 1000000;", "min", "1000000", "long max = -1000000;", "max", "-1000000", "1000000", "long total = 0;", "total", "0", "long num = 0;", "num", "0", "if (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}", "0 < n && n <= 10000", "0 < n", "0", "n", "n <= 10000", "n", "10000", "{\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}", "for (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += 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(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}", "{\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}", "num = Integer.parseInt(strs[i])", "num", "Integer.parseInt(strs[i])", "Integer.parseInt", "Integer", "strs[i]", "strs", "i", "if (min > num) min = num;", "min > num", "min", "num", "min = num", "min", "num", "if (max < num) max = num;", "max < num", "max", "num", "max = num", "max", "num", "total += num", "total", "num", "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\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strs = br.readLine().split(\" \");\n\t\t\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong total = 0;\n\t\tlong num = 0;\n\t\t\n\t\tif (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}\n\t}\n\t\t\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\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] strs = br.readLine().split(\" \");\n\t\t\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong total = 0;\n\t\tlong num = 0;\n\t\t\n\t\tif (0 < n && n <= 10000) {\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tnum = Integer.parseInt(strs[i]);\n\t\t\t\tif (min > num) min = num;\n\t\t\t\tif (max < num) max = num;\n\t\t\t\ttotal += num;\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t\t}\n\t}\n\t\t\n}", "Main" ]
import java.io.*; 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[] strs = br.readLine().split(" "); long min = 1000000; long max = -1000000; long total = 0; long num = 0; if (0 < n && n <= 10000) { for (int i = 0; i < n; i++) { num = Integer.parseInt(strs[i]); if (min > num) min = num; if (max < num) max = num; total += num; } System.out.println(min + " " + max + " " + total); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 14, 2, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 17, 41, 13, 13, 41, 13, 13, 41, 13, 13, 14, 2, 13, 17, 30, 41, 13, 4, 18, 4, 18, 13, 2, 4, 18, 13, 17, 17, 17, 28, 13, 13, 30, 30, 0, 13, 4, 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 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 27, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 61, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 71, 82 ], [ 68, 83 ], [ 83, 84 ], [ 83, 85 ], [ 83, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 87, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 87, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 105, 107 ], [ 87, 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 Exception {\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint N=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tint num;\n\t\tif(N>1){\n\t num=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t\t}else{\n\t\t\tnum=Integer.parseInt(s.substring(0));\n\t\t}\n int min=num,max=num;\n long sum=num;\n\t\tif(N>1){\n\t String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");\n\t for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }\n\t\t}\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\t\tint N=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tint num;\n\t\tif(N>1){\n\t num=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t\t}else{\n\t\t\tnum=Integer.parseInt(s.substring(0));\n\t\t}\n int min=num,max=num;\n long sum=num;\n\t\tif(N>1){\n\t String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");\n\t for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }\n\t\t}\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\t\tint N=Integer.parseInt(br.readLine());\n\t\tString s=br.readLine();\n\t\tint num;\n\t\tif(N>1){\n\t num=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t\t}else{\n\t\t\tnum=Integer.parseInt(s.substring(0));\n\t\t}\n int min=num,max=num;\n long sum=num;\n\t\tif(N>1){\n\t String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");\n\t for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }\n\t\t}\n System.out.println(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 s=br.readLine();\n\t\tint num;\n\t\tif(N>1){\n\t num=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t\t}else{\n\t\t\tnum=Integer.parseInt(s.substring(0));\n\t\t}\n int min=num,max=num;\n long sum=num;\n\t\tif(N>1){\n\t String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");\n\t for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }\n\t\t}\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 s=br.readLine();", "s", "br.readLine()", "br.readLine", "br", "int num;", "num", "if(N>1){\n\t num=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t\t}else{\n\t\t\tnum=Integer.parseInt(s.substring(0));\n\t\t}", "N>1", "N", "1", "{\n\t num=Integer.parseInt(s.substring(0, s.indexOf(\" \")));\n\t\t}", "num=Integer.parseInt(s.substring(0, s.indexOf(\" \")))", "num", "Integer.parseInt(s.substring(0, s.indexOf(\" \")))", "Integer.parseInt", "Integer", "s.substring(0, s.indexOf(\" \"))", "s.substring", "s", "0", "s.indexOf(\" \")", "s.indexOf", "s", "\" \"", "{\n\t\t\tnum=Integer.parseInt(s.substring(0));\n\t\t}", "num=Integer.parseInt(s.substring(0))", "num", "Integer.parseInt(s.substring(0))", "Integer.parseInt", "Integer", "s.substring(0)", "s.substring", "s", "0", "int min=num", "min", "num", "max=num;", "max", "num", "long sum=num;", "sum", "num", "if(N>1){\n\t String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");\n\t for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }\n\t\t}", "N>1", "N", "1", "{\n\t String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");\n\t for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }\n\t\t}", "String[] a=s.substring(s.indexOf(\" \")+1).split(\" \");", "a", "s.substring(s.indexOf(\" \")+1).split(\" \")", "s.substring(s.indexOf(\" \")+1).split", "s.substring(s.indexOf(\" \")+1)", "s.substring", "s", "s.indexOf(\" \")+1", "s.indexOf(\" \")", "s.indexOf", "s", "\" \"", "1", "\" \"", "for(String n:a){\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }", "String n", "a", "{\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }", "{\n\t \tnum=Integer.parseInt(n);\n\t if(num<min) min=num;\n\t if(num>max) max=num;\n\t sum+=num;\n\t }", "num=Integer.parseInt(n)", "num", "Integer.parseInt(n)", "Integer.parseInt", "Integer", "n", "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 s=br.readLine(); int num; if(N>1){ num=Integer.parseInt(s.substring(0, s.indexOf(" "))); }else{ num=Integer.parseInt(s.substring(0)); } int min=num,max=num; long sum=num; if(N>1){ String[] a=s.substring(s.indexOf(" ")+1).split(" "); for(String n:a){ num=Integer.parseInt(n); if(num<min) min=num; if(num>max) max=num; sum+=num; } } System.out.println(min+" "+max+" "+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, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 13, 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 ]
[ [ 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 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 20, 40 ], [ 40, 41 ], [ 40, 42 ], [ 20, 43 ], [ 43, 44 ], [ 43, 45 ], [ 20, 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 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 58, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 73, 74 ], [ 73, 75 ], [ 20, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 20, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 88, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 87, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 97, 101 ], [ 86, 102 ], [ 88, 103 ], [ 18, 104 ], [ 104, 105 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger num = Integer.parseInt(br.readLine());\n\t\tString[] inNumArrays = br.readLine().split(\" \");\n\t\tlong sum = 0;\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}\n\t\tCollections.sort(numArrayList);\n\t\tSystem.out.println(numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + 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.Collections;", "Collections", "java.util", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger num = Integer.parseInt(br.readLine());\n\t\tString[] inNumArrays = br.readLine().split(\" \");\n\t\tlong sum = 0;\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}\n\t\tCollections.sort(numArrayList);\n\t\tSystem.out.println(numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + 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\tInteger num = Integer.parseInt(br.readLine());\n\t\tString[] inNumArrays = br.readLine().split(\" \");\n\t\tlong sum = 0;\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}\n\t\tCollections.sort(numArrayList);\n\t\tSystem.out.println(numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + sum);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger num = Integer.parseInt(br.readLine());\n\t\tString[] inNumArrays = br.readLine().split(\" \");\n\t\tlong sum = 0;\n\t\tArrayList<Integer> numArrayList = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < num; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}\n\t\tCollections.sort(numArrayList);\n\t\tSystem.out.println(numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + sum);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Integer num = Integer.parseInt(br.readLine());", "num", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] inNumArrays = br.readLine().split(\" \");", "inNumArrays", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long sum = 0;", "sum", "0", "ArrayList<Integer> numArrayList = new ArrayList<Integer>();", "numArrayList", "new ArrayList<Integer>()", "for (int i = 0; i < num; i++) {\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}", "{\n\t\t\tnumArrayList.add(Integer.parseInt(inNumArrays[i]));\n\t\t\tsum += Integer.parseInt(inNumArrays[i]);\n\t\t}", "numArrayList.add(Integer.parseInt(inNumArrays[i]))", "numArrayList.add", "numArrayList", "Integer.parseInt(inNumArrays[i])", "Integer.parseInt", "Integer", "inNumArrays[i]", "inNumArrays", "i", "sum += Integer.parseInt(inNumArrays[i])", "sum", "Integer.parseInt(inNumArrays[i])", "Integer.parseInt", "Integer", "inNumArrays[i]", "inNumArrays", "i", "Collections.sort(numArrayList)", "Collections.sort", "Collections", "numArrayList", "System.out.println(numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + sum", "\" \"", "numArrayList.get(numArrayList.size()-1)", "numArrayList.get(0) + \" \" + numArrayList.get(numArrayList.size()-1) + \" \" + sum", "numArrayList.get(0)", "numArrayList.get", "numArrayList", "0", "\" \"", "numArrayList.get(numArrayList.size()-1)", "numArrayList.get", "numArrayList", "numArrayList.size()-1", "numArrayList.size()", "numArrayList.size", "numArrayList", "1", "\" \"", "sum", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Integer num = Integer.parseInt(br.readLine()); String[] inNumArrays = br.readLine().split(" "); long sum = 0; ArrayList<Integer> numArrayList = new ArrayList<Integer>(); for (int i = 0; i < num; i++) { numArrayList.add(Integer.parseInt(inNumArrays[i])); sum += Integer.parseInt(inNumArrays[i]); } Collections.sort(numArrayList); System.out.println(numArrayList.get(0) + " " + numArrayList.get(numArrayList.size()-1) + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 41, 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, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 17, 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, 14, 2, 2, 13, 13, 2, 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 ], [ 4, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 4, 16 ], [ 16, 17 ], [ 16, 18 ], [ 4, 19 ], [ 19, 20 ], [ 19, 21 ], [ 4, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 24, 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 ], [ 45, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 54, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 73, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 24, 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 ], [ 4, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 116, 122 ], [ 122, 123 ] ]
[ "import java.util.Scanner;\nclass Main{\n int n,i,a;\n int max = -9999999;\n int min = 9999999;\n long sam = 0;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n for(i = 0; i < n; i++){\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == 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,a;\n int max = -9999999;\n int min = 9999999;\n long sam = 0;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n n = sc.nextInt();\n for(i = 0; i < n; i++){\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == 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", "a;", "a", "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 for(i = 0; i < n; i++){\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == 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 for(i = 0; i < n; i++){\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == 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", "for(i = 0; i < n; i++){\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == max){\n continue;\n }\n \n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == max){\n continue;\n }\n \n }", "{\n a = sc.nextInt();\n sam += a;\n if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == max){\n continue;\n }\n \n }", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "sam += a", "sam", "a", "if(n == 0){\n min = 0;\n max = 0;\n }else if(n == 1){\n max = a;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == 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;\n min = a;\n }else if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == max){\n continue;\n }", "n == 1", "n", "1", "{\n max = a;\n min = a;\n }", "max = a", "max", "a", "min = a", "min", "a", "if(a < min){\n min = a;\n }else if(a > max){\n max = a;\n }else if(a == min || a == max){\n continue;\n }", "a < min", "a", "min", "{\n min = a;\n }", "min = a", "min", "a", "if(a > max){\n max = a;\n }else if(a == min || a == max){\n continue;\n }", "a > max", "a", "max", "{\n max = a;\n }", "max = a", "max", "a", "if(a == min || a == max){\n continue;\n }", "a == min || a == max", "a == min", "a", "min", "a == max", "a", "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,a; int max = -9999999; int min = 9999999; long sam = 0; public void solve(){ Scanner sc = new Scanner(System.in); n = sc.nextInt(); for(i = 0; i < n; i++){ a = sc.nextInt(); sam += a; if(n == 0){ min = 0; max = 0; }else if(n == 1){ max = a; min = a; }else if(a < min){ min = a; }else if(a > max){ max = a; }else if(a == min || a == max){ continue; } } System.out.println(min + " " + max + " " + sam); } public static void main(String[] args){ new Main().solve(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 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, 0, 13, 4, 18, 13, 0, 13, 2, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 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 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 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 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 42, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 42, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 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\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\t\n\t\tint a;\n\t\tint max=sc.nextInt();\n\t\tint min=max;\n\t\tlong g=max;\n\t\t\n\t\tfor (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+g);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\t\n\t\tint a;\n\t\tint max=sc.nextInt();\n\t\tint min=max;\n\t\tlong g=max;\n\t\t\n\t\tfor (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+g);\n\t}\n\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\t\n\t\tint a;\n\t\tint max=sc.nextInt();\n\t\tint min=max;\n\t\tlong g=max;\n\t\t\n\t\tfor (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+g);\n\t}", "main", "{\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\t\n\t\tint a;\n\t\tint max=sc.nextInt();\n\t\tint min=max;\n\t\tlong g=max;\n\t\t\n\t\tfor (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+g);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int a;", "a", "int max=sc.nextInt();", "max", "sc.nextInt()", "sc.nextInt", "sc", "int min=max;", "min", "max", "long g=max;", "g", "max", "for (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}", "{\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "g=g+a", "g", "g+a", "g", "a", "if(max<a) max=a;", "max<a", "max", "a", "max=a", "max", "a", "if(min>a) min=a;", "min>a", "min", "a", "min=a", "min", "a", "System.out.println(min+\" \"+max+\" \"+g)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+g", "\" \"", "max", "min+\" \"+max+\" \"+g", "min", "\" \"", "max", "\" \"", "g", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\t\n\t\tint a;\n\t\tint max=sc.nextInt();\n\t\tint min=max;\n\t\tlong g=max;\n\t\t\n\t\tfor (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+g);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\t\n\t\tint a;\n\t\tint max=sc.nextInt();\n\t\tint min=max;\n\t\tlong g=max;\n\t\t\n\t\tfor (int i=1;i<n;i++){\n\t\t\ta=sc.nextInt();\n\t\t\tg=g+a;\n\t\t\tif(max<a) max=a;\n\t\t\tif(min>a) min=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+g);\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 a; int max=sc.nextInt(); int min=max; long g=max; for (int i=1;i<n;i++){ a=sc.nextInt(); g=g+a; if(max<a) max=a; if(min>a) min=a; } System.out.println(min+" "+max+" "+g); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 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, 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 ], [ 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 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 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 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 68, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 68, 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 i=new Scanner(System.in);\n\t\tint n=i.nextInt();\n\t\tint[] a=new int[n+1];\n\t\tfor(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}\n\t\tint min=Integer.MAX_VALUE;\n\t\tint max=Integer.MIN_VALUE;\n\t\tlong gt=0;\n\t\tfor(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+gt);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner i=new Scanner(System.in);\n\t\tint n=i.nextInt();\n\t\tint[] a=new int[n+1];\n\t\tfor(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}\n\t\tint min=Integer.MAX_VALUE;\n\t\tint max=Integer.MIN_VALUE;\n\t\tlong gt=0;\n\t\tfor(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+gt);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner i=new Scanner(System.in);\n\t\tint n=i.nextInt();\n\t\tint[] a=new int[n+1];\n\t\tfor(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}\n\t\tint min=Integer.MAX_VALUE;\n\t\tint max=Integer.MIN_VALUE;\n\t\tlong gt=0;\n\t\tfor(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+gt);\n\t}", "main", "{\n\t\tScanner i=new Scanner(System.in);\n\t\tint n=i.nextInt();\n\t\tint[] a=new int[n+1];\n\t\tfor(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}\n\t\tint min=Integer.MAX_VALUE;\n\t\tint max=Integer.MIN_VALUE;\n\t\tlong gt=0;\n\t\tfor(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+gt);\n\t}", "Scanner i=new Scanner(System.in);", "i", "new Scanner(System.in)", "int n=i.nextInt();", "n", "i.nextInt()", "i.nextInt", "i", "int[] a=new int[n+1];", "a", "new int[n+1]", "n+1", "n", "1", "for(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}", "int s=0;", "int s=0;", "s", "0", "s<n", "s", "n", "s++", "s++", "s", "{\n\t\t\ta[s]=i.nextInt();\n\t\t}", "{\n\t\t\ta[s]=i.nextInt();\n\t\t}", "a[s]=i.nextInt()", "a[s]", "a", "s", "i.nextInt()", "i.nextInt", "i", "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 gt=0;", "gt", "0", "for(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}", "int s=0;", "int s=0;", "s", "0", "s<n", "s", "n", "s++", "s++", "s", "{\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}", "{\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}", "if(min>a[s]){min=a[s];}", "min>a[s]", "min", "a[s]", "a", "s", "{min=a[s];}", "min=a[s]", "min", "a[s]", "a", "s", "if(max<a[s]){max=a[s];}", "max<a[s]", "max", "a[s]", "a", "s", "{max=a[s];}", "max=a[s]", "max", "a[s]", "a", "s", "gt+=a[s]", "gt", "a[s]", "a", "s", "System.out.println(min+\" \"+max+\" \"+gt)", "System.out.println", "System.out", "System", "System.out", "min+\" \"+max+\" \"+gt", "\" \"", "max", "min+\" \"+max+\" \"+gt", "min", "\" \"", "max", "\" \"", "gt", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner i=new Scanner(System.in);\n\t\tint n=i.nextInt();\n\t\tint[] a=new int[n+1];\n\t\tfor(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}\n\t\tint min=Integer.MAX_VALUE;\n\t\tint max=Integer.MIN_VALUE;\n\t\tlong gt=0;\n\t\tfor(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+gt);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner i=new Scanner(System.in);\n\t\tint n=i.nextInt();\n\t\tint[] a=new int[n+1];\n\t\tfor(int s=0;s<n;s++){\n\t\t\ta[s]=i.nextInt();\n\t\t}\n\t\tint min=Integer.MAX_VALUE;\n\t\tint max=Integer.MIN_VALUE;\n\t\tlong gt=0;\n\t\tfor(int s=0;s<n;s++){\n\t\t\tif(min>a[s]){min=a[s];}\n\t\t\tif(max<a[s]){max=a[s];}\n\t\t\tgt+=a[s];\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+gt);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner i=new Scanner(System.in); int n=i.nextInt(); int[] a=new int[n+1]; for(int s=0;s<n;s++){ a[s]=i.nextInt(); } int min=Integer.MAX_VALUE; int max=Integer.MIN_VALUE; long gt=0; for(int s=0;s<n;s++){ if(min>a[s]){min=a[s];} if(max<a[s]){max=a[s];} gt+=a[s]; } System.out.println(min+" "+max+" "+gt); } }
[ 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, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 20, 4, 18, 13, 13, 28, 13, 13, 30, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 104, 17 ], [ 104, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 20, 40 ], [ 40, 41 ], [ 40, 42 ], [ 20, 43 ], [ 43, 44 ], [ 43, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 46, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 20, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 20, 69 ], [ 69, 70 ], [ 69, 71 ], [ 69, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 20, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 85, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 84, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 94, 98 ], [ 83, 99 ], [ 85, 100 ], [ 18, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\n\n\tpublic class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t String line2 = br.readLine();\n\t String[] ary = line2.split(\" \");\n\t long sum = 0;\n\t List<Integer> list = new ArrayList<Integer>();\n\t for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }\n\t Collections.sort(list);\n\t for(Integer item : list) {\n\t sum += item;\n\t }\n\t System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum);\n\t }\n\t}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t String line2 = br.readLine();\n\t String[] ary = line2.split(\" \");\n\t long sum = 0;\n\t List<Integer> list = new ArrayList<Integer>();\n\t for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }\n\t Collections.sort(list);\n\t for(Integer item : list) {\n\t sum += item;\n\t }\n\t System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum);\n\t }\n\t}", "Main", "public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t String line2 = br.readLine();\n\t String[] ary = line2.split(\" \");\n\t long sum = 0;\n\t List<Integer> list = new ArrayList<Integer>();\n\t for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }\n\t Collections.sort(list);\n\t for(Integer item : list) {\n\t sum += item;\n\t }\n\t System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum);\n\t }", "main", "{\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t String line2 = br.readLine();\n\t String[] ary = line2.split(\" \");\n\t long sum = 0;\n\t List<Integer> list = new ArrayList<Integer>();\n\t for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }\n\t Collections.sort(list);\n\t for(Integer item : list) {\n\t sum += item;\n\t }\n\t System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum);\n\t }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String line2 = br.readLine();", "line2", "br.readLine()", "br.readLine", "br", "String[] ary = line2.split(\" \");", "ary", "line2.split(\" \")", "line2.split", "line2", "\" \"", "long sum = 0;", "sum", "0", "List<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }", "int i=0;", "int i=0;", "i", "0", "i < ary.length", "i", "ary.length", "ary", "ary.length", "i++", "i++", "i", "{\n\t list.add(new Integer(ary[i]));\n\t }", "{\n\t list.add(new Integer(ary[i]));\n\t }", "list.add(new Integer(ary[i]))", "list.add", "list", "new Integer(ary[i])", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(Integer item : list) {\n\t sum += item;\n\t }", "Integer item", "list", "{\n\t sum += item;\n\t }", "{\n\t sum += item;\n\t }", "sum += item", "sum", "item", "System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum", "\" \"", "list.get(list.size() - 1)", "list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum", "list.get(0)", "list.get", "list", "0", "\" \"", "list.get(list.size() - 1)", "list.get", "list", "list.size() - 1", "list.size()", "list.size", "list", "1", "\" \"", "sum", "String[] args", "args", "public class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t String line2 = br.readLine();\n\t String[] ary = line2.split(\" \");\n\t long sum = 0;\n\t List<Integer> list = new ArrayList<Integer>();\n\t for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }\n\t Collections.sort(list);\n\t for(Integer item : list) {\n\t sum += item;\n\t }\n\t System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum);\n\t }\n\t}", "public class Main {\n\t public static void main(String[] args) throws Exception {\n\t // Here your code !\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t String line = br.readLine();\n\t String line2 = br.readLine();\n\t String[] ary = line2.split(\" \");\n\t long sum = 0;\n\t List<Integer> list = new ArrayList<Integer>();\n\t for(int i=0;i < ary.length;i++) {\n\t list.add(new Integer(ary[i]));\n\t }\n\t Collections.sort(list);\n\t for(Integer item : list) {\n\t sum += item;\n\t }\n\t System.out.println(list.get(0) + \" \" + list.get(list.size() - 1) + \" \" + sum);\n\t }\n\t}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Main { public static void main(String[] args) throws Exception { // Here your code ! BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String line2 = br.readLine(); String[] ary = line2.split(" "); long sum = 0; List<Integer> list = new ArrayList<Integer>(); for(int i=0;i < ary.length;i++) { list.add(new Integer(ary[i])); } Collections.sort(list); for(Integer item : list) { sum += item; } System.out.println(list.get(0) + " " + list.get(list.size() - 1) + " " + sum); } }
[ 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, 14, 2, 13, 13, 0, 13, 13, 14, 2, 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 ], [ 89, 5 ], [ 89, 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 ], [ 38, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 38, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 69, 70 ], [ 69, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 80, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 80, 85 ], [ 6, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "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\tlong min = 0,max = 0,sum = 0;\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\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+\" \"+sum);\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\tlong min = 0,max = 0,sum = 0;\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\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+\" \"+sum);\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\tlong min = 0,max = 0,sum = 0;\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\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+\" \"+sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong min = 0,max = 0,sum = 0;\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\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+\" \"+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 min = 0", "min", "0", "max = 0", "max", "0", "sum = 0;", "sum", "0", "for(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\n\t\t\tif(min > a)\n\t\t\t\tmin = a;\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\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\n\t\t\tif(min > a)\n\t\t\t\tmin = a;\n\t\t\t\n\t\t}", "{\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\n\t\t\tif(min > a)\n\t\t\t\tmin = a;\n\t\t\t\n\t\t}", "long a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "sum += a", "sum", "a", "if(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}", "min = a", "min", "a", "max = a", "max", "a", "if(max < a)\n\t\t\t\tmax = a;", "max < a", "max", "a", "max = a", "max", "a", "if(min > a)\n\t\t\t\tmin = a;", "min > a", "min", "a", "min = a", "min", "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\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tlong min = 0,max = 0,sum = 0;\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\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+\" \"+sum);\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\tlong min = 0,max = 0,sum = 0;\n\t\t\n\t\tfor(int i = 0;i < N;i++){\n\t\t\tlong a = sc.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t\tif(max < a)\n\t\t\t\tmax = a;\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+\" \"+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 min = 0,max = 0,sum = 0; for(int i = 0;i < N;i++){ long a = sc.nextInt(); sum += a; if(i == 0){ min = a; max = a; } if(max < a) max = a; if(min > a) min = 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, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 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, 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 ], [ 88, 8 ], [ 88, 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 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 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 ], [ 67, 68 ], [ 68, 69 ], [ 67, 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 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.math.BigDecimal;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint n = stdIn.nextInt();\n\t\tint min = stdIn.nextInt();\n\t\tint max = min;\n\t\tBigDecimal sum = new BigDecimal(min);\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint n = stdIn.nextInt();\n\t\tint min = stdIn.nextInt();\n\t\tint max = min;\n\t\tBigDecimal sum = new BigDecimal(min);\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(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 stdIn = new Scanner(System.in);\n\n\t\tint n = stdIn.nextInt();\n\t\tint min = stdIn.nextInt();\n\t\tint max = min;\n\t\tBigDecimal sum = new BigDecimal(min);\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\n\t\tint n = stdIn.nextInt();\n\t\tint min = stdIn.nextInt();\n\t\tint max = min;\n\t\tBigDecimal sum = new BigDecimal(min);\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int min = stdIn.nextInt();", "min", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int max = min;", "max", "min", "BigDecimal sum = new BigDecimal(min);", "sum", "new BigDecimal(min)", "for(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}", "{\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}", "int t = stdIn.nextInt();", "t", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "min = Math.min(min, t)", "min", "Math.min(min, t)", "Math.min", "Math", "min", "t", "max = Math.max(max, t)", "max", "Math.max(max, t)", "Math.max", "Math", "max", "t", "sum = sum.add(new BigDecimal(t))", "sum", "sum.add(new BigDecimal(t))", "sum.add", "sum", "new BigDecimal(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 stdIn = new Scanner(System.in);\n\n\t\tint n = stdIn.nextInt();\n\t\tint min = stdIn.nextInt();\n\t\tint max = min;\n\t\tBigDecimal sum = new BigDecimal(min);\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(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\tScanner stdIn = new Scanner(System.in);\n\n\t\tint n = stdIn.nextInt();\n\t\tint min = stdIn.nextInt();\n\t\tint max = min;\n\t\tBigDecimal sum = new BigDecimal(min);\n\t\tfor(int i=0;i<n-1;i++){\n\t\t\tint t = stdIn.nextInt();\n\t\t\tmin = Math.min(min, t);\n\t\t\tmax = Math.max(max, t);\n\t\t\tsum = sum.add(new BigDecimal(t));\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main" ]
import java.math.BigDecimal; 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 = stdIn.nextInt(); int max = min; BigDecimal sum = new BigDecimal(min); for(int i=0;i<n-1;i++){ int t = stdIn.nextInt(); min = Math.min(min, t); max = Math.max(max, t); sum = sum.add(new BigDecimal(t)); } 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, 4, 18, 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, 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, 30, 0, 13, 18, 13, 13, 14, 2, 18, 13, 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, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 140, 5 ], [ 140, 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 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 26, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 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 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 81, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 113, 114 ], [ 114, 115 ], [ 105, 116 ], [ 117, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 8, 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 ], [ 6, 137 ], [ 137, 138 ], [ 0, 139 ], [ 139, 140 ], [ 139, 141 ] ]
[ "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 count = Integer.parseInt(sc.nextLine());\n\t\tint[] nums = new int[count];\n\t\tString[] lines = sc.nextLine().split(\" \");\n\n\t\tfor(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}\n\t\tint min = nums[0];\n\t\tint max = nums[0];\n\t\tlong sum = 0;\n\t\tfor(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[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\t\tScanner sc = new Scanner(System.in);\n\t\tint count = Integer.parseInt(sc.nextLine());\n\t\tint[] nums = new int[count];\n\t\tString[] lines = sc.nextLine().split(\" \");\n\n\t\tfor(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}\n\t\tint min = nums[0];\n\t\tint max = nums[0];\n\t\tlong sum = 0;\n\t\tfor(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[i];\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 count = Integer.parseInt(sc.nextLine());\n\t\tint[] nums = new int[count];\n\t\tString[] lines = sc.nextLine().split(\" \");\n\n\t\tfor(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}\n\t\tint min = nums[0];\n\t\tint max = nums[0];\n\t\tlong sum = 0;\n\t\tfor(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[i];\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 count = Integer.parseInt(sc.nextLine());\n\t\tint[] nums = new int[count];\n\t\tString[] lines = sc.nextLine().split(\" \");\n\n\t\tfor(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}\n\t\tint min = nums[0];\n\t\tint max = nums[0];\n\t\tlong sum = 0;\n\t\tfor(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[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 count = Integer.parseInt(sc.nextLine());", "count", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "int[] nums = new int[count];", "nums", "new int[count]", "count", "String[] lines = sc.nextLine().split(\" \");", "lines", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}", "{\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}", "nums[i] = Integer.parseInt(lines[i])", "nums[i]", "nums", "i", "Integer.parseInt(lines[i])", "Integer.parseInt", "Integer", "lines[i]", "lines", "i", "int min = nums[0];", "min", "nums[0]", "nums", "0", "int max = nums[0];", "max", "nums[0]", "nums", "0", "long sum = 0;", "sum", "0", "for(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < count", "i", "count", "i++", "i++", "i", "{\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}", "{\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}", "if(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}", "nums[i] < min", "nums[i]", "nums", "i", "min", "{\n\t\t\t\tmin = nums[i];\n\t\t\t}", "min = nums[i]", "min", "nums[i]", "nums", "i", "if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}", "nums[i] > max", "nums[i]", "nums", "i", "max", "{\n\t\t\t\tmax = nums[i];\n\t\t\t}", "max = nums[i]", "max", "nums[i]", "nums", "i", "for(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n\t\t\tsum += nums[i];\n\t\t}", "{\n\t\t\tsum += nums[i];\n\t\t}", "sum += nums[i]", "sum", "nums[i]", "nums", "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 sc = new Scanner(System.in);\n\t\tint count = Integer.parseInt(sc.nextLine());\n\t\tint[] nums = new int[count];\n\t\tString[] lines = sc.nextLine().split(\" \");\n\n\t\tfor(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}\n\t\tint min = nums[0];\n\t\tint max = nums[0];\n\t\tlong sum = 0;\n\t\tfor(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[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\t\tScanner sc = new Scanner(System.in);\n\t\tint count = Integer.parseInt(sc.nextLine());\n\t\tint[] nums = new int[count];\n\t\tString[] lines = sc.nextLine().split(\" \");\n\n\t\tfor(int i = 0;i < count;i++) {\n\t\t\tnums[i] = Integer.parseInt(lines[i]);\n\t\t}\n\t\tint min = nums[0];\n\t\tint max = nums[0];\n\t\tlong sum = 0;\n\t\tfor(int i = 1;i < count ;i++) {\n\t\t\tif(nums[i] < min ) {\n\t\t\t\tmin = nums[i];\n\t\t\t} else if(nums[i] > max) {\n\t\t\t\tmax = nums[i];\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < count ; i++) {\n\t\t\tsum += nums[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 count = Integer.parseInt(sc.nextLine()); int[] nums = new int[count]; String[] lines = sc.nextLine().split(" "); for(int i = 0;i < count;i++) { nums[i] = Integer.parseInt(lines[i]); } int min = nums[0]; int max = nums[0]; long sum = 0; for(int i = 1;i < count ;i++) { if(nums[i] < min ) { min = nums[i]; } else if(nums[i] > max) { max = nums[i]; } } for(int i = 0; i < count ; i++) { sum += nums[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, 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, 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 ], [ 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 ], [ 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 ], [ 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 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 64, 70 ], [ 64, 71 ], [ 64, 72 ], [ 6, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \n\t\tint n = sc.nextInt();\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong total = 0;\n\t\t\n\t\tfor (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \n\t\tint n = sc.nextInt();\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong total = 0;\n\t\t\n\t\tfor (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \n\t\tint n = sc.nextInt();\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong total = 0;\n\t\t\n\t\tfor (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t \n\t\tint n = sc.nextInt();\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong total = 0;\n\t\t\n\t\tfor (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\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 = -1000000;", "max", "-1000000", "1000000", "int min = 1000000;", "min", "1000000", "long total = 0;", "total", "0", "for (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}", "{\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}", "int temp = sc.nextInt();", "temp", "sc.nextInt()", "sc.nextInt", "sc", "if (temp > max){ max = temp;}", "temp > max", "temp", "max", "{ max = temp;}", "max = temp", "max", "temp", "if (temp < min){ min = temp;}", "temp < min", "temp", "min", "{ min = temp;}", "min = temp", "min", "temp", "total += temp", "total", "temp", "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", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \n\t\tint n = sc.nextInt();\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong total = 0;\n\t\t\n\t\tfor (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \n\t\tint n = sc.nextInt();\n\t\tint max = -1000000;\n\t\tint min = 1000000;\n\t\tlong total = 0;\n\t\t\n\t\tfor (int i = 0; i < n; i++){\n\t\t\tint temp = sc.nextInt();\n\t\t\tif (temp > max){ max = temp;}\n\t\t\tif (temp < min){ min = temp;}\n\t\t\ttotal += temp;\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, total);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int max = -1000000; int min = 1000000; long total = 0; for (int i = 0; i < n; i++){ int temp = sc.nextInt(); if (temp > max){ max = temp;} if (temp < min){ min = temp;} total += temp; } System.out.printf("%d %d %d\n", min, max, total); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 93, 14 ], [ 93, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 17, 33 ], [ 33, 34 ], [ 33, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 17, 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 ], [ 63, 65 ], [ 53, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 53, 73 ], [ 73, 74 ], [ 73, 75 ], [ 17, 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 ], [ 15, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nimport java.math.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n,max=-1000001,min=1000001;\n\t\tlong sum=0;\n\t\tn=stdIn.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "import java.math.*;", "math.*", "java", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n,max=-1000001,min=1000001;\n\t\tlong sum=0;\n\t\tn=stdIn.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n,max=-1000001,min=1000001;\n\t\tlong sum=0;\n\t\tn=stdIn.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "main", "{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n,max=-1000001,min=1000001;\n\t\tlong sum=0;\n\t\tn=stdIn.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}", "Scanner stdIn=new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n", "n", "max=-1000001", "max", "-1000001", "1000001", "min=1000001;", "min", "1000001", "long sum=0;", "sum", "0", "n=stdIn.nextInt()", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}", "{\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}", "int a=stdIn.nextInt();", "a", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "if(a>max)\n\t\t\t\tmax=a;", "a>max", "a", "max", "max=a", "max", "a", "if(a<min)\n\t\t\t\tmin=a;", "a<min", "a", "min", "min=a", "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", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n,max=-1000001,min=1000001;\n\t\tlong sum=0;\n\t\tn=stdIn.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}\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\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n,max=-1000001,min=1000001;\n\t\tlong sum=0;\n\t\tn=stdIn.nextInt();\n\t\tfor(int i=0;i<n;i++){\n\t\t\tint a=stdIn.nextInt();\n\t\t\tif(a>max)\n\t\t\t\tmax=a;\n\t\t\tif(a<min)\n\t\t\t\tmin=a;\n\t\t\tsum+=a;\n\t\t}\n\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.*; import java.math.*; public class Main{ public static void main(String[] args) throws IOException{ Scanner stdIn=new Scanner(System.in); BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n,max=-1000001,min=1000001; long sum=0; n=stdIn.nextInt(); for(int i=0;i<n;i++){ int a=stdIn.nextInt(); if(a>max) max=a; if(a<min) min=a; sum+=a; } 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, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 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, 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 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 59, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 59, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 59, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 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 ], [ 6, 101 ], [ 101, 102 ] ]
[ "import java.io.*;\n\nclass Main{\n public static void main (String[ ] args) throws Exception{\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n int cnt = Integer.parseInt(str);\n\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n str = br.readLine();\n String[] strArr = str.split(\" \");\n for(int loop = 0; loop < cnt; loop++)\n {\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.io.*;", "io.*", "java", "class Main{\n public static void main (String[ ] args) throws Exception{\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n int cnt = Integer.parseInt(str);\n\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n str = br.readLine();\n String[] strArr = str.split(\" \");\n for(int loop = 0; loop < cnt; loop++)\n {\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main (String[ ] args) throws Exception{\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n int cnt = Integer.parseInt(str);\n\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n str = br.readLine();\n String[] strArr = str.split(\" \");\n for(int loop = 0; loop < cnt; loop++)\n {\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n BufferedReader br = new BufferedReader (new InputStreamReader (System.in));\n \n String str = br.readLine();\n int cnt = Integer.parseInt(str);\n\n int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE;\n long sum = 0;\n str = br.readLine();\n String[] strArr = str.split(\" \");\n for(int loop = 0; loop < cnt; loop++)\n {\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }\n \n System.out.println(min + \" \" + max + \" \" + sum);\n }", "BufferedReader br = new BufferedReader (new InputStreamReader (System.in));", "br", "new BufferedReader (new InputStreamReader (System.in))", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int cnt = Integer.parseInt(str);", "cnt", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "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", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "String[] strArr = str.split(\" \");", "strArr", "str.split(\" \")", "str.split", "str", "\" \"", "for(int loop = 0; loop < cnt; loop++)\n {\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }", "int loop = 0;", "int loop = 0;", "loop", "0", "loop < cnt", "loop", "cnt", "loop++", "loop++", "loop", "{\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }", "{\n int i = Integer.parseInt(strArr[loop]);\n if(i < min)\n {\n min = i;\n }\n if(i > max)\n {\n max = i;\n }\n sum += i;\n }", "int i = Integer.parseInt(strArr[loop]);", "i", "Integer.parseInt(strArr[loop])", "Integer.parseInt", "Integer", "strArr[loop]", "strArr", "loop", "if(i < min)\n {\n min = i;\n }", "i < min", "i", "min", "{\n min = i;\n }", "min = i", "min", "i", "if(i > max)\n {\n max = i;\n }", "i > max", "i", "max", "{\n max = i;\n }", "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", "String[ ] args", "args" ]
import java.io.*; class Main{ public static void main (String[ ] args) throws Exception{ BufferedReader br = new BufferedReader (new InputStreamReader (System.in)); String str = br.readLine(); int cnt = Integer.parseInt(str); int min = Integer.MAX_VALUE, max = Integer.MIN_VALUE; long sum = 0; str = br.readLine(); String[] strArr = str.split(" "); for(int loop = 0; loop < cnt; loop++) { int i = Integer.parseInt(strArr[loop]); if(i < min) { min = i; } if(i > max) { max = i; } sum += i; } 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, 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, 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 ], [ 110, 11 ], [ 110, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 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 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 65, 90 ], [ 90, 91 ], [ 90, 92 ], [ 14, 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 ], [ 12, 107 ], [ 107, 108 ], [ 0, 109 ], [ 109, 110 ], [ 109, 111 ] ]
[ "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[] inputNum = br.readLine().split(\" \");\n\t\tint minNum = Integer.parseInt(inputNum[0]);\n\t\tint maxNum = Integer.parseInt(inputNum[0]);\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}\n\n\t\tSystem.out.println(minNum + \" \" + maxNum + \" \" + total);\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[] inputNum = br.readLine().split(\" \");\n\t\tint minNum = Integer.parseInt(inputNum[0]);\n\t\tint maxNum = Integer.parseInt(inputNum[0]);\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}\n\n\t\tSystem.out.println(minNum + \" \" + maxNum + \" \" + total);\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[] inputNum = br.readLine().split(\" \");\n\t\tint minNum = Integer.parseInt(inputNum[0]);\n\t\tint maxNum = Integer.parseInt(inputNum[0]);\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}\n\n\t\tSystem.out.println(minNum + \" \" + maxNum + \" \" + total);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString[] inputNum = br.readLine().split(\" \");\n\t\tint minNum = Integer.parseInt(inputNum[0]);\n\t\tint maxNum = Integer.parseInt(inputNum[0]);\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}\n\n\t\tSystem.out.println(minNum + \" \" + maxNum + \" \" + total);\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[] inputNum = br.readLine().split(\" \");", "inputNum", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int minNum = Integer.parseInt(inputNum[0]);", "minNum", "Integer.parseInt(inputNum[0])", "Integer.parseInt", "Integer", "inputNum[0]", "inputNum", "0", "int maxNum = Integer.parseInt(inputNum[0]);", "maxNum", "Integer.parseInt(inputNum[0])", "Integer.parseInt", "Integer", "inputNum[0]", "inputNum", "0", "long total = 0;", "total", "0", "for (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += 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(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}", "{\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}", "int num = Integer.parseInt(inputNum[i]);", "num", "Integer.parseInt(inputNum[i])", "Integer.parseInt", "Integer", "inputNum[i]", "inputNum", "i", "if (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}", "num < minNum", "num", "minNum", "{\n\t\t\t\t minNum = num;\n\t\t\t}", "minNum = num", "minNum", "num", "if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}", "maxNum < num", "maxNum", "num", "{\n\t\t\t\tmaxNum = num;\n\t\t\t}", "maxNum = num", "maxNum", "num", "total += num", "total", "num", "System.out.println(minNum + \" \" + maxNum + \" \" + total)", "System.out.println", "System.out", "System", "System.out", "minNum + \" \" + maxNum + \" \" + total", "\" \"", "maxNum", "minNum + \" \" + maxNum + \" \" + total", "minNum", "\" \"", "maxNum", "\" \"", "total", "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[] inputNum = br.readLine().split(\" \");\n\t\tint minNum = Integer.parseInt(inputNum[0]);\n\t\tint maxNum = Integer.parseInt(inputNum[0]);\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}\n\n\t\tSystem.out.println(minNum + \" \" + maxNum + \" \" + total);\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[] inputNum = br.readLine().split(\" \");\n\t\tint minNum = Integer.parseInt(inputNum[0]);\n\t\tint maxNum = Integer.parseInt(inputNum[0]);\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint num = Integer.parseInt(inputNum[i]);\n\t\t\tif (num < minNum) {\n\t\t\t\t minNum = num;\n\t\t\t}else if (maxNum < num) {\n\t\t\t\tmaxNum = num;\n\t\t\t}\n\t\t\ttotal += num;\n\t\t}\n\n\t\tSystem.out.println(minNum + \" \" + maxNum + \" \" + total);\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[] inputNum = br.readLine().split(" "); int minNum = Integer.parseInt(inputNum[0]); int maxNum = Integer.parseInt(inputNum[0]); long total = 0; for (int i = 0; i < n; i++) { int num = Integer.parseInt(inputNum[i]); if (num < minNum) { minNum = num; }else if (maxNum < num) { maxNum = num; } total += num; } System.out.println(minNum + " " + maxNum + " " + total); } }
[ 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, 0, 13, 4, 18, 13, 41, 13, 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, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 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, 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 ], [ 138, 8 ], [ 138, 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 ], [ 28, 29 ], [ 29, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 11, 37 ], [ 37, 38 ], [ 37, 39 ], [ 11, 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 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 11, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 11, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 11, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 11, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 79, 90 ], [ 91, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 97, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 11, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 129, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 127, 133 ], [ 129, 134 ], [ 9, 135 ], [ 135, 136 ], [ 0, 137 ], [ 137, 138 ], [ 137, 139 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\tint kazu = Integer.parseInt(line);\n\t\tline = br.readLine();\n\n\t\tString[] keisanStr = line.split(\"[\\\\s]+\");\n\t\tint[] keisanInt = new int[kazu];\n\t\tfor (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}\n\n\t\tint min = keisanInt[0];\n\t\tint max = keisanInt[0];\n\t\tlong sum = keisanInt[0];\n\n\t\tfor (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\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\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\tint kazu = Integer.parseInt(line);\n\t\tline = br.readLine();\n\n\t\tString[] keisanStr = line.split(\"[\\\\s]+\");\n\t\tint[] keisanInt = new int[kazu];\n\t\tfor (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}\n\n\t\tint min = keisanInt[0];\n\t\tint max = keisanInt[0];\n\t\tlong sum = keisanInt[0];\n\n\t\tfor (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\tint kazu = Integer.parseInt(line);\n\t\tline = br.readLine();\n\n\t\tString[] keisanStr = line.split(\"[\\\\s]+\");\n\t\tint[] keisanInt = new int[kazu];\n\t\tfor (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}\n\n\t\tint min = keisanInt[0];\n\t\tint max = keisanInt[0];\n\t\tlong sum = keisanInt[0];\n\n\t\tfor (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\tint kazu = Integer.parseInt(line);\n\t\tline = br.readLine();\n\n\t\tString[] keisanStr = line.split(\"[\\\\s]+\");\n\t\tint[] keisanInt = new int[kazu];\n\t\tfor (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}\n\n\t\tint min = keisanInt[0];\n\t\tint max = keisanInt[0];\n\t\tlong sum = keisanInt[0];\n\n\t\tfor (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int kazu = Integer.parseInt(line);", "kazu", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "line = br.readLine()", "line", "br.readLine()", "br.readLine", "br", "String[] keisanStr = line.split(\"[\\\\s]+\");", "keisanStr", "line.split(\"[\\\\s]+\")", "line.split", "line", "\"[\\\\s]+\"", "int[] keisanInt = new int[kazu];", "keisanInt", "new int[kazu]", "kazu", "for (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < kazu", "i", "kazu", "i++", "i++", "i", "{\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}", "{\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}", "keisanInt[i] = Integer.parseInt(keisanStr[i])", "keisanInt[i]", "keisanInt", "i", "Integer.parseInt(keisanStr[i])", "Integer.parseInt", "Integer", "keisanStr[i]", "keisanStr", "i", "int min = keisanInt[0];", "min", "keisanInt[0]", "keisanInt", "0", "int max = keisanInt[0];", "max", "keisanInt[0]", "keisanInt", "0", "long sum = keisanInt[0];", "sum", "keisanInt[0]", "keisanInt", "0", "for (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}", "int q = 1;", "int q = 1;", "q", "1", "q < kazu", "q", "kazu", "q++", "q++", "q", "{\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}", "{\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}", "sum += keisanInt[q]", "sum", "keisanInt[q]", "keisanInt", "q", "if (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}", "min > keisanInt[q]", "min", "keisanInt[q]", "keisanInt", "q", "{\n\t\t\t\tmin = keisanInt[q];\n\t\t\t}", "min = keisanInt[q]", "min", "keisanInt[q]", "keisanInt", "q", "if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}", "max < keisanInt[q]", "max", "keisanInt[q]", "keisanInt", "q", "{\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}", "max = keisanInt[q]", "max", "keisanInt[q]", "keisanInt", "q", "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) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\tint kazu = Integer.parseInt(line);\n\t\tline = br.readLine();\n\n\t\tString[] keisanStr = line.split(\"[\\\\s]+\");\n\t\tint[] keisanInt = new int[kazu];\n\t\tfor (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}\n\n\t\tint min = keisanInt[0];\n\t\tint max = keisanInt[0];\n\t\tlong sum = keisanInt[0];\n\n\t\tfor (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\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) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = br.readLine();\n\n\t\tint kazu = Integer.parseInt(line);\n\t\tline = br.readLine();\n\n\t\tString[] keisanStr = line.split(\"[\\\\s]+\");\n\t\tint[] keisanInt = new int[kazu];\n\t\tfor (int i = 0; i < kazu; i++) {\n\t\t\tkeisanInt[i] = Integer.parseInt(keisanStr[i]);\n\t\t\t// System.out.println(keisanInt[i]);\n\t\t}\n\n\t\tint min = keisanInt[0];\n\t\tint max = keisanInt[0];\n\t\tlong sum = keisanInt[0];\n\n\t\tfor (int q = 1; q < kazu; q++) {\n\t\t\tsum += keisanInt[q];\n\n\t\t\tif (min > keisanInt[q]) {\n\t\t\t\tmin = keisanInt[q];\n\t\t\t} else if (max < keisanInt[q]) {\n\t\t\t\tmax = keisanInt[q];\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // TODO ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int kazu = Integer.parseInt(line); line = br.readLine(); String[] keisanStr = line.split("[\\s]+"); int[] keisanInt = new int[kazu]; for (int i = 0; i < kazu; i++) { keisanInt[i] = Integer.parseInt(keisanStr[i]); // System.out.println(keisanInt[i]); } int min = keisanInt[0]; int max = keisanInt[0]; long sum = keisanInt[0]; for (int q = 1; q < kazu; q++) { sum += keisanInt[q]; if (min > keisanInt[q]) { min = keisanInt[q]; } else if (max < keisanInt[q]) { max = keisanInt[q]; } } 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, 0, 13, 40, 17, 0, 13, 17, 0, 13, 17, 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, 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 ], [ 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 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 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 ], [ 55, 57 ], [ 45, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 45, 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 ], [ 94, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 82, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tvoid minmaxsum(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i = s.nextInt();\n\t\tlong max,min,sum;\n\t\tmax = -1000001;\n\t\tmin = 1000001;\n\t\tsum = 0;\n\t\tfor(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.minmaxsum();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid minmaxsum(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i = s.nextInt();\n\t\tlong max,min,sum;\n\t\tmax = -1000001;\n\t\tmin = 1000001;\n\t\tsum = 0;\n\t\tfor(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.minmaxsum();\n\t}\n}", "Main", "void minmaxsum(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i = s.nextInt();\n\t\tlong max,min,sum;\n\t\tmax = -1000001;\n\t\tmin = 1000001;\n\t\tsum = 0;\n\t\tfor(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "minmaxsum", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint i = s.nextInt();\n\t\tlong max,min,sum;\n\t\tmax = -1000001;\n\t\tmin = 1000001;\n\t\tsum = 0;\n\t\tfor(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int i = s.nextInt();", "i", "s.nextInt()", "s.nextInt", "s", "long max", "max", "min", "min", "sum;", "sum", "max = -1000001", "max", "-1000001", "1000001", "min = 1000001", "min", "1000001", "sum = 0", "sum", "0", "for(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < i", "j", "i", "j++", "j++", "j", "{\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}", "{\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}", "int tmp = s.nextInt();", "tmp", "s.nextInt()", "s.nextInt", "s", "if(max < tmp)max = tmp;", "max < tmp", "max", "tmp", "max = tmp", "max", "tmp", "if(min > tmp)min = tmp;", "min > tmp", "min", "tmp", "min = tmp", "min", "tmp", "sum+=tmp", "sum", "tmp", "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 m = new Main();\n\t\tm.minmaxsum();\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.minmaxsum();\n\t}", "Main m = new Main();", "m", "new Main()", "m.minmaxsum()", "m.minmaxsum", "m", "String args[]", "args", "public class Main {\n\tvoid minmaxsum(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i = s.nextInt();\n\t\tlong max,min,sum;\n\t\tmax = -1000001;\n\t\tmin = 1000001;\n\t\tsum = 0;\n\t\tfor(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.minmaxsum();\n\t}\n}", "public class Main {\n\tvoid minmaxsum(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i = s.nextInt();\n\t\tlong max,min,sum;\n\t\tmax = -1000001;\n\t\tmin = 1000001;\n\t\tsum = 0;\n\t\tfor(int j = 0;j < i;j++){\n\t\t\tint tmp = s.nextInt();\n\t\t\tif(max < tmp)max = tmp;\n\t\t\tif(min > tmp)min = tmp;\n\t\t\tsum+=tmp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.minmaxsum();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { void minmaxsum(){ Scanner s = new Scanner(System.in); int i = s.nextInt(); long max,min,sum; max = -1000001; min = 1000001; sum = 0; for(int j = 0;j < i;j++){ int tmp = s.nextInt(); if(max < tmp)max = tmp; if(min > tmp)min = tmp; sum+=tmp; } System.out.println(min + " " + max + " " + sum); } public static void main(String args[]){ Main m = new Main(); m.minmaxsum(); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 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, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 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 ], [ 86, 5 ], [ 86, 6 ], [ 6, 7 ], [ 6, 8 ], [ 86, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 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 ], [ 38, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 38, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 11, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 74, 80 ], [ 74, 81 ], [ 74, 82 ], [ 9, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\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\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "Main", "private static final Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "main", "{\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\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\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t}", "{\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "sum += a", "sum", "a", "if(i == 0){\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tmin = a;\n\t\t\t\tmax = a;\n\t\t\t}", "min = a", "min", "a", "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", "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", "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\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n}", "public class Main{\n\tprivate static final Scanner scan = new Scanner(System.in);\n\n\tpublic static void main(String[] args){\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\tsum += a;\n\t\t\tif(i == 0){\n\t\t\t\tmin = 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\tif(max < a){\n\t\t\t\tmax = a;\n\t\t\t}\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{ private static final Scanner scan = new Scanner(System.in); public static void main(String[] args){ int n = scan.nextInt(); int min = 0; int max = 0; long sum = 0; for(int i = 0; i < n; i++){ int a = scan.nextInt(); sum += a; if(i == 0){ min = a; max = a; } if(min > a){ min = a; } if(max < a){ max = a; } } System.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, 41, 13, 4, 18, 13, 13, 41, 13, 41, 13, 41, 13, 0, 13, 17, 0, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 0, 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, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 111, 5 ], [ 111, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 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 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 52, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 52, 64 ], [ 64, 65 ], [ 64, 66 ], [ 52, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 67, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 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 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str1 = in.nextLine();\n String str2;\n int num1 = Integer.parseInt(str1);\n int num2, max, min;\n max = 0;\n min = 0;\n long sum = 0;\n \n for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }\n System.out.println(min +\" \"+ max +\" \"+ sum);\n \n }\n \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str1 = in.nextLine();\n String str2;\n int num1 = Integer.parseInt(str1);\n int num2, max, min;\n max = 0;\n min = 0;\n long sum = 0;\n \n for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }\n System.out.println(min +\" \"+ max +\" \"+ sum);\n \n }\n \n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str1 = in.nextLine();\n String str2;\n int num1 = Integer.parseInt(str1);\n int num2, max, min;\n max = 0;\n min = 0;\n long sum = 0;\n \n for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }\n System.out.println(min +\" \"+ max +\" \"+ sum);\n \n }", "main", "{\n Scanner in = new Scanner(System.in);\n String str1 = in.nextLine();\n String str2;\n int num1 = Integer.parseInt(str1);\n int num2, max, min;\n max = 0;\n min = 0;\n long sum = 0;\n \n for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }\n System.out.println(min +\" \"+ max +\" \"+ sum);\n \n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "String str1 = in.nextLine();", "str1", "in.nextLine()", "in.nextLine", "in", "String str2;", "str2", "int num1 = Integer.parseInt(str1);", "num1", "Integer.parseInt(str1)", "Integer.parseInt", "Integer", "str1", "int num2", "num2", "max", "max", "min;", "min", "max = 0", "max", "0", "min = 0", "min", "0", "long sum = 0;", "sum", "0", "for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }", "int i=0;", "int i=0;", "i", "0", "i<num1", "i", "num1", "i++", "i++", "i", "{\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }", "{\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }", "str2 = in.next()", "str2", "in.next()", "in.next", "in", "num2 = Integer.parseInt(str2)", "num2", "Integer.parseInt(str2)", "Integer.parseInt", "Integer", "str2", "sum += num2", "sum", "num2", "if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}", "i == 0", "i", "0", "{\n max = num2;\n min = num2;\n }", "max = num2", "max", "num2", "min = num2", "min", "num2", "if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}", "num2 > max", "num2", "max", "{max = num2;}", "max = num2", "max", "num2", "if (num2 < min){min = num2;}", "num2 < min", "num2", "min", "{min = num2;}", "min = num2", "min", "num2", "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 \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str1 = in.nextLine();\n String str2;\n int num1 = Integer.parseInt(str1);\n int num2, max, min;\n max = 0;\n min = 0;\n long sum = 0;\n \n for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }\n System.out.println(min +\" \"+ max +\" \"+ sum);\n \n }\n \n}", "public class Main {\n\n \n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n String str1 = in.nextLine();\n String str2;\n int num1 = Integer.parseInt(str1);\n int num2, max, min;\n max = 0;\n min = 0;\n long sum = 0;\n \n for (int i=0; i<num1; i++)\n {\n str2 = in.next();\n num2 = Integer.parseInt(str2);\n sum += num2;\n if (i == 0)\n {\n max = num2;\n min = num2;\n }else\n if (num2 > max){max = num2;}else\n if (num2 < min){min = num2;}\n }\n System.out.println(min +\" \"+ max +\" \"+ sum);\n \n }\n \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); String str1 = in.nextLine(); String str2; int num1 = Integer.parseInt(str1); int num2, max, min; max = 0; min = 0; long sum = 0; for (int i=0; i<num1; i++) { str2 = in.next(); num2 = Integer.parseInt(str2); sum += num2; if (i == 0) { max = num2; min = num2; }else if (num2 > max){max = num2;}else if (num2 < min){min = num2;} } 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, 17, 41, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 41, 13, 13, 11, 1, 0, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 13, 2, 13, 13, 41, 13, 17, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 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 ], [ 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 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 48, 59 ], [ 59, 60 ], [ 59, 61 ], [ 48, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 64, 68 ], [ 48, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 71, 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 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint j = 0;\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint min = b;\n int max = b;\n long sum = b;\n \n\t\tfor(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}\n\t\tSystem.out.println(min + \" \" +max+ \" \" +sum);\n\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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint j = 0;\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint min = b;\n int max = b;\n long sum = b;\n \n\t\tfor(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}\n\t\tSystem.out.println(min + \" \" +max+ \" \" +sum);\n\t}\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\t\n\t\tint j = 0;\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint min = b;\n int max = b;\n long sum = b;\n \n\t\tfor(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\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 n = sc.nextInt();\n\t\t\n\t\tint j = 0;\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint min = b;\n int max = b;\n long sum = b;\n \n\t\tfor(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\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", "int j = 0;", "j", "0", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int min = b;", "min", "b", "int max = b;", "max", "b", "long sum = b;", "sum", "b", "for(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}", "j=0;", "j=0", "j", "0", "j<n-1", "j", "n-1", "n", "1", "j++", "j++", "j", "{\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}", "{\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "sum =sum+a", "sum", "sum+a", "sum", "a", "int i = 0;", "i", "0", "min = Math.min(min,a)", "min", "Math.min(min,a)", "Math.min", "Math", "min", "a", "max = Math.max(max,a)", "max", "Math.max(max,a)", "Math.max", "Math", "max", "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\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\t\n\t\tint j = 0;\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint min = b;\n int max = b;\n long sum = b;\n \n\t\tfor(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}\n\t\tSystem.out.println(min + \" \" +max+ \" \" +sum);\n\t}\n\t\n\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\t\n\t\tint j = 0;\n\t\tint b = sc.nextInt();\n\t\t\n\t\tint min = b;\n int max = b;\n long sum = b;\n \n\t\tfor(j=0;j<n-1;j++){\n\t\t\tint a = sc.nextInt();\n\t\t\t\n\t\t\t sum =sum+a;\n\t\t\t \n\t\tint i = 0;\n\n\t\t min = Math.min(min,a);\n\t\t max = Math.max(max,a); \t\n\n\t\t}\n\t\tSystem.out.println(min + \" \" +max+ \" \" +sum);\n\t}\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 j = 0; int b = sc.nextInt(); int min = b; int max = b; long sum = b; for(j=0;j<n-1;j++){ int a = sc.nextInt(); sum =sum+a; int i = 0; min = Math.min(min,a); max = Math.max(max,a); } 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, 41, 13, 17, 41, 13, 40, 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, 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 ], [ 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 ], [ 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 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 43, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 43, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 43, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 70, 76 ], [ 76, 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 ] ]
[ "import java.util.Scanner;\n \nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a[] = new int[n];\n long sum = 0;\n int min = 1000000;\n int max = -1000000;\n for(int x = 0; x < n; x++){\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\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 args[]){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int a[] = new int[n];\n long sum = 0;\n int min = 1000000;\n int max = -1000000;\n for(int x = 0; x < n; x++){\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\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 a[] = new int[n];\n long sum = 0;\n int min = 1000000;\n int max = -1000000;\n for(int x = 0; x < n; x++){\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\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 a[] = new int[n];\n long sum = 0;\n int min = 1000000;\n int max = -1000000;\n for(int x = 0; x < n; x++){\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\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 a[] = new int[n];", "a", "new int[n]", "n", "long sum = 0;", "sum", "0", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "for(int x = 0; x < n; x++){\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\n }\n }", "int x = 0;", "int x = 0;", "x", "0", "x < n", "x", "n", "x++", "x++", "x", "{\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\n }\n }", "{\n a[x] = sc.nextInt();\n sum = sum + a[x];\n if(min > a[x]){\n min = a[x];\n }\n if(max < a[x]){\n max = a[x];\n }\n }", "a[x] = sc.nextInt()", "a[x]", "a", "x", "sc.nextInt()", "sc.nextInt", "sc", "sum = sum + a[x]", "sum", "sum + a[x]", "sum", "a[x]", "a", "x", "if(min > a[x]){\n min = a[x];\n }", "min > a[x]", "min", "a[x]", "a", "x", "{\n min = a[x];\n }", "min = a[x]", "min", "a[x]", "a", "x", "if(max < a[x]){\n max = a[x];\n }", "max < a[x]", "max", "a[x]", "a", "x", "{\n max = a[x];\n }", "max = a[x]", "max", "a[x]", "a", "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", "String args[]", "args" ]
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int a[] = new int[n]; long sum = 0; int min = 1000000; int max = -1000000; for(int x = 0; x < n; x++){ a[x] = sc.nextInt(); sum = sum + a[x]; if(min > a[x]){ min = a[x]; } if(max < a[x]){ max = a[x]; } } 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, 20, 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, 18, 13, 17, 11, 1, 41, 13, 17, 2, 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, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 4, 18, 4, 18, 4, 18, 4, 18, 4, 18, 13, 13, 17, 13, 17, 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 ], [ 142, 11 ], [ 142, 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 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 31, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 14, 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 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 14, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 14, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 14, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 14, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 79, 90 ], [ 91, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 91, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 91, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 14, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 128, 134 ], [ 126, 135 ], [ 124, 136 ], [ 122, 137 ], [ 120, 138 ], [ 12, 139 ], [ 139, 140 ], [ 0, 141 ], [ 141, 142 ], [ 141, 143 ] ]
[ "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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\t\tlong[] num = new long[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}\n\n\t\tlong min = num[0];\n\t\tlong max = num[0];\n\t\tlong sum = num[0];\n for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }\n System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"));\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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\t\tlong[] num = new long[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}\n\n\t\tlong min = num[0];\n\t\tlong max = num[0];\n\t\tlong sum = num[0];\n for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }\n System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"));\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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\t\tlong[] num = new long[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}\n\n\t\tlong min = num[0];\n\t\tlong max = num[0];\n\t\tlong sum = num[0];\n for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }\n System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"));\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\t\tlong[] num = new long[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}\n\n\t\tlong min = num[0];\n\t\tlong max = num[0];\n\t\tlong sum = num[0];\n for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }\n System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"));\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", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String[] set = br.readLine().split(\" \");", "set", "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\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}", "{\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}", "num[i] = Long.parseLong(set[i])", "num[i]", "num", "i", "Long.parseLong(set[i])", "Long.parseLong", "Long", "set[i]", "set", "i", "long min = num[0];", "min", "num[0]", "num", "0", "long max = num[0];", "max", "num[0]", "num", "0", "long sum = num[0];", "sum", "num[0]", "num", "0", "for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }", "int index = 1;", "int index = 1;", "index", "1", "index < N", "index", "N", "index++", "index++", "index", "{\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }", "{\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }", "min = Math.min(min, num[index])", "min", "Math.min(min, num[index])", "Math.min", "Math", "min", "num[index]", "num", "index", "max = Math.max(max, num[index])", "max", "Math.max(max, num[index])", "Math.max", "Math", "max", "num[index]", "num", "index", "sum += num[index]", "sum", "num[index]", "num", "index", "System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"))", "System.out.print", "System.out", "System", "System.out", "sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\")", "sb.append(min).append(\" \").append(max).append(\" \").append(sum).append", "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", "\"\\n\"", "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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\t\tlong[] num = new long[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}\n\n\t\tlong min = num[0];\n\t\tlong max = num[0];\n\t\tlong sum = num[0];\n for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }\n System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"));\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\tStringBuilder sb = new StringBuilder();\n\n\t\tString[] set = br.readLine().split(\" \");\n\t\tlong[] num = new long[N];\n\n\t\tfor(int i = 0; i < N; i++){\n\t\t\tnum[i] = Long.parseLong(set[i]);\n\t\t}\n\n\t\tlong min = num[0];\n\t\tlong max = num[0];\n\t\tlong sum = num[0];\n for (int index = 1; index < N; index++) {\n min = Math.min(min, num[index]);\n max = Math.max(max, num[index]);\n sum += num[index];\n }\n System.out.print(sb.append(min).append(\" \").append(max).append(\" \").append(sum).append(\"\\n\"));\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()); StringBuilder sb = new StringBuilder(); String[] set = br.readLine().split(" "); long[] num = new long[N]; for(int i = 0; i < N; i++){ num[i] = Long.parseLong(set[i]); } long min = num[0]; long max = num[0]; long sum = num[0]; for (int index = 1; index < N; index++) { min = Math.min(min, num[index]); max = Math.max(max, num[index]); sum += num[index]; } System.out.print(sb.append(min).append(" ").append(max).append(" ").append(sum).append("\n")); } }
[ 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, 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, 0, 13, 13, 14, 2, 13, 13, 0, 13, 13, 14, 2, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 94, 20 ], [ 94, 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 ], [ 23, 39 ], [ 39, 40 ], [ 39, 41 ], [ 23, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 54, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 23, 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 ], [ 21, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.io.File;\nimport java.io.IOException;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Deque;\nimport java.util.Scanner;\n\npublic class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.io.File;", "File", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.util.ArrayDeque;", "ArrayDeque", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Deque;", "Deque", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n\tpublic static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\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", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}", "{\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}", "int in = sc.nextInt();", "in", "sc.nextInt()", "sc.nextInt", "sc", "sum += in", "sum", "in", "if(in < min) min = in;", "in < min", "in", "min", "min = in", "min", "in", "if(in > max) max = in;", "in > max", "in", "max", "max = in", "max", "in", "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) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\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) throws IOException {\n\t\t//File file = new File(\"input.txt\");\n\t\t//Scanner sc = new Scanner(file);\n\t\t\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint in = sc.nextInt();\n\t\t\tsum += in;\n\t\t\tif(in < min) min = in;\n\t\t\tif(in > max) max = in;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.io.File; import java.io.IOException; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Deque; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { //File file = new File("input.txt"); //Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int min = 1000000; int max = -1000000; long sum = 0; for(int i = 0; i < n; i++){ int in = sc.nextInt(); sum += in; if(in < min) min = in; if(in > max) max = in; } System.out.println(min + " " + max + " " + sum); } }
[ 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, 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, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 12, 13, 30, 0, 13, 20, 0, 13, 20, 0, 13, 20, 23, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 14, 2, 4, 18, 13, 18, 13, 13, 30, 29, 18, 13, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 14, 2, 4, 18, 13, 18, 13, 13, 30, 37, 20, 29, 18, 13, 13, 12, 13, 30, 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 ], [ 176, 20 ], [ 176, 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 ], [ 34, 35 ], [ 34, 36 ], [ 23, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 23, 42 ], [ 42, 43 ], [ 42, 44 ], [ 23, 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 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 57, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 65, 69 ], [ 57, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 72, 76 ], [ 57, 77 ], [ 77, 78 ], [ 77, 79 ], [ 23, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 88, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 88, 93 ], [ 23, 94 ], [ 94, 95 ], [ 95, 96 ], [ 21, 97 ], [ 97, 98 ], [ 176, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 99, 103 ], [ 103, 104 ], [ 99, 105 ], [ 105, 106 ], [ 99, 107 ], [ 107, 108 ], [ 107, 109 ], [ 99, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 112, 119 ], [ 119, 120 ], [ 119, 121 ], [ 110, 122 ], [ 122, 123 ], [ 99, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 127, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 135, 139 ], [ 139, 140 ], [ 139, 141 ], [ 134, 142 ], [ 126, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 99, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 150, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 158, 162 ], [ 162, 163 ], [ 162, 164 ], [ 157, 165 ], [ 165, 166 ], [ 166, 167 ], [ 149, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 99, 172 ], [ 172, 173 ], [ 172, 174 ], [ 0, 175 ], [ 175, 176 ], [ 175, 177 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.StreamTokenizer;\nimport java.util.InputMismatchException;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint n = sc.nextInt();\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\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.StreamTokenizer;", "StreamTokenizer", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint n = sc.nextInt();\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint n = sc.nextInt();\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint n = sc.nextInt();\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "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 = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "min = Math.min(min, a)", "min", "Math.min(min, a)", "Math.min", "Math", "min", "a", "max = Math.max(max, a)", "max", "Math.max(max, a)", "Math.max", "Math", "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", "sc.close()", "sc.close", "sc", "String[] args", "args", "private static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}", "Scanner", "InputStreamReader isr;", "isr", "BufferedReader br;", "br", "StreamTokenizer st;", "st", "private Scanner() {\n\t\t}", "Scanner", "{\n\t\t}", "Scanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}", "Scanner", "{\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}", "isr = new InputStreamReader(in)", "isr", "new InputStreamReader(in)", "br = new BufferedReader(isr)", "br", "new BufferedReader(isr)", "st = new StreamTokenizer(br)", "st", "new StreamTokenizer(br)", "InputStream in", "in", "String next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}", "next", "{\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}", "try {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "IOException e", "{\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "throw new IllegalStateException();", "new IllegalStateException()", "{\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t}", "if (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}", "st.nextToken() != StreamTokenizer.TT_WORD", "st.nextToken()", "st.nextToken", "st", "StreamTokenizer.TT_WORD", "StreamTokenizer", "StreamTokenizer.TT_WORD", "{\n\t\t\t\t}", "return st.sval;", "st.sval", "st", "st.sval", "int nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}", "nextInt", "{\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}", "try {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "IOException e", "{\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "throw new IllegalStateException();", "new IllegalStateException()", "{\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t}", "if (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}", "st.nextToken() != StreamTokenizer.TT_NUMBER", "st.nextToken()", "st.nextToken", "st", "StreamTokenizer.TT_NUMBER", "StreamTokenizer", "StreamTokenizer.TT_NUMBER", "{\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}", "throw new InputMismatchException();", "new InputMismatchException()", "return (int)st.nval;", "(int)st.nval", "st", "st.nval", "void close() {\n\t\t}", "close", "{\n\t\t}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint n = sc.nextInt();\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\n\t\tint n = sc.nextInt();\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint a = sc.nextInt();\n\t\t\tmin = Math.min(min, a);\n\t\t\tmax = Math.max(max, a);\n\t\t\tsum += a;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.StreamTokenizer; import java.util.InputMismatchException; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int min = Integer.MAX_VALUE; int max = Integer.MIN_VALUE; long sum = 0; for (int i = 0; i < n; i++) { int a = sc.nextInt(); min = Math.min(min, a); max = Math.max(max, a); sum += a; } System.out.println(min + " " + max + " " + sum); sc.close(); } @SuppressWarnings("unused") private static class Scanner { InputStreamReader isr; BufferedReader br; StreamTokenizer st; private Scanner() { } Scanner (InputStream in) { isr = new InputStreamReader(in); br = new BufferedReader(isr); st = new StreamTokenizer(br); } String next() throws RuntimeException { try { if (st.nextToken() != StreamTokenizer.TT_WORD) { } } catch (IOException e) { throw new IllegalStateException(); } return st.sval; } int nextInt() throws RuntimeException { try { if (st.nextToken() != StreamTokenizer.TT_NUMBER) { throw new InputMismatchException(); } } catch (IOException e) { throw new IllegalStateException(); } return (int)st.nval; } void close() { } } }
[ 7, 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, 17, 41, 13, 17, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 20, 4, 18, 13, 4, 18, 13, 13, 0, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 17, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 106, 14 ], [ 106, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 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 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 50, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 17, 66 ], [ 66, 67 ], [ 67, 68 ], [ 17, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 17, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 17, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 84, 88 ], [ 17, 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 ], [ 15, 103 ], [ 103, 104 ], [ 0, 105 ], [ 105, 106 ], [ 105, 107 ] ]
[ "import java.math.BigDecimal;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint length = scan.nextInt();\n\t\tint min = 0, max = 0;\n\t\tBigDecimal sum = new BigDecimal(0);\n\t\tArrayList<Integer> elems = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}\n\t\tscan.close();\n\t\tCollections.sort(elems);\n\t\tmin = elems.get(0);\n\t\tmax = elems.get(elems.size() - 1);\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "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 void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint length = scan.nextInt();\n\t\tint min = 0, max = 0;\n\t\tBigDecimal sum = new BigDecimal(0);\n\t\tArrayList<Integer> elems = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}\n\t\tscan.close();\n\t\tCollections.sort(elems);\n\t\tmin = elems.get(0);\n\t\tmax = elems.get(elems.size() - 1);\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 length = scan.nextInt();\n\t\tint min = 0, max = 0;\n\t\tBigDecimal sum = new BigDecimal(0);\n\t\tArrayList<Integer> elems = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}\n\t\tscan.close();\n\t\tCollections.sort(elems);\n\t\tmin = elems.get(0);\n\t\tmax = elems.get(elems.size() - 1);\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint length = scan.nextInt();\n\t\tint min = 0, max = 0;\n\t\tBigDecimal sum = new BigDecimal(0);\n\t\tArrayList<Integer> elems = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}\n\t\tscan.close();\n\t\tCollections.sort(elems);\n\t\tmin = elems.get(0);\n\t\tmax = elems.get(elems.size() - 1);\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int length = scan.nextInt();", "length", "scan.nextInt()", "scan.nextInt", "scan", "int min = 0", "min", "0", "max = 0;", "max", "0", "BigDecimal sum = new BigDecimal(0);", "sum", "new BigDecimal(0)", "ArrayList<Integer> elems = new ArrayList<Integer>();", "elems", "new ArrayList<Integer>()", "for (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < length", "i", "length", "i++", "i++", "i", "{\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}", "{\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}", "int elem = scan.nextInt();", "elem", "scan.nextInt()", "scan.nextInt", "scan", "elems.add(elem)", "elems.add", "elems", "elem", "sum = sum.add(new BigDecimal(elem))", "sum", "sum.add(new BigDecimal(elem))", "sum.add", "sum", "new BigDecimal(elem)", "scan.close()", "scan.close", "scan", "Collections.sort(elems)", "Collections.sort", "Collections", "elems", "min = elems.get(0)", "min", "elems.get(0)", "elems.get", "elems", "0", "max = elems.get(elems.size() - 1)", "max", "elems.get(elems.size() - 1)", "elems.get", "elems", "elems.size() - 1", "elems.size()", "elems.size", "elems", "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", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint length = scan.nextInt();\n\t\tint min = 0, max = 0;\n\t\tBigDecimal sum = new BigDecimal(0);\n\t\tArrayList<Integer> elems = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}\n\t\tscan.close();\n\t\tCollections.sort(elems);\n\t\tmin = elems.get(0);\n\t\tmax = elems.get(elems.size() - 1);\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 length = scan.nextInt();\n\t\tint min = 0, max = 0;\n\t\tBigDecimal sum = new BigDecimal(0);\n\t\tArrayList<Integer> elems = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < length; i++) {\n\t\t\tint elem = scan.nextInt();\n\t\t\telems.add(elem);\n\t\t\tsum = sum.add(new BigDecimal(elem));\n\t\t}\n\t\tscan.close();\n\t\tCollections.sort(elems);\n\t\tmin = elems.get(0);\n\t\tmax = elems.get(elems.size() - 1);\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "Main" ]
import java.math.BigDecimal; import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int length = scan.nextInt(); int min = 0, max = 0; BigDecimal sum = new BigDecimal(0); ArrayList<Integer> elems = new ArrayList<Integer>(); for (int i = 0; i < length; i++) { int elem = scan.nextInt(); elems.add(elem); sum = sum.add(new BigDecimal(elem)); } scan.close(); Collections.sort(elems); min = elems.get(0); max = elems.get(elems.size() - 1); 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 4, 18, 13, 2, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 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 ], [ 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 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 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 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 14, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 72, 76 ], [ 68, 77 ], [ 14, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 78, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 14, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 12, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint number = scanner.nextInt();\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}\n\n\t\t// ????????§???????????????\n\t\tCollections.sort(list);\n\t\tSystem.out.print(list.get(0) + \" \");\n\n\t\tSystem.out.print(list.get(list.size() - 1) + \" \");\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\n\t\tSystem.out.println(total);\n\t}\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 void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint number = scanner.nextInt();\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}\n\n\t\t// ????????§???????????????\n\t\tCollections.sort(list);\n\t\tSystem.out.print(list.get(0) + \" \");\n\n\t\tSystem.out.print(list.get(list.size() - 1) + \" \");\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\n\t\tSystem.out.println(total);\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint number = scanner.nextInt();\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}\n\n\t\t// ????????§???????????????\n\t\tCollections.sort(list);\n\t\tSystem.out.print(list.get(0) + \" \");\n\n\t\tSystem.out.print(list.get(list.size() - 1) + \" \");\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\n\t\tSystem.out.println(total);\n\t}", "main", "{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint number = scanner.nextInt();\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}\n\n\t\t// ????????§???????????????\n\t\tCollections.sort(list);\n\t\tSystem.out.print(list.get(0) + \" \");\n\n\t\tSystem.out.print(list.get(list.size() - 1) + \" \");\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\n\t\tSystem.out.println(total);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int number = scanner.nextInt();", "number", "scanner.nextInt()", "scanner.nextInt", "scanner", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "long total = 0;", "total", "0", "for (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < number", "i", "number", "i++", "i++", "i", "{\n\t\t\tlist.add(scanner.nextInt());\n\t\t}", "{\n\t\t\tlist.add(scanner.nextInt());\n\t\t}", "list.add(scanner.nextInt())", "list.add", "list", "scanner.nextInt()", "scanner.nextInt", "scanner", "Collections.sort(list)", "Collections.sort", "Collections", "list", "System.out.print(list.get(0) + \" \")", "System.out.print", "System.out", "System", "System.out", "list.get(0) + \" \"", "list.get(0)", "list.get", "list", "0", "\" \"", "System.out.print(list.get(list.size() - 1) + \" \")", "System.out.print", "System.out", "System", "System.out", "list.get(list.size() - 1) + \" \"", "list.get(list.size() - 1)", "list.get", "list", "list.size() - 1", "list.size()", "list.size", "list", "1", "\" \"", "for (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += 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\ttotal += list.get(i);\n\t\t}", "{\n\t\t\ttotal += list.get(i);\n\t\t}", "total += list.get(i)", "total", "list.get(i)", "list.get", "list", "i", "System.out.println(total)", "System.out.println", "System.out", "System", "System.out", "total", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint number = scanner.nextInt();\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}\n\n\t\t// ????????§???????????????\n\t\tCollections.sort(list);\n\t\tSystem.out.print(list.get(0) + \" \");\n\n\t\tSystem.out.print(list.get(list.size() - 1) + \" \");\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\n\t\tSystem.out.println(total);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint number = scanner.nextInt();\n\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\n\t\tlong total = 0;\n\n\t\tfor (int i = 0; i < number; i++) {\n\t\t\tlist.add(scanner.nextInt());\n\t\t}\n\n\t\t// ????????§???????????????\n\t\tCollections.sort(list);\n\t\tSystem.out.print(list.get(0) + \" \");\n\n\t\tSystem.out.print(list.get(list.size() - 1) + \" \");\n\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\n\t\tSystem.out.println(total);\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int number = scanner.nextInt(); ArrayList<Integer> list = new ArrayList<Integer>(); long total = 0; for (int i = 0; i < number; i++) { list.add(scanner.nextInt()); } // ????????§??????????????? Collections.sort(list); System.out.print(list.get(0) + " "); System.out.print(list.get(list.size() - 1) + " "); for (int i = 0; i < list.size(); i++) { total += list.get(i); } System.out.println(total); } }
[ 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, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 41, 13, 4, 18, 4, 18, 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, 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 ], [ 104, 8 ], [ 104, 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 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 36 ], [ 36, 37 ], [ 36, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 41, 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 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 61, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 61, 84 ], [ 84, 85 ], [ 84, 86 ], [ 11, 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 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line = br.readLine();\n\t\tint n = Integer.parseInt(line);\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong total = 0L;\n\n\t\tString[] numline = br.readLine().split(\" \");\n\n\t\tfor (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\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\n\t\tString line = br.readLine();\n\t\tint n = Integer.parseInt(line);\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong total = 0L;\n\n\t\tString[] numline = br.readLine().split(\" \");\n\n\t\tfor (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line = br.readLine();\n\t\tint n = Integer.parseInt(line);\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong total = 0L;\n\n\t\tString[] numline = br.readLine().split(\" \");\n\n\t\tfor (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line = br.readLine();\n\t\tint n = Integer.parseInt(line);\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong total = 0L;\n\n\t\tString[] numline = br.readLine().split(\" \");\n\n\t\tfor (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(line);", "n", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "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 total = 0L;", "total", "0L", "String[] numline = br.readLine().split(\" \");", "numline", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < numline.length", "i", "numline.length", "numline", "numline.length", "i++", "i++", "i", "{\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}", "{\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}", "int input = Integer.parseInt(numline[i]);", "input", "Integer.parseInt(numline[i])", "Integer.parseInt", "Integer", "numline[i]", "numline", "i", "if (min > input) min = input;", "min > input", "min", "input", "min = input", "min", "input", "if (max < input) max = input;", "max < input", "max", "input", "max = input", "max", "input", "total += input", "total", "input", "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\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString line = br.readLine();\n\t\tint n = Integer.parseInt(line);\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong total = 0L;\n\n\t\tString[] numline = br.readLine().split(\" \");\n\n\t\tfor (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\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\n\t\tString line = br.readLine();\n\t\tint n = Integer.parseInt(line);\n\n\t\tint min = Integer.MAX_VALUE;\n\t\tint max = Integer.MIN_VALUE;\n\t\tlong total = 0L;\n\n\t\tString[] numline = br.readLine().split(\" \");\n\n\t\tfor (int i = 0; i < numline.length; i++) {\n\t\t\tint input = Integer.parseInt(numline[i]);\n\n\t\t\tif (min > input) min = input;\n\t\t\tif (max < input) max = input;\n\t\t\ttotal += input;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\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 line = br.readLine(); int n = Integer.parseInt(line); int min = Integer.MAX_VALUE; int max = Integer.MIN_VALUE; long total = 0L; String[] numline = br.readLine().split(" "); for (int i = 0; i < numline.length; i++) { int input = Integer.parseInt(numline[i]); if (min > input) min = input; if (max < input) max = input; total += input; } System.out.println(min + " " + max + " " + total); } }
[ 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, 41, 13, 41, 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, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 0, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 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, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 135, 11 ], [ 135, 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 ], [ 14, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 14, 40 ], [ 40, 41 ], [ 40, 42 ], [ 14, 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 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 14, 67 ], [ 67, 68 ], [ 67, 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 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 94, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 94, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 14, 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 ], [ 12, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\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 long min, max, sum;\n String[] strArray = br.readLine().split(\" \");\n long[] longArray = new long[n];\n for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }\n min = longArray[0];\n max = longArray[0];\n sum = longArray[0];\n for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "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 long min, max, sum;\n String[] strArray = br.readLine().split(\" \");\n long[] longArray = new long[n];\n for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }\n min = longArray[0];\n max = longArray[0];\n sum = longArray[0];\n for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }\n System.out.println(min + \" \" + max + \" \" + 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 min, max, sum;\n String[] strArray = br.readLine().split(\" \");\n long[] longArray = new long[n];\n for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }\n min = longArray[0];\n max = longArray[0];\n sum = longArray[0];\n for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n long min, max, sum;\n String[] strArray = br.readLine().split(\" \");\n long[] longArray = new long[n];\n for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }\n min = longArray[0];\n max = longArray[0];\n sum = longArray[0];\n for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }\n System.out.println(min + \" \" + max + \" \" + 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 min", "min", "max", "max", "sum;", "sum", "String[] strArray = br.readLine().split(\" \");", "strArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long[] longArray = new long[n];", "longArray", "new long[n]", "n", "for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n longArray[i] = Long.parseLong(strArray[i]);\n }", "{\n longArray[i] = Long.parseLong(strArray[i]);\n }", "longArray[i] = Long.parseLong(strArray[i])", "longArray[i]", "longArray", "i", "Long.parseLong(strArray[i])", "Long.parseLong", "Long", "strArray[i]", "strArray", "i", "min = longArray[0]", "min", "longArray[0]", "longArray", "0", "max = longArray[0]", "max", "longArray[0]", "longArray", "0", "sum = longArray[0]", "sum", "longArray[0]", "longArray", "0", "for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }", "{\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }", "min = Math.min(min,longArray[i])", "min", "Math.min(min,longArray[i])", "Math.min", "Math", "min", "longArray[i]", "longArray", "i", "max = Math.max(max,longArray[i])", "max", "Math.max(max,longArray[i])", "Math.max", "Math", "max", "longArray[i]", "longArray", "i", "sum += longArray[i]", "sum", "longArray[i]", "longArray", "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) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n long min, max, sum;\n String[] strArray = br.readLine().split(\" \");\n long[] longArray = new long[n];\n for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }\n min = longArray[0];\n max = longArray[0];\n sum = longArray[0];\n for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }\n System.out.println(min + \" \" + max + \" \" + 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 long min, max, sum;\n String[] strArray = br.readLine().split(\" \");\n long[] longArray = new long[n];\n for (int i = 0;i < n;i++) {\n longArray[i] = Long.parseLong(strArray[i]);\n }\n min = longArray[0];\n max = longArray[0];\n sum = longArray[0];\n for (int i = 1;i < n;i++) {\n min = Math.min(min,longArray[i]);\n max = Math.max(max,longArray[i]);\n sum += longArray[i];\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; 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()); long min, max, sum; String[] strArray = br.readLine().split(" "); long[] longArray = new long[n]; for (int i = 0;i < n;i++) { longArray[i] = Long.parseLong(strArray[i]); } min = longArray[0]; max = longArray[0]; sum = longArray[0]; for (int i = 1;i < n;i++) { min = Math.min(min,longArray[i]); max = Math.max(max,longArray[i]); sum += longArray[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, 17, 41, 13, 20, 13, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 13, 13, 13, 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, 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, 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, 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, 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 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 34, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 8, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 59, 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 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 86, 96 ], [ 96, 97 ], [ 97, 98 ], [ 86, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 110, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 113, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 130, 132 ], [ 8, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 8, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 8, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 8, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 8, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 6, 163 ], [ 163, 164 ] ]
[ "import java.util.Scanner;\n \nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int tmp =0;\n int[] num = new int[x];\n \n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n \n for(int i=0; i<num.length; i++){\n tmp = sc.nextInt();\n num[i] = tmp;\n }\n \n for(int i=0; i<num.length; i++){\n if(min > num[i]){\n min = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n if(max < num[i]){\n max = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n sum += num[i];\n }\n \n System.out.print(min);\n System.out.print(' ');\n System.out.print(max);\n System.out.print(' ');\n System.out.println(sum);\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 x = sc.nextInt();\n int tmp =0;\n int[] num = new int[x];\n \n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n \n for(int i=0; i<num.length; i++){\n tmp = sc.nextInt();\n num[i] = tmp;\n }\n \n for(int i=0; i<num.length; i++){\n if(min > num[i]){\n min = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n if(max < num[i]){\n max = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n sum += num[i];\n }\n \n System.out.print(min);\n System.out.print(' ');\n System.out.print(max);\n System.out.print(' ');\n System.out.println(sum);\n \n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int tmp =0;\n int[] num = new int[x];\n \n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n \n for(int i=0; i<num.length; i++){\n tmp = sc.nextInt();\n num[i] = tmp;\n }\n \n for(int i=0; i<num.length; i++){\n if(min > num[i]){\n min = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n if(max < num[i]){\n max = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n sum += num[i];\n }\n \n System.out.print(min);\n System.out.print(' ');\n System.out.print(max);\n System.out.print(' ');\n System.out.println(sum);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int x = sc.nextInt();\n int tmp =0;\n int[] num = new int[x];\n \n int min = 1000000;\n int max = -1000000;\n long sum = 0;\n \n for(int i=0; i<num.length; i++){\n tmp = sc.nextInt();\n num[i] = tmp;\n }\n \n for(int i=0; i<num.length; i++){\n if(min > num[i]){\n min = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n if(max < num[i]){\n max = num[i];\n }\n }\n \n for(int i=0; i<num.length; i++){\n sum += num[i];\n }\n \n System.out.print(min);\n System.out.print(' ');\n System.out.print(max);\n System.out.print(' ');\n System.out.println(sum);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int tmp =0;", "tmp", "0", "int[] num = new int[x];", "num", "new int[x]", "x", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "for(int i=0; i<num.length; i++){\n tmp = sc.nextInt();\n num[i] = tmp;\n }", "int i=0;", "int i=0;", "i", "0", "i<num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n tmp = sc.nextInt();\n num[i] = tmp;\n }", "{\n tmp = sc.nextInt();\n num[i] = tmp;\n }", "tmp = sc.nextInt()", "tmp", "sc.nextInt()", "sc.nextInt", "sc", "num[i] = tmp", "num[i]", "num", "i", "tmp", "for(int i=0; i<num.length; i++){\n if(min > num[i]){\n min = num[i];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n if(min > num[i]){\n min = num[i];\n }\n }", "{\n if(min > num[i]){\n min = num[i];\n }\n }", "if(min > num[i]){\n min = num[i];\n }", "min > num[i]", "min", "num[i]", "num", "i", "{\n min = num[i];\n }", "min = num[i]", "min", "num[i]", "num", "i", "for(int i=0; i<num.length; i++){\n if(max < num[i]){\n max = num[i];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n if(max < num[i]){\n max = num[i];\n }\n }", "{\n if(max < num[i]){\n max = num[i];\n }\n }", "if(max < num[i]){\n max = num[i];\n }", "max < num[i]", "max", "num[i]", "num", "i", "{\n max = num[i];\n }", "max = num[i]", "max", "num[i]", "num", "i", "for(int i=0; i<num.length; i++){\n sum += num[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n sum += num[i];\n }", "{\n sum += num[i];\n }", "sum += num[i]", "sum", "num[i]", "num", "i", "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.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x = sc.nextInt(); int tmp =0; int[] num = new int[x]; int min = 1000000; int max = -1000000; long sum = 0; for(int i=0; i<num.length; i++){ tmp = sc.nextInt(); num[i] = tmp; } for(int i=0; i<num.length; i++){ if(min > num[i]){ min = num[i]; } } for(int i=0; i<num.length; i++){ if(max < num[i]){ max = num[i]; } } for(int i=0; i<num.length; i++){ sum += num[i]; } System.out.print(min); System.out.print(' '); System.out.print(max); System.out.print(' '); System.out.println(sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 40, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 13, 41, 13, 13, 41, 13, 17, 42, 4, 18, 13, 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, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 89, 8 ], [ 89, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 89, 13 ], [ 13, 14 ], [ 13, 15 ], [ 89, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 32, 44 ], [ 44, 45 ], [ 44, 46 ], [ 32, 47 ], [ 47, 48 ], [ 47, 49 ], [ 32, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 54, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 54, 74 ], [ 74, 75 ], [ 74, 76 ], [ 32, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 77, 83 ], [ 77, 84 ], [ 77, 85 ], [ 16, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.NoSuchElementException;\nimport java.util.Scanner;\n\npublic class Main {\n private static int MIN = -1000000;\n private static int MAX = 1000000;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}\n", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n private static int MIN = -1000000;\n private static int MAX = 1000000;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}", "Main", "private static int MIN = -1000000;", "MIN", "-1000000", "1000000", "private static int MAX = 1000000;", "MAX", "1000000", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }", "catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }", "NoSuchElementException\n | NumberFormatException e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n }", "int n = Integer.parseInt(sc.nextLine());", "n", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "int min = MAX;", "min", "MAX", "int max = MIN;", "max", "MIN", "double total = 0;", "total", "0", "while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }", "sc.hasNext()", "sc.hasNext", "sc", "{\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "max = Integer.max(a, max)", "max", "Integer.max(a, max)", "Integer.max", "Integer", "a", "max", "min = Integer.min(a, min)", "min", "Integer.min(a, min)", "Integer.min", "Integer", "a", "min", "total += a", "total", "a", "System.out.printf(\"%d %d %.0f\\n\", min, max, total)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %.0f\\n\"", "min", "max", "total", "String[] args", "args", "public class Main {\n private static int MIN = -1000000;\n private static int MAX = 1000000;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}", "public class Main {\n private static int MIN = -1000000;\n private static int MAX = 1000000;\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n try {\n int n = Integer.parseInt(sc.nextLine());\n int min = MAX;\n int max = MIN;\n double total = 0;\n while (sc.hasNext()) {\n int a = sc.nextInt();\n max = Integer.max(a, max);\n min = Integer.min(a, min);\n total += a;\n }\n System.out.printf(\"%d %d %.0f\\n\", min, max, total);\n } catch (NoSuchElementException\n | NumberFormatException e) {\n System.out.println(e);\n }\n }\n}", "Main" ]
import java.util.NoSuchElementException; import java.util.Scanner; public class Main { private static int MIN = -1000000; private static int MAX = 1000000; public static void main(String[] args) { Scanner sc = new Scanner(System.in); try { int n = Integer.parseInt(sc.nextLine()); int min = MAX; int max = MIN; double total = 0; while (sc.hasNext()) { int a = sc.nextInt(); max = Integer.max(a, max); min = Integer.min(a, min); total += a; } System.out.printf("%d %d %.0f\n", min, max, total); } catch (NoSuchElementException | NumberFormatException e) { System.out.println(e); } } }
[ 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, 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 ], [ 83, 5 ], [ 83, 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 ], [ 47, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 39, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 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 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = scan.nextInt();\n\n\t\t/*long型でConstraintsの条件を記述してみました。\n\t\t *maxに-1000000 minに1000000を設定。\n\t\t *jがiの長さを変えるまでforループで回す。\n\t\t *if文でmax、min内の値を入れ替える。\n\t\t */\n\t\tlong max = -1000000, min = 1000000, sum = 0;\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}\n\t\t/*条件を終えたらfor文を抜けmin max sumの順に表示\n\t\t * 空白の指示が出てるので空白もはさむ。\n\t\t */\n\t\tSystem.out.println(min +\" \"+ max +\" \"+sum);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = scan.nextInt();\n\n\t\t/*long型でConstraintsの条件を記述してみました。\n\t\t *maxに-1000000 minに1000000を設定。\n\t\t *jがiの長さを変えるまでforループで回す。\n\t\t *if文でmax、min内の値を入れ替える。\n\t\t */\n\t\tlong max = -1000000, min = 1000000, sum = 0;\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}\n\t\t/*条件を終えたらfor文を抜けmin max sumの順に表示\n\t\t * 空白の指示が出てるので空白もはさむ。\n\t\t */\n\t\tSystem.out.println(min +\" \"+ max +\" \"+sum);\n\n }\n}", "Main", "public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = scan.nextInt();\n\n\t\t/*long型でConstraintsの条件を記述してみました。\n\t\t *maxに-1000000 minに1000000を設定。\n\t\t *jがiの長さを変えるまでforループで回す。\n\t\t *if文でmax、min内の値を入れ替える。\n\t\t */\n\t\tlong max = -1000000, min = 1000000, sum = 0;\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}\n\t\t/*条件を終えたらfor文を抜けmin max sumの順に表示\n\t\t * 空白の指示が出てるので空白もはさむ。\n\t\t */\n\t\tSystem.out.println(min +\" \"+ max +\" \"+sum);\n\n }", "main", "{\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = scan.nextInt();\n\n\t\t/*long型でConstraintsの条件を記述してみました。\n\t\t *maxに-1000000 minに1000000を設定。\n\t\t *jがiの長さを変えるまでforループで回す。\n\t\t *if文でmax、min内の値を入れ替える。\n\t\t */\n\t\tlong max = -1000000, min = 1000000, sum = 0;\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}\n\t\t/*条件を終えたらfor文を抜けmin max sumの順に表示\n\t\t * 空白の指示が出てるので空白もはさむ。\n\t\t */\n\t\tSystem.out.println(min +\" \"+ max +\" \"+sum);\n\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int i = scan.nextInt();", "i", "scan.nextInt()", "scan.nextInt", "scan", "long max = -1000000", "max", "-1000000", "1000000", "min = 1000000", "min", "1000000", "sum = 0;", "sum", "0", "for(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < i", "j", "i", "j++", "j++", "j", "{\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}", "{\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}", "long x = scan.nextLong();", "x", "scan.nextLong()", "scan.nextLong", "scan", "sum = sum + x", "sum", "sum + x", "sum", "x", "if(x > max){max = x;}", "x > max", "x", "max", "{max = x;}", "max = x", "max", "x", "if(x < min){min = x;}", "x < min", "x", "min", "{min = x;}", "min = x", "min", "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", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = scan.nextInt();\n\n\t\t/*long型でConstraintsの条件を記述してみました。\n\t\t *maxに-1000000 minに1000000を設定。\n\t\t *jがiの長さを変えるまでforループで回す。\n\t\t *if文でmax、min内の値を入れ替える。\n\t\t */\n\t\tlong max = -1000000, min = 1000000, sum = 0;\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}\n\t\t/*条件を終えたらfor文を抜けmin max sumの順に表示\n\t\t * 空白の指示が出てるので空白もはさむ。\n\t\t */\n\t\tSystem.out.println(min +\" \"+ max +\" \"+sum);\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint i = scan.nextInt();\n\n\t\t/*long型でConstraintsの条件を記述してみました。\n\t\t *maxに-1000000 minに1000000を設定。\n\t\t *jがiの長さを変えるまでforループで回す。\n\t\t *if文でmax、min内の値を入れ替える。\n\t\t */\n\t\tlong max = -1000000, min = 1000000, sum = 0;\n\t\tfor(int j = 0; j < i; j++){\n\t\t\tlong x = scan.nextLong();\n\t\t\tsum = sum + x;\n\t\t\tif(x > max){max = x;}\n\t\t\tif(x < min){min = x;}\n\n\t\t}\n\t\t/*条件を終えたらfor文を抜けmin max sumの順に表示\n\t\t * 空白の指示が出てるので空白もはさむ。\n\t\t */\n\t\tSystem.out.println(min +\" \"+ max +\" \"+sum);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { /*Scanner = テキスト入力を扱うためのクラス *キーボードからの入力を受けつける場合は *System.inを使って下記のように記述 */ Scanner scan = new Scanner(System.in); int i = scan.nextInt(); /*long型でConstraintsの条件を記述してみました。 *maxに-1000000 minに1000000を設定。 *jがiの長さを変えるまでforループで回す。 *if文でmax、min内の値を入れ替える。 */ long max = -1000000, min = 1000000, sum = 0; for(int j = 0; j < i; j++){ long x = scan.nextLong(); sum = sum + x; if(x > max){max = x;} if(x < min){min = x;} } /*条件を終えたらfor文を抜けmin max sumの順に表示 * 空白の指示が出てるので空白もはさむ。 */ System.out.println(min +" "+ max +" "+sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 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, 4, 13, 0, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 18, 13, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 4, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 30, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 120, 8 ], [ 120, 9 ], [ 9, 10 ], [ 9, 11 ], [ 120, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 18, 19 ], [ 19, 20 ], [ 18, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 26, 36 ], [ 36, 37 ], [ 37, 38 ], [ 26, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 40, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 14, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 14, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 14, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 14, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 14, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 14, 97 ], [ 97, 98 ], [ 12, 99 ], [ 99, 100 ], [ 120, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 120, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] arrays = new int[Integer.parseInt(input())];\n\t\tlong sumArrays = 0;\n\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}\n\n\t\tArrays.sort(arrays);\n\n\t\tSystem.out.print(arrays[0]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(arrays[arrays.length - 1]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(sumArrays);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] arrays = new int[Integer.parseInt(input())];\n\t\tlong sumArrays = 0;\n\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}\n\n\t\tArrays.sort(arrays);\n\n\t\tSystem.out.print(arrays[0]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(arrays[arrays.length - 1]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(sumArrays);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main", "public static Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "public static void main(String[] args) {\n\n\t\tint[] arrays = new int[Integer.parseInt(input())];\n\t\tlong sumArrays = 0;\n\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}\n\n\t\tArrays.sort(arrays);\n\n\t\tSystem.out.print(arrays[0]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(arrays[arrays.length - 1]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(sumArrays);\n\n\t\tclose();\n\n\t}", "main", "{\n\n\t\tint[] arrays = new int[Integer.parseInt(input())];\n\t\tlong sumArrays = 0;\n\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}\n\n\t\tArrays.sort(arrays);\n\n\t\tSystem.out.print(arrays[0]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(arrays[arrays.length - 1]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(sumArrays);\n\n\t\tclose();\n\n\t}", "int[] arrays = new int[Integer.parseInt(input())];", "arrays", "new int[Integer.parseInt(input())]", "Integer.parseInt(input())", "Integer.parseInt", "Integer", "input()", "input", "long sumArrays = 0;", "sumArrays", "0", "for (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < arrays.length", "i", "arrays.length", "arrays", "arrays.length", "i++", "i++", "i", "{\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}", "{\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}", "arrays[i] = Integer.parseInt(input())", "arrays[i]", "arrays", "i", "Integer.parseInt(input())", "Integer.parseInt", "Integer", "input()", "input", "sumArrays += (long) arrays[i]", "sumArrays", "(long) arrays[i]", "arrays", "i", "Arrays.sort(arrays)", "Arrays.sort", "Arrays", "arrays", "System.out.print(arrays[0])", "System.out.print", "System.out", "System", "System.out", "arrays[0]", "arrays", "0", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(arrays[arrays.length - 1])", "System.out.print", "System.out", "System", "System.out", "arrays[arrays.length - 1]", "arrays", "arrays.length - 1", "arrays.length", "arrays", "arrays.length", "1", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println(sumArrays)", "System.out.println", "System.out", "System", "System.out", "sumArrays", "close()", "close", "String[] args", "args", "public static String input() {\n\n\t\treturn scanner.next();\n\n\t}", "input", "{\n\n\t\treturn scanner.next();\n\n\t}", "return scanner.next();", "scanner.next()", "scanner.next", "scanner", "public static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "close", "{\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}", "if (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner != null", "scanner", "null", "{\n\n\t\t\tscanner.close();\n\n\t\t}", "scanner.close()", "scanner.close", "scanner", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] arrays = new int[Integer.parseInt(input())];\n\t\tlong sumArrays = 0;\n\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}\n\n\t\tArrays.sort(arrays);\n\n\t\tSystem.out.print(arrays[0]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(arrays[arrays.length - 1]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(sumArrays);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static Scanner scanner = new Scanner(System.in);\n\n\tpublic static void main(String[] args) {\n\n\t\tint[] arrays = new int[Integer.parseInt(input())];\n\t\tlong sumArrays = 0;\n\n\t\tfor (int i = 0; i < arrays.length; i++) {\n\n\t\t\tarrays[i] = Integer.parseInt(input());\n\t\t\tsumArrays += (long) arrays[i];\n\n\t\t}\n\n\t\tArrays.sort(arrays);\n\n\t\tSystem.out.print(arrays[0]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.print(arrays[arrays.length - 1]);\n\t\tSystem.out.print(\" \");\n\t\tSystem.out.println(sumArrays);\n\n\t\tclose();\n\n\t}\n\n\tpublic static String input() {\n\n\t\treturn scanner.next();\n\n\t}\n\n\tpublic static void close() {\n\n\t\tif (scanner != null) {\n\n\t\t\tscanner.close();\n\n\t\t}\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static Scanner scanner = new Scanner(System.in); public static void main(String[] args) { int[] arrays = new int[Integer.parseInt(input())]; long sumArrays = 0; for (int i = 0; i < arrays.length; i++) { arrays[i] = Integer.parseInt(input()); sumArrays += (long) arrays[i]; } Arrays.sort(arrays); System.out.print(arrays[0]); System.out.print(" "); System.out.print(arrays[arrays.length - 1]); System.out.print(" "); System.out.println(sumArrays); close(); } public static String input() { return scanner.next(); } public static void close() { if (scanner != null) { scanner.close(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 11, 1, 41, 13, 4, 18, 13, 2, 13, 17, 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, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 22, 29 ], [ 29, 30 ], [ 29, 31 ], [ 22, 32 ], [ 32, 33 ], [ 33, 34 ], [ 22, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 36, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 36, 58 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 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 min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tsc.close();\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 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\tfor (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tsc.close();\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 min = 1000000;\n\t\tint max = -1000000;\n\t\tlong sum = 0;\n\t\t\n\t\tfor (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tsc.close();\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\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\tfor (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tsc.close();\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\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", "for (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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 = sc.nextInt();", "int i = sc.nextInt();", "i", "sc.nextInt()", "sc.nextInt", "sc", "i > 0", "i", "0", "i--", "i--", "i", "{\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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 a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "if (a <= min) {\n\t\t\t\tmin = a;\n\t\t\t}", "a <= min", "a", "min", "{\n\t\t\t\tmin = a;\n\t\t\t}", "min = a", "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", "sc.close()", "sc.close", "sc", "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 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\tfor (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tsc.close();\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\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\tfor (int i = sc.nextInt(); i > 0; i--) {\n\t\t\tint a = sc.nextInt();\n\t\t\tif (a <= min) {\n\t\t\t\tmin = a;\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\tsc.close();\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 min = 1000000; int max = -1000000; long sum = 0; for (int i = sc.nextInt(); i > 0; i--) { int a = sc.nextInt(); if (a <= min) { min = a; } if (a >= max) { max = a; } sum += a; } sc.close(); System.out.println(min + " " + max + " " + sum); } }
[ 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, 4, 18, 13, 41, 13, 4, 18, 4, 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, 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 ], [ 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 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 36, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 54, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 54, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 92, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 92, 97 ], [ 6, 98 ], [ 98, 99 ] ]
[ "import java.io.*;\n \nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tint x,\n\t\tmax=-1000000,\n\t\tmin=1000000,\n\t\ttemp;\n\t\tlong sum=0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tx = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = 0; i < x; i ++){\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}\n\t\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\n\t\tint x,\n\t\tmax=-1000000,\n\t\tmin=1000000,\n\t\ttemp;\n\t\tlong sum=0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tx = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = 0; i < x; i ++){\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" +sum);\n \t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\tint x,\n\t\tmax=-1000000,\n\t\tmin=1000000,\n\t\ttemp;\n\t\tlong sum=0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tx = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = 0; i < x; i ++){\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" +sum);\n \t}", "main", "{\n\n\t\tint x,\n\t\tmax=-1000000,\n\t\tmin=1000000,\n\t\ttemp;\n\t\tlong sum=0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tx = Integer.parseInt(br.readLine());\n\t\tString[] str = br.readLine().split(\" \");\n\n\t\tfor(int i = 0; i < x; i ++){\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" +sum);\n \t}", "int x", "x", "max=-1000000", "max", "-1000000", "1000000", "min=1000000", "min", "1000000", "temp;", "temp", "long sum=0;", "sum", "0", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "x = Integer.parseInt(br.readLine())", "x", "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", "\" \"", "for(int i = 0; i < x; i ++){\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i ++", "i ++", "i", "{\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}", "{\n\t\t\ttemp = Integer.parseInt(str[i]);\n\t\t\tif(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}\n\t\t\tif(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}\n\t\tsum = sum + temp;\n\t\t}", "temp = Integer.parseInt(str[i])", "temp", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "if(temp>max){\n\t\t\t\tmax = temp;\n\t\t\t}", "temp>max", "temp", "max", "{\n\t\t\t\tmax = temp;\n\t\t\t}", "max = temp", "max", "temp", "if(temp<min){\n\t\t\t\tmin = temp;\n\t\t\t}", "temp<min", "temp", "min", "{\n\t\t\t\tmin = temp;\n\t\t\t}", "min = temp", "min", "temp", "sum = sum + temp", "sum", "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.io.*; class Main{ public static void main(String[] args) throws IOException{ int x, max=-1000000, min=1000000, temp; long sum=0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); x = Integer.parseInt(br.readLine()); String[] str = br.readLine().split(" "); for(int i = 0; i < x; i ++){ temp = Integer.parseInt(str[i]); if(temp>max){ max = temp; } if(temp<min){ min = temp; } sum = sum + temp; } System.out.println(min + " " + max + " " +sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 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, 4, 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, 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 ], [ 94, 8 ], [ 94, 9 ], [ 9, 10 ], [ 94, 11 ], [ 11, 12 ], [ 11, 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 ], [ 26, 28 ], [ 13, 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 ], [ 13, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 13, 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 ], [ 68, 70 ], [ 13, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 79, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 77, 89 ], [ 79, 90 ], [ 11, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.*;\nimport java.util.Arrays;\npublic class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t int a=sc.nextInt();\n\t int []b=new int[a];\n\t long d=0;\n\t for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }\n\t Arrays.sort(b);\n\t for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }\n\t System.out.println(b[0]+\" \"+b[a-1]+\" \"+d);\n\t}\n\n\t\n\n}", "import java.util.*;", "util.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t int a=sc.nextInt();\n\t int []b=new int[a];\n\t long d=0;\n\t for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }\n\t Arrays.sort(b);\n\t for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }\n\t System.out.println(b[0]+\" \"+b[a-1]+\" \"+d);\n\t}\n\n\t\n\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t int a=sc.nextInt();\n\t int []b=new int[a];\n\t long d=0;\n\t for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }\n\t Arrays.sort(b);\n\t for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }\n\t System.out.println(b[0]+\" \"+b[a-1]+\" \"+d);\n\t}", "main", "{\n\t sc = new Scanner(System.in);\n\t int a=sc.nextInt();\n\t int []b=new int[a];\n\t long d=0;\n\t for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }\n\t Arrays.sort(b);\n\t for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }\n\t System.out.println(b[0]+\" \"+b[a-1]+\" \"+d);\n\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "int []b=new int[a];", "b", "new int[a]", "a", "long d=0;", "d", "0", "for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\t b[i]=sc.nextInt();\n\t }", "{\n\t\t b[i]=sc.nextInt();\n\t }", "b[i]=sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "Arrays.sort(b)", "Arrays.sort", "Arrays", "b", "for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\t d+=b[i]; \n\t }", "{\n\t\t d+=b[i]; \n\t }", "d+=b[i]", "d", "b[i]", "b", "i", "System.out.println(b[0]+\" \"+b[a-1]+\" \"+d)", "System.out.println", "System.out", "System", "System.out", "b[0]+\" \"+b[a-1]+\" \"+d", "\" \"", "b[a-1]", "b[0]+\" \"+b[a-1]+\" \"+d", "b[0]", "b", "0", "\" \"", "b[a-1]", "b", "a-1", "a", "1", "\" \"", "d", "String[] args", "args", "public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t int a=sc.nextInt();\n\t int []b=new int[a];\n\t long d=0;\n\t for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }\n\t Arrays.sort(b);\n\t for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }\n\t System.out.println(b[0]+\" \"+b[a-1]+\" \"+d);\n\t}\n\n\t\n\n}", "public class Main {\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args) {\n\t sc = new Scanner(System.in);\n\t int a=sc.nextInt();\n\t int []b=new int[a];\n\t long d=0;\n\t for(int i=0;i<a;i++){\n\t\t b[i]=sc.nextInt();\n\t }\n\t Arrays.sort(b);\n\t for(int i=0;i<a;i++){\n\t\t d+=b[i]; \n\t }\n\t System.out.println(b[0]+\" \"+b[a-1]+\" \"+d);\n\t}\n\n\t\n\n}", "Main" ]
import java.util.*; import java.util.Arrays; public class Main { private static Scanner sc; public static void main(String[] args) { sc = new Scanner(System.in); int a=sc.nextInt(); int []b=new int[a]; long d=0; for(int i=0;i<a;i++){ b[i]=sc.nextInt(); } Arrays.sort(b); for(int i=0;i<a;i++){ d+=b[i]; } System.out.println(b[0]+" "+b[a-1]+" "+d); } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 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, 0, 13, 18, 13, 17, 0, 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, 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, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 131, 2 ], [ 131, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 5, 14 ], [ 14, 15 ], [ 5, 16 ], [ 16, 17 ], [ 5, 18 ], [ 18, 19 ], [ 18, 20 ], [ 5, 21 ], [ 21, 22 ], [ 21, 23 ], [ 5, 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 ], [ 5, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 5, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 5, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 55, 65 ], [ 65, 66 ], [ 66, 67 ], [ 55, 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 ], [ 5, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 94, 104 ], [ 104, 105 ], [ 105, 106 ], [ 94, 107 ], [ 108, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 5, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 122, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 122, 127 ], [ 3, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\tint n = scan.nextInt();\n\t\t\tlong min,max,sum = 0;\n\t\t\tlong[] arr = new long[n];\n\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tmin = arr[0];\n\t\t\tmax = arr[0];\n\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\tint n = scan.nextInt();\n\t\t\tlong min,max,sum = 0;\n\t\t\tlong[] arr = new long[n];\n\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tmin = arr[0];\n\t\t\tmax = arr[0];\n\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\tint n = scan.nextInt();\n\t\t\tlong min,max,sum = 0;\n\t\t\tlong[] arr = new long[n];\n\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tmin = arr[0];\n\t\t\tmax = arr[0];\n\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}", "main", "{\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\tint n = scan.nextInt();\n\t\t\tlong min,max,sum = 0;\n\t\t\tlong[] arr = new long[n];\n\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tmin = arr[0];\n\t\t\tmax = arr[0];\n\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}", "java.util.Scanner scan = new java.util.Scanner(System.in);", "scan", "new java.util.Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "long min", "min", "max", "max", "sum = 0;", "sum", "0", "long[] arr = new long[n];", "arr", "new long[n]", "n", "for(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}", "arr[i] = scan.nextInt()", "arr[i]", "arr", "i", "scan.nextInt()", "scan.nextInt", "scan", "min = arr[0]", "min", "arr[0]", "arr", "0", "max = arr[0]", "max", "arr[0]", "arr", "0", "for(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}", "if(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}", "min > arr[i]", "min", "arr[i]", "arr", "i", "{\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}", "min = arr[i]", "min", "arr[i]", "arr", "i", "if(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}", "max < arr[i]", "max", "arr[i]", "arr", "i", "{\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}", "max = arr[i]", "max", "arr[i]", "arr", "i", "for(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tsum += arr[i];\n\t\t\t}", "{\n\t\t\t\tsum += arr[i];\n\t\t\t}", "sum += arr[i]", "sum", "arr[i]", "arr", "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\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\tint n = scan.nextInt();\n\t\t\tlong min,max,sum = 0;\n\t\t\tlong[] arr = new long[n];\n\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tmin = arr[0];\n\t\t\tmax = arr[0];\n\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tjava.util.Scanner scan = new java.util.Scanner(System.in);\n\t\t\tint n = scan.nextInt();\n\t\t\tlong min,max,sum = 0;\n\t\t\tlong[] arr = new long[n];\n\n\t\t\tfor(int i = 0;i < n;i++){\n\t\t\t\tarr[i] = scan.nextInt();\n\t\t\t}\n\n\t\t\tmin = arr[0];\n\t\t\tmax = arr[0];\n\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tif(min > arr[i]){\n\t\t\t\t\tmin = arr[i];\n\t\t\t\t}\n\t\t\t\tif(max < arr[i]){\n\t\t\t\t\tmax = arr[i];\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < arr.length; i++){\n\t\t\t\tsum += arr[i];\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "Main" ]
public class Main { public static void main(String[] args){ java.util.Scanner scan = new java.util.Scanner(System.in); int n = scan.nextInt(); long min,max,sum = 0; long[] arr = new long[n]; for(int i = 0;i < n;i++){ arr[i] = scan.nextInt(); } min = arr[0]; max = arr[0]; for(int i = 0; i < arr.length; i++){ if(min > arr[i]){ min = arr[i]; } if(max < arr[i]){ max = arr[i]; } } for(int i = 0; i < arr.length; i++){ sum += arr[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, 4, 18, 4, 18, 13, 17, 41, 13, 40, 17, 41, 13, 17, 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, 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 ], [ 97, 5 ], [ 97, 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 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 38, 48 ], [ 48, 49 ], [ 49, 50 ], [ 38, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 52, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 52, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 52, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 88, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 88, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.io.*;\npublic class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int x=Integer.parseInt(buf.readLine());\n String num[]=buf.readLine().split(\" \");\n int max=-99999999,min=99999999;\n long sum=0;\n for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int x=Integer.parseInt(buf.readLine());\n String num[]=buf.readLine().split(\" \");\n int max=-99999999,min=99999999;\n long sum=0;\n for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main", "public static void main(String[] args) throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int x=Integer.parseInt(buf.readLine());\n String num[]=buf.readLine().split(\" \");\n int max=-99999999,min=99999999;\n long sum=0;\n for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "main", "{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int x=Integer.parseInt(buf.readLine());\n String num[]=buf.readLine().split(\" \");\n int max=-99999999,min=99999999;\n long sum=0;\n for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }", "BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));", "buf", "new BufferedReader(new InputStreamReader(System.in))", "int x=Integer.parseInt(buf.readLine());", "x", "Integer.parseInt(buf.readLine())", "Integer.parseInt", "Integer", "buf.readLine()", "buf.readLine", "buf", "String num[]=buf.readLine().split(\" \");", "num", "buf.readLine().split(\" \")", "buf.readLine().split", "buf.readLine()", "buf.readLine", "buf", "\" \"", "int max=-99999999", "max", "-99999999", "99999999", "min=99999999;", "min", "99999999", "long sum=0;", "sum", "0", "for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }", "int i=0;", "int i=0;", "i", "0", "i<num.length", "i", "num.length", "num", "num.length", "i++", "i++", "i", "{\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }", "{\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }", "int tmp=Integer.parseInt(num[i]);", "tmp", "Integer.parseInt(num[i])", "Integer.parseInt", "Integer", "num[i]", "num", "i", "if(tmp>max){\n max=tmp;\n }", "tmp>max", "tmp", "max", "{\n max=tmp;\n }", "max=tmp", "max", "tmp", "if(tmp<min){\n min=tmp;\n }", "tmp<min", "tmp", "min", "{\n min=tmp;\n }", "min=tmp", "min", "tmp", "sum +=tmp", "sum", "tmp", "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) throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int x=Integer.parseInt(buf.readLine());\n String num[]=buf.readLine().split(\" \");\n int max=-99999999,min=99999999;\n long sum=0;\n for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "public class Main{\n public static void main(String[] args) throws Exception{\n BufferedReader buf=new BufferedReader(new InputStreamReader(System.in));\n int x=Integer.parseInt(buf.readLine());\n String num[]=buf.readLine().split(\" \");\n int max=-99999999,min=99999999;\n long sum=0;\n for(int i=0;i<num.length;i++){\n int tmp=Integer.parseInt(num[i]);\n if(tmp>max){\n max=tmp;\n }if(tmp<min){\n min=tmp;\n }\n sum +=tmp;\n \n }\n System.out.println(min+\" \"+max+\" \"+sum);\n }\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[] args) throws Exception{ BufferedReader buf=new BufferedReader(new InputStreamReader(System.in)); int x=Integer.parseInt(buf.readLine()); String num[]=buf.readLine().split(" "); int max=-99999999,min=99999999; long sum=0; for(int i=0;i<num.length;i++){ int tmp=Integer.parseInt(num[i]); if(tmp>max){ max=tmp; }if(tmp<min){ min=tmp; } sum +=tmp; } 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 17, 12, 13, 30, 0, 13, 17, 28, 13, 13, 30, 30, 0, 13, 13, 29, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 0, 13, 4, 18, 13, 2, 4, 18, 13, 17, 29, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 0, 13, 4, 18, 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 ], [ 135, 11 ], [ 135, 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 ], [ 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 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 56, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 54, 66 ], [ 56, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 12, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 84, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 80, 92 ], [ 92, 93 ], [ 78, 94 ], [ 94, 95 ], [ 73, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 108, 112 ], [ 98, 113 ], [ 113, 114 ], [ 96, 115 ], [ 115, 116 ], [ 73, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 119, 130 ], [ 130, 131 ], [ 117, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n ArrayList<Integer> set = new ArrayList<>(num);\n for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }\n GetMinMaxSum gmms = new GetMinMaxSum();\n System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set));\n }\n}\nclass GetMinMaxSum{\n long ret = 0;\n long sum(ArrayList<Integer> list){\n ret = 0;\n for(int a : list){\n ret += a;\n }\n return ret;\n }\n long max(ArrayList<Integer> list){\n Collections.sort(list);\n ret = list.get(list.size()-1);\n return ret;\n }\n long min(ArrayList<Integer> list){\n Collections.sort(list);\n ret = list.get(0);\n return ret;\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 num = sc.nextInt();\n ArrayList<Integer> set = new ArrayList<>(num);\n for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }\n GetMinMaxSum gmms = new GetMinMaxSum();\n System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set));\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n ArrayList<Integer> set = new ArrayList<>(num);\n for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }\n GetMinMaxSum gmms = new GetMinMaxSum();\n System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n ArrayList<Integer> set = new ArrayList<>(num);\n for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }\n GetMinMaxSum gmms = new GetMinMaxSum();\n System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<Integer> set = new ArrayList<>(num);", "set", "new ArrayList<>(num)", "for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n set.add(sc.nextInt());\n }", "{\n set.add(sc.nextInt());\n }", "set.add(sc.nextInt())", "set.add", "set", "sc.nextInt()", "sc.nextInt", "sc", "GetMinMaxSum gmms = new GetMinMaxSum();", "gmms", "new GetMinMaxSum()", "System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set))", "System.out.println", "System.out", "System", "System.out", "gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set)", "\" \"", "gmms.max(set)", "gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set)", "gmms.min(set)", "gmms.min", "gmms", "set", "\" \"", "gmms.max(set)", "gmms.max", "gmms", "set", "\" \"", "gmms.sum(set)", "gmms.sum", "gmms", "set", "String[] args", "args", "class GetMinMaxSum{\n long ret = 0;\n long sum(ArrayList<Integer> list){\n ret = 0;\n for(int a : list){\n ret += a;\n }\n return ret;\n }\n long max(ArrayList<Integer> list){\n Collections.sort(list);\n ret = list.get(list.size()-1);\n return ret;\n }\n long min(ArrayList<Integer> list){\n Collections.sort(list);\n ret = list.get(0);\n return ret;\n }\n}", "GetMinMaxSum", "long ret = 0;", "ret", "0", "long sum(ArrayList<Integer> list){\n ret = 0;\n for(int a : list){\n ret += a;\n }\n return ret;\n }", "sum", "{\n ret = 0;\n for(int a : list){\n ret += a;\n }\n return ret;\n }", "ret = 0", "ret", "0", "for(int a : list){\n ret += a;\n }", "int a", "list", "{\n ret += a;\n }", "{\n ret += a;\n }", "ret += a", "ret", "a", "return ret;", "ret", "ArrayList<Integer> list", "list", "long max(ArrayList<Integer> list){\n Collections.sort(list);\n ret = list.get(list.size()-1);\n return ret;\n }", "max", "{\n Collections.sort(list);\n ret = list.get(list.size()-1);\n return ret;\n }", "Collections.sort(list)", "Collections.sort", "Collections", "list", "ret = list.get(list.size()-1)", "ret", "list.get(list.size()-1)", "list.get", "list", "list.size()-1", "list.size()", "list.size", "list", "1", "return ret;", "ret", "ArrayList<Integer> list", "list", "long min(ArrayList<Integer> list){\n Collections.sort(list);\n ret = list.get(0);\n return ret;\n }", "min", "{\n Collections.sort(list);\n ret = list.get(0);\n return ret;\n }", "Collections.sort(list)", "Collections.sort", "Collections", "list", "ret = list.get(0)", "ret", "list.get(0)", "list.get", "list", "0", "return ret;", "ret", "ArrayList<Integer> list", "list", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n ArrayList<Integer> set = new ArrayList<>(num);\n for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }\n GetMinMaxSum gmms = new GetMinMaxSum();\n System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set));\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n ArrayList<Integer> set = new ArrayList<>(num);\n for(int i=0;i<num;i++){\n set.add(sc.nextInt());\n }\n GetMinMaxSum gmms = new GetMinMaxSum();\n System.out.println(gmms.min(set) + \" \" + gmms.max(set) + \" \" + gmms.sum(set));\n }\n}", "Main" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); ArrayList<Integer> set = new ArrayList<>(num); for(int i=0;i<num;i++){ set.add(sc.nextInt()); } GetMinMaxSum gmms = new GetMinMaxSum(); System.out.println(gmms.min(set) + " " + gmms.max(set) + " " + gmms.sum(set)); } } class GetMinMaxSum{ long ret = 0; long sum(ArrayList<Integer> list){ ret = 0; for(int a : list){ ret += a; } return ret; } long max(ArrayList<Integer> list){ Collections.sort(list); ret = list.get(list.size()-1); return ret; } long min(ArrayList<Integer> list){ Collections.sort(list); ret = list.get(0); return ret; } }
[ 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, 4, 18, 13, 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, 14, 2, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 13, 18, 13, 13, 0, 13, 4, 18, 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 ], [ 119, 5 ], [ 119, 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 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 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 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 64, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 82, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 64, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 107, 113 ], [ 107, 114 ], [ 107, 115 ], [ 6, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "import java.util.Scanner;\n \npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n long max = Integer.parseInt(str[0]);\n long total = Integer.parseInt(str[0]);\n long min = Integer.parseInt(str[0]);\n for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }\n System.out.printf(\"%d %d %d\\n\", min, max, total);\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 num = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n long max = Integer.parseInt(str[0]);\n long total = Integer.parseInt(str[0]);\n long min = Integer.parseInt(str[0]);\n for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }\n System.out.printf(\"%d %d %d\\n\", min, max, total);\n }\n \n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n long max = Integer.parseInt(str[0]);\n long total = Integer.parseInt(str[0]);\n long min = Integer.parseInt(str[0]);\n for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }\n System.out.printf(\"%d %d %d\\n\", min, max, total);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n long max = Integer.parseInt(str[0]);\n long total = Integer.parseInt(str[0]);\n long min = Integer.parseInt(str[0]);\n for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }\n System.out.printf(\"%d %d %d\\n\", min, max, total);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num = Integer.parseInt(sc.nextLine());", "num", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "String[] str = sc.nextLine().split(\" \");", "str", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "long max = Integer.parseInt(str[0]);", "max", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "long total = Integer.parseInt(str[0]);", "total", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "long min = Integer.parseInt(str[0]);", "min", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }", "int cnt = 1;", "int cnt = 1;", "cnt", "1", "cnt < num", "cnt", "num", "cnt++", "cnt++", "cnt", "{\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }", "{\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }", "if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);", "max < Integer.parseInt(str[cnt])", "max", "Integer.parseInt(str[cnt])", "Integer.parseInt", "Integer", "str[cnt]", "str", "cnt", "max = Integer.parseInt(str[cnt])", "max", "Integer.parseInt(str[cnt])", "Integer.parseInt", "Integer", "str[cnt]", "str", "cnt", "if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);", "min > Integer.parseInt(str[cnt])", "min", "Integer.parseInt(str[cnt])", "Integer.parseInt", "Integer", "str[cnt]", "str", "cnt", "min = Integer.parseInt(str[cnt])", "min", "Integer.parseInt(str[cnt])", "Integer.parseInt", "Integer", "str[cnt]", "str", "cnt", "total += Integer.parseInt(str[cnt])", "total", "Integer.parseInt(str[cnt])", "Integer.parseInt", "Integer", "str[cnt]", "str", "cnt", "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", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n long max = Integer.parseInt(str[0]);\n long total = Integer.parseInt(str[0]);\n long min = Integer.parseInt(str[0]);\n for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }\n System.out.printf(\"%d %d %d\\n\", min, max, total);\n }\n \n}", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.parseInt(sc.nextLine());\n String[] str = sc.nextLine().split(\" \");\n long max = Integer.parseInt(str[0]);\n long total = Integer.parseInt(str[0]);\n long min = Integer.parseInt(str[0]);\n for(int cnt = 1; cnt < num; cnt++){\n if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]);\n if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]);\n total += Integer.parseInt(str[cnt]);\n }\n System.out.printf(\"%d %d %d\\n\", min, max, total);\n }\n \n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int num = Integer.parseInt(sc.nextLine()); String[] str = sc.nextLine().split(" "); long max = Integer.parseInt(str[0]); long total = Integer.parseInt(str[0]); long min = Integer.parseInt(str[0]); for(int cnt = 1; cnt < num; cnt++){ if(max < Integer.parseInt(str[cnt])) max = Integer.parseInt(str[cnt]); if(min > Integer.parseInt(str[cnt])) min = Integer.parseInt(str[cnt]); total += Integer.parseInt(str[cnt]); } System.out.printf("%d %d %d\n", min, max, total); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 30, 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, 13, 41, 13, 41, 13, 41, 13, 0, 13, 17, 0, 13, 40, 17, 0, 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, 0, 13, 18, 13, 13, 14, 2, 18, 13, 13, 13, 0, 13, 18, 13, 13, 14, 2, 18, 13, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 143, 11 ], [ 143, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 18, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 30, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 30, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 30, 53 ], [ 53, 54 ], [ 53, 55 ], [ 30, 57 ], [ 57, 58 ], [ 30, 59 ], [ 59, 60 ], [ 30, 61 ], [ 61, 62 ], [ 30, 63 ], [ 63, 64 ], [ 63, 65 ], [ 30, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 30, 70 ], [ 70, 71 ], [ 70, 72 ], [ 30, 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 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 93, 95 ], [ 85, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 85, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 85, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 112, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 30, 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 ], [ 30, 137 ], [ 137, 138 ], [ 138, 139 ], [ 12, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n\n\tpublic static void main(String[] args){\n\n//\t\tScanner scan = new Scanner(System.in);\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\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\n\tpublic static void main(String[] args){\n\n//\t\tScanner scan = new Scanner(System.in);\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args){\n\n//\t\tScanner scan = new Scanner(System.in);\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}", "main", "{\n\n//\t\tScanner scan = new Scanner(System.in);\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}", "BufferedReader reader=new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}", "catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}", "System.out.println(\"??¨??????:\"+e)", "System.out.println", "System.out", "System", "System.out", "\"??¨??????:\"+e", "\"??¨??????:\"", "e", "{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}", "String t=reader.readLine();", "t", "reader.readLine()", "reader.readLine", "reader", "String s=reader.readLine();", "s", "reader.readLine()", "reader.readLine", "reader", "int n=Integer.parseInt(t);", "n", "Integer.parseInt(t)", "Integer.parseInt", "Integer", "t", "String[] str =s.split(\" \");", "str", "s.split(\" \")", "s.split", "s", "\" \"", "int array_num[]= new int[n];", "array_num", "new int[n]", "n", "long max", "max", "min", "min", "sum;", "sum", "sum=0", "sum", "0", "max=-1000000", "max", "-1000000", "1000000", "min=1000000", "min", "1000000", "for(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[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_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}", "{\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}", "array_num[i]=Integer.parseInt(str[i])", "array_num[i]", "array_num", "i", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "sum+=array_num[i]", "sum", "array_num[i]", "array_num", "i", "if(array_num[i]>max)max=array_num[i];", "array_num[i]>max", "array_num[i]", "array_num", "i", "max", "max=array_num[i]", "max", "array_num[i]", "array_num", "i", "if(array_num[i]<min)min=array_num[i];", "array_num[i]<min", "array_num[i]", "array_num", "i", "min", "min=array_num[i]", "min", "array_num[i]", "array_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", "reader.close()", "reader.close", "reader", "String[] args", "args", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n//\t\tScanner scan = new Scanner(System.in);\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\n\t}\n\n}", "public class Main{\n\n\n\tpublic static void main(String[] args){\n\n//\t\tScanner scan = new Scanner(System.in);\n\t\tBufferedReader reader=new BufferedReader(new InputStreamReader(System.in));\n\n\t\ttry{\n\t\t\t//int n=scan.nextInt();//int?????????int???????????????????????§?????????????????????\n\t\t\tString t=reader.readLine();\n\t\t\tString s=reader.readLine();//String????????????????????????????????????\n\t\t\tint n=Integer.parseInt(t);\n\t\t\tString[] str =s.split(\" \");//\n\t\t\tint array_num[]= new int[n];\n\t\t\tlong max, min, sum;\n\t\t\tsum=0;\n\t\t\tmax=-1000000;\n\t\t\tmin=1000000;\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\tarray_num[i]=Integer.parseInt(str[i]);\n\t\t\t\tsum+=array_num[i];\n\n\t\t\t\tif(array_num[i]>max)max=array_num[i];\n\t\t\t\tif(array_num[i]<min)min=array_num[i];\n\t\t\t}\n\n\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\n\n\n\t//\t\tscan.close();\n\t\t\treader.close();\n\t\t}catch(IOException e){\n\t\t\tSystem.out.println(\"??¨??????:\"+e);\n\n\t\t}\n\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){ // Scanner scan = new Scanner(System.in); BufferedReader reader=new BufferedReader(new InputStreamReader(System.in)); try{ //int n=scan.nextInt();//int?????????int???????????????????????§????????????????????? String t=reader.readLine(); String s=reader.readLine();//String???????????????????????????????????? int n=Integer.parseInt(t); String[] str =s.split(" ");// int array_num[]= new int[n]; long max, min, sum; sum=0; max=-1000000; min=1000000; for(int i=0;i<n;i++){ array_num[i]=Integer.parseInt(str[i]); sum+=array_num[i]; if(array_num[i]>max)max=array_num[i]; if(array_num[i]<min)min=array_num[i]; } System.out.println(min+" "+max+" "+sum); // scan.close(); reader.close(); }catch(IOException e){ System.out.println("??¨??????:"+e); } } }
[ 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, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 0, 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, 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, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 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 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 43, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 8, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 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.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int[] a = new int[n];\n long max, min, sum = 0;\n ArrayList<Integer> z = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }\n max = Collections.max(z);\n min = Collections.min(z);\n\n// max = a[0];\n// min = a[0];\n\n /*for (int num : a) {\n if (max < num) {\n max = num;\n } else if (min > num) {\n min = num;\n }\n sum += num;\n }*/\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int[] a = new int[n];\n long max, min, sum = 0;\n ArrayList<Integer> z = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }\n max = Collections.max(z);\n min = Collections.min(z);\n\n// max = a[0];\n// min = a[0];\n\n /*for (int num : a) {\n if (max < num) {\n max = num;\n } else if (min > num) {\n min = num;\n }\n sum += num;\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[] a = new int[n];\n long max, min, sum = 0;\n ArrayList<Integer> z = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }\n max = Collections.max(z);\n min = Collections.min(z);\n\n// max = a[0];\n// min = a[0];\n\n /*for (int num : a) {\n if (max < num) {\n max = num;\n } else if (min > num) {\n min = num;\n }\n sum += num;\n }*/\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int[] a = new int[n];\n long max, min, sum = 0;\n ArrayList<Integer> z = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }\n max = Collections.max(z);\n min = Collections.min(z);\n\n// max = a[0];\n// min = a[0];\n\n /*for (int num : a) {\n if (max < num) {\n max = num;\n } else if (min > num) {\n min = num;\n }\n sum += num;\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[] a = new int[n];", "a", "new int[n]", "n", "long max", "max", "min", "min", "sum = 0;", "sum", "0", "ArrayList<Integer> z = new ArrayList<>();", "z", "new ArrayList<>()", "for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }", "{\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }", "z.add(scan.nextInt())", "z.add", "z", "scan.nextInt()", "scan.nextInt", "scan", "sum += z.get(i)", "sum", "z.get(i)", "z.get", "z", "i", "max = Collections.max(z)", "max", "Collections.max(z)", "Collections.max", "Collections", "z", "min = Collections.min(z)", "min", "Collections.min(z)", "Collections.min", "Collections", "z", "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 scan = new Scanner(System.in);\n int n = scan.nextInt();\n int[] a = new int[n];\n long max, min, sum = 0;\n ArrayList<Integer> z = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }\n max = Collections.max(z);\n min = Collections.min(z);\n\n// max = a[0];\n// min = a[0];\n\n /*for (int num : a) {\n if (max < num) {\n max = num;\n } else if (min > num) {\n min = num;\n }\n sum += num;\n }*/\n System.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int[] a = new int[n];\n long max, min, sum = 0;\n ArrayList<Integer> z = new ArrayList<>();\n\n for (int i = 0; i < n; i++) {\n z.add(scan.nextInt());\n sum += z.get(i);\n// a[i] = scan.nextInt();\n }\n max = Collections.max(z);\n min = Collections.min(z);\n\n// max = a[0];\n// min = a[0];\n\n /*for (int num : a) {\n if (max < num) {\n max = num;\n } else if (min > num) {\n min = num;\n }\n sum += num;\n }*/\n System.out.println(min + \" \" + max + \" \" + sum);\n }\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[] a = new int[n]; long max, min, sum = 0; ArrayList<Integer> z = new ArrayList<>(); for (int i = 0; i < n; i++) { z.add(scan.nextInt()); sum += z.get(i); // a[i] = scan.nextInt(); } max = Collections.max(z); min = Collections.min(z); // max = a[0]; // min = a[0]; /*for (int num : a) { if (max < num) { max = num; } else if (min > num) { min = num; } sum += num; }*/ System.out.println(min + " " + max + " " + 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, 4, 18, 13, 41, 13, 4, 18, 13, 20, 13, 41, 13, 40, 17, 41, 13, 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, 13, 13, 4, 18, 13, 17, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 41, 13, 17, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 12, 13, 30, 4, 13, 18, 13, 13, 13, 12, 13, 30, 4, 13, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 4, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 12, 13, 30, 29, 13, 12, 13, 30, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 2, 13, 17, 23, 13, 12, 13, 30, 40, 13, 4, 13, 12, 13, 30, 29, 18, 4, 13, 20, 17, 17, 12, 13, 30, 4, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 41, 13, 17, 41, 13, 42, 2, 40, 4, 13, 0, 13, 18, 13, 13, 40, 4, 13, 13, 4, 13, 14, 4, 13, 18, 13, 13, 30, 0, 13, 40, 17, 4, 13, 42, 4, 13, 0, 13, 18, 13, 13, 30, 0, 13, 17, 0, 13, 2, 13, 17, 4, 13, 4, 13, 0, 18, 13, 13, 2, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 40, 4, 18, 18, 36, 13, 18, 13, 13, 4, 18, 18, 36, 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 ], [ 357, 17 ], [ 357, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 20, 43 ], [ 43, 44 ], [ 43, 45 ], [ 20, 46 ], [ 46, 47 ], [ 46, 48 ], [ 20, 49 ], [ 49, 50 ], [ 49, 51 ], [ 49, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 53, 68 ], [ 68, 69 ], [ 68, 70 ], [ 20, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 20, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 20, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 20, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 20, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 20, 91 ], [ 91, 92 ], [ 92, 93 ], [ 20, 94 ], [ 94, 95 ], [ 95, 96 ], [ 357, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 97, 103 ], [ 103, 104 ], [ 0, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 105, 112 ], [ 112, 113 ], [ 112, 114 ], [ 105, 115 ], [ 115, 116 ], [ 115, 117 ], [ 105, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 105, 122 ], [ 122, 123 ], [ 122, 124 ], [ 105, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 105, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 134, 143 ], [ 143, 144 ], [ 105, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 148, 151 ], [ 145, 152 ], [ 152, 153 ], [ 105, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 160, 162 ], [ 154, 163 ], [ 163, 164 ], [ 154, 165 ], [ 165, 166 ], [ 105, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 167, 173 ], [ 173, 174 ], [ 105, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 175, 182 ], [ 182, 183 ], [ 105, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 193, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 195, 202 ], [ 202, 203 ], [ 202, 204 ], [ 105, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 105, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 218, 219 ], [ 218, 220 ], [ 210, 221 ], [ 221, 222 ], [ 105, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 223, 230 ], [ 230, 231 ], [ 105, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 235, 236 ], [ 234, 237 ], [ 237, 238 ], [ 105, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 243, 248 ], [ 105, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 252, 253 ], [ 251, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 254, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 261, 263 ], [ 254, 264 ], [ 264, 265 ], [ 265, 266 ], [ 254, 267 ], [ 268, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 268, 272 ], [ 272, 273 ], [ 272, 274 ], [ 268, 275 ], [ 275, 276 ], [ 268, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 284, 286 ], [ 278, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 277, 291 ], [ 291, 292 ], [ 268, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 296, 298 ], [ 293, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 299, 304 ], [ 304, 305 ], [ 268, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 309, 310 ], [ 309, 311 ], [ 311, 312 ], [ 311, 313 ], [ 306, 314 ], [ 314, 315 ], [ 315, 316 ], [ 315, 317 ], [ 314, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 320, 322 ], [ 314, 323 ], [ 323, 324 ], [ 268, 325 ], [ 325, 326 ], [ 268, 327 ], [ 327, 328 ], [ 328, 329 ], [ 328, 330 ], [ 327, 331 ], [ 331, 332 ], [ 331, 333 ], [ 251, 334 ], [ 334, 335 ], [ 249, 336 ], [ 336, 337 ], [ 105, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 345, 347 ], [ 343, 348 ], [ 348, 349 ], [ 348, 350 ], [ 341, 351 ], [ 351, 352 ], [ 352, 353 ], [ 353, 354 ], [ 353, 355 ], [ 0, 356 ], [ 356, 357 ], [ 356, 358 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\n\npublic class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = input.nextInt();\n\t\tint[] a = input.nextInt(new int[n]);\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0L;\n\t\tfor(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}\n\t\tout.print(min);\n\t\tout.print(' ');\n\t\tout.print(max);\n\t\tout.print(' ');\n\t\tout.println(sum);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}\n\n/**\n * --------------------------------------------------\n * Input Utility\n * --------------------------------------------------\n */\nclass InputUtil {\n\t//Static Fields\n\tprivate static final int BUFSIZ = 50000;\n\t\n\t//Fields\n\tprotected InputStream in;\n\tprivate char[] buf = null;\n\tprivate int ptr = 0;\n\tprivate int max = -1;\n\tprivate BufferedReader br = null;\n\t\n\t//Constructors\n\tpublic InputUtil() {this(System.in,BUFSIZ);}\n\tpublic InputUtil(int bufsiz) {this(System.in,bufsiz);}\n\tpublic InputUtil(InputStream in) {this(in,BUFSIZ);}\n\tpublic InputUtil(InputStream in, int bufsiz) {\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}\n\t\n\t//Methods\n\t//Initializer\n\tprotected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}\n\tprotected void initBuf(int bufsiz) {buf = new char[bufsiz];}\n\t\n\t//String Input Reader/Parser\n\tprivate void readBuf() throws IOException {\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}\n\t\n\tpublic BufferedReader getReader() {return br;}\n\t\n\t//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }\n\tprivate boolean isMinus(char b) {return b=='-'; }\n\tprivate void next() throws IOException {ptr++; readBuf();}\n\n\n\tpublic int nextInt() throws IOException {return nextInt(new int[1])[0];}\n\tpublic int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\t//Close \n\tpublic void close() throws IOException {\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}\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", "public class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = input.nextInt();\n\t\tint[] a = input.nextInt(new int[n]);\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0L;\n\t\tfor(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}\n\t\tout.print(min);\n\t\tout.print(' ');\n\t\tout.print(max);\n\t\tout.print(' ');\n\t\tout.println(sum);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}", "Main", "public void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = input.nextInt();\n\t\tint[] a = input.nextInt(new int[n]);\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0L;\n\t\tfor(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}\n\t\tout.print(min);\n\t\tout.print(' ');\n\t\tout.print(max);\n\t\tout.print(' ');\n\t\tout.println(sum);\n\t\tout.flush();\n\t\tinput.close();\n\t}", "exec", "{\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = input.nextInt();\n\t\tint[] a = input.nextInt(new int[n]);\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0L;\n\t\tfor(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}\n\t\tout.print(min);\n\t\tout.print(' ');\n\t\tout.print(max);\n\t\tout.print(' ');\n\t\tout.println(sum);\n\t\tout.flush();\n\t\tinput.close();\n\t}", "InputUtil input = new InputUtil();", "input", "new InputUtil()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "int[] a = input.nextInt(new int[n]);", "a", "input.nextInt(new int[n])", "input.nextInt", "input", "new int[n]", "n", "int max = -1000001;", "max", "-1000001", "1000001", "int min = 1000001;", "min", "1000001", "long sum = 0L;", "sum", "0L", "for(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}", "int ai", "a", "{\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}", "{\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}", "if(ai<min) min=ai;", "ai<min", "ai", "min", "min=ai", "min", "ai", "if(max<ai) max=ai;", "max<ai", "max", "ai", "max=ai", "max", "ai", "sum += ai", "sum", "ai", "out.print(min)", "out.print", "out", "min", "out.print(' ')", "out.print", "out", "' '", "out.print(max)", "out.print", "out", "max", "out.print(' ')", "out.print", "out", "' '", "out.println(sum)", "out.println", "out", "sum", "out.flush()", "out.flush", "out", "input.close()", "input.close", "input", "public static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}", "main", "{\n\t\tnew Main().exec();\n\t}", "new Main().exec()", "new Main().exec", "new Main()", "String[] args", "args", "class InputUtil {\n\t//Static Fields\n\tprivate static final int BUFSIZ = 50000;\n\t\n\t//Fields\n\tprotected InputStream in;\n\tprivate char[] buf = null;\n\tprivate int ptr = 0;\n\tprivate int max = -1;\n\tprivate BufferedReader br = null;\n\t\n\t//Constructors\n\tpublic InputUtil() {this(System.in,BUFSIZ);}\n\tpublic InputUtil(int bufsiz) {this(System.in,bufsiz);}\n\tpublic InputUtil(InputStream in) {this(in,BUFSIZ);}\n\tpublic InputUtil(InputStream in, int bufsiz) {\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}\n\t\n\t//Methods\n\t//Initializer\n\tprotected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}\n\tprotected void initBuf(int bufsiz) {buf = new char[bufsiz];}\n\t\n\t//String Input Reader/Parser\n\tprivate void readBuf() throws IOException {\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}\n\t\n\tpublic BufferedReader getReader() {return br;}\n\t\n\t//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }\n\tprivate boolean isMinus(char b) {return b=='-'; }\n\tprivate void next() throws IOException {ptr++; readBuf();}\n\n\n\tpublic int nextInt() throws IOException {return nextInt(new int[1])[0];}\n\tpublic int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}\n\t\n\t//Close \n\tpublic void close() throws IOException {\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}\n\n}", "InputUtil", "//Static Fields\n\tprivate static final int BUFSIZ = 50000;", "BUFSIZ", "50000", "//Fields\n\tprotected InputStream in;", "in", "private char[] buf = null;", "buf", "null", "private int ptr = 0;", "ptr", "0", "private int max = -1;", "max", "-1", "1", "private BufferedReader br = null;", "br", "null", "//Constructors\n\tpublic InputUtil() {this(System.in,BUFSIZ);}", "InputUtil", "{this(System.in,BUFSIZ);}", "this(System.in,BUFSIZ)", "this", "System.in", "System", "System.in", "BUFSIZ", "public InputUtil(int bufsiz) {this(System.in,bufsiz);}", "InputUtil", "{this(System.in,bufsiz);}", "this(System.in,bufsiz)", "this", "System.in", "System", "System.in", "bufsiz", "int bufsiz", "bufsiz", "public InputUtil(InputStream in) {this(in,BUFSIZ);}", "InputUtil", "{this(in,BUFSIZ);}", "this(in,BUFSIZ)", "this", "in", "BUFSIZ", "InputStream in", "in", "public InputUtil(InputStream in, int bufsiz) {\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}", "InputUtil", "{\n\t\tinitBuf(bufsiz);\n\t\tinitIn(in);\n\t}", "initBuf(bufsiz)", "initBuf", "bufsiz", "initIn(in)", "initIn", "in", "InputStream in", "in", "int bufsiz", "bufsiz", "//Methods\n\t//Initializer\n\tprotected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));}", "initIn", "{br = new BufferedReader(new InputStreamReader(this.in = in));}", "br = new BufferedReader(new InputStreamReader(this.in = in))", "br", "new BufferedReader(new InputStreamReader(this.in = in))", "InputStream in", "in", "protected void initBuf(int bufsiz) {buf = new char[bufsiz];}", "initBuf", "{buf = new char[bufsiz];}", "buf = new char[bufsiz]", "buf", "new char[bufsiz]", "bufsiz", "int bufsiz", "bufsiz", "//String Input Reader/Parser\n\tprivate void readBuf() throws IOException {\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}", "readBuf", "{\n\t\tif(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}\n\t}", "if(ptr >= max && br.ready()) {\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}", "ptr >= max && br.ready()", "ptr >= max", "ptr", "max", "br.ready()", "br.ready", "br", "{\n\t\t\tmax = br.read(buf);\n\t\t\tptr = 0;\n\t\t}", "max = br.read(buf)", "max", "br.read(buf)", "br.read", "br", "buf", "ptr = 0", "ptr", "0", "public BufferedReader getReader() {return br;}", "getReader", "{return br;}", "return br;", "br", "//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }", "isNum", "{return '0' <= b && b <= '9'; }", "return '0' <= b && b <= '9';", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "char b", "b", "private boolean isMinus(char b) {return b=='-'; }", "isMinus", "{return b=='-'; }", "return b=='-';", "b=='-'", "b", "'-'", "char b", "b", "private void next() throws IOException {ptr++; readBuf();}", "next", "{ptr++; readBuf();}", "ptr++", "ptr", "readBuf()", "readBuf", "public int nextInt() throws IOException {return nextInt(new int[1])[0];}", "nextInt", "{return nextInt(new int[1])[0];}", "return nextInt(new int[1])[0];", "nextInt(new int[1])[0]", "nextInt(new int[1])", "nextInt", "new int[1]", "1", "0", "public int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}", "nextInt", "{\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}\n\t\treturn result;\n\t}", "readBuf()", "readBuf", "for(int i=0; i<result.length; i++) {\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<result.length", "i", "result.length", "result", "result.length", "i++", "i++", "i", "{\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}", "{\n\t\t\tint sign = 1;\n\t\t\tint res = 0;\n\t\t\tchar c;\n\t\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();\n\t\t\tif (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\twhile (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}\n\t\t\tnext();\n\t\t\tresult[i] = sign * res;\n\t\t}", "int sign = 1;", "sign", "1", "int res = 0;", "res", "0", "char c;", "c", "while (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\t\tnext();", "!isNum(c=buf[ptr]) && !isMinus(c)", "!isNum(c=buf[ptr])", "isNum(c=buf[ptr])", "isNum", "c=buf[ptr]", "c", "buf[ptr]", "buf", "ptr", "!isMinus(c)", "isMinus(c)", "isMinus", "c", "next()", "next", "if (isMinus(buf[ptr])) {\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}", "isMinus(buf[ptr])", "isMinus", "buf[ptr]", "buf", "ptr", "{\n\t\t\t\tsign = -1;\n\t\t\t\tnext();\n\t\t\t}", "sign = -1", "sign", "-1", "1", "next()", "next", "while (isNum(c=buf[ptr])) {\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}", "isNum(c=buf[ptr])", "isNum", "c=buf[ptr]", "c", "buf[ptr]", "buf", "ptr", "{\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0' ;\n\t\t\t\tnext();\n\t\t\t}", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "next()", "next", "next()", "next", "result[i] = sign * res", "result[i]", "result", "i", "sign * res", "sign", "res", "return result;", "result", "int[] result", "result", "//Close \n\tpublic void close() throws IOException {\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}", "close", "{\n\t\tif(!this.in.equals(System.in)) \n\t\t\tthis.in.close();\n\t}", "if(!this.in.equals(System.in)) \n\t\t\tthis.in.close();", "!this.in.equals(System.in)", "this.in.equals(System.in)", "this.in.equals", "this.in", "this", "this.in", "System.in", "System", "System.in", "this.in.close()", "this.in.close", "this.in", "this", "this.in", "public class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = input.nextInt();\n\t\tint[] a = input.nextInt(new int[n]);\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0L;\n\t\tfor(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}\n\t\tout.print(min);\n\t\tout.print(' ');\n\t\tout.print(max);\n\t\tout.print(' ');\n\t\tout.println(sum);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}", "public class Main {\n\tpublic void exec() throws IOException {\n\t\tInputUtil input = new InputUtil();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = input.nextInt();\n\t\tint[] a = input.nextInt(new int[n]);\n\t\tint max = -1000001;\n\t\tint min = 1000001;\n\t\tlong sum = 0L;\n\t\tfor(int ai: a){\n\t\t\tif(ai<min) min=ai;\n\t\t\tif(max<ai) max=ai;\n\t\t\tsum += ai;\n\t\t}\n\t\tout.print(min);\n\t\tout.print(' ');\n\t\tout.print(max);\n\t\tout.print(' ');\n\t\tout.println(sum);\n\t\tout.flush();\n\t\tinput.close();\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tnew Main().exec();\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; public class Main { public void exec() throws IOException { InputUtil input = new InputUtil(); PrintWriter out = new PrintWriter(System.out); int n = input.nextInt(); int[] a = input.nextInt(new int[n]); int max = -1000001; int min = 1000001; long sum = 0L; for(int ai: a){ if(ai<min) min=ai; if(max<ai) max=ai; sum += ai; } out.print(min); out.print(' '); out.print(max); out.print(' '); out.println(sum); out.flush(); input.close(); } public static void main(String[] args) throws IOException { new Main().exec(); } } /** * -------------------------------------------------- * Input Utility * -------------------------------------------------- */ class InputUtil { //Static Fields private static final int BUFSIZ = 50000; //Fields protected InputStream in; private char[] buf = null; private int ptr = 0; private int max = -1; private BufferedReader br = null; //Constructors public InputUtil() {this(System.in,BUFSIZ);} public InputUtil(int bufsiz) {this(System.in,bufsiz);} public InputUtil(InputStream in) {this(in,BUFSIZ);} public InputUtil(InputStream in, int bufsiz) { initBuf(bufsiz); initIn(in); } //Methods //Initializer protected void initIn(InputStream in) {br = new BufferedReader(new InputStreamReader(this.in = in));} protected void initBuf(int bufsiz) {buf = new char[bufsiz];} //String Input Reader/Parser private void readBuf() throws IOException { if(ptr >= max && br.ready()) { max = br.read(buf); ptr = 0; } } public BufferedReader getReader() {return br;} //Number Input Reader/Parser private boolean isNum(char b) {return '0' <= b && b <= '9'; } private boolean isMinus(char b) {return b=='-'; } private void next() throws IOException {ptr++; readBuf();} public int nextInt() throws IOException {return nextInt(new int[1])[0];} public int[] nextInt(int[] result) throws IOException { readBuf(); for(int i=0; i<result.length; i++) { int sign = 1; int res = 0; char c; while (!isNum(c=buf[ptr]) && !isMinus(c)) next(); if (isMinus(buf[ptr])) { sign = -1; next(); } while (isNum(c=buf[ptr])) { res *= 10; res += c - '0' ; next(); } next(); result[i] = sign * res; } return result; } //Close public void close() throws IOException { if(!this.in.equals(System.in)) this.in.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 40, 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, 18, 13, 13, 0, 13, 18, 13, 13, 14, 2, 13, 18, 13, 13, 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 ], [ 97, 5 ], [ 97, 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 ], [ 23, 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 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 51, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 43, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 43, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 88, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 88, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "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 kaisu = scan.nextInt();\n\t\tlong[] num= new long[kaisu];\n\t\tlong max = -1000001;\n\t\tlong min = 1000001;\n\t\tlong sum = 0; \n\n\t\tfor(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\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 kaisu = scan.nextInt();\n\t\tlong[] num= new long[kaisu];\n\t\tlong max = -1000001;\n\t\tlong min = 1000001;\n\t\tlong sum = 0; \n\n\t\tfor(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\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 kaisu = scan.nextInt();\n\t\tlong[] num= new long[kaisu];\n\t\tlong max = -1000001;\n\t\tlong min = 1000001;\n\t\tlong sum = 0; \n\n\t\tfor(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\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 kaisu = scan.nextInt();\n\t\tlong[] num= new long[kaisu];\n\t\tlong max = -1000001;\n\t\tlong min = 1000001;\n\t\tlong sum = 0; \n\n\t\tfor(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\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 kaisu = scan.nextInt();", "kaisu", "scan.nextInt()", "scan.nextInt", "scan", "long[] num= new long[kaisu];", "num", "new long[kaisu]", "kaisu", "long max = -1000001;", "max", "-1000001", "1000001", "long min = 1000001;", "min", "1000001", "long sum = 0;", "sum", "0", "for(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < kaisu", "i", "kaisu", "i++", "i++", "i", "{\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\n\t\t}", "{\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\n\t\t}", "num[i] = scan.nextLong()", "num[i]", "num", "i", "scan.nextLong()", "scan.nextLong", "scan", "if(max < num[i]) max = num[i];", "max < num[i]", "max", "num[i]", "num", "i", "max = num[i]", "max", "num[i]", "num", "i", "if(min > num[i]) min = num[i];", "min > num[i]", "min", "num[i]", "num", "i", "min = num[i]", "min", "num[i]", "num", "i", "sum = sum + num[i]", "sum", "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 kaisu = scan.nextInt();\n\t\tlong[] num= new long[kaisu];\n\t\tlong max = -1000001;\n\t\tlong min = 1000001;\n\t\tlong sum = 0; \n\n\t\tfor(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[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\t\tScanner scan = new Scanner(System.in);\n\t\tint kaisu = scan.nextInt();\n\t\tlong[] num= new long[kaisu];\n\t\tlong max = -1000001;\n\t\tlong min = 1000001;\n\t\tlong sum = 0; \n\n\t\tfor(int i = 0; i < kaisu ; i++){\n\t\t\tnum[i] = scan.nextLong();\n\t\t\tif(max < num[i]) max = num[i];\n\t\t\tif(min > num[i]) min = num[i];\n\t\t\tsum = sum + num[i];\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 kaisu = scan.nextInt(); long[] num= new long[kaisu]; long max = -1000001; long min = 1000001; long sum = 0; for(int i = 0; i < kaisu ; i++){ num[i] = scan.nextLong(); if(max < num[i]) max = num[i]; if(min > num[i]) min = num[i]; sum = sum + num[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 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, 13, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 41, 13, 20, 14, 2, 2, 17, 13, 2, 13, 17, 30, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 17, 4, 18, 13, 3, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 17, 13, 2, 13, 17, 29, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 159, 17 ], [ 159, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 21, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 21, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 44, 46 ], [ 40, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 40, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 40, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 40, 63 ], [ 63, 64 ], [ 63, 65 ], [ 40, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 82, 84 ], [ 74, 85 ], [ 85, 86 ], [ 85, 87 ], [ 74, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 88, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 101, 107 ], [ 100, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 114, 115 ], [ 100, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 100, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 129, 131 ], [ 100, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 136, 138 ], [ 100, 139 ], [ 139, 140 ], [ 139, 141 ], [ 74, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 150, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 150, 155 ], [ 18, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.NoSuchElementException;\nimport java.util.StringTokenizer;\n\n\npublic class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\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.util.NoSuchElementException;", "NoSuchElementException", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}", "Main", "public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }", "main", "{\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }", "try{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}", "catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t}", "IOException e", "{\n \t\tSystem.err.println(e);\n\t\t}", "System.err.println(e)", "System.err.println", "System.err", "System", "System.err", "e", "catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}", "NoSuchElementException e", "{\n \t\tSystem.err.println(e);\n\t\t}", "System.err.println(e)", "System.err.println", "System.err", "System", "System.err", "e", "{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "String buf = br.readLine();", "buf", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(buf);", "n", "Integer.parseInt(buf)", "Integer.parseInt", "Integer", "buf", "String buf2 = br.readLine();", "buf2", "br.readLine()", "br.readLine", "br", "StringTokenizer st=new StringTokenizer(buf2,\" \");", "st", "new StringTokenizer(buf2,\" \")", "if(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}", "0 <=n && n <=10000", "0 <=n", "0", "n", "n <=10000", "n", "10000", "{\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}", "int max=-1000000;", "max", "-1000000", "1000000", "int min=1000000;", "min", "1000000", "long sum=0;", "sum", "0", "int a=0;", "a", "0", "for(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}", "int i=1;", "int i=1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}", "{\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}", "if(0 >= st.countTokens())\tbreak;", "0 >= st.countTokens()", "0", "st.countTokens()", "st.countTokens", "st", "break;", "a=Integer.parseInt( st.nextToken() )", "a", "Integer.parseInt( st.nextToken() )", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "if(0 >= a && a>=1000000)\treturn;", "0 >= a && a>=1000000", "0 >= a", "0", "a", "a>=1000000", "a", "1000000", "return;", "if(max < a)\n\t\t\t\t\t\tmax=a;", "max < a", "max", "a", "max=a", "max", "a", "if(min > a)\n\t\t\t\t\t\tmin=a;", "min > a", "min", "a", "min=a", "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", "public class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}", "public class Main {\n public static void main(String[] args) {\n \t\n \ttry{\n \t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\tString buf = br.readLine();\n\t\t\tint n = Integer.parseInt(buf);\n\t\t\tString buf2 = br.readLine();\n\t\t\tStringTokenizer st=new StringTokenizer(buf2,\" \");\n\t\t\tif(0 <=n && n <=10000){\n\t\t\t\tint max=-1000000;\n\t\t\t\tint min=1000000;\n\t\t\t\tlong sum=0;\n\t\t\t\tint a=0;\n\t\t\t\tfor(int i=1;i <= n; i++){\n\t\t\t\t\tif(0 >= st.countTokens())\tbreak;\n\t\t\t\t\ta=Integer.parseInt( st.nextToken() );\n\t\t\t\t\tif(0 >= a && a>=1000000)\treturn;\n\t\t\t\t\tif(max < a)\n\t\t\t\t\t\tmax=a;\n\t\t\t\t\tif(min > a)\n\t\t\t\t\t\tmin=a;\n\t\t\t\t\tsum+=a;\n\t\t\t\t}\n\t\t\t\tSystem.out.println(min+\" \"+max+\" \"+sum);\n\t\t\t}\n\t\t} catch(IOException e) {\n \t\tSystem.err.println(e);\n\t\t} catch(NoSuchElementException e) {\n \t\tSystem.err.println(e);\n\t\t}\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.NoSuchElementException; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { try{ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String buf = br.readLine(); int n = Integer.parseInt(buf); String buf2 = br.readLine(); StringTokenizer st=new StringTokenizer(buf2," "); if(0 <=n && n <=10000){ int max=-1000000; int min=1000000; long sum=0; int a=0; for(int i=1;i <= n; i++){ if(0 >= st.countTokens()) break; a=Integer.parseInt( st.nextToken() ); if(0 >= a && a>=1000000) return; if(max < a) max=a; if(min > a) min=a; sum+=a; } System.out.println(min+" "+max+" "+sum); } } catch(IOException e) { System.err.println(e); } catch(NoSuchElementException e) { System.err.println(e); } } }
[ 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, 40, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 84, 8 ], [ 84, 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 ], [ 25, 26 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 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 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 42, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 42, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 11, 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 ], [ 9, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "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\n\t\tScanner scan = new Scanner(System.in);\n\t\tint X = scan.nextInt();\n\t\tint y = 2147483647;\n\t\tint z = -2147483648;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}\n\t\t\tSystem.out.println(y + \" \" + z + \" \" + 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\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint X = scan.nextInt();\n\t\tint y = 2147483647;\n\t\tint z = -2147483648;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}\n\t\t\tSystem.out.println(y + \" \" + z + \" \" + sum);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint X = scan.nextInt();\n\t\tint y = 2147483647;\n\t\tint z = -2147483648;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}\n\t\t\tSystem.out.println(y + \" \" + z + \" \" + sum);\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint X = scan.nextInt();\n\t\tint y = 2147483647;\n\t\tint z = -2147483648;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}\n\t\t\tSystem.out.println(y + \" \" + z + \" \" + 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 y = 2147483647;", "y", "2147483647", "int z = -2147483648;", "z", "-2147483648", "2147483648", "long sum = 0;", "sum", "0", "for(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < X", "i", "X", "i++", "i++", "i", "{\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}", "{\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}", "int a = scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "y = Math.min(y, a)", "y", "Math.min(y, a)", "Math.min", "Math", "y", "a", "z = Math.max(z, a)", "z", "Math.max(z, a)", "Math.max", "Math", "z", "a", "sum = sum + a", "sum", "sum + a", "sum", "a", "System.out.println(y + \" \" + z + \" \" + sum)", "System.out.println", "System.out", "System", "System.out", "y + \" \" + z + \" \" + sum", "\" \"", "z", "y + \" \" + z + \" \" + sum", "y", "\" \"", "z", "\" \"", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint X = scan.nextInt();\n\t\tint y = 2147483647;\n\t\tint z = -2147483648;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}\n\t\t\tSystem.out.println(y + \" \" + z + \" \" + sum);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint X = scan.nextInt();\n\t\tint y = 2147483647;\n\t\tint z = -2147483648;\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < X; i++){\n\t\t\tint a = scan.nextInt();\n\t\t\t\n\t\t\ty = Math.min(y, a);\n\t\t\tz = Math.max(z, a);\n\t\t\tsum = sum + a;\n\t\t}\n\t\t\tSystem.out.println(y + \" \" + z + \" \" + sum);\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); int X = scan.nextInt(); int y = 2147483647; int z = -2147483648; long sum = 0; for(int i = 0; i < X; i++){ int a = scan.nextInt(); y = Math.min(y, a); z = Math.max(z, a); sum = sum + a; } System.out.println(y + " " + z + " " + sum); } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 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, 17, 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, 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, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 20, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 139, 2 ], [ 139, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 5, 17 ], [ 17, 18 ], [ 5, 19 ], [ 19, 20 ], [ 5, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 5, 26 ], [ 26, 27 ], [ 26, 28 ], [ 5, 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 ], [ 5, 50 ], [ 50, 51 ], [ 50, 52 ], [ 5, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 5, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 5, 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 ], [ 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 ], [ 5, 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 ], [ 5, 117 ], [ 117, 118 ], [ 118, 119 ], [ 3, 120 ], [ 120, 121 ], [ 3, 122 ], [ 122, 123 ], [ 139, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 130, 131 ], [ 130, 132 ], [ 127, 133 ], [ 133, 134 ], [ 133, 135 ], [ 124, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n long res;\n int i, min, max;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n res = 0;\n min = a[0];\n max = a[0];\n for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }\n\n System.out.println(min + \" \" + max + \" \" + res);\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n long res;\n int i, min, max;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n res = 0;\n min = a[0];\n max = a[0];\n for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }\n\n System.out.println(min + \" \" + max + \" \" + res);\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n long res;\n int i, min, max;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n res = 0;\n min = a[0];\n max = a[0];\n for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }\n\n System.out.println(min + \" \" + max + \" \" + res);\n\n sc.close();\n }", "run", "{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n long res;\n int i, min, max;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n res = 0;\n min = a[0];\n max = a[0];\n for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }\n\n System.out.println(min + \" \" + max + \" \" + res);\n\n sc.close();\n }", "java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "int n;", "n", "int[] a;", "a", "long res;", "res", "int i", "i", "min", "min", "max;", "max", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "a = new int[n]", "a", "new int[n]", "n", "for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = sc.nextInt();\n }", "{\n a[i] = sc.nextInt();\n }", "a[i] = sc.nextInt()", "a[i]", "a", "i", "sc.nextInt()", "sc.nextInt", "sc", "res = 0", "res", "0", "min = a[0]", "min", "a[0]", "a", "0", "max = a[0]", "max", "a[0]", "a", "0", "for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }", "{\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }", "if(min > a[i])min = a[i];", "min > a[i]", "min", "a[i]", "a", "i", "min = a[i]", "min", "a[i]", "a", "i", "if(max < a[i])max = a[i];", "max < a[i]", "max", "a[i]", "a", "i", "max = a[i]", "max", "a[i]", "a", "i", "res += (long)a[i]", "res", "(long)a[i]", "a", "i", "System.out.println(min + \" \" + max + \" \" + res)", "System.out.println", "System.out", "System", "System.out", "min + \" \" + max + \" \" + res", "\" \"", "max", "min + \" \" + max + \" \" + res", "min", "\" \"", "max", "\" \"", "res", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }", "main", "{\n (new Main()).run(System.in, System.out);\n }", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n long res;\n int i, min, max;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n res = 0;\n min = a[0];\n max = a[0];\n for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }\n\n System.out.println(min + \" \" + max + \" \" + res);\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] a;\n long res;\n int i, min, max;\n\n n = sc.nextInt();\n a = new int[n];\n for(i = 0;i < n;i++){\n a[i] = sc.nextInt();\n }\n\n res = 0;\n min = a[0];\n max = a[0];\n for(i = 0;i < n;i++){\n if(min > a[i])min = a[i];\n if(max < a[i])max = a[i]; \n res += (long)a[i];\n }\n\n System.out.println(min + \" \" + max + \" \" + res);\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n}", "Main" ]
public class Main{ public void run(java.io.InputStream in, java.io.PrintStream out){ java.util.Scanner sc = new java.util.Scanner(in); /*answer*/ int n; int[] a; long res; int i, min, max; n = sc.nextInt(); a = new int[n]; for(i = 0;i < n;i++){ a[i] = sc.nextInt(); } res = 0; min = a[0]; max = a[0]; for(i = 0;i < n;i++){ if(min > a[i])min = a[i]; if(max < a[i])max = a[i]; res += (long)a[i]; } System.out.println(min + " " + max + " " + res); sc.close(); } public static void main(String[] args){ (new Main()).run(System.in, System.out); } }
[ 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, 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, 17, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 78, 5 ], [ 78, 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 ], [ 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 ], [ 66, 72 ], [ 66, 73 ], [ 66, 74 ], [ 6, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.*;\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 x = sc.nextInt();\n int max = x;\n int min = x;\n long sum = x;\n for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int max = x;\n int min = x;\n long sum = x;\n for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\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 = sc.nextInt();\n int x = sc.nextInt();\n int max = x;\n int min = x;\n long sum = x;\n for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\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 int x = sc.nextInt();\n int max = x;\n int min = x;\n long sum = x;\n for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\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 x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int max = x;", "max", "x", "int min = x;", "min", "x", "long sum = x;", "sum", "x", "for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\n }", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\n }", "{\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\n }", "x = sc.nextInt()", "x", "sc.nextInt()", "sc.nextInt", "sc", "if (max < x) max = x;", "max < x", "max", "x", "max = x", "max", "x", "if (min > x) min = x;", "min > x", "min", "x", "min = x", "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 public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int x = sc.nextInt();\n int max = x;\n int min = x;\n long sum = x;\n for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\n }\n System.out.printf(\"%d %d %d\\n\", 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 x = sc.nextInt();\n int max = x;\n int min = x;\n long sum = x;\n for (int i = 1; i < n; i++) {\n \tx = sc.nextInt();\n \tif (max < x) max = x;\n \tif (min > x) min = x;\n \tsum += x;\n\t\n }\n System.out.printf(\"%d %d %d\\n\", min, max, sum);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int x = sc.nextInt(); int max = x; int min = x; long sum = x; for (int i = 1; i < n; i++) { x = sc.nextInt(); if (max < x) max = x; if (min > x) min = x; sum += x; } 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, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 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, 4, 18, 18, 13, 13, 2, 4, 13, 13, 17, 4, 18, 18, 13, 13, 2, 4, 13, 13, 17, 4, 18, 18, 13, 13, 4, 13, 13, 23, 13, 12, 13, 30, 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, 0, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 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, 0, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 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 ], [ 199, 11 ], [ 199, 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 ], [ 28, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 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 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 14, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 12, 90 ], [ 90, 91 ], [ 199, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 100, 110 ], [ 110, 111 ], [ 111, 112 ], [ 100, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 115, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 123, 125 ], [ 94, 126 ], [ 126, 127 ], [ 92, 128 ], [ 128, 129 ], [ 199, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 132, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 138, 148 ], [ 148, 149 ], [ 149, 150 ], [ 138, 151 ], [ 152, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 156, 158 ], [ 153, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 161, 163 ], [ 132, 164 ], [ 164, 165 ], [ 130, 166 ], [ 166, 167 ], [ 199, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 181, 183 ], [ 174, 184 ], [ 184, 185 ], [ 185, 186 ], [ 174, 187 ], [ 188, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 191, 193 ], [ 170, 194 ], [ 194, 195 ], [ 168, 196 ], [ 196, 197 ], [ 0, 198 ], [ 198, 199 ], [ 198, 200 ] ]
[ "import java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.BufferedReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.valueOf(br.readLine());\n\n String[] preValues = br.readLine().split(\" \" , num);\n long[] values = new long[num];\n\n for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }\n\n System.out.print(getMin(values) + \" \");\n System.out.print(getMax(values) + \" \");\n System.out.println(sum(values));\n\n }\n\n private static long getMin(long[] data){\n long min = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }\n\n return min;\n }\n\n private static long getMax(long[] data){\n long max = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }\n\n return max;\n }\n\n private static long sum(long[] data){\n long sum = 0;\n\n for(int i = 0; i < data.length; i++){\n sum += data[i];\n }\n\n return sum;\n }\n\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.valueOf(br.readLine());\n\n String[] preValues = br.readLine().split(\" \" , num);\n long[] values = new long[num];\n\n for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }\n\n System.out.print(getMin(values) + \" \");\n System.out.print(getMax(values) + \" \");\n System.out.println(sum(values));\n\n }\n\n private static long getMin(long[] data){\n long min = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }\n\n return min;\n }\n\n private static long getMax(long[] data){\n long max = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }\n\n return max;\n }\n\n private static long sum(long[] data){\n long sum = 0;\n\n for(int i = 0; i < data.length; i++){\n sum += data[i];\n }\n\n return sum;\n }\n\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.valueOf(br.readLine());\n\n String[] preValues = br.readLine().split(\" \" , num);\n long[] values = new long[num];\n\n for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }\n\n System.out.print(getMin(values) + \" \");\n System.out.print(getMax(values) + \" \");\n System.out.println(sum(values));\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.valueOf(br.readLine());\n\n String[] preValues = br.readLine().split(\" \" , num);\n long[] values = new long[num];\n\n for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }\n\n System.out.print(getMin(values) + \" \");\n System.out.print(getMax(values) + \" \");\n System.out.println(sum(values));\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int num = Integer.valueOf(br.readLine());", "num", "Integer.valueOf(br.readLine())", "Integer.valueOf", "Integer", "br.readLine()", "br.readLine", "br", "String[] preValues = br.readLine().split(\" \" , num);", "preValues", "br.readLine().split(\" \" , num)", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "num", "long[] values = new long[num];", "values", "new long[num]", "num", "for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n values[i] = Integer.parseInt(preValues[i]);\n }", "{\n values[i] = Integer.parseInt(preValues[i]);\n }", "values[i] = Integer.parseInt(preValues[i])", "values[i]", "values", "i", "Integer.parseInt(preValues[i])", "Integer.parseInt", "Integer", "preValues[i]", "preValues", "i", "System.out.print(getMin(values) + \" \")", "System.out.print", "System.out", "System", "System.out", "getMin(values) + \" \"", "getMin(values)", "getMin", "values", "\" \"", "System.out.print(getMax(values) + \" \")", "System.out.print", "System.out", "System", "System.out", "getMax(values) + \" \"", "getMax(values)", "getMax", "values", "\" \"", "System.out.println(sum(values))", "System.out.println", "System.out", "System", "System.out", "sum(values)", "sum", "values", "String[] args", "args", "private static long getMin(long[] data){\n long min = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }\n\n return min;\n }", "getMin", "{\n long min = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }\n\n return min;\n }", "long min = data[0];", "min", "data[0]", "data", "0", "for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }", "int i = 1;", "int i = 1;", "i", "1", "i < data.length", "i", "data.length", "data", "data.length", "i++", "i++", "i", "{\n if(min > data[i]) min = data[i];\n }", "{\n if(min > data[i]) min = data[i];\n }", "if(min > data[i]) min = data[i];", "min > data[i]", "min", "data[i]", "data", "i", "min = data[i]", "min", "data[i]", "data", "i", "return min;", "min", "long[] data", "data", "private static long getMax(long[] data){\n long max = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }\n\n return max;\n }", "getMax", "{\n long max = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }\n\n return max;\n }", "long max = data[0];", "max", "data[0]", "data", "0", "for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }", "int i = 1;", "int i = 1;", "i", "1", "i < data.length", "i", "data.length", "data", "data.length", "i++", "i++", "i", "{\n if(max < data[i]) max = data[i];\n }", "{\n if(max < data[i]) max = data[i];\n }", "if(max < data[i]) max = data[i];", "max < data[i]", "max", "data[i]", "data", "i", "max = data[i]", "max", "data[i]", "data", "i", "return max;", "max", "long[] data", "data", "private static long sum(long[] data){\n long sum = 0;\n\n for(int i = 0; i < data.length; i++){\n sum += data[i];\n }\n\n return sum;\n }", "sum", "{\n long sum = 0;\n\n for(int i = 0; i < data.length; i++){\n sum += data[i];\n }\n\n return sum;\n }", "long sum = 0;", "sum", "0", "for(int i = 0; i < data.length; i++){\n sum += data[i];\n }", "int i = 0;", "int i = 0;", "i", "0", "i < data.length", "i", "data.length", "data", "data.length", "i++", "i++", "i", "{\n sum += data[i];\n }", "{\n sum += data[i];\n }", "sum += data[i]", "sum", "data[i]", "data", "i", "return sum;", "sum", "long[] data", "data", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n int num = Integer.valueOf(br.readLine());\n\n String[] preValues = br.readLine().split(\" \" , num);\n long[] values = new long[num];\n\n for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }\n\n System.out.print(getMin(values) + \" \");\n System.out.print(getMax(values) + \" \");\n System.out.println(sum(values));\n\n }\n\n private static long getMin(long[] data){\n long min = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }\n\n return min;\n }\n\n private static long getMax(long[] data){\n long max = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }\n\n return max;\n }\n\n private static long sum(long[] data){\n long sum = 0;\n\n for(int i = 0; i < data.length; i++){\n sum += data[i];\n }\n\n return sum;\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\n int num = Integer.valueOf(br.readLine());\n\n String[] preValues = br.readLine().split(\" \" , num);\n long[] values = new long[num];\n\n for(int i = 0; i < num; i++){\n values[i] = Integer.parseInt(preValues[i]);\n }\n\n System.out.print(getMin(values) + \" \");\n System.out.print(getMax(values) + \" \");\n System.out.println(sum(values));\n\n }\n\n private static long getMin(long[] data){\n long min = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(min > data[i]) min = data[i];\n }\n\n return min;\n }\n\n private static long getMax(long[] data){\n long max = data[0];\n\n for(int i = 1; i < data.length; i++){\n if(max < data[i]) max = data[i];\n }\n\n return max;\n }\n\n private static long sum(long[] data){\n long sum = 0;\n\n for(int i = 0; i < data.length; i++){\n sum += data[i];\n }\n\n return sum;\n }\n\n}", "Main" ]
import java.io.IOException; import java.io.InputStreamReader; import java.io.BufferedReader; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = Integer.valueOf(br.readLine()); String[] preValues = br.readLine().split(" " , num); long[] values = new long[num]; for(int i = 0; i < num; i++){ values[i] = Integer.parseInt(preValues[i]); } System.out.print(getMin(values) + " "); System.out.print(getMax(values) + " "); System.out.println(sum(values)); } private static long getMin(long[] data){ long min = data[0]; for(int i = 1; i < data.length; i++){ if(min > data[i]) min = data[i]; } return min; } private static long getMax(long[] data){ long max = data[0]; for(int i = 1; i < data.length; i++){ if(max < data[i]) max = data[i]; } return max; } private static long sum(long[] data){ long sum = 0; for(int i = 0; i < data.length; i++){ sum += data[i]; } return sum; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 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, 18, 13, 13, 0, 13, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 18, 13, 17, 18, 13, 2, 18, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 96, 14 ], [ 96, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 31, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 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 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 56, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 17, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 17, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 76, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 76, 92 ], [ 15, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint[] input = new int[n];\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[2]);\n//\t\t\tif(tmpArray[1].equals(\"?\")){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\tString op = tmpArray[1];\n//\t\t\tif(op.equals(\"+\")){\n//\t\t\t\tSystem.out.println(a+b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"-\")){\n//\t\t\t\tSystem.out.println(a-b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"*\")){\n//\t\t\t\tSystem.out.println(a*b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"/\")){\n//\t\t\t\tSystem.out.println(a/b);\n//\t\t\t}\n//\t\t\t\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\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.util.Arrays;", "Arrays", "java.util", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint[] input = new int[n];\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[2]);\n//\t\t\tif(tmpArray[1].equals(\"?\")){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\tString op = tmpArray[1];\n//\t\t\tif(op.equals(\"+\")){\n//\t\t\t\tSystem.out.println(a+b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"-\")){\n//\t\t\t\tSystem.out.println(a-b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"*\")){\n//\t\t\t\tSystem.out.println(a*b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"/\")){\n//\t\t\t\tSystem.out.println(a/b);\n//\t\t\t}\n//\t\t\t\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "Main", "/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint[] input = new int[n];\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[2]);\n//\t\t\tif(tmpArray[1].equals(\"?\")){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\tString op = tmpArray[1];\n//\t\t\tif(op.equals(\"+\")){\n//\t\t\t\tSystem.out.println(a+b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"-\")){\n//\t\t\t\tSystem.out.println(a-b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"*\")){\n//\t\t\t\tSystem.out.println(a*b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"/\")){\n//\t\t\t\tSystem.out.println(a/b);\n//\t\t\t}\n//\t\t\t\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint[] input = new int[n];\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[2]);\n//\t\t\tif(tmpArray[1].equals(\"?\")){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\tString op = tmpArray[1];\n//\t\t\tif(op.equals(\"+\")){\n//\t\t\t\tSystem.out.println(a+b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"-\")){\n//\t\t\t\tSystem.out.println(a-b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"*\")){\n//\t\t\t\tSystem.out.println(a*b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"/\")){\n//\t\t\t\tSystem.out.println(a/b);\n//\t\t\t}\n//\t\t\t\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\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[] tmpArray = br.readLine().split(\" \");", "tmpArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int[] input = new int[n];", "input", "new int[n]", "n", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}", "{\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}", "input[i] = Integer.parseInt(tmpArray[i])", "input[i]", "input", "i", "Integer.parseInt(tmpArray[i])", "Integer.parseInt", "Integer", "tmpArray[i]", "tmpArray", "i", "sum += input[i]", "sum", "input[i]", "input", "i", "Arrays.sort(input)", "Arrays.sort", "Arrays", "input", "System.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "input[0]", "input", "0", "input[input.length - 1]", "input", "input.length - 1", "input.length", "input", "input.length", "1", "sum", "String[] args", "args", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint[] input = new int[n];\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[2]);\n//\t\t\tif(tmpArray[1].equals(\"?\")){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\tString op = tmpArray[1];\n//\t\t\tif(op.equals(\"+\")){\n//\t\t\t\tSystem.out.println(a+b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"-\")){\n//\t\t\t\tSystem.out.println(a-b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"*\")){\n//\t\t\t\tSystem.out.println(a*b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"/\")){\n//\t\t\t\tSystem.out.println(a/b);\n//\t\t\t}\n//\t\t\t\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint[] input = new int[n];\n\t\tlong sum = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tinput[i] = Integer.parseInt(tmpArray[i]);\n\t\t\tsum += input[i];\n\t\t}\n\t\t\n\t\tArrays.sort(input);\n\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[2]);\n//\t\t\tif(tmpArray[1].equals(\"?\")){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\tString op = tmpArray[1];\n//\t\t\tif(op.equals(\"+\")){\n//\t\t\t\tSystem.out.println(a+b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"-\")){\n//\t\t\t\tSystem.out.println(a-b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"*\")){\n//\t\t\t\tSystem.out.println(a*b);\n//\t\t\t}\n//\t\t\tif(op.equals(\"/\")){\n//\t\t\t\tSystem.out.println(a/b);\n//\t\t\t}\n//\t\t\t\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main { /** * @param args * @throws IOException * @throws NumberFormatException */ public static void main(String[] args) throws NumberFormatException, IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // String[] tmpArray = br.readLine().split(" "); int n = Integer.parseInt(br.readLine()); // int b = Integer.parseInt(tmpArray[1]); // int c = Integer.parseInt(tmpArray[2]); // int y = Integer.parseInt(tmpArray[3]); // int r = Integer.parseInt(tmpArray[4]); String[] tmpArray = br.readLine().split(" "); int[] input = new int[n]; long sum = 0; for(int i = 0; i < n; i++){ input[i] = Integer.parseInt(tmpArray[i]); sum += input[i]; } Arrays.sort(input); System.out.printf("%d %d %d\n", input[0], input[input.length - 1], sum); // while(true){ // String[] tmpArray = br.readLine().split(" "); // int a = Integer.parseInt(tmpArray[0]); // int b = Integer.parseInt(tmpArray[2]); // if(tmpArray[1].equals("?")){ // break; // } // String op = tmpArray[1]; // if(op.equals("+")){ // System.out.println(a+b); // } // if(op.equals("-")){ // System.out.println(a-b); // } // if(op.equals("*")){ // System.out.println(a*b); // } // if(op.equals("/")){ // System.out.println(a/b); // } // // } // int[] array = new int[3]; // array[0] = a; array[1] = b; array[2] = c; // // Arrays.sort(array); // System.out.printf("%d %d %d\n", array[0], array[1], array[2]); /* if(a < b && b < c){ System.out.println("Yes"); } else{ System.out.println("No"); }*/ } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 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, 4, 18, 13, 17, 13, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 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 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 46, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 46, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 74, 79 ], [ 74, 80 ], [ 6, 81 ], [ 81, 82 ], [ 0, 83 ], [ 83, 84 ], [ 83, 85 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tint c = Integer.MAX_VALUE;\n\t\tint d = Integer.MIN_VALUE;\n\t\tlong e = 0;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", c, d, e));\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tint c = Integer.MAX_VALUE;\n\t\tint d = Integer.MIN_VALUE;\n\t\tlong e = 0;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", c, d, e));\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tint c = Integer.MAX_VALUE;\n\t\tint d = Integer.MIN_VALUE;\n\t\tlong e = 0;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", c, d, e));\n\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tint c = Integer.MAX_VALUE;\n\t\tint d = Integer.MIN_VALUE;\n\t\tlong e = 0;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", c, d, e));\n\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int a = scanner.nextInt();", "a", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[] b = new int[a];", "b", "new int[a]", "a", "int c = Integer.MAX_VALUE;", "c", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "int d = Integer.MIN_VALUE;", "d", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long e = 0;", "e", "0", "for (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}", "{\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}", "int f = scanner.nextInt();", "f", "scanner.nextInt()", "scanner.nextInt", "scanner", "c = Math.min(c, f)", "c", "Math.min(c, f)", "Math.min", "Math", "c", "f", "d = Math.max(d, f)", "d", "Math.max(d, f)", "Math.max", "Math", "d", "f", "e += f", "e", "f", "System.out.println(String.format(\"%d %d %d\", c, d, e))", "System.out.println", "System.out", "System", "System.out", "String.format(\"%d %d %d\", c, d, e)", "String.format", "String", "\"%d %d %d\"", "c", "d", "e", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tint c = Integer.MAX_VALUE;\n\t\tint d = Integer.MIN_VALUE;\n\t\tlong e = 0;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", c, d, e));\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint[] b = new int[a];\n\t\tint c = Integer.MAX_VALUE;\n\t\tint d = Integer.MIN_VALUE;\n\t\tlong e = 0;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tint f = scanner.nextInt();\n\t\t\tc = Math.min(c, f);\n\t\t\td = Math.max(d, f);\n\t\t\te += f;\n\t\t}\n\t\tSystem.out.println(String.format(\"%d %d %d\", c, d, e));\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int a = scanner.nextInt(); int[] b = new int[a]; int c = Integer.MAX_VALUE; int d = Integer.MIN_VALUE; long e = 0; for (int i = 0; i < a; i++) { int f = scanner.nextInt(); c = Math.min(c, f); d = Math.max(d, f); e += f; } System.out.println(String.format("%d %d %d", c, d, e)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 17, 17, 41, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 41, 13, 4, 18, 13, 18, 13, 2, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 41, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 13, 13, 41, 13, 4, 18, 13, 18, 13, 2, 13, 17, 14, 2, 13, 13, 30, 0, 13, 13, 30, 0, 13, 13, 14, 2, 13, 13, 30, 0, 13, 13, 41, 13, 4, 18, 13, 18, 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, 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 ], [ 215, 5 ], [ 215, 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 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 33, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 49, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 63, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 63, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 63, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 110, 111 ], [ 110, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 113, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 133, 135 ], [ 127, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 127, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 146, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 127, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 8, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 171, 173 ], [ 8, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 192, 193 ], [ 192, 194 ], [ 186, 195 ], [ 195, 196 ], [ 195, 197 ], [ 8, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 206, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 204, 210 ], [ 206, 211 ], [ 6, 212 ], [ 212, 213 ], [ 0, 214 ], [ 214, 215 ], [ 214, 216 ] ]
[ "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\tString str1 = scan.nextLine();\n\t\tString str2 = scan.nextLine();\n\t\tscan.close();\n\n\t\tint n = Integer.parseInt(str1);\n\t\tString[] ai = str2.split(\" \", 0);\n\n\t\tint sVal = 0;\n\t\tint min = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}\n\n\t\tint bVal = 0;\n\t\tint max = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = Integer.parseInt(ai[0]);\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\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\tString str1 = scan.nextLine();\n\t\tString str2 = scan.nextLine();\n\t\tscan.close();\n\n\t\tint n = Integer.parseInt(str1);\n\t\tString[] ai = str2.split(\" \", 0);\n\n\t\tint sVal = 0;\n\t\tint min = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}\n\n\t\tint bVal = 0;\n\t\tint max = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = Integer.parseInt(ai[0]);\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.nextLine();\n\t\tString str2 = scan.nextLine();\n\t\tscan.close();\n\n\t\tint n = Integer.parseInt(str1);\n\t\tString[] ai = str2.split(\" \", 0);\n\n\t\tint sVal = 0;\n\t\tint min = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}\n\n\t\tint bVal = 0;\n\t\tint max = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = Integer.parseInt(ai[0]);\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.nextLine();\n\t\tString str2 = scan.nextLine();\n\t\tscan.close();\n\n\t\tint n = Integer.parseInt(str1);\n\t\tString[] ai = str2.split(\" \", 0);\n\n\t\tint sVal = 0;\n\t\tint min = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}\n\n\t\tint bVal = 0;\n\t\tint max = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = Integer.parseInt(ai[0]);\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String str1 = scan.nextLine();", "str1", "scan.nextLine()", "scan.nextLine", "scan", "String str2 = scan.nextLine();", "str2", "scan.nextLine()", "scan.nextLine", "scan", "scan.close()", "scan.close", "scan", "int n = Integer.parseInt(str1);", "n", "Integer.parseInt(str1)", "Integer.parseInt", "Integer", "str1", "String[] ai = str2.split(\" \", 0);", "ai", "str2.split(\" \", 0)", "str2.split", "str2", "\" \"", "0", "int sVal = 0;", "sVal", "0", "int min = Integer.parseInt(ai[0]);", "min", "Integer.parseInt(ai[0])", "Integer.parseInt", "Integer", "ai[0]", "ai", "0", "for (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n - 1", "i", "n - 1", "n", "1", "i++", "i++", "i", "{\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}", "{\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}", "int num1 = Integer.parseInt(ai[i]);", "num1", "Integer.parseInt(ai[i])", "Integer.parseInt", "Integer", "ai[i]", "ai", "i", "int num2 = Integer.parseInt(ai[i + 1]);", "num2", "Integer.parseInt(ai[i + 1])", "Integer.parseInt", "Integer", "ai[i + 1]", "ai", "i + 1", "i", "1", "if (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}", "num1 <= num2", "num1", "num2", "{\n\t\t\t\tsVal = num1;\n\t\t\t}", "sVal = num1", "sVal", "num1", "{\n\t\t\t\tsVal = num2;\n\t\t\t}", "sVal = num2", "sVal", "num2", "if (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}", "sVal <= min", "sVal", "min", "{\n\t\t\t\tmin = sVal;\n\t\t\t}", "min = sVal", "min", "sVal", "int bVal = 0;", "bVal", "0", "int max = Integer.parseInt(ai[0]);", "max", "Integer.parseInt(ai[0])", "Integer.parseInt", "Integer", "ai[0]", "ai", "0", "for (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n - 1", "i", "n - 1", "n", "1", "i++", "i++", "i", "{\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}", "{\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}", "int num1 = Integer.parseInt(ai[i]);", "num1", "Integer.parseInt(ai[i])", "Integer.parseInt", "Integer", "ai[i]", "ai", "i", "int num2 = Integer.parseInt(ai[i + 1]);", "num2", "Integer.parseInt(ai[i + 1])", "Integer.parseInt", "Integer", "ai[i + 1]", "ai", "i + 1", "i", "1", "if (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}", "num1 <= num2", "num1", "num2", "{\n\t\t\t\tbVal = num2;\n\t\t\t}", "bVal = num2", "bVal", "num2", "{\n\t\t\t\tbVal = num1;\n\t\t\t}", "bVal = num1", "bVal", "num1", "if (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}", "max <= bVal", "max", "bVal", "{\n\t\t\t\tmax = bVal;\n\t\t\t}", "max = bVal", "max", "bVal", "long sum = Integer.parseInt(ai[0]);", "sum", "Integer.parseInt(ai[0])", "Integer.parseInt", "Integer", "ai[0]", "ai", "0", "for (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}", "{\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}", "long num = Integer.parseInt(ai[i]);", "num", "Integer.parseInt(ai[i])", "Integer.parseInt", "Integer", "ai[i]", "ai", "i", "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\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.nextLine();\n\t\tString str2 = scan.nextLine();\n\t\tscan.close();\n\n\t\tint n = Integer.parseInt(str1);\n\t\tString[] ai = str2.split(\" \", 0);\n\n\t\tint sVal = 0;\n\t\tint min = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}\n\n\t\tint bVal = 0;\n\t\tint max = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = Integer.parseInt(ai[0]);\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString str1 = scan.nextLine();\n\t\tString str2 = scan.nextLine();\n\t\tscan.close();\n\n\t\tint n = Integer.parseInt(str1);\n\t\tString[] ai = str2.split(\" \", 0);\n\n\t\tint sVal = 0;\n\t\tint min = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tsVal = num1;\n\t\t\t} else {\n\t\t\t\tsVal = num2;\n\t\t\t}\n\t\t\tif (sVal <= min) {\n\t\t\t\tmin = sVal;\n\t\t\t}\n\t\t}\n\n\t\tint bVal = 0;\n\t\tint max = Integer.parseInt(ai[0]);\n\t\tfor (int i = 0; i < n - 1; i++) {\n\t\t\tint num1 = Integer.parseInt(ai[i]);\n\t\t\tint num2 = Integer.parseInt(ai[i + 1]);\n\t\t\tif (num1 <= num2) {\n\t\t\t\tbVal = num2;\n\t\t\t} else {\n\t\t\t\tbVal = num1;\n\t\t\t}\n\t\t\tif (max <= bVal) {\n\t\t\t\tmax = bVal;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = Integer.parseInt(ai[0]);\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tlong num = Integer.parseInt(ai[i]);\n\t\t\tsum += num;\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); String str1 = scan.nextLine(); String str2 = scan.nextLine(); scan.close(); int n = Integer.parseInt(str1); String[] ai = str2.split(" ", 0); int sVal = 0; int min = Integer.parseInt(ai[0]); for (int i = 0; i < n - 1; i++) { int num1 = Integer.parseInt(ai[i]); int num2 = Integer.parseInt(ai[i + 1]); if (num1 <= num2) { sVal = num1; } else { sVal = num2; } if (sVal <= min) { min = sVal; } } int bVal = 0; int max = Integer.parseInt(ai[0]); for (int i = 0; i < n - 1; i++) { int num1 = Integer.parseInt(ai[i]); int num2 = Integer.parseInt(ai[i + 1]); if (num1 <= num2) { bVal = num2; } else { bVal = num1; } if (max <= bVal) { max = bVal; } } long sum = Integer.parseInt(ai[0]); for (int i = 1; i < n; i++) { long num = Integer.parseInt(ai[i]); sum += num; } 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, 20, 13, 11, 1, 41, 13, 17, 2, 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, 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 ], [ 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, 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 ], [ 45, 46 ], [ 44, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 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 ], [ 66, 68 ], [ 11, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 77, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 75, 87 ], [ 77, 88 ], [ 9, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(a);\n\t\t\n\t\tlong s = 0;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\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[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(a);\n\t\t\n\t\tlong s = 0;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(a);\n\t\t\n\t\tlong s = 0;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(a);\n\t\t\n\t\tlong s = 0;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int[] a = new int[n];", "a", "new int[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}", "{\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}", "a[i] = stdIn.nextInt()", "a[i]", "a", "i", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "long s = 0;", "s", "0", "for(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ts += a[i];\n\t\t}", "{\n\t\t\ts += a[i];\n\t\t}", "s += a[i]", "s", "a[i]", "a", "i", "System.out.println(a[0] + \" \" + a [n-1] + \" \" + s )", "System.out.println", "System.out", "System", "System.out", "a[0] + \" \" + a [n-1] + \" \" + s", "\" \"", "a [n-1]", "a[0] + \" \" + a [n-1] + \" \" + s", "a[0]", "a", "0", "\" \"", "a [n-1]", "a", "n-1", "n", "1", "\" \"", "s", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(a);\n\t\t\n\t\tlong s = 0;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint[] a = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ta[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tArrays.sort(a);\n\t\t\n\t\tlong s = 0;\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts += a[i];\n\t\t}\n\t\t\n\t\tSystem.out.println(a[0] + \" \" + a [n-1] + \" \" + s );\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int[] a = new int[n]; for(int i = 0; i < n; i++) { a[i] = stdIn.nextInt(); } Arrays.sort(a); long s = 0; for(int i = 0; i < n; i++) { s += a[i]; } System.out.println(a[0] + " " + a [n-1] + " " + s ); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 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, 4, 18, 13, 0, 13, 4, 18, 13, 13, 18, 13, 13, 0, 13, 4, 18, 13, 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 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 17, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 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 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 76, 80 ], [ 80, 81 ], [ 80, 82 ], [ 63, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 63, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 17, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 105, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 105, 110 ], [ 15, 111 ], [ 111, 112 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.util.StringTokenizer;\n\nclass Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString input = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(input, \" \");\n\t\tlong[] a = new long[n];\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong sum = 0;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "class Main{\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString input = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(input, \" \");\n\t\tlong[] a = new long[n];\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong sum = 0;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString input = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(input, \" \");\n\t\tlong[] a = new long[n];\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong sum = 0;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tString input = br.readLine();\n\t\tStringTokenizer st = new StringTokenizer(input, \" \");\n\t\tlong[] a = new long[n];\n\t\tlong min = 1000000;\n\t\tlong max = -1000000;\n\t\tlong sum = 0;\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tsum += a[i];\n\t\t}\n\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\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 input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "StringTokenizer st = new StringTokenizer(input, \" \");", "st", "new StringTokenizer(input, \" \")", "long[] a = new long[n];", "a", "new long[n]", "n", "long min = 1000000;", "min", "1000000", "long max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "for(int i = 0; i < n; i++){\n\t\t\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[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\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tsum += a[i];\n\t\t}", "{\n\t\t\ta[i] = Long.parseLong(st.nextToken());\n\t\t\tmin = Math.min(min, a[i]);\n\t\t\tmax = Math.max(max, a[i]);\n\t\t\tsum += a[i];\n\t\t}", "a[i] = Long.parseLong(st.nextToken())", "a[i]", "a", "i", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "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", "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" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.StringTokenizer; 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 input = br.readLine(); StringTokenizer st = new StringTokenizer(input, " "); long[] a = new long[n]; long min = 1000000; long max = -1000000; long sum = 0; for(int i = 0; i < n; i++){ a[i] = Long.parseLong(st.nextToken()); min = Math.min(min, a[i]); max = Math.max(max, a[i]); sum += a[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 13, 30, 0, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 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, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 17, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 17, 4, 13, 13, 4, 13, 13, 4, 13, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 182, 5 ], [ 182, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 14, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 25, 26 ], [ 14, 27 ], [ 28, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 29, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 6, 43 ], [ 43, 44 ], [ 182, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 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 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 47, 80 ], [ 80, 81 ], [ 45, 82 ], [ 82, 83 ], [ 182, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 90, 100 ], [ 100, 101 ], [ 101, 102 ], [ 90, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 86, 110 ], [ 110, 111 ], [ 84, 112 ], [ 112, 113 ], [ 182, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 116, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 134, 142 ], [ 142, 143 ], [ 143, 144 ], [ 134, 145 ], [ 146, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 129, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 154, 160 ], [ 160, 161 ], [ 160, 162 ], [ 154, 163 ], [ 163, 164 ], [ 163, 165 ], [ 154, 166 ], [ 166, 167 ], [ 166, 168 ], [ 125, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 116, 176 ], [ 176, 177 ], [ 177, 178 ], [ 114, 179 ], [ 179, 180 ], [ 0, 181 ], [ 181, 182 ], [ 181, 183 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n\tstatic long min(int[] a){\n\t\tlong minValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn minValue;\n\t}\n\n\tstatic long max(int[] a){\n\t\tlong maxValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn maxValue;\n\t}\n\tstatic long sum(int[] a){\n\t\tlong sumValue=0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[i];\n\t\t}\n\t\treturn sumValue;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\n\t\tif(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\n\tstatic long min(int[] a){\n\t\tlong minValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn minValue;\n\t}\n\n\tstatic long max(int[] a){\n\t\tlong maxValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn maxValue;\n\t}\n\tstatic long sum(int[] a){\n\t\tlong sumValue=0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[i];\n\t\t}\n\t\treturn sumValue;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\n\t\tif(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "static long min(int[] a){\n\t\tlong minValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn minValue;\n\t}", "min", "{\n\t\tlong minValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn minValue;\n\t}", "long minValue=a[0];", "minValue", "a[0]", "a", "0", "for(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}", "{\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}", "if(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}", "a[i]<minValue", "a[i]", "a", "i", "minValue", "{\n\t\t\t\tminValue=a[i];\n\t\t\t}", "minValue=a[i]", "minValue", "a[i]", "a", "i", "return minValue;", "minValue", "int[] a", "a", "static long max(int[] a){\n\t\tlong maxValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn maxValue;\n\t}", "max", "{\n\t\tlong maxValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn maxValue;\n\t}", "long maxValue=a[0];", "maxValue", "a[0]", "a", "0", "for(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}", "{\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}", "if(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}", "maxValue<a[i]", "maxValue", "a[i]", "a", "i", "{\n\t\t\t\tmaxValue=a[i];\n\t\t\t}", "maxValue=a[i]", "maxValue", "a[i]", "a", "i", "return maxValue;", "maxValue", "int[] a", "a", "static long sum(int[] a){\n\t\tlong sumValue=0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[i];\n\t\t}\n\t\treturn sumValue;\n\t}", "sum", "{\n\t\tlong sumValue=0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[i];\n\t\t}\n\t\treturn sumValue;\n\t}", "long sumValue=0;", "sumValue", "0", "for(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[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\tsumValue+=a[i];\n\t\t}", "{\n\t\t\tsumValue+=a[i];\n\t\t}", "sumValue+=a[i]", "sumValue", "a[i]", "a", "i", "return sumValue;", "sumValue", "int[] a", "a", "public static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\n\t\tif(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\n\t\tif(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}\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", "if(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}", "0<n", "0", "n", "{\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}", "int[] a=new int[n];", "a", "new int[n]", "n", "for(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}", "a[i]=scan.nextInt()", "a[i]", "a", "i", "scan.nextInt()", "scan.nextInt", "scan", "System.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a))", "System.out.printf", "System.out", "System", "System.out", "\"%d %d %d\\n\"", "min(a)", "min", "a", "max(a)", "max", "a", "sum(a)", "sum", "a", "{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}", "System.out.println(\"0 0 0\")", "System.out.println", "System.out", "System", "System.out", "\"0 0 0\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main{\n\n\tstatic long min(int[] a){\n\t\tlong minValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn minValue;\n\t}\n\n\tstatic long max(int[] a){\n\t\tlong maxValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn maxValue;\n\t}\n\tstatic long sum(int[] a){\n\t\tlong sumValue=0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[i];\n\t\t}\n\t\treturn sumValue;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\n\t\tif(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main{\n\n\tstatic long min(int[] a){\n\t\tlong minValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(a[i]<minValue){\n\t\t\t\tminValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn minValue;\n\t}\n\n\tstatic long max(int[] a){\n\t\tlong maxValue=a[0];\n\t\tfor(int i=1;i<a.length;i++){\n\t\t\tif(maxValue<a[i]){\n\t\t\t\tmaxValue=a[i];\n\t\t\t}\n\t\t}\n\t\treturn maxValue;\n\t}\n\tstatic long sum(int[] a){\n\t\tlong sumValue=0;\n\t\tfor(int i=0;i<a.length;i++){\n\t\t\tsumValue+=a[i];\n\t\t}\n\t\treturn sumValue;\n\t}\n\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\n\t\tint n=scan.nextInt();\n\n\t\tif(0<n){\n\t\t\tint[] a=new int[n];\n\n\n\t\t\tfor(int i=0;i<n;i++){\n\t\t\t\ta[i]=scan.nextInt();\n\t\t\t}\n\n\t\t\tSystem.out.printf(\"%d %d %d\\n\",min(a),max(a),sum(a));\n\t\t}else{\n\t\t\tSystem.out.println(\"0 0 0\");\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ static long min(int[] a){ long minValue=a[0]; for(int i=1;i<a.length;i++){ if(a[i]<minValue){ minValue=a[i]; } } return minValue; } static long max(int[] a){ long maxValue=a[0]; for(int i=1;i<a.length;i++){ if(maxValue<a[i]){ maxValue=a[i]; } } return maxValue; } static long sum(int[] a){ long sumValue=0; for(int i=0;i<a.length;i++){ sumValue+=a[i]; } return sumValue; } public static void main(String[] args){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); if(0<n){ int[] a=new int[n]; for(int i=0;i<n;i++){ a[i]=scan.nextInt(); } System.out.printf("%d %d %d\n",min(a),max(a),sum(a)); }else{ System.out.println("0 0 0"); } scan.close(); } }
[ 7, 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, 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, 0, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 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 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 17, 33 ], [ 33, 34 ], [ 33, 35 ], [ 17, 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 ], [ 54, 56 ], [ 48, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 48, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 17, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 71, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 81, 87 ], [ 81, 88 ], [ 81, 89 ], [ 15, 90 ], [ 90, 91 ] ]
[ "import java.io.*;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n\n long sum_ = 0, max_ = -10000000, min_ = 10000000;\n for(int i=0;i<n;i++) {\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }\n if(n == 0) System.out.println(\"0 0 0\\n\");\n else System.out.printf(\"%d %d %d\\n\", min_, max_, sum_);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n\n long sum_ = 0, max_ = -10000000, min_ = 10000000;\n for(int i=0;i<n;i++) {\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }\n if(n == 0) System.out.println(\"0 0 0\\n\");\n else System.out.printf(\"%d %d %d\\n\", min_, max_, sum_);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n\n long sum_ = 0, max_ = -10000000, min_ = 10000000;\n for(int i=0;i<n;i++) {\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }\n if(n == 0) System.out.println(\"0 0 0\\n\");\n else System.out.printf(\"%d %d %d\\n\", min_, max_, sum_);\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n\n long sum_ = 0, max_ = -10000000, min_ = 10000000;\n for(int i=0;i<n;i++) {\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }\n if(n == 0) System.out.println(\"0 0 0\\n\");\n else System.out.printf(\"%d %d %d\\n\", min_, max_, sum_);\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "long sum_ = 0", "sum_", "0", "max_ = -10000000", "max_", "-10000000", "10000000", "min_ = 10000000;", "min_", "10000000", "for(int i=0;i<n;i++) {\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }", "{\n\t int d = in.nextInt();\n\t sum_ += d;\n\t min_ = Math.min(min_, d);\n\t max_ = Math.max(max_, d);\n }", "int d = in.nextInt();", "d", "in.nextInt()", "in.nextInt", "in", "sum_ += d", "sum_", "d", "min_ = Math.min(min_, d)", "min_", "Math.min(min_, d)", "Math.min", "Math", "min_", "d", "max_ = Math.max(max_, d)", "max_", "Math.max(max_, d)", "Math.max", "Math", "max_", "d", "if(n == 0) System.out.println(\"0 0 0\\n\");\n else System.out.printf(\"%d %d %d\\n\", min_, max_, sum_);", "n == 0", "n", "0", "System.out.println(\"0 0 0\\n\")", "System.out.println", "System.out", "System", "System.out", "\"0 0 0\\n\"", "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.ArrayList; import java.util.Collections; import java.util.Scanner; class Main { public static void main(String[] args) throws IOException { Scanner in = new Scanner(System.in); int n = in.nextInt(); long sum_ = 0, max_ = -10000000, min_ = 10000000; for(int i=0;i<n;i++) { int d = in.nextInt(); sum_ += d; min_ = Math.min(min_, d); max_ = Math.max(max_, d); } if(n == 0) System.out.println("0 0 0\n"); else 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, 41, 13, 20, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 41, 13, 41, 13, 17, 41, 13, 40, 17, 41, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 18, 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, 4, 18, 13, 4, 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 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 24, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 39, 44 ], [ 31, 45 ], [ 45, 46 ], [ 31, 47 ], [ 47, 48 ], [ 31, 49 ], [ 49, 50 ], [ 49, 51 ], [ 31, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 31, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 31, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 61, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 75, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 75, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 75, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 31, 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 ], [ 15, 123 ], [ 123, 124 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString n = br.readLine();\n\t\t\tString[] a = br.readLine().split(\" \");\n\t\t\tint i, num, min = 1000000;\n\t\t\tint max = -1000000;\n\t\t\tBigInteger sum = BigInteger.ZERO;\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\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.BigInteger;", "BigInteger", "java.math", "class Main {\n\tpublic static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString n = br.readLine();\n\t\t\tString[] a = br.readLine().split(\" \");\n\t\t\tint i, num, min = 1000000;\n\t\t\tint max = -1000000;\n\t\t\tBigInteger sum = BigInteger.ZERO;\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString n = br.readLine();\n\t\t\tString[] a = br.readLine().split(\" \");\n\t\t\tint i, num, min = 1000000;\n\t\t\tint max = -1000000;\n\t\t\tBigInteger sum = BigInteger.ZERO;\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\ttry {\n\t\t\tString n = br.readLine();\n\t\t\tString[] a = br.readLine().split(\" \");\n\t\t\tint i, num, min = 1000000;\n\t\t\tint max = -1000000;\n\t\t\tBigInteger sum = BigInteger.ZERO;\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "try {\n\t\t\tString n = br.readLine();\n\t\t\tString[] a = br.readLine().split(\" \");\n\t\t\tint i, num, min = 1000000;\n\t\t\tint max = -1000000;\n\t\t\tBigInteger sum = BigInteger.ZERO;\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tString n = br.readLine();\n\t\t\tString[] a = br.readLine().split(\" \");\n\t\t\tint i, num, min = 1000000;\n\t\t\tint max = -1000000;\n\t\t\tBigInteger sum = BigInteger.ZERO;\n\t\t\tfor (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}\n\t\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t\t}", "String n = br.readLine();", "n", "br.readLine()", "br.readLine", "br", "String[] a = br.readLine().split(\" \");", "a", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int i", "i", "num", "num", "min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "BigInteger sum = BigInteger.ZERO;", "sum", "BigInteger.ZERO", "BigInteger", "BigInteger.ZERO", "for (i = 0; i < a.length; i++) {\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}", "{\n\t\t\t\tnum = Integer.parseInt(a[i]);\n\t\t\t\tif (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}\n\t\t\t\tif (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}\n\t\t\t\tsum = sum.add(BigInteger.valueOf(num));\n\t\t\t}", "num = Integer.parseInt(a[i])", "num", "Integer.parseInt(a[i])", "Integer.parseInt", "Integer", "a[i]", "a", "i", "if (num > max) {\n\t\t\t\t\tmax = num;\n\t\t\t\t}", "num > max", "num", "max", "{\n\t\t\t\t\tmax = num;\n\t\t\t\t}", "max = num", "max", "num", "if (num < min) {\n\t\t\t\t\tmin = num;\n\t\t\t\t}", "num < min", "num", "min", "{\n\t\t\t\t\tmin = num;\n\t\t\t\t}", "min = num", "min", "num", "sum = sum.add(BigInteger.valueOf(num))", "sum", "sum.add(BigInteger.valueOf(num))", "sum.add", "sum", "BigInteger.valueOf(num)", "BigInteger.valueOf", "BigInteger", "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.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; class Main { public static void main(String[] args) { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); try { String n = br.readLine(); String[] a = br.readLine().split(" "); int i, num, min = 1000000; int max = -1000000; BigInteger sum = BigInteger.ZERO; for (i = 0; i < a.length; i++) { num = Integer.parseInt(a[i]); if (num > max) { max = num; } if (num < min) { min = num; } sum = sum.add(BigInteger.valueOf(num)); } System.out.println(min + " " + max + " " + sum); } catch (IOException e) { e.printStackTrace(); } } }
[ 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, 20, 4, 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, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 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, 2, 2, 2, 2, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 111, 5 ], [ 111, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 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 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 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 ], [ 51, 54 ], [ 54, 55 ], [ 54, 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 ], [ 67, 69 ], [ 8, 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 ], [ 74, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 74, 91 ], [ 91, 92 ], [ 91, 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 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "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\tString ns = sc.nextLine();\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint[] iarray = new int[Integer.parseInt(ns)];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}\n\t\tlong min = iarray[0];\n\t\tlong max = iarray[0];\n\t\tlong sum = 0;\n\t\tfor (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += 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\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint[] iarray = new int[Integer.parseInt(ns)];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}\n\t\tlong min = iarray[0];\n\t\tlong max = iarray[0];\n\t\tlong sum = 0;\n\t\tfor (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += i;\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\tString ns = sc.nextLine();\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint[] iarray = new int[Integer.parseInt(ns)];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}\n\t\tlong min = iarray[0];\n\t\tlong max = iarray[0];\n\t\tlong sum = 0;\n\t\tfor (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += i;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint[] iarray = new int[Integer.parseInt(ns)];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}\n\t\tlong min = iarray[0];\n\t\tlong max = iarray[0];\n\t\tlong sum = 0;\n\t\tfor (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += 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)", "String ns = sc.nextLine();", "ns", "sc.nextLine()", "sc.nextLine", "sc", "String[] array = sc.nextLine().split(\" \");", "array", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "int[] iarray = new int[Integer.parseInt(ns)];", "iarray", "new int[Integer.parseInt(ns)]", "Integer.parseInt(ns)", "Integer.parseInt", "Integer", "ns", "for (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\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\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}", "{\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}", "iarray[i] = Integer.parseInt(array[i])", "iarray[i]", "iarray", "i", "Integer.parseInt(array[i])", "Integer.parseInt", "Integer", "array[i]", "array", "i", "long min = iarray[0];", "min", "iarray[0]", "iarray", "0", "long max = iarray[0];", "max", "iarray[0]", "iarray", "0", "long sum = 0;", "sum", "0", "for (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += i;\n\t\t}", "int i", "iarray", "{\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += i;\n\t\t}", "{\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += i;\n\t\t}", "if (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}", "min > i", "min", "i", "{\n\t\t\t\tmin = i;\n\t\t\t}", "min = i", "min", "i", "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", "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", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint[] iarray = new int[Integer.parseInt(ns)];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}\n\t\tlong min = iarray[0];\n\t\tlong max = iarray[0];\n\t\tlong sum = 0;\n\t\tfor (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += 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\t\tScanner sc = new Scanner(System.in);\n\t\tString ns = sc.nextLine();\n\t\tString[] array = sc.nextLine().split(\" \");\n\t\tint[] iarray = new int[Integer.parseInt(ns)];\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tiarray[i] = Integer.parseInt(array[i]);\n\t\t}\n\t\tlong min = iarray[0];\n\t\tlong max = iarray[0];\n\t\tlong sum = 0;\n\t\tfor (int i : iarray) {\n\t\t\tif (min > i) {\n\t\t\t\tmin = i;\n\t\t\t}\n\t\t\tif (i > max) {\n\t\t\t\tmax = i;\n\t\t\t}\n\t\t\tsum += 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); String ns = sc.nextLine(); String[] array = sc.nextLine().split(" "); int[] iarray = new int[Integer.parseInt(ns)]; for (int i = 0; i < array.length; i++) { iarray[i] = Integer.parseInt(array[i]); } long min = iarray[0]; long max = iarray[0]; long sum = 0; for (int i : iarray) { if (min > i) { min = i; } if (i > max) { max = i; } sum += i; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 4, 18, 13, 29, 41, 13, 20, 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, 14, 2, 2, 18, 13, 13, 17, 2, 18, 13, 13, 40, 17, 0, 13, 17, 4, 18, 13, 14, 13, 29, 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, 28, 13, 13, 30, 30, 0, 13, 2, 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 ], [ 166, 5 ], [ 166, 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 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 31, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 43, 53 ], [ 53, 54 ], [ 54, 55 ], [ 43, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 65, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 8, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 97, 107 ], [ 107, 108 ], [ 108, 109 ], [ 97, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 121, 123 ], [ 111, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 127, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 8, 136 ], [ 136, 137 ], [ 136, 138 ], [ 136, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 8, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 154, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 152, 158 ], [ 154, 159 ], [ 8, 160 ], [ 160, 161 ], [ 161, 162 ], [ 6, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tint n = 0;\n\t\tlong sum = 0;\n\n\t\t// ????????£????????¨?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\t// ??\\???????????°????????°????????¶\n\t\tif (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}\n\n\t\t// ??\\???????????°????????°??????????????????\n\t\tint[] a_i = new int[n];\n\n\t\t// n????????????????????\\?????????????????¶?????????????????????break???\n\t\tboolean a = false;\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}\n\t\tsc.close();\n\t\tif (a)\n\t\t\treturn;\n\n\t\tint max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\\\n\t\tint min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\\\n\t\t// ?????§?????¨????°????????±???????\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}\n\t\t// ????¨????????±???????\n\t\tfor (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}\n\n\t\t// ????????????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\t// ????????£???????????????\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\n\t\tint n = 0;\n\t\tlong sum = 0;\n\n\t\t// ????????£????????¨?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\t// ??\\???????????°????????°????????¶\n\t\tif (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}\n\n\t\t// ??\\???????????°????????°??????????????????\n\t\tint[] a_i = new int[n];\n\n\t\t// n????????????????????\\?????????????????¶?????????????????????break???\n\t\tboolean a = false;\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}\n\t\tsc.close();\n\t\tif (a)\n\t\t\treturn;\n\n\t\tint max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\\\n\t\tint min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\\\n\t\t// ?????§?????¨????°????????±???????\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}\n\t\t// ????¨????????±???????\n\t\tfor (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}\n\n\t\t// ????????????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\t// ????????£???????????????\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tint n = 0;\n\t\tlong sum = 0;\n\n\t\t// ????????£????????¨?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\t// ??\\???????????°????????°????????¶\n\t\tif (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}\n\n\t\t// ??\\???????????°????????°??????????????????\n\t\tint[] a_i = new int[n];\n\n\t\t// n????????????????????\\?????????????????¶?????????????????????break???\n\t\tboolean a = false;\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}\n\t\tsc.close();\n\t\tif (a)\n\t\t\treturn;\n\n\t\tint max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\\\n\t\tint min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\\\n\t\t// ?????§?????¨????°????????±???????\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}\n\t\t// ????¨????????±???????\n\t\tfor (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}\n\n\t\t// ????????????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\t// ????????£???????????????\n\t\tsc.close();\n\t}", "main", "{\n\n\t\tint n = 0;\n\t\tlong sum = 0;\n\n\t\t// ????????£????????¨?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\t// ??\\???????????°????????°????????¶\n\t\tif (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}\n\n\t\t// ??\\???????????°????????°??????????????????\n\t\tint[] a_i = new int[n];\n\n\t\t// n????????????????????\\?????????????????¶?????????????????????break???\n\t\tboolean a = false;\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}\n\t\tsc.close();\n\t\tif (a)\n\t\t\treturn;\n\n\t\tint max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\\\n\t\tint min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\\\n\t\t// ?????§?????¨????°????????±???????\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}\n\t\t// ????¨????????±???????\n\t\tfor (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}\n\n\t\t// ????????????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\t// ????????£???????????????\n\t\tsc.close();\n\t}", "int n = 0;", "n", "0", "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", "if (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}", "n <= 0 || n > 10000", "n <= 0", "n", "0", "n > 10000", "n", "10000", "{\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}", "sc.close()", "sc.close", "sc", "return;", "int[] a_i = new int[n];", "a_i", "new int[n]", "n", "boolean a = false;", "a", "false", "for (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a_i.length", "i", "a_i.length", "a_i", "a_i.length", "i++", "i++", "i", "{\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}", "{\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}", "a_i[i] = sc.nextInt()", "a_i[i]", "a_i", "i", "sc.nextInt()", "sc.nextInt", "sc", "if (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;", "a_i[i] > 1000000 || a_i[i] < -1000000", "a_i[i] > 1000000", "a_i[i]", "a_i", "i", "1000000", "a_i[i] < -1000000", "a_i[i]", "a_i", "i", "-1000000", "1000000", "a = true", "a", "true", "sc.close()", "sc.close", "sc", "if (a)\n\t\t\treturn;", "a", "return;", "int max = a_i[0];", "max", "a_i[0]", "a_i", "0", "int min = a_i[0];", "min", "a_i[0]", "a_i", "0", "for (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a_i.length", "i", "a_i.length", "a_i", "a_i.length", "i++", "i++", "i", "{\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}", "{\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}", "if (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}", "max < a_i[i]", "max", "a_i[i]", "a_i", "i", "{\n\t\t\t\tmax = a_i[i];\n\t\t\t}", "max = a_i[i]", "max", "a_i[i]", "a_i", "i", "if (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}", "min > a_i[i]", "min", "a_i[i]", "a_i", "i", "{\n\t\t\t\tmin = a_i[i];\n\t\t\t}", "min = a_i[i]", "min", "a_i[i]", "a_i", "i", "for (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}", "int value", "a_i", "{\n\t\t\tsum = sum + value;\n\t\t}", "{\n\t\t\tsum = sum + value;\n\t\t}", "sum = sum + value", "sum", "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", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tint n = 0;\n\t\tlong sum = 0;\n\n\t\t// ????????£????????¨?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\t// ??\\???????????°????????°????????¶\n\t\tif (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}\n\n\t\t// ??\\???????????°????????°??????????????????\n\t\tint[] a_i = new int[n];\n\n\t\t// n????????????????????\\?????????????????¶?????????????????????break???\n\t\tboolean a = false;\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}\n\t\tsc.close();\n\t\tif (a)\n\t\t\treturn;\n\n\t\tint max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\\\n\t\tint min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\\\n\t\t// ?????§?????¨????°????????±???????\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}\n\t\t// ????¨????????±???????\n\t\tfor (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}\n\n\t\t// ????????????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\t// ????????£???????????????\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tint n = 0;\n\t\tlong sum = 0;\n\n\t\t// ????????£????????¨?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tn = sc.nextInt();\n\n\t\t// ??\\???????????°????????°????????¶\n\t\tif (n <= 0 || n > 10000) {\n\t\t\tsc.close();\n\t\t\treturn;\n\t\t}\n\n\t\t// ??\\???????????°????????°??????????????????\n\t\tint[] a_i = new int[n];\n\n\t\t// n????????????????????\\?????????????????¶?????????????????????break???\n\t\tboolean a = false;\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\ta_i[i] = sc.nextInt();\n\t\t\tif (a_i[i] > 1000000 || a_i[i] < -1000000)\n\t\t\t\ta = true;\n\t\t}\n\t\tsc.close();\n\t\tif (a)\n\t\t\treturn;\n\n\t\tint max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\\\n\t\tint min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\\\n\t\t// ?????§?????¨????°????????±???????\n\t\tfor (int i = 0; i < a_i.length; i++) {\n\t\t\tif (max < a_i[i]) {\n\t\t\t\tmax = a_i[i];\n\t\t\t}\n\t\t\tif (min > a_i[i]) {\n\t\t\t\tmin = a_i[i];\n\t\t\t}\n\n\t\t}\n\t\t// ????¨????????±???????\n\t\tfor (int value : a_i) {\n\t\t\tsum = sum + value;\n\t\t}\n\n\t\t// ????????????\n\t\tSystem.out.println(min + \" \" + max + \" \" + sum);\n\n\t\t// ????????£???????????????\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int n = 0; long sum = 0; // ????????£????????¨????????? Scanner sc = new Scanner(System.in); n = sc.nextInt(); // ??\???????????°????????°????????¶ if (n <= 0 || n > 10000) { sc.close(); return; } // ??\???????????°????????°?????????????????? int[] a_i = new int[n]; // n????????????????????\?????????????????¶?????????????????????break??? boolean a = false; for (int i = 0; i < a_i.length; i++) { a_i[i] = sc.nextInt(); if (a_i[i] > 1000000 || a_i[i] < -1000000) a = true; } sc.close(); if (a) return; int max = a_i[0]; // ??¨?????????????????§??????a_i[0]????¨???????????????°max?????£??\ int min = a_i[0]; // ??¨????????????????°???????a_i[0]????¨???????????????°min?????£??\ // ?????§?????¨????°????????±??????? for (int i = 0; i < a_i.length; i++) { if (max < a_i[i]) { max = a_i[i]; } if (min > a_i[i]) { min = a_i[i]; } } // ????¨????????±??????? for (int value : a_i) { sum = sum + value; } // ???????????? 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, 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, 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 ], [ 79, 8 ], [ 79, 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 ], [ 24, 26 ], [ 11, 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 ], [ 39, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 64, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 62, 74 ], [ 64, 75 ], [ 9, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x=sc.nextInt();\n int asa[] = new int[x];\n long sum = 0;\n for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }\n Arrays.sort(asa);\n \n System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x=sc.nextInt();\n int asa[] = new int[x];\n long sum = 0;\n for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }\n Arrays.sort(asa);\n \n System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x=sc.nextInt();\n int asa[] = new int[x];\n long sum = 0;\n for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }\n Arrays.sort(asa);\n \n System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int x=sc.nextInt();\n int asa[] = new int[x];\n long sum = 0;\n for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }\n Arrays.sort(asa);\n \n System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int asa[] = new int[x];", "asa", "new int[x]", "x", "long sum = 0;", "sum", "0", "for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<x", "i", "x", "i++", "i++", "i", "{\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }", "{\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }", "asa[i]=sc.nextInt()", "asa[i]", "asa", "i", "sc.nextInt()", "sc.nextInt", "sc", "sum +=asa[i]", "sum", "asa[i]", "asa", "i", "Arrays.sort(asa)", "Arrays.sort", "Arrays", "asa", "System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "asa[0]+\" \"+asa[x-1]+\" \"+sum", "\" \"", "asa[x-1]", "asa[0]+\" \"+asa[x-1]+\" \"+sum", "asa[0]", "asa", "0", "\" \"", "asa[x-1]", "asa", "x-1", "x", "1", "\" \"", "sum", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x=sc.nextInt();\n int asa[] = new int[x];\n long sum = 0;\n for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }\n Arrays.sort(asa);\n \n System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int x=sc.nextInt();\n int asa[] = new int[x];\n long sum = 0;\n for(int i=0;i<x;i++){\n asa[i]=sc.nextInt();\n sum +=asa[i];\n }\n Arrays.sort(asa);\n \n System.out.println(asa[0]+\" \"+asa[x-1]+\" \"+sum);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int x=sc.nextInt(); int asa[] = new int[x]; long sum = 0; for(int i=0;i<x;i++){ asa[i]=sc.nextInt(); sum +=asa[i]; } Arrays.sort(asa); System.out.println(asa[0]+" "+asa[x-1]+" "+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, 17, 41, 13, 17, 41, 13, 17, 41, 13, 41, 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, 2, 13, 17, 2, 13, 13, 30, 0, 13, 13, 14, 2, 2, 13, 17, 2, 13, 13, 30, 0, 13, 13, 0, 13, 4, 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 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 11, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 11, 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 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 60, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 60, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 60, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 11, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 107, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 107, 112 ], [ 9, 113 ], [ 113, 114 ] ]
[ "import java.io.*;\nimport java.math.*;\n\nclass Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tlong input_num;\n\t\t\n\t\tString input = br.readLine();\n\t\tString[] sz_num = input.split(\" \");\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "class Main {\n\tpublic static void main(String args[]) throws IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tlong input_num;\n\t\t\n\t\tString input = br.readLine();\n\t\tString[] sz_num = input.split(\" \");\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}\n}", "Main", "public static void main(String args[]) throws IOException {\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tlong input_num;\n\t\t\n\t\tString input = br.readLine();\n\t\tString[] sz_num = input.split(\" \");\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}", "main", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(isr);\n\t\t\n\t\tint n = Integer.parseInt(br.readLine());\n\t\t\n\t\tlong min = 0;\n\t\tlong max = 0;\n\t\tlong sum = 0;\n\t\tlong input_num;\n\t\t\n\t\tString input = br.readLine();\n\t\tString[] sz_num = input.split(\" \");\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}\n\t\t\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "long min = 0;", "min", "0", "long max = 0;", "max", "0", "long sum = 0;", "sum", "0", "long input_num;", "input_num", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "String[] sz_num = input.split(\" \");", "sz_num", "input.split(\" \")", "input.split", "input", "\" \"", "for (int i = 0; i < n; i++) {\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}", "{\n\t\t\tint tmp = Integer.parseInt(sz_num[i]);\n\t\t\t\n\t\t\tif (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}\n\t\t\tif (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}\n\t\t\t\n\t\t\tsum += Long.valueOf(tmp);\n\t\t}", "int tmp = Integer.parseInt(sz_num[i]);", "tmp", "Integer.parseInt(sz_num[i])", "Integer.parseInt", "Integer", "sz_num[i]", "sz_num", "i", "if (i == 0 || min > tmp) {\n\t\t\t\tmin = tmp;\n\t\t\t}", "i == 0 || min > tmp", "i == 0", "i", "0", "min > tmp", "min", "tmp", "{\n\t\t\t\tmin = tmp;\n\t\t\t}", "min = tmp", "min", "tmp", "if (i == 0 || max < tmp) {\n\t\t\t\tmax = tmp;\n\t\t\t}", "i == 0 || max < tmp", "i == 0", "i", "0", "max < tmp", "max", "tmp", "{\n\t\t\t\tmax = tmp;\n\t\t\t}", "max = tmp", "max", "tmp", "sum += Long.valueOf(tmp)", "sum", "Long.valueOf(tmp)", "Long.valueOf", "Long", "tmp", "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.*; import java.math.*; class Main { public static void main(String args[]) throws IOException { InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); int n = Integer.parseInt(br.readLine()); long min = 0; long max = 0; long sum = 0; long input_num; String input = br.readLine(); String[] sz_num = input.split(" "); for (int i = 0; i < n; i++) { int tmp = Integer.parseInt(sz_num[i]); if (i == 0 || min > tmp) { min = tmp; } if (i == 0 || max < tmp) { max = tmp; } sum += Long.valueOf(tmp); } 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, 17, 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, 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 ], [ 94, 5 ], [ 94, 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 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 54, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 54, 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 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n,num,min,max;\n\t\tlong sum = 0;\n\t\tn = sc.nextInt();\n\t\tnum = sc.nextInt();\n\t\tmin = num;\n\t\tmax = num;\n\t\tsum += num;\n\t\tfor(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\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 sc = new Scanner(System.in);\n\t\tint n,num,min,max;\n\t\tlong sum = 0;\n\t\tn = sc.nextInt();\n\t\tnum = sc.nextInt();\n\t\tmin = num;\n\t\tmax = num;\n\t\tsum += num;\n\t\tfor(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\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 n,num,min,max;\n\t\tlong sum = 0;\n\t\tn = sc.nextInt();\n\t\tnum = sc.nextInt();\n\t\tmin = num;\n\t\tmax = num;\n\t\tsum += num;\n\t\tfor(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\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 n,num,min,max;\n\t\tlong sum = 0;\n\t\tn = sc.nextInt();\n\t\tnum = sc.nextInt();\n\t\tmin = num;\n\t\tmax = num;\n\t\tsum += num;\n\t\tfor(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\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", "n", "num", "num", "min", "min", "max;", "max", "long sum = 0;", "sum", "0", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "num = sc.nextInt()", "num", "sc.nextInt()", "sc.nextInt", "sc", "min = num", "min", "num", "max = num", "max", "num", "sum += num", "sum", "num", "for(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\n\t\t}", "{\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\n\t\t}", "num = sc.nextInt()", "num", "sc.nextInt()", "sc.nextInt", "sc", "min = Math.min(min, num)", "min", "Math.min(min, num)", "Math.min", "Math", "min", "num", "max = Math.max(max, num)", "max", "Math.max(max, num)", "Math.max", "Math", "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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n,num,min,max;\n\t\tlong sum = 0;\n\t\tn = sc.nextInt();\n\t\tnum = sc.nextInt();\n\t\tmin = num;\n\t\tmax = num;\n\t\tsum += num;\n\t\tfor(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\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 sc = new Scanner(System.in);\n\t\tint n,num,min,max;\n\t\tlong sum = 0;\n\t\tn = sc.nextInt();\n\t\tnum = sc.nextInt();\n\t\tmin = num;\n\t\tmax = num;\n\t\tsum += num;\n\t\tfor(int i=1; i<n; i++) {\n\t\t\tnum = sc.nextInt();\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t\tsum += num;\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 sc = new Scanner(System.in); int n,num,min,max; long sum = 0; n = sc.nextInt(); num = sc.nextInt(); min = num; max = num; sum += num; for(int i=1; i<n; i++) { num = sc.nextInt(); min = Math.min(min, num); max = Math.max(max, num); sum += num; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 18, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 77, 8 ], [ 77, 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 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 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 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 41, 51 ], [ 51, 52 ], [ 51, 53 ], [ 11, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 62, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 61, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 60, 72 ], [ 62, 73 ], [ 9, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.Scanner;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n long sum=0;\n List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());\n Scanner sc = new Scanner(System.in);\nint a =sc.nextInt();\nfor(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}\nSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n long sum=0;\n List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());\n Scanner sc = new Scanner(System.in);\nint a =sc.nextInt();\nfor(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}\nSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n }\n}", "Main", "public static void main(String[] args){\n long sum=0;\n List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());\n Scanner sc = new Scanner(System.in);\nint a =sc.nextInt();\nfor(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}\nSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n }", "main", "{\n long sum=0;\n List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());\n Scanner sc = new Scanner(System.in);\nint a =sc.nextInt();\nfor(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}\nSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n }", "long sum=0;", "sum", "0", "List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());", "list", "Collections.synchronizedList(new ArrayList<Integer>())", "Collections.synchronizedList", "Collections", "new ArrayList<Integer>()", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a =sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}", "{\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}", "int b=sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "list.add(b)", "list.add", "list", "b", "sum+=b", "sum", "b", "System.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum", "\" \"", "Collections.max(list)", "Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum", "Collections.min(list)", "Collections.min", "Collections", "list", "\" \"", "Collections.max(list)", "Collections.max", "Collections", "list", "\" \"", "sum", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n long sum=0;\n List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());\n Scanner sc = new Scanner(System.in);\nint a =sc.nextInt();\nfor(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}\nSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n }\n}", "public class Main{\n public static void main(String[] args){\n long sum=0;\n List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>());\n Scanner sc = new Scanner(System.in);\nint a =sc.nextInt();\nfor(int i=0;i<a;i++){\n int b=sc.nextInt();\n list.add(b);\n sum+=b;\n}\nSystem.out.println(Collections.min(list)+\" \"+Collections.max(list)+\" \"+sum);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.*; public class Main{ public static void main(String[] args){ long sum=0; List<Integer> list = Collections.synchronizedList(new ArrayList<Integer>()); Scanner sc = new Scanner(System.in); int a =sc.nextInt(); for(int i=0;i<a;i++){ int b=sc.nextInt(); list.add(b); sum+=b; } System.out.println(Collections.min(list)+" "+Collections.max(list)+" "+sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 17, 13, 30, 4, 18, 13, 40, 17, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 2, 13, 40, 17, 2, 17, 13, 30, 4, 18, 13, 40, 17, 0, 18, 13, 13, 13, 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, 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, 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, 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 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 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 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 56, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 50, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 8, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 81, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 8, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 8, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 111, 122 ], [ 123, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 127, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 8, 136 ], [ 136, 137 ], [ 136, 138 ], [ 8, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 139, 150 ], [ 151, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 156, 158 ], [ 8, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 167, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 165, 171 ], [ 167, 172 ], [ 6, 173 ], [ 173, 174 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n<1 || 10000<n){\n System.exit(-1);\n }\n int[] list = new int[n];\n int a=0;\n for(int i=0; i<n; i++){\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }\n \n long min = list[0];\n for(int i=1; i<n; i++){\n if(min>list[i]){\n min = list[i];\n }\n }\n \n long max = list[0];\n for(int i=1; i<n; i++){\n if(max<list[i]){\n max = list[i];\n }\n }\n \n long sum = 0;\n for(int i=0; i<n; i++){\n sum = sum + list[i];\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 sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n<1 || 10000<n){\n System.exit(-1);\n }\n int[] list = new int[n];\n int a=0;\n for(int i=0; i<n; i++){\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }\n \n long min = list[0];\n for(int i=1; i<n; i++){\n if(min>list[i]){\n min = list[i];\n }\n }\n \n long max = list[0];\n for(int i=1; i<n; i++){\n if(max<list[i]){\n max = list[i];\n }\n }\n \n long sum = 0;\n for(int i=0; i<n; i++){\n sum = sum + list[i];\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 if(n<1 || 10000<n){\n System.exit(-1);\n }\n int[] list = new int[n];\n int a=0;\n for(int i=0; i<n; i++){\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }\n \n long min = list[0];\n for(int i=1; i<n; i++){\n if(min>list[i]){\n min = list[i];\n }\n }\n \n long max = list[0];\n for(int i=1; i<n; i++){\n if(max<list[i]){\n max = list[i];\n }\n }\n \n long sum = 0;\n for(int i=0; i<n; i++){\n sum = sum + list[i];\n }\n System.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n if(n<1 || 10000<n){\n System.exit(-1);\n }\n int[] list = new int[n];\n int a=0;\n for(int i=0; i<n; i++){\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }\n \n long min = list[0];\n for(int i=1; i<n; i++){\n if(min>list[i]){\n min = list[i];\n }\n }\n \n long max = list[0];\n for(int i=1; i<n; i++){\n if(max<list[i]){\n max = list[i];\n }\n }\n \n long sum = 0;\n for(int i=0; i<n; i++){\n sum = sum + list[i];\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", "if(n<1 || 10000<n){\n System.exit(-1);\n }", "n<1 || 10000<n", "n<1", "n", "1", "10000<n", "10000", "n", "{\n System.exit(-1);\n }", "System.exit(-1)", "System.exit", "System", "-1", "1", "int[] list = new int[n];", "list", "new int[n]", "n", "int a=0;", "a", "0", "for(int i=0; i<n; i++){\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }", "{\n a=sc.nextInt();\n if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }\n list[i]=a;\n }", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "if(a<-1000000 || 1000000<a){\n System.exit(-1);\n }", "a<-1000000 || 1000000<a", "a<-1000000", "a", "-1000000", "1000000", "1000000<a", "1000000", "a", "{\n System.exit(-1);\n }", "System.exit(-1)", "System.exit", "System", "-1", "1", "list[i]=a", "list[i]", "list", "i", "a", "long min = list[0];", "min", "list[0]", "list", "0", "for(int i=1; i<n; i++){\n if(min>list[i]){\n min = list[i];\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n if(min>list[i]){\n min = list[i];\n }\n }", "{\n if(min>list[i]){\n min = list[i];\n }\n }", "if(min>list[i]){\n min = list[i];\n }", "min>list[i]", "min", "list[i]", "list", "i", "{\n min = list[i];\n }", "min = list[i]", "min", "list[i]", "list", "i", "long max = list[0];", "max", "list[0]", "list", "0", "for(int i=1; i<n; i++){\n if(max<list[i]){\n max = list[i];\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n if(max<list[i]){\n max = list[i];\n }\n }", "{\n if(max<list[i]){\n max = list[i];\n }\n }", "if(max<list[i]){\n max = list[i];\n }", "max<list[i]", "max", "list[i]", "list", "i", "{\n max = list[i];\n }", "max = list[i]", "max", "list[i]", "list", "i", "long sum = 0;", "sum", "0", "for(int i=0; i<n; i++){\n sum = sum + list[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n sum = sum + list[i];\n }", "{\n sum = sum + list[i];\n }", "sum = sum + list[i]", "sum", "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" ]
import java.util.Scanner; class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); if(n<1 || 10000<n){ System.exit(-1); } int[] list = new int[n]; int a=0; for(int i=0; i<n; i++){ a=sc.nextInt(); if(a<-1000000 || 1000000<a){ System.exit(-1); } list[i]=a; } long min = list[0]; for(int i=1; i<n; i++){ if(min>list[i]){ min = list[i]; } } long max = list[0]; for(int i=1; i<n; i++){ if(max<list[i]){ max = list[i]; } } long sum = 0; for(int i=0; i<n; i++){ sum = sum + list[i]; } 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, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 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, 0, 13, 4, 18, 13, 13, 14, 2, 13, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 13, 30, 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, 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 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 14, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 14, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 56, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 70, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 70, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 70, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 14, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 113, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 111, 117 ], [ 113, 118 ], [ 12, 119 ], [ 119, 120 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n =scan.nextLine();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint sss =1000000;\n\t\tint ddd =-1000000;\n\t\tlong sum =0;\n\t\tlong kazuA = 0;\n\t\tlong kazuB = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= list.get(i);\n\t\t} \n\t\tSystem.out.println(sss+\" \"+ddd+\" \"+sum);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n =scan.nextLine();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint sss =1000000;\n\t\tint ddd =-1000000;\n\t\tlong sum =0;\n\t\tlong kazuA = 0;\n\t\tlong kazuB = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= list.get(i);\n\t\t} \n\t\tSystem.out.println(sss+\" \"+ddd+\" \"+sum);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n =scan.nextLine();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint sss =1000000;\n\t\tint ddd =-1000000;\n\t\tlong sum =0;\n\t\tlong kazuA = 0;\n\t\tlong kazuB = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= list.get(i);\n\t\t} \n\t\tSystem.out.println(sss+\" \"+ddd+\" \"+sum);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString n =scan.nextLine();\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint sss =1000000;\n\t\tint ddd =-1000000;\n\t\tlong sum =0;\n\t\tlong kazuA = 0;\n\t\tlong kazuB = 0;\n\t\twhile(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= list.get(i);\n\t\t} \n\t\tSystem.out.println(sss+\" \"+ddd+\" \"+sum);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String n =scan.nextLine();", "n", "scan.nextLine()", "scan.nextLine", "scan", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "int sss =1000000;", "sss", "1000000", "int ddd =-1000000;", "ddd", "-1000000", "1000000", "long sum =0;", "sum", "0", "long kazuA = 0;", "kazuA", "0", "long kazuB = 0;", "kazuB", "0", "while(scan.hasNextInt()){\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}", "scan.hasNextInt()", "scan.hasNextInt", "scan", "{\n\t\t\tint x = scan.nextInt();\n\t\t\tlist.add(x);\n\t\t}", "int x = scan.nextInt();", "x", "scan.nextInt()", "scan.nextInt", "scan", "list.add(x)", "list.add", "list", "x", "for(int i=0;i<list.size();i++){\n\t\t\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= 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\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= list.get(i);\n\t\t}", "{\n\t\t\tkazuA = list.get(i);\n\t\t\tif(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}\n\t\t\tif(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}\n\t\t\tsum+= list.get(i);\n\t\t}", "kazuA = list.get(i)", "kazuA", "list.get(i)", "list.get", "list", "i", "if(kazuA < sss){\n\t\t\t\tsss = list.get(i);\n\t\t\t}", "kazuA < sss", "kazuA", "sss", "{\n\t\t\t\tsss = list.get(i);\n\t\t\t}", "sss = list.get(i)", "sss", "list.get(i)", "list.get", "list", "i", "if(kazuA > ddd){\n\t\t\t\tddd = list.get(i);\n\t\t\t}", "kazuA > ddd", "kazuA", "ddd", "{\n\t\t\t\tddd = list.get(i);\n\t\t\t}", "ddd = list.get(i)", "ddd", "list.get(i)", "list.get", "list", "i", "sum+= list.get(i)", "sum", "list.get(i)", "list.get", "list", "i", "System.out.println(sss+\" \"+ddd+\" \"+sum)", "System.out.println", "System.out", "System", "System.out", "sss+\" \"+ddd+\" \"+sum", "\" \"", "ddd", "sss+\" \"+ddd+\" \"+sum", "sss", "\" \"", "ddd", "\" \"", "sum", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String n =scan.nextLine(); ArrayList<Integer> list = new ArrayList<Integer>(); int sss =1000000; int ddd =-1000000; long sum =0; long kazuA = 0; long kazuB = 0; while(scan.hasNextInt()){ int x = scan.nextInt(); list.add(x); } for(int i=0;i<list.size();i++){ kazuA = list.get(i); if(kazuA < sss){ sss = list.get(i); } if(kazuA > ddd){ ddd = list.get(i); } sum+= list.get(i); } System.out.println(sss+" "+ddd+" "+sum); } }
[ 7, 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, 4, 18, 13, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 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, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 114, 14 ], [ 114, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 17, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 51 ], [ 51, 52 ], [ 51, 53 ], [ 17, 54 ], [ 54, 55 ], [ 54, 56 ], [ 17, 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 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 69, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 69, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 69, 94 ], [ 94, 95 ], [ 94, 96 ], [ 17, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 105, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 105, 110 ], [ 15, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "import java.io.BufferedReader;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString line = breader.readLine();\n\t\tint num = Integer.valueOf(line);\n\t\tline = breader.readLine();\n\t\tString[] snum = line.split(\" \");\n\t\tint max = Integer.valueOf(snum[0]);\n\t\tint min = max;\n\t\tlong sum = max;\n\t\tfor( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}\n\t\tSystem.out.println( min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "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 Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString line = breader.readLine();\n\t\tint num = Integer.valueOf(line);\n\t\tline = breader.readLine();\n\t\tString[] snum = line.split(\" \");\n\t\tint max = Integer.valueOf(snum[0]);\n\t\tint min = max;\n\t\tlong sum = max;\n\t\tfor( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}\n\t\tSystem.out.println( min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString line = breader.readLine();\n\t\tint num = Integer.valueOf(line);\n\t\tline = breader.readLine();\n\t\tString[] snum = line.split(\" \");\n\t\tint max = Integer.valueOf(snum[0]);\n\t\tint min = max;\n\t\tlong sum = max;\n\t\tfor( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}\n\t\tSystem.out.println( min + \" \" + max + \" \" + sum);\n\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString line = breader.readLine();\n\t\tint num = Integer.valueOf(line);\n\t\tline = breader.readLine();\n\t\tString[] snum = line.split(\" \");\n\t\tint max = Integer.valueOf(snum[0]);\n\t\tint min = max;\n\t\tlong sum = max;\n\t\tfor( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}\n\t\tSystem.out.println( min + \" \" + max + \" \" + sum);\n\n\t}", "BufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));", "breader", "new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in))", "String line = breader.readLine();", "line", "breader.readLine()", "breader.readLine", "breader", "int num = Integer.valueOf(line);", "num", "Integer.valueOf(line)", "Integer.valueOf", "Integer", "line", "line = breader.readLine()", "line", "breader.readLine()", "breader.readLine", "breader", "String[] snum = line.split(\" \");", "snum", "line.split(\" \")", "line.split", "line", "\" \"", "int max = Integer.valueOf(snum[0]);", "max", "Integer.valueOf(snum[0])", "Integer.valueOf", "Integer", "snum[0]", "snum", "0", "int min = max;", "min", "max", "long sum = max;", "sum", "max", "for( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}", "int i = 1 ;", "int i = 1 ;", "i", "1", "i < num", "i", "num", "i++", "i++", "i", "{\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}", "{\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}", "int n = Integer.valueOf(snum[i]);", "n", "Integer.valueOf(snum[i])", "Integer.valueOf", "Integer", "snum[i]", "snum", "i", "if ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}", "max < n", "max", "n", "{\n\t\t\t\tmax = n;\n\t\t\t}", "max = n", "max", "n", "if ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}", "min > n", "min", "n", "{\n\t\t\t\tmin = n;\n\t\t\t}", "min = n", "min", "n", "sum += n", "sum", "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\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString line = breader.readLine();\n\t\tint num = Integer.valueOf(line);\n\t\tline = breader.readLine();\n\t\tString[] snum = line.split(\" \");\n\t\tint max = Integer.valueOf(snum[0]);\n\t\tint min = max;\n\t\tlong sum = max;\n\t\tfor( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}\n\t\tSystem.out.println( min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader breader = new BufferedReader(\n\t\t\t\tnew InputStreamReader(System.in));\n\n\t\tString line = breader.readLine();\n\t\tint num = Integer.valueOf(line);\n\t\tline = breader.readLine();\n\t\tString[] snum = line.split(\" \");\n\t\tint max = Integer.valueOf(snum[0]);\n\t\tint min = max;\n\t\tlong sum = max;\n\t\tfor( int i = 1 ; i < num ; i++ ){\n\t\t\tint n = Integer.valueOf(snum[i]);\n\t\t\tif ( max < n ) {\n\t\t\t\tmax = n;\n\t\t\t}\n\t\t\tif ( min > n ) {\n\t\t\t\tmin = n;\n\t\t\t}\n\t\t\tsum += n;\n\n\t\t}\n\t\tSystem.out.println( min + \" \" + max + \" \" + sum);\n\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // TODO ????????????????????????????????????????????? BufferedReader breader = new BufferedReader( new InputStreamReader(System.in)); String line = breader.readLine(); int num = Integer.valueOf(line); line = breader.readLine(); String[] snum = line.split(" "); int max = Integer.valueOf(snum[0]); int min = max; long sum = max; for( int i = 1 ; i < num ; i++ ){ int n = Integer.valueOf(snum[i]); if ( max < n ) { max = n; } if ( min > n ) { min = n; } sum += n; } 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, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 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, 40, 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, 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 ], [ 130, 8 ], [ 130, 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 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 11, 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 ], [ 11, 61 ], [ 61, 62 ], [ 61, 63 ], [ 11, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 11, 68 ], [ 68, 69 ], [ 68, 70 ], [ 11, 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 ], [ 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 ], [ 83, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 110, 112 ], [ 11, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 121, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 121, 126 ], [ 9, 127 ], [ 127, 128 ], [ 0, 129 ], [ 129, 130 ], [ 129, 131 ] ]
[ "import java.util.Scanner;\nimport java.lang.Math;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] inputs = input.split(\" \");\n\tint[] numbers = new int[n];\n\tfor (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}\n\tint min = 1000000;\n\tint max = -1000000;\n\tlong sum = 0;\n\tfor (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}\n\tSystem.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.lang.Math;", "Math", "java.lang", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] inputs = input.split(\" \");\n\tint[] numbers = new int[n];\n\tfor (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}\n\tint min = 1000000;\n\tint max = -1000000;\n\tlong sum = 0;\n\tfor (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}\n\tSystem.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main", "public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] inputs = input.split(\" \");\n\tint[] numbers = new int[n];\n\tfor (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}\n\tint min = 1000000;\n\tint max = -1000000;\n\tlong sum = 0;\n\tfor (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}\n\tSystem.out.println(min + \" \" + max + \" \" + sum);\n }", "main", "{\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] inputs = input.split(\" \");\n\tint[] numbers = new int[n];\n\tfor (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}\n\tint min = 1000000;\n\tint max = -1000000;\n\tlong sum = 0;\n\tfor (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}\n\tSystem.out.println(min + \" \" + max + \" \" + sum);\n }", "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", "String input = scan.nextLine();", "input", "scan.nextLine()", "scan.nextLine", "scan", "String[] inputs = input.split(\" \");", "inputs", "input.split(\" \")", "input.split", "input", "\" \"", "int[] numbers = new int[n];", "numbers", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}", "{\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}", "numbers[i] = Integer.parseInt(inputs[i])", "numbers[i]", "numbers", "i", "Integer.parseInt(inputs[i])", "Integer.parseInt", "Integer", "inputs[i]", "inputs", "i", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}", "{\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}", "if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }", "min > numbers[i]", "min", "numbers[i]", "numbers", "i", "{\n\t\tmin = numbers[i];\n\t }", "min = numbers[i]", "min", "numbers[i]", "numbers", "i", "if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }", "max < numbers[i]", "max", "numbers[i]", "numbers", "i", "{\n\t\tmax = numbers[i];\n\t }", "max = numbers[i]", "max", "numbers[i]", "numbers", "i", "sum += (long)numbers[i]", "sum", "(long)numbers[i]", "numbers", "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\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] inputs = input.split(\" \");\n\tint[] numbers = new int[n];\n\tfor (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}\n\tint min = 1000000;\n\tint max = -1000000;\n\tlong sum = 0;\n\tfor (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}\n\tSystem.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\tint n = Integer.parseInt(scan.nextLine());\n\tString input = scan.nextLine();\n\tString[] inputs = input.split(\" \");\n\tint[] numbers = new int[n];\n\tfor (int i = 0; i < n; i++) {\n\t numbers[i] = Integer.parseInt(inputs[i]);\n\t}\n\tint min = 1000000;\n\tint max = -1000000;\n\tlong sum = 0;\n\tfor (int i = 0; i < n; i++) {\n\t if (min > numbers[i]) {\n\t\tmin = numbers[i];\n\t }\n\t if (max < numbers[i]) {\n\t\tmax = numbers[i];\n\t }\n\t sum += (long)numbers[i];\n\t}\n\tSystem.out.println(min + \" \" + max + \" \" + sum);\n }\n}", "Main" ]
import java.util.Scanner; import java.lang.Math; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan.nextLine()); String input = scan.nextLine(); String[] inputs = input.split(" "); int[] numbers = new int[n]; for (int i = 0; i < n; i++) { numbers[i] = Integer.parseInt(inputs[i]); } int min = 1000000; int max = -1000000; long sum = 0; for (int i = 0; i < n; i++) { if (min > numbers[i]) { min = numbers[i]; } if (max < numbers[i]) { max = numbers[i]; } sum += (long)numbers[i]; } System.out.println(min + " " + max + " " + sum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 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 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 16, 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 ], [ 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\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tfor (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 +\" \"+ sum);\n\t\t\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tfor (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 +\" \"+ sum);\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tfor (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 +\" \"+ sum);\n\t\t\n\t}", "main", "{\n\t\t\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tfor (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 +\" \"+ sum);\n\t\t\n\t}", "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 sum = 0;", "sum", "0", "Scanner x = new Scanner(System.in);", "x", "new Scanner(System.in)", "int n = x.nextInt();", "n", "x.nextInt()", "x.nextInt", "x", "for (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 = 0 ;", "int i = 0 ;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 = x.nextInt();\n\t\t\tsum = sum +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 = x.nextInt();", "a", "x.nextInt()", "x.nextInt", "x", "sum = sum +a", "sum", "sum +a", "sum", "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 +\" \"+ 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\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tfor (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 +\" \"+ sum);\n\t\t\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\t\n\t\tint max = Integer.MIN_VALUE;\n\t\tint min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tScanner x = new Scanner(System.in);\n\t\tint n = x.nextInt();\n\t\tfor (int i = 0 ; i < n ; i++){\n\t\t\tint a = x.nextInt();\n\t\t\tsum = sum +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 +\" \"+ sum);\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int max = Integer.MIN_VALUE; int min = Integer.MAX_VALUE; long sum = 0; Scanner x = new Scanner(System.in); int n = x.nextInt(); for (int i = 0 ; i < n ; i++){ int a = x.nextInt(); sum = sum +a; if(max < a){ max = a; } if(min > a){ min = a; } } 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, 40, 17, 41, 13, 17, 41, 13, 41, 13, 17, 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 ], [ 83, 5 ], [ 83, 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 ], [ 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 ], [ 41, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 41, 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 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "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(),max=-1000001,min=1000001,non;long sum=0;\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),max=-1000001,min=1000001,non;long sum=0;\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\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 n = sc.nextInt(),max=-1000001,min=1000001,non;long sum=0;\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\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 n = sc.nextInt(),max=-1000001,min=1000001,non;long sum=0;\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\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", "max=-1000001", "max", "-1000001", "1000001", "min=1000001", "min", "1000001", "non;", "non", "long sum=0;", "sum", "0", "for (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\n\t\t}", "int a=1;", "int a=1;", "a", "1", "a<=n", "a", "n", "a++", "a++", "a", "{\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\n\t\t}", "{\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\n\t\t}", "non=sc.nextInt()", "non", "sc.nextInt()", "sc.nextInt", "sc", "if (non>=max){max=non;}", "non>=max", "non", "max", "{max=non;}", "max=non", "max", "non", "if(non<=min){min=non;}", "non<=min", "non", "min", "{min=non;}", "min=non", "min", "non", "sum +=non", "sum", "non", "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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),max=-1000001,min=1000001,non;long sum=0;\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(),max=-1000001,min=1000001,non;long sum=0;\n\t\tfor (int a=1;a<=n;a++){\n\t\t\tnon=sc.nextInt();\n\t\tif (non>=max){max=non;}\n\t\tif(non<=min){min=non;}\n\t\tsum +=non;\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(),max=-1000001,min=1000001,non;long sum=0; for (int a=1;a<=n;a++){ non=sc.nextInt(); if (non>=max){max=non;} if(non<=min){min=non;} sum +=non; } 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, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 100, 11 ], [ 100, 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 ], [ 14, 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 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 14, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 52, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 14, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 81, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 90, 94 ], [ 79, 95 ], [ 81, 96 ], [ 12, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.Scanner;\n\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\tlong total = 0;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\t//????????§???????????????\n\t\tCollections.sort(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\t\t//????°????????????§??????????¨???????????????????\n\t\tSystem.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total);\n\t}\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 void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong total = 0;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\t//????????§???????????????\n\t\tCollections.sort(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\t\t//????°????????????§??????????¨???????????????????\n\t\tSystem.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total);\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\tlong total = 0;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\t//????????§???????????????\n\t\tCollections.sort(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\t\t//????°????????????§??????????¨???????????????????\n\t\tSystem.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tlong total = 0;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\t//????????§???????????????\n\t\tCollections.sort(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\t\t//????°????????????§??????????¨???????????????????\n\t\tSystem.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "long total = 0;", "total", "0", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "for (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tlist.add(sc.nextInt());\n\t\t}", "{\n\t\t\tlist.add(sc.nextInt());\n\t\t}", "list.add(sc.nextInt())", "list.add", "list", "sc.nextInt()", "sc.nextInt", "sc", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += 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\ttotal += list.get(i);\n\t\t}", "{\n\t\t\ttotal += list.get(i);\n\t\t}", "total += list.get(i)", "total", "list.get(i)", "list.get", "list", "i", "System.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total)", "System.out.println", "System.out", "System", "System.out", "list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total", "\" \"", "list.get(list.size()-1)", "list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total", "list.get(0)", "list.get", "list", "0", "\" \"", "list.get(list.size()-1)", "list.get", "list", "list.size()-1", "list.size()", "list.size", "list", "1", "\" \"", "total", "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\tlong total = 0;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\t//????????§???????????????\n\t\tCollections.sort(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\t\t//????°????????????§??????????¨???????????????????\n\t\tSystem.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total);\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\tlong total = 0;\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(sc.nextInt());\n\t\t}\n\t\t//????????§???????????????\n\t\tCollections.sort(list);\n\t\tfor (int i = 0; i < list.size(); i++) {\n\t\t\ttotal += list.get(i);\n\t\t}\n\t\t//????°????????????§??????????¨???????????????????\n\t\tSystem.out.println(list.get(0) +\" \"+ list.get(list.size()-1) +\" \"+ total);\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); long total = 0; ArrayList<Integer> list = new ArrayList<Integer>(); for (int i = 0; i < n; i++) { list.add(sc.nextInt()); } //????????§??????????????? Collections.sort(list); for (int i = 0; i < list.size(); i++) { total += list.get(i); } //????°????????????§??????????¨??????????????????? System.out.println(list.get(0) +" "+ list.get(list.size()-1) +" "+ total); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 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, 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 ], [ 107, 11 ], [ 107, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 41, 46 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 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 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 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 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 62, 87 ], [ 87, 88 ], [ 87, 89 ], [ 14, 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 ], [ 12, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tString[] inputArray = br.readLine().split(\" \");\n\n\t\tlong input = 0;\n\t\tfor (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ 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", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tString[] inputArray = br.readLine().split(\" \");\n\n\t\tlong input = 0;\n\t\tfor (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tString[] inputArray = br.readLine().split(\" \");\n\n\t\tlong input = 0;\n\t\tfor (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}", "main", "{\n\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tString[] inputArray = br.readLine().split(\" \");\n\n\t\tlong input = 0;\n\t\tfor (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}", "long max = Integer.MIN_VALUE;", "max", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "long min = Integer.MAX_VALUE;", "min", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "long sum = 0;", "sum", "0", "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[] inputArray = br.readLine().split(\" \");", "inputArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long input = 0;", "input", "0", "for (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\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\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}", "{\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}", "input = Long.parseLong(inputArray[i])", "input", "Long.parseLong(inputArray[i])", "Long.parseLong", "Long", "inputArray[i]", "inputArray", "i", "if (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}", "max < input", "max", "input", "{\n\t\t\t\tmax = input;\n\t\t\t}", "max = input", "max", "input", "if (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}", "min > input", "min", "input", "{\n\t\t\t\tmin = input;\n\t\t\t}", "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[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tString[] inputArray = br.readLine().split(\" \");\n\n\t\tlong input = 0;\n\t\tfor (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tlong max = Integer.MIN_VALUE;\n\t\tlong min = Integer.MAX_VALUE;\n\t\tlong sum = 0;\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tString[] inputArray = br.readLine().split(\" \");\n\n\t\tlong input = 0;\n\t\tfor (int i=0; i<N; i++) {\n\t\t\tinput = Long.parseLong(inputArray[i]);\n\t\t\tif (max < input) {\n\t\t\t\tmax = input;\n\t\t\t}\n\n\t\t\tif (min > input) {\n\t\t\t\tmin = input;\n\t\t\t}\n\n\t\t\tsum += input;\n\t\t}\n\n\t\tSystem.out.println(min +\" \"+ max +\" \"+ sum);\n\t}\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 { long max = Integer.MIN_VALUE; long min = Integer.MAX_VALUE; long sum = 0; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); String[] inputArray = br.readLine().split(" "); long input = 0; for (int i=0; i<N; i++) { input = Long.parseLong(inputArray[i]); if (max < input) { max = input; } if (min > input) { min = input; } sum += input; } 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, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 0, 13, 13, 0, 13, 13, 0, 13, 13, 0, 13, 4, 18, 13, 13, 13, 0, 13, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 13, 13, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 106, 8 ], [ 106, 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, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 44, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 44, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 44, 68 ], [ 68, 69 ], [ 68, 70 ], [ 44, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 73, 77 ], [ 44, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 11, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 85, 91 ], [ 85, 92 ], [ 85, 93 ], [ 106, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 94, 103 ], [ 103, 104 ], [ 0, 105 ], [ 105, 106 ], [ 105, 107 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "Main", "void run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}", "run", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\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)", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int min = 0;", "min", "0", "int max = 0;", "max", "0", "long sum = 0;", "sum", "0", "for (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}", "{\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}", "list.add(scan.nextInt())", "list.add", "list", "scan.nextInt()", "scan.nextInt", "scan", "int num = list.get(i);", "num", "list.get(i)", "list.get", "list", "i", "if (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}", "min = num", "min", "num", "max = num", "max", "num", "sum += num", "sum", "num", "min = Math.min(min, num)", "min", "Math.min(min, num)", "Math.min", "Math", "min", "num", "max = Math.max(max, num)", "max", "Math.max(max, num)", "Math.max", "Math", "max", "num", "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", "public static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.run();\n\t}", "Main m = new Main();", "m", "new Main()", "m.run()", "m.run", "m", "String[] args", "args", "public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "public class Main {\n\tvoid run() {\n\t\tScanner scan = new Scanner(System.in);\n\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\tint n = scan.nextInt();\n\t\tint min = 0;\n\t\tint max = 0;\n\t\tlong sum = 0;\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tlist.add(scan.nextInt());\n\t\t\tint num = list.get(i);\n\t\t\tif (i == 0) {\n\t\t\t\tmin = num;\n\t\t\t\tmax = num;\n\t\t\t}\n\t\t\tsum += num;\n\t\t\tmin = Math.min(min, num);\n\t\t\tmax = Math.max(max, num);\n\t\t}\n\t\tSystem.out.printf(\"%d %d %d\\n\", min, max, sum);\n\t}\n\tpublic static void main(String[] args) {\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { void run() { Scanner scan = new Scanner(System.in); ArrayList<Integer> list = new ArrayList<Integer>(); int n = scan.nextInt(); int min = 0; int max = 0; long sum = 0; for (int i = 0; i < n; i++) { list.add(scan.nextInt()); int num = list.get(i); if (i == 0) { min = num; max = num; } sum += num; min = Math.min(min, num); max = Math.max(max, num); } System.out.printf("%d %d %d\n", min, max, sum); } public static void main(String[] args) { Main m = new Main(); m.run(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 2, 13, 17, 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, 4, 18, 13, 14, 2, 13, 17, 30, 0, 13, 18, 13, 13, 0, 13, 18, 13, 13, 0, 13, 2, 13, 18, 13, 13, 0, 13, 4, 18, 13, 13, 18, 13, 13, 0, 13, 4, 18, 13, 18, 13, 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 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 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 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 47, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 47, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 47, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 91, 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\n\npublic class Main {\n\n\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int n=Integer.parseInt(sc.next());\n\t int a[]=new int[n+1];\n\t int min=0,max=0;\n\t long sum=0;\n\n\t for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }\n\n\t System.out.println(min + \" \" + max + \" \"+ sum);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int n=Integer.parseInt(sc.next());\n\t int a[]=new int[n+1];\n\t int min=0,max=0;\n\t long sum=0;\n\n\t for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }\n\n\t System.out.println(min + \" \" + max + \" \"+ sum);\n\n }\n}", "Main", "public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int n=Integer.parseInt(sc.next());\n\t int a[]=new int[n+1];\n\t int min=0,max=0;\n\t long sum=0;\n\n\t for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }\n\n\t System.out.println(min + \" \" + max + \" \"+ sum);\n\n }", "main", "{\n\n\t Scanner sc=new Scanner(System.in);\n\t int n=Integer.parseInt(sc.next());\n\t int a[]=new int[n+1];\n\t int min=0,max=0;\n\t long sum=0;\n\n\t for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }\n\n\t System.out.println(min + \" \" + max + \" \"+ sum);\n\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+1];", "a", "new int[n+1]", "n+1", "n", "1", "int min=0", "min", "0", "max=0;", "max", "0", "long sum=0;", "sum", "0", "for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }", "{\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }", "a[i]=Integer.parseInt(sc.next())", "a[i]", "a", "i", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }", "i==0", "i", "0", "{\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }", "min=a[i]", "min", "a[i]", "a", "i", "max=a[i]", "max", "a[i]", "a", "i", "sum=sum+a[i]", "sum", "sum+a[i]", "sum", "a[i]", "a", "i", "min=Math.min(min, a[i])", "min", "Math.min(min, a[i])", "Math.min", "Math", "min", "a[i]", "a", "i", "max=Math.max(a[i], max)", "max", "Math.max(a[i], max)", "Math.max", "Math", "a[i]", "a", "i", "max", "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\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int n=Integer.parseInt(sc.next());\n\t int a[]=new int[n+1];\n\t int min=0,max=0;\n\t long sum=0;\n\n\t for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }\n\n\t System.out.println(min + \" \" + max + \" \"+ sum);\n\n }\n}", "public class Main {\n\n\n public static void main(String[] args) {\n\n\t Scanner sc=new Scanner(System.in);\n\t int n=Integer.parseInt(sc.next());\n\t int a[]=new int[n+1];\n\t int min=0,max=0;\n\t long sum=0;\n\n\t for(int i=0;i<n;i++){\n\t\t a[i]=Integer.parseInt(sc.next());\n\t\t if(i==0){\n\t\t\t min=a[i];\n\t\t\t max=a[i];\n\t\t\t\n\t\t }\n\t\t\n\t\t sum=sum+a[i];\n\t\t min=Math.min(min, a[i]);\n\t\t max=Math.max(a[i], max);\n\t\t \n\t\t \n\t }\n\n\t System.out.println(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=Integer.parseInt(sc.next()); int a[]=new int[n+1]; int min=0,max=0; long sum=0; for(int i=0;i<n;i++){ a[i]=Integer.parseInt(sc.next()); if(i==0){ min=a[i]; max=a[i]; } sum=sum+a[i]; min=Math.min(min, a[i]); max=Math.max(a[i], max); } System.out.println(min + " " + max + " "+ sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 40, 17, 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, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 121, 11 ], [ 121, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 36, 41 ], [ 25, 42 ], [ 42, 43 ], [ 42, 44 ], [ 12, 45 ], [ 45, 46 ], [ 121, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 49, 57 ], [ 57, 58 ], [ 57, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 60, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 74, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 74, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 74, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 101, 103 ], [ 49, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 112, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 112, 117 ], [ 47, 118 ], [ 118, 119 ], [ 0, 120 ], [ 120, 121 ], [ 120, 122 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\tprivate static void outputMinMaxTotal(String[] numData) {\n\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong total = 0;\n\t\tfor(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\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) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\tprivate static void outputMinMaxTotal(String[] numData) {\n\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong total = 0;\n\t\tfor(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "main", "{\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "try {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t}", "int num = Integer.parseInt(reader.readLine());", "num", "Integer.parseInt(reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "String[] numData = reader.readLine().split(\" \");", "numData", "reader.readLine().split(\" \")", "reader.readLine().split", "reader.readLine()", "reader.readLine", "reader", "\" \"", "outputMinMaxTotal(numData)", "outputMinMaxTotal", "numData", "String[] args", "args", "private static void outputMinMaxTotal(String[] numData) {\n\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong total = 0;\n\t\tfor(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\n\t}", "outputMinMaxTotal", "{\n\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong total = 0;\n\t\tfor(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\n\t}", "int min = 1000000;", "min", "1000000", "int max = -1000000;", "max", "-1000000", "1000000", "long total = 0;", "total", "0", "for(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<numData.length", "i", "numData.length", "numData", "numData.length", "i++", "i++", "i", "{\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}", "{\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}", "int target = Integer.parseInt(numData[i]);", "target", "Integer.parseInt(numData[i])", "Integer.parseInt", "Integer", "numData[i]", "numData", "i", "if(min > target){\n\t\t\t\tmin = target;\n\t\t\t}", "min > target", "min", "target", "{\n\t\t\t\tmin = target;\n\t\t\t}", "min = target", "min", "target", "if(max < target){\n\t\t\t\tmax = target;\n\t\t\t}", "max < target", "max", "target", "{\n\t\t\t\tmax = target;\n\t\t\t}", "max = target", "max", "target", "total = total + target", "total", "total + target", "total", "target", "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[] numData", "numData", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\tprivate static void outputMinMaxTotal(String[] numData) {\n\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong total = 0;\n\t\tfor(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry {\n\t\t\tint num = Integer.parseInt(reader.readLine());\n\t\t\tString[] numData = reader.readLine().split(\" \");\n\t\t\toutputMinMaxTotal(numData);\n\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\n\t}\n\n\tprivate static void outputMinMaxTotal(String[] numData) {\n\n\t\tint min = 1000000;\n\t\tint max = -1000000;\n\t\tlong total = 0;\n\t\tfor(int i=0;i<numData.length;i++){\n\t\t\tint target = Integer.parseInt(numData[i]);\n\t\t\tif(min > target){\n\t\t\t\tmin = target;\n\t\t\t}\n\t\t\tif(max < target){\n\t\t\t\tmax = target;\n\t\t\t}\n\t\t\ttotal = total + target;\n\t\t}\n\t\tSystem.out.println(min + \" \" + max + \" \" + total);\n\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) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); try { int num = Integer.parseInt(reader.readLine()); String[] numData = reader.readLine().split(" "); outputMinMaxTotal(numData); } catch (IOException e) { e.printStackTrace(); } } private static void outputMinMaxTotal(String[] numData) { int min = 1000000; int max = -1000000; long total = 0; for(int i=0;i<numData.length;i++){ int target = Integer.parseInt(numData[i]); if(min > target){ min = target; } if(max < target){ max = target; } total = total + target; } System.out.println(min + " " + max + " " + total); } }