node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 157, 2 ], [ 157, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 11, 16 ], [ 5, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 22, 23 ], [ 22, 24 ], [ 5, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 5, 33 ], [ 33, 34 ], [ 33, 35 ], [ 5, 38 ], [ 38, 39 ], [ 38, 40 ], [ 5, 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 ], [ 59, 60 ], [ 60, 61 ], [ 57, 62 ], [ 54, 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 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 76, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 5, 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 ], [ 101, 105 ], [ 105, 106 ], [ 106, 107 ], [ 5, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 139, 145 ], [ 145, 146 ], [ 145, 147 ], [ 120, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 3, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tString[] data = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(data[0]);\n\t\tint m = Integer.parseInt(data[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] v = new int[m];\n\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tString[] data = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(data[0]);\n\t\tint m = Integer.parseInt(data[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] v = new int[m];\n\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tString[] data = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(data[0]);\n\t\tint m = Integer.parseInt(data[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] v = new int[m];\n\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tString[] data = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(data[0]);\n\t\tint m = Integer.parseInt(data[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] v = new int[m];\n\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}\n\t}", "java.util.Scanner sc = new java.util.Scanner(System.in);", "sc", "new java.util.Scanner(System.in)", "String[] data = sc.nextLine().split(\" \");", "data", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "int n = Integer.parseInt(data[0]);", "n", "Integer.parseInt(data[0])", "Integer.parseInt", "Integer", "data[0]", "data", "0", "int m = Integer.parseInt(data[1]);", "m", "Integer.parseInt(data[1])", "Integer.parseInt", "Integer", "data[1]", "data", "1", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] v = new int[m];", "v", "new int[m]", "m", "for (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\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\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}", "data = sc.nextLine().split(\" \")", "data", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}", "{\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}", "A[i][j] = Integer.parseInt(data[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(data[j])", "Integer.parseInt", "Integer", "data[j]", "data", "j", "for (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tv[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tv[i] = sc.nextInt();\n\t\t}", "v[i] = sc.nextInt()", "v[i]", "v", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}", "{\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}", "int sum = 0;", "sum", "0", "for (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}", "{\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}", "sum += A[i][j] * v[j]", "sum", "A[i][j] * v[j]", "A[i][j]", "A[i]", "A", "i", "j", "v[j]", "v", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tString[] data = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(data[0]);\n\t\tint m = Integer.parseInt(data[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] v = new int[m];\n\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tString[] data = sc.nextLine().split(\" \");\n\t\tint n = Integer.parseInt(data[0]);\n\t\tint m = Integer.parseInt(data[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] v = new int[m];\n\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tdata = sc.nextLine().split(\" \");\n\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(data[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i=0; i<m; i++) {\n\t\t\tv[i] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i=0; i<n; i++) {\n\n\t\t\tint sum = 0;\n\t\t\tfor (int j=0; j<m; j++) {\n\t\t\t\tsum += A[i][j] * v[j];\n\t\t\t}\n\n\t\t\tSystem.out.println(sum);\n\n\t\t}\n\t}\n\n}", "Main" ]
public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? java.util.Scanner sc = new java.util.Scanner(System.in); String[] data = sc.nextLine().split(" "); int n = Integer.parseInt(data[0]); int m = Integer.parseInt(data[1]); int[][] A = new int[n][m]; int[] v = new int[m]; for (int i=0; i<n; i++) { data = sc.nextLine().split(" "); for (int j=0; j<m; j++) { A[i][j] = Integer.parseInt(data[j]); } } for (int i=0; i<m; i++) { v[i] = sc.nextInt(); } for (int i=0; i<n; i++) { int sum = 0; for (int j=0; j<m; j++) { sum += A[i][j] * v[j]; } System.out.println(sum); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 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, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 13, 2, 18, 13, 13, 17, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 188, 14 ], [ 188, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 19, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 19, 47 ], [ 47, 48 ], [ 47, 49 ], [ 19, 52 ], [ 52, 53 ], [ 52, 54 ], [ 19, 56 ], [ 56, 57 ], [ 56, 58 ], [ 19, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 72, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 75, 80 ], [ 72, 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 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 103, 104 ], [ 103, 105 ], [ 19, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 106, 114 ], [ 114, 115 ], [ 115, 116 ], [ 106, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 127, 128 ], [ 19, 129 ], [ 129, 130 ], [ 129, 131 ], [ 19, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 132, 143 ], [ 144, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 145, 153 ], [ 153, 154 ], [ 154, 155 ], [ 145, 156 ], [ 157, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 168, 170 ], [ 144, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 19, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 15, 185 ], [ 185, 186 ], [ 0, 187 ], [ 187, 188 ], [ 187, 189 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n \npublic class Main{\n\n public static void main(String[] args) throws IOException {\n try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }\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 public static void main(String[] args) throws IOException {\n try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }\n }", "main", "{\n try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }\n }", "try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }", "{\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "new BufferedReader(new InputStreamReader(System.in))", "String[] lines = br.readLine().split(\" \");", "lines", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(lines[0]);", "n", "Integer.parseInt(lines[0])", "Integer.parseInt", "Integer", "lines[0]", "lines", "0", "int m = Integer.parseInt(lines[1]);", "m", "Integer.parseInt(lines[1])", "Integer.parseInt", "Integer", "lines[1]", "lines", "1", "int[][] mA = new int[n][m];", "mA", "new int[n][m]", "n", "m", "int[] vb = new int[m];", "vb", "new int[m]", "m", "int[] vc = new int[n];", "vc", "new int[n]", "n", "for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }", "{\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }", "lines = br.readLine().split(\" \")", "lines", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n mA[i][j] = Integer.parseInt(lines[j]);\n }", "{\n mA[i][j] = Integer.parseInt(lines[j]);\n }", "mA[i][j] = Integer.parseInt(lines[j])", "mA[i][j]", "mA[i]", "mA", "i", "j", "Integer.parseInt(lines[j])", "Integer.parseInt", "Integer", "lines[j]", "lines", "j", "for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n vb[i] = Integer.parseInt(br.readLine());\n }", "{\n vb[i] = Integer.parseInt(br.readLine());\n }", "vb[i] = Integer.parseInt(br.readLine())", "vb[i]", "vb", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "StringBuilder result = new StringBuilder();", "result", "new StringBuilder()", "for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }", "{\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }", "for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n vc[i] += mA[i][j] * vb[j];\n }", "{\n vc[i] += mA[i][j] * vb[j];\n }", "vc[i] += mA[i][j] * vb[j]", "vc[i]", "vc", "i", "mA[i][j] * vb[j]", "mA[i][j]", "mA[i]", "mA", "i", "j", "vb[j]", "vb", "j", "result.append(vc[i] + \"\\n\")", "result.append", "result", "vc[i] + \"\\n\"", "vc[i]", "vc", "i", "\"\\n\"", "System.out.print(result)", "System.out.print", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main{\n\n public static void main(String[] args) throws IOException {\n try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }\n }\n}", "public class Main{\n\n public static void main(String[] args) throws IOException {\n try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {\n\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] mA = new int[n][m];\n int[] vb = new int[m];\n int[] vc = new int[n];\n\n for(int i = 0; i < n; i++ ) {\n lines = br.readLine().split(\" \");\n for( int j = 0; j < m; j++ ) {\n mA[i][j] = Integer.parseInt(lines[j]);\n }\n }\n for( int i = 0; i < m; i++ ) {\n vb[i] = Integer.parseInt(br.readLine());\n }\n\n StringBuilder result = new StringBuilder();\n for( int i = 0; i < n; i++ ) {\n for( int j = 0; j < m; j++ ){\n vc[i] += mA[i][j] * vb[j];\n }\n result.append(vc[i] + \"\\n\");\n }\n System.out.print(result);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; public class Main{ public static void main(String[] args) throws IOException { try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) { String[] lines = br.readLine().split(" "); int n = Integer.parseInt(lines[0]); int m = Integer.parseInt(lines[1]); int[][] mA = new int[n][m]; int[] vb = new int[m]; int[] vc = new int[n]; for(int i = 0; i < n; i++ ) { lines = br.readLine().split(" "); for( int j = 0; j < m; j++ ) { mA[i][j] = Integer.parseInt(lines[j]); } } for( int i = 0; i < m; i++ ) { vb[i] = Integer.parseInt(br.readLine()); } StringBuilder result = new StringBuilder(); for( int i = 0; i < n; i++ ) { for( int j = 0; j < m; j++ ){ vc[i] += mA[i][j] * vb[j]; } result.append(vc[i] + "\n"); } System.out.print(result); } } }
[ 7, 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, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 13, 28, 13, 13, 30, 30, 4, 18, 13, 4, 18, 4, 18, 13, 13, 4, 18, 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 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 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 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 14, 71 ], [ 71, 72 ], [ 71, 73 ], [ 14, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 113, 119 ], [ 14, 120 ], [ 120, 121 ], [ 120, 122 ], [ 120, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 14, 134 ], [ 134, 135 ], [ 135, 136 ], [ 14, 137 ], [ 137, 138 ], [ 138, 139 ], [ 12, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] a = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }\n\n int[][] ans = new int[n][m];\n\n for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }\n\n for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }\n\n pw.flush();\n sc.close();\n }\n}", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] a = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }\n\n int[][] ans = new int[n][m];\n\n for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }\n\n for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }\n\n pw.flush();\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] a = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }\n\n int[][] ans = new int[n][m];\n\n for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }\n\n for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }\n\n pw.flush();\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] a = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }\n\n int[][] ans = new int[n][m];\n\n for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }\n\n for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }\n\n pw.flush();\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = sc.nextInt();\n }", "{\n a[i][j] = sc.nextInt();\n }", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int[][] ans = new int[n][m];", "ans", "new int[n][m]", "n", "m", "for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{ \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }", "{ \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n ans[j][i] = a[j][i] * b;\n }", "{\n ans[j][i] = a[j][i] * b;\n }", "ans[j][i] = a[j][i] * b", "ans[j][i]", "ans[j]", "ans", "j", "i", "a[j][i] * b", "a[j][i]", "a[j]", "a", "j", "i", "b", "for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }", "int[] x", "ans", "{\n pw.println(Arrays.stream(x).sum());\n }", "{\n pw.println(Arrays.stream(x).sum());\n }", "pw.println(Arrays.stream(x).sum())", "pw.println", "pw", "Arrays.stream(x).sum()", "Arrays.stream(x).sum", "Arrays.stream(x)", "Arrays.stream", "Arrays", "x", "pw.flush()", "pw.flush", "pw", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] a = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }\n\n int[][] ans = new int[n][m];\n\n for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }\n\n for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }\n\n pw.flush();\n sc.close();\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] a = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = sc.nextInt();\n }\n }\n\n int[][] ans = new int[n][m];\n\n for (int i = 0; i < m; i++) { \n int b = sc.nextInt();\n for (int j = 0; j < n; j++) {\n ans[j][i] = a[j][i] * b;\n }\n }\n\n for (int[] x : ans) {\n pw.println(Arrays.stream(x).sum());\n }\n\n pw.flush();\n sc.close();\n }\n}", "Main" ]
import java.io.PrintWriter; import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); PrintWriter pw = new PrintWriter(System.out); int n = sc.nextInt(); int m = sc.nextInt(); int[][] a = new int[n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { a[i][j] = sc.nextInt(); } } int[][] ans = new int[n][m]; for (int i = 0; i < m; i++) { int b = sc.nextInt(); for (int j = 0; j < n; j++) { ans[j][i] = a[j][i] * b; } } for (int[] x : ans) { pw.println(Arrays.stream(x).sum()); } pw.flush(); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 18, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 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 ], [ 70, 71 ], [ 71, 72 ], [ 68, 73 ], [ 65, 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 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 99, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 111, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 111, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 125, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 142, 148 ], [ 148, 149 ], [ 148, 150 ], [ 8, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 156, 157 ], [ 156, 158 ], [ 151, 159 ], [ 159, 160 ], [ 160, 161 ], [ 151, 162 ], [ 163, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 169, 170 ], [ 169, 171 ], [ 6, 172 ], [ 172, 173 ] ]
[ "import java.io.*;\nclass Main{\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint i,j;\n\t\tString[] nm=br.readLine().split(\" \");\n\t\tint n=Integer.parseInt(nm[0]);\n\t\tint m=Integer.parseInt(nm[1]);\n\t\t\n\t\tint[][] A=new int[n][m];\n\t\tint[] b=new int[m];\n\t\tint []c=new int[n];\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<m;j++){\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main{\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint i,j;\n\t\tString[] nm=br.readLine().split(\" \");\n\t\tint n=Integer.parseInt(nm[0]);\n\t\tint m=Integer.parseInt(nm[1]);\n\t\t\n\t\tint[][] A=new int[n][m];\n\t\tint[] b=new int[m];\n\t\tint []c=new int[n];\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<m;j++){\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[]args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint i,j;\n\t\tString[] nm=br.readLine().split(\" \");\n\t\tint n=Integer.parseInt(nm[0]);\n\t\tint m=Integer.parseInt(nm[1]);\n\t\t\n\t\tint[][] A=new int[n][m];\n\t\tint[] b=new int[m];\n\t\tint []c=new int[n];\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<m;j++){\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint i,j;\n\t\tString[] nm=br.readLine().split(\" \");\n\t\tint n=Integer.parseInt(nm[0]);\n\t\tint m=Integer.parseInt(nm[1]);\n\t\t\n\t\tint[][] A=new int[n][m];\n\t\tint[] b=new int[m];\n\t\tint []c=new int[n];\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<m;j++){\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<n;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int i", "i", "j;", "j", "String[] nm=br.readLine().split(\" \");", "nm", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n=Integer.parseInt(nm[0]);", "n", "Integer.parseInt(nm[0])", "Integer.parseInt", "Integer", "nm[0]", "nm", "0", "int m=Integer.parseInt(nm[1]);", "m", "Integer.parseInt(nm[1])", "Integer.parseInt", "Integer", "nm[1]", "nm", "1", "int[][] A=new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b=new int[m];", "b", "new int[m]", "m", "int []c=new int[n];", "c", "new int[n]", "n", "for(i=0;i<n;i++){\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] numA=br.readLine().split(\" \");\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}\n\t\t}", "String[] numA=br.readLine().split(\" \");", "numA", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(j=0;j<m;j++){\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}", "{\n\t\t\t\tA[i][j]=Integer.parseInt(numA[j]);\n\t\t\t}", "A[i][j]=Integer.parseInt(numA[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(numA[j])", "Integer.parseInt", "Integer", "numA[j]", "numA", "j", "for(j=0;j<m;j++){\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString numB=br.readLine();\n\t\t\tb[j]=Integer.parseInt(numB);\n\t\t\tfor(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}\n\t\t}", "String numB=br.readLine();", "numB", "br.readLine()", "br.readLine", "br", "b[j]=Integer.parseInt(numB)", "b[j]", "b", "j", "Integer.parseInt(numB)", "Integer.parseInt", "Integer", "numB", "for(i=0;i<n;i++){\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}", "{\n\t\t\t\tc[i]+=(A[i][j])*(b[j]);\n\t\t\t}", "c[i]+=(A[i][j])*(b[j])", "c[i]", "c", "i", "(A[i][j])*(b[j])", "(A[i][j])", "A[i]", "A", "i", "j", "(b[j])", "b", "j", "for(i=0;i<n;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "String[]args", "args" ]
import java.io.*; class Main{ public static void main(String[]args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int i,j; String[] nm=br.readLine().split(" "); int n=Integer.parseInt(nm[0]); int m=Integer.parseInt(nm[1]); int[][] A=new int[n][m]; int[] b=new int[m]; int []c=new int[n]; for(i=0;i<n;i++){ String[] numA=br.readLine().split(" "); for(j=0;j<m;j++){ A[i][j]=Integer.parseInt(numA[j]); } } for(j=0;j<m;j++){ String numB=br.readLine(); b[j]=Integer.parseInt(numB); for(i=0;i<n;i++){ c[i]+=(A[i][j])*(b[j]); } } for(i=0;i<n;i++){ System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 18, 13, 13, 0, 18, 18, 13, 13, 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, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 215, 11 ], [ 215, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 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 ], [ 46, 47 ], [ 47, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 40, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 40, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 40, 71 ], [ 71, 72 ], [ 71, 73 ], [ 40, 76 ], [ 76, 77 ], [ 76, 78 ], [ 40, 80 ], [ 80, 81 ], [ 80, 82 ], [ 40, 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 ], [ 96, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 96, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 126, 128 ], [ 120, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 40, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 148, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 148, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 40, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 165, 173 ], [ 173, 174 ], [ 174, 175 ], [ 165, 176 ], [ 177, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 183, 184 ], [ 183, 185 ], [ 178, 186 ], [ 186, 187 ], [ 187, 188 ], [ 178, 189 ], [ 190, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 195, 201 ], [ 201, 202 ], [ 201, 203 ], [ 177, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 209, 210 ], [ 209, 211 ], [ 12, 212 ], [ 212, 213 ], [ 0, 214 ], [ 214, 215 ], [ 214, 216 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n * Lesson6D n×m の行列 A と、m×1 の列ベクトルb を読み込み、A と b の積を出力するプログラム\n * @author Internship\n *\n */\npublic class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\n\n\t\t//行列A および列bの各数字の一時保管場所\n\t\tint intVector = 0;\n\n\t\t//入力値の各行の文字列の一時保管場所\n\t\tString strLine = \"\";\n\n\n\n\t\t//一行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}\n\n\n/*\n\n\t\t//棟が4個 階が3個 部屋が10個でそれぞれに最大9人は入れるので \n\t\t//4x3x10の配列に最大9が入る配列を初期化\n\t\tint[][][] intRoom = new int[4][3][10];\n\n\t\t//1列目を取得\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\tint intLine1 = Integer.parseInt(strLine1);\n\n\n\t\t\t//3\n\t\t\t//1 1 3 8\n\t\t\t//3 2 2 7\n\t\t\t//4 3 8 1\n\n\t\t\t//2列目以降を取得\n\t\t\tfor(int i = 0; i < intLine1; i++) {\n\n\t\t\t\tString strLineAll = insBR.readLine();\n\n\t\t\t\t//入力値を分解\n\t\t\t\tString[] strAry = strLineAll.split(\" \");\n\n\t\t\t\t//棟\n\t\t\t\tint intBuilding = Integer.parseInt(strAry[0]);\n\n\t\t\t\t//階\n\t\t\t\tint intFloor = Integer.parseInt(strAry[1]);\n\n\t\t\t\t//部屋\n\t\t\t\tint intRoomFirst = Integer.parseInt(strAry[2]);\n\n\t\t\t\t//人数\n\t\t\t\tint intPeople = Integer.parseInt(strAry[3]);\n\n\t\t\t\t//入力値を配列に格納\n\t\t\t\tintRoom[intBuilding -1][intFloor -1][intRoomFirst -1] += intPeople;\n\n\n\n\n\t\t\t}\n\n\t\t\t//出力\n\n\t\t\tfor(int l = 0; l < 4; l++) {\n\t\t\t\tfor(int j = 0; j < 3; j++) {\n\t\t\t\t\tfor(int k = 0; k < 10; k++) {\n\t\t\t\t\t\tSystem.out.print(\" \" + intRoom[l][j][k]);\n\t\t\t\t\t}\n\t\t\t\t\tSystem.out.println(\"\");\t\t\t\t\t\t//改行\n\t\t\t\t}\n\t\t\t\tif(l != 3) {\n\t\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}\n\t\t\t*/", "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\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\n\n\t\t//行列A および列bの各数字の一時保管場所\n\t\tint intVector = 0;\n\n\t\t//入力値の各行の文字列の一時保管場所\n\t\tString strLine = \"\";\n\n\n\n\t\t//一行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "Main", "/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\n\n\t\t//行列A および列bの各数字の一時保管場所\n\t\tint intVector = 0;\n\n\t\t//入力値の各行の文字列の一時保管場所\n\t\tString strLine = \"\";\n\n\n\n\t\t//一行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}", "main", "{\n\n\n\n\t\t//行列A および列bの各数字の一時保管場所\n\t\tint intVector = 0;\n\n\t\t//入力値の各行の文字列の一時保管場所\n\t\tString strLine = \"\";\n\n\n\n\t\t//一行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}", "int intVector = 0;", "intVector", "0", "String strLine = \"\";", "strLine", "\"\"", "try {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}", "catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}", "NumberFormatException e", "{\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}", "System.out.println(\"数字で入力して下さい\")", "System.out.println", "System.out", "System", "System.out", "\"数字で入力して下さい\"", "{\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t}", "BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));", "insBR", "new BufferedReader(new InputStreamReader(System.in))", "String strLine1 = insBR.readLine();", "strLine1", "insBR.readLine()", "insBR.readLine", "insBR", "String[] strAryLine1 = strLine1.split(\" \");", "strAryLine1", "strLine1.split(\" \")", "strLine1.split", "strLine1", "\" \"", "int intLine = Integer.parseInt(strAryLine1[0]);", "intLine", "Integer.parseInt(strAryLine1[0])", "Integer.parseInt", "Integer", "strAryLine1[0]", "strAryLine1", "0", "int intColumn = Integer.parseInt(strAryLine1[1]);", "intColumn", "Integer.parseInt(strAryLine1[1])", "Integer.parseInt", "Integer", "strAryLine1[1]", "strAryLine1", "1", "int[][] intVectorA = new int[intLine][intColumn];", "intVectorA", "new int[intLine][intColumn]", "intLine", "intColumn", "int[] intColumnB = new int[intColumn];", "intColumnB", "new int[intColumn]", "intColumn", "int[] intAnswer = new int[intLine];", "intAnswer", "new int[intLine]", "intLine", "for(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intLine", "i", "intLine", "i++", "i++", "i", "{\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}", "strLine = insBR.readLine()", "strLine", "insBR.readLine()", "insBR.readLine", "insBR", "String[] strAryLine = strLine.split(\" \");", "strAryLine", "strLine.split(\" \")", "strLine.split", "strLine", "\" \"", "for(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intColumn", "j", "intColumn", "j++", "j++", "j", "{\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}", "{\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}", "intVector = Integer.parseInt(strAryLine[j])", "intVector", "Integer.parseInt(strAryLine[j])", "Integer.parseInt", "Integer", "strAryLine[j]", "strAryLine", "j", "intVectorA[i][j] = intVector", "intVectorA[i][j]", "intVectorA[i]", "intVectorA", "i", "j", "intVector", "for(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intColumn", "i", "intColumn", "i++", "i++", "i", "{\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}", "{\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}", "strLine = insBR.readLine()", "strLine", "insBR.readLine()", "insBR.readLine", "insBR", "intVector = Integer.parseInt(strLine)", "intVector", "Integer.parseInt(strLine)", "Integer.parseInt", "Integer", "strLine", "intColumnB[i] = intVector", "intColumnB[i]", "intColumnB", "i", "intVector", "for(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intLine", "i", "intLine", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}", "{\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}", "for(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intColumn", "j", "intColumn", "j++", "j++", "j", "{\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}", "{\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}", "intAnswer[i] += intVectorA[i][j] * intColumnB[j]", "intAnswer[i]", "intAnswer", "i", "intVectorA[i][j] * intColumnB[j]", "intVectorA[i][j]", "intVectorA[i]", "intVectorA", "i", "j", "intColumnB[j]", "intColumnB", "j", "System.out.println(intAnswer[i])", "System.out.println", "System.out", "System", "System.out", "intAnswer[i]", "intAnswer", "i", "String[] args", "args", "public class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\n\n\t\t//行列A および列bの各数字の一時保管場所\n\t\tint intVector = 0;\n\n\t\t//入力値の各行の文字列の一時保管場所\n\t\tString strLine = \"\";\n\n\n\n\t\t//一行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "public class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\n\n\t\t//行列A および列bの各数字の一時保管場所\n\t\tint intVector = 0;\n\n\t\t//入力値の各行の文字列の一時保管場所\n\t\tString strLine = \"\";\n\n\n\n\t\t//一行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t\tString strLine1 = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\tString[] strAryLine1 = strLine1.split(\" \");\n\n\t\t\t//行列Aの行の数\n\t\t\tint intLine = Integer.parseInt(strAryLine1[0]);\n\n\t\t\t//行列Aの列の数\n\t\t\tint intColumn = Integer.parseInt(strAryLine1[1]);\n\n\t\t\t//行と列が決まったところでベクトルAの大きさが決まる\n\t\t\tint[][] intVectorA = new int[intLine][intColumn];\n\n\t\t\t//行と列が決まったところで列bの大きさが決まる\n\t\t\tint[] intColumnB = new int[intColumn];\n\n\t\t\t//同じく答えの長さもわかるので答えの配列を初期化\n\t\t\tint[] intAnswer = new int[intLine];\n\n\n\t\t\t//行列Aを読み込む\n\t\t\t//i行目\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t//ばらけさせる\n\t\t\t\tString[] strAryLine = strLine.split(\" \");\n\n\t\t\t\t//int型にキャスト\n\t\t\t\t//j列目\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintVector = Integer.parseInt(strAryLine[j]);\n\n\t\t\t\t\t//配列に格納\n\t\t\t\t\t//i行のj列\n\t\t\t\t\tintVectorA[i][j] = intVector;\n\t\t\t\t}\n\t\t\t}\n\n\n\t\t\t//列bを読み込む\n\t\t\t//ベクトルAの列の分、列bがある =intColumn\n\t\t\tfor(int i = 0; i < intColumn; i++) {\n\n\t\t\t\t//列bの値を1行づつ値が入っているので1行読み込み\n\t\t\t\tstrLine = insBR.readLine();\n\n\t\t\t\t//int型にキャスト\n\t\t\t\tintVector = Integer.parseInt(strLine);\n\n\t\t\t\t//配列に格納\n\t\t\t\tintColumnB[i] = intVector;\n\t\t\t}\n\n\t\t\t//計算して出力\n\t\t\tfor(int i = 0; i < intLine; i++) {\n\t\t\t\tfor(int j = 0; j < intColumn; j++) {\n\t\t\t\t\tintAnswer[i] += intVectorA[i][j] * intColumnB[j];\n\t\t\t\t}\n\n\t\t\t\tSystem.out.println(intAnswer[i]);\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * Lesson6D n×m の行列 A と、m×1 の列ベクトルb を読み込み、A と b の積を出力するプログラム * @author Internship * */ public class Main{ /** * プログラムのエントリポイント * * @param args */ public static void main(String[] args) { //行列A および列bの各数字の一時保管場所 int intVector = 0; //入力値の各行の文字列の一時保管場所 String strLine = ""; //一行目を読み込む try { BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in)); String strLine1 = insBR.readLine(); //ばらけさせる String[] strAryLine1 = strLine1.split(" "); //行列Aの行の数 int intLine = Integer.parseInt(strAryLine1[0]); //行列Aの列の数 int intColumn = Integer.parseInt(strAryLine1[1]); //行と列が決まったところでベクトルAの大きさが決まる int[][] intVectorA = new int[intLine][intColumn]; //行と列が決まったところで列bの大きさが決まる int[] intColumnB = new int[intColumn]; //同じく答えの長さもわかるので答えの配列を初期化 int[] intAnswer = new int[intLine]; //行列Aを読み込む //i行目 for(int i = 0; i < intLine; i++) { strLine = insBR.readLine(); //ばらけさせる String[] strAryLine = strLine.split(" "); //int型にキャスト //j列目 for(int j = 0; j < intColumn; j++) { intVector = Integer.parseInt(strAryLine[j]); //配列に格納 //i行のj列 intVectorA[i][j] = intVector; } } //列bを読み込む //ベクトルAの列の分、列bがある =intColumn for(int i = 0; i < intColumn; i++) { //列bの値を1行づつ値が入っているので1行読み込み strLine = insBR.readLine(); //int型にキャスト intVector = Integer.parseInt(strLine); //配列に格納 intColumnB[i] = intVector; } //計算して出力 for(int i = 0; i < intLine; i++) { for(int j = 0; j < intColumn; j++) { intAnswer[i] += intVectorA[i][j] * intColumnB[j]; } System.out.println(intAnswer[i]); } } catch (IOException e) { System.out.println(e); } catch (NumberFormatException e) { System.out.println("数字で入力して下さい"); } } } /* //棟が4個 階が3個 部屋が10個でそれぞれに最大9人は入れるので  //4x3x10の配列に最大9が入る配列を初期化 int[][][] intRoom = new int[4][3][10]; //1列目を取得 try { BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in)); String strLine1 = insBR.readLine(); int intLine1 = Integer.parseInt(strLine1); //3 //1 1 3 8 //3 2 2 7 //4 3 8 1 //2列目以降を取得 for(int i = 0; i < intLine1; i++) { String strLineAll = insBR.readLine(); //入力値を分解 String[] strAry = strLineAll.split(" "); //棟 int intBuilding = Integer.parseInt(strAry[0]); //階 int intFloor = Integer.parseInt(strAry[1]); //部屋 int intRoomFirst = Integer.parseInt(strAry[2]); //人数 int intPeople = Integer.parseInt(strAry[3]); //入力値を配列に格納 intRoom[intBuilding -1][intFloor -1][intRoomFirst -1] += intPeople; } //出力 for(int l = 0; l < 4; l++) { for(int j = 0; j < 3; j++) { for(int k = 0; k < 10; k++) { System.out.print(" " + intRoom[l][j][k]); } System.out.println(""); //改行 } if(l != 3) { System.out.println("####################"); } } } catch (IOException e) { System.out.println(e); } catch (NumberFormatException e) { System.out.println("数字で入力して下さい"); } } } */
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 160, 5 ], [ 160, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 106, 114 ], [ 114, 115 ], [ 115, 116 ], [ 106, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 127, 133 ], [ 133, 134 ], [ 133, 135 ], [ 8, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 6, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "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 row_cout\t=\tsc.nextInt();\n\t\tint column_cout\t=\tsc.nextInt();\n\n\t\tint[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];\n\t\tint[]\tvector\t\t\t=\tnew int[column_cout];\n\t\tint[]\tmultiplication\t=\tnew int[row_cout];\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint row_cout\t=\tsc.nextInt();\n\t\tint column_cout\t=\tsc.nextInt();\n\n\t\tint[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];\n\t\tint[]\tvector\t\t\t=\tnew int[column_cout];\n\t\tint[]\tmultiplication\t=\tnew int[row_cout];\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint row_cout\t=\tsc.nextInt();\n\t\tint column_cout\t=\tsc.nextInt();\n\n\t\tint[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];\n\t\tint[]\tvector\t\t\t=\tnew int[column_cout];\n\t\tint[]\tmultiplication\t=\tnew int[row_cout];\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint row_cout\t=\tsc.nextInt();\n\t\tint column_cout\t=\tsc.nextInt();\n\n\t\tint[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];\n\t\tint[]\tvector\t\t\t=\tnew int[column_cout];\n\t\tint[]\tmultiplication\t=\tnew int[row_cout];\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int row_cout\t=\tsc.nextInt();", "row_cout", "sc.nextInt()", "sc.nextInt", "sc", "int column_cout\t=\tsc.nextInt();", "column_cout", "sc.nextInt()", "sc.nextInt", "sc", "int[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];", "matrix", "new int[row_cout][column_cout]", "row_cout", "column_cout", "int[]\tvector\t\t\t=\tnew int[column_cout];", "vector", "new int[column_cout]", "column_cout", "int[]\tmultiplication\t=\tnew int[row_cout];", "multiplication", "new int[row_cout]", "row_cout", "for(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}", "int row = 0;", "int row = 0;", "row", "0", "row < row_cout", "row", "row_cout", "row++", "row++", "row", "{\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}", "int column = 0;", "int column = 0;", "column", "0", "column < column_cout", "column", "column_cout", "column++", "column++", "column", "{\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}", "matrix[row][column] = sc.nextInt()", "matrix[row][column]", "matrix[row]", "matrix", "row", "column", "sc.nextInt()", "sc.nextInt", "sc", "for(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}", "int column = 0;", "int column = 0;", "column", "0", "column < column_cout", "column", "column_cout", "column++", "column++", "column", "{\n\t\t\tvector[column] = sc.nextInt();\n\t\t}", "{\n\t\t\tvector[column] = sc.nextInt();\n\t\t}", "vector[column] = sc.nextInt()", "vector[column]", "vector", "column", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "for(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}", "int row = 0;", "int row = 0;", "row", "0", "row < row_cout", "row", "row_cout", "row++", "row++", "row", "{\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}", "for(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}", "int column = 0;", "int column = 0;", "column", "0", "column < column_cout", "column", "column_cout", "column++", "column++", "column", "{\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}", "{\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}", "multiplication[row] = multiplication[row] + (matrix[row][column] * vector[column])", "multiplication[row]", "multiplication", "row", "multiplication[row] + (matrix[row][column] * vector[column])", "multiplication[row]", "multiplication", "row", "(matrix[row][column] * vector[column])", "matrix[row][column]", "matrix[row]", "matrix", "row", "column", "vector[column]", "vector", "column", "for(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}", "int row = 0;", "int row = 0;", "row", "0", "row < row_cout", "row", "row_cout", "row++", "row++", "row", "{\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}", "{\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}", "System.out.println(multiplication[row])", "System.out.println", "System.out", "System", "System.out", "multiplication[row]", "multiplication", "row", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint row_cout\t=\tsc.nextInt();\n\t\tint column_cout\t=\tsc.nextInt();\n\n\t\tint[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];\n\t\tint[]\tvector\t\t\t=\tnew int[column_cout];\n\t\tint[]\tmultiplication\t=\tnew int[row_cout];\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint row_cout\t=\tsc.nextInt();\n\t\tint column_cout\t=\tsc.nextInt();\n\n\t\tint[][]\tmatrix\t\t\t=\tnew int[row_cout][column_cout];\n\t\tint[]\tvector\t\t\t=\tnew int[column_cout];\n\t\tint[]\tmultiplication\t=\tnew int[row_cout];\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmatrix[row][column] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\tvector[column] = sc.nextInt();\n\t\t}\n\t\tsc.close();\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tfor(int column = 0; column < column_cout; column++) {\n\t\t\t\tmultiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < row_cout; row++) {\n\t\t\tSystem.out.println(multiplication[row]);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int row_cout = sc.nextInt(); int column_cout = sc.nextInt(); int[][] matrix = new int[row_cout][column_cout]; int[] vector = new int[column_cout]; int[] multiplication = new int[row_cout]; for(int row = 0; row < row_cout; row++) { for(int column = 0; column < column_cout; column++) { matrix[row][column] = sc.nextInt(); } } for(int column = 0; column < column_cout; column++) { vector[column] = sc.nextInt(); } sc.close(); for(int row = 0; row < row_cout; row++) { for(int column = 0; column < column_cout; column++) { multiplication[row] = multiplication[row] + (matrix[row][column] * vector[column]); } } for(int row = 0; row < row_cout; row++) { System.out.println(multiplication[row]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 150, 5 ], [ 150, 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, 27 ], [ 27, 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 ], [ 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 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 67, 78 ], [ 79, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 85, 96 ], [ 97, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 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 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 121, 132 ], [ 133, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 117, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 6, 147 ], [ 147, 148 ], [ 0, 149 ], [ 149, 150 ], [ 149, 151 ] ]
[ "import java.util.Scanner;\n\npublic class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in = new Scanner(System.in);\n\t\tint m = in.nextInt();\n\t\tint n = in.nextInt();\n\t\tint[][] A = new int[m][n];\n\t\tint b;\n\t\tfor (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tfor (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in = new Scanner(System.in);\n\t\tint m = in.nextInt();\n\t\tint n = in.nextInt();\n\t\tint[][] A = new int[m][n];\n\t\tint b;\n\t\tfor (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tfor (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner in = new Scanner(System.in);\n\t\tint m = in.nextInt();\n\t\tint n = in.nextInt();\n\t\tint[][] A = new int[m][n];\n\t\tint b;\n\t\tfor (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tfor (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}\n\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint m = in.nextInt();\n\t\tint n = in.nextInt();\n\t\tint[][] A = new int[m][n];\n\t\tint b;\n\t\tfor (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tfor (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}\n\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int m = in.nextInt();", "m", "in.nextInt()", "in.nextInt", "in", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int[][] A = new int[m][n];", "A", "new int[m][n]", "m", "n", "int b;", "b", "for (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}", "for (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}", "{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}", "int a=in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "A[i][j] = a", "A[i][j]", "A[i]", "A", "i", "j", "a", "for (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}", "{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}", "b = in.nextInt()", "b", "in.nextInt()", "in.nextInt", "in", "for (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}", "{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}", "A[i][j] *= b", "A[i][j]", "A[i]", "A", "i", "j", "b", "for (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}", "{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}", "int a=0;", "a", "0", "for (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}", "{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}", "a+=A[i][j]", "a", "A[i][j]", "A[i]", "A", "i", "j", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args", "public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in = new Scanner(System.in);\n\t\tint m = in.nextInt();\n\t\tint n = in.nextInt();\n\t\tint[][] A = new int[m][n];\n\t\tint b;\n\t\tfor (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tfor (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}\n\n\t}\n}", "public class Main\n{\n\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner in = new Scanner(System.in);\n\t\tint m = in.nextInt();\n\t\tint n = in.nextInt();\n\t\tint[][] A = new int[m][n];\n\t\tint b;\n\t\tfor (int i = 0; i < m; i++)\n\t\t{\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\tint a=in.nextInt();\n\t\t\t\tA[i][j] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\n\t\tfor (int j = 0; j < n; j++)\n\t\t{\n\t\t\tb = in.nextInt();\n\t\t\tfor (int i = 0; i < m; i++)\n\t\t\t{\n\t\t\t\tA[i][j] *= b;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++)\n\t\t{ int a=0;\n\t\t\tfor (int j = 0; j < n; j++)\n\t\t\t{\n\t\t\t\ta+=A[i][j];\n\t\t\t\t//System.out.println(A[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(a);\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int m = in.nextInt(); int n = in.nextInt(); int[][] A = new int[m][n]; int b; for (int i = 0; i < m; i++) { for (int j = 0; j < n; j++) { int a=in.nextInt(); A[i][j] = a; } } for (int j = 0; j < n; j++) { b = in.nextInt(); for (int i = 0; i < m; i++) { A[i][j] *= b; } } for (int i = 0; i < m; i++) { int a=0; for (int j = 0; j < n; j++) { a+=A[i][j]; //System.out.println(A[i][j]); } System.out.println(a); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 40, 17, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 20, 42, 2, 0, 13, 4, 18, 13, 17, 30, 14, 2, 13, 17, 30, 41, 13, 4, 18, 13, 17, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 40, 13, 9, 14, 2, 13, 13, 30, 41, 13, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 18, 13, 13, 40, 13, 9, 14, 2, 13, 13, 30, 4, 18, 13, 4, 18, 13, 13, 40, 13, 14, 2, 13, 13, 30, 9, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 0, 13, 17, 0, 13, 17, 4, 18, 13, 4, 18, 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 ], [ 229, 11 ], [ 229, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 18, 25 ], [ 25, 26 ], [ 26, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 15, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 33, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 39, 41 ], [ 33, 42 ], [ 42, 43 ], [ 42, 44 ], [ 33, 45 ], [ 45, 46 ], [ 45, 47 ], [ 33, 48 ], [ 48, 49 ], [ 48, 50 ], [ 33, 51 ], [ 51, 52 ], [ 51, 53 ], [ 33, 54 ], [ 54, 55 ], [ 54, 56 ], [ 33, 57 ], [ 57, 58 ], [ 57, 59 ], [ 33, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 76, 80 ], [ 73, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 86, 87 ], [ 86, 88 ], [ 73, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 73, 97 ], [ 97, 98 ], [ 73, 99 ], [ 68, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 107, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 120, 121 ], [ 121, 122 ], [ 112, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 131, 133 ], [ 104, 134 ], [ 134, 135 ], [ 104, 136 ], [ 68, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 141, 149 ], [ 149, 150 ], [ 141, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 68, 157 ], [ 157, 158 ], [ 157, 159 ], [ 68, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 160, 171 ], [ 172, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 181, 182 ], [ 181, 183 ], [ 176, 184 ], [ 184, 185 ], [ 185, 186 ], [ 176, 187 ], [ 188, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 192, 195 ], [ 191, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 188, 200 ], [ 200, 201 ], [ 172, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 68, 208 ], [ 208, 209 ], [ 208, 210 ], [ 68, 211 ], [ 211, 212 ], [ 211, 213 ], [ 68, 214 ], [ 214, 215 ], [ 214, 216 ], [ 68, 217 ], [ 217, 218 ], [ 218, 219 ], [ 68, 220 ], [ 220, 221 ], [ 221, 222 ], [ 33, 223 ], [ 223, 224 ], [ 224, 225 ], [ 12, 226 ], [ 226, 227 ], [ 0, 228 ], [ 228, 229 ], [ 228, 230 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "Main", "public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }", "main", "{\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }", "try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }", "catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }", "Exception e", "{\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "e.getStackTrace()", "e.getStackTrace", "e", "System.exit(-1)", "System.exit", "System", "-1", "1", "{\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n }", "BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));", "stdReader", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "int count = 0;", "count", "0", "int nc = 0;", "nc", "0", "int mc = 0;", "mc", "0", "int n = 1;", "n", "1", "int m = 1;", "m", "1", "ArrayList<Integer> matrix = new ArrayList<Integer>();", "matrix", "new ArrayList<Integer>()", "ArrayList<Integer> vector = new ArrayList<Integer>();", "vector", "new ArrayList<Integer>()", "while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }", "(line = stdReader.readLine()) != null", "(line = stdReader.readLine())", "line", "stdReader.readLine()", "stdReader.readLine", "stdReader", "null", "{\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }", "if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }", "count == 0", "count", "0", "{\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }", "String[] array = line.split(\" \", 0);", "array", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "n = Integer.parseInt(array[0])", "n", "Integer.parseInt(array[0])", "Integer.parseInt", "Integer", "array[0]", "array", "0", "m = Integer.parseInt(array[1])", "m", "Integer.parseInt(array[1])", "Integer.parseInt", "Integer", "array[1]", "array", "1", "count++", "count", "continue;", "if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }", "nc < n", "nc", "n", "{\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }", "String[] row = line.split(\" \", 0);", "row", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n matrix.add(Integer.parseInt(row[i]));\n }", "{\n matrix.add(Integer.parseInt(row[i]));\n }", "matrix.add(Integer.parseInt(row[i]))", "matrix.add", "matrix", "Integer.parseInt(row[i])", "Integer.parseInt", "Integer", "row[i]", "row", "i", "nc++", "nc", "continue;", "if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }", "mc < m", "mc", "m", "{\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }", "vector.add(Integer.parseInt(line))", "vector.add", "vector", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "mc++", "mc", "if(mc != m) {\n continue;\n }", "mc != m", "mc", "m", "{\n continue;\n }", "continue;", "int c = 0;", "c", "0", "for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }", "{\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }", "int ans = 0;", "ans", "0", "for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n ans += matrix.get(c) * vector.get(j);\n c++;\n }", "{\n ans += matrix.get(c) * vector.get(j);\n c++;\n }", "ans += matrix.get(c) * vector.get(j)", "ans", "matrix.get(c) * vector.get(j)", "matrix.get(c)", "matrix.get", "matrix", "c", "vector.get(j)", "vector.get", "vector", "j", "c++", "c", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "count = 0", "count", "0", "nc = 0", "nc", "0", "mc = 0", "mc", "0", "matrix.clear()", "matrix.clear", "matrix", "vector.clear()", "vector.clear", "vector", "stdReader.close()", "stdReader.close", "stdReader", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n try {\n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int nc = 0;\n int mc = 0;\n int n = 1;\n int m = 1;\n ArrayList<Integer> matrix = new ArrayList<Integer>();\n ArrayList<Integer> vector = new ArrayList<Integer>();\n \n while((line = stdReader.readLine()) != null) {\n // ????????????n??¨m?????????\n if(count == 0) {\n String[] array = line.split(\" \", 0);\n n = Integer.parseInt(array[0]);\n m = Integer.parseInt(array[1]);\n count++;\n continue;\n }\n \n // ?????????????????????\n if(nc < n) {\n String[] row = line.split(\" \", 0);\n for(int i = 0; i < m; i++) {\n matrix.add(Integer.parseInt(row[i]));\n }\n nc++;\n continue;\n }\n \n // ???????????????????????????\n if(mc < m) {\n vector.add(Integer.parseInt(line));\n mc++;\n if(mc != m) {\n continue;\n }\n }\n int c = 0;\n for(int i = 0; i < n; i++) {\n int ans = 0;\n for(int j = 0; j < m; j++) {\n ans += matrix.get(c) * vector.get(j);\n c++;\n }\n System.out.println(ans);\n }\n count = 0;\n nc = 0;\n mc = 0;\n matrix.clear();\n vector.clear();\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) { try { BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); String line; int count = 0; int nc = 0; int mc = 0; int n = 1; int m = 1; ArrayList<Integer> matrix = new ArrayList<Integer>(); ArrayList<Integer> vector = new ArrayList<Integer>(); while((line = stdReader.readLine()) != null) { // ????????????n??¨m????????? if(count == 0) { String[] array = line.split(" ", 0); n = Integer.parseInt(array[0]); m = Integer.parseInt(array[1]); count++; continue; } // ????????????????????? if(nc < n) { String[] row = line.split(" ", 0); for(int i = 0; i < m; i++) { matrix.add(Integer.parseInt(row[i])); } nc++; continue; } // ??????????????????????????? if(mc < m) { vector.add(Integer.parseInt(line)); mc++; if(mc != m) { continue; } } int c = 0; for(int i = 0; i < n; i++) { int ans = 0; for(int j = 0; j < m; j++) { ans += matrix.get(c) * vector.get(j); c++; } System.out.println(ans); } count = 0; nc = 0; mc = 0; matrix.clear(); vector.clear(); } stdReader.close(); } catch(Exception e) { System.out.println(e); e.getStackTrace(); System.exit(-1); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 146, 5 ], [ 146, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 146, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 137, 143 ], [ 143, 144 ], [ 0, 145 ], [ 145, 146 ], [ 145, 147 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint abeck[][] = new int[n][m];\n\t\tint bbeck[] = new int[m];\n\t\tint ancebeck[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint abeck[][] = new int[n][m];\n\t\tint bbeck[] = new int[m];\n\t\tint ancebeck[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}", "Main", "void run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint abeck[][] = new int[n][m];\n\t\tint bbeck[] = new int[m];\n\t\tint ancebeck[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}\n\t\t\n\t}", "run", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint abeck[][] = new int[n][m];\n\t\tint bbeck[] = new int[m];\n\t\tint ancebeck[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}\n\t\t\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "int m = s.nextInt();", "m", "s.nextInt()", "s.nextInt", "s", "int abeck[][] = new int[n][m];", "abeck", "new int[n][m]", "n", "m", "int bbeck[] = new int[m];", "bbeck", "new int[m]", "m", "int ancebeck[] = new int[n];", "ancebeck", "new int[n]", "n", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\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\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}", "{\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}", "abeck[i][j] = s.nextInt()", "abeck[i][j]", "abeck[i]", "abeck", "i", "j", "s.nextInt()", "s.nextInt", "s", "for(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}", "{\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}", "bbeck[i] = s.nextInt()", "bbeck[i]", "bbeck", "i", "s.nextInt()", "s.nextInt", "s", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}", "{\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}", "ancebeck[i] += abeck[i][j] * bbeck[j]", "ancebeck[i]", "ancebeck", "i", "abeck[i][j] * bbeck[j]", "abeck[i][j]", "abeck[i]", "abeck", "i", "j", "bbeck[j]", "bbeck", "j", "System.out.println(ancebeck[i])", "System.out.println", "System.out", "System", "System.out", "ancebeck[i]", "ancebeck", "i", "public static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}", "main", "{\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint abeck[][] = new int[n][m];\n\t\tint bbeck[] = new int[m];\n\t\tint ancebeck[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint n = s.nextInt();\n\t\tint m = s.nextInt();\n\t\tint abeck[][] = new int[n][m];\n\t\tint bbeck[] = new int[m];\n\t\tint ancebeck[] = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tabeck[i][j] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tbbeck[i] = s.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tancebeck[i] += abeck[i][j] * bbeck[j];\n\t\t\t}\n\t\t\tSystem.out.println(ancebeck[i]);\n\t\t}\n\t\t\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t/* \n\t\t * Main x;\n\t\t * x = new Main();\n\t\t * x.run();\n\t\t * ??¨????????????\n\t\t */\n\t\tnew Main().run();\n\t\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { void run(){ Scanner s = new Scanner(System.in); int n = s.nextInt(); int m = s.nextInt(); int abeck[][] = new int[n][m]; int bbeck[] = new int[m]; int ancebeck[] = new int[n]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ abeck[i][j] = s.nextInt(); } } for(int i = 0; i < m ; i++){ bbeck[i] = s.nextInt(); } for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ ancebeck[i] += abeck[i][j] * bbeck[j]; } System.out.println(ancebeck[i]); } } public static void main(String[] args) { /* * Main x; * x = new Main(); * x.run(); * ??¨???????????? */ new Main().run(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 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, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 13, 17, 18, 13, 13, 4, 18, 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 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 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 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 79, 80 ], [ 11, 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 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 102, 103 ], [ 11, 104 ], [ 104, 105 ], [ 104, 106 ], [ 11, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 121, 132 ], [ 133, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 138, 144 ], [ 144, 145 ], [ 144, 146 ], [ 120, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 147, 151 ], [ 151, 152 ], [ 151, 153 ], [ 11, 154 ], [ 154, 155 ], [ 155, 156 ], [ 9, 157 ], [ 157, 158 ] ]
[ "import java.util.*;\nimport java.io.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int n = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = Integer.parseInt(sc.next());\n }\n\n int[] c = new int[n];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }\n out.flush();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int n = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = Integer.parseInt(sc.next());\n }\n\n int[] c = new int[n];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }\n out.flush();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int n = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = Integer.parseInt(sc.next());\n }\n\n int[] c = new int[n];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }\n out.flush();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n PrintWriter out = new PrintWriter(System.out);\n\n int n = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = Integer.parseInt(sc.next());\n }\n\n int[] c = new int[n];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }\n out.flush();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int n = Integer.parseInt(sc.next());", "n", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int m = Integer.parseInt(sc.next());", "m", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }\n }", "for (int j = 0; j < m; j++) {\n a[i][j] = Integer.parseInt(sc.next());\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = Integer.parseInt(sc.next());\n }", "{\n a[i][j] = Integer.parseInt(sc.next());\n }", "a[i][j] = Integer.parseInt(sc.next())", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "for (int i = 0; i < m; i++) {\n b[i] = Integer.parseInt(sc.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n b[i] = Integer.parseInt(sc.next());\n }", "{\n b[i] = Integer.parseInt(sc.next());\n }", "b[i] = Integer.parseInt(sc.next())", "b[i]", "b", "i", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int[] c = new int[n];", "c", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }", "{\n for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }\n out.printf(\"%d\\n\", c[i]);\n }", "for (int j = 0; j < m; j++) {\n c[i] += a[i][j] * b[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n c[i] += a[i][j] * b[j];\n }", "{\n c[i] += a[i][j] * b[j];\n }", "c[i] += a[i][j] * b[j]", "c[i]", "c", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "out.printf(\"%d\\n\", c[i])", "out.printf", "out", "\"%d\\n\"", "c[i]", "c", "i", "out.flush()", "out.flush", "out", "String[] args", "args" ]
import java.util.*; import java.io.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); PrintWriter out = new PrintWriter(System.out); int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); int[][] a = new int[n][m]; int[] b = new int[m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { a[i][j] = Integer.parseInt(sc.next()); } } for (int i = 0; i < m; i++) { b[i] = Integer.parseInt(sc.next()); } int[] c = new int[n]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { c[i] += a[i][j] * b[j]; } out.printf("%d\n", c[i]); } out.flush(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 11, 16 ], [ 16, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 40, 45 ], [ 11, 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 ], [ 60, 62 ], [ 59, 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 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 69, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 86, 91 ], [ 83, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 92, 102 ], [ 102, 103 ], [ 103, 104 ], [ 92, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 116, 118 ], [ 11, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 119, 129 ], [ 129, 130 ], [ 130, 131 ], [ 119, 132 ], [ 133, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 142, 143 ], [ 11, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 151, 153 ], [ 144, 154 ], [ 154, 155 ], [ 155, 156 ], [ 144, 157 ], [ 158, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 162, 172 ], [ 172, 173 ], [ 173, 174 ], [ 162, 175 ], [ 176, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 179, 185 ], [ 185, 186 ], [ 185, 187 ], [ 158, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 188, 193 ], [ 11, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 9, 199 ], [ 199, 200 ] ]
[ "import java.io.*;\nimport java.util.Arrays;\nclass Main{\n public static void main(String[] args) throws IOException {\n int i,j,sum;\n int[] A = new int[100];\n int[][] B = new int[100][100];\n int[] n = new int[990];\n String[] str = new String[990];\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n str = in.readLine().split(\" \");\n for(i=0;i<2;i++){\n n[i]=Integer.parseInt(str[i]);\n }\n for(i=0;i<n[0];i++){\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }\n for(i=0;i<n[1];i++){\n A[i] = Integer.parseInt(in.readLine());\n }\n for(i=0;i<n[0];i++){\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }\n System.out.flush();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "class Main{\n public static void main(String[] args) throws IOException {\n int i,j,sum;\n int[] A = new int[100];\n int[][] B = new int[100][100];\n int[] n = new int[990];\n String[] str = new String[990];\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n str = in.readLine().split(\" \");\n for(i=0;i<2;i++){\n n[i]=Integer.parseInt(str[i]);\n }\n for(i=0;i<n[0];i++){\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }\n for(i=0;i<n[1];i++){\n A[i] = Integer.parseInt(in.readLine());\n }\n for(i=0;i<n[0];i++){\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }\n System.out.flush();\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n int i,j,sum;\n int[] A = new int[100];\n int[][] B = new int[100][100];\n int[] n = new int[990];\n String[] str = new String[990];\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n str = in.readLine().split(\" \");\n for(i=0;i<2;i++){\n n[i]=Integer.parseInt(str[i]);\n }\n for(i=0;i<n[0];i++){\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }\n for(i=0;i<n[1];i++){\n A[i] = Integer.parseInt(in.readLine());\n }\n for(i=0;i<n[0];i++){\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }\n System.out.flush();\n }", "main", "{\n int i,j,sum;\n int[] A = new int[100];\n int[][] B = new int[100][100];\n int[] n = new int[990];\n String[] str = new String[990];\n BufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n str = in.readLine().split(\" \");\n for(i=0;i<2;i++){\n n[i]=Integer.parseInt(str[i]);\n }\n for(i=0;i<n[0];i++){\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }\n for(i=0;i<n[1];i++){\n A[i] = Integer.parseInt(in.readLine());\n }\n for(i=0;i<n[0];i++){\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }\n System.out.flush();\n }", "int i", "i", "j", "j", "sum;", "sum", "int[] A = new int[100];", "A", "new int[100]", "100", "int[][] B = new int[100][100];", "B", "new int[100][100]", "100", "100", "int[] n = new int[990];", "n", "new int[990]", "990", "String[] str = new String[990];", "str", "new String[990]", "990", "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", "\" \"", "for(i=0;i<2;i++){\n n[i]=Integer.parseInt(str[i]);\n }", "i=0;", "i=0", "i", "0", "i<2", "i", "2", "i++", "i++", "i", "{\n n[i]=Integer.parseInt(str[i]);\n }", "{\n n[i]=Integer.parseInt(str[i]);\n }", "n[i]=Integer.parseInt(str[i])", "n[i]", "n", "i", "Integer.parseInt(str[i])", "Integer.parseInt", "Integer", "str[i]", "str", "i", "for(i=0;i<n[0];i++){\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }", "i=0;", "i=0", "i", "0", "i<n[0]", "i", "n[0]", "n", "0", "i++", "i++", "i", "{\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }", "{\n str = in.readLine().split(\" \");\n for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }\n }", "str = in.readLine().split(\" \")", "str", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "for(j=0;j<n[1];j++){\n B[i][j]=Integer.parseInt(str[j]);\n }", "j=0;", "j=0", "j", "0", "j<n[1]", "j", "n[1]", "n", "1", "j++", "j++", "j", "{\n B[i][j]=Integer.parseInt(str[j]);\n }", "{\n B[i][j]=Integer.parseInt(str[j]);\n }", "B[i][j]=Integer.parseInt(str[j])", "B[i][j]", "B[i]", "B", "i", "j", "Integer.parseInt(str[j])", "Integer.parseInt", "Integer", "str[j]", "str", "j", "for(i=0;i<n[1];i++){\n A[i] = Integer.parseInt(in.readLine());\n }", "i=0;", "i=0", "i", "0", "i<n[1]", "i", "n[1]", "n", "1", "i++", "i++", "i", "{\n A[i] = Integer.parseInt(in.readLine());\n }", "{\n A[i] = Integer.parseInt(in.readLine());\n }", "A[i] = Integer.parseInt(in.readLine())", "A[i]", "A", "i", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "for(i=0;i<n[0];i++){\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }", "i=0;", "i=0", "i", "0", "i<n[0]", "i", "n[0]", "n", "0", "i++", "i++", "i", "{\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }", "{\n sum=0;\n for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }\n System.out.println(sum);\n }", "sum=0", "sum", "0", "for(j=0;j<n[1];j++){\n sum+=B[i][j]*A[j];\n }", "j=0;", "j=0", "j", "0", "j<n[1]", "j", "n[1]", "n", "1", "j++", "j++", "j", "{\n sum+=B[i][j]*A[j];\n }", "{\n sum+=B[i][j]*A[j];\n }", "sum+=B[i][j]*A[j]", "sum", "B[i][j]*A[j]", "B[i][j]", "B[i]", "B", "i", "j", "A[j]", "A", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "System.out.flush()", "System.out.flush", "System.out", "System", "System.out", "String[] args", "args" ]
import java.io.*; import java.util.Arrays; class Main{ public static void main(String[] args) throws IOException { int i,j,sum; int[] A = new int[100]; int[][] B = new int[100][100]; int[] n = new int[990]; String[] str = new String[990]; BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); str = in.readLine().split(" "); for(i=0;i<2;i++){ n[i]=Integer.parseInt(str[i]); } for(i=0;i<n[0];i++){ str = in.readLine().split(" "); for(j=0;j<n[1];j++){ B[i][j]=Integer.parseInt(str[j]); } } for(i=0;i<n[1];i++){ A[i] = Integer.parseInt(in.readLine()); } for(i=0;i<n[0];i++){ sum=0; for(j=0;j<n[1];j++){ sum+=B[i][j]*A[j]; } System.out.println(sum); } System.out.flush(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 187, 11 ], [ 187, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 70, 75 ], [ 67, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 98, 100 ], [ 14, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 122, 123 ], [ 14, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 142, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 137, 148 ], [ 149, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 160, 162 ], [ 14, 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 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 181, 182 ], [ 181, 183 ], [ 12, 184 ], [ 184, 185 ], [ 0, 186 ], [ 186, 187 ], [ 186, 188 ] ]
[ "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\tString[] set = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(set[0]);\n\t\tint m = Integer.parseInt(set[1]);\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}\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", "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[] set = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(set[0]);\n\t\tint m = Integer.parseInt(set[1]);\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\t\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[] set = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(set[0]);\n\t\tint m = Integer.parseInt(set[1]);\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\t\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] set = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(set[0]);\n\t\tint m = Integer.parseInt(set[1]);\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] set = br.readLine().split(\" \");", "set", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(set[0]);", "n", "Integer.parseInt(set[0])", "Integer.parseInt", "Integer", "set[0]", "set", "0", "int m = Integer.parseInt(set[1]);", "m", "Integer.parseInt(set[1])", "Integer.parseInt", "Integer", "set[1]", "set", "1", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "int[] c = new int[n];", "c", "new int[n]", "n", "for(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\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\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}", "String[] row = br.readLine().split(\" \");", "row", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}", "{\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}", "A[i][j] = Integer.parseInt(row[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(row[j])", "Integer.parseInt", "Integer", "row[j]", "row", "j", "for(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}", "{\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}", "b[j] = Integer.parseInt(br.readLine())", "b[j]", "b", "j", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\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\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "c[i] += A[i][j] * b[j]", "c[i]", "c", "i", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "for(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "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[] set = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(set[0]);\n\t\tint m = Integer.parseInt(set[1]);\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\t\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[] set = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(set[0]);\n\t\tint m = Integer.parseInt(set[1]);\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] row = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = Integer.parseInt(row[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int j = 0; j < m; j++) {\n\t\t\tb[j] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\t\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[] set = br.readLine().split(" "); int n = Integer.parseInt(set[0]); int m = Integer.parseInt(set[1]); int[][] A = new int[n][m]; int[] b = new int[m]; int[] c = new int[n]; for(int i = 0; i < n; i++){ String[] row = br.readLine().split(" "); for(int j = 0; j < m; j++) { A[i][j] = Integer.parseInt(row[j]); } } for(int j = 0; j < m; j++) { b[j] = Integer.parseInt(br.readLine()); } for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++) { c[i] += A[i][j] * b[j]; } } for(int i = 0; i < n; i++){ System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 41, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 155, 5 ], [ 155, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 8, 37 ], [ 37, 38 ], [ 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 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 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 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 113, 121 ], [ 121, 122 ], [ 122, 123 ], [ 113, 124 ], [ 125, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 130, 136 ], [ 136, 137 ], [ 136, 138 ], [ 112, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 146, 148 ], [ 8, 149 ], [ 149, 150 ], [ 150, 151 ], [ 6, 152 ], [ 152, 153 ], [ 0, 154 ], [ 154, 155 ], [ 154, 156 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint m=scan.nextInt();\n\t\tint a[][] = new int[100][100];\n\t\tint b[]= new int[100];\n\t\tint sum[]=new int[100];\n\t\tint i,j;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}\n\t\tscan.close();\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint m=scan.nextInt();\n\t\tint a[][] = new int[100][100];\n\t\tint b[]= new int[100];\n\t\tint sum[]=new int[100];\n\t\tint i,j;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}\n\t\tscan.close();\n}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint m=scan.nextInt();\n\t\tint a[][] = new int[100][100];\n\t\tint b[]= new int[100];\n\t\tint sum[]=new int[100];\n\t\tint i,j;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}\n\t\tscan.close();\n}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint m=scan.nextInt();\n\t\tint a[][] = new int[100][100];\n\t\tint b[]= new int[100];\n\t\tint sum[]=new int[100];\n\t\tint i,j;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}\n\t\tscan.close();\n}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n=scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m=scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int a[][] = new int[100][100];", "a", "new int[100][100]", "100", "100", "int b[]= new int[100];", "b", "new int[100]", "100", "int sum[]=new int[100];", "sum", "new int[100]", "100", "int i", "i", "j;", "j", "for(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}", "for(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}", "{\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}", "int c=scan.nextInt();", "c", "scan.nextInt()", "scan.nextInt", "scan", "a[i][j] +=c", "a[i][j]", "a[i]", "a", "i", "j", "c", "for(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}", "{\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}", "int c=scan.nextInt();", "c", "scan.nextInt()", "scan.nextInt", "scan", "b[i] +=c", "b[i]", "b", "i", "c", "for(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}", "{\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}", "for(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}", "{\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}", "sum[i] +=a[i][j]*b[j]", "sum[i]", "sum", "i", "a[i][j]*b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(\"\"+sum[i])", "System.out.println", "System.out", "System", "System.out", "\"\"+sum[i]", "\"\"", "sum[i]", "sum", "i", "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\t\tint m=scan.nextInt();\n\t\tint a[][] = new int[100][100];\n\t\tint b[]= new int[100];\n\t\tint sum[]=new int[100];\n\t\tint i,j;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}\n\t\tscan.close();\n}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint m=scan.nextInt();\n\t\tint a[][] = new int[100][100];\n\t\tint b[]= new int[100];\n\t\tint sum[]=new int[100];\n\t\tint i,j;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tint c=scan.nextInt();\n\t\t\t\ta[i][j] +=c;\n\t\t\t}\n\t\t}\n\t\tfor(i=0;i<m;i++) {\n\t\t\tint c=scan.nextInt();\n\t\t\tb[i] +=c;\n\t\t}\n\t\tfor(i=0;i<n;i++) {\n\t\t\tfor(j=0;j<m;j++) {\n\t\t\t\tsum[i] +=a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(\"\"+sum[i]);\n\t\t}\n\t\tscan.close();\n}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int m=scan.nextInt(); int a[][] = new int[100][100]; int b[]= new int[100]; int sum[]=new int[100]; int i,j; for(i=0;i<n;i++) { for(j=0;j<m;j++) { int c=scan.nextInt(); a[i][j] +=c; } } for(i=0;i<m;i++) { int c=scan.nextInt(); b[i] +=c; } for(i=0;i<n;i++) { for(j=0;j<m;j++) { sum[i] +=a[i][j]*b[j]; } System.out.println(""+sum[i]); } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 13, 41, 13, 20, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 198, 5 ], [ 198, 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 ], [ 8, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 47, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 62, 74 ], [ 74, 75 ], [ 75, 76 ], [ 62, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 8, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 88, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 8, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 110, 120 ], [ 120, 121 ], [ 121, 122 ], [ 110, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 125, 137 ], [ 137, 138 ], [ 138, 139 ], [ 125, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 152, 153 ], [ 152, 154 ], [ 141, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 159, 161 ], [ 124, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 166, 168 ], [ 8, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 176, 178 ], [ 169, 179 ], [ 179, 180 ], [ 180, 181 ], [ 169, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 8, 192 ], [ 192, 193 ], [ 193, 194 ], [ 6, 195 ], [ 195, 196 ], [ 0, 197 ], [ 197, 198 ], [ 197, 199 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint i, j;\n\t\tint[] sum = new int[n];\n\t\tint[] product = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}\n\t\tfor (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\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\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint i, j;\n\t\tint[] sum = new int[n];\n\t\tint[] product = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}\n\t\tfor (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint i, j;\n\t\tint[] sum = new int[n];\n\t\tint[] product = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}\n\t\tfor (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint i, j;\n\t\tint[] sum = new int[n];\n\t\tint[] product = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}\n\t\tfor (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\n\t\t}\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 m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int i", "i", "j;", "j", "int[] sum = new int[n];", "sum", "new int[n]", "n", "int[] product = new int[m];", "product", "new int[m]", "m", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "int[] c = new int[n];", "c", "new int[n]", "n", "for (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "i = 0;", "i = 0", "i", "0", "i < A.length", "i", "A.length", "A", "A.length", "i++", "i++", "i", "{\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}", "j = 0;", "j = 0", "j", "0", "j < A[i].length", "j", "A[i].length", "A[i]", "A", "i", "A[i].length", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}", "A[i][j] = sc.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}", "j = 0;", "j = 0", "j", "0", "j < b.length", "j", "b.length", "b", "b.length", "j++", "j++", "j", "{\n\t\t\tb[j] = sc.nextInt();\n\t\t}", "{\n\t\t\tb[j] = sc.nextInt();\n\t\t}", "b[j] = sc.nextInt()", "b[j]", "b", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}", "i = 0;", "i = 0", "i", "0", "i < A.length", "i", "A.length", "A", "A.length", "i++", "i++", "i", "{\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}", "{\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}", "for (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}", "j = 0;", "j = 0", "j", "0", "j < A[i].length", "j", "A[i].length", "A[i]", "A", "i", "A[i].length", "j++", "j++", "j", "{\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}", "{\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}", "product[j] = A[i][j] * b[j]", "product[j]", "product", "j", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "sum[i] += product[j]", "sum[i]", "sum", "i", "product[j]", "product", "j", "c[i] = sum[i]", "c[i]", "c", "i", "sum[i]", "sum", "i", "for (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "i = 0;", "i = 0", "i", "0", "i < c.length", "i", "c.length", "c", "c.length", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint i, j;\n\t\tint[] sum = new int[n];\n\t\tint[] product = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}\n\t\tfor (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\tsc.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint i, j;\n\t\tint[] sum = new int[n];\n\t\tint[] product = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor (j = 0; j < b.length; j++) {\n\t\t\tb[j] = sc.nextInt();\n\t\t}\n\t\tfor (i = 0; i < A.length; i++) {\n\t\t\tfor (j = 0; j < A[i].length; j++) {\n\t\t\t\tproduct[j] = A[i][j] * b[j];\n\t\t\t\tsum[i] += product[j];\n\t\t\t}\n\t\t\tc[i] = sum[i];\n\t\t}\n\t\tfor (i = 0; i < c.length; i++) {\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int i, j; int[] sum = new int[n]; int[] product = new int[m]; int[][] A = new int[n][m]; int[] b = new int[m]; int[] c = new int[n]; for (i = 0; i < A.length; i++) { for (j = 0; j < A[i].length; j++) { A[i][j] = sc.nextInt(); } } for (j = 0; j < b.length; j++) { b[j] = sc.nextInt(); } for (i = 0; i < A.length; i++) { for (j = 0; j < A[i].length; j++) { product[j] = A[i][j] * b[j]; sum[i] += product[j]; } c[i] = sum[i]; } for (i = 0; i < c.length; i++) { System.out.println(c[i]); } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 4, 18, 13, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 13, 0, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 23, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 33, 38 ], [ 30, 39 ], [ 39, 40 ], [ 39, 41 ], [ 30, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 30, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 30, 58 ], [ 58, 59 ], [ 58, 60 ], [ 30, 63 ], [ 63, 64 ], [ 63, 65 ], [ 30, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 67, 78 ], [ 79, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 84, 89 ], [ 30, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 107, 108 ], [ 30, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 117, 118 ], [ 118, 119 ], [ 109, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 127, 128 ], [ 127, 129 ], [ 122, 130 ], [ 130, 131 ], [ 131, 132 ], [ 122, 133 ], [ 134, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 139, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 151, 152 ], [ 151, 153 ], [ 121, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 154, 160 ], [ 121, 161 ], [ 161, 162 ], [ 161, 163 ], [ 15, 164 ], [ 164, 165 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\nclass Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n try {\n String inputData[] = br.readLine().split(\" \");\n int sum = 0;\n int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]);\n String data[][] = new String[row][column];\n String data2[] = new String[column];\n // data\n for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }\n // data2\n for (int i = 0; i < column; i++)\n data2[i] = br.readLine();\n\n for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\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.StringTokenizer;", "StringTokenizer", "java.util", "class Main {\n public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n try {\n String inputData[] = br.readLine().split(\" \");\n int sum = 0;\n int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]);\n String data[][] = new String[row][column];\n String data2[] = new String[column];\n // data\n for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }\n // data2\n for (int i = 0; i < column; i++)\n data2[i] = br.readLine();\n\n for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n}", "Main", "public static void main(String[] args) {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n try {\n String inputData[] = br.readLine().split(\" \");\n int sum = 0;\n int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]);\n String data[][] = new String[row][column];\n String data2[] = new String[column];\n // data\n for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }\n // data2\n for (int i = 0; i < column; i++)\n data2[i] = br.readLine();\n\n for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st;\n try {\n String inputData[] = br.readLine().split(\" \");\n int sum = 0;\n int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]);\n String data[][] = new String[row][column];\n String data2[] = new String[column];\n // data\n for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }\n // data2\n for (int i = 0; i < column; i++)\n data2[i] = br.readLine();\n\n for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st;", "st", "try {\n String inputData[] = br.readLine().split(\" \");\n int sum = 0;\n int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]);\n String data[][] = new String[row][column];\n String data2[] = new String[column];\n // data\n for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }\n // data2\n for (int i = 0; i < column; i++)\n data2[i] = br.readLine();\n\n for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n String inputData[] = br.readLine().split(\" \");\n int sum = 0;\n int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]);\n String data[][] = new String[row][column];\n String data2[] = new String[column];\n // data\n for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }\n // data2\n for (int i = 0; i < column; i++)\n data2[i] = br.readLine();\n\n for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }\n }", "String inputData[] = br.readLine().split(\" \");", "inputData", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int sum = 0;", "sum", "0", "int row = Integer.parseInt(inputData[0])", "row", "Integer.parseInt(inputData[0])", "Integer.parseInt", "Integer", "inputData[0]", "inputData", "0", "column = Integer.parseInt(inputData[1]);", "column", "Integer.parseInt(inputData[1])", "Integer.parseInt", "Integer", "inputData[1]", "inputData", "1", "String data[][] = new String[row][column];", "data", "new String[row][column]", "row", "column", "String data2[] = new String[column];", "data2", "new String[column]", "column", "for (int i = 0; i < row; i++) {\n data[i] = br.readLine().split(\" \");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < row", "i", "row", "i++", "i++", "i", "{\n data[i] = br.readLine().split(\" \");\n }", "{\n data[i] = br.readLine().split(\" \");\n }", "data[i] = br.readLine().split(\" \")", "data[i]", "data", "i", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int i = 0; i < column; i++)\n data2[i] = br.readLine();", "int i = 0;", "int i = 0;", "i", "0", "i < column", "i", "column", "i++", "i++", "i", "data2[i] = br.readLine();", "data2[i] = br.readLine()", "data2[i]", "data2", "i", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < row; i++) {\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < row", "i", "row", "i++", "i++", "i", "{\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }", "{\n for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }\n System.out.printf(\"%d\\n\", sum);\n sum = 0;\n }", "for (int j = 0; j < column; j++) {\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < column", "j", "column", "j++", "j++", "j", "{\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }", "{\n sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]);\n }", "sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j])", "sum", "sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j])", "sum", "Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j])", "Integer.parseInt(data[i][j])", "Integer.parseInt", "Integer", "data[i][j]", "data[i]", "data", "i", "j", "Integer.parseInt(data2[j])", "Integer.parseInt", "Integer", "data2[j]", "data2", "j", "System.out.printf(\"%d\\n\", sum)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "sum", "sum = 0", "sum", "0", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; class Main { public static void main(String[] args) { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st; try { String inputData[] = br.readLine().split(" "); int sum = 0; int row = Integer.parseInt(inputData[0]), column = Integer.parseInt(inputData[1]); String data[][] = new String[row][column]; String data2[] = new String[column]; // data for (int i = 0; i < row; i++) { data[i] = br.readLine().split(" "); } // data2 for (int i = 0; i < column; i++) data2[i] = br.readLine(); for (int i = 0; i < row; i++) { for (int j = 0; j < column; j++) { sum = sum + Integer.parseInt(data[i][j]) * Integer.parseInt(data2[j]); } System.out.printf("%d\n", sum); sum = 0; } } 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, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 138, 5 ], [ 138, 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, 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 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 89, 100 ], [ 101, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 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 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 101, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 6, 135 ], [ 135, 136 ], [ 0, 137 ], [ 137, 138 ], [ 137, 139 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] b1 = new int[n][m];\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }\n int[] b2 = new int[m];\n for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }\n sc.close();\n\n for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] b1 = new int[n][m];\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }\n int[] b2 = new int[m];\n for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }\n sc.close();\n\n for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] b1 = new int[n][m];\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }\n int[] b2 = new int[m];\n for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }\n sc.close();\n\n for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int[][] b1 = new int[n][m];\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }\n int[] b2 = new int[m];\n for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }\n sc.close();\n\n for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] b1 = new int[n][m];", "b1", "new int[n][m]", "n", "m", "for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }", "{\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }", "for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n b1[i][j] = sc.nextInt();\n }", "{\n b1[i][j] = sc.nextInt();\n }", "b1[i][j] = sc.nextInt()", "b1[i][j]", "b1[i]", "b1", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int[] b2 = new int[m];", "b2", "new int[m]", "m", "for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n b2[i] = sc.nextInt();\n }", "{\n b2[i] = sc.nextInt();\n }", "b2[i] = sc.nextInt()", "b2[i]", "b2", "i", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }", "{\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }", "int ans = 0;", "ans", "0", "for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n ans += b1[i][j] * b2[j];\n }", "{\n ans += b1[i][j] * b2[j];\n }", "ans += b1[i][j] * b2[j]", "ans", "b1[i][j] * b2[j]", "b1[i][j]", "b1[i]", "b1", "i", "j", "b2[j]", "b2", "j", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "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 m = sc.nextInt();\n\n int[][] b1 = new int[n][m];\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }\n int[] b2 = new int[m];\n for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }\n sc.close();\n\n for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }\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 m = sc.nextInt();\n\n int[][] b1 = new int[n][m];\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n b1[i][j] = sc.nextInt();\n }\n }\n int[] b2 = new int[m];\n for(int i=0; i<m; i++) {\n b2[i] = sc.nextInt();\n }\n sc.close();\n\n for(int i=0; i<n; i++) {\n int ans = 0;\n for(int j=0; j<m; j++) {\n ans += b1[i][j] * b2[j];\n }\n System.out.println(ans);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[][] b1 = new int[n][m]; for(int i=0; i<n; i++) { for(int j=0; j<m; j++) { b1[i][j] = sc.nextInt(); } } int[] b2 = new int[m]; for(int i=0; i<m; i++) { b2[i] = sc.nextInt(); } sc.close(); for(int i=0; i<n; i++) { int ans = 0; for(int j=0; j<m; j++) { ans += b1[i][j] * b2[j]; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 153, 5 ], [ 153, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 8, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 6, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\t\n\t\tint[][] A = new int[n][m];\n\t\tint[] B = new int[m];\n\t\tint[] C = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\t\n\t\tint[][] A = new int[n][m];\n\t\tint[] B = new int[m];\n\t\tint[] C = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\t\n\t\tint[][] A = new int[n][m];\n\t\tint[] B = new int[m];\n\t\tint[] C = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\t\n\t\tint[][] A = new int[n][m];\n\t\tint[] B = new int[m];\n\t\tint[] C = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int m = stdIn.nextInt();", "m", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] B = new int[m];", "B", "new int[m]", "m", "int[] C = new int[n];", "C", "new int[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\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\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}", "A[i][j] = stdIn.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}", "{\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}", "B[i] = stdIn.nextInt()", "B[i]", "B", "i", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\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\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}", "{\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}", "C[i] += A[i][j] * B[j]", "C[i]", "C", "i", "A[i][j] * B[j]", "A[i][j]", "A[i]", "A", "i", "j", "B[j]", "B", "j", "for(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(C[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(C[i]);\n\t\t}", "System.out.println(C[i])", "System.out.println", "System.out", "System", "System.out", "C[i]", "C", "i", "String[] args", "args", "public class Main {\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\t\n\t\tint[][] A = new int[n][m];\n\t\tint[] B = new int[m];\n\t\tint[] C = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}\n\t}\n\n}", "public class Main {\n\t\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\t\n\t\tint[][] A = new int[n][m];\n\t\tint[] B = new int[m];\n\t\tint[] C = new int[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tA[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tB[i] = stdIn.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tC[i] += A[i][j] * B[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(C[i]);\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int n = stdIn.nextInt(); int m = stdIn.nextInt(); int[][] A = new int[n][m]; int[] B = new int[m]; int[] C = new int[n]; for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { A[i][j] = stdIn.nextInt(); } } for(int i = 0; i < m; i++) { B[i] = stdIn.nextInt(); } for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { C[i] += A[i][j] * B[j]; } } for(int i = 0; i < n; i++) { System.out.println(C[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 6, 137 ], [ 137, 138 ] ]
[ "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\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "int[] c = new int[n];", "c", "new int[n]", "n", "for(int i=0; i<n; i++){\n\t\t\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\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\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}\n\t\t}", "for(int s=0; s<m; s++){\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}", "int s=0;", "int s=0;", "s", "0", "s<m", "s", "m", "s++", "s++", "s", "{\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][s] = scan.nextInt();\n\t\t\t}", "A[i][s] = scan.nextInt()", "A[i][s]", "A[i]", "A", "i", "s", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0; i<m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i] = scan.nextInt();\n\t\t}", "{\n\t\t\tb[i] = scan.nextInt();\n\t\t}", "b[i] = scan.nextInt()", "b[i]", "b", "i", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "{\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "for(int j=0; j<m; j++){\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}", "{\n\t\t\t\tc[i] += A[i][j]*b[j];\n\t\t\t}", "c[i] += A[i][j]*b[j]", "c[i]", "c", "i", "A[i][j]*b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "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 m = scan.nextInt(); int[][] A = new int[n][m]; int[] b = new int[m]; int[] c = new int[n]; for(int i=0; i<n; i++){ for(int s=0; s<m; s++){ A[i][s] = scan.nextInt(); } } for(int i=0; i<m; i++){ b[i] = scan.nextInt(); } for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ c[i] += A[i][j]*b[j]; } System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 140, 5 ], [ 140, 6 ], [ 6, 7 ], [ 6, 8 ], [ 140, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 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 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 11, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 11, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 9, 137 ], [ 137, 138 ], [ 0, 139 ], [ 139, 140 ], [ 139, 141 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] mat = new int[n][m];\n int[] vec = new int[m];\n int[] res = new int[n];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n \n for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] mat = new int[n][m];\n int[] vec = new int[m];\n int[] res = new int[n];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n \n for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }\n \n }\n}", "Main", "public static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] mat = new int[n][m];\n int[] vec = new int[m];\n int[] res = new int[n];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n \n for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }\n \n }", "main", "{\n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] mat = new int[n][m];\n int[] vec = new int[m];\n int[] res = new int[n];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n \n for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }\n \n }", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] mat = new int[n][m];", "mat", "new int[n][m]", "n", "m", "int[] vec = new int[m];", "vec", "new int[m]", "m", "int[] res = new int[n];", "res", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n mat[i][j] = sc.nextInt();\n }", "{\n mat[i][j] = sc.nextInt();\n }", "mat[i][j] = sc.nextInt()", "mat[i][j]", "mat[i]", "mat", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n vec[i] = sc.nextInt();\n }", "{\n vec[i] = sc.nextInt();\n }", "vec[i] = sc.nextInt()", "vec[i]", "vec", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }", "{\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }", "for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n res[i] += mat[i][j] * vec[j];\n }", "{\n res[i] += mat[i][j] * vec[j];\n }", "res[i] += mat[i][j] * vec[j]", "res[i]", "res", "i", "mat[i][j] * vec[j]", "mat[i][j]", "mat[i]", "mat", "i", "j", "vec[j]", "vec", "j", "System.out.println(res[i])", "System.out.println", "System.out", "System", "System.out", "res[i]", "res", "i", "String[] args", "args", "public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] mat = new int[n][m];\n int[] vec = new int[m];\n int[] res = new int[n];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n \n for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }\n \n }\n}", "public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] mat = new int[n][m];\n int[] vec = new int[m];\n int[] res = new int[n];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n \n for (int i = 0; i < m; i++) {\n vec[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n res[i] += mat[i][j] * vec[j];\n }\n System.out.println(res[i]);\n }\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { int n = sc.nextInt(); int m = sc.nextInt(); int[][] mat = new int[n][m]; int[] vec = new int[m]; int[] res = new int[n]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { mat[i][j] = sc.nextInt(); } } for (int i = 0; i < m; i++) { vec[i] = sc.nextInt(); } for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { res[i] += mat[i][j] * vec[j]; } System.out.println(res[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 178, 11 ], [ 178, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 70, 75 ], [ 67, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 88, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 98, 100 ], [ 14, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 122, 123 ], [ 14, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 142, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 137, 148 ], [ 149, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 158, 164 ], [ 164, 165 ], [ 164, 166 ], [ 136, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 12, 175 ], [ 175, 176 ], [ 0, 177 ], [ 177, 178 ], [ 177, 179 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int c[] = new int[n];\n for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int c[] = new int[n];\n for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int c[] = new int[n];\n for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int c[] = new int[n];\n for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str[] = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(str[0]);", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int m = Integer.parseInt(str[1]);", "m", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int a[][] = new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int c[] = new int[n];", "c", "new int[n]", "n", "for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }", "{\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }", "str = br.readLine().split(\" \")", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = Integer.parseInt(str[j]);\n }", "{\n a[i][j] = Integer.parseInt(str[j]);\n }", "a[i][j] = Integer.parseInt(str[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(str[j])", "Integer.parseInt", "Integer", "str[j]", "str", "j", "for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n b[i] = Integer.parseInt(br.readLine());\n }", "{\n b[i] = Integer.parseInt(br.readLine());\n }", "b[i] = Integer.parseInt(br.readLine())", "b[i]", "b", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }", "{\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }", "for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n c[i] = c[i] + a[i][j] * b[j];\n }", "{\n c[i] = c[i] + a[i][j] * b[j];\n }", "c[i] = c[i] + a[i][j] * b[j]", "c[i]", "c", "i", "c[i] + a[i][j] * b[j]", "c[i]", "c", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "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 String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int c[] = new int[n];\n for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\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 String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int c[] = new int[n];\n for(int i=0;i<n;i++){\n str = br.readLine().split(\" \");\n for(int j=0;j<m;j++){\n a[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<m;i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n c[i] = c[i] + a[i][j] * b[j];\n }\n System.out.println(c[i]);\n }\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 str[] = br.readLine().split(" "); int n = Integer.parseInt(str[0]); int m = Integer.parseInt(str[1]); int a[][] = new int[n][m]; int b[] = new int[m]; int c[] = new int[n]; for(int i=0;i<n;i++){ str = br.readLine().split(" "); for(int j=0;j<m;j++){ a[i][j] = Integer.parseInt(str[j]); } } for(int i=0;i<m;i++){ b[i] = Integer.parseInt(br.readLine()); } for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ c[i] = c[i] + a[i][j] * b[j]; } System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 40, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 40, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 181, 5 ], [ 181, 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 ], [ 19, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 70, 71 ], [ 58, 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 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 8, 127 ], [ 127, 128 ], [ 127, 129 ], [ 8, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 131, 139 ], [ 139, 140 ], [ 140, 141 ], [ 131, 142 ], [ 143, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 144, 152 ], [ 152, 153 ], [ 153, 154 ], [ 144, 155 ], [ 156, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 161, 167 ], [ 167, 168 ], [ 167, 169 ], [ 143, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 6, 178 ], [ 178, 179 ], [ 0, 180 ], [ 180, 181 ], [ 180, 182 ] ]
[ "import java.io.*;\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = reader.readLine();\n\t\tString[] sarray = line.split(\" \", -1);\n\t\tint n = Integer.parseInt(sarray[0]);\n\t\tint m = Integer.parseInt(sarray[1]);\n\t\tint matrix[][] = new int[n][m];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tint vector[] = new int[m];\n\t\tfor(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}\n\t\tint result[] = new int[n];\n\t\tfor(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = reader.readLine();\n\t\tString[] sarray = line.split(\" \", -1);\n\t\tint n = Integer.parseInt(sarray[0]);\n\t\tint m = Integer.parseInt(sarray[1]);\n\t\tint matrix[][] = new int[n][m];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tint vector[] = new int[m];\n\t\tfor(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}\n\t\tint result[] = new int[n];\n\t\tfor(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = reader.readLine();\n\t\tString[] sarray = line.split(\" \", -1);\n\t\tint n = Integer.parseInt(sarray[0]);\n\t\tint m = Integer.parseInt(sarray[1]);\n\t\tint matrix[][] = new int[n][m];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tint vector[] = new int[m];\n\t\tfor(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}\n\t\tint result[] = new int[n];\n\t\tfor(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = reader.readLine();\n\t\tString[] sarray = line.split(\" \", -1);\n\t\tint n = Integer.parseInt(sarray[0]);\n\t\tint m = Integer.parseInt(sarray[1]);\n\t\tint matrix[][] = new int[n][m];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tint vector[] = new int[m];\n\t\tfor(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}\n\t\tint result[] = new int[n];\n\t\tfor(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String line = reader.readLine();", "line", "reader.readLine()", "reader.readLine", "reader", "String[] sarray = line.split(\" \", -1);", "sarray", "line.split(\" \", -1)", "line.split", "line", "\" \"", "-1", "1", "int n = Integer.parseInt(sarray[0]);", "n", "Integer.parseInt(sarray[0])", "Integer.parseInt", "Integer", "sarray[0]", "sarray", "0", "int m = Integer.parseInt(sarray[1]);", "m", "Integer.parseInt(sarray[1])", "Integer.parseInt", "Integer", "sarray[1]", "sarray", "1", "int matrix[][] = new int[n][m];", "matrix", "new int[n][m]", "n", "m", "for(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\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\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}", "String str = reader.readLine();", "str", "reader.readLine()", "reader.readLine", "reader", "String[] mat = str.split(\" \", -1);", "mat", "str.split(\" \", -1)", "str.split", "str", "\" \"", "-1", "1", "for(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "{\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "matrix[i][j] = Integer.parseInt(mat[j])", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "Integer.parseInt(mat[j])", "Integer.parseInt", "Integer", "mat[j]", "mat", "j", "int vector[] = new int[m];", "vector", "new int[m]", "m", "for(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}", "{\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}", "String vec = reader.readLine();", "vec", "reader.readLine()", "reader.readLine", "reader", "vector[k] = Integer.parseInt(vec)", "vector[k]", "vector", "k", "Integer.parseInt(vec)", "Integer.parseInt", "Integer", "vec", "int result[] = new int[n];", "result", "new int[n]", "n", "for(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}", "int p = 0;", "int p = 0;", "p", "0", "p < n", "p", "n", "p++", "p++", "p", "{\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}", "{\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}", "for(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}", "int q = 0;", "int q = 0;", "q", "0", "q < m", "q", "m", "q++", "q++", "q", "{\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}", "{\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}", "result[p] += matrix[p][q]*vector[q]", "result[p]", "result", "p", "matrix[p][q]*vector[q]", "matrix[p][q]", "matrix[p]", "matrix", "p", "q", "vector[q]", "vector", "q", "System.out.println(result[p])", "System.out.println", "System.out", "System", "System.out", "result[p]", "result", "p", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = reader.readLine();\n\t\tString[] sarray = line.split(\" \", -1);\n\t\tint n = Integer.parseInt(sarray[0]);\n\t\tint m = Integer.parseInt(sarray[1]);\n\t\tint matrix[][] = new int[n][m];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tint vector[] = new int[m];\n\t\tfor(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}\n\t\tint result[] = new int[n];\n\t\tfor(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line = reader.readLine();\n\t\tString[] sarray = line.split(\" \", -1);\n\t\tint n = Integer.parseInt(sarray[0]);\n\t\tint m = Integer.parseInt(sarray[1]);\n\t\tint matrix[][] = new int[n][m];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tint vector[] = new int[m];\n\t\tfor(int k = 0; k < m; k++){\n\t\t\tString vec = reader.readLine();\n\t\t\tvector[k] = Integer.parseInt(vec); //j<m k<m\n\t\t}\n\t\tint result[] = new int[n];\n\t\tfor(int p = 0; p < n; p++){\n\t\t\tfor(int q = 0; q < m; q++){\n\t\t\t\tresult[p] += matrix[p][q]*vector[q];\n\t\t\t}\n\t\t\tSystem.out.println(result[p]);\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String line = reader.readLine(); String[] sarray = line.split(" ", -1); int n = Integer.parseInt(sarray[0]); int m = Integer.parseInt(sarray[1]); int matrix[][] = new int[n][m]; for(int i = 0; i < n; i++){ String str = reader.readLine(); String[] mat = str.split(" ", -1); for(int j = 0; j < m; j++){ matrix[i][j] = Integer.parseInt(mat[j]); } } int vector[] = new int[m]; for(int k = 0; k < m; k++){ String vec = reader.readLine(); vector[k] = Integer.parseInt(vec); //j<m k<m } int result[] = new int[n]; for(int p = 0; p < n; p++){ for(int q = 0; q < m; q++){ result[p] += matrix[p][q]*vector[q]; } System.out.println(result[p]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 19, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 14, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 14, 49 ], [ 49, 50 ], [ 49, 51 ], [ 14, 54 ], [ 54, 55 ], [ 54, 56 ], [ 14, 58 ], [ 58, 59 ], [ 58, 60 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 62, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 74, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 108, 110 ], [ 14, 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 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 132, 133 ], [ 14, 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 ], [ 14, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 157, 158 ], [ 157, 159 ], [ 152, 160 ], [ 160, 161 ], [ 161, 162 ], [ 152, 163 ], [ 164, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 165, 173 ], [ 173, 174 ], [ 174, 175 ], [ 165, 176 ], [ 177, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 182, 188 ], [ 188, 189 ], [ 188, 190 ], [ 14, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 196, 197 ], [ 196, 198 ], [ 191, 199 ], [ 199, 200 ], [ 200, 201 ], [ 191, 202 ], [ 203, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 209, 210 ], [ 209, 211 ], [ 12, 212 ], [ 212, 213 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n public static void main(String args[]) throws IOException{\n int n,m;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine(); \n String[] token = line.split(\" \");\n n = Integer.parseInt(token[0]);\n m = Integer.parseInt(token[1]);\n int[][] matrixA = new int[n][m];\n int[] matrixB = new int[m];\n int[] matrixanswer = new int[n]; \n\n for(int i = 0; i < n ;i++){\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }//for\n\n for(int i = 0; i < m ;i++){\n matrixB[i] = Integer.parseInt(br.readLine());\n }\n\n for(int i = 0; i < n ;i++){\n matrixanswer[i] = 0;\n } \n\n for(int i = 0; i < n ;i++){\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }\n\n for(int j = 0; j < n ;j++){\n System.out.println(matrixanswer[j]);\n }\n\n\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main{\n public static void main(String args[]) throws IOException{\n int n,m;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine(); \n String[] token = line.split(\" \");\n n = Integer.parseInt(token[0]);\n m = Integer.parseInt(token[1]);\n int[][] matrixA = new int[n][m];\n int[] matrixB = new int[m];\n int[] matrixanswer = new int[n]; \n\n for(int i = 0; i < n ;i++){\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }//for\n\n for(int i = 0; i < m ;i++){\n matrixB[i] = Integer.parseInt(br.readLine());\n }\n\n for(int i = 0; i < n ;i++){\n matrixanswer[i] = 0;\n } \n\n for(int i = 0; i < n ;i++){\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }\n\n for(int j = 0; j < n ;j++){\n System.out.println(matrixanswer[j]);\n }\n\n\n }\n}", "Main", "public static void main(String args[]) throws IOException{\n int n,m;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine(); \n String[] token = line.split(\" \");\n n = Integer.parseInt(token[0]);\n m = Integer.parseInt(token[1]);\n int[][] matrixA = new int[n][m];\n int[] matrixB = new int[m];\n int[] matrixanswer = new int[n]; \n\n for(int i = 0; i < n ;i++){\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }//for\n\n for(int i = 0; i < m ;i++){\n matrixB[i] = Integer.parseInt(br.readLine());\n }\n\n for(int i = 0; i < n ;i++){\n matrixanswer[i] = 0;\n } \n\n for(int i = 0; i < n ;i++){\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }\n\n for(int j = 0; j < n ;j++){\n System.out.println(matrixanswer[j]);\n }\n\n\n }", "main", "{\n int n,m;\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine(); \n String[] token = line.split(\" \");\n n = Integer.parseInt(token[0]);\n m = Integer.parseInt(token[1]);\n int[][] matrixA = new int[n][m];\n int[] matrixB = new int[m];\n int[] matrixanswer = new int[n]; \n\n for(int i = 0; i < n ;i++){\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }//for\n\n for(int i = 0; i < m ;i++){\n matrixB[i] = Integer.parseInt(br.readLine());\n }\n\n for(int i = 0; i < n ;i++){\n matrixanswer[i] = 0;\n } \n\n for(int i = 0; i < n ;i++){\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }\n\n for(int j = 0; j < n ;j++){\n System.out.println(matrixanswer[j]);\n }\n\n\n }", "int n", "n", "m;", "m", "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[] token = line.split(\" \");", "token", "line.split(\" \")", "line.split", "line", "\" \"", "n = Integer.parseInt(token[0])", "n", "Integer.parseInt(token[0])", "Integer.parseInt", "Integer", "token[0]", "token", "0", "m = Integer.parseInt(token[1])", "m", "Integer.parseInt(token[1])", "Integer.parseInt", "Integer", "token[1]", "token", "1", "int[][] matrixA = new int[n][m];", "matrixA", "new int[n][m]", "n", "m", "int[] matrixB = new int[m];", "matrixB", "new int[m]", "m", "int[] matrixanswer = new int[n];", "matrixanswer", "new int[n]", "n", "for(int i = 0; i < n ;i++){\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }//for", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }//for", "{\n String line2 = br.readLine(); \n String[] token2 = line2.split(\" \");\n for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for \n }", "String line2 = br.readLine();", "line2", "br.readLine()", "br.readLine", "br", "String[] token2 = line2.split(\" \");", "token2", "line2.split(\" \")", "line2.split", "line2", "\" \"", "for(int j = 0; j < m ;j++){\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for ", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }//for ", "{\n matrixA[i][j] = Integer.parseInt(token2[j]);\n \n }", "matrixA[i][j] = Integer.parseInt(token2[j])", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Integer.parseInt(token2[j])", "Integer.parseInt", "Integer", "token2[j]", "token2", "j", "for(int i = 0; i < m ;i++){\n matrixB[i] = Integer.parseInt(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n matrixB[i] = Integer.parseInt(br.readLine());\n }", "{\n matrixB[i] = Integer.parseInt(br.readLine());\n }", "matrixB[i] = Integer.parseInt(br.readLine())", "matrixB[i]", "matrixB", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i = 0; i < n ;i++){\n matrixanswer[i] = 0;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n matrixanswer[i] = 0;\n }", "{\n matrixanswer[i] = 0;\n }", "matrixanswer[i] = 0", "matrixanswer[i]", "matrixanswer", "i", "0", "for(int i = 0; i < n ;i++){\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }", "{\n for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }\n }", "for(int j = 0; j < m ;j++){\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }", "{\n matrixanswer[i] += matrixA[i][j]*matrixB[j];\n }", "matrixanswer[i] += matrixA[i][j]*matrixB[j]", "matrixanswer[i]", "matrixanswer", "i", "matrixA[i][j]*matrixB[j]", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "matrixB[j]", "matrixB", "j", "for(int j = 0; j < n ;j++){\n System.out.println(matrixanswer[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n System.out.println(matrixanswer[j]);\n }", "{\n System.out.println(matrixanswer[j]);\n }", "System.out.println(matrixanswer[j])", "System.out.println", "System.out", "System", "System.out", "matrixanswer[j]", "matrixanswer", "j", "String args[]", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String args[]) throws IOException{ int n,m; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); String[] token = line.split(" "); n = Integer.parseInt(token[0]); m = Integer.parseInt(token[1]); int[][] matrixA = new int[n][m]; int[] matrixB = new int[m]; int[] matrixanswer = new int[n]; for(int i = 0; i < n ;i++){ String line2 = br.readLine(); String[] token2 = line2.split(" "); for(int j = 0; j < m ;j++){ matrixA[i][j] = Integer.parseInt(token2[j]); }//for }//for for(int i = 0; i < m ;i++){ matrixB[i] = Integer.parseInt(br.readLine()); } for(int i = 0; i < n ;i++){ matrixanswer[i] = 0; } for(int i = 0; i < n ;i++){ for(int j = 0; j < m ;j++){ matrixanswer[i] += matrixA[i][j]*matrixB[j]; } } for(int j = 0; j < n ;j++){ System.out.println(matrixanswer[j]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 184, 5 ], [ 184, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 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 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 67, 72 ], [ 64, 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 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 98, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 118, 119 ], [ 119, 120 ], [ 8, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 121, 132 ], [ 133, 133 ], [ 133, 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 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 157, 159 ], [ 8, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 160, 171 ], [ 172, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 6, 181 ], [ 181, 182 ], [ 0, 183 ], [ 183, 184 ], [ 183, 185 ] ]
[ "import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int[][] matrix = new int[n][m];\n int[] vector = new int[m];\n int[] result = new int[n];\n\n //??????????????¨???????????????\n for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }\n for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n\n //???????????? x ??????\n for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }\n\n //??????\n for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }\n\n }\n}", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[]args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int[][] matrix = new int[n][m];\n int[] vector = new int[m];\n int[] result = new int[n];\n\n //??????????????¨???????????????\n for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }\n for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n\n //???????????? x ??????\n for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }\n\n //??????\n for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }\n\n }\n}", "Main", "public static void main(String[]args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int[][] matrix = new int[n][m];\n int[] vector = new int[m];\n int[] result = new int[n];\n\n //??????????????¨???????????????\n for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }\n for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n\n //???????????? x ??????\n for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }\n\n //??????\n for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int[][] matrix = new int[n][m];\n int[] vector = new int[m];\n int[] result = new int[n];\n\n //??????????????¨???????????????\n for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }\n for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n\n //???????????? x ??????\n for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }\n\n //??????\n for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(str[0]);", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int m = Integer.parseInt(str[1]);", "m", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int[][] matrix = new int[n][m];", "matrix", "new int[n][m]", "n", "m", "int[] vector = new int[m];", "vector", "new int[m]", "m", "int[] result = new int[n];", "result", "new int[n]", "n", "for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }", "{\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }", "String[] str2 = br.readLine().split(\" \");", "str2", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n matrix[i][k] = Integer.parseInt(str2[k]);\n }", "{\n matrix[i][k] = Integer.parseInt(str2[k]);\n }", "matrix[i][k] = Integer.parseInt(str2[k])", "matrix[i][k]", "matrix[i]", "matrix", "i", "k", "Integer.parseInt(str2[k])", "Integer.parseInt", "Integer", "str2[k]", "str2", "k", "for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n vector[i] = Integer.parseInt(br.readLine());\n }", "{\n vector[i] = Integer.parseInt(br.readLine());\n }", "vector[i] = Integer.parseInt(br.readLine())", "vector[i]", "vector", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }", "{\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }", "for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n result[i] += matrix[i][k] * vector[k];\n }", "{\n result[i] += matrix[i][k] * vector[k];\n }", "result[i] += matrix[i][k] * vector[k]", "result[i]", "result", "i", "matrix[i][k] * vector[k]", "matrix[i][k]", "matrix[i]", "matrix", "i", "k", "vector[k]", "vector", "k", "for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n System.out.println(result[i]);\n }", "{\n System.out.println(result[i]);\n }", "System.out.println(result[i])", "System.out.println", "System.out", "System", "System.out", "result[i]", "result", "i", "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 StringBuilder sb = new StringBuilder();\n\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int[][] matrix = new int[n][m];\n int[] vector = new int[m];\n int[] result = new int[n];\n\n //??????????????¨???????????????\n for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }\n for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n\n //???????????? x ??????\n for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }\n\n //??????\n for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }\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 StringBuilder sb = new StringBuilder();\n\n String[] str = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int[][] matrix = new int[n][m];\n int[] vector = new int[m];\n int[] result = new int[n];\n\n //??????????????¨???????????????\n for(int i=0; i<n; i++){\n String[] str2 = br.readLine().split(\" \");\n for(int k=0; k<m; k++){\n matrix[i][k] = Integer.parseInt(str2[k]);\n }\n }\n for(int i=0; i<m; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n\n //???????????? x ??????\n for(int i=0; i<n; i++){\n for(int k=0; k<m; k++){\n result[i] += matrix[i][k] * vector[k];\n }\n }\n\n //??????\n for(int i=0; i<n; i++){\n System.out.println(result[i]);\n }\n\n }\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[]args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String[] str = br.readLine().split(" "); int n = Integer.parseInt(str[0]); int m = Integer.parseInt(str[1]); int[][] matrix = new int[n][m]; int[] vector = new int[m]; int[] result = new int[n]; //??????????????¨??????????????? for(int i=0; i<n; i++){ String[] str2 = br.readLine().split(" "); for(int k=0; k<m; k++){ matrix[i][k] = Integer.parseInt(str2[k]); } } for(int i=0; i<m; i++){ vector[i] = Integer.parseInt(br.readLine()); } //???????????? x ?????? for(int i=0; i<n; i++){ for(int k=0; k<m; k++){ result[i] += matrix[i][k] * vector[k]; } } //?????? for(int i=0; i<n; i++){ System.out.println(result[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 168, 5 ], [ 168, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 10, 24 ], [ 24, 25 ], [ 24, 26 ], [ 10, 29 ], [ 29, 30 ], [ 29, 31 ], [ 10, 33 ], [ 33, 34 ], [ 33, 35 ], [ 10, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 10, 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 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 10, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 113, 114 ], [ 114, 115 ], [ 105, 116 ], [ 117, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 128, 130 ], [ 10, 131 ], [ 131, 132 ], [ 131, 133 ], [ 10, 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 ], [ 147, 150 ], [ 150, 151 ], [ 150, 152 ], [ 146, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 10, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 162, 163 ], [ 163, 164 ], [ 6, 165 ], [ 165, 166 ], [ 0, 167 ], [ 167, 168 ], [ 167, 169 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\ntry (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\ntry (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\ntry (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}\n\t}", "main", "{\n\ntry (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}\n\t}", "try (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}", "{\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int c[] = new int[n];", "c", "new int[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}", "for(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}", "{\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}", "for(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}", "{\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}", "c[i] += a[i][j] * b[j]", "c[i]", "c", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "{\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "sb.append(c[i])", "sb.append", "sb", "c[i]", "c", "i", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.print(sb.toString())", "System.out.print", "System.out", "System", "System.out", "sb.toString()", "sb.toString", "sb", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\ntry (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\ntry (Scanner sc = new Scanner(System.in);) {\n\t\t\t\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\t\n\t\t\tint a[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor(int i = 0; i < m; i++) {\n\t\t\t\tb[i] = sc.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tStringBuilder sb = new StringBuilder();\n\t\t\t\n\t\t\tfor(int i = 0; i < n; i++) {\n\t\t\t\tsb.append(c[i]);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.print(sb.toString());\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in);) { int n = sc.nextInt(); int m = sc.nextInt(); int a[][] = new int[n][m]; int b[] = new int[m]; int c[] = new int[n]; for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { a[i][j] = sc.nextInt(); } } for(int i = 0; i < m; i++) { b[i] = sc.nextInt(); } for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { c[i] += a[i][j] * b[j]; } } StringBuilder sb = new StringBuilder(); for(int i = 0; i < n; i++) { sb.append(c[i]); sb.append("\n"); } System.out.print(sb.toString()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 139, 5 ], [ 139, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 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 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 8, 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 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 127, 129 ], [ 100, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 6, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int seki;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }\n for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }\n \n for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int seki;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }\n for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }\n \n for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}\n}\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int seki;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }\n for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }\n \n for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}\n}", "main", "{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int seki;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }\n for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }\n \n for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}\n}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "int m = scanner.nextInt();", "m", "scanner.nextInt()", "scanner.nextInt", "scanner", "int A[][] = new int[n][m];", "A", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int seki;", "seki", "for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }", "{\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }", "for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n A[i][j] = scanner.nextInt();\n }", "{\n A[i][j] = scanner.nextInt();\n }", "A[i][j] = scanner.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n b[i] = scanner.nextInt();\n }", "{\n b[i] = scanner.nextInt();\n }", "b[i] = scanner.nextInt()", "b[i]", "b", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}", "int i =0;", "int i =0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}", "{\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}", "seki=0", "seki", "0", "for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n }", "int j =0;", "int j =0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{ \n seki= seki+A[i][j]*b[j];\n }", "{ \n seki= seki+A[i][j]*b[j];\n }", "seki= seki+A[i][j]*b[j]", "seki", "seki+A[i][j]*b[j]", "seki", "A[i][j]*b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(seki)", "System.out.println", "System.out", "System", "System.out", "seki", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int seki;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }\n for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }\n \n for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}\n}\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int seki;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n A[i][j] = scanner.nextInt();\n }\n }\n for(int i = 0; i < m; i++){\n b[i] = scanner.nextInt();\n }\n \n for(int i =0;i<n;i++){\n seki=0;\n for(int j =0;j<m;j++){ \n seki= seki+A[i][j]*b[j];\n } \n System.out.println(seki);\n \n}\n}\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 m = scanner.nextInt(); int A[][] = new int[n][m]; int b[] = new int[m]; int seki; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ A[i][j] = scanner.nextInt(); } } for(int i = 0; i < m; i++){ b[i] = scanner.nextInt(); } for(int i =0;i<n;i++){ seki=0; for(int j =0;j<m;j++){ seki= seki+A[i][j]*b[j]; } System.out.println(seki); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 144, 5 ], [ 144, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 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 ], [ 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 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 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 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 95, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 107, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 107, 138 ], [ 138, 139 ], [ 138, 140 ], [ 6, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int matrix_A[][] = new int[n][m];\n int matrix_B[] = new int[m]; \n int AB = 0;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int matrix_A[][] = new int[n][m];\n int matrix_B[] = new int[m]; \n int AB = 0;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int matrix_A[][] = new int[n][m];\n int matrix_B[] = new int[m]; \n int AB = 0;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int matrix_A[][] = new int[n][m];\n int matrix_B[] = new int[m]; \n int AB = 0;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int matrix_A[][] = new int[n][m];", "matrix_A", "new int[n][m]", "n", "m", "int matrix_B[] = new int[m];", "matrix_B", "new int[m]", "m", "int AB = 0;", "AB", "0", "for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }", "{\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }", "for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }", "{\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "matrix_A[i][j] = num", "matrix_A[i][j]", "matrix_A[i]", "matrix_A", "i", "j", "num", "for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n int num = sc.nextInt();\n matrix_B[j] = num;\n }", "{\n int num = sc.nextInt();\n matrix_B[j] = num;\n }", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "matrix_B[j] = num", "matrix_B[j]", "matrix_B", "j", "num", "for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }", "{\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }", "for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n AB += matrix_A[i][j]*matrix_B[j];\n }", "{\n AB += matrix_A[i][j]*matrix_B[j];\n }", "AB += matrix_A[i][j]*matrix_B[j]", "AB", "matrix_A[i][j]*matrix_B[j]", "matrix_A[i][j]", "matrix_A[i]", "matrix_A", "i", "j", "matrix_B[j]", "matrix_B", "j", "System.out.println(AB)", "System.out.println", "System.out", "System", "System.out", "AB", "AB = 0", "AB", "0", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int matrix_A[][] = new int[n][m];\n int matrix_B[] = new int[m]; \n int AB = 0;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int matrix_A[][] = new int[n][m];\n int matrix_B[] = new int[m]; \n int AB = 0;\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_A[i][j] = num;\n }\n }\n for(int j = 0; j < m; j++){\n int num = sc.nextInt();\n matrix_B[j] = num;\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n AB += matrix_A[i][j]*matrix_B[j];\n }\n System.out.println(AB);\n AB = 0;\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int matrix_A[][] = new int[n][m]; int matrix_B[] = new int[m]; int AB = 0; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ int num = sc.nextInt(); matrix_A[i][j] = num; } } for(int j = 0; j < m; j++){ int num = sc.nextInt(); matrix_B[j] = num; } for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ AB += matrix_A[i][j]*matrix_B[j]; } System.out.println(AB); AB = 0; } } }
[ 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 41, 13, 41, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 162, 8 ], [ 162, 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, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 11, 38 ], [ 38, 39 ], [ 11, 40 ], [ 40, 41 ], [ 11, 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 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 75, 76 ], [ 11, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 95, 96 ], [ 11, 97 ], [ 97, 98 ], [ 11, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 99, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 112, 120 ], [ 120, 121 ], [ 121, 122 ], [ 112, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 135, 137 ], [ 11, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 143, 145 ], [ 138, 146 ], [ 146, 147 ], [ 147, 148 ], [ 138, 149 ], [ 150, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 156, 157 ], [ 156, 158 ], [ 9, 159 ], [ 159, 160 ], [ 0, 161 ], [ 161, 162 ], [ 161, 163 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main{\n\tpublic static void main(String args[]) throws Exception{\n\t\tScanner cin= new Scanner(System.in);\n\t\tfinal int m= cin.nextInt();\n\t\tfinal int n= cin.nextInt();\n\t\t\n\t\tint[][] A= new int[m][n];\n\t\tint[] b= new int[n];\n\t\tint[] c= new int[m];\n\t\t\n\t\tint i,j;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}\n\t\t\n\t\tint k;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String args[]) throws Exception{\n\t\tScanner cin= new Scanner(System.in);\n\t\tfinal int m= cin.nextInt();\n\t\tfinal int n= cin.nextInt();\n\t\t\n\t\tint[][] A= new int[m][n];\n\t\tint[] b= new int[n];\n\t\tint[] c= new int[m];\n\t\t\n\t\tint i,j;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}\n\t\t\n\t\tint k;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "Main", "public static void main(String args[]) throws Exception{\n\t\tScanner cin= new Scanner(System.in);\n\t\tfinal int m= cin.nextInt();\n\t\tfinal int n= cin.nextInt();\n\t\t\n\t\tint[][] A= new int[m][n];\n\t\tint[] b= new int[n];\n\t\tint[] c= new int[m];\n\t\t\n\t\tint i,j;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}\n\t\t\n\t\tint k;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "main", "{\n\t\tScanner cin= new Scanner(System.in);\n\t\tfinal int m= cin.nextInt();\n\t\tfinal int n= cin.nextInt();\n\t\t\n\t\tint[][] A= new int[m][n];\n\t\tint[] b= new int[n];\n\t\tint[] c= new int[m];\n\t\t\n\t\tint i,j;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}\n\t\t\n\t\tint k;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "Scanner cin= new Scanner(System.in);", "cin", "new Scanner(System.in)", "final int m= cin.nextInt();", "m", "cin.nextInt()", "cin.nextInt", "cin", "final int n= cin.nextInt();", "n", "cin.nextInt()", "cin.nextInt", "cin", "int[][] A= new int[m][n];", "A", "new int[m][n]", "m", "n", "int[] b= new int[n];", "b", "new int[n]", "n", "int[] c= new int[m];", "c", "new int[m]", "m", "int i", "i", "j;", "j", "for(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}", "for(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}", "A[i][j]= cin.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "cin.nextInt()", "cin.nextInt", "cin", "for(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}", "j=0;", "j=0", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n\t\t\tb[j]= cin.nextInt();\n\t\t}", "{\n\t\t\tb[j]= cin.nextInt();\n\t\t}", "b[j]= cin.nextInt()", "b[j]", "b", "j", "cin.nextInt()", "cin.nextInt", "cin", "int k;", "k", "for(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}", "for(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}", "k=0;", "k=0", "k", "0", "k<n", "k", "n", "k++", "k++", "k", "{\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}", "{\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}", "c[i]+= A[i][k]*b[k]", "c[i]", "c", "i", "A[i][k]*b[k]", "A[i][k]", "A[i]", "A", "i", "k", "b[k]", "b", "k", "for(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "String args[]", "args", "public class Main{\n\tpublic static void main(String args[]) throws Exception{\n\t\tScanner cin= new Scanner(System.in);\n\t\tfinal int m= cin.nextInt();\n\t\tfinal int n= cin.nextInt();\n\t\t\n\t\tint[][] A= new int[m][n];\n\t\tint[] b= new int[n];\n\t\tint[] c= new int[m];\n\t\t\n\t\tint i,j;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}\n\t\t\n\t\tint k;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String args[]) throws Exception{\n\t\tScanner cin= new Scanner(System.in);\n\t\tfinal int m= cin.nextInt();\n\t\tfinal int n= cin.nextInt();\n\t\t\n\t\tint[][] A= new int[m][n];\n\t\tint[] b= new int[n];\n\t\tint[] c= new int[m];\n\t\t\n\t\tint i,j;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<n;j++){\n\t\t\t\tA[i][j]= cin.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(j=0;j<n;j++){\n\t\t\tb[j]= cin.nextInt();\n\t\t}\n\t\t\n\t\tint k;\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(k=0;k<n;k++){\n\t\t\t\tc[i]+= A[i][k]*b[k];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String args[]) throws Exception{ Scanner cin= new Scanner(System.in); final int m= cin.nextInt(); final int n= cin.nextInt(); int[][] A= new int[m][n]; int[] b= new int[n]; int[] c= new int[m]; int i,j; for(i=0;i<m;i++){ for(j=0;j<n;j++){ A[i][j]= cin.nextInt(); } } for(j=0;j<n;j++){ b[j]= cin.nextInt(); } int k; for(i=0;i<m;i++){ for(k=0;k<n;k++){ c[i]+= A[i][k]*b[k]; } } for(i=0;i<m;i++){ System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 41, 13, 4, 13, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 13, 20, 29, 13, 23, 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 ], [ 233, 11 ], [ 233, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 66, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 78, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 100, 102 ], [ 14, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 14, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 131, 134 ], [ 14, 135 ], [ 135, 136 ], [ 135, 137 ], [ 135, 138 ], [ 12, 139 ], [ 139, 140 ], [ 233, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 144, 154 ], [ 154, 155 ], [ 155, 156 ], [ 144, 157 ], [ 158, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 141, 168 ], [ 168, 169 ], [ 141, 170 ], [ 170, 171 ], [ 233, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 185, 187 ], [ 178, 188 ], [ 188, 189 ], [ 189, 190 ], [ 178, 191 ], [ 192, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 203, 205 ], [ 196, 206 ], [ 206, 207 ], [ 207, 208 ], [ 196, 209 ], [ 210, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 213, 219 ], [ 219, 220 ], [ 219, 221 ], [ 192, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 174, 226 ], [ 226, 227 ], [ 172, 228 ], [ 228, 229 ], [ 172, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int row = Integer.parseInt(line2[0]);\n int column = Integer.parseInt(line2[1]);\n int[][] vec1= new int[row][column];\n int[] vec2 = new int[column];\n for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }\n for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }\n List<Integer> result = vecMul(vec1,vec2);\n print(result,column);\n }\n static void print(List<Integer> res,int column) {\n for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n } \n }\n static List<Integer> vecMul(int[][] vec1,int[] vec2) {\n List<Integer> res = new ArrayList<Integer>();\n for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }\n return res;\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int row = Integer.parseInt(line2[0]);\n int column = Integer.parseInt(line2[1]);\n int[][] vec1= new int[row][column];\n int[] vec2 = new int[column];\n for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }\n for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }\n List<Integer> result = vecMul(vec1,vec2);\n print(result,column);\n }\n static void print(List<Integer> res,int column) {\n for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n } \n }\n static List<Integer> vecMul(int[][] vec1,int[] vec2) {\n List<Integer> res = new ArrayList<Integer>();\n for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }\n return res;\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int row = Integer.parseInt(line2[0]);\n int column = Integer.parseInt(line2[1]);\n int[][] vec1= new int[row][column];\n int[] vec2 = new int[column];\n for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }\n for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }\n List<Integer> result = vecMul(vec1,vec2);\n print(result,column);\n }", "main", "{\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int row = Integer.parseInt(line2[0]);\n int column = Integer.parseInt(line2[1]);\n int[][] vec1= new int[row][column];\n int[] vec2 = new int[column];\n for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }\n for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }\n List<Integer> result = vecMul(vec1,vec2);\n print(result,column);\n }", "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 = line.split(\" \");", "line2", "line.split(\" \")", "line.split", "line", "\" \"", "int row = Integer.parseInt(line2[0]);", "row", "Integer.parseInt(line2[0])", "Integer.parseInt", "Integer", "line2[0]", "line2", "0", "int column = Integer.parseInt(line2[1]);", "column", "Integer.parseInt(line2[1])", "Integer.parseInt", "Integer", "line2[1]", "line2", "1", "int[][] vec1= new int[row][column];", "vec1", "new int[row][column]", "row", "column", "int[] vec2 = new int[column];", "vec2", "new int[column]", "column", "for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }", "int j=0;", "int j=0;", "j", "0", "j<row", "j", "row", "j++", "j++", "j", "{\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }", "{\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }", "String v = br.readLine();", "v", "br.readLine()", "br.readLine", "br", "String[] v_ary = v.split(\" \");", "v_ary", "v.split(\" \")", "v.split", "v", "\" \"", "for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<column", "i", "column", "i++", "i++", "i", "{\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n }", "{\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n }", "vec1[j][i] = Integer.parseInt(v_ary[i])", "vec1[j][i]", "vec1[j]", "vec1", "j", "i", "Integer.parseInt(v_ary[i])", "Integer.parseInt", "Integer", "v_ary[i]", "v_ary", "i", "for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }", "int i=0;", "int i=0;", "i", "0", "i<column", "i", "column", "i++", "i++", "i", "{\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }", "{\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }", "String v = br.readLine();", "v", "br.readLine()", "br.readLine", "br", "vec2[i] = Integer.parseInt(v)", "vec2[i]", "vec2", "i", "Integer.parseInt(v)", "Integer.parseInt", "Integer", "v", "List<Integer> result = vecMul(vec1,vec2);", "result", "vecMul(vec1,vec2)", "vecMul", "vec1", "vec2", "print(result,column)", "print", "result", "column", "String[] args", "args", "static void print(List<Integer> res,int column) {\n for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n } \n }", "print", "{\n for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n } \n }", "for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n }", "int i=0;", "int i=0;", "i", "0", "i<res.size()", "i", "res.size()", "res.size", "res", "i++", "i++", "i", "{\n System.out.println(res.get(i));\n }", "{\n System.out.println(res.get(i));\n }", "System.out.println(res.get(i))", "System.out.println", "System.out", "System", "System.out", "res.get(i)", "res.get", "res", "i", "List<Integer> res", "res", "int column", "column", "static List<Integer> vecMul(int[][] vec1,int[] vec2) {\n List<Integer> res = new ArrayList<Integer>();\n for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }\n return res;\n }", "vecMul", "{\n List<Integer> res = new ArrayList<Integer>();\n for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }\n return res;\n }", "List<Integer> res = new ArrayList<Integer>();", "res", "new ArrayList<Integer>()", "for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }", "int j=0;", "int j=0;", "j", "0", "j<vec1.length", "j", "vec1.length", "vec1", "vec1.length", "j++", "j++", "j", "{\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }", "{\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }", "int sum = 0;", "sum", "0", "for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<vec2.length", "i", "vec2.length", "vec2", "vec2.length", "i++", "i++", "i", "{\n sum += vec1[j][i] * vec2[i];\n }", "{\n sum += vec1[j][i] * vec2[i];\n }", "sum += vec1[j][i] * vec2[i]", "sum", "vec1[j][i] * vec2[i]", "vec1[j][i]", "vec1[j]", "vec1", "j", "i", "vec2[i]", "vec2", "i", "res.add(new Integer(sum))", "res.add", "res", "new Integer(sum)", "return res;", "res", "int[][] vec1", "vec1", "int[] vec2", "vec2", "public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int row = Integer.parseInt(line2[0]);\n int column = Integer.parseInt(line2[1]);\n int[][] vec1= new int[row][column];\n int[] vec2 = new int[column];\n for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }\n for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }\n List<Integer> result = vecMul(vec1,vec2);\n print(result,column);\n }\n static void print(List<Integer> res,int column) {\n for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n } \n }\n static List<Integer> vecMul(int[][] vec1,int[] vec2) {\n List<Integer> res = new ArrayList<Integer>();\n for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }\n return res;\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Here your code !\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line = br.readLine();\n String[] line2 = line.split(\" \");\n int row = Integer.parseInt(line2[0]);\n int column = Integer.parseInt(line2[1]);\n int[][] vec1= new int[row][column];\n int[] vec2 = new int[column];\n for(int j=0;j<row;j++) {\n String v = br.readLine();\n String[] v_ary = v.split(\" \");\n for(int i=0;i<column;i++) {\n vec1[j][i] = Integer.parseInt(v_ary[i]);\n } \n }\n for(int i=0;i<column;i++) {\n String v = br.readLine();\n vec2[i] = Integer.parseInt(v);\n }\n List<Integer> result = vecMul(vec1,vec2);\n print(result,column);\n }\n static void print(List<Integer> res,int column) {\n for(int i=0;i<res.size();i++) {\n System.out.println(res.get(i));\n } \n }\n static List<Integer> vecMul(int[][] vec1,int[] vec2) {\n List<Integer> res = new ArrayList<Integer>();\n for(int j=0;j<vec1.length;j++){\n int sum = 0;\n for(int i=0;i<vec2.length;i++) {\n sum += vec1[j][i] * vec2[i];\n }\n res.add(new Integer(sum));\n }\n return res;\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.*; 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 = line.split(" "); int row = Integer.parseInt(line2[0]); int column = Integer.parseInt(line2[1]); int[][] vec1= new int[row][column]; int[] vec2 = new int[column]; for(int j=0;j<row;j++) { String v = br.readLine(); String[] v_ary = v.split(" "); for(int i=0;i<column;i++) { vec1[j][i] = Integer.parseInt(v_ary[i]); } } for(int i=0;i<column;i++) { String v = br.readLine(); vec2[i] = Integer.parseInt(v); } List<Integer> result = vecMul(vec1,vec2); print(result,column); } static void print(List<Integer> res,int column) { for(int i=0;i<res.size();i++) { System.out.println(res.get(i)); } } static List<Integer> vecMul(int[][] vec1,int[] vec2) { List<Integer> res = new ArrayList<Integer>(); for(int j=0;j<vec1.length;j++){ int sum = 0; for(int i=0;i<vec2.length;i++) { sum += vec1[j][i] * vec2[i]; } res.add(new Integer(sum)); } return res; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 153, 5 ], [ 153, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 8, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 6, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??\\?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}\n\t\t//?¨????\n\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}\n\t\t//??????\n\t\tfor (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??\\?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}\n\t\t//?¨????\n\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}\n\t\t//??????\n\t\tfor (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t//??\\?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}\n\t\t//?¨????\n\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}\n\t\t//??????\n\t\tfor (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\t}\n\t}", "main", "{\n\t\t//??\\?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}\n\t\t//?¨????\n\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}\n\t\t//??????\n\t\tfor (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "int[] c = new int[n];", "c", "new int[n]", "n", "for (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}", "int ni = 0;", "int ni = 0;", "ni", "0", "ni < n", "ni", "n", "ni++", "ni++", "ni", "{\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}", "int mi = 0;", "int mi = 0;", "mi", "0", "mi < m", "mi", "m", "mi++", "mi++", "mi", "{\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}", "A[ni][mi] = sc.nextInt()", "A[ni][mi]", "A[ni]", "A", "ni", "mi", "sc.nextInt()", "sc.nextInt", "sc", "for(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}", "int mi = 0;", "int mi = 0;", "mi", "0", "mi < m", "mi", "m", "mi++", "mi++", "mi", "{\n\t\t\tb[mi] = sc.nextInt();\n\t\t}", "{\n\t\t\tb[mi] = sc.nextInt();\n\t\t}", "b[mi] = sc.nextInt()", "b[mi]", "b", "mi", "sc.nextInt()", "sc.nextInt", "sc", "for (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}", "int mi = 0;", "int mi = 0;", "mi", "0", "mi < m", "mi", "m", "mi++", "mi++", "mi", "{\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}", "for (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}", "int ni = 0;", "int ni = 0;", "ni", "0", "ni < n", "ni", "n", "ni++", "ni++", "ni", "{\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}", "{\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}", "c[ni] += A[ni][mi] * b[mi]", "c[ni]", "c", "ni", "A[ni][mi] * b[mi]", "A[ni][mi]", "A[ni]", "A", "ni", "mi", "b[mi]", "b", "mi", "for (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\t}", "int ni = 0;", "int ni = 0;", "ni", "0", "ni < n", "ni", "n", "ni++", "ni++", "ni", "{\n\t\t\tSystem.out.println(c[ni]);\n\t\t}", "{\n\t\t\tSystem.out.println(c[ni]);\n\t\t}", "System.out.println(c[ni])", "System.out.println", "System.out", "System", "System.out", "c[ni]", "c", "ni", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??\\?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}\n\t\t//?¨????\n\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}\n\t\t//??????\n\t\tfor (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t//??\\?????????\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\t\tA[ni][mi] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int mi = 0; mi < m; mi++) {\n\t\t\tb[mi] = sc.nextInt();\n\t\t}\n\t\t//?¨????\n\t\tfor (int mi = 0; mi < m; mi++) {\n\t\t\tfor (int ni = 0; ni < n; ni++) {\n\t\t\t\tc[ni] += A[ni][mi] * b[mi];\n\t\t\t}\n\t\t}\n\t\t//??????\n\t\tfor (int ni = 0; ni < n; ni++){\n\t\t\tSystem.out.println(c[ni]);\n\t\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 m = sc.nextInt(); int[][] A = new int[n][m]; int[] b = new int[m]; int[] c = new int[n]; for (int ni = 0; ni < n; ni++) { for (int mi = 0; mi < m; mi++) { A[ni][mi] = sc.nextInt(); } } for(int mi = 0; mi < m; mi++) { b[mi] = sc.nextInt(); } //?¨???? for (int mi = 0; mi < m; mi++) { for (int ni = 0; ni < n; ni++) { c[ni] += A[ni][mi] * b[mi]; } } //?????? for (int ni = 0; ni < n; ni++){ System.out.println(c[ni]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 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, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 180, 8 ], [ 180, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 48, 58 ], [ 58, 59 ], [ 59, 60 ], [ 48, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 65, 70 ], [ 62, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 71, 83 ], [ 83, 84 ], [ 84, 85 ], [ 71, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 11, 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 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 122, 123 ], [ 123, 124 ], [ 11, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 132, 134 ], [ 125, 135 ], [ 135, 136 ], [ 136, 137 ], [ 125, 138 ], [ 139, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 143, 155 ], [ 155, 156 ], [ 156, 157 ], [ 143, 158 ], [ 159, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 168, 170 ], [ 139, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 9, 177 ], [ 177, 178 ], [ 0, 179 ], [ 179, 180 ], [ 179, 181 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int row = Integer.parseInt(ar[0]);\n int col = Integer.parseInt(ar[1]);\n int[][] a = new int[row][col];\n int[] b = new int[col];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }\n for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int row = Integer.parseInt(ar[0]);\n int col = Integer.parseInt(ar[1]);\n int[][] a = new int[row][col];\n int[] b = new int[col];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }\n for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int row = Integer.parseInt(ar[0]);\n int col = Integer.parseInt(ar[1]);\n int[][] a = new int[row][col];\n int[] b = new int[col];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }\n for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int row = Integer.parseInt(ar[0]);\n int col = Integer.parseInt(ar[1]);\n int[][] a = new int[row][col];\n int[] b = new int[col];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }\n for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] ar = br.readLine().split(\" \");", "ar", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int row = Integer.parseInt(ar[0]);", "row", "Integer.parseInt(ar[0])", "Integer.parseInt", "Integer", "ar[0]", "ar", "0", "int col = Integer.parseInt(ar[1]);", "col", "Integer.parseInt(ar[1])", "Integer.parseInt", "Integer", "ar[1]", "ar", "1", "int[][] a = new int[row][col];", "a", "new int[row][col]", "row", "col", "int[] b = new int[col];", "b", "new int[col]", "col", "for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }", "{\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }", "ar = br.readLine().split(\" \")", "ar", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }", "int n = 0;", "int n = 0;", "n", "0", "n < a[i].length", "n", "a[i].length", "a[i]", "a", "i", "a[i].length", "n++", "n++", "n", "{\n a[i][n] = Integer.parseInt(ar[n]);\n }", "{\n a[i][n] = Integer.parseInt(ar[n]);\n }", "a[i][n] = Integer.parseInt(ar[n])", "a[i][n]", "a[i]", "a", "i", "n", "Integer.parseInt(ar[n])", "Integer.parseInt", "Integer", "ar[n]", "ar", "n", "for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < b.length", "i", "b.length", "b", "b.length", "i++", "i++", "i", "{\n b[i] = Integer.parseInt(br.readLine());\n }", "{\n b[i] = Integer.parseInt(br.readLine());\n }", "b[i] = Integer.parseInt(br.readLine())", "b[i]", "b", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }", "{\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }", "int ans = 0;", "ans", "0", "for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }", "int n = 0;", "int n = 0;", "n", "0", "n < a[i].length", "n", "a[i].length", "a[i]", "a", "i", "a[i].length", "n++", "n++", "n", "{\n ans += a[i][n] * b[n];\n }", "{\n ans += a[i][n] * b[n];\n }", "ans += a[i][n] * b[n]", "ans", "a[i][n] * b[n]", "a[i][n]", "a[i]", "a", "i", "n", "b[n]", "b", "n", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int row = Integer.parseInt(ar[0]);\n int col = Integer.parseInt(ar[1]);\n int[][] a = new int[row][col];\n int[] b = new int[col];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }\n for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int row = Integer.parseInt(ar[0]);\n int col = Integer.parseInt(ar[1]);\n int[][] a = new int[row][col];\n int[] b = new int[col];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int n = 0; n < a[i].length; n++){\n a[i][n] = Integer.parseInt(ar[n]);\n }\n }\n for(int i = 0; i < b.length; i++){\n b[i] = Integer.parseInt(br.readLine());\n }\n for(int i = 0; i < a.length; i++){\n int ans = 0;\n for(int n = 0; n < a[i].length; n++){\n ans += a[i][n] * b[n];\n }\n System.out.println(ans);\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)); String[] ar = br.readLine().split(" "); int row = Integer.parseInt(ar[0]); int col = Integer.parseInt(ar[1]); int[][] a = new int[row][col]; int[] b = new int[col]; for(int i = 0; i < a.length; i++){ ar = br.readLine().split(" "); for(int n = 0; n < a[i].length; n++){ a[i][n] = Integer.parseInt(ar[n]); } } for(int i = 0; i < b.length; i++){ b[i] = Integer.parseInt(br.readLine()); } for(int i = 0; i < a.length; i++){ int ans = 0; for(int n = 0; n < a[i].length; n++){ ans += a[i][n] * b[n]; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 18, 13, 17, 4, 18, 13, 18, 13, 17, 0, 13, 20, 18, 13, 17, 18, 13, 17, 0, 13, 20, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 17, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 0, 13, 17, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 216, 5 ], [ 216, 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, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 63, 64 ], [ 63, 65 ], [ 66, 67 ], [ 66, 68 ], [ 8, 69 ], [ 69, 70 ], [ 69, 71 ], [ 72, 73 ], [ 72, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 75, 85 ], [ 85, 86 ], [ 86, 87 ], [ 75, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 89, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 97, 101 ], [ 89, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 102, 112 ], [ 112, 113 ], [ 113, 114 ], [ 102, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 126, 128 ], [ 8, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 129, 139 ], [ 139, 140 ], [ 140, 141 ], [ 129, 142 ], [ 143, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 143, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 8, 157 ], [ 157, 158 ], [ 157, 159 ], [ 8, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 167, 169 ], [ 160, 170 ], [ 170, 171 ], [ 171, 172 ], [ 160, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 175, 185 ], [ 185, 186 ], [ 186, 187 ], [ 175, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 192, 198 ], [ 198, 199 ], [ 198, 200 ], [ 174, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 174, 207 ], [ 207, 208 ], [ 207, 209 ], [ 8, 210 ], [ 210, 211 ], [ 211, 212 ], [ 6, 213 ], [ 213, 214 ], [ 0, 215 ], [ 215, 216 ], [ 215, 217 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,sum;\n int[] num = new int[2];\n int[][] a;\n int[] b;\n str = scan.nextLine();\n String[] x = str.split(\" \", 0);\n num[0] = Integer.valueOf(x[0]);\n num[1] = Integer.valueOf(x[1]);\n a = new int[num[0]][num[1]];\n b = new int[num[1]];\n for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }\n for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }\n sum = 0;\n for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n \n scan.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,sum;\n int[] num = new int[2];\n int[][] a;\n int[] b;\n str = scan.nextLine();\n String[] x = str.split(\" \", 0);\n num[0] = Integer.valueOf(x[0]);\n num[1] = Integer.valueOf(x[1]);\n a = new int[num[0]][num[1]];\n b = new int[num[1]];\n for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }\n for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }\n sum = 0;\n for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n \n scan.close();\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,sum;\n int[] num = new int[2];\n int[][] a;\n int[] b;\n str = scan.nextLine();\n String[] x = str.split(\" \", 0);\n num[0] = Integer.valueOf(x[0]);\n num[1] = Integer.valueOf(x[1]);\n a = new int[num[0]][num[1]];\n b = new int[num[1]];\n for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }\n for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }\n sum = 0;\n for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n \n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,sum;\n int[] num = new int[2];\n int[][] a;\n int[] b;\n str = scan.nextLine();\n String[] x = str.split(\" \", 0);\n num[0] = Integer.valueOf(x[0]);\n num[1] = Integer.valueOf(x[1]);\n a = new int[num[0]][num[1]];\n b = new int[num[1]];\n for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }\n for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }\n sum = 0;\n for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n \n scan.close();\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String str;", "str", "int i", "i", "j", "j", "sum;", "sum", "int[] num = new int[2];", "num", "new int[2]", "2", "int[][] a;", "a", "int[] b;", "b", "str = scan.nextLine()", "str", "scan.nextLine()", "scan.nextLine", "scan", "String[] x = str.split(\" \", 0);", "x", "str.split(\" \", 0)", "str.split", "str", "\" \"", "0", "num[0] = Integer.valueOf(x[0])", "num[0]", "num", "0", "Integer.valueOf(x[0])", "Integer.valueOf", "Integer", "x[0]", "x", "0", "num[1] = Integer.valueOf(x[1])", "num[1]", "num", "1", "Integer.valueOf(x[1])", "Integer.valueOf", "Integer", "x[1]", "x", "1", "a = new int[num[0]][num[1]]", "a", "new int[num[0]][num[1]]", "num[0]", "num", "0", "num[1]", "num", "1", "b = new int[num[1]]", "b", "new int[num[1]]", "num[1]", "num", "1", "for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }", "i = 0;", "i = 0", "i", "0", "i < num[0]", "i", "num[0]", "num", "0", "i++", "i++", "i", "{\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }", "{\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }", "str = scan.nextLine()", "str", "scan.nextLine()", "scan.nextLine", "scan", "x = str.split(\" \", 0)", "x", "str.split(\" \", 0)", "str.split", "str", "\" \"", "0", "for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }", "j = 0;", "j = 0", "j", "0", "j < num[1]", "j", "num[1]", "num", "1", "j++", "j++", "j", "{\n a[i][j] = Integer.valueOf(x[j]);\n }", "{\n a[i][j] = Integer.valueOf(x[j]);\n }", "a[i][j] = Integer.valueOf(x[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.valueOf(x[j])", "Integer.valueOf", "Integer", "x[j]", "x", "j", "for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }", "j = 0;", "j = 0", "j", "0", "j < num[1]", "j", "num[1]", "num", "1", "j++", "j++", "j", "{\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }", "{\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }", "str = scan.nextLine()", "str", "scan.nextLine()", "scan.nextLine", "scan", "b[j] = Integer.valueOf(str)", "b[j]", "b", "j", "Integer.valueOf(str)", "Integer.valueOf", "Integer", "str", "sum = 0", "sum", "0", "for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }", "i = 0;", "i = 0", "i", "0", "i < num[0]", "i", "num[0]", "num", "0", "i++", "i++", "i", "{\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }", "{\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }", "for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }", "j = 0;", "j = 0", "j", "0", "j < num[1]", "j", "num[1]", "num", "1", "j++", "j++", "j", "{\n sum += a[i][j] * b[j];\n }", "{\n sum += a[i][j] * b[j];\n }", "sum += a[i][j] * b[j]", "sum", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "sum = 0", "sum", "0", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,sum;\n int[] num = new int[2];\n int[][] a;\n int[] b;\n str = scan.nextLine();\n String[] x = str.split(\" \", 0);\n num[0] = Integer.valueOf(x[0]);\n num[1] = Integer.valueOf(x[1]);\n a = new int[num[0]][num[1]];\n b = new int[num[1]];\n for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }\n for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }\n sum = 0;\n for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n \n scan.close();\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,sum;\n int[] num = new int[2];\n int[][] a;\n int[] b;\n str = scan.nextLine();\n String[] x = str.split(\" \", 0);\n num[0] = Integer.valueOf(x[0]);\n num[1] = Integer.valueOf(x[1]);\n a = new int[num[0]][num[1]];\n b = new int[num[1]];\n for(i = 0; i < num[0]; i++){\n str = scan.nextLine();\n x = str.split(\" \", 0);\n for(j = 0; j < num[1]; j++){\n a[i][j] = Integer.valueOf(x[j]);\n }\n }\n for(j = 0; j < num[1]; j++){\n str = scan.nextLine();\n b[j] = Integer.valueOf(str);\n }\n sum = 0;\n for(i = 0; i < num[0]; i++){\n for(j = 0; j < num[1]; j++){\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n \n scan.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str; int i,j,sum; int[] num = new int[2]; int[][] a; int[] b; str = scan.nextLine(); String[] x = str.split(" ", 0); num[0] = Integer.valueOf(x[0]); num[1] = Integer.valueOf(x[1]); a = new int[num[0]][num[1]]; b = new int[num[1]]; for(i = 0; i < num[0]; i++){ str = scan.nextLine(); x = str.split(" ", 0); for(j = 0; j < num[1]; j++){ a[i][j] = Integer.valueOf(x[j]); } } for(j = 0; j < num[1]; j++){ str = scan.nextLine(); b[j] = Integer.valueOf(str); } sum = 0; for(i = 0; i < num[0]; i++){ for(j = 0; j < num[1]; j++){ sum += a[i][j] * b[j]; } System.out.println(sum); sum = 0; } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 135, 5 ], [ 135, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 123, 125 ], [ 98, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 6, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t int m = sc.nextInt();\n\t int a[][] = new int[n][m];\n\t int b[] = new int[m];\n\t \n\t for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }\n\t \n\t for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }\n\t \n\t for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }\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 int n = sc.nextInt();\n\t int m = sc.nextInt();\n\t int a[][] = new int[n][m];\n\t int b[] = new int[m];\n\t \n\t for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }\n\t \n\t for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }\n\t \n\t for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t int m = sc.nextInt();\n\t int a[][] = new int[n][m];\n\t int b[] = new int[m];\n\t \n\t for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }\n\t \n\t for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }\n\t \n\t for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t int m = sc.nextInt();\n\t int a[][] = new int[n][m];\n\t int b[] = new int[m];\n\t \n\t for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }\n\t \n\t for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }\n\t \n\t for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }", "{\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }", "for (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}", "{\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t \tb[i] = sc.nextInt();\n\t }", "{\n\t \tb[i] = sc.nextInt();\n\t }", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }", "{\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }", "int total = 0;", "total", "0", "for (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}", "{\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}", "total += a[i][j] * b[j]", "total", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "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\t\tScanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t int m = sc.nextInt();\n\t int a[][] = new int[n][m];\n\t int b[] = new int[m];\n\t \n\t for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }\n\t \n\t for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }\n\t \n\t for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t int m = sc.nextInt();\n\t int a[][] = new int[n][m];\n\t int b[] = new int[m];\n\t \n\t for (int i = 0; i < n; i++){\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ta[i][j] = sc.nextInt();\n\t \t}\n\t }\n\t \n\t for (int i = 0; i < m; i++){\n\t \tb[i] = sc.nextInt();\n\t }\n\t \n\t for (int i = 0; i < n; i++){\n\t\t int total = 0;\n\t \tfor (int j = 0; j < m; j++){\n\t \t\ttotal += a[i][j] * b[j];\n\t \t}\n\t \tSystem.out.println(total);\n\t }\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 m = sc.nextInt(); int a[][] = new int[n][m]; int b[] = new int[m]; for (int i = 0; i < n; i++){ for (int j = 0; j < m; j++){ a[i][j] = sc.nextInt(); } } for (int i = 0; i < m; i++){ b[i] = sc.nextInt(); } for (int i = 0; i < n; i++){ int total = 0; for (int j = 0; j < m; j++){ total += a[i][j] * b[j]; } System.out.println(total); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 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 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 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 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 60, 65 ], [ 57, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 8, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 117, 128 ], [ 129, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 133, 144 ], [ 145, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 154, 155 ], [ 154, 156 ], [ 129, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 6, 163 ], [ 163, 164 ] ]
[ "import java.io.*;\n\nclass Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n\n int[][] a = new int[n][m];\n int[] b = new int[m];\n\n for(int i = 0; i < n; i++)\n {\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }\n \n for(int k = 0; k < m; k++)\n {\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }\n \n for(int i = 0; i < n; i++)\n {\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main\n{\n public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n\n int[][] a = new int[n][m];\n int[] b = new int[m];\n\n for(int i = 0; i < n; i++)\n {\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }\n \n for(int k = 0; k < m; k++)\n {\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }\n \n for(int i = 0; i < n; i++)\n {\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }\n }\n}", "Main", "public static void main (String[ ] args) throws Exception\n {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n\n int[][] a = new int[n][m];\n int[] b = new int[m];\n\n for(int i = 0; i < n; i++)\n {\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }\n \n for(int k = 0; k < m; k++)\n {\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }\n \n for(int i = 0; i < n; i++)\n {\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n \n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n\n int[][] a = new int[n][m];\n int[] b = new int[m];\n\n for(int i = 0; i < n; i++)\n {\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }\n \n for(int k = 0; k < m; k++)\n {\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }\n \n for(int i = 0; i < n; i++)\n {\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String str[] = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(str[0]);", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int m = Integer.parseInt(str[1]);", "m", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "for(int i = 0; i < n; i++)\n {\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }", "{\n String str2[] = br.readLine().split(\" \");\n for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }\n }", "String str2[] = br.readLine().split(\" \");", "str2", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < m; j++)\n {\n a[i][j] = Integer.parseInt(str2[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = Integer.parseInt(str2[j]);\n }", "{\n a[i][j] = Integer.parseInt(str2[j]);\n }", "a[i][j] = Integer.parseInt(str2[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(str2[j])", "Integer.parseInt", "Integer", "str2[j]", "str2", "j", "for(int k = 0; k < m; k++)\n {\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }", "{\n String str3 = br.readLine();\n b[k] = Integer.parseInt(str3);\n }", "String str3 = br.readLine();", "str3", "br.readLine()", "br.readLine", "br", "b[k] = Integer.parseInt(str3)", "b[k]", "b", "k", "Integer.parseInt(str3)", "Integer.parseInt", "Integer", "str3", "for(int i = 0; i < n; i++)\n {\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }", "{\n int ans = 0;\n for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }\n System.out.println(ans);\n }", "int ans = 0;", "ans", "0", "for(int j = 0; j < m; j++)\n {\n ans += a[i][j] * b[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n ans += a[i][j] * b[j];\n }", "{\n ans += a[i][j] * b[j];\n }", "ans += a[i][j] * b[j]", "ans", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "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().split(" "); int n = Integer.parseInt(str[0]); int m = Integer.parseInt(str[1]); int[][] a = new int[n][m]; int[] b = new int[m]; for(int i = 0; i < n; i++) { String str2[] = br.readLine().split(" "); for(int j = 0; j < m; j++) { a[i][j] = Integer.parseInt(str2[j]); } } for(int k = 0; k < m; k++) { String str3 = br.readLine(); b[k] = Integer.parseInt(str3); } for(int i = 0; i < n; i++) { int ans = 0; for(int j = 0; j < m; j++) { ans += a[i][j] * b[j]; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 20, 13, 0, 13, 20, 13, 0, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 179, 5 ], [ 179, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 86, 87 ], [ 87, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 89, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 109, 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 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 135, 136 ], [ 136, 137 ], [ 127, 138 ], [ 139, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 142, 148 ], [ 148, 149 ], [ 148, 150 ], [ 123, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 8, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 156, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 6, 176 ], [ 176, 177 ], [ 0, 178 ], [ 178, 179 ], [ 178, 180 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n int inN, inM;\n int[] vec;\n int[][] mat;\n int[] ans;\n Scanner scan = new Scanner(System.in);\n\n inN = Integer.parseInt(scan.next());\n inM = Integer.parseInt(scan.next());\n\n vec = new int[inM];\n ans = new int[inN];\n mat = new int[inN][inM];\n\n for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }\n for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());\n\n for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }\n\n for (int i = 0; i < inN; i++) System.out.println(ans[i]);\n\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n int inN, inM;\n int[] vec;\n int[][] mat;\n int[] ans;\n Scanner scan = new Scanner(System.in);\n\n inN = Integer.parseInt(scan.next());\n inM = Integer.parseInt(scan.next());\n\n vec = new int[inM];\n ans = new int[inN];\n mat = new int[inN][inM];\n\n for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }\n for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());\n\n for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }\n\n for (int i = 0; i < inN; i++) System.out.println(ans[i]);\n\n }\n}", "Main", "public static void main(String[] args) {\n int inN, inM;\n int[] vec;\n int[][] mat;\n int[] ans;\n Scanner scan = new Scanner(System.in);\n\n inN = Integer.parseInt(scan.next());\n inM = Integer.parseInt(scan.next());\n\n vec = new int[inM];\n ans = new int[inN];\n mat = new int[inN][inM];\n\n for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }\n for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());\n\n for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }\n\n for (int i = 0; i < inN; i++) System.out.println(ans[i]);\n\n }", "main", "{\n int inN, inM;\n int[] vec;\n int[][] mat;\n int[] ans;\n Scanner scan = new Scanner(System.in);\n\n inN = Integer.parseInt(scan.next());\n inM = Integer.parseInt(scan.next());\n\n vec = new int[inM];\n ans = new int[inN];\n mat = new int[inN][inM];\n\n for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }\n for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());\n\n for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }\n\n for (int i = 0; i < inN; i++) System.out.println(ans[i]);\n\n }", "int inN", "inN", "inM;", "inM", "int[] vec;", "vec", "int[][] mat;", "mat", "int[] ans;", "ans", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "inN = Integer.parseInt(scan.next())", "inN", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "inM = Integer.parseInt(scan.next())", "inM", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "vec = new int[inM]", "vec", "new int[inM]", "inM", "ans = new int[inN]", "ans", "new int[inN]", "inN", "mat = new int[inN][inM]", "mat", "new int[inN][inM]", "inN", "inM", "for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < inN", "i", "inN", "i++", "i++", "i", "{\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }", "{\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }", "for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }", "int j = 0;", "int j = 0;", "j", "0", "j < inM", "j", "inM", "j++", "j++", "j", "{\n mat[i][j] = Integer.parseInt(scan.next());\n }", "{\n mat[i][j] = Integer.parseInt(scan.next());\n }", "mat[i][j] = Integer.parseInt(scan.next())", "mat[i][j]", "mat[i]", "mat", "i", "j", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());", "int i = 0;", "int i = 0;", "i", "0", "i < inM", "i", "inM", "i++", "i++", "i", "vec[i] = Integer.parseInt(scan.next());", "vec[i] = Integer.parseInt(scan.next())", "vec[i]", "vec", "i", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < inN", "i", "inN", "i++", "i++", "i", "{\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }", "{\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }", "int sum = 0;", "sum", "0", "for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < inM", "j", "inM", "j++", "j++", "j", "{\n sum += mat[i][j] * vec[j];\n }", "{\n sum += mat[i][j] * vec[j];\n }", "sum += mat[i][j] * vec[j]", "sum", "mat[i][j] * vec[j]", "mat[i][j]", "mat[i]", "mat", "i", "j", "vec[j]", "vec", "j", "ans[i] = sum", "ans[i]", "ans", "i", "sum", "for (int i = 0; i < inN; i++) System.out.println(ans[i]);", "int i = 0;", "int i = 0;", "i", "0", "i < inN", "i", "inN", "i++", "i++", "i", "System.out.println(ans[i]);", "System.out.println(ans[i])", "System.out.println", "System.out", "System", "System.out", "ans[i]", "ans", "i", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n int inN, inM;\n int[] vec;\n int[][] mat;\n int[] ans;\n Scanner scan = new Scanner(System.in);\n\n inN = Integer.parseInt(scan.next());\n inM = Integer.parseInt(scan.next());\n\n vec = new int[inM];\n ans = new int[inN];\n mat = new int[inN][inM];\n\n for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }\n for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());\n\n for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }\n\n for (int i = 0; i < inN; i++) System.out.println(ans[i]);\n\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n int inN, inM;\n int[] vec;\n int[][] mat;\n int[] ans;\n Scanner scan = new Scanner(System.in);\n\n inN = Integer.parseInt(scan.next());\n inM = Integer.parseInt(scan.next());\n\n vec = new int[inM];\n ans = new int[inN];\n mat = new int[inN][inM];\n\n for (int i = 0; i < inN; i++) {\n for (int j = 0; j < inM; j++) {\n mat[i][j] = Integer.parseInt(scan.next());\n }\n }\n for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next());\n\n for (int i = 0; i < inN; i++) {\n int sum = 0;\n for (int j = 0; j < inM; j++) {\n sum += mat[i][j] * vec[j];\n }\n ans[i] = sum;\n }\n\n for (int i = 0; i < inN; i++) System.out.println(ans[i]);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int inN, inM; int[] vec; int[][] mat; int[] ans; Scanner scan = new Scanner(System.in); inN = Integer.parseInt(scan.next()); inM = Integer.parseInt(scan.next()); vec = new int[inM]; ans = new int[inN]; mat = new int[inN][inM]; for (int i = 0; i < inN; i++) { for (int j = 0; j < inM; j++) { mat[i][j] = Integer.parseInt(scan.next()); } } for (int i = 0; i < inM; i++) vec[i] = Integer.parseInt(scan.next()); for (int i = 0; i < inN; i++) { int sum = 0; for (int j = 0; j < inM; j++) { sum += mat[i][j] * vec[j]; } ans[i] = sum; } for (int i = 0; i < inN; i++) System.out.println(ans[i]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 159, 5 ], [ 159, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 96, 107 ], [ 108, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 117, 118 ], [ 118, 119 ], [ 109, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 132, 133 ], [ 132, 134 ], [ 8, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 135, 143 ], [ 143, 144 ], [ 144, 145 ], [ 135, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 6, 156 ], [ 156, 157 ], [ 0, 158 ], [ 158, 159 ], [ 158, 160 ] ]
[ "import java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\t\tint[] vectorC = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\t\tint[] vectorC = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\t\tint[] vectorC = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\t\tint[] vectorC = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int[][] vectorA = new int[n][m];", "vectorA", "new int[n][m]", "n", "m", "int[] vectorB = new int[m];", "vectorB", "new int[m]", "m", "int[] vectorC = new int[n];", "vectorC", "new int[n]", "n", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\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\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}", "{\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}", "int elm = scan.nextInt();", "elm", "scan.nextInt()", "scan.nextInt", "scan", "vectorA[i][j] = elm", "vectorA[i][j]", "vectorA[i]", "vectorA", "i", "j", "elm", "for(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}", "{\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}", "int elm = scan.nextInt();", "elm", "scan.nextInt()", "scan.nextInt", "scan", "vectorB[i] = elm", "vectorB[i]", "vectorB", "i", "elm", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\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\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}", "{\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}", "vectorC[i] += vectorA[i][j] * vectorB[j]", "vectorC[i]", "vectorC", "i", "vectorA[i][j] * vectorB[j]", "vectorA[i][j]", "vectorA[i]", "vectorA", "i", "j", "vectorB[j]", "vectorB", "j", "for(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}", "System.out.println(vectorC[i])", "System.out.println", "System.out", "System", "System.out", "vectorC[i]", "vectorC", "i", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\t\tint[] vectorC = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\t\tint[] vectorC = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\n\t\t\t\t//if(j == m -1){\n\t\t\t\t\t//String ent = scan.next();\n\t\t\t\t//}\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tint elm = scan.nextInt();\n\t\t\tvectorB[i] = elm;\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tvectorC[i] += vectorA[i][j] * vectorB[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tSystem.out.println(vectorC[i]);\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int[][] vectorA = new int[n][m]; int[] vectorB = new int[m]; int[] vectorC = new int[n]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ int elm = scan.nextInt(); vectorA[i][j] = elm; //if(j == m -1){ //String ent = scan.next(); //} } } for(int i = 0; i < m; i++){ int elm = scan.nextInt(); vectorB[i] = elm; } for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ vectorC[i] += vectorA[i][j] * vectorB[j]; } } for(int i = 0; i < n; i++){ System.out.println(vectorC[i]); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 141, 5 ], [ 141, 6 ], [ 6, 7 ], [ 6, 8 ], [ 141, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 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 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 11, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 11, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 129, 135 ], [ 135, 136 ], [ 135, 137 ], [ 9, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "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 m = scan.nextInt();\n\t\tint[] b = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] c = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}\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 m = scan.nextInt();\n\t\tint[] b = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] c = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}\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 m = scan.nextInt();\n\t\tint[] b = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] c = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}\n\t}", "main", "{\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[] b = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] c = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}\n\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int[] b = new int[m];", "b", "new int[m]", "m", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] c = new int[n];", "c", "new int[n]", "n", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\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\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}", "A[i][j] = scan.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i] = scan.nextInt();\n\t\t}", "{\n\t\t\tb[i] = scan.nextInt();\n\t\t}", "b[i] = scan.nextInt()", "b[i]", "b", "i", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "c[i] += A[i][j] * b[j]", "c[i]", "c", "i", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.printf(\"%d\\n\", c[i])", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "c[i]", "c", "i", "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 m = scan.nextInt();\n\t\tint[] b = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] c = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}\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 m = scan.nextInt();\n\t\tint[] b = new int[m];\n\t\tint[][] A = new int[n][m];\n\t\tint[] c = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tb[i] = scan.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.printf(\"%d\\n\", c[i]);\n\t\t}\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 m = scan.nextInt(); int[] b = new int[m]; int[][] A = new int[n][m]; int[] c = new int[n]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ A[i][j] = scan.nextInt(); } } for(int i = 0; i < m; i++){ b[i] = scan.nextInt(); } for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ c[i] += A[i][j] * b[j]; } System.out.printf("%d\n", c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 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 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 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 ], [ 66, 67 ], [ 67, 68 ], [ 64, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 114, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 152, 153 ], [ 152, 154 ], [ 128, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 6, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "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\tString[] strs = br.readLine().split(\"\\\\s+\");\n\t\tint n = Integer.parseInt(strs[0]);\n\t\tint m = Integer.parseInt(strs[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\t\n\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\tString[] strs = br.readLine().split(\"\\\\s+\");\n\t\tint n = Integer.parseInt(strs[0]);\n\t\tint m = Integer.parseInt(strs[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\t\n\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\tString[] strs = br.readLine().split(\"\\\\s+\");\n\t\tint n = Integer.parseInt(strs[0]);\n\t\tint m = Integer.parseInt(strs[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] strs = br.readLine().split(\"\\\\s+\");\n\t\tint n = Integer.parseInt(strs[0]);\n\t\tint m = Integer.parseInt(strs[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\t\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] strs = br.readLine().split(\"\\\\s+\");", "strs", "br.readLine().split(\"\\\\s+\")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\"\\\\s+\"", "int n = Integer.parseInt(strs[0]);", "n", "Integer.parseInt(strs[0])", "Integer.parseInt", "Integer", "strs[0]", "strs", "0", "int m = Integer.parseInt(strs[1]);", "m", "Integer.parseInt(strs[1])", "Integer.parseInt", "Integer", "strs[1]", "strs", "1", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "int[] c = new int[n];", "c", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}", "{\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}", "strs = br.readLine().split(\"\\\\s+\")", "strs", "br.readLine().split(\"\\\\s+\")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\"\\\\s+\"", "for (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "A[i][j] = Integer.parseInt(strs[j]);", "A[i][j] = Integer.parseInt(strs[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(strs[j])", "Integer.parseInt", "Integer", "strs[j]", "strs", "j", "for (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "b[i] = Integer.parseInt(br.readLine());", "b[i] = Integer.parseInt(br.readLine())", "b[i]", "b", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}", "c[i] += A[i][j] * b[j]", "c[i]", "c", "i", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "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\tString[] strs = br.readLine().split(\"\\\\s+\");\n\t\tint n = Integer.parseInt(strs[0]);\n\t\tint m = Integer.parseInt(strs[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\t\n\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\tString[] strs = br.readLine().split(\"\\\\s+\");\n\t\tint n = Integer.parseInt(strs[0]);\n\t\tint m = Integer.parseInt(strs[1]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] c = new int[n];\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tstrs = br.readLine().split(\"\\\\s+\");\n\t\t\tfor (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine());\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tc[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t\t\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)); String[] strs = br.readLine().split("\\s+"); int n = Integer.parseInt(strs[0]); int m = Integer.parseInt(strs[1]); int[][] A = new int[n][m]; int[] b = new int[m]; int[] c = new int[n]; for (int i = 0; i < n; i++) { strs = br.readLine().split("\\s+"); for (int j = 0; j < m; j++) A[i][j] = Integer.parseInt(strs[j]); } for (int i = 0; i < m; i++) b[i] = Integer.parseInt(br.readLine()); for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { c[i] += A[i][j] * b[j]; } System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 142, 5 ], [ 142, 6 ], [ 6, 7 ], [ 142, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 10, 24 ], [ 24, 25 ], [ 24, 26 ], [ 10, 29 ], [ 29, 30 ], [ 29, 31 ], [ 10, 33 ], [ 33, 34 ], [ 33, 35 ], [ 10, 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 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 10, 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 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 10, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 127, 129 ], [ 103, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 103, 136 ], [ 136, 137 ], [ 136, 138 ], [ 8, 139 ], [ 139, 140 ], [ 0, 141 ], [ 141, 142 ], [ 141, 143 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][]=new int[n][m];\n\t\tint b[]=new int[m];\n\t\tint c=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][]=new int[n][m];\n\t\tint b[]=new int[m];\n\t\tint c=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}\n\t}\n}", "Main", "private static Scanner sc;", "sc", "public static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][]=new int[n][m];\n\t\tint b[]=new int[m];\n\t\tint c=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}\n\t}", "main", "{\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][]=new int[n][m];\n\t\tint b[]=new int[m];\n\t\tint c=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}\n\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int a[][]=new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[]=new int[m];", "b", "new int[m]", "m", "int c=0;", "c", "0", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\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\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}", "a[i][j]=sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i]=sc.nextInt();\n\t\t}", "{\n\t\t\tb[i]=sc.nextInt();\n\t\t}", "b[i]=sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}", "for(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}", "{\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}", "c=c+a[i][j]*b[j]", "c", "c+a[i][j]*b[j]", "c", "a[i][j]*b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "c=0", "c", "0", "String[] args", "args", "public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][]=new int[n][m];\n\t\tint b[]=new int[m];\n\t\tint c=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}\n\t}\n}", "public class Main {\n\n\tprivate static Scanner sc;\n\n\tpublic static void main(String[] args){\n\t\tsc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][]=new int[n][m];\n\t\tint b[]=new int[m];\n\t\tint c=0;\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=sc.nextInt();\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc=c+a[i][j]*b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t\tc=0;\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { private static Scanner sc; public static void main(String[] args){ sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[][]=new int[n][m]; int b[]=new int[m]; int c=0; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ a[i][j]=sc.nextInt(); } } for(int i=0;i<m;i++){ b[i]=sc.nextInt(); } for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ c=c+a[i][j]*b[j]; } System.out.println(c); c=0; } } }
[ 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 52, 57 ], [ 49, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 80, 81 ], [ 80, 82 ], [ 11, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 91, 92 ], [ 92, 93 ], [ 83, 94 ], [ 95, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 103, 104 ], [ 104, 105 ], [ 11, 106 ], [ 106, 107 ], [ 106, 108 ], [ 11, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 117, 118 ], [ 118, 119 ], [ 109, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 127, 128 ], [ 127, 129 ], [ 122, 130 ], [ 130, 131 ], [ 131, 132 ], [ 122, 133 ], [ 134, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 143, 145 ], [ 121, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 121, 152 ], [ 152, 153 ], [ 152, 154 ], [ 9, 155 ], [ 155, 156 ] ]
[ "import java.util.*;\nimport java.io.*;\n\nclass Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n int numRow = scanner.nextInt();\n int numColumn = scanner.nextInt();\n scanner.nextLine(); // expecting line break\n int[][] determinantA = new int[numRow][numColumn];\n int[] determinantB = new int[numColumn];\n for (int i = 0; i < numRow; i++) {\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }\n for (int i = 0; i < numColumn; i++) {\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }\n int ans = 0;\n for (int y = 0; y < numRow; y++) {\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n int numRow = scanner.nextInt();\n int numColumn = scanner.nextInt();\n scanner.nextLine(); // expecting line break\n int[][] determinantA = new int[numRow][numColumn];\n int[] determinantB = new int[numColumn];\n for (int i = 0; i < numRow; i++) {\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }\n for (int i = 0; i < numColumn; i++) {\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }\n int ans = 0;\n for (int y = 0; y < numRow; y++) {\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }\n }\n}", "Main", "public static void main(String args[]) {\n Scanner scanner = new Scanner(System.in);\n int numRow = scanner.nextInt();\n int numColumn = scanner.nextInt();\n scanner.nextLine(); // expecting line break\n int[][] determinantA = new int[numRow][numColumn];\n int[] determinantB = new int[numColumn];\n for (int i = 0; i < numRow; i++) {\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }\n for (int i = 0; i < numColumn; i++) {\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }\n int ans = 0;\n for (int y = 0; y < numRow; y++) {\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int numRow = scanner.nextInt();\n int numColumn = scanner.nextInt();\n scanner.nextLine(); // expecting line break\n int[][] determinantA = new int[numRow][numColumn];\n int[] determinantB = new int[numColumn];\n for (int i = 0; i < numRow; i++) {\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }\n for (int i = 0; i < numColumn; i++) {\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }\n int ans = 0;\n for (int y = 0; y < numRow; y++) {\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int numRow = scanner.nextInt();", "numRow", "scanner.nextInt()", "scanner.nextInt", "scanner", "int numColumn = scanner.nextInt();", "numColumn", "scanner.nextInt()", "scanner.nextInt", "scanner", "scanner.nextLine()", "scanner.nextLine", "scanner", "int[][] determinantA = new int[numRow][numColumn];", "determinantA", "new int[numRow][numColumn]", "numRow", "numColumn", "int[] determinantB = new int[numColumn];", "determinantB", "new int[numColumn]", "numColumn", "for (int i = 0; i < numRow; i++) {\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < numRow", "i", "numRow", "i++", "i++", "i", "{\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }", "{\n String[] rowElementsInString = scanner.nextLine().split(\" \");\n for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }\n }", "String[] rowElementsInString = scanner.nextLine().split(\" \");", "rowElementsInString", "scanner.nextLine().split(\" \")", "scanner.nextLine().split", "scanner.nextLine()", "scanner.nextLine", "scanner", "\" \"", "for (int j = 0; j < numColumn; j++) {\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }", "int j = 0;", "int j = 0;", "j", "0", "j < numColumn", "j", "numColumn", "j++", "j++", "j", "{\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }", "{\n determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); \n }", "determinantA[i][j] = Integer.parseInt(rowElementsInString[j])", "determinantA[i][j]", "determinantA[i]", "determinantA", "i", "j", "Integer.parseInt(rowElementsInString[j])", "Integer.parseInt", "Integer", "rowElementsInString[j]", "rowElementsInString", "j", "for (int i = 0; i < numColumn; i++) {\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < numColumn", "i", "numColumn", "i++", "i++", "i", "{\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }", "{\n determinantB[i] = Integer.parseInt(scanner.nextLine());\n }", "determinantB[i] = Integer.parseInt(scanner.nextLine())", "determinantB[i]", "determinantB", "i", "Integer.parseInt(scanner.nextLine())", "Integer.parseInt", "Integer", "scanner.nextLine()", "scanner.nextLine", "scanner", "int ans = 0;", "ans", "0", "for (int y = 0; y < numRow; y++) {\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }", "int y = 0;", "int y = 0;", "y", "0", "y < numRow", "y", "numRow", "y++", "y++", "y", "{\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }", "{\n for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }\n System.out.println(ans);\n ans = 0;\n }", "for (int x = 0; x < numColumn; x++) {\n ans += determinantA[y][x] * determinantB[x];\n }", "int x = 0;", "int x = 0;", "x", "0", "x < numColumn", "x", "numColumn", "x++", "x++", "x", "{\n ans += determinantA[y][x] * determinantB[x];\n }", "{\n ans += determinantA[y][x] * determinantB[x];\n }", "ans += determinantA[y][x] * determinantB[x]", "ans", "determinantA[y][x] * determinantB[x]", "determinantA[y][x]", "determinantA[y]", "determinantA", "y", "x", "determinantB[x]", "determinantB", "x", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "ans = 0", "ans", "0", "String args[]", "args" ]
import java.util.*; import java.io.*; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int numRow = scanner.nextInt(); int numColumn = scanner.nextInt(); scanner.nextLine(); // expecting line break int[][] determinantA = new int[numRow][numColumn]; int[] determinantB = new int[numColumn]; for (int i = 0; i < numRow; i++) { String[] rowElementsInString = scanner.nextLine().split(" "); for (int j = 0; j < numColumn; j++) { determinantA[i][j] = Integer.parseInt(rowElementsInString[j]); } } for (int i = 0; i < numColumn; i++) { determinantB[i] = Integer.parseInt(scanner.nextLine()); } int ans = 0; for (int y = 0; y < numRow; y++) { for (int x = 0; x < numColumn; x++) { ans += determinantA[y][x] * determinantB[x]; } System.out.println(ans); ans = 0; } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 135, 5 ], [ 135, 6 ], [ 6, 7 ], [ 6, 8 ], [ 135, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 135, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 135, 19 ], [ 19, 20 ], [ 19, 21 ], [ 135, 24 ], [ 24, 25 ], [ 24, 26 ], [ 135, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 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 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 30, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 30, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 123, 125 ], [ 98, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 28, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main {\n static Scanner sc = new Scanner(System.in);\n static int n = sc.nextInt();\n static int m = sc.nextInt();\n static int nm[][] = new int[n][m];\n static int ab[] = new int[m];\n\n public static void main(String[] args) {\n for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static int n = sc.nextInt();\n static int m = sc.nextInt();\n static int nm[][] = new int[n][m];\n static int ab[] = new int[m];\n\n public static void main(String[] args) {\n for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }\n }\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "static int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "static int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "static int nm[][] = new int[n][m];", "nm", "new int[n][m]", "n", "m", "static int ab[] = new int[m];", "ab", "new int[m]", "m", "public static void main(String[] args) {\n for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }\n }", "main", "{\n for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }\n }", "for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n nm[i][j] = sc.nextInt();\n }", "{\n nm[i][j] = sc.nextInt();\n }", "nm[i][j] = sc.nextInt()", "nm[i][j]", "nm[i]", "nm", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n ab[i] = sc.nextInt();\n }", "{\n ab[i] = sc.nextInt();\n }", "ab[i] = sc.nextInt()", "ab[i]", "ab", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }", "{\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }", "int result = 0;", "result", "0", "for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n result += nm[i][j] * ab[j];\n }", "{\n result += nm[i][j] * ab[j];\n }", "result += nm[i][j] * ab[j]", "result", "nm[i][j] * ab[j]", "nm[i][j]", "nm[i]", "nm", "i", "j", "ab[j]", "ab", "j", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static int n = sc.nextInt();\n static int m = sc.nextInt();\n static int nm[][] = new int[n][m];\n static int ab[] = new int[m];\n\n public static void main(String[] args) {\n for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }\n }\n}", "public class Main {\n static Scanner sc = new Scanner(System.in);\n static int n = sc.nextInt();\n static int m = sc.nextInt();\n static int nm[][] = new int[n][m];\n static int ab[] = new int[m];\n\n public static void main(String[] args) {\n for (int i = 0; i < n; i++){\n for (int j = 0; j < m; j++){\n nm[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++){\n ab[i] = sc.nextInt();\n }\n for (int i = 0; i < n; i++){\n int result = 0;\n for (int j = 0; j < m; j++){\n result += nm[i][j] * ab[j];\n }\n System.out.println(result);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { static Scanner sc = new Scanner(System.in); static int n = sc.nextInt(); static int m = sc.nextInt(); static int nm[][] = new int[n][m]; static int ab[] = new int[m]; public static void main(String[] args) { for (int i = 0; i < n; i++){ for (int j = 0; j < m; j++){ nm[i][j] = sc.nextInt(); } } for (int i = 0; i < m; i++){ ab[i] = sc.nextInt(); } for (int i = 0; i < n; i++){ int result = 0; for (int j = 0; j < m; j++){ result += nm[i][j] * ab[j]; } System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 143, 5 ], [ 143, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 71, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 106, 114 ], [ 114, 115 ], [ 115, 116 ], [ 106, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 105, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int ans[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int ans[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int ans[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int ans[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int ans[] = new int[n];", "ans", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }", "for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = Integer.valueOf(sc.next());\n }", "{\n a[i][j] = Integer.valueOf(sc.next());\n }", "a[i][j] = Integer.valueOf(sc.next())", "a[i][j]", "a[i]", "a", "i", "j", "Integer.valueOf(sc.next())", "Integer.valueOf", "Integer", "sc.next()", "sc.next", "sc", "for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n b[i] = sc.nextInt();\n }", "{\n b[i] = sc.nextInt();\n }", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }", "{\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }", "for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n ans[i] += a[i][j] * b[j];\n }", "{\n ans[i] += a[i][j] * b[j];\n }", "ans[i] += a[i][j] * b[j]", "ans[i]", "ans", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(ans[i])", "System.out.println", "System.out", "System", "System.out", "ans[i]", "ans", "i", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int ans[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }\n \n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n\n int a[][] = new int[n][m];\n int b[] = new int[m];\n int ans[] = new int[n];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = Integer.valueOf(sc.next());\n }\n }\n for (int i = 0; i < m; i++) {\n b[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n ans[i] += a[i][j] * b[j];\n }\n System.out.println(ans[i]);\n }\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[][] = new int[n][m]; int b[] = new int[m]; int ans[] = new int[n]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { a[i][j] = Integer.valueOf(sc.next()); } } for (int i = 0; i < m; i++) { b[i] = sc.nextInt(); } for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { ans[i] += a[i][j] * b[j]; } System.out.println(ans[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 8, 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 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 125, 127 ], [ 100, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 6, 134 ], [ 134, 135 ], [ 0, 136 ], [ 136, 137 ], [ 136, 138 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint b[] = new int[M];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tint ans;\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint b[] = new int[M];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tint ans;\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint b[] = new int[M];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tint ans;\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint b[] = new int[M];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tint ans;\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int M = sc.nextInt();", "M", "sc.nextInt()", "sc.nextInt", "sc", "int A[][] = new int[N][M];", "A", "new int[N][M]", "N", "M", "int b[] = new int[M];", "b", "new int[M]", "M", "for (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\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\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < M", "j", "M", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}", "A[i][j] = sc.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < M", "i", "M", "i++", "i++", "i", "{\n\t\t\tb[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tb[i] = sc.nextInt();\n\t\t}", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "int ans;", "ans", "for (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "{\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "ans = 0", "ans", "0", "for (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < M", "j", "M", "j++", "j++", "j", "{\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}", "{\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}", "ans += (A[i][j] * b[j])", "ans", "(A[i][j] * b[j])", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint b[] = new int[M];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tint ans;\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = sc.nextInt();\n\t\tint M = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint b[] = new int[M];\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < M; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tint ans;\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tans = 0;\n\t\t\tfor (int j = 0; j < M; j++) {\n\t\t\t\tans += (A[i][j] * b[j]);\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int A[][] = new int[N][M]; int b[] = new int[M]; for (int i = 0; i < N; i++) { for (int j = 0; j < M; j++) { A[i][j] = sc.nextInt(); } } for (int i = 0; i < M; i++) { b[i] = sc.nextInt(); } int ans; for (int i = 0; i < N; i++) { ans = 0; for (int j = 0; j < M; j++) { ans += (A[i][j] * b[j]); } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 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 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 8, 92 ], [ 92, 93 ], [ 92, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 95, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 107, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 107, 138 ], [ 138, 139 ], [ 138, 140 ], [ 6, 141 ], [ 141, 142 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }\n for(int j=0; j<m; j++){\n int ob = sc.nextInt();\n b[j] = ob;\n }\n int sum = 0;\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\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 \n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }\n for(int j=0; j<m; j++){\n int ob = sc.nextInt();\n b[j] = ob;\n }\n int sum = 0;\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }\n for(int j=0; j<m; j++){\n int ob = sc.nextInt();\n b[j] = ob;\n }\n int sum = 0;\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int[][] a = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }\n for(int j=0; j<m; j++){\n int ob = sc.nextInt();\n b[j] = ob;\n }\n int sum = 0;\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }", "{\n for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }\n }", "for(int j=0; j<m; j++){\n int oa = sc.nextInt();\n a[i][j] = oa; \n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n int oa = sc.nextInt();\n a[i][j] = oa; \n }", "{\n int oa = sc.nextInt();\n a[i][j] = oa; \n }", "int oa = sc.nextInt();", "oa", "sc.nextInt()", "sc.nextInt", "sc", "a[i][j] = oa", "a[i][j]", "a[i]", "a", "i", "j", "oa", "for(int j=0; j<m; j++){\n int ob = sc.nextInt();\n b[j] = ob;\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n int ob = sc.nextInt();\n b[j] = ob;\n }", "{\n int ob = sc.nextInt();\n b[j] = ob;\n }", "int ob = sc.nextInt();", "ob", "sc.nextInt()", "sc.nextInt", "sc", "b[j] = ob", "b[j]", "b", "j", "ob", "int sum = 0;", "sum", "0", "for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\n }", "{\n for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }\n System.out.println(sum);\n sum = 0;\n }", "for(int j=0; j<m; j++){\n sum += a[i][j]*b[j];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n sum += a[i][j]*b[j];\n }", "{\n sum += a[i][j]*b[j];\n }", "sum += a[i][j]*b[j]", "sum", "a[i][j]*b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "sum = 0", "sum", "0", "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 m = sc.nextInt(); int[][] a = new int[n][m]; int[] b = new int[m]; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ int oa = sc.nextInt(); a[i][j] = oa; } } for(int j=0; j<m; j++){ int ob = sc.nextInt(); b[j] = ob; } int sum = 0; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ sum += a[i][j]*b[j]; } System.out.println(sum); sum = 0; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 41, 13, 41, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 141, 5 ], [ 141, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 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 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 104, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 6, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int i,j,c;\n \n for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }\n \n for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }\n \n for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }\n }\n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int i,j,c;\n \n for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }\n \n for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }\n \n for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int i,j,c;\n \n for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }\n \n for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }\n \n for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int i,j,c;\n \n for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }\n \n for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }\n \n for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int A[][] = new int[n][m];", "A", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int i", "i", "j", "j", "c;", "c", "for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }", "{\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }", "for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n A[i][j] = sc.nextInt();\n }", "{\n A[i][j] = sc.nextInt();\n }", "A[i][j] = sc.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n b[j] = sc.nextInt();\n }", "{\n b[j] = sc.nextInt();\n }", "b[j] = sc.nextInt()", "b[j]", "b", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }", "{\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }", "c = 0", "c", "0", "for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n c += ( A[i][j] * b[j] );\n }", "{\n c += ( A[i][j] * b[j] );\n }", "c += ( A[i][j] * b[j] )", "c", "( A[i][j] * b[j] )", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int i,j,c;\n \n for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }\n \n for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }\n \n for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }\n }\n}", "public class Main {\n\tpublic static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int A[][] = new int[n][m];\n int b[] = new int[m];\n int i,j,c;\n \n for(i=0; i<n; i++){\n for(j=0; j<m; j++){\n A[i][j] = sc.nextInt();\n }\n }\n \n for(j=0; j<m; j++){\n b[j] = sc.nextInt();\n }\n \n for(i=0; i<n; i++){\n c = 0;\n for(j=0; j<m; j++){\n c += ( A[i][j] * b[j] );\n }\n System.out.println(c);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int A[][] = new int[n][m]; int b[] = new int[m]; int i,j,c; for(i=0; i<n; i++){ for(j=0; j<m; j++){ A[i][j] = sc.nextInt(); } } for(j=0; j<m; j++){ b[j] = sc.nextInt(); } for(i=0; i<n; i++){ c = 0; for(j=0; j<m; j++){ c += ( A[i][j] * b[j] ); } System.out.println(c); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 169, 11 ], [ 169, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 66, 71 ], [ 63, 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 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 120, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 157, 159 ], [ 132, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 12, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] num = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(num[0]);\n\t\tint m = Integer.parseInt(num[1]);\n\t\tInteger[][] list = new Integer[n][m];\n\t\tInteger[] multipler = new Integer[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\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", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] num = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(num[0]);\n\t\tint m = Integer.parseInt(num[1]);\n\t\tInteger[][] list = new Integer[n][m];\n\t\tInteger[] multipler = new Integer[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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\tString[] num = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(num[0]);\n\t\tint m = Integer.parseInt(num[1]);\n\t\tInteger[][] list = new Integer[n][m];\n\t\tInteger[] multipler = new Integer[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] num = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(num[0]);\n\t\tint m = Integer.parseInt(num[1]);\n\t\tInteger[][] list = new Integer[n][m];\n\t\tInteger[] multipler = new Integer[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] num = br.readLine().split(\" \");", "num", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(num[0]);", "n", "Integer.parseInt(num[0])", "Integer.parseInt", "Integer", "num[0]", "num", "0", "int m = Integer.parseInt(num[1]);", "m", "Integer.parseInt(num[1])", "Integer.parseInt", "Integer", "num[1]", "num", "1", "Integer[][] list = new Integer[n][m];", "list", "new Integer[n][m]", "n", "m", "Integer[] multipler = new Integer[m];", "multipler", "new Integer[m]", "m", "for (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\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\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}", "{\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}", "list[i][j] = Integer.parseInt(str[j])", "list[i][j]", "list[i]", "list", "i", "j", "Integer.parseInt(str[j])", "Integer.parseInt", "Integer", "str[j]", "str", "j", "for (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}", "{\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}", "multipler[i] = Integer.parseInt(br.readLine())", "multipler[i]", "multipler", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "{\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "int sum = 0;", "sum", "0", "for (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}", "{\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}", "sum += list[i][j] * multipler[j]", "sum", "list[i][j] * multipler[j]", "list[i][j]", "list[i]", "list", "i", "j", "multipler[j]", "multipler", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] num = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(num[0]);\n\t\tint m = Integer.parseInt(num[1]);\n\t\tInteger[][] list = new Integer[n][m];\n\t\tInteger[] multipler = new Integer[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] num = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(num[0]);\n\t\tint m = Integer.parseInt(num[1]);\n\t\tInteger[][] list = new Integer[n][m];\n\t\tInteger[] multipler = new Integer[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tmultipler[i] = Integer.parseInt(br.readLine());\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tsum += list[i][j] * multipler[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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 { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] num = br.readLine().split(" "); int n = Integer.parseInt(num[0]); int m = Integer.parseInt(num[1]); Integer[][] list = new Integer[n][m]; Integer[] multipler = new Integer[m]; for (int i = 0; i < n; i++) { String[] str = br.readLine().split(" "); for (int j = 0; j < m; j++) { list[i][j] = Integer.parseInt(str[j]); } } for (int i = 0; i < m; i++) { multipler[i] = Integer.parseInt(br.readLine()); } for (int i = 0; i < n; i++) { int sum = 0; for (int j = 0; j < m; j++) { sum += list[i][j] * multipler[j]; } System.out.println(sum); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 41, 13, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 136, 5 ], [ 136, 6 ], [ 6, 7 ], [ 6, 8 ], [ 136, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 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 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 11, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 86, 93 ], [ 93, 94 ], [ 93, 95 ], [ 86, 96 ], [ 96, 97 ], [ 97, 98 ], [ 86, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 105, 107 ], [ 101, 108 ], [ 108, 109 ], [ 108, 110 ], [ 101, 111 ], [ 111, 112 ], [ 112, 113 ], [ 101, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 118, 124 ], [ 124, 125 ], [ 124, 126 ], [ 100, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 9, 133 ], [ 133, 134 ], [ 0, 135 ], [ 135, 136 ], [ 135, 137 ] ]
[ "import java.util.*;\n\npublic class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt(), m = scn.nextInt();\n int[] b = new int[m];\n int[][] a = new int[n][m];\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }\n for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt(), m = scn.nextInt();\n int[] b = new int[m];\n int[][] a = new int[n][m];\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }\n for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }\n }\n}", "Main", "private static final Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "public static void main(String[] args) {\n int n = scn.nextInt(), m = scn.nextInt();\n int[] b = new int[m];\n int[][] a = new int[n][m];\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }\n for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }\n }", "main", "{\n int n = scn.nextInt(), m = scn.nextInt();\n int[] b = new int[m];\n int[][] a = new int[n][m];\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }\n for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }\n }", "int n = scn.nextInt()", "n", "scn.nextInt()", "scn.nextInt", "scn", "m = scn.nextInt();", "m", "scn.nextInt()", "scn.nextInt", "scn", "int[] b = new int[m];", "b", "new int[m]", "m", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }", "{\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }", "for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = scn.nextInt();\n }", "{\n a[i][j] = scn.nextInt();\n }", "a[i][j] = scn.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "scn.nextInt()", "scn.nextInt", "scn", "for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n b[i] = scn.nextInt();\n }", "{\n b[i] = scn.nextInt();\n }", "b[i] = scn.nextInt()", "b[i]", "b", "i", "scn.nextInt()", "scn.nextInt", "scn", "for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }", "int i = 0, sum;", "int i = 0", "i", "0", "sum;", "sum", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }", "{\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }", "for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }", "int j = sum = 0;", "int j = sum = 0;", "j", "sum = 0", "sum", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n sum += a[i][j] * b[j];\n }", "{\n sum += a[i][j] * b[j];\n }", "sum += a[i][j] * b[j]", "sum", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt(), m = scn.nextInt();\n int[] b = new int[m];\n int[][] a = new int[n][m];\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }\n for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }\n }\n}", "public class Main {\n private static final Scanner scn = new Scanner(System.in);\n \n public static void main(String[] args) {\n int n = scn.nextInt(), m = scn.nextInt();\n int[] b = new int[m];\n int[][] a = new int[n][m];\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < m; j++) {\n a[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < m; i++) {\n b[i] = scn.nextInt();\n }\n for(int i = 0, sum; i < n; i++) {\n for(int j = sum = 0; j < m; j++) {\n sum += a[i][j] * b[j];\n }\n System.out.println(sum);\n }\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner scn = new Scanner(System.in); public static void main(String[] args) { int n = scn.nextInt(), m = scn.nextInt(); int[] b = new int[m]; int[][] a = new int[n][m]; for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { a[i][j] = scn.nextInt(); } } for(int i = 0; i < m; i++) { b[i] = scn.nextInt(); } for(int i = 0, sum; i < n; i++) { for(int j = sum = 0; j < m; j++) { sum += a[i][j] * b[j]; } System.out.println(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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 141, 5 ], [ 141, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 104, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 6, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint line = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\t// ???????????????????´?????????????\n\t\tint[][] matrix = new int[line][column];\n\t\t// ????????????????????????????´?????????????\n\t\tint[] vector = new int[column];\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint line = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\t// ???????????????????´?????????????\n\t\tint[][] matrix = new int[line][column];\n\t\t// ????????????????????????????´?????????????\n\t\tint[] vector = new int[column];\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint line = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\t// ???????????????????´?????????????\n\t\tint[][] matrix = new int[line][column];\n\t\t// ????????????????????????????´?????????????\n\t\tint[] vector = new int[column];\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}", "main", "{\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint line = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\t// ???????????????????´?????????????\n\t\tint[][] matrix = new int[line][column];\n\t\t// ????????????????????????????´?????????????\n\t\tint[] vector = new int[column];\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int line = in.nextInt();", "line", "in.nextInt()", "in.nextInt", "in", "int column = in.nextInt();", "column", "in.nextInt()", "in.nextInt", "in", "int[][] matrix = new int[line][column];", "matrix", "new int[line][column]", "line", "column", "int[] vector = new int[column];", "vector", "new int[column]", "column", "for(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}", "int l = 0;", "int l = 0;", "l", "0", "l < line", "l", "line", "l++", "l++", "l", "{\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}", "for(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}", "int c = 0;", "int c = 0;", "c", "0", "c < column", "c", "column", "c++", "c++", "c", "{\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}", "{\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}", "int column_num = in.nextInt();", "column_num", "in.nextInt()", "in.nextInt", "in", "matrix[l][c] = column_num", "matrix[l][c]", "matrix[l]", "matrix", "l", "c", "column_num", "for(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}", "int c = 0;", "int c = 0;", "c", "0", "c < column", "c", "column", "c++", "c++", "c", "{\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}", "{\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}", "int column_num = in.nextInt();", "column_num", "in.nextInt()", "in.nextInt", "in", "vector[c] = column_num", "vector[c]", "vector", "c", "column_num", "for(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "int l = 0;", "int l = 0;", "l", "0", "l < line", "l", "line", "l++", "l++", "l", "{\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "{\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}", "int ans = 0;", "ans", "0", "for(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}", "int c = 0;", "int c = 0;", "c", "0", "c < column", "c", "column", "c++", "c++", "c", "{\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}", "{\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}", "ans += matrix[l][c] * vector[c]", "ans", "matrix[l][c] * vector[c]", "matrix[l][c]", "matrix[l]", "matrix", "l", "c", "vector[c]", "vector", "c", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint line = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\t// ???????????????????´?????????????\n\t\tint[][] matrix = new int[line][column];\n\t\t// ????????????????????????????´?????????????\n\t\tint[] vector = new int[column];\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\t\tint line = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\t// ???????????????????´?????????????\n\t\tint[][] matrix = new int[line][column];\n\t\t// ????????????????????????????´?????????????\n\t\tint[] vector = new int[column];\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tint column_num = in.nextInt();\n\t\t\t\tmatrix[l][c] = column_num;\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\tint column_num = in.nextInt();\n\t\t\tvector[c] = column_num;\n\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++) {\n\n\t\t\tint ans = 0;\n\n\t\t\tfor(int c = 0; c < column; c++) {\n\n\t\t\t\tans += matrix[l][c] * vector[c];\n\t\t\t}\n\n\t\t\tSystem.out.println(ans);\n\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int line = in.nextInt(); int column = in.nextInt(); // ???????????????????´????????????? int[][] matrix = new int[line][column]; // ????????????????????????????´????????????? int[] vector = new int[column]; for(int l = 0; l < line; l++) { for(int c = 0; c < column; c++) { int column_num = in.nextInt(); matrix[l][c] = column_num; } } for(int c = 0; c < column; c++) { int column_num = in.nextInt(); vector[c] = column_num; } for(int l = 0; l < line; l++) { int ans = 0; for(int c = 0; c < column; c++) { ans += matrix[l][c] * vector[c]; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 17, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 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 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 66, 71 ], [ 63, 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 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 11, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 11, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 120, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 133, 144 ], [ 145, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 154, 155 ], [ 154, 156 ], [ 132, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 132, 163 ], [ 163, 164 ], [ 163, 165 ], [ 9, 166 ], [ 166, 167 ] ]
[ "import java.util.*;\nimport java.io.*;\n\nclass Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ss = br.readLine().split(\" \");\n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int[][] num1 = new int[n][m];\n int[] num2 = new int[m];\n int a=0;\n\n for(int i=0; i<n; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }\n for(int i=0; i<m; i++){\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }\n for(int i=0; i<n; i++){\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "class Main{\n public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ss = br.readLine().split(\" \");\n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int[][] num1 = new int[n][m];\n int[] num2 = new int[m];\n int a=0;\n\n for(int i=0; i<n; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }\n for(int i=0; i<m; i++){\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }\n for(int i=0; i<n; i++){\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }\n }\n}", "Main", "public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ss = br.readLine().split(\" \");\n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int[][] num1 = new int[n][m];\n int[] num2 = new int[m];\n int a=0;\n\n for(int i=0; i<n; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }\n for(int i=0; i<m; i++){\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }\n for(int i=0; i<n; i++){\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ss = br.readLine().split(\" \");\n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int[][] num1 = new int[n][m];\n int[] num2 = new int[m];\n int a=0;\n\n for(int i=0; i<n; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }\n for(int i=0; i<m; i++){\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }\n for(int i=0; i<n; i++){\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] ss = br.readLine().split(\" \");", "ss", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(ss[0]);", "n", "Integer.parseInt(ss[0])", "Integer.parseInt", "Integer", "ss[0]", "ss", "0", "int m = Integer.parseInt(ss[1]);", "m", "Integer.parseInt(ss[1])", "Integer.parseInt", "Integer", "ss[1]", "ss", "1", "int[][] num1 = new int[n][m];", "num1", "new int[n][m]", "n", "m", "int[] num2 = new int[m];", "num2", "new int[m]", "m", "int a=0;", "a", "0", "for(int i=0; i<n; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }", "{\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }\n //System.out.println(\"\");\n }", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }", "{\n num1[i][j] = Integer.parseInt(str[j]);;\n \n //System.out.print(num1[i][j]);\n }", "num1[i][j] = Integer.parseInt(str[j])", "num1[i][j]", "num1[i]", "num1", "i", "j", "Integer.parseInt(str[j])", "Integer.parseInt", "Integer", "str[j]", "str", "j", "for(int i=0; i<m; i++){\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }", "{\n \tnum2[i] = Integer.parseInt(br.readLine());\n //System.out.println(num2[i]);\n }", "num2[i] = Integer.parseInt(br.readLine())", "num2[i]", "num2", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0; i<n; i++){\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }", "{\n \tfor(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}\n \tSystem.out.println(a);\n \ta=0;\n }", "for(int j=0; j<m; j++){\n \t\ta += num1[i][j] * num2[j];\n \t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n \t\ta += num1[i][j] * num2[j];\n \t}", "{\n \t\ta += num1[i][j] * num2[j];\n \t}", "a += num1[i][j] * num2[j]", "a", "num1[i][j] * num2[j]", "num1[i][j]", "num1[i]", "num1", "i", "j", "num2[j]", "num2", "j", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "a=0", "a", "0", "String args[]", "args" ]
import java.util.*; import java.io.*; class Main{ public static void main(String args[])throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] ss = br.readLine().split(" "); int n = Integer.parseInt(ss[0]); int m = Integer.parseInt(ss[1]); int[][] num1 = new int[n][m]; int[] num2 = new int[m]; int a=0; for(int i=0; i<n; i++){ String[] str = br.readLine().split(" "); for(int j=0; j<m; j++){ num1[i][j] = Integer.parseInt(str[j]);; //System.out.print(num1[i][j]); } //System.out.println(""); } for(int i=0; i<m; i++){ num2[i] = Integer.parseInt(br.readLine()); //System.out.println(num2[i]); } for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ a += num1[i][j] * num2[j]; } System.out.println(a); a=0; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 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 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 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 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 8, 88 ], [ 88, 89 ], [ 89, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 107, 118 ], [ 119, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 128, 130 ], [ 103, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 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 stdIn = new Scanner(System.in);\n\t\tint m = stdIn.nextInt();\n\t\tint n = stdIn.nextInt();\n\t\tint a[][] = new int[m][n];\n\t\tint b[] = new int[n];\n\t\tint ans;\n\t\tfor(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}\n\t\tstdIn.close();\n\t\tfor(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}\n", "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\tint m = stdIn.nextInt();\n\t\tint n = stdIn.nextInt();\n\t\tint a[][] = new int[m][n];\n\t\tint b[] = new int[n];\n\t\tint ans;\n\t\tfor(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}\n\t\tstdIn.close();\n\t\tfor(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint m = stdIn.nextInt();\n\t\tint n = stdIn.nextInt();\n\t\tint a[][] = new int[m][n];\n\t\tint b[] = new int[n];\n\t\tint ans;\n\t\tfor(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}\n\t\tstdIn.close();\n\t\tfor(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint m = stdIn.nextInt();\n\t\tint n = stdIn.nextInt();\n\t\tint a[][] = new int[m][n];\n\t\tint b[] = new int[n];\n\t\tint ans;\n\t\tfor(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}\n\t\tstdIn.close();\n\t\tfor(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int m = stdIn.nextInt();", "m", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int a[][] = new int[m][n];", "a", "new int[m][n]", "m", "n", "int b[] = new int[n];", "b", "new int[n]", "n", "int ans;", "ans", "for(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}", "a[i][j]=stdIn.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}", "int k=0;", "int k=0;", "k", "0", "k < n", "k", "n", "k++", "k++", "k", "{\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}", "{\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}", "b[k]=stdIn.nextInt()", "b[k]", "b", "k", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "stdIn.close()", "stdIn.close", "stdIn", "for(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "int x=0;", "int x=0;", "x", "0", "x < m", "x", "m", "x++", "x++", "x", "{\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "{\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "ans =0", "ans", "0", "for(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}", "int y=0;", "int y=0;", "y", "0", "y < n", "y", "n", "y++", "y++", "y", "{\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}", "{\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}", "ans+=a[x][y]*b[y]", "ans", "a[x][y]*b[y]", "a[x][y]", "a[x]", "a", "x", "y", "b[y]", "b", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint m = stdIn.nextInt();\n\t\tint n = stdIn.nextInt();\n\t\tint a[][] = new int[m][n];\n\t\tint b[] = new int[n];\n\t\tint ans;\n\t\tfor(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}\n\t\tstdIn.close();\n\t\tfor(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner stdIn = new Scanner(System.in);\n\t\tint m = stdIn.nextInt();\n\t\tint n = stdIn.nextInt();\n\t\tint a[][] = new int[m][n];\n\t\tint b[] = new int[n];\n\t\tint ans;\n\t\tfor(int i=0; i < m; i++){\n\t\t\tfor(int j=0; j < n; j++){\n\t\t\t\ta[i][j]=stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int k=0; k < n; k++){\n\t\t\tb[k]=stdIn.nextInt();\n\t\t}\n\t\tstdIn.close();\n\t\tfor(int x=0; x < m; x++){\n\t\t\tans =0;\n\t\t\tfor(int y=0; y < n; y++){\n\t\t\tans+=a[x][y]*b[y];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int m = stdIn.nextInt(); int n = stdIn.nextInt(); int a[][] = new int[m][n]; int b[] = new int[n]; int ans; for(int i=0; i < m; i++){ for(int j=0; j < n; j++){ a[i][j]=stdIn.nextInt(); } } for(int k=0; k < n; k++){ b[k]=stdIn.nextInt(); } stdIn.close(); for(int x=0; x < m; x++){ ans =0; for(int y=0; y < n; y++){ ans+=a[x][y]*b[y]; } System.out.println(ans); } } }
[ 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, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 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, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 4, 18, 13, 4, 18, 13, 30, 30, 11, 1, 41, 13, 4, 18, 4, 18, 13, 4, 18, 13, 30, 30, 0, 13, 2, 4, 18, 13, 4, 18, 13, 13, 40, 13, 0, 13, 17, 4, 18, 18, 13, 13, 13, 0, 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 ], [ 157, 17 ], [ 157, 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 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 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 ], [ 52, 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 ], [ 69, 72 ], [ 72, 73 ], [ 73, 74 ], [ 52, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 20, 79 ], [ 79, 80 ], [ 79, 81 ], [ 20, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 98, 99 ], [ 99, 100 ], [ 20, 101 ], [ 101, 102 ], [ 101, 103 ], [ 20, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 104, 111 ], [ 111, 112 ], [ 112, 113 ], [ 104, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 116, 125 ], [ 125, 126 ], [ 126, 127 ], [ 116, 128 ], [ 129, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 129, 140 ], [ 140, 141 ], [ 115, 142 ], [ 142, 143 ], [ 142, 144 ], [ 115, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 115, 151 ], [ 151, 152 ], [ 151, 153 ], [ 18, 154 ], [ 154, 155 ], [ 0, 156 ], [ 156, 157 ], [ 156, 158 ] ]
[ "import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.ListIterator;\nimport java.util.Iterator;\n\npublic class Main{\npublic static void main(String[] args){\n\nScanner sc = new Scanner(System.in);\n\nint n = sc.nextInt();\nint m = sc.nextInt();\nint sum = 0;\nArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();\n\n\nfor(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}\n\n\nArrayList<Integer> List3 = new ArrayList<Integer>();\n\nfor(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors\n\nint cnt=0;\nfor(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}\n\n}//main\n\n\n\n}//class\n", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.ListIterator;", "ListIterator", "java.util", "import java.util.Iterator;", "Iterator", "java.util", "public class Main{\npublic static void main(String[] args){\n\nScanner sc = new Scanner(System.in);\n\nint n = sc.nextInt();\nint m = sc.nextInt();\nint sum = 0;\nArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();\n\n\nfor(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}\n\n\nArrayList<Integer> List3 = new ArrayList<Integer>();\n\nfor(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors\n\nint cnt=0;\nfor(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}\n\n}//main\n\n\n\n}//class", "Main", "public static void main(String[] args){\n\nScanner sc = new Scanner(System.in);\n\nint n = sc.nextInt();\nint m = sc.nextInt();\nint sum = 0;\nArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();\n\n\nfor(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}\n\n\nArrayList<Integer> List3 = new ArrayList<Integer>();\n\nfor(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors\n\nint cnt=0;\nfor(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}\n\n}//main", "main", "{\n\nScanner sc = new Scanner(System.in);\n\nint n = sc.nextInt();\nint m = sc.nextInt();\nint sum = 0;\nArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();\n\n\nfor(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}\n\n\nArrayList<Integer> List3 = new ArrayList<Integer>();\n\nfor(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors\n\nint cnt=0;\nfor(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}\n\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int sum = 0;", "sum", "0", "ArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();", "List", "new ArrayList<ArrayList<Integer>>()", "for(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}", "{\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}", "ArrayList<Integer> List2 = new ArrayList<Integer>();", "List2", "new ArrayList<Integer>()", "for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n List2.add(sc.nextInt());\n\n }", "{\n List2.add(sc.nextInt());\n\n }", "List2.add(sc.nextInt())", "List2.add", "List2", "sc.nextInt()", "sc.nextInt", "sc", "List.add(List2)", "List.add", "List", "List2", "ArrayList<Integer> List3 = new ArrayList<Integer>();", "List3", "new ArrayList<Integer>()", "for(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n List3.add(sc.nextInt());\n\n}//Input Vectors", "{\n List3.add(sc.nextInt());\n\n}", "List3.add(sc.nextInt())", "List3.add", "List3", "sc.nextInt()", "sc.nextInt", "sc", "int cnt=0;", "cnt", "0", "for(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}", "ListIterator<ArrayList<Integer>> it = List.listIterator();", "ListIterator<ArrayList<Integer>> it = List.listIterator();", "it", "List.listIterator()", "List.listIterator", "List", "it.hasNext()", "it.hasNext", "it", "{\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}", "{\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}", "for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }", "ListIterator<Integer> itt = (it.next()).listIterator();", "ListIterator<Integer> itt = (it.next()).listIterator();", "itt", "(it.next()).listIterator()", "(it.next()).listIterator", "(it.next())", "it.next", "it", "itt.hasNext()", "itt.hasNext", "itt", "{\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }", "{\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }", "sum += (itt.next())*(List3.get(cnt))", "sum", "(itt.next())*(List3.get(cnt))", "(itt.next())", "itt.next", "itt", "(List3.get(cnt))", "List3.get", "List3", "cnt", "cnt++", "cnt", "cnt = 0", "cnt", "0", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "sum = 0", "sum", "0", "String[] args", "args", "public class Main{\npublic static void main(String[] args){\n\nScanner sc = new Scanner(System.in);\n\nint n = sc.nextInt();\nint m = sc.nextInt();\nint sum = 0;\nArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();\n\n\nfor(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}\n\n\nArrayList<Integer> List3 = new ArrayList<Integer>();\n\nfor(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors\n\nint cnt=0;\nfor(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}\n\n}//main\n\n\n\n}//class", "public class Main{\npublic static void main(String[] args){\n\nScanner sc = new Scanner(System.in);\n\nint n = sc.nextInt();\nint m = sc.nextInt();\nint sum = 0;\nArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>();\n\n\nfor(int i = 0 ; i < n ; i++){\n ArrayList<Integer> List2 = new ArrayList<Integer>();\n for(int j = 0; j < m ; j++){\n List2.add(sc.nextInt());\n\n }\nList.add(List2);\n}\n\n\nArrayList<Integer> List3 = new ArrayList<Integer>();\n\nfor(int i = 0 ; i < m ; i++){\n List3.add(sc.nextInt());\n\n}//Input Vectors\n\nint cnt=0;\nfor(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){\n for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){\n\nsum += (itt.next())*(List3.get(cnt));\ncnt++;\n }\ncnt = 0;\nSystem.out.println(sum);\nsum = 0;\n}\n\n}//main\n\n\n\n}//class", "Main" ]
import java.util.Scanner; import java.util.ArrayList; import java.util.List; import java.util.ListIterator; import java.util.Iterator; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int sum = 0; ArrayList<ArrayList<Integer>> List = new ArrayList<ArrayList<Integer>>(); for(int i = 0 ; i < n ; i++){ ArrayList<Integer> List2 = new ArrayList<Integer>(); for(int j = 0; j < m ; j++){ List2.add(sc.nextInt()); } List.add(List2); } ArrayList<Integer> List3 = new ArrayList<Integer>(); for(int i = 0 ; i < m ; i++){ List3.add(sc.nextInt()); }//Input Vectors int cnt=0; for(ListIterator<ArrayList<Integer>> it = List.listIterator(); it.hasNext();){ for(ListIterator<Integer> itt = (it.next()).listIterator();itt.hasNext();){ sum += (itt.next())*(List3.get(cnt)); cnt++; } cnt = 0; System.out.println(sum); sum = 0; } }//main }//class
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 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 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 123, 125 ], [ 98, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 6, 132 ], [ 132, 133 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n byte n = sc.nextByte();\n byte m = sc.nextByte();\n int[][] mat = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n int[] vector = new int[m];\n for (int i = 0; i < m; i++) {\n vector[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }\n\n\n\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n byte n = sc.nextByte();\n byte m = sc.nextByte();\n int[][] mat = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n int[] vector = new int[m];\n for (int i = 0; i < m; i++) {\n vector[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }\n\n\n\n }\n\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n byte n = sc.nextByte();\n byte m = sc.nextByte();\n int[][] mat = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n int[] vector = new int[m];\n for (int i = 0; i < m; i++) {\n vector[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }\n\n\n\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n byte n = sc.nextByte();\n byte m = sc.nextByte();\n int[][] mat = new int[n][m];\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }\n int[] vector = new int[m];\n for (int i = 0; i < m; i++) {\n vector[i] = sc.nextInt();\n }\n\n for (int i = 0; i < n; i++) {\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }\n\n\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "byte n = sc.nextByte();", "n", "sc.nextByte()", "sc.nextByte", "sc", "byte m = sc.nextByte();", "m", "sc.nextByte()", "sc.nextByte", "sc", "int[][] mat = new int[n][m];", "mat", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < m; j++) {\n mat[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n mat[i][j] = sc.nextInt();\n }", "{\n mat[i][j] = sc.nextInt();\n }", "mat[i][j] = sc.nextInt()", "mat[i][j]", "mat[i]", "mat", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int[] vector = new int[m];", "vector", "new int[m]", "m", "for (int i = 0; i < m; i++) {\n vector[i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n vector[i] = sc.nextInt();\n }", "{\n vector[i] = sc.nextInt();\n }", "vector[i] = sc.nextInt()", "vector[i]", "vector", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }", "{\n int a = 0;\n for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }\n System.out.println(a);\n }", "int a = 0;", "a", "0", "for (int j = 0; j < m; j++) {\n a += mat[i][j] * vector[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a += mat[i][j] * vector[j];\n }", "{\n a += mat[i][j] * vector[j];\n }", "a += mat[i][j] * vector[j]", "a", "mat[i][j] * vector[j]", "mat[i][j]", "mat[i]", "mat", "i", "j", "vector[j]", "vector", "j", "System.out.println(a)", "System.out.println", "System.out", "System", "System.out", "a", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); byte n = sc.nextByte(); byte m = sc.nextByte(); int[][] mat = new int[n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { mat[i][j] = sc.nextInt(); } } int[] vector = new int[m]; for (int i = 0; i < m; i++) { vector[i] = sc.nextInt(); } for (int i = 0; i < n; i++) { int a = 0; for (int j = 0; j < m; j++) { a += mat[i][j] * vector[j]; } System.out.println(a); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 2, 18, 18, 13, 13, 13, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 143, 5 ], [ 143, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 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 ], [ 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 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 58, 64 ], [ 8, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 130, 132 ], [ 123, 133 ], [ 104, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\nScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] nums = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}\n\n\t\tfor (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\nScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] nums = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}\n\n\t\tfor (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n }\n}", "Main", "public static void main(String[] args) throws Exception {\nScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] nums = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}\n\n\t\tfor (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n }", "main", "{\nScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] nums = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}\n\n\t\tfor (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] nums = new int[n][m];", "nums", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = 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\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}", "for (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}", "{\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "nums[i][k] = a", "nums[i][k]", "nums[i]", "nums", "i", "k", "a", "int[] vector = new int[m];", "vector", "new int[m]", "m", "for (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}", "{\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "vector[j] = b", "vector[j]", "vector", "j", "b", "for (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}", "int L = 0;", "int L = 0;", "L", "0", "L < n", "L", "n", "L++", "L++", "L", "{\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}", "{\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}", "int c = 0;", "c", "0", "for (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}", "int P = 0;", "int P = 0;", "P", "0", "P < m", "P", "m", "P++", "P++", "P", "{\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}", "{\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}", "c = nums[L][P] * vector[P] + c", "c", "nums[L][P] * vector[P] + c", "nums[L][P] * vector[P]", "nums[L][P]", "nums[L]", "nums", "L", "P", "vector[P]", "vector", "P", "c", "System.out.println(c)", "System.out.println", "System.out", "System", "System.out", "c", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\nScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] nums = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}\n\n\t\tfor (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\nScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] nums = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\tint a = sc.nextInt();\n\t\t\t\tnums[i][k] = a;\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint b = sc.nextInt();\n\t\t\tvector[j] = b;\n\t\t}\n\n\t\tfor (int L = 0; L < n; L++) {\n\t\t\tint c = 0;\n\t\t\tfor (int P = 0; P < m; P++) {\n\t\t\t\tc = nums[L][P] * vector[P] + c;\n\t\t\t}\n\t\t\tSystem.out.println(c);\n\t\t}\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int[][] nums = new int[n][m]; for (int i = 0; i < n; i++) { for (int k = 0; k < m; k++) { int a = sc.nextInt(); nums[i][k] = a; } } int[] vector = new int[m]; for (int j = 0; j < m; j++) { int b = sc.nextInt(); vector[j] = b; } for (int L = 0; L < n; L++) { int c = 0; for (int P = 0; P < m; P++) { c = nums[L][P] * vector[P] + c; } System.out.println(c); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 9, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 123, 125 ], [ 114, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 129, 131 ], [ 126, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 132, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int height = sc.nextInt();\n int width = sc.nextInt();;\n int[][] matrix = new int[height][width];\n int[] matrix2 = new int[width];\n \n //入力\n for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }\n \n //入力\n for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }\n \n // 出力\n for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int height = sc.nextInt();\n int width = sc.nextInt();;\n int[][] matrix = new int[height][width];\n int[] matrix2 = new int[width];\n \n //入力\n for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }\n \n //入力\n for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }\n \n // 出力\n for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int height = sc.nextInt();\n int width = sc.nextInt();;\n int[][] matrix = new int[height][width];\n int[] matrix2 = new int[width];\n \n //入力\n for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }\n \n //入力\n for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }\n \n // 出力\n for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int height = sc.nextInt();\n int width = sc.nextInt();;\n int[][] matrix = new int[height][width];\n int[] matrix2 = new int[width];\n \n //入力\n for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }\n \n //入力\n for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }\n \n // 出力\n for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int height = sc.nextInt();", "height", "sc.nextInt()", "sc.nextInt", "sc", "int width = sc.nextInt();", "width", "sc.nextInt()", "sc.nextInt", "sc", "int[][] matrix = new int[height][width];", "matrix", "new int[height][width]", "height", "width", "int[] matrix2 = new int[width];", "matrix2", "new int[width]", "width", "for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }", "int hei = 0;", "int hei = 0;", "hei", "0", "hei < height", "hei", "height", "hei++", "hei++", "hei", "{\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }", "{\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }", "for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }", "int wid = 0;", "int wid = 0;", "wid", "0", "wid < width", "wid", "width", "wid++", "wid++", "wid", "{\n matrix[hei][wid] = sc.nextInt(); \n }", "{\n matrix[hei][wid] = sc.nextInt(); \n }", "matrix[hei][wid] = sc.nextInt()", "matrix[hei][wid]", "matrix[hei]", "matrix", "hei", "wid", "sc.nextInt()", "sc.nextInt", "sc", "for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }", "int wid = 0;", "int wid = 0;", "wid", "0", "wid < width", "wid", "width", "wid++", "wid++", "wid", "{\n matrix2[wid] = sc.nextInt();\n }", "{\n matrix2[wid] = sc.nextInt();\n }", "matrix2[wid] = sc.nextInt()", "matrix2[wid]", "matrix2", "wid", "sc.nextInt()", "sc.nextInt", "sc", "for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }", "int hei = 0;", "int hei = 0;", "hei", "0", "hei < height", "hei", "height", "hei++", "hei++", "hei", "{\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }", "{\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }", "int sumMultiplication = 0;", "sumMultiplication", "0", "for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }", "int wid = 0;", "int wid = 0;", "wid", "0", "wid < width", "wid", "width", "wid++", "wid++", "wid", "{\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }", "{\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }", "sumMultiplication += matrix[hei][wid] * matrix2[wid]", "sumMultiplication", "matrix[hei][wid] * matrix2[wid]", "matrix[hei][wid]", "matrix[hei]", "matrix", "hei", "wid", "matrix2[wid]", "matrix2", "wid", "if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }", "wid == width-1", "wid", "width-1", "width", "1", "{\n System.out.println(sumMultiplication);\n continue;\n }", "System.out.println(sumMultiplication)", "System.out.println", "System.out", "System", "System.out", "sumMultiplication", "continue;", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int height = sc.nextInt();\n int width = sc.nextInt();;\n int[][] matrix = new int[height][width];\n int[] matrix2 = new int[width];\n \n //入力\n for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }\n \n //入力\n for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }\n \n // 出力\n for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int height = sc.nextInt();\n int width = sc.nextInt();;\n int[][] matrix = new int[height][width];\n int[] matrix2 = new int[width];\n \n //入力\n for(int hei = 0; hei < height; hei++){\n for(int wid = 0; wid < width; wid++){\n matrix[hei][wid] = sc.nextInt(); \n }\n }\n \n //入力\n for(int wid = 0; wid < width; wid++){\n matrix2[wid] = sc.nextInt();\n }\n \n // 出力\n for(int hei = 0; hei < height; hei++){\n int sumMultiplication = 0;\n for(int wid = 0; wid < width; wid++){\n sumMultiplication += matrix[hei][wid] * matrix2[wid];\n if(wid == width-1){\n System.out.println(sumMultiplication);\n continue;\n }\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int height = sc.nextInt(); int width = sc.nextInt();; int[][] matrix = new int[height][width]; int[] matrix2 = new int[width]; //入力 for(int hei = 0; hei < height; hei++){ for(int wid = 0; wid < width; wid++){ matrix[hei][wid] = sc.nextInt(); } } //入力 for(int wid = 0; wid < width; wid++){ matrix2[wid] = sc.nextInt(); } // 出力 for(int hei = 0; hei < height; hei++){ int sumMultiplication = 0; for(int wid = 0; wid < width; wid++){ sumMultiplication += matrix[hei][wid] * matrix2[wid]; if(wid == width-1){ System.out.println(sumMultiplication); continue; } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 0, 13, 2, 13, 13, 0, 18, 13, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 0, 13, 17, 0, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 160, 5 ], [ 160, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 90, 92 ], [ 8, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 104, 105 ], [ 105, 106 ], [ 96, 107 ], [ 108, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 117, 118 ], [ 118, 119 ], [ 109, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 130, 132 ], [ 121, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 108, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 108, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 108, 151 ], [ 151, 152 ], [ 151, 153 ], [ 108, 154 ], [ 154, 155 ], [ 154, 156 ], [ 6, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intN = sc.nextInt();\n\t\tint intM = sc.nextInt();\n\n\t\tint[][] arrayA = new int[intN][intM];\n\t\tint[] arrayB = new int[intM];\n\t\tint[] arrayAns = new int[intN];\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}\n\n\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}\n/*\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tSystem.out.print(\"arrayA[\"+i+\"][\"+j+\"] = \"+arrayA[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tSystem.out.println(\"arrayB[\"+i+\"] = \"+arrayB[i]);\n\t\t}\n*/\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 intN = sc.nextInt();\n\t\tint intM = sc.nextInt();\n\n\t\tint[][] arrayA = new int[intN][intM];\n\t\tint[] arrayB = new int[intM];\n\t\tint[] arrayAns = new int[intN];\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}\n\n\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}\n/*\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tSystem.out.print(\"arrayA[\"+i+\"][\"+j+\"] = \"+arrayA[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tSystem.out.println(\"arrayB[\"+i+\"] = \"+arrayB[i]);\n\t\t}\n*/\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intN = sc.nextInt();\n\t\tint intM = sc.nextInt();\n\n\t\tint[][] arrayA = new int[intN][intM];\n\t\tint[] arrayB = new int[intM];\n\t\tint[] arrayAns = new int[intN];\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}\n\n\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}\n/*\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tSystem.out.print(\"arrayA[\"+i+\"][\"+j+\"] = \"+arrayA[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tSystem.out.println(\"arrayB[\"+i+\"] = \"+arrayB[i]);\n\t\t}\n*/\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intN = sc.nextInt();\n\t\tint intM = sc.nextInt();\n\n\t\tint[][] arrayA = new int[intN][intM];\n\t\tint[] arrayB = new int[intM];\n\t\tint[] arrayAns = new int[intN];\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}\n\n\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}\n/*\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tSystem.out.print(\"arrayA[\"+i+\"][\"+j+\"] = \"+arrayA[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tSystem.out.println(\"arrayB[\"+i+\"] = \"+arrayB[i]);\n\t\t}\n*/\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int intN = sc.nextInt();", "intN", "sc.nextInt()", "sc.nextInt", "sc", "int intM = sc.nextInt();", "intM", "sc.nextInt()", "sc.nextInt", "sc", "int[][] arrayA = new int[intN][intM];", "arrayA", "new int[intN][intM]", "intN", "intM", "int[] arrayB = new int[intM];", "arrayB", "new int[intM]", "intM", "int[] arrayAns = new int[intN];", "arrayAns", "new int[intN]", "intN", "for(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intN", "i", "intN", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intM", "j", "intM", "j++", "j++", "j", "{\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}", "arrayA[i][j] = sc.nextInt()", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intM", "i", "intM", "i++", "i++", "i", "{\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}", "arrayB[i] = sc.nextInt()", "arrayB[i]", "arrayB", "i", "sc.nextInt()", "sc.nextInt", "sc", "int x = 0;", "x", "0", "int y = 0;", "y", "0", "for(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intN", "i", "intN", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}", "{\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}", "for(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intM", "j", "intM", "j++", "j++", "j", "{\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}", "{\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}", "y = arrayA[i][j] * arrayB[j]", "y", "arrayA[i][j] * arrayB[j]", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "arrayB[j]", "arrayB", "j", "x = x + y", "x", "x + y", "x", "y", "arrayAns[i] = x", "arrayAns[i]", "arrayAns", "i", "x", "System.out.println(arrayAns[i])", "System.out.println", "System.out", "System", "System.out", "arrayAns[i]", "arrayAns", "i", "y = 0", "y", "0", "x = 0", "x", "0", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intN = sc.nextInt();\n\t\tint intM = sc.nextInt();\n\n\t\tint[][] arrayA = new int[intN][intM];\n\t\tint[] arrayB = new int[intM];\n\t\tint[] arrayAns = new int[intN];\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}\n\n\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}\n/*\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tSystem.out.print(\"arrayA[\"+i+\"][\"+j+\"] = \"+arrayA[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tSystem.out.println(\"arrayB[\"+i+\"] = \"+arrayB[i]);\n\t\t}\n*/\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint intN = sc.nextInt();\n\t\tint intM = sc.nextInt();\n\n\t\tint[][] arrayA = new int[intN][intM];\n\t\tint[] arrayB = new int[intM];\n\t\tint[] arrayAns = new int[intN];\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tarrayA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tarrayB[i] = sc.nextInt();\n\t\t}\n\n\n\t\tint x = 0;\n\t\tint y = 0;\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\ty = arrayA[i][j] * arrayB[j];\n\t\t\t\tx = x + y;\n\t\t\t}\n\n\t\t\tarrayAns[i] = x;\n\t\t\tSystem.out.println(arrayAns[i]);\n\t\t\ty = 0;\n\t\t\tx = 0;\n\t\t}\n/*\n\n\t\tfor(int i = 0; i < intN; i++) {\n\t\t\tfor(int j = 0; j < intM; j++) {\n\t\t\t\tSystem.out.print(\"arrayA[\"+i+\"][\"+j+\"] = \"+arrayA[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tfor(int i = 0; i < intM; i++) {\n\t\t\tSystem.out.println(\"arrayB[\"+i+\"] = \"+arrayB[i]);\n\t\t}\n*/\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int intN = sc.nextInt(); int intM = sc.nextInt(); int[][] arrayA = new int[intN][intM]; int[] arrayB = new int[intM]; int[] arrayAns = new int[intN]; for(int i = 0; i < intN; i++) { for(int j = 0; j < intM; j++) { arrayA[i][j] = sc.nextInt(); } } for(int i = 0; i < intM; i++) { arrayB[i] = sc.nextInt(); } int x = 0; int y = 0; for(int i = 0; i < intN; i++) { for(int j = 0; j < intM; j++) { y = arrayA[i][j] * arrayB[j]; x = x + y; } arrayAns[i] = x; System.out.println(arrayAns[i]); y = 0; x = 0; } /* for(int i = 0; i < intN; i++) { for(int j = 0; j < intM; j++) { System.out.print("arrayA["+i+"]["+j+"] = "+arrayA[i][j]+" "); } System.out.println(""); } for(int i = 0; i < intM; i++) { System.out.println("arrayB["+i+"] = "+arrayB[i]); } */ } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 17, 0, 13, 17, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 4, 18, 13, 13, 4, 18, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 13, 13, 4, 18, 13, 17, 0, 13, 17, 0, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 146, 5 ], [ 146, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 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 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 45, 55 ], [ 55, 56 ], [ 56, 57 ], [ 45, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 64, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 83, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 85, 95 ], [ 95, 96 ], [ 96, 97 ], [ 85, 98 ], [ 99, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 99, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 119, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 119, 128 ], [ 128, 129 ], [ 128, 130 ], [ 119, 131 ], [ 131, 132 ], [ 131, 133 ], [ 113, 134 ], [ 134, 135 ], [ 135, 136 ], [ 8, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 6, 143 ], [ 143, 144 ], [ 0, 145 ], [ 145, 146 ], [ 145, 147 ] ]
[ "\n\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, c, sum;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tc = 0;// list2??§?????¨\n\t\tsum = 0;// ?¨???????????¨??????§?????????\n\t\tList<Integer> list1 = new ArrayList<Integer>();\n\t\tList<Integer> list2 = new ArrayList<Integer>();\n\n\t\t// list1???(n*m)????????°????????\\??????\n\t\tfor (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}\n\t\t// list2???m????????°????????\\??????\n\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}\n\n\t\t// m??????????¨????\n\t\tfor (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\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\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, c, sum;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tc = 0;// list2??§?????¨\n\t\tsum = 0;// ?¨???????????¨??????§?????????\n\t\tList<Integer> list1 = new ArrayList<Integer>();\n\t\tList<Integer> list2 = new ArrayList<Integer>();\n\n\t\t// list1???(n*m)????????°????????\\??????\n\t\tfor (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}\n\t\t// list2???m????????°????????\\??????\n\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}\n\n\t\t// m??????????¨????\n\t\tfor (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, c, sum;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tc = 0;// list2??§?????¨\n\t\tsum = 0;// ?¨???????????¨??????§?????????\n\t\tList<Integer> list1 = new ArrayList<Integer>();\n\t\tList<Integer> list2 = new ArrayList<Integer>();\n\n\t\t// list1???(n*m)????????°????????\\??????\n\t\tfor (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}\n\t\t// list2???m????????°????????\\??????\n\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}\n\n\t\t// m??????????¨????\n\t\tfor (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, c, sum;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tc = 0;// list2??§?????¨\n\t\tsum = 0;// ?¨???????????¨??????§?????????\n\t\tList<Integer> list1 = new ArrayList<Integer>();\n\t\tList<Integer> list2 = new ArrayList<Integer>();\n\n\t\t// list1???(n*m)????????°????????\\??????\n\t\tfor (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}\n\t\t// list2???m????????°????????\\??????\n\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}\n\n\t\t// m??????????¨????\n\t\tfor (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int n", "n", "m", "m", "c", "c", "sum;", "sum", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "c = 0", "c", "0", "sum = 0", "sum", "0", "List<Integer> list1 = new ArrayList<Integer>();", "list1", "new ArrayList<Integer>()", "List<Integer> list2 = new ArrayList<Integer>();", "list2", "new ArrayList<Integer>()", "for (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}", "int count = 0;", "int count = 0;", "count", "0", "count < (n * m)", "count", "(n * m)", "n", "m", "count++", "count++", "count", "{\n\t\t\tlist1.add(scan.nextInt());\n\t\t}", "{\n\t\t\tlist1.add(scan.nextInt());\n\t\t}", "list1.add(scan.nextInt())", "list1.add", "list1", "scan.nextInt()", "scan.nextInt", "scan", "for (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}", "int count2 = 0;", "int count2 = 0;", "count2", "0", "count2 < m", "count2", "m", "count2++", "count2++", "count2", "{\n\t\t\tlist2.add(scan.nextInt());\n\t\t}", "{\n\t\t\tlist2.add(scan.nextInt());\n\t\t}", "list2.add(scan.nextInt())", "list2.add", "list2", "scan.nextInt()", "scan.nextInt", "scan", "for (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}", "int count3 = 0;", "int count3 = 0;", "count3", "0", "count3 < (n * m)", "count3", "(n * m)", "n", "m", "count3++", "count3++", "count3", "{\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}", "{\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}", "sum = sum + list1.get(count3) * list2.get(c)", "sum", "sum + list1.get(count3) * list2.get(c)", "sum", "list1.get(count3) * list2.get(c)", "list1.get(count3)", "list1.get", "list1", "count3", "list2.get(c)", "list2.get", "list2", "c", "if (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}", "c == (m-1)", "c", "(m-1)", "m", "1", "{// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}", "sb.append(sum)", "sb.append", "sb", "sum", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "sum = 0", "sum", "0", "c = 0", "c", "0", "{\n\t\t\t\tc++;\n\t\t\t}", "c++", "c", "System.out.print(new String(sb))", "System.out.print", "System.out", "System", "System.out", "new String(sb)", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, c, sum;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tc = 0;// list2??§?????¨\n\t\tsum = 0;// ?¨???????????¨??????§?????????\n\t\tList<Integer> list1 = new ArrayList<Integer>();\n\t\tList<Integer> list2 = new ArrayList<Integer>();\n\n\t\t// list1???(n*m)????????°????????\\??????\n\t\tfor (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}\n\t\t// list2???m????????°????????\\??????\n\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}\n\n\t\t// m??????????¨????\n\t\tfor (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, c, sum;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tc = 0;// list2??§?????¨\n\t\tsum = 0;// ?¨???????????¨??????§?????????\n\t\tList<Integer> list1 = new ArrayList<Integer>();\n\t\tList<Integer> list2 = new ArrayList<Integer>();\n\n\t\t// list1???(n*m)????????°????????\\??????\n\t\tfor (int count = 0; count < (n * m); count++) {\n\t\t\tlist1.add(scan.nextInt());\n\t\t}\n\t\t// list2???m????????°????????\\??????\n\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\tlist2.add(scan.nextInt());\n\t\t}\n\n\t\t// m??????????¨????\n\t\tfor (int count3 = 0; count3 < (n * m); count3++) {\n\t\t\tsum = sum + list1.get(count3) * list2.get(c);\n\t\t\t\n\t\t\tif (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\\??????\n\t\t\t\tsb.append(sum);\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t\tsum = 0;// sum??????????????????\n\t\t\t\tc = 0;// list2??§?????¨??????c??????????????????\n\t\t\t}else{\n\t\t\t\tc++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(new String(sb));\n\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); int n, m, c, sum; n = scan.nextInt(); m = scan.nextInt(); c = 0;// list2??§?????¨ sum = 0;// ?¨???????????¨??????§????????? List<Integer> list1 = new ArrayList<Integer>(); List<Integer> list2 = new ArrayList<Integer>(); // list1???(n*m)????????°????????\?????? for (int count = 0; count < (n * m); count++) { list1.add(scan.nextInt()); } // list2???m????????°????????\?????? for (int count2 = 0; count2 < m; count2++) { list2.add(scan.nextInt()); } // m??????????¨???? for (int count3 = 0; count3 < (n * m); count3++) { sum = sum + list1.get(count3) * list2.get(c); if (c == (m-1)) {// ???????????????????????°??§StringBuilder???sum???????????\?????? sb.append(sum); sb.append("\n"); sum = 0;// sum?????????????????? c = 0;// list2??§?????¨??????c?????????????????? }else{ c++; } } System.out.print(new String(sb)); } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 20, 13, 0, 13, 20, 13, 13, 0, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 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 ], [ 183, 2 ], [ 183, 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 ], [ 5, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 5, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 5, 33 ], [ 33, 34 ], [ 33, 35 ], [ 5, 37 ], [ 37, 38 ], [ 37, 39 ], [ 5, 42 ], [ 42, 43 ], [ 42, 44 ], [ 5, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 5, 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 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 5, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 119, 120 ], [ 119, 121 ], [ 114, 122 ], [ 122, 123 ], [ 123, 124 ], [ 114, 125 ], [ 126, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 131, 137 ], [ 137, 138 ], [ 137, 139 ], [ 5, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 140, 151 ], [ 152, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 5, 161 ], [ 161, 162 ], [ 162, 163 ], [ 3, 164 ], [ 164, 165 ], [ 3, 166 ], [ 166, 167 ], [ 183, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 171, 177 ], [ 177, 178 ], [ 177, 179 ], [ 168, 180 ], [ 180, 181 ], [ 0, 182 ], [ 182, 183 ], [ 182, 184 ] ]
[ "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, m;\n int[] b;\n int[][] a;\n int i, j;\n int[] c;\n\n n = sc.nextInt();\n m = sc.nextInt();\n b = new int[m];\n a = new int[n][m];\n c = new int[n];\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }\n\n for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }\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, m;\n int[] b;\n int[][] a;\n int i, j;\n int[] c;\n\n n = sc.nextInt();\n m = sc.nextInt();\n b = new int[m];\n a = new int[n][m];\n c = new int[n];\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }\n\n for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }\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, m;\n int[] b;\n int[][] a;\n int i, j;\n int[] c;\n\n n = sc.nextInt();\n m = sc.nextInt();\n b = new int[m];\n a = new int[n][m];\n c = new int[n];\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }\n\n for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }\n\n sc.close();\n }", "run", "{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n, m;\n int[] b;\n int[][] a;\n int i, j;\n int[] c;\n\n n = sc.nextInt();\n m = sc.nextInt();\n b = new int[m];\n a = new int[n][m];\n c = new int[n];\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }\n\n for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }\n\n sc.close();\n }", "java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "int n", "n", "m;", "m", "int[] b;", "b", "int[][] a;", "a", "int i", "i", "j;", "j", "int[] c;", "c", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "b = new int[m]", "b", "new int[m]", "m", "a = new int[n][m]", "a", "new int[n][m]", "n", "m", "c = new int[n]", "c", "new int[n]", "n", "for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }", "{\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }", "for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = sc.nextInt();\n }", "{\n a[i][j] = sc.nextInt();\n }", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }", "i = 0;", "i = 0", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n b[i] = sc.nextInt();\n }", "{\n b[i] = sc.nextInt();\n }", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }", "{\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }", "for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n c[i] += a[i][j] * b[j];\n }", "{\n c[i] += a[i][j] * b[j];\n }", "c[i] += a[i][j] * b[j]", "c[i]", "c", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n System.out.println(c[i]);\n }", "{\n System.out.println(c[i]);\n }", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "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, m;\n int[] b;\n int[][] a;\n int i, j;\n int[] c;\n\n n = sc.nextInt();\n m = sc.nextInt();\n b = new int[m];\n a = new int[n][m];\n c = new int[n];\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }\n\n for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }\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, m;\n int[] b;\n int[][] a;\n int i, j;\n int[] c;\n\n n = sc.nextInt();\n m = sc.nextInt();\n b = new int[m];\n a = new int[n][m];\n c = new int[n];\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < m;i++){\n b[i] = sc.nextInt();\n }\n\n for(i = 0;i < n;i++){\n for(j = 0;j < m;j++){\n c[i] += a[i][j] * b[j];\n }\n }\n\n for(i = 0;i < n;i++){\n System.out.println(c[i]);\n }\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, m; int[] b; int[][] a; int i, j; int[] c; n = sc.nextInt(); m = sc.nextInt(); b = new int[m]; a = new int[n][m]; c = new int[n]; for(i = 0;i < n;i++){ for(j = 0;j < m;j++){ a[i][j] = sc.nextInt(); } } for(i = 0;i < m;i++){ b[i] = sc.nextInt(); } for(i = 0;i < n;i++){ for(j = 0;j < m;j++){ c[i] += a[i][j] * b[j]; } } for(i = 0;i < n;i++){ System.out.println(c[i]); } sc.close(); } public static void main(String[] args){ (new Main()).run(System.in, System.out); } }
[ 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, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 144, 14 ], [ 144, 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 ], [ 17, 31 ], [ 31, 32 ], [ 31, 33 ], [ 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 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 17, 71 ], [ 71, 72 ], [ 71, 73 ], [ 17, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 17, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 95, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 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 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 132, 133 ], [ 132, 134 ], [ 107, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 15, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tfinal int m = sc.nextInt();\n\t\t\n\t\tint[][] matrix = new int[n][m];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tfinal int m = sc.nextInt();\n\t\t\n\t\tint[][] matrix = new int[n][m];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tfinal int m = sc.nextInt();\n\t\t\n\t\tint[][] matrix = new int[n][m];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tfinal int m = sc.nextInt();\n\t\t\n\t\tint[][] matrix = new int[n][m];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "final int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "final int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] matrix = new int[n][m];", "matrix", "new int[n][m]", "n", "m", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\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\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}", "matrix[i][j] = sc.nextInt()", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int[] vector = new int[m];", "vector", "new int[m]", "m", "for(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tvector[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tvector[i] = sc.nextInt();\n\t\t}", "vector[i] = sc.nextInt()", "vector[i]", "vector", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}", "{\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}", "int sum = 0;", "sum", "0", "for(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}", "{\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}", "sum += matrix[i][j] * vector[j]", "sum", "matrix[i][j] * vector[j]", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "vector[j]", "vector", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String args[]", "args", "public class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tfinal int m = sc.nextInt();\n\t\t\n\t\tint[][] matrix = new int[n][m];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "public class Main {\n\t\n\t\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tfinal int n = sc.nextInt();\n\t\tfinal int m = sc.nextInt();\n\t\t\n\t\tint[][] matrix = new int[n][m];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tmatrix[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] vector = new int[m];\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tvector[i] = sc.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tint sum = 0;\n\t\t\t\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tsum += matrix[i][j] * vector[j];\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); final int n = sc.nextInt(); final int m = sc.nextInt(); int[][] matrix = new int[n][m]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ matrix[i][j] = sc.nextInt(); } } int[] vector = new int[m]; for(int i = 0; i < m; i++){ vector[i] = sc.nextInt(); } for(int i = 0; i < n; i++){ int sum = 0; for(int j = 0; j < m; j++){ sum += matrix[i][j] * vector[j]; } System.out.println(sum); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 169, 11 ], [ 169, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 66, 71 ], [ 63, 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 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 120, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 157, 159 ], [ 132, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 12, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws NumberFormatException, IOException {\n // TODO 自動生成されたメソッド・スタブ\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] input = br.readLine().split(\" \");\n int m = Integer.parseInt(input[0]);\n int n = Integer.parseInt(input[1]);\n int[][] matrix = new int[m][n];\n int[] num = new int[n];\n\n\n for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }\n\n for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws NumberFormatException, IOException {\n // TODO 自動生成されたメソッド・スタブ\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] input = br.readLine().split(\" \");\n int m = Integer.parseInt(input[0]);\n int n = Integer.parseInt(input[1]);\n int[][] matrix = new int[m][n];\n int[] num = new int[n];\n\n\n for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }\n\n for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }\n\n }\n\n}", "Main", "public static void main(String[] args) throws NumberFormatException, IOException {\n // TODO 自動生成されたメソッド・スタブ\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] input = br.readLine().split(\" \");\n int m = Integer.parseInt(input[0]);\n int n = Integer.parseInt(input[1]);\n int[][] matrix = new int[m][n];\n int[] num = new int[n];\n\n\n for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }\n\n for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }\n\n }", "main", "{\n // TODO 自動生成されたメソッド・スタブ\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] input = br.readLine().split(\" \");\n int m = Integer.parseInt(input[0]);\n int n = Integer.parseInt(input[1]);\n int[][] matrix = new int[m][n];\n int[] num = new int[n];\n\n\n for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }\n\n for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int m = Integer.parseInt(input[0]);", "m", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int n = Integer.parseInt(input[1]);", "n", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int[][] matrix = new int[m][n];", "matrix", "new int[m][n]", "m", "n", "int[] num = new int[n];", "num", "new int[n]", "n", "for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }", "{\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n matrix[i][j] = Integer.parseInt(line[j]);\n }", "{\n matrix[i][j] = Integer.parseInt(line[j]);\n }", "matrix[i][j] = Integer.parseInt(line[j])", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "Integer.parseInt(line[j])", "Integer.parseInt", "Integer", "line[j]", "line", "j", "for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n num[i] = Integer.parseInt(br.readLine()); ;\n }", "{\n num[i] = Integer.parseInt(br.readLine()); ;\n }", "num[i] = Integer.parseInt(br.readLine())", "num[i]", "num", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }", "{\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }", "int result = 0;", "result", "0", "for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < n", "j", "n", "j++", "j++", "j", "{\n result += matrix[i][j] * num[j];\n }", "{\n result += matrix[i][j] * num[j];\n }", "result += matrix[i][j] * num[j]", "result", "matrix[i][j] * num[j]", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "num[j]", "num", "j", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws NumberFormatException, IOException {\n // TODO 自動生成されたメソッド・スタブ\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] input = br.readLine().split(\" \");\n int m = Integer.parseInt(input[0]);\n int n = Integer.parseInt(input[1]);\n int[][] matrix = new int[m][n];\n int[] num = new int[n];\n\n\n for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }\n\n for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }\n\n }\n\n}", "public class Main {\n\n public static void main(String[] args) throws NumberFormatException, IOException {\n // TODO 自動生成されたメソッド・スタブ\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] input = br.readLine().split(\" \");\n int m = Integer.parseInt(input[0]);\n int n = Integer.parseInt(input[1]);\n int[][] matrix = new int[m][n];\n int[] num = new int[n];\n\n\n for(int i = 0;i < m;i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0;j < n;j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0;i < n;i++){\n num[i] = Integer.parseInt(br.readLine()); ;\n }\n\n for(int i = 0;i < m;i++){\n int result = 0;\n for(int j = 0;j < n;j++){\n result += matrix[i][j] * num[j];\n }\n System.out.println(result);\n }\n\n }\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 NumberFormatException, IOException { // TODO 自動生成されたメソッド・スタブ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] input = br.readLine().split(" "); int m = Integer.parseInt(input[0]); int n = Integer.parseInt(input[1]); int[][] matrix = new int[m][n]; int[] num = new int[n]; for(int i = 0;i < m;i++){ String[] line = br.readLine().split(" "); for(int j = 0;j < n;j++){ matrix[i][j] = Integer.parseInt(line[j]); } } for(int i = 0;i < n;i++){ num[i] = Integer.parseInt(br.readLine()); ; } for(int i = 0;i < m;i++){ int result = 0; for(int j = 0;j < n;j++){ result += matrix[i][j] * num[j]; } System.out.println(result); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 41, 13, 20, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 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 ], [ 193, 11 ], [ 193, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 15, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 22, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 22, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 22, 53 ], [ 53, 54 ], [ 53, 55 ], [ 22, 57 ], [ 57, 58 ], [ 57, 59 ], [ 22, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 62, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 74, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 108, 110 ], [ 22, 111 ], [ 111, 112 ], [ 111, 113 ], [ 22, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 115, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 127, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 22, 141 ], [ 141, 142 ], [ 141, 143 ], [ 22, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 144, 152 ], [ 152, 153 ], [ 153, 154 ], [ 144, 155 ], [ 156, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 162, 163 ], [ 162, 164 ], [ 157, 165 ], [ 165, 166 ], [ 166, 167 ], [ 157, 168 ], [ 169, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 172, 178 ], [ 178, 179 ], [ 178, 180 ], [ 156, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 156, 187 ], [ 187, 188 ], [ 187, 189 ], [ 12, 190 ], [ 190, 191 ], [ 0, 192 ], [ 192, 193 ], [ 192, 194 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\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", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "try {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\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\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String a = reader.readLine();", "a", "reader.readLine()", "reader.readLine", "reader", "String[] b = a.split(\" \");", "b", "a.split(\" \")", "a.split", "a", "\" \"", "int c = Integer.parseInt(b[0]);", "c", "Integer.parseInt(b[0])", "Integer.parseInt", "Integer", "b[0]", "b", "0", "int d = Integer.parseInt(b[1]);", "d", "Integer.parseInt(b[1])", "Integer.parseInt", "Integer", "b[1]", "b", "1", "String[] e = new String[d];", "e", "new String[d]", "d", "int[][] f = new int[c][d];", "f", "new int[c][d]", "c", "d", "for (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}", "int g = 0;", "int g = 0;", "g", "0", "g < c", "g", "c", "g++", "g++", "g", "{\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}", "a = reader.readLine()", "a", "reader.readLine()", "reader.readLine", "reader", "e = a.split(\" \")", "e", "a.split(\" \")", "a.split", "a", "\" \"", "for (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}", "int h = 0;", "int h = 0;", "h", "0", "h < d", "h", "d", "h++", "h++", "h", "{\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}", "{\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}", "f[g][h] = Integer.parseInt(e[h])", "f[g][h]", "f[g]", "f", "g", "h", "Integer.parseInt(e[h])", "Integer.parseInt", "Integer", "e[h]", "e", "h", "int[] i = new int[d];", "i", "new int[d]", "d", "for (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < d", "j", "d", "j++", "j++", "j", "{\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}", "{\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}", "a = reader.readLine()", "a", "reader.readLine()", "reader.readLine", "reader", "i[j] = Integer.parseInt(a)", "i[j]", "i", "j", "Integer.parseInt(a)", "Integer.parseInt", "Integer", "a", "int k = 0;", "k", "0", "for (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}", "int l = 0;", "int l = 0;", "l", "0", "l < c", "l", "c", "l++", "l++", "l", "{\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}", "{\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}", "for (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}", "int m = 0;", "int m = 0;", "m", "0", "m < d", "m", "d", "m++", "m++", "m", "{\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}", "{\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}", "k += f[l][m] * i[m]", "k", "f[l][m] * i[m]", "f[l][m]", "f[l]", "f", "l", "m", "i[m]", "i", "m", "System.out.println(k)", "System.out.println", "System.out", "System", "System.out", "k", "k = 0", "k", "0", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\ttry {\n\t\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tString a = reader.readLine();\n\t\t\tString[] b = a.split(\" \");\n\t\t\tint c = Integer.parseInt(b[0]);\n\t\t\tint d = Integer.parseInt(b[1]);\n\t\t\tString[] e = new String[d];\n\t\t\tint[][] f = new int[c][d];\n\t\t\tfor (int g = 0; g < c; g++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\te = a.split(\" \");\n\t\t\t\tfor (int h = 0; h < d; h++) {\n\t\t\t\t\tf[g][h] = Integer.parseInt(e[h]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tint[] i = new int[d];\n\t\t\tfor (int j = 0; j < d; j++) {\n\t\t\t\ta = reader.readLine();\n\t\t\t\ti[j] = Integer.parseInt(a);\n\t\t\t}\n\t\t\tint k = 0;\n\t\t\tfor (int l = 0; l < c; l++) {\n\t\t\t\tfor (int m = 0; m < d; m++) {\n\t\t\t\t\tk += f[l][m] * i[m];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(k);\n\t\t\t\tk = 0;\n\t\t\t}\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\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) { try { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String a = reader.readLine(); String[] b = a.split(" "); int c = Integer.parseInt(b[0]); int d = Integer.parseInt(b[1]); String[] e = new String[d]; int[][] f = new int[c][d]; for (int g = 0; g < c; g++) { a = reader.readLine(); e = a.split(" "); for (int h = 0; h < d; h++) { f[g][h] = Integer.parseInt(e[h]); } } int[] i = new int[d]; for (int j = 0; j < d; j++) { a = reader.readLine(); i[j] = Integer.parseInt(a); } int k = 0; for (int l = 0; l < c; l++) { for (int m = 0; m < d; m++) { k += f[l][m] * i[m]; } System.out.println(k); k = 0; } } catch (IOException e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 17, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 20, 14, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 13, 13, 2, 13, 13, 30, 42, 4, 18, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 40, 13, 30, 42, 4, 18, 13, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 40, 13, 14, 2, 2, 13, 13, 2, 13, 13, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 18, 18, 13, 13, 13, 41, 13, 18, 13, 13, 41, 13, 2, 13, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 225, 14 ], [ 225, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 17, 27 ], [ 27, 28 ], [ 27, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 39 ], [ 39, 40 ], [ 39, 41 ], [ 17, 43 ], [ 43, 44 ], [ 43, 45 ], [ 17, 46 ], [ 46, 47 ], [ 17, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 49, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 75, 76 ], [ 68, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 83, 84 ], [ 60, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 99, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 122, 123 ], [ 98, 124 ], [ 124, 125 ], [ 85, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 140, 141 ], [ 131, 142 ], [ 142, 143 ], [ 56, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 149, 151 ], [ 144, 152 ], [ 17, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 153, 161 ], [ 161, 162 ], [ 162, 163 ], [ 153, 164 ], [ 165, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 171, 172 ], [ 171, 173 ], [ 166, 174 ], [ 174, 175 ], [ 175, 176 ], [ 166, 177 ], [ 178, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 178, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 178, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 193, 195 ], [ 178, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 17, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 206, 207 ], [ 206, 208 ], [ 201, 209 ], [ 209, 210 ], [ 210, 211 ], [ 201, 212 ], [ 213, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 219, 220 ], [ 219, 221 ], [ 15, 222 ], [ 222, 223 ], [ 0, 224 ], [ 224, 225 ], [ 224, 226 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n\n/**\n *\n * @author k16069kk\n */\npublic class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n int n = 0;\n int m = 0;\n\n int l = 0;\n int a = 0;\n int matrix_a[][] = new int[100][100]; //n*m\n int matrix_b[] = new int[100]; //m*1\n int matrix_ans [] = new int[100]; //n*1\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }\n \n for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }\n\n }\n\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.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n int n = 0;\n int m = 0;\n\n int l = 0;\n int a = 0;\n int matrix_a[][] = new int[100][100]; //n*m\n int matrix_b[] = new int[100]; //m*1\n int matrix_ans [] = new int[100]; //n*1\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }\n \n for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }\n\n }\n\n}", "Main", "/**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n int n = 0;\n int m = 0;\n\n int l = 0;\n int a = 0;\n int matrix_a[][] = new int[100][100]; //n*m\n int matrix_b[] = new int[100]; //m*1\n int matrix_ans [] = new int[100]; //n*1\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }\n \n for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }\n\n }", "main", "{\n int n = 0;\n int m = 0;\n\n int l = 0;\n int a = 0;\n int matrix_a[][] = new int[100][100]; //n*m\n int matrix_b[] = new int[100]; //m*1\n int matrix_ans [] = new int[100]; //n*1\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }\n \n for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }\n\n }", "int n = 0;", "n", "0", "int m = 0;", "m", "0", "int l = 0;", "l", "0", "int a = 0;", "a", "0", "int matrix_a[][] = new int[100][100];", "matrix_a", "new int[100][100]", "100", "100", "int matrix_b[] = new int[100];", "matrix_b", "new int[100]", "100", "int matrix_ans [] = new int[100];", "matrix_ans", "new int[100]", "100", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }", "(line = br.readLine()) != null", "(line = br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "{\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }", "java.util.StringTokenizer st = new StringTokenizer(line, \" \");", "st", "new StringTokenizer(line, \" \")", "if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }", "n == 0 && m == 0", "n == 0", "n", "0", "m == 0", "m", "0", "{\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n }", "n = Integer.parseInt(st.nextToken())", "n", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "m = Integer.parseInt(st.nextToken())", "m", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }", "l != n && l < n", "l != n", "l", "n", "l < n", "l", "n", "{\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n }", "while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }", "for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }", "{\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }", "matrix_a[l][i] = Integer.parseInt(st.nextToken())", "matrix_a[l][i]", "matrix_a[l]", "matrix_a", "l", "i", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "l++", "l", "{\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }", "while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }", "matrix_b[a] = Integer.parseInt(st.nextToken())", "matrix_b[a]", "matrix_b", "a", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "a++", "a", "if(l == n && a == m) break;", "l == n && a == m", "l == n", "l", "n", "a == m", "a", "m", "break;", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }", "{\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }", "for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }", "{\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }", "int num1 = matrix_a[i][j];", "num1", "matrix_a[i][j]", "matrix_a[i]", "matrix_a", "i", "j", "int num2 = matrix_b[j];", "num2", "matrix_b[j]", "matrix_b", "j", "int ans = num1 * num2;", "ans", "num1 * num2", "num1", "num2", "matrix_ans[i] += ans", "matrix_ans[i]", "matrix_ans", "i", "ans", "for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n System.out.println(matrix_ans[i]);\n }", "{\n System.out.println(matrix_ans[i]);\n }", "System.out.println(matrix_ans[i])", "System.out.println", "System.out", "System", "System.out", "matrix_ans[i]", "matrix_ans", "i", "String[] args", "args", "public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n int n = 0;\n int m = 0;\n\n int l = 0;\n int a = 0;\n int matrix_a[][] = new int[100][100]; //n*m\n int matrix_b[] = new int[100]; //m*1\n int matrix_ans [] = new int[100]; //n*1\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }\n \n for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }\n\n }\n\n}", "public class Main {\n\n /**\n * @param args the command line arguments\n */\n public static void main(String[] args) throws IOException {\n int n = 0;\n int m = 0;\n\n int l = 0;\n int a = 0;\n int matrix_a[][] = new int[100][100]; //n*m\n int matrix_b[] = new int[100]; //m*1\n int matrix_ans [] = new int[100]; //n*1\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String line;\n while ((line = br.readLine()) != null) {\n java.util.StringTokenizer st = new StringTokenizer(line, \" \");\n if (n == 0 && m == 0) {\n n = Integer.parseInt(st.nextToken());\n m = Integer.parseInt(st.nextToken());\n } else if (l != n && l < n) {\n while (st.hasMoreTokens()) {\n for (int i = 0; i < m; i++) {\n matrix_a[l][i] = Integer.parseInt(st.nextToken());\n }\n l++;\n }\n } else {\n while (st.hasMoreTokens()) {\n matrix_b[a] = Integer.parseInt(st.nextToken());\n a++;\n }\n }\n if(l == n && a == m) break;\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num1 = matrix_a[i][j];\n int num2 = matrix_b[j];\n int ans = num1 * num2; \n matrix_ans[i] += ans;\n }\n }\n \n for (int i = 0; i < n; i++) {\n System.out.println(matrix_ans[i]);\n }\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; /** * * @author k16069kk */ public class Main { /** * @param args the command line arguments */ public static void main(String[] args) throws IOException { int n = 0; int m = 0; int l = 0; int a = 0; int matrix_a[][] = new int[100][100]; //n*m int matrix_b[] = new int[100]; //m*1 int matrix_ans [] = new int[100]; //n*1 BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line; while ((line = br.readLine()) != null) { java.util.StringTokenizer st = new StringTokenizer(line, " "); if (n == 0 && m == 0) { n = Integer.parseInt(st.nextToken()); m = Integer.parseInt(st.nextToken()); } else if (l != n && l < n) { while (st.hasMoreTokens()) { for (int i = 0; i < m; i++) { matrix_a[l][i] = Integer.parseInt(st.nextToken()); } l++; } } else { while (st.hasMoreTokens()) { matrix_b[a] = Integer.parseInt(st.nextToken()); a++; } } if(l == n && a == m) break; } for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { int num1 = matrix_a[i][j]; int num2 = matrix_b[j]; int ans = num1 * num2; matrix_ans[i] += ans; } } for (int i = 0; i < n; i++) { System.out.println(matrix_ans[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 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 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 6, 137 ], [ 137, 138 ], [ 0, 139 ], [ 139, 140 ], [ 139, 141 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[] = new int[m];\n\t\tint c[] = new int[n];\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[] = new int[m];\n\t\tint c[] = new int[n];\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) throws java.lang.Exception {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[] = new int[m];\n\t\tint c[] = new int[n];\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[] = new int[m];\n\t\tint c[] = new int[n];\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int c[] = new int[n];", "c", "new int[n]", "n", "for(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\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\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tb[i] = sc.nextInt();\n\t\t}", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "{\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}", "for(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}", "c[i] += a[i][j] * b[j]", "c[i]", "c", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[] = new int[m];\n\t\tint c[] = new int[n];\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws java.lang.Exception {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[] = new int[m];\n\t\tint c[] = new int[n];\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0; i<m; i++) {\n\t\t\tb[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tfor(int j=0; j<m; j++) {\n\t\t\t\tc[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(c[i]);\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws java.lang.Exception { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int a[][] = new int[n][m]; int b[] = new int[m]; int c[] = new int[n]; for(int i=0; i<n; i++) { for(int j=0; j<m; j++) { a[i][j] = sc.nextInt(); } } for(int i=0; i<m; i++) { b[i] = sc.nextInt(); } for(int i=0; i<n; i++) { for(int j=0; j<m; j++) { c[i] += a[i][j] * b[j]; } System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 90 ], [ 90, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 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 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 123, 134 ], [ 135, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 140, 146 ], [ 146, 147 ], [ 146, 148 ], [ 8, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 149, 157 ], [ 157, 158 ], [ 158, 159 ], [ 149, 160 ], [ 161, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 6, 170 ], [ 170, 171 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] av){\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint m=sc.nextInt();\n\tint[][] a=new int[n][m];\n\tint[] b=new int[m];\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<m;i++){\n\t b[i]=sc.nextInt();\n\t}\n\tint[] c=new int[n];\n\tint ans;\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}\n\tfor(int i=0;i<n;i++){\n\t System.out.println(c[i]);\n\t}\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] av){\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint m=sc.nextInt();\n\tint[][] a=new int[n][m];\n\tint[] b=new int[m];\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<m;i++){\n\t b[i]=sc.nextInt();\n\t}\n\tint[] c=new int[n];\n\tint ans;\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}\n\tfor(int i=0;i<n;i++){\n\t System.out.println(c[i]);\n\t}\n }\n}", "Main", "public static void main(String[] av){\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint m=sc.nextInt();\n\tint[][] a=new int[n][m];\n\tint[] b=new int[m];\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<m;i++){\n\t b[i]=sc.nextInt();\n\t}\n\tint[] c=new int[n];\n\tint ans;\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}\n\tfor(int i=0;i<n;i++){\n\t System.out.println(c[i]);\n\t}\n }", "main", "{\n\tScanner sc=new Scanner(System.in);\n\tint n=sc.nextInt();\n\tint m=sc.nextInt();\n\tint[][] a=new int[n][m];\n\tint[] b=new int[m];\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<m;i++){\n\t b[i]=sc.nextInt();\n\t}\n\tint[] c=new int[n];\n\tint ans;\n\tfor(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}\n\tfor(int i=0;i<n;i++){\n\t System.out.println(c[i]);\n\t}\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m=sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a=new int[n][m];", "a", "new int[n][m]", "n", "m", "int[] b=new int[m];", "b", "new int[m]", "m", "for(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}", "{\n\t for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }\n\t}", "for(int j=0;j<m;j++){\n\t\ta[i][j]=sc.nextInt();\n\t }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\ta[i][j]=sc.nextInt();\n\t }", "{\n\t\ta[i][j]=sc.nextInt();\n\t }", "a[i][j]=sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<m;i++){\n\t b[i]=sc.nextInt();\n\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t b[i]=sc.nextInt();\n\t}", "{\n\t b[i]=sc.nextInt();\n\t}", "b[i]=sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "int[] c=new int[n];", "c", "new int[n]", "n", "int ans;", "ans", "for(int i=0;i<n;i++){\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}", "{\n\t for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }\n\t}", "for(int j=0;j<m;j++){\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }", "{\n\t\tc[i]=0;\n\t\tfor(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}\n\t\t\n\t }", "c[i]=0", "c[i]", "c", "i", "0", "for(int k=0;k<m;k++){\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}", "{\n\t\t\tc[i]+=a[i][k]*b[k];\n\t\t}", "c[i]+=a[i][k]*b[k]", "c[i]", "c", "i", "a[i][k]*b[k]", "a[i][k]", "a[i]", "a", "i", "k", "b[k]", "b", "k", "for(int i=0;i<n;i++){\n\t System.out.println(c[i]);\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t System.out.println(c[i]);\n\t}", "{\n\t System.out.println(c[i]);\n\t}", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "String[] av", "av" ]
import java.util.Scanner; class Main{ public static void main(String[] av){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); int[][] a=new int[n][m]; int[] b=new int[m]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ a[i][j]=sc.nextInt(); } } for(int i=0;i<m;i++){ b[i]=sc.nextInt(); } int[] c=new int[n]; int ans; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ c[i]=0; for(int k=0;k<m;k++){ c[i]+=a[i][k]*b[k]; } } } for(int i=0;i<n;i++){ System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 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, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 2, 2, 13, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 11, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 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 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 60, 65 ], [ 57, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 11, 88 ], [ 88, 89 ], [ 88, 90 ], [ 11, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 109, 110 ], [ 110, 111 ], [ 103, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 11, 116 ], [ 116, 117 ], [ 116, 118 ], [ 11, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 119, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 135, 143 ], [ 143, 144 ], [ 144, 145 ], [ 135, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 150, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 131, 163 ], [ 163, 164 ], [ 164, 165 ], [ 163, 166 ], [ 11, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 167, 175 ], [ 175, 176 ], [ 176, 177 ], [ 167, 178 ], [ 179, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 9, 189 ], [ 189, 190 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\tString[] buf = (br.readLine()).split(\" \");\n\t\tint n = Integer.parseInt(buf[0]);\n\t\tint m = Integer.parseInt(buf[1]);\n\t\t\n\t\tArrayList<Integer> matrix = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tArrayList<Integer> vector = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}\n\t\t\n\t\tArrayList<Integer> answer = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\tString[] buf = (br.readLine()).split(\" \");\n\t\tint n = Integer.parseInt(buf[0]);\n\t\tint m = Integer.parseInt(buf[1]);\n\t\t\n\t\tArrayList<Integer> matrix = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tArrayList<Integer> vector = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}\n\t\t\n\t\tArrayList<Integer> answer = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\tString[] buf = (br.readLine()).split(\" \");\n\t\tint n = Integer.parseInt(buf[0]);\n\t\tint m = Integer.parseInt(buf[1]);\n\t\t\n\t\tArrayList<Integer> matrix = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tArrayList<Integer> vector = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}\n\t\t\n\t\tArrayList<Integer> answer = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}\n\t}", "main", "{\n\t\tInputStreamReader in = new InputStreamReader(System.in);\n\t\tBufferedReader br = new BufferedReader(in);\n\t\t\n\t\tString[] buf = (br.readLine()).split(\" \");\n\t\tint n = Integer.parseInt(buf[0]);\n\t\tint m = Integer.parseInt(buf[1]);\n\t\t\n\t\tArrayList<Integer> matrix = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tArrayList<Integer> vector = new ArrayList<Integer>();\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}\n\t\t\n\t\tArrayList<Integer> answer = new ArrayList<Integer>();\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}\n\t}", "InputStreamReader in = new InputStreamReader(System.in);", "in", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(in);", "br", "new BufferedReader(in)", "String[] buf = (br.readLine()).split(\" \");", "buf", "(br.readLine()).split(\" \")", "(br.readLine()).split", "(br.readLine())", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(buf[0]);", "n", "Integer.parseInt(buf[0])", "Integer.parseInt", "Integer", "buf[0]", "buf", "0", "int m = Integer.parseInt(buf[1]);", "m", "Integer.parseInt(buf[1])", "Integer.parseInt", "Integer", "buf[1]", "buf", "1", "ArrayList<Integer> matrix = new ArrayList<Integer>();", "matrix", "new ArrayList<Integer>()", "for (int i = 0; i < n; i++) {\n\t\t\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\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\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}\n\t\t}", "{\n\t\t\tbuf = (br.readLine()).split(\" \");\n\t\t\t\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}\n\t\t}", "buf = (br.readLine()).split(\" \")", "buf", "(br.readLine()).split(\" \")", "(br.readLine()).split", "(br.readLine())", "br.readLine", "br", "\" \"", "for (int j = 0; j < m; j++) {\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}", "{\n\t\t\t\tmatrix.add(Integer.parseInt(buf[j]));\n\t\t\t}", "matrix.add(Integer.parseInt(buf[j]))", "matrix.add", "matrix", "Integer.parseInt(buf[j])", "Integer.parseInt", "Integer", "buf[j]", "buf", "j", "ArrayList<Integer> vector = new ArrayList<Integer>();", "vector", "new ArrayList<Integer>()", "for (int i = 0; i < m; i++) {\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}", "{\n\t\t\tint num_element = Integer.parseInt(br.readLine());\n\t\t\tvector.add(num_element);\n\t\t}", "int num_element = Integer.parseInt(br.readLine());", "num_element", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "vector.add(num_element)", "vector.add", "vector", "num_element", "ArrayList<Integer> answer = new ArrayList<Integer>();", "answer", "new ArrayList<Integer>()", "for (int i = 0; i < n; i++) {\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}", "{\n\t\t\tint temp = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}\n\t\t\tanswer.add(temp);\n\t\t}", "int temp = 0;", "temp", "0", "for (int j = 0; j < m; j++) {\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}", "{\n\t\t\t\ttemp += matrix.get(i*m+j) * vector.get(j);\n\t\t\t}", "temp += matrix.get(i*m+j) * vector.get(j)", "temp", "matrix.get(i*m+j) * vector.get(j)", "matrix.get(i*m+j)", "matrix.get", "matrix", "i*m+j", "i*m", "i", "m", "j", "vector.get(j)", "vector.get", "vector", "j", "answer.add(temp)", "answer.add", "answer", "temp", "for (int i = 0; i < n; i++) {\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(answer.get(i));\n\t\t}", "System.out.println(answer.get(i))", "System.out.println", "System.out", "System", "System.out", "answer.get(i)", "answer.get", "answer", "i", "String[] args", "args" ]
import java.io.*; import java.util.*; class Main { public static void main(String[] args) throws IOException { InputStreamReader in = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(in); String[] buf = (br.readLine()).split(" "); int n = Integer.parseInt(buf[0]); int m = Integer.parseInt(buf[1]); ArrayList<Integer> matrix = new ArrayList<Integer>(); for (int i = 0; i < n; i++) { buf = (br.readLine()).split(" "); for (int j = 0; j < m; j++) { matrix.add(Integer.parseInt(buf[j])); } } ArrayList<Integer> vector = new ArrayList<Integer>(); for (int i = 0; i < m; i++) { int num_element = Integer.parseInt(br.readLine()); vector.add(num_element); } ArrayList<Integer> answer = new ArrayList<Integer>(); for (int i = 0; i < n; i++) { int temp = 0; for (int j = 0; j < m; j++) { temp += matrix.get(i*m+j) * vector.get(j); } answer.add(temp); } for (int i = 0; i < n; i++) { System.out.println(answer.get(i)); } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 134, 2 ], [ 134, 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 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 5, 19 ], [ 19, 20 ], [ 19, 21 ], [ 5, 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 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 5, 59 ], [ 59, 60 ], [ 59, 61 ], [ 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 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 5, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 91, 92 ], [ 92, 93 ], [ 83, 94 ], [ 95, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 99, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 95, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 3, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n\n // ??????????????????????????? a ????????°??¨?¨???°???????????????.\n // ?????? a ???????????????.\n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int[][] A = new int[tate][yoko];\n for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }\n\n // ?????? b ???????????????.\n int[] b = new int[yoko];\n for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }\n\n // ???????????????????????????.\n for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n\n // ??????????????????????????? a ????????°??¨?¨???°???????????????.\n // ?????? a ???????????????.\n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int[][] A = new int[tate][yoko];\n for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }\n\n // ?????? b ???????????????.\n int[] b = new int[yoko];\n for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }\n\n // ???????????????????????????.\n for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }\n }\n}", "Main", "public static void main(String[] args) {\n\n // ??????????????????????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n\n // ??????????????????????????? a ????????°??¨?¨???°???????????????.\n // ?????? a ???????????????.\n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int[][] A = new int[tate][yoko];\n for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }\n\n // ?????? b ???????????????.\n int[] b = new int[yoko];\n for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }\n\n // ???????????????????????????.\n for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }\n }", "main", "{\n\n // ??????????????????????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n\n // ??????????????????????????? a ????????°??¨?¨???°???????????????.\n // ?????? a ???????????????.\n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int[][] A = new int[tate][yoko];\n for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }\n\n // ?????? b ???????????????.\n int[] b = new int[yoko];\n for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }\n\n // ???????????????????????????.\n for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }\n }", "java.util.Scanner sc = new java.util.Scanner(System.in);", "sc", "new java.util.Scanner(System.in)", "int tate = sc.nextInt();", "tate", "sc.nextInt()", "sc.nextInt", "sc", "int yoko = sc.nextInt();", "yoko", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[tate][yoko];", "A", "new int[tate][yoko]", "tate", "yoko", "for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < tate", "i", "tate", "i ++", "i ++", "i", "{\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }", "{\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }", "for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }", "int j = 0;", "int j = 0;", "j", "0", "j < yoko", "j", "yoko", "j ++", "j ++", "j", "{ A[i][j] = sc.nextInt(); }", "{ A[i][j] = sc.nextInt(); }", "A[i][j] = sc.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int[] b = new int[yoko];", "b", "new int[yoko]", "yoko", "for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }", "int i = 0;", "int i = 0;", "i", "0", "i < yoko", "i", "yoko", "i ++", "i ++", "i", "{ b[i] = sc.nextInt(); }", "{ b[i] = sc.nextInt(); }", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < tate", "i", "tate", "i ++", "i ++", "i", "{\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }", "{\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }", "int sum = 0;", "sum", "0", "for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }", "int j = 0;", "int j = 0;", "j", "0", "j < yoko", "j", "yoko", "j ++", "j ++", "j", "{ sum += b[j] * A[i][j]; }", "{ sum += b[j] * A[i][j]; }", "sum += b[j] * A[i][j]", "sum", "b[j] * A[i][j]", "b[j]", "b", "j", "A[i][j]", "A[i]", "A", "i", "j", "System.out.print(sum + \"\\n\")", "System.out.print", "System.out", "System", "System.out", "sum + \"\\n\"", "sum", "\"\\n\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n\n // ??????????????????????????? a ????????°??¨?¨???°???????????????.\n // ?????? a ???????????????.\n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int[][] A = new int[tate][yoko];\n for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }\n\n // ?????? b ???????????????.\n int[] b = new int[yoko];\n for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }\n\n // ???????????????????????????.\n for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n // ??????????????????????????????.\n java.util.Scanner sc = new java.util.Scanner(System.in);\n\n // ??????????????????????????? a ????????°??¨?¨???°???????????????.\n // ?????? a ???????????????.\n int tate = sc.nextInt();\n int yoko = sc.nextInt();\n int[][] A = new int[tate][yoko];\n for (int i = 0; i < tate; i ++) {\n for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); }\n }\n\n // ?????? b ???????????????.\n int[] b = new int[yoko];\n for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); }\n\n // ???????????????????????????.\n for (int i = 0; i < tate; i ++) {\n int sum = 0;\n for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; }\n System.out.print(sum + \"\\n\");\n }\n }\n}", "Main" ]
public class Main { public static void main(String[] args) { // ??????????????????????????????. java.util.Scanner sc = new java.util.Scanner(System.in); // ??????????????????????????? a ????????°??¨?¨???°???????????????. // ?????? a ???????????????. int tate = sc.nextInt(); int yoko = sc.nextInt(); int[][] A = new int[tate][yoko]; for (int i = 0; i < tate; i ++) { for (int j = 0; j < yoko; j ++) { A[i][j] = sc.nextInt(); } } // ?????? b ???????????????. int[] b = new int[yoko]; for (int i = 0; i < yoko; i ++) { b[i] = sc.nextInt(); } // ???????????????????????????. for (int i = 0; i < tate; i ++) { int sum = 0; for (int j = 0; j < yoko; j ++) { sum += b[j] * A[i][j]; } System.out.print(sum + "\n"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 17, 13, 1, 40, 13, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 151, 5 ], [ 151, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 83 ], [ 83, 84 ], [ 83, 85 ], [ 83, 86 ], [ 6, 87 ], [ 87, 88 ], [ 151, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 95, 105 ], [ 105, 106 ], [ 106, 107 ], [ 95, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 110, 122 ], [ 122, 123 ], [ 123, 124 ], [ 110, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 134, 136 ], [ 109, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 109, 143 ], [ 143, 144 ], [ 143, 145 ], [ 89, 146 ], [ 146, 147 ], [ 89, 148 ], [ 148, 149 ], [ 0, 150 ], [ 150, 151 ], [ 150, 152 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String args[]){\n Scanner input = new Scanner(System.in);\n int row = input.nextInt();\n int cow = input.nextInt();\n int[][] A = new int[row][cow];\n int[] b = new int[cow];\n for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();\n for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();\n calculate(A, b); \n }\n \n public static void calculate(int[][] A, int[] b){\n int sum = 0;\n for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String args[]){\n Scanner input = new Scanner(System.in);\n int row = input.nextInt();\n int cow = input.nextInt();\n int[][] A = new int[row][cow];\n int[] b = new int[cow];\n for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();\n for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();\n calculate(A, b); \n }\n \n public static void calculate(int[][] A, int[] b){\n int sum = 0;\n for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }\n }\n}", "Main", "public static void main(String args[]){\n Scanner input = new Scanner(System.in);\n int row = input.nextInt();\n int cow = input.nextInt();\n int[][] A = new int[row][cow];\n int[] b = new int[cow];\n for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();\n for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();\n calculate(A, b); \n }", "main", "{\n Scanner input = new Scanner(System.in);\n int row = input.nextInt();\n int cow = input.nextInt();\n int[][] A = new int[row][cow];\n int[] b = new int[cow];\n for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();\n for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();\n calculate(A, b); \n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int row = input.nextInt();", "row", "input.nextInt()", "input.nextInt", "input", "int cow = input.nextInt();", "cow", "input.nextInt()", "input.nextInt", "input", "int[][] A = new int[row][cow];", "A", "new int[row][cow]", "row", "cow", "int[] b = new int[cow];", "b", "new int[cow]", "cow", "for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < row", "i", "row", "i ++", "i ++", "i", "for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();", "for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();", "int j = 0;", "int j = 0;", "j", "0", "j < cow", "j", "cow", "j ++", "j ++", "j", "A[i][j] = input.nextInt();", "A[i][j] = input.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "input.nextInt()", "input.nextInt", "input", "for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();", "int k = 0;", "int k = 0;", "k", "0", "k < cow", "k", "cow", "k ++", "k ++", "k", "b[k] = input.nextInt();", "b[k] = input.nextInt()", "b[k]", "b", "k", "input.nextInt()", "input.nextInt", "input", "calculate(A, b)", "calculate", "A", "b", "String args[]", "args", "public static void calculate(int[][] A, int[] b){\n int sum = 0;\n for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }\n }", "calculate", "{\n int sum = 0;\n for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }\n }", "int sum = 0;", "sum", "0", "for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < A.length", "i", "A.length", "A", "A.length", "i ++", "i ++", "i", "{\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }", "{\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }", "for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);", "int j = 0;", "int j = 0;", "j", "0", "j < A[0].length", "j", "A[0].length", "A[0]", "A", "0", "A[0].length", "j ++", "j ++", "j", "sum += (A[i][j] * b[j]);", "sum += (A[i][j] * b[j])", "sum", "(A[i][j] * b[j])", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "sum = 0", "sum", "0", "int[][] A", "A", "int[] b", "b", "public class Main{\n public static void main(String args[]){\n Scanner input = new Scanner(System.in);\n int row = input.nextInt();\n int cow = input.nextInt();\n int[][] A = new int[row][cow];\n int[] b = new int[cow];\n for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();\n for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();\n calculate(A, b); \n }\n \n public static void calculate(int[][] A, int[] b){\n int sum = 0;\n for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }\n }\n}", "public class Main{\n public static void main(String args[]){\n Scanner input = new Scanner(System.in);\n int row = input.nextInt();\n int cow = input.nextInt();\n int[][] A = new int[row][cow];\n int[] b = new int[cow];\n for(int i = 0; i < row; i ++)\n for(int j = 0; j < cow; j ++)\n A[i][j] = input.nextInt();\n for(int k = 0; k < cow; k ++)\n b[k] = input.nextInt();\n calculate(A, b); \n }\n \n public static void calculate(int[][] A, int[] b){\n int sum = 0;\n for(int i = 0; i < A.length; i ++){\n for(int j = 0; j < A[0].length; j ++)\n sum += (A[i][j] * b[j]);\n System.out.println(sum);\n sum = 0;\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String args[]){ Scanner input = new Scanner(System.in); int row = input.nextInt(); int cow = input.nextInt(); int[][] A = new int[row][cow]; int[] b = new int[cow]; for(int i = 0; i < row; i ++) for(int j = 0; j < cow; j ++) A[i][j] = input.nextInt(); for(int k = 0; k < cow; k ++) b[k] = input.nextInt(); calculate(A, b); } public static void calculate(int[][] A, int[] b){ int sum = 0; for(int i = 0; i < A.length; i ++){ for(int j = 0; j < A[0].length; j ++) sum += (A[i][j] * b[j]); System.out.println(sum); sum = 0; } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 20, 13, 0, 13, 20, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 18, 13, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 13, 13, 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 ], [ 15, 16 ], [ 15, 17 ], [ 14, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 24, 25 ], [ 24, 26 ], [ 19, 27 ], [ 27, 28 ], [ 28, 29 ], [ 19, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 12, 41 ], [ 41, 42 ], [ 12, 43 ], [ 43, 44 ], [ 4, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 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 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 85, 86 ], [ 85, 87 ], [ 60, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 45, 94 ], [ 94, 95 ], [ 45, 96 ], [ 96, 97 ], [ 0, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 102, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 102, 116 ], [ 116, 117 ], [ 116, 118 ], [ 102, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 119, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 132, 143 ], [ 144, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 145, 153 ], [ 153, 154 ], [ 154, 155 ], [ 102, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 156, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 102, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 177, 181 ], [ 100, 182 ], [ 182, 183 ] ]
[ "import java.util.Scanner;\nclass Line{\n protected int[][] liner;\n protected int[] beq;\n protected int sum;\n public Line(int x,int y){\n\tliner=new int[x][];\n\tfor(int i=0;i<x;i++) liner[i]=new int[y];\n\tbeq=new int[y];\n }\n public void calc(int x,int y){\n\tfor(int i=0;i<x;i++){\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}\n }\n}\n\nclass Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint x=sc.nextInt();\n\tint y=sc.nextInt();\n\tLine line=new Line(x,y);\n\tfor(int i=0;i<x;i++){\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<y;i++) line.beq[i]=sc.nextInt();\n\tline.calc(x,y);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Line{\n protected int[][] liner;\n protected int[] beq;\n protected int sum;\n public Line(int x,int y){\n\tliner=new int[x][];\n\tfor(int i=0;i<x;i++) liner[i]=new int[y];\n\tbeq=new int[y];\n }\n public void calc(int x,int y){\n\tfor(int i=0;i<x;i++){\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}\n }\n}", "Line", "protected int[][] liner;", "liner", "protected int[] beq;", "beq", "protected int sum;", "sum", "public Line(int x,int y){\n\tliner=new int[x][];\n\tfor(int i=0;i<x;i++) liner[i]=new int[y];\n\tbeq=new int[y];\n }", "Line", "{\n\tliner=new int[x][];\n\tfor(int i=0;i<x;i++) liner[i]=new int[y];\n\tbeq=new int[y];\n }", "liner=new int[x][]", "liner", "new int[x][]", "x", "for(int i=0;i<x;i++) liner[i]=new int[y];", "int i=0;", "int i=0;", "i", "0", "i<x", "i", "x", "i++", "i++", "i", "liner[i]=new int[y];", "liner[i]=new int[y]", "liner[i]", "liner", "i", "new int[y]", "y", "beq=new int[y]", "beq", "new int[y]", "y", "int x", "x", "int y", "y", "public void calc(int x,int y){\n\tfor(int i=0;i<x;i++){\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}\n }", "calc", "{\n\tfor(int i=0;i<x;i++){\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}\n }", "for(int i=0;i<x;i++){\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}", "int i=0;", "int i=0;", "i", "0", "i<x", "i", "x", "i++", "i++", "i", "{\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}", "{\n\t sum=0;\n\t for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }\n\t System.out.println(sum);\n\t}", "sum=0", "sum", "0", "for(int j=0;j<y;j++){\n\t\tsum+=liner[i][j]*beq[j];\n\t }", "int j=0;", "int j=0;", "j", "0", "j<y", "j", "y", "j++", "j++", "j", "{\n\t\tsum+=liner[i][j]*beq[j];\n\t }", "{\n\t\tsum+=liner[i][j]*beq[j];\n\t }", "sum+=liner[i][j]*beq[j]", "sum", "liner[i][j]*beq[j]", "liner[i][j]", "liner[i]", "liner", "i", "j", "beq[j]", "beq", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "int x", "x", "int y", "y", "class Main{\n public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint x=sc.nextInt();\n\tint y=sc.nextInt();\n\tLine line=new Line(x,y);\n\tfor(int i=0;i<x;i++){\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<y;i++) line.beq[i]=sc.nextInt();\n\tline.calc(x,y);\n }\n}", "Main", "public static void main(String[] args){\n\tfinal Scanner sc=new Scanner(System.in);\n\tint x=sc.nextInt();\n\tint y=sc.nextInt();\n\tLine line=new Line(x,y);\n\tfor(int i=0;i<x;i++){\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<y;i++) line.beq[i]=sc.nextInt();\n\tline.calc(x,y);\n }", "main", "{\n\tfinal Scanner sc=new Scanner(System.in);\n\tint x=sc.nextInt();\n\tint y=sc.nextInt();\n\tLine line=new Line(x,y);\n\tfor(int i=0;i<x;i++){\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}\n\tfor(int i=0;i<y;i++) line.beq[i]=sc.nextInt();\n\tline.calc(x,y);\n }", "final Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x=sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y=sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "Line line=new Line(x,y);", "line", "new Line(x,y)", "for(int i=0;i<x;i++){\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}", "int i=0;", "int i=0;", "i", "0", "i<x", "i", "x", "i++", "i++", "i", "{\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}", "{\n\t for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }\n\t}", "for(int j=0;j<y;j++){\n\t\tline.liner[i][j]=sc.nextInt();\n\t }", "int j=0;", "int j=0;", "j", "0", "j<y", "j", "y", "j++", "j++", "j", "{\n\t\tline.liner[i][j]=sc.nextInt();\n\t }", "{\n\t\tline.liner[i][j]=sc.nextInt();\n\t }", "line.liner[i][j]=sc.nextInt()", "line.liner[i][j]", "line.liner[i]", "line.liner", "line", "line.liner", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<y;i++) line.beq[i]=sc.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<y", "i", "y", "i++", "i++", "i", "line.beq[i]=sc.nextInt();", "line.beq[i]=sc.nextInt()", "line.beq[i]", "line.beq", "line", "line.beq", "i", "sc.nextInt()", "sc.nextInt", "sc", "line.calc(x,y)", "line.calc", "line", "x", "y", "String[] args", "args" ]
import java.util.Scanner; class Line{ protected int[][] liner; protected int[] beq; protected int sum; public Line(int x,int y){ liner=new int[x][]; for(int i=0;i<x;i++) liner[i]=new int[y]; beq=new int[y]; } public void calc(int x,int y){ for(int i=0;i<x;i++){ sum=0; for(int j=0;j<y;j++){ sum+=liner[i][j]*beq[j]; } System.out.println(sum); } } } class Main{ public static void main(String[] args){ final Scanner sc=new Scanner(System.in); int x=sc.nextInt(); int y=sc.nextInt(); Line line=new Line(x,y); for(int i=0;i<x;i++){ for(int j=0;j<y;j++){ line.liner[i][j]=sc.nextInt(); } } for(int i=0;i<y;i++) line.beq[i]=sc.nextInt(); line.calc(x,y); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 160, 5 ], [ 160, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 8, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 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 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 134, 136 ], [ 8, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 142, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 137, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 6, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n int i,j;\n \n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int A[][]=new int[n][m];\n int B[]=new int[m];\n for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }\n for(i=0;i<m;i++)B[i]=sc.nextInt();\n \n int C[]=new int[n];\n for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }\n \n for(i=0;i<n;i++)System.out.println(C[i]);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n int i,j;\n \n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int A[][]=new int[n][m];\n int B[]=new int[m];\n for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }\n for(i=0;i<m;i++)B[i]=sc.nextInt();\n \n int C[]=new int[n];\n for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }\n \n for(i=0;i<n;i++)System.out.println(C[i]);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n int i,j;\n \n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int A[][]=new int[n][m];\n int B[]=new int[m];\n for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }\n for(i=0;i<m;i++)B[i]=sc.nextInt();\n \n int C[]=new int[n];\n for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }\n \n for(i=0;i<n;i++)System.out.println(C[i]);\n }", "main", "{\n int i,j;\n \n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int A[][]=new int[n][m];\n int B[]=new int[m];\n for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }\n for(i=0;i<m;i++)B[i]=sc.nextInt();\n \n int C[]=new int[n];\n for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }\n \n for(i=0;i<n;i++)System.out.println(C[i]);\n }", "int i", "i", "j;", "j", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m=sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int A[][]=new int[n][m];", "A", "new int[n][m]", "n", "m", "int B[]=new int[m];", "B", "new int[m]", "m", "for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }", "{\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }", "for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n A[i][j]=sc.nextInt();\n }", "{\n A[i][j]=sc.nextInt();\n }", "A[i][j]=sc.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(i=0;i<m;i++)B[i]=sc.nextInt();", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "B[i]=sc.nextInt();", "B[i]=sc.nextInt()", "B[i]", "B", "i", "sc.nextInt()", "sc.nextInt", "sc", "int C[]=new int[n];", "C", "new int[n]", "n", "for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }", "{\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }", "C[i]=0", "C[i]", "C", "i", "0", "for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n C[i]+=A[i][j]*B[j];\n }", "{\n C[i]+=A[i][j]*B[j];\n }", "C[i]+=A[i][j]*B[j]", "C[i]", "C", "i", "A[i][j]*B[j]", "A[i][j]", "A[i]", "A", "i", "j", "B[j]", "B", "j", "for(i=0;i<n;i++)System.out.println(C[i]);", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "System.out.println(C[i]);", "System.out.println(C[i])", "System.out.println", "System.out", "System", "System.out", "C[i]", "C", "i", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n int i,j;\n \n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int A[][]=new int[n][m];\n int B[]=new int[m];\n for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }\n for(i=0;i<m;i++)B[i]=sc.nextInt();\n \n int C[]=new int[n];\n for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }\n \n for(i=0;i<n;i++)System.out.println(C[i]);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n int i,j;\n \n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int A[][]=new int[n][m];\n int B[]=new int[m];\n for(i=0;i<n;i++){\n for(j=0;j<m;j++){\n A[i][j]=sc.nextInt();\n }\n }\n for(i=0;i<m;i++)B[i]=sc.nextInt();\n \n int C[]=new int[n];\n for(i=0;i<n;i++){\n C[i]=0;\n for(j=0;j<m;j++){\n C[i]+=A[i][j]*B[j];\n }\n }\n \n for(i=0;i<n;i++)System.out.println(C[i]);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { int i,j; Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int m=sc.nextInt(); int A[][]=new int[n][m]; int B[]=new int[m]; for(i=0;i<n;i++){ for(j=0;j<m;j++){ A[i][j]=sc.nextInt(); } } for(i=0;i<m;i++)B[i]=sc.nextInt(); int C[]=new int[n]; for(i=0;i<n;i++){ C[i]=0; for(j=0;j<m;j++){ C[i]+=A[i][j]*B[j]; } } for(i=0;i<n;i++)System.out.println(C[i]); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 172, 11 ], [ 172, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 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 ], [ 67, 68 ], [ 68, 69 ], [ 65, 70 ], [ 62, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 93, 95 ], [ 14, 96 ], [ 96, 97 ], [ 96, 98 ], [ 14, 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 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 121, 122 ], [ 14, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 123, 134 ], [ 135, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 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 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 160, 162 ], [ 135, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 12, 169 ], [ 169, 170 ], [ 0, 171 ], [ 171, 172 ], [ 171, 173 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main{\n\n public static void main(String[] args) throws IOException {\n // 標準入力用\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n // 標準入力の値を、半角スペースで分割\n String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");\n int row = Integer.parseInt(inputRowAndCol[0]); // 行\n int col = Integer.parseInt(inputRowAndCol[1]); // 列\n\n // 行列A\n int[][] matrixA = new int[row][col];\n String[] matrixData = null; // 実際の行列のデータ用\n // 行の数だけ繰り返し\n for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }\n // ベクトルb\n int[] vectorB = new int[col];\n for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }\n\n // 行列の積\n // 行の数だけ繰り返し\n for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\n public static void main(String[] args) throws IOException {\n // 標準入力用\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n // 標準入力の値を、半角スペースで分割\n String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");\n int row = Integer.parseInt(inputRowAndCol[0]); // 行\n int col = Integer.parseInt(inputRowAndCol[1]); // 列\n\n // 行列A\n int[][] matrixA = new int[row][col];\n String[] matrixData = null; // 実際の行列のデータ用\n // 行の数だけ繰り返し\n for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }\n // ベクトルb\n int[] vectorB = new int[col];\n for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }\n\n // 行列の積\n // 行の数だけ繰り返し\n for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n // 標準入力用\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n // 標準入力の値を、半角スペースで分割\n String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");\n int row = Integer.parseInt(inputRowAndCol[0]); // 行\n int col = Integer.parseInt(inputRowAndCol[1]); // 列\n\n // 行列A\n int[][] matrixA = new int[row][col];\n String[] matrixData = null; // 実際の行列のデータ用\n // 行の数だけ繰り返し\n for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }\n // ベクトルb\n int[] vectorB = new int[col];\n for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }\n\n // 行列の積\n // 行の数だけ繰り返し\n for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }\n }", "main", "{\n // 標準入力用\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n // 標準入力の値を、半角スペースで分割\n String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");\n int row = Integer.parseInt(inputRowAndCol[0]); // 行\n int col = Integer.parseInt(inputRowAndCol[1]); // 列\n\n // 行列A\n int[][] matrixA = new int[row][col];\n String[] matrixData = null; // 実際の行列のデータ用\n // 行の数だけ繰り返し\n for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }\n // ベクトルb\n int[] vectorB = new int[col];\n for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }\n\n // 行列の積\n // 行の数だけ繰り返し\n for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }\n }", "BufferedReader input = new BufferedReader(new InputStreamReader(System.in));", "input", "new BufferedReader(new InputStreamReader(System.in))", "String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");", "inputRowAndCol", "(input.readLine()).split(\"\\\\s\")", "(input.readLine()).split", "(input.readLine())", "input.readLine", "input", "\"\\\\s\"", "int row = Integer.parseInt(inputRowAndCol[0]);", "row", "Integer.parseInt(inputRowAndCol[0])", "Integer.parseInt", "Integer", "inputRowAndCol[0]", "inputRowAndCol", "0", "int col = Integer.parseInt(inputRowAndCol[1]);", "col", "Integer.parseInt(inputRowAndCol[1])", "Integer.parseInt", "Integer", "inputRowAndCol[1]", "inputRowAndCol", "1", "int[][] matrixA = new int[row][col];", "matrixA", "new int[row][col]", "row", "col", "String[] matrixData = null;", "matrixData", "null", "for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < row", "i", "row", "i++", "i++", "i", "{\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }", "{\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }", "matrixData = (input.readLine()).split(\"\\\\s\")", "matrixData", "(input.readLine()).split(\"\\\\s\")", "(input.readLine()).split", "(input.readLine())", "input.readLine", "input", "\"\\\\s\"", "for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < col", "j", "col", "j++", "j++", "j", "{\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }", "{\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }", "matrixA[i][j] = Integer.parseInt(matrixData[j])", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Integer.parseInt(matrixData[j])", "Integer.parseInt", "Integer", "matrixData[j]", "matrixData", "j", "int[] vectorB = new int[col];", "vectorB", "new int[col]", "col", "for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }", "int k = 0;", "int k = 0;", "k", "0", "k < col", "k", "col", "k++", "k++", "k", "{\n vectorB[k] = Integer.parseInt(input.readLine());\n }", "{\n vectorB[k] = Integer.parseInt(input.readLine());\n }", "vectorB[k] = Integer.parseInt(input.readLine())", "vectorB[k]", "vectorB", "k", "Integer.parseInt(input.readLine())", "Integer.parseInt", "Integer", "input.readLine()", "input.readLine", "input", "for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }", "int l = 0;", "int l = 0;", "l", "0", "l < row", "l", "row", "l++", "l++", "l", "{\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }", "{\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }", "int result = 0;", "result", "0", "for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }", "int m = 0;", "int m = 0;", "m", "0", "m < col", "m", "col", "m++", "m++", "m", "{\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }", "{\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }", "result += (matrixA[l][m] * vectorB[m])", "result", "(matrixA[l][m] * vectorB[m])", "matrixA[l][m]", "matrixA[l]", "matrixA", "l", "m", "vectorB[m]", "vectorB", "m", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main{\n\n public static void main(String[] args) throws IOException {\n // 標準入力用\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n // 標準入力の値を、半角スペースで分割\n String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");\n int row = Integer.parseInt(inputRowAndCol[0]); // 行\n int col = Integer.parseInt(inputRowAndCol[1]); // 列\n\n // 行列A\n int[][] matrixA = new int[row][col];\n String[] matrixData = null; // 実際の行列のデータ用\n // 行の数だけ繰り返し\n for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }\n // ベクトルb\n int[] vectorB = new int[col];\n for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }\n\n // 行列の積\n // 行の数だけ繰り返し\n for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }\n }\n}", "public class Main{\n\n public static void main(String[] args) throws IOException {\n // 標準入力用\n BufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n // 標準入力の値を、半角スペースで分割\n String[] inputRowAndCol = (input.readLine()).split(\"\\\\s\");\n int row = Integer.parseInt(inputRowAndCol[0]); // 行\n int col = Integer.parseInt(inputRowAndCol[1]); // 列\n\n // 行列A\n int[][] matrixA = new int[row][col];\n String[] matrixData = null; // 実際の行列のデータ用\n // 行の数だけ繰り返し\n for (int i = 0; i < row; i++) {\n // 標準入力の値を、半角スペースで分割\n matrixData = (input.readLine()).split(\"\\\\s\");\n // 列の数だけ繰り返し\n for (int j = 0; j < col; j++) {\n // 行列Aに、標準入力の値を設定していく\n matrixA[i][j] = Integer.parseInt(matrixData[j]);\n }\n }\n // ベクトルb\n int[] vectorB = new int[col];\n for (int k = 0; k < col; k++) {\n vectorB[k] = Integer.parseInt(input.readLine());\n }\n\n // 行列の積\n // 行の数だけ繰り返し\n for (int l = 0; l < row; l++) {\n int result = 0; // リセット(次の行の計算のため初期化)\n // 列の数だけ繰り返し\n for (int m = 0; m < col; m++) {\n // 計算\n result += (matrixA[l][m] * vectorB[m]);\n }\n // 表示\n System.out.println(result);\n }\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 input = new BufferedReader(new InputStreamReader(System.in)); // 標準入力の値を、半角スペースで分割 String[] inputRowAndCol = (input.readLine()).split("\\s"); int row = Integer.parseInt(inputRowAndCol[0]); // 行 int col = Integer.parseInt(inputRowAndCol[1]); // 列 // 行列A int[][] matrixA = new int[row][col]; String[] matrixData = null; // 実際の行列のデータ用 // 行の数だけ繰り返し for (int i = 0; i < row; i++) { // 標準入力の値を、半角スペースで分割 matrixData = (input.readLine()).split("\\s"); // 列の数だけ繰り返し for (int j = 0; j < col; j++) { // 行列Aに、標準入力の値を設定していく matrixA[i][j] = Integer.parseInt(matrixData[j]); } } // ベクトルb int[] vectorB = new int[col]; for (int k = 0; k < col; k++) { vectorB[k] = Integer.parseInt(input.readLine()); } // 行列の積 // 行の数だけ繰り返し for (int l = 0; l < row; l++) { int result = 0; // リセット(次の行の計算のため初期化) // 列の数だけ繰り返し for (int m = 0; m < col; m++) { // 計算 result += (matrixA[l][m] * vectorB[m]); } // 表示 System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 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 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 8, 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 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 125, 127 ], [ 100, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 6, 134 ], [ 134, 135 ], [ 0, 136 ], [ 136, 137 ], [ 136, 138 ] ]
[ "\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 = scanner.nextInt();\n\n\t\tint[][] list = new int[a][b];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[b];\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}\n\t\tint sum;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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 = scanner.nextInt();\n\n\t\tint[][] list = new int[a][b];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[b];\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}\n\t\tint sum;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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 = scanner.nextInt();\n\n\t\tint[][] list = new int[a][b];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[b];\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}\n\t\tint sum;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\n\t\tint[][] list = new int[a][b];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[b];\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}\n\t\tint sum;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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 = scanner.nextInt();", "b", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] list = new int[a][b];", "list", "new int[a][b]", "a", "b", "for (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < b", "j", "b", "j++", "j++", "j", "{\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}", "list[i][j] = scanner.nextInt()", "list[i][j]", "list[i]", "list", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[] list2 = new int[b];", "list2", "new int[b]", "b", "for (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < b", "i", "b", "i++", "i++", "i", "{\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}", "{\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}", "list2[i] = scanner.nextInt()", "list2[i]", "list2", "i", "scanner.nextInt()", "scanner.nextInt", "scanner", "int sum;", "sum", "for (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "{\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "sum = 0", "sum", "0", "for (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < b", "j", "b", "j++", "j++", "j", "{\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}", "{\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}", "sum += list[i][j] * list2[j]", "sum", "list[i][j] * list2[j]", "list[i][j]", "list[i]", "list", "i", "j", "list2[j]", "list2", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "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 = scanner.nextInt();\n\n\t\tint[][] list = new int[a][b];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[b];\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}\n\t\tint sum;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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 = scanner.nextInt();\n\n\t\tint[][] list = new int[a][b];\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tlist[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[b];\n\t\tfor (int i = 0; i < b; i++) {\n\t\t\tlist2[i] = scanner.nextInt();\n\t\t}\n\t\tint sum;\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tsum = 0;\n\t\t\tfor (int j = 0; j < b; j++) {\n\t\t\t\tsum += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\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 = scanner.nextInt(); int[][] list = new int[a][b]; for (int i = 0; i < a; i++) { for (int j = 0; j < b; j++) { list[i][j] = scanner.nextInt(); } } int[] list2 = new int[b]; for (int i = 0; i < b; i++) { list2[i] = scanner.nextInt(); } int sum; for (int i = 0; i < a; i++) { sum = 0; for (int j = 0; j < b; j++) { sum += list[i][j] * list2[j]; } System.out.println(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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 147, 5 ], [ 147, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 130, 132 ], [ 8, 133 ], [ 133, 134 ], [ 133, 135 ], [ 133, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 6, 144 ], [ 144, 145 ], [ 0, 146 ], [ 146, 147 ], [ 146, 148 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[] \tb = new int[m];\n\t\tint[] \tc = new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}\n\n\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[] \tb = new int[m];\n\t\tint[] \tc = new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}\n\n\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[] \tb = new int[m];\n\t\tint[] \tc = new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}\n\n\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[] \tb = new int[m];\n\t\tint[] \tc = new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}\n\n\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[] \tb = new int[m];", "b", "new int[m]", "m", "int[] \tc = new int[n];", "c", "new int[n]", "n", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\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\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}", "a[i][j]=scan.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i]=scan.nextInt();\n\t\t}", "{\n\t\t\tb[i]=scan.nextInt();\n\t\t}", "b[i]=scan.nextInt()", "b[i]", "b", "i", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\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\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}", "{\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}", "c[i]=c[i]+a[i][j]*b[j]", "c[i]", "c", "i", "c[i]+a[i][j]*b[j]", "c[i]", "c", "i", "a[i][j]*b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "for(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}", "int data", "c", "{\n\t\t\tSystem.out.println(data);\n\t\t}", "{\n\t\t\tSystem.out.println(data);\n\t\t}", "System.out.println(data)", "System.out.println", "System.out", "System", "System.out", "data", "String[] args", "args", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[] \tb = new int[m];\n\t\tint[] \tc = new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}\n\n\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}\n\t}\n}", "public class Main {\n\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[] \tb = new int[m];\n\t\tint[] \tc = new int[n];\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tb[i]=scan.nextInt();\n\t\t}\n\n\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tc[i]=c[i]+a[i][j]*b[j];\n\t\t\t}\n\t\t}\n\n\t\tfor(int data:c){\n\t\t\tSystem.out.println(data);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int[][] a = new int[n][m]; int[] b = new int[m]; int[] c = new int[n]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ a[i][j]=scan.nextInt(); } } for(int i=0;i<m;i++){ b[i]=scan.nextInt(); } for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ c[i]=c[i]+a[i][j]*b[j]; } } for(int data:c){ System.out.println(data); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 18, 18, 13, 13, 13, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 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 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 62, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 80, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 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 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 112, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 6, 142 ], [ 142, 143 ] ]
[ "\nimport java.util.*;\nclass Main {\n public static void main(String... args) {\n Scanner scan = new Scanner(System.in);\n int vertical = scan.nextInt();\n int horizon = scan.nextInt();\n int[][] container = new int[vertical][horizon];\n for(int v = 0; v < vertical; v++) {\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }\n for(int h = 0; h < horizon; h++) {\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }\n for(int v = 0; v < vertical; v++) {\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String... args) {\n Scanner scan = new Scanner(System.in);\n int vertical = scan.nextInt();\n int horizon = scan.nextInt();\n int[][] container = new int[vertical][horizon];\n for(int v = 0; v < vertical; v++) {\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }\n for(int h = 0; h < horizon; h++) {\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }\n for(int v = 0; v < vertical; v++) {\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }\n }\n}", "Main", "public static void main(String... args) {\n Scanner scan = new Scanner(System.in);\n int vertical = scan.nextInt();\n int horizon = scan.nextInt();\n int[][] container = new int[vertical][horizon];\n for(int v = 0; v < vertical; v++) {\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }\n for(int h = 0; h < horizon; h++) {\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }\n for(int v = 0; v < vertical; v++) {\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int vertical = scan.nextInt();\n int horizon = scan.nextInt();\n int[][] container = new int[vertical][horizon];\n for(int v = 0; v < vertical; v++) {\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }\n for(int h = 0; h < horizon; h++) {\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }\n for(int v = 0; v < vertical; v++) {\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int vertical = scan.nextInt();", "vertical", "scan.nextInt()", "scan.nextInt", "scan", "int horizon = scan.nextInt();", "horizon", "scan.nextInt()", "scan.nextInt", "scan", "int[][] container = new int[vertical][horizon];", "container", "new int[vertical][horizon]", "vertical", "horizon", "for(int v = 0; v < vertical; v++) {\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }", "int v = 0;", "int v = 0;", "v", "0", "v < vertical", "v", "vertical", "v++", "v++", "v", "{\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }", "{\n for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }\n }", "for (int h = 0; h < horizon; h++) {\n container[v][h] = scan.nextInt();\n }", "int h = 0;", "int h = 0;", "h", "0", "h < horizon", "h", "horizon", "h++", "h++", "h", "{\n container[v][h] = scan.nextInt();\n }", "{\n container[v][h] = scan.nextInt();\n }", "container[v][h] = scan.nextInt()", "container[v][h]", "container[v]", "container", "v", "h", "scan.nextInt()", "scan.nextInt", "scan", "for(int h = 0; h < horizon; h++) {\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }", "int h = 0;", "int h = 0;", "h", "0", "h < horizon", "h", "horizon", "h++", "h++", "h", "{\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }", "{\n int multi = scan.nextInt();\n for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }\n }", "int multi = scan.nextInt();", "multi", "scan.nextInt()", "scan.nextInt", "scan", "for (int v = 0; v < vertical; v++) {\n container[v][h] *= multi;\n }", "int v = 0;", "int v = 0;", "v", "0", "v < vertical", "v", "vertical", "v++", "v++", "v", "{\n container[v][h] *= multi;\n }", "{\n container[v][h] *= multi;\n }", "container[v][h] *= multi", "container[v][h]", "container[v]", "container", "v", "h", "multi", "for(int v = 0; v < vertical; v++) {\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }", "int v = 0;", "int v = 0;", "v", "0", "v < vertical", "v", "vertical", "v++", "v++", "v", "{\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }", "{\n int total = 0;\n for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }\n System.out.println(total);\n }", "int total = 0;", "total", "0", "for (int h = 0; h < horizon; h++) {\n total += container[v][h];\n }", "int h = 0;", "int h = 0;", "h", "0", "h < horizon", "h", "horizon", "h++", "h++", "h", "{\n total += container[v][h];\n }", "{\n total += container[v][h];\n }", "total += container[v][h]", "total", "container[v][h]", "container[v]", "container", "v", "h", "System.out.println(total)", "System.out.println", "System.out", "System", "System.out", "total", "String... args", "args" ]
import java.util.*; class Main { public static void main(String... args) { Scanner scan = new Scanner(System.in); int vertical = scan.nextInt(); int horizon = scan.nextInt(); int[][] container = new int[vertical][horizon]; for(int v = 0; v < vertical; v++) { for (int h = 0; h < horizon; h++) { container[v][h] = scan.nextInt(); } } for(int h = 0; h < horizon; h++) { int multi = scan.nextInt(); for (int v = 0; v < vertical; v++) { container[v][h] *= multi; } } for(int v = 0; v < vertical; v++) { int total = 0; for (int h = 0; h < horizon; h++) { total += container[v][h]; } System.out.println(total); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 165, 5 ], [ 165, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 45 ], [ 45, 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 ], [ 64, 65 ], [ 65, 66 ], [ 62, 67 ], [ 59, 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 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 114, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 132, 143 ], [ 144, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 147, 153 ], [ 153, 154 ], [ 153, 155 ], [ 128, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 6, 162 ], [ 162, 163 ], [ 0, 164 ], [ 164, 165 ], [ 164, 166 ] ]
[ "import java.io.*;\n\npublic class Main{\npublic static void main(String[] args) throws IOException{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString[] str = br.readLine().split(\" \");\n\tint n = Integer.parseInt(str[0]);\n\tint m = Integer.parseInt(str[1]);\n\tint[][] MatA = new int[n][m];\n\tint[] MatB = new int[m];\n\tint ans;\n\n\tfor(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}\n\n\tfor(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}\n\n\tfor(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}\n}", "import java.io.*;", "io.*", "java", "public class Main{\npublic static void main(String[] args) throws IOException{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString[] str = br.readLine().split(\" \");\n\tint n = Integer.parseInt(str[0]);\n\tint m = Integer.parseInt(str[1]);\n\tint[][] MatA = new int[n][m];\n\tint[] MatB = new int[m];\n\tint ans;\n\n\tfor(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}\n\n\tfor(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}\n\n\tfor(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}\n}", "Main", "public static void main(String[] args) throws IOException{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString[] str = br.readLine().split(\" \");\n\tint n = Integer.parseInt(str[0]);\n\tint m = Integer.parseInt(str[1]);\n\tint[][] MatA = new int[n][m];\n\tint[] MatB = new int[m];\n\tint ans;\n\n\tfor(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}\n\n\tfor(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}\n\n\tfor(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "main", "{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString[] str = br.readLine().split(\" \");\n\tint n = Integer.parseInt(str[0]);\n\tint m = Integer.parseInt(str[1]);\n\tint[][] MatA = new int[n][m];\n\tint[] MatB = new int[m];\n\tint ans;\n\n\tfor(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}\n\n\tfor(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}\n\n\tfor(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(str[0]);", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int m = Integer.parseInt(str[1]);", "m", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int[][] MatA = new int[n][m];", "MatA", "new int[n][m]", "n", "m", "int[] MatB = new int[m];", "MatB", "new int[m]", "m", "int ans;", "ans", "for(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}", "{\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}", "String[] strx = br.readLine().split(\" \");", "strx", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}", "{\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}", "MatA[i][j] = Integer.parseInt(strx[j])", "MatA[i][j]", "MatA[i]", "MatA", "i", "j", "Integer.parseInt(strx[j])", "Integer.parseInt", "Integer", "strx[j]", "strx", "j", "for(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}", "{\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}", "MatB[k] = Integer.parseInt(br.readLine())", "MatB[k]", "MatB", "k", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "int x = 0;", "int x = 0;", "x", "0", "x < n", "x", "n", "x ++", "x ++", "x", "{\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "{\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "ans = 0", "ans", "0", "for(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}", "int y = 0;", "int y = 0;", "y", "0", "y < m", "y", "m", "y++", "y++", "y", "{\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}", "{\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}", "ans += MatA[x][y] * MatB[y]", "ans", "MatA[x][y] * MatB[y]", "MatA[x][y]", "MatA[x]", "MatA", "x", "y", "MatB[y]", "MatB", "y", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\npublic static void main(String[] args) throws IOException{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString[] str = br.readLine().split(\" \");\n\tint n = Integer.parseInt(str[0]);\n\tint m = Integer.parseInt(str[1]);\n\tint[][] MatA = new int[n][m];\n\tint[] MatB = new int[m];\n\tint ans;\n\n\tfor(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}\n\n\tfor(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}\n\n\tfor(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}\n}", "public class Main{\npublic static void main(String[] args) throws IOException{\n\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\tString[] str = br.readLine().split(\" \");\n\tint n = Integer.parseInt(str[0]);\n\tint m = Integer.parseInt(str[1]);\n\tint[][] MatA = new int[n][m];\n\tint[] MatB = new int[m];\n\tint ans;\n\n\tfor(int i = 0; i < n; i++){\n\t\tString[] strx = br.readLine().split(\" \");\n\t\tfor(int j = 0; j < m; j++){\n\t\t\tMatA[i][j] = Integer.parseInt(strx[j]);\n\t\t}\n\t}\n\n\tfor(int k = 0; k < m; k++){\n\t\tMatB[k] = Integer.parseInt(br.readLine());\n\t}\n\n\tfor(int x = 0; x < n; x ++){\n\t\tans = 0;\n\t\tfor(int y = 0; y < m; y++){\n\t\t\tans += MatA[x][y] * MatB[y];\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int n = Integer.parseInt(str[0]); int m = Integer.parseInt(str[1]); int[][] MatA = new int[n][m]; int[] MatB = new int[m]; int ans; for(int i = 0; i < n; i++){ String[] strx = br.readLine().split(" "); for(int j = 0; j < m; j++){ MatA[i][j] = Integer.parseInt(strx[j]); } } for(int k = 0; k < m; k++){ MatB[k] = Integer.parseInt(br.readLine()); } for(int x = 0; x < n; x ++){ ans = 0; for(int y = 0; y < m; y++){ ans += MatA[x][y] * MatB[y]; } System.out.println(ans); } } }
[ 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, 4, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 13, 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 ], [ 208, 8 ], [ 208, 9 ], [ 9, 10 ], [ 9, 11 ], [ 208, 12 ], [ 12, 13 ], [ 12, 14 ], [ 208, 15 ], [ 15, 16 ], [ 15, 17 ], [ 208, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 60, 66 ], [ 66, 67 ], [ 20, 68 ], [ 68, 69 ], [ 68, 70 ], [ 20, 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 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 20, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 107, 118 ], [ 119, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 128, 130 ], [ 103, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 208, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 135, 141 ], [ 141, 142 ], [ 208, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 149, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 208, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 163, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 162, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 208, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 184, 187 ], [ 187, 188 ], [ 208, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 196, 197 ], [ 208, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 205, 206 ], [ 0, 207 ], [ 207, 208 ], [ 207, 209 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n void run() {\n int N = readInt();\n int M = readInt();\n int[][] A = new int[N][M];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }\n int[] b = new int[M];\n for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }\n for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }\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 M = readInt();\n int[][] A = new int[N][M];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }\n int[] b = new int[M];\n for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }\n for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }\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 M = readInt();\n int[][] A = new int[N][M];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }\n int[] b = new int[M];\n for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }\n for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }\n }", "run", "{\n int N = readInt();\n int M = readInt();\n int[][] A = new int[N][M];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }\n int[] b = new int[M];\n for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }\n for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }\n }", "int N = readInt();", "N", "readInt()", "readInt", "int M = readInt();", "M", "readInt()", "readInt", "int[][] A = new int[N][M];", "A", "new int[N][M]", "N", "M", "for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }", "{\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }", "for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < M", "j", "M", "j++", "j++", "j", "{\n A[i][j] = readInt();\n }", "{\n A[i][j] = readInt();\n }", "A[i][j] = readInt()", "A[i][j]", "A[i]", "A", "i", "j", "readInt()", "readInt", "int[] b = new int[M];", "b", "new int[M]", "M", "for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < M", "i", "M", "i++", "i++", "i", "{\n b[i] = readInt();\n }", "{\n b[i] = readInt();\n }", "b[i] = readInt()", "b[i]", "b", "i", "readInt()", "readInt", "for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }", "{\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }", "int ans = 0;", "ans", "0", "for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < M", "j", "M", "j++", "j++", "j", "{\n ans += A[i][j] * b[j];\n }", "{\n ans += A[i][j] * b[j];\n }", "ans += A[i][j] * b[j]", "ans", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "sysout.println(ans)", "sysout.println", "sysout", "ans", "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 M = readInt();\n int[][] A = new int[N][M];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }\n int[] b = new int[M];\n for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }\n for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }\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 M = readInt();\n int[][] A = new int[N][M];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < M; j++) {\n A[i][j] = readInt();\n }\n }\n int[] b = new int[M];\n for (int i = 0; i < M; i++) {\n b[i] = readInt();\n }\n for (int i = 0; i < N; i++) {\n int ans = 0;\n for (int j = 0; j < M; j++) {\n ans += A[i][j] * b[j];\n }\n sysout.println(ans);\n }\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 M = readInt(); int[][] A = new int[N][M]; for (int i = 0; i < N; i++) { for (int j = 0; j < M; j++) { A[i][j] = readInt(); } } int[] b = new int[M]; for (int i = 0; i < M; i++) { b[i] = readInt(); } for (int i = 0; i < N; i++) { int ans = 0; for (int j = 0; j < M; j++) { ans += A[i][j] * b[j]; } sysout.println(ans); } } 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, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 2, 13, 17, 2, 13, 17, 41, 13, 20, 2, 13, 17, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 297, 20 ], [ 297, 21 ], [ 21, 22 ], [ 297, 23 ], [ 23, 24 ], [ 297, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 40, 41 ], [ 41, 42 ], [ 25, 43 ], [ 43, 44 ], [ 297, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 60, 61 ], [ 60, 62 ], [ 63, 64 ], [ 63, 65 ], [ 66, 67 ], [ 66, 68 ], [ 49, 69 ], [ 69, 70 ], [ 69, 71 ], [ 72, 73 ], [ 72, 74 ], [ 49, 75 ], [ 75, 76 ], [ 75, 77 ], [ 78, 79 ], [ 78, 80 ], [ 49, 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 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 49, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 49, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 149, 157 ], [ 157, 158 ], [ 158, 159 ], [ 149, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 165, 171 ], [ 171, 172 ], [ 171, 173 ], [ 49, 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 ], [ 188, 189 ], [ 187, 190 ], [ 190, 191 ], [ 190, 192 ], [ 297, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 193, 197 ], [ 197, 198 ], [ 193, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 199, 205 ], [ 205, 206 ], [ 193, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 210, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 209, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 224, 227 ], [ 227, 228 ], [ 228, 229 ], [ 193, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 234, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 233, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 232, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 247, 250 ], [ 250, 251 ], [ 251, 252 ], [ 193, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 256, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 255, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 193, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 277, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 276, 285 ], [ 285, 286 ], [ 286, 287 ], [ 286, 288 ], [ 275, 289 ], [ 289, 290 ], [ 290, 291 ], [ 291, 292 ], [ 290, 293 ], [ 293, 294 ], [ 294, 295 ], [ 0, 296 ], [ 296, 297 ], [ 296, 298 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }\n// End Solution\n}", "Solution", "void solve() throws IOException {\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }", "solve", "{\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int m = in.nextInt();", "m", "in.nextInt()", "in.nextInt", "in", "int[][] a = new int[n + 1][m + 1];", "a", "new int[n + 1][m + 1]", "n + 1", "n", "1", "m + 1", "m", "1", "int[] b = new int[m + 1];", "b", "new int[m + 1]", "m + 1", "m", "1", "int[] c = new int[n + 1];", "c", "new int[n + 1]", "n + 1", "n", "1", "for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }", "{\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }", "for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }", "int j = 1;", "int j = 1;", "j", "1", "j <= m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = in.nextInt();\n }", "{\n a[i][j] = in.nextInt();\n }", "a[i][j] = in.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "in.nextInt()", "in.nextInt", "in", "for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= m", "i", "m", "i++", "i++", "i", "{\n b[i] = in.nextInt();\n }", "{\n b[i] = in.nextInt();\n }", "b[i] = in.nextInt()", "b[i]", "b", "i", "in.nextInt()", "in.nextInt", "in", "for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }", "{\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }", "for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];", "int j = 1;", "int j = 1;", "j", "1", "j <= m", "j", "m", "j++", "j++", "j", "c[i] += a[i][j]* b[j];", "c[i] += a[i][j]* b[j]", "c[i]", "c", "i", "a[i][j]* b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n out.println(c[i]);\n }", "{\n out.println(c[i]);\n }", "out.println(c[i])", "out.println", "out", "c[i]", "c", "i", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n int n = in.nextInt();\n int m = in.nextInt();\n \n int[][] a = new int[n + 1][m + 1];\n int[] b = new int[m + 1];\n int[] c = new int[n + 1];\n\n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++) {\n a[i][j] = in.nextInt();\n }\n }\n \n for (int i = 1; i <= m; i++) {\n b[i] = in.nextInt();\n }\n \n for (int i = 1; i <= n; i++) {\n for (int j = 1; j <= m; j++)\n c[i] += a[i][j]* b[j];\n }\n \n for (int i = 1; i <= n; i++) {\n out.println(c[i]);\n }\n \n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { int n = in.nextInt(); int m = in.nextInt(); int[][] a = new int[n + 1][m + 1]; int[] b = new int[m + 1]; int[] c = new int[n + 1]; for (int i = 1; i <= n; i++) { for (int j = 1; j <= m; j++) { a[i][j] = in.nextInt(); } } for (int i = 1; i <= m; i++) { b[i] = in.nextInt(); } for (int i = 1; i <= n; i++) { for (int j = 1; j <= m; j++) c[i] += a[i][j]* b[j]; } for (int i = 1; i <= n; i++) { out.println(c[i]); } // End solve() } // End Solution } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 20, 13, 13, 0, 13, 20, 13, 0, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 80, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 152, 153 ], [ 152, 154 ], [ 128, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 6, 163 ], [ 163, 164 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n\tpublic static void main(String args[]){\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint m, n;\n\t\tint a1, a2, a3, a4;\n\t\tint c;\n\t\tint a[][];\n\t\tint b[];\n\t\tint s[];\n\t\t\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\ta = new int[n][m];\n\t\tb = new int[m];\n\t\ts = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}\n\t\t}\n\t\tfor(int k = 0; k < m;k++){\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n ;i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}\n\t\t\n\t\t\t\n\t}\n}\t", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String args[]){\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint m, n;\n\t\tint a1, a2, a3, a4;\n\t\tint c;\n\t\tint a[][];\n\t\tint b[];\n\t\tint s[];\n\t\t\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\ta = new int[n][m];\n\t\tb = new int[m];\n\t\ts = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}\n\t\t}\n\t\tfor(int k = 0; k < m;k++){\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n ;i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}\n\t\t\n\t\t\t\n\t}\n}", "Main", "public static void main(String args[]){\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint m, n;\n\t\tint a1, a2, a3, a4;\n\t\tint c;\n\t\tint a[][];\n\t\tint b[];\n\t\tint s[];\n\t\t\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\ta = new int[n][m];\n\t\tb = new int[m];\n\t\ts = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}\n\t\t}\n\t\tfor(int k = 0; k < m;k++){\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n ;i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}\n\t\t\n\t\t\t\n\t}", "main", "{\t\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint m, n;\n\t\tint a1, a2, a3, a4;\n\t\tint c;\n\t\tint a[][];\n\t\tint b[];\n\t\tint s[];\n\t\t\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\ta = new int[n][m];\n\t\tb = new int[m];\n\t\ts = new int[n];\n\t\t\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}\n\t\t}\n\t\tfor(int k = 0; k < m;k++){\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < n ;i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}\n\t\t\n\t\t\t\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int m", "m", "n;", "n", "int a1", "a1", "a2", "a2", "a3", "a3", "a4;", "a4", "int c;", "c", "int a[][];", "a", "int b[];", "b", "int s[];", "s", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "a = new int[n][m]", "a", "new int[n][m]", "n", "m", "b = new int[m]", "b", "new int[m]", "m", "s = new int[n]", "s", "new int[n]", "n", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\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\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}", "{\n\t\t\t\ta1 = scan.nextInt();\n\t\t\t\ta[i][j] = a1;\n\t\t\t}", "a1 = scan.nextInt()", "a1", "scan.nextInt()", "scan.nextInt", "scan", "a[i][j] = a1", "a[i][j]", "a[i]", "a", "i", "j", "a1", "for(int k = 0; k < m;k++){\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}", "{\n\t\t\tc = scan.nextInt();\n\t\t\tb[k] = c;\n\t\t}", "c = scan.nextInt()", "c", "scan.nextInt()", "scan.nextInt", "scan", "b[k] = c", "b[k]", "b", "k", "c", "for(int i = 0; i < n ;i++){\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}\n\t\t\tSystem.out.println(s[i]);\n\t\t}", "for(int j = 0; j < m; j++){\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\ts[i] += a[i][j] * b[j];\n\t\t\t}", "s[i] += a[i][j] * b[j]", "s[i]", "s", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(s[i])", "System.out.println", "System.out", "System", "System.out", "s[i]", "s", "i", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]){ Scanner scan = new Scanner(System.in); int m, n; int a1, a2, a3, a4; int c; int a[][]; int b[]; int s[]; n = scan.nextInt(); m = scan.nextInt(); a = new int[n][m]; b = new int[m]; s = new int[n]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ a1 = scan.nextInt(); a[i][j] = a1; } } for(int k = 0; k < m;k++){ c = scan.nextInt(); b[k] = c; } for(int i = 0; i < n ;i++){ for(int j = 0; j < m; j++){ s[i] += a[i][j] * b[j]; } System.out.println(s[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 172, 11 ], [ 172, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 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 ], [ 67, 68 ], [ 68, 69 ], [ 65, 70 ], [ 62, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 84, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 93, 94 ], [ 93, 95 ], [ 14, 96 ], [ 96, 97 ], [ 96, 98 ], [ 14, 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 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 121, 122 ], [ 14, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 123, 134 ], [ 135, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 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 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 160, 162 ], [ 135, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 12, 169 ], [ 169, 170 ], [ 0, 171 ], [ 171, 172 ], [ 171, 173 ] ]
[ "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\t//\tScanner sc = new Scanner(System.in);//入力\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t//渡される定数\n\t\tString[] Aandb = (input.readLine()).split(\"\\\\s\");//入力数値をスペース前後で分割\n\t\tint n = Integer.parseInt(Aandb[0]);//配列n(前)\n\t\tint m = Integer.parseInt(Aandb[1]);//配列m(後)\n\n\t\t//CはAとbの掛け算\n\t\t//for(int i =1;i<m;i++){\n\t\t//C +=A*b}\n\n\t\t//n*mである行列Aの計算\n\t\tint[][] A = new int[n][m];//Aの要素nとm\n\t\tString[] z = null; //実行データ用 文字列として使っているため0でなくnull\n\t\tfor (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}\n\n\t\t//m*1であるベクトルbの計算\n\t\tint[] b = new int[m];//bの要素m\n\t\tfor (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}\n\n\t\t//A*bの積C\n\t\tfor (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\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", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t//\tScanner sc = new Scanner(System.in);//入力\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t//渡される定数\n\t\tString[] Aandb = (input.readLine()).split(\"\\\\s\");//入力数値をスペース前後で分割\n\t\tint n = Integer.parseInt(Aandb[0]);//配列n(前)\n\t\tint m = Integer.parseInt(Aandb[1]);//配列m(後)\n\n\t\t//CはAとbの掛け算\n\t\t//for(int i =1;i<m;i++){\n\t\t//C +=A*b}\n\n\t\t//n*mである行列Aの計算\n\t\tint[][] A = new int[n][m];//Aの要素nとm\n\t\tString[] z = null; //実行データ用 文字列として使っているため0でなくnull\n\t\tfor (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}\n\n\t\t//m*1であるベクトルbの計算\n\t\tint[] b = new int[m];//bの要素m\n\t\tfor (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}\n\n\t\t//A*bの積C\n\t\tfor (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\t//\tScanner sc = new Scanner(System.in);//入力\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t//渡される定数\n\t\tString[] Aandb = (input.readLine()).split(\"\\\\s\");//入力数値をスペース前後で分割\n\t\tint n = Integer.parseInt(Aandb[0]);//配列n(前)\n\t\tint m = Integer.parseInt(Aandb[1]);//配列m(後)\n\n\t\t//CはAとbの掛け算\n\t\t//for(int i =1;i<m;i++){\n\t\t//C +=A*b}\n\n\t\t//n*mである行列Aの計算\n\t\tint[][] A = new int[n][m];//Aの要素nとm\n\t\tString[] z = null; //実行データ用 文字列として使っているため0でなくnull\n\t\tfor (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}\n\n\t\t//m*1であるベクトルbの計算\n\t\tint[] b = new int[m];//bの要素m\n\t\tfor (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}\n\n\t\t//A*bの積C\n\t\tfor (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}\n\t}", "main", "{\n\n\t\t//\tScanner sc = new Scanner(System.in);//入力\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t//渡される定数\n\t\tString[] Aandb = (input.readLine()).split(\"\\\\s\");//入力数値をスペース前後で分割\n\t\tint n = Integer.parseInt(Aandb[0]);//配列n(前)\n\t\tint m = Integer.parseInt(Aandb[1]);//配列m(後)\n\n\t\t//CはAとbの掛け算\n\t\t//for(int i =1;i<m;i++){\n\t\t//C +=A*b}\n\n\t\t//n*mである行列Aの計算\n\t\tint[][] A = new int[n][m];//Aの要素nとm\n\t\tString[] z = null; //実行データ用 文字列として使っているため0でなくnull\n\t\tfor (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}\n\n\t\t//m*1であるベクトルbの計算\n\t\tint[] b = new int[m];//bの要素m\n\t\tfor (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}\n\n\t\t//A*bの積C\n\t\tfor (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}\n\t}", "BufferedReader input = new BufferedReader(new InputStreamReader(System.in));", "input", "new BufferedReader(new InputStreamReader(System.in))", "String[] Aandb = (input.readLine()).split(\"\\\\s\");", "Aandb", "(input.readLine()).split(\"\\\\s\")", "(input.readLine()).split", "(input.readLine())", "input.readLine", "input", "\"\\\\s\"", "int n = Integer.parseInt(Aandb[0]);", "n", "Integer.parseInt(Aandb[0])", "Integer.parseInt", "Integer", "Aandb[0]", "Aandb", "0", "int m = Integer.parseInt(Aandb[1]);", "m", "Integer.parseInt(Aandb[1])", "Integer.parseInt", "Integer", "Aandb[1]", "Aandb", "1", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "String[] z = null;", "z", "null", "for (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}", "{//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}", "z = (input.readLine()).split(\"\\\\s\")", "z", "(input.readLine()).split(\"\\\\s\")", "(input.readLine()).split", "(input.readLine())", "input.readLine", "input", "\"\\\\s\"", "for (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}", "{//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}", "A[i][j] = Integer.parseInt(z[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(z[j])", "Integer.parseInt", "Integer", "z[j]", "z", "j", "int[] b = new int[m];", "b", "new int[m]", "m", "for (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}", "{\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}", "b[k] = Integer.parseInt(input.readLine())", "b[k]", "b", "k", "Integer.parseInt(input.readLine())", "Integer.parseInt", "Integer", "input.readLine()", "input.readLine", "input", "for (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}", "int l = 0;", "int l = 0;", "l", "0", "l < n", "l", "n", "l++", "l++", "l", "{\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}", "{\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}", "int C = 0;", "C", "0", "for (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}", "int s = 0;", "int s = 0;", "s", "0", "s < m", "s", "m", "s++", "s++", "s", "{\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}", "{\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}", "C += (A[l][s] * b[s])", "C", "(A[l][s] * b[s])", "A[l][s]", "A[l]", "A", "l", "s", "b[s]", "b", "s", "System.out.println(C)", "System.out.println", "System.out", "System", "System.out", "C", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t//\tScanner sc = new Scanner(System.in);//入力\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t//渡される定数\n\t\tString[] Aandb = (input.readLine()).split(\"\\\\s\");//入力数値をスペース前後で分割\n\t\tint n = Integer.parseInt(Aandb[0]);//配列n(前)\n\t\tint m = Integer.parseInt(Aandb[1]);//配列m(後)\n\n\t\t//CはAとbの掛け算\n\t\t//for(int i =1;i<m;i++){\n\t\t//C +=A*b}\n\n\t\t//n*mである行列Aの計算\n\t\tint[][] A = new int[n][m];//Aの要素nとm\n\t\tString[] z = null; //実行データ用 文字列として使っているため0でなくnull\n\t\tfor (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}\n\n\t\t//m*1であるベクトルbの計算\n\t\tint[] b = new int[m];//bの要素m\n\t\tfor (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}\n\n\t\t//A*bの積C\n\t\tfor (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\t//\tScanner sc = new Scanner(System.in);//入力\n\t\tBufferedReader input = new BufferedReader(new InputStreamReader(System.in));\n\n\t\t//渡される定数\n\t\tString[] Aandb = (input.readLine()).split(\"\\\\s\");//入力数値をスペース前後で分割\n\t\tint n = Integer.parseInt(Aandb[0]);//配列n(前)\n\t\tint m = Integer.parseInt(Aandb[1]);//配列m(後)\n\n\t\t//CはAとbの掛け算\n\t\t//for(int i =1;i<m;i++){\n\t\t//C +=A*b}\n\n\t\t//n*mである行列Aの計算\n\t\tint[][] A = new int[n][m];//Aの要素nとm\n\t\tString[] z = null; //実行データ用 文字列として使っているため0でなくnull\n\t\tfor (int i = 0; i < n; i++) {//nのループ\n\t\t\tz = (input.readLine()).split(\"\\\\s\");//入力を半角スペースで分轄\n\t\t\tfor (int j = 0; j < m; j++) {//mのループ\n\t\t\t\tA[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換\n\t\t\t}\n\t\t}\n\n\t\t//m*1であるベクトルbの計算\n\t\tint[] b = new int[m];//bの要素m\n\t\tfor (int k = 0; k < m; k++) {\n\t\t\tb[k] = Integer.parseInt(input.readLine());//文字列から数値に変換\n\n\t\t}\n\n\t\t//A*bの積C\n\t\tfor (int l = 0; l < n; l++) {\n\t\t\tint C = 0;//合計の初期化\n\t\t\tfor (int s = 0; s < m; s++){\n\t\t\t\tC += (A[l][s] * b[s]);\n\t\t\t}\n\t\t\tSystem.out.println(C);//出力\n\t\t}\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 { // Scanner sc = new Scanner(System.in);//入力 BufferedReader input = new BufferedReader(new InputStreamReader(System.in)); //渡される定数 String[] Aandb = (input.readLine()).split("\\s");//入力数値をスペース前後で分割 int n = Integer.parseInt(Aandb[0]);//配列n(前) int m = Integer.parseInt(Aandb[1]);//配列m(後) //CはAとbの掛け算 //for(int i =1;i<m;i++){ //C +=A*b} //n*mである行列Aの計算 int[][] A = new int[n][m];//Aの要素nとm String[] z = null; //実行データ用 文字列として使っているため0でなくnull for (int i = 0; i < n; i++) {//nのループ z = (input.readLine()).split("\\s");//入力を半角スペースで分轄 for (int j = 0; j < m; j++) {//mのループ A[i][j] = Integer.parseInt(z[j]);//文字列から数値に変換 } } //m*1であるベクトルbの計算 int[] b = new int[m];//bの要素m for (int k = 0; k < m; k++) { b[k] = Integer.parseInt(input.readLine());//文字列から数値に変換 } //A*bの積C for (int l = 0; l < n; l++) { int C = 0;//合計の初期化 for (int s = 0; s < m; s++){ C += (A[l][s] * b[s]); } System.out.println(C);//出力 } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 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 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 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 ], [ 64, 65 ], [ 65, 66 ], [ 62, 67 ], [ 59, 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 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 14, 93 ], [ 93, 94 ], [ 93, 95 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 120, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 153, 159 ], [ 159, 160 ], [ 159, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 12, 168 ], [ 168, 169 ] ]
[ "//???????????????????????????????????°??????\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\t//??????????????????????????????????????°??¨?????°?????\\???\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint rowNum = Integer.parseInt(str[0]);\n\t\tint colNum = Integer.parseInt(str[1]);\n\t\t\n\t\tint[][] arrayA = new int[rowNum][colNum];\t\t\t //??????A?????????????´????????????????arrayA\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] arrayB = new int[colNum];\t\t\t\t\t//??????B?????????????´????????????????arrayB\n\t\tfor(int i=0; i<colNum; i++) {\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\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", "class Main {\n\tpublic static void main(String[] args) throws IOException{\n\t\t\n\t\t//??????????????????????????????????????°??¨?????°?????\\???\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint rowNum = Integer.parseInt(str[0]);\n\t\tint colNum = Integer.parseInt(str[1]);\n\t\t\n\t\tint[][] arrayA = new int[rowNum][colNum];\t\t\t //??????A?????????????´????????????????arrayA\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] arrayB = new int[colNum];\t\t\t\t\t//??????B?????????????´????????????????arrayB\n\t\tfor(int i=0; i<colNum; i++) {\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\t\n\t\t//??????????????????????????????????????°??¨?????°?????\\???\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint rowNum = Integer.parseInt(str[0]);\n\t\tint colNum = Integer.parseInt(str[1]);\n\t\t\n\t\tint[][] arrayA = new int[rowNum][colNum];\t\t\t //??????A?????????????´????????????????arrayA\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] arrayB = new int[colNum];\t\t\t\t\t//??????B?????????????´????????????????arrayB\n\t\tfor(int i=0; i<colNum; i++) {\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\n\t\t}\n\n\t}", "main", "{\n\t\t\n\t\t//??????????????????????????????????????°??¨?????°?????\\???\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\t\t\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint rowNum = Integer.parseInt(str[0]);\n\t\tint colNum = Integer.parseInt(str[1]);\n\t\t\n\t\tint[][] arrayA = new int[rowNum][colNum];\t\t\t //??????A?????????????´????????????????arrayA\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[] arrayB = new int[colNum];\t\t\t\t\t//??????B?????????????´????????????????arrayB\n\t\tfor(int i=0; i<colNum; i++) {\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\t\n\t\tfor(int i=0; i<rowNum; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\n\t\t}\n\n\t}", "BufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int rowNum = Integer.parseInt(str[0]);", "rowNum", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "int colNum = Integer.parseInt(str[1]);", "colNum", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "int[][] arrayA = new int[rowNum][colNum];", "arrayA", "new int[rowNum][colNum]", "rowNum", "colNum", "for(int i=0; i<rowNum; i++) {\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<rowNum", "i", "rowNum", "i++", "i++", "i", "{\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] arrayAStr = br.readLine().split(\" \");\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}\n\t\t}", "String[] arrayAStr = br.readLine().split(\" \");", "arrayAStr", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0; j<colNum; j++) {\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<colNum", "j", "colNum", "j++", "j++", "j", "{\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}", "{\n\t\t\t\tarrayA[i][j]=Integer.parseInt(arrayAStr[j]);\n\t\t\t}", "arrayA[i][j]=Integer.parseInt(arrayAStr[j])", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "Integer.parseInt(arrayAStr[j])", "Integer.parseInt", "Integer", "arrayAStr[j]", "arrayAStr", "j", "int[] arrayB = new int[colNum];", "arrayB", "new int[colNum]", "colNum", "for(int i=0; i<colNum; i++) {\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<colNum", "i", "colNum", "i++", "i++", "i", "{\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}", "{\n\t\t\tarrayB[i] = Integer.parseInt(br.readLine());\n\t\t}", "arrayB[i] = Integer.parseInt(br.readLine())", "arrayB[i]", "arrayB", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0; i<rowNum; i++) {\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<rowNum", "i", "rowNum", "i++", "i++", "i", "{\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\n\t\t}", "{\n\t\t\tint sum = 0;\n\t\t\tfor(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}\n\t\t\t//????????????\n\t\t\tSystem.out.println(sum);\n\t\t}", "int sum = 0;", "sum", "0", "for(int j=0; j<colNum; j++) {\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<colNum", "j", "colNum", "j++", "j++", "j", "{\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}", "{\n\t\t\t\tsum = sum +arrayA[i][j]*arrayB[j];\n\t\t\t}", "sum = sum +arrayA[i][j]*arrayB[j]", "sum", "sum +arrayA[i][j]*arrayB[j]", "sum", "arrayA[i][j]*arrayB[j]", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "arrayB[j]", "arrayB", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args" ]
//???????????????????????????????????°?????? import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main { public static void main(String[] args) throws IOException{ //??????????????????????????????????????°??¨?????°?????\??? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] str = br.readLine().split(" "); int rowNum = Integer.parseInt(str[0]); int colNum = Integer.parseInt(str[1]); int[][] arrayA = new int[rowNum][colNum]; //??????A?????????????´????????????????arrayA for(int i=0; i<rowNum; i++) { String[] arrayAStr = br.readLine().split(" "); for(int j=0; j<colNum; j++) { arrayA[i][j]=Integer.parseInt(arrayAStr[j]); } } int[] arrayB = new int[colNum]; //??????B?????????????´????????????????arrayB for(int i=0; i<colNum; i++) { arrayB[i] = Integer.parseInt(br.readLine()); } for(int i=0; i<rowNum; i++) { int sum = 0; for(int j=0; j<colNum; j++) { sum = sum +arrayA[i][j]*arrayB[j]; } //???????????? System.out.println(sum); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 154, 5 ], [ 154, 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 ], [ 23, 24 ], [ 24, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 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 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 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 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 113, 121 ], [ 121, 122 ], [ 122, 123 ], [ 113, 124 ], [ 125, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 134, 140 ], [ 140, 141 ], [ 140, 142 ], [ 112, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 6, 151 ], [ 151, 152 ], [ 0, 153 ], [ 153, 154 ], [ 153, 155 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\n\t\t\tint A[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\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\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\n\t\t\tint A[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\n\t\t\tint A[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\n\t\t\tint A[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int i;", "i", "int j;", "j", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int A[][] = new int[n][m];", "A", "new int[n][m]", "n", "m", "int b[] = new int[m];", "b", "new int[m]", "m", "int c[] = new int[n];", "c", "new int[n]", "n", "for(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}", "for(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}", "{\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}", "int a_ij = sc.nextInt();", "a_ij", "sc.nextInt()", "sc.nextInt", "sc", "A[i][j] = a_ij", "A[i][j]", "A[i]", "A", "i", "j", "a_ij", "for(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}", "{\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}", "int b_i = sc.nextInt();", "b_i", "sc.nextInt()", "sc.nextInt", "sc", "b[i] = b_i", "b[i]", "b", "i", "b_i", "for(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}", "{\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}", "for(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}", "{\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}", "c[i] = c[i] + A[i][j] * b[j]", "c[i]", "c", "i", "c[i] + A[i][j] * b[j]", "c[i]", "c", "i", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\n\t\t\tint A[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\n\t\t\tint A[][] = new int[n][m];\n\t\t\tint b[] = new int[m];\n\t\t\tint c[] = new int[n];\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tint a_ij = sc.nextInt();\n\t\t\t\t\tA[i][j] = a_ij;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < m; i++) {\n\t\t\t\tint b_i = sc.nextInt();\n\t\t\t\tb[i] = b_i;\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\t\t\t\tfor(j = 0; j < m; j++) {\n\t\t\t\t\tc[i] = c[i] + A[i][j] * b[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(c[i]);\n\t\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int i; int j; int n = sc.nextInt(); int m = sc.nextInt(); int A[][] = new int[n][m]; int b[] = new int[m]; int c[] = new int[n]; for(i = 0; i < n; i++) { for(j = 0; j < m; j++) { int a_ij = sc.nextInt(); A[i][j] = a_ij; } } for(i = 0; i < m; i++) { int b_i = sc.nextInt(); b[i] = b_i; } for(i = 0; i < n; i++) { for(j = 0; j < m; j++) { c[i] = c[i] + A[i][j] * b[j]; } System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 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 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 8, 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 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 125, 127 ], [ 100, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 6, 134 ], [ 134, 135 ], [ 0, 136 ], [ 136, 137 ], [ 136, 138 ] ]
[ "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();//3\n\t\tint m = sc.nextInt();//4\n\t\tint[][] list = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}\nint ans;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//3\n\t\tint m = sc.nextInt();//4\n\t\tint[][] list = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}\nint ans;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//3\n\t\tint m = sc.nextInt();//4\n\t\tint[][] list = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}\nint ans;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//3\n\t\tint m = sc.nextInt();//4\n\t\tint[][] list = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}\nint ans;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] list = new int[n][m];", "list", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\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\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}", "list[i][j] = sc.nextInt()", "list[i][j]", "list[i]", "list", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int[] list2 = new int[m];", "list2", "new int[m]", "m", "for (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}", "{\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}", "list2[i] = sc.nextInt()", "list2[i]", "list2", "i", "sc.nextInt()", "sc.nextInt", "sc", "int ans;", "ans", "for(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "{\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}", "ans = 0", "ans", "0", "for(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}", "{\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}", "ans += list[i][j] * list2[j]", "ans", "list[i][j] * list2[j]", "list[i][j]", "list[i]", "list", "i", "j", "list2[j]", "list2", "j", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "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();//3\n\t\tint m = sc.nextInt();//4\n\t\tint[][] list = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}\nint ans;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//3\n\t\tint m = sc.nextInt();//4\n\t\tint[][] list = new int[n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tlist[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] list2 = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tlist2[i] = sc.nextInt();\n\t\t}\nint ans;\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tans = 0;\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tans += list[i][j] * list2[j];\n\t\t\t}\n\t\t\tSystem.out.println(ans);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt();//3 int m = sc.nextInt();//4 int[][] list = new int[n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { list[i][j] = sc.nextInt(); } } int[] list2 = new int[m]; for (int i = 0; i < m; i++) { list2[i] = sc.nextInt(); } int ans; for(int i = 0; i < n; i++) { ans = 0; for(int j = 0; j < m; j++) { ans += list[i][j] * list2[j]; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 17, 41, 13, 20, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 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 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 8, 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 ], [ 101, 105 ], [ 105, 106 ], [ 106, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 121, 132 ], [ 133, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 138, 144 ], [ 144, 145 ], [ 144, 146 ], [ 8, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 147, 155 ], [ 155, 156 ], [ 156, 157 ], [ 147, 158 ], [ 159, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 6, 168 ], [ 168, 169 ] ]
[ "import java.util.Scanner;\nclass Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint[] sum=new int[101];\n\nint[][] h=new int[101][101];\nint[] m=new int[101];\nint a=scan.nextInt();\nfor(int d=0;d<a;d++){\nsum[d]=0;\n}\nint b=scan.nextInt();\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}\nfor(int d=0;d<b;d++){\nm[d]=scan.nextInt();\n}\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}\nfor(int c=0;c<a;c++){\nSystem.out.println(sum[c]);\n}\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint[] sum=new int[101];\n\nint[][] h=new int[101][101];\nint[] m=new int[101];\nint a=scan.nextInt();\nfor(int d=0;d<a;d++){\nsum[d]=0;\n}\nint b=scan.nextInt();\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}\nfor(int d=0;d<b;d++){\nm[d]=scan.nextInt();\n}\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}\nfor(int c=0;c<a;c++){\nSystem.out.println(sum[c]);\n}\n}\n}", "Main", "public static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint[] sum=new int[101];\n\nint[][] h=new int[101][101];\nint[] m=new int[101];\nint a=scan.nextInt();\nfor(int d=0;d<a;d++){\nsum[d]=0;\n}\nint b=scan.nextInt();\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}\nfor(int d=0;d<b;d++){\nm[d]=scan.nextInt();\n}\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}\nfor(int c=0;c<a;c++){\nSystem.out.println(sum[c]);\n}\n}", "main", "{\nScanner scan=new Scanner(System.in);\nint[] sum=new int[101];\n\nint[][] h=new int[101][101];\nint[] m=new int[101];\nint a=scan.nextInt();\nfor(int d=0;d<a;d++){\nsum[d]=0;\n}\nint b=scan.nextInt();\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}\nfor(int d=0;d<b;d++){\nm[d]=scan.nextInt();\n}\nfor(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}\nfor(int c=0;c<a;c++){\nSystem.out.println(sum[c]);\n}\n}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int[] sum=new int[101];", "sum", "new int[101]", "101", "int[][] h=new int[101][101];", "h", "new int[101][101]", "101", "101", "int[] m=new int[101];", "m", "new int[101]", "101", "int a=scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "for(int d=0;d<a;d++){\nsum[d]=0;\n}", "int d=0;", "int d=0;", "d", "0", "d<a", "d", "a", "d++", "d++", "d", "{\nsum[d]=0;\n}", "{\nsum[d]=0;\n}", "sum[d]=0", "sum[d]", "sum", "d", "0", "int b=scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "for(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}", "int c=0;", "int c=0;", "c", "0", "c<a", "c", "a", "c++", "c++", "c", "{\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}", "{\nfor(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}\n}", "for(int d=0;d<b;d++){\nh[c][d]=scan.nextInt();\n}", "int d=0;", "int d=0;", "d", "0", "d<b", "d", "b", "d++", "d++", "d", "{\nh[c][d]=scan.nextInt();\n}", "{\nh[c][d]=scan.nextInt();\n}", "h[c][d]=scan.nextInt()", "h[c][d]", "h[c]", "h", "c", "d", "scan.nextInt()", "scan.nextInt", "scan", "for(int d=0;d<b;d++){\nm[d]=scan.nextInt();\n}", "int d=0;", "int d=0;", "d", "0", "d<b", "d", "b", "d++", "d++", "d", "{\nm[d]=scan.nextInt();\n}", "{\nm[d]=scan.nextInt();\n}", "m[d]=scan.nextInt()", "m[d]", "m", "d", "scan.nextInt()", "scan.nextInt", "scan", "for(int c=0;c<a;c++){\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}", "int c=0;", "int c=0;", "c", "0", "c<a", "c", "a", "c++", "c++", "c", "{\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}", "{\nfor(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}\n}", "for(int d=0;d<b;d++){\nsum[c]+=h[c][d]*m[d];\n\n}", "int d=0;", "int d=0;", "d", "0", "d<b", "d", "b", "d++", "d++", "d", "{\nsum[c]+=h[c][d]*m[d];\n\n}", "{\nsum[c]+=h[c][d]*m[d];\n\n}", "sum[c]+=h[c][d]*m[d]", "sum[c]", "sum", "c", "h[c][d]*m[d]", "h[c][d]", "h[c]", "h", "c", "d", "m[d]", "m", "d", "for(int c=0;c<a;c++){\nSystem.out.println(sum[c]);\n}", "int c=0;", "int c=0;", "c", "0", "c<a", "c", "a", "c++", "c++", "c", "{\nSystem.out.println(sum[c]);\n}", "{\nSystem.out.println(sum[c]);\n}", "System.out.println(sum[c])", "System.out.println", "System.out", "System", "System.out", "sum[c]", "sum", "c", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); int[] sum=new int[101]; int[][] h=new int[101][101]; int[] m=new int[101]; int a=scan.nextInt(); for(int d=0;d<a;d++){ sum[d]=0; } int b=scan.nextInt(); for(int c=0;c<a;c++){ for(int d=0;d<b;d++){ h[c][d]=scan.nextInt(); } } for(int d=0;d<b;d++){ m[d]=scan.nextInt(); } for(int c=0;c<a;c++){ for(int d=0;d<b;d++){ sum[c]+=h[c][d]*m[d]; } } for(int c=0;c<a;c++){ System.out.println(sum[c]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 2, 2, 13, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 13, 13, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 2, 13, 2, 13, 13, 0, 13, 4, 18, 13, 13, 0, 13, 2, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 23, 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 ], [ 172, 11 ], [ 172, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 14, 30 ], [ 30, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 38, 50 ], [ 50, 51 ], [ 51, 52 ], [ 38, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 64, 74 ], [ 74, 75 ], [ 75, 76 ], [ 64, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 78, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 14, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 88, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 103, 106 ], [ 103, 107 ], [ 103, 108 ], [ 12, 109 ], [ 109, 110 ], [ 172, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 113, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 128, 130 ], [ 121, 131 ], [ 131, 132 ], [ 132, 133 ], [ 121, 134 ], [ 135, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 135, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 135, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 113, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 111, 163 ], [ 163, 164 ], [ 111, 165 ], [ 165, 166 ], [ 111, 167 ], [ 167, 168 ], [ 111, 169 ], [ 169, 170 ], [ 0, 171 ], [ 171, 172 ], [ 171, 173 ] ]
[ "import java.io.*;\nimport java.util.Scanner;\nimport java.util.ArrayList;\n\n\npublic class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int m = scan.nextInt();\n int a;\n int b;\n ArrayList<Integer> A = new ArrayList<Integer>();\n ArrayList<Integer> B = new ArrayList<Integer>();\n for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }\n for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }\n for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }\n }\n\n \n //行列cの生成・出力\n public static void cOut(int x,int m,ArrayList<Integer> A,ArrayList<Integer> B){\n int a;\n int b;\n int cSum = 0;\n for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }\n System.out.println(cSum);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int m = scan.nextInt();\n int a;\n int b;\n ArrayList<Integer> A = new ArrayList<Integer>();\n ArrayList<Integer> B = new ArrayList<Integer>();\n for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }\n for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }\n for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }\n }\n\n \n //行列cの生成・出力\n public static void cOut(int x,int m,ArrayList<Integer> A,ArrayList<Integer> B){\n int a;\n int b;\n int cSum = 0;\n for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }\n System.out.println(cSum);\n }\n}", "Main", "public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int m = scan.nextInt();\n int a;\n int b;\n ArrayList<Integer> A = new ArrayList<Integer>();\n ArrayList<Integer> B = new ArrayList<Integer>();\n for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }\n for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }\n for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int m = scan.nextInt();\n int a;\n int b;\n ArrayList<Integer> A = new ArrayList<Integer>();\n ArrayList<Integer> B = new ArrayList<Integer>();\n for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }\n for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }\n for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int a;", "a", "int b;", "b", "ArrayList<Integer> A = new ArrayList<Integer>();", "A", "new ArrayList<Integer>()", "ArrayList<Integer> B = new ArrayList<Integer>();", "B", "new ArrayList<Integer>()", "for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= n * m - 1", "i", "n * m - 1", "n * m", "n", "m", "1", "i++", "i++", "i", "{\n a = scan.nextInt();\n A.add(a);\n }", "{\n a = scan.nextInt();\n A.add(a);\n }", "a = scan.nextInt()", "a", "scan.nextInt()", "scan.nextInt", "scan", "A.add(a)", "A.add", "A", "a", "for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= m - 1", "i", "m - 1", "m", "1", "i++", "i++", "i", "{\n b = scan.nextInt();\n B.add(b);\n }", "{\n b = scan.nextInt();\n B.add(b);\n }", "b = scan.nextInt()", "b", "scan.nextInt()", "scan.nextInt", "scan", "B.add(b)", "B.add", "B", "b", "for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= n - 1", "i", "n - 1", "n", "1", "i++", "i++", "i", "{\n cOut(i,m,A,B);\n }", "{\n cOut(i,m,A,B);\n }", "cOut(i,m,A,B)", "cOut", "i", "m", "A", "B", "String[] args", "args", "//行列cの生成・出力\n public static void cOut(int x,int m,ArrayList<Integer> A,ArrayList<Integer> B){\n int a;\n int b;\n int cSum = 0;\n for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }\n System.out.println(cSum);\n }", "cOut", "{\n int a;\n int b;\n int cSum = 0;\n for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }\n System.out.println(cSum);\n }", "int a;", "a", "int b;", "b", "int cSum = 0;", "cSum", "0", "for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= m - 1", "i", "m - 1", "m", "1", "i++", "i++", "i", "{\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }", "{\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }", "a = A.get(i + m * x)", "a", "A.get(i + m * x)", "A.get", "A", "i + m * x", "i", "m * x", "m", "x", "b = B.get(i)", "b", "B.get(i)", "B.get", "B", "i", "cSum += a * b", "cSum", "a * b", "a", "b", "System.out.println(cSum)", "System.out.println", "System.out", "System", "System.out", "cSum", "int x", "x", "int m", "m", "ArrayList<Integer> A", "A", "ArrayList<Integer> B", "B", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int m = scan.nextInt();\n int a;\n int b;\n ArrayList<Integer> A = new ArrayList<Integer>();\n ArrayList<Integer> B = new ArrayList<Integer>();\n for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }\n for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }\n for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }\n }\n\n \n //行列cの生成・出力\n public static void cOut(int x,int m,ArrayList<Integer> A,ArrayList<Integer> B){\n int a;\n int b;\n int cSum = 0;\n for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }\n System.out.println(cSum);\n }\n}", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n int m = scan.nextInt();\n int a;\n int b;\n ArrayList<Integer> A = new ArrayList<Integer>();\n ArrayList<Integer> B = new ArrayList<Integer>();\n for(int i = 0;i <= n * m - 1;i++){\n a = scan.nextInt();\n A.add(a);\n }\n for(int i = 0;i <= m - 1;i++){\n b = scan.nextInt();\n B.add(b);\n }\n for(int i = 0;i <= n - 1;i++){\n cOut(i,m,A,B);\n }\n }\n\n \n //行列cの生成・出力\n public static void cOut(int x,int m,ArrayList<Integer> A,ArrayList<Integer> B){\n int a;\n int b;\n int cSum = 0;\n for(int i = 0;i <= m - 1;i++){\n a = A.get(i + m * x);\n b = B.get(i);\n cSum += a * b;\n }\n System.out.println(cSum);\n }\n}", "Main" ]
import java.io.*; import java.util.Scanner; import java.util.ArrayList; public class Main { public static void main(String[] args)throws Exception{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int a; int b; ArrayList<Integer> A = new ArrayList<Integer>(); ArrayList<Integer> B = new ArrayList<Integer>(); for(int i = 0;i <= n * m - 1;i++){ a = scan.nextInt(); A.add(a); } for(int i = 0;i <= m - 1;i++){ b = scan.nextInt(); B.add(b); } for(int i = 0;i <= n - 1;i++){ cOut(i,m,A,B); } } //行列cの生成・出力 public static void cOut(int x,int m,ArrayList<Integer> A,ArrayList<Integer> B){ int a; int b; int cSum = 0; for(int i = 0;i <= m - 1;i++){ a = A.get(i + m * x); b = B.get(i); cSum += a * b; } System.out.println(cSum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 0, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 153, 5 ], [ 153, 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 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 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 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 87, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 98, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 119, 120 ], [ 119, 121 ], [ 114, 122 ], [ 122, 123 ], [ 123, 124 ], [ 114, 125 ], [ 126, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 135, 137 ], [ 126, 138 ], [ 138, 139 ], [ 138, 140 ], [ 110, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 8, 147 ], [ 147, 148 ], [ 148, 149 ], [ 6, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "import java.util.Scanner;\n\n// ???Input?????????\n// (1) 1???????????°??????????????????(scan.nextInt())\n// (2) ??????n????¨????m???????¬??????????(n ?? m)?????????A??¨????????¨?????????\n// (3) ????´???°???m???????¬????????????????????????????b??¨????????¨?????????\n// (4) n???????????\\?????????????????°?????????\n\t// (4.1) m???????????\\?????????????????°?????????\n\t\t// (4.1.1) ??°??????????????????\n\t\t// (4.1.2) ?????????????????°????????????A???[n - 1][m - 1]???????´???????\n// (5) m???????????\\?????????????????°?????????\n\t// (5.1) ??°??????????????????\n\t// (5.2) ?????????????????°?????????????????????b???[m - 1]???????´???????\n\n// ???Output?????????\n// (6) n?????°???????????\\?????????????????°?????????\n\t// (6.1) ?¶????????????????0??§???????????????\n\t// (6.2) m?????°???????????\\?????????????????°?????????\n\t\t// (6.2.1) ??????A???[n - 1][m - 1]???????´????????????¨??????????????????b???[m - 1]???????´??????????????????????\n\t\t// (6.2.2) ???????????????????¶????????????????\n\t// (6.3) ?¶??????????????????¨?????????\n// (7) scan?????????????????????\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint m = 0;\n\t\tint n = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\n\t\tint[][] matrixA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint m = 0;\n\t\tint n = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\n\t\tint[][] matrixA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tint m = 0;\n\t\tint n = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\n\t\tint[][] matrixA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\n\t\tint m = 0;\n\t\tint n = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\n\t\tint[][] matrixA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}\n\t\tscan.close();\n\t}", "int m = 0;", "m", "0", "int n = 0;", "n", "0", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "int[][] matrixA = new int[n][m];", "matrixA", "new int[n][m]", "n", "m", "int[] vectorB = new int[m];", "vectorB", "new int[m]", "m", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\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\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}", "{\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}", "int matNum = scan.nextInt();", "matNum", "scan.nextInt()", "scan.nextInt", "scan", "matrixA[i][j] = matNum", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "matNum", "for (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}", "{\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}", "int vecNum = scan.nextInt();", "vecNum", "scan.nextInt()", "scan.nextInt", "scan", "vectorB[j] = vecNum", "vectorB[j]", "vectorB", "j", "vecNum", "for (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}", "{\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}", "int sumResult = 0;", "sumResult", "0", "for (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}", "{\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}", "int sum = (matrixA[i][j]) * (vectorB[j]);", "sum", "(matrixA[i][j]) * (vectorB[j])", "(matrixA[i][j])", "matrixA[i]", "matrixA", "i", "j", "(vectorB[j])", "vectorB", "j", "sumResult += sum", "sumResult", "sum", "System.out.println(sumResult)", "System.out.println", "System.out", "System", "System.out", "sumResult", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint m = 0;\n\t\tint n = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\n\t\tint[][] matrixA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tint m = 0;\n\t\tint n = 0;\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\n\t\tint[][] matrixA = new int[n][m];\n\t\tint[] vectorB = new int[m];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint matNum = scan.nextInt();\n\t\t\t\tmatrixA[i][j] = matNum;\n\n\t\t\t}\n\t\t}\n\t\tfor (int j = 0; j < m; j++) {\n\t\t\tint vecNum = scan.nextInt();\n\t\t\tvectorB[j] = vecNum;\n\t\t}\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tint sumResult = 0;\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint sum = (matrixA[i][j]) * (vectorB[j]);\n\t\t\t\tsumResult += sum;\n\t\t\t}\n\t\t\tSystem.out.println(sumResult);\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; // ???Input????????? // (1) 1???????????°??????????????????(scan.nextInt()) // (2) ??????n????¨????m???????¬??????????(n ?? m)?????????A??¨????????¨????????? // (3) ????´???°???m???????¬????????????????????????????b??¨????????¨????????? // (4) n???????????\?????????????????°????????? // (4.1) m???????????\?????????????????°????????? // (4.1.1) ??°?????????????????? // (4.1.2) ?????????????????°????????????A???[n - 1][m - 1]???????´??????? // (5) m???????????\?????????????????°????????? // (5.1) ??°?????????????????? // (5.2) ?????????????????°?????????????????????b???[m - 1]???????´??????? // ???Output????????? // (6) n?????°???????????\?????????????????°????????? // (6.1) ?¶????????????????0??§??????????????? // (6.2) m?????°???????????\?????????????????°????????? // (6.2.1) ??????A???[n - 1][m - 1]???????´????????????¨??????????????????b???[m - 1]???????´?????????????????????? // (6.2.2) ???????????????????¶???????????????? // (6.3) ?¶??????????????????¨????????? // (7) scan????????????????????? public class Main { public static void main(String[] args) { int m = 0; int n = 0; Scanner scan = new Scanner(System.in); n = scan.nextInt(); m = scan.nextInt(); int[][] matrixA = new int[n][m]; int[] vectorB = new int[m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { int matNum = scan.nextInt(); matrixA[i][j] = matNum; } } for (int j = 0; j < m; j++) { int vecNum = scan.nextInt(); vectorB[j] = vecNum; } for (int i = 0; i < n; i++) { int sumResult = 0; for (int j = 0; j < m; j++) { int sum = (matrixA[i][j]) * (vectorB[j]); sumResult += sum; } System.out.println(sumResult); } scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 17, 41, 13, 20, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 17, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 17, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 166, 8 ], [ 166, 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, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 66, 72 ], [ 72, 73 ], [ 73, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 11, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 110, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 11, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 140, 151 ], [ 152, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 9, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][1];\n\t\tint[][] output = new int[n][1];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}\n\t}\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\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][1];\n\t\tint[][] output = new int[n][1];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][1];\n\t\tint[][] output = new int[n][1];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][1];\n\t\tint[][] output = new int[n][1];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][1];", "b", "new int[m][1]", "m", "1", "int[][] output = new int[n][1];", "output", "new int[n][1]", "n", "1", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\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\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i< m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}", "{\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}", "b[i][0] = sc.nextInt()", "b[i][0]", "b[i]", "b", "i", "0", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\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\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}", "{\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}", "output[i][0] += a[i][j] * b[j][0]", "output[i][0]", "output[i]", "output", "i", "0", "a[i][j] * b[j][0]", "a[i][j]", "a[i]", "a", "i", "j", "b[j][0]", "b[j]", "b", "j", "0", "for (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}", "{\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}", "System.out.println(output[i][0])", "System.out.println", "System.out", "System", "System.out", "output[i][0]", "output[i]", "output", "i", "0", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][1];\n\t\tint[][] output = new int[n][1];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][1];\n\t\tint[][] output = new int[n][1];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i< m; i++) {\n\t\t\tb[i][0] = sc.nextInt();\n\t\t}\n\n\t\tfor (int i = 0; i< n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\toutput[i][0] += a[i][j] * b[j][0];\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n; i++) {\n\t\t\tSystem.out.println(output[i][0]);\n\t\t}\n\t}\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 n = sc.nextInt(); int m = sc.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][1]; int[][] output = new int[n][1]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { a[i][j] = sc.nextInt(); } } for (int i = 0; i< m; i++) { b[i][0] = sc.nextInt(); } for (int i = 0; i< n; i++) { for (int j = 0; j < m; j++) { output[i][0] += a[i][j] * b[j][0]; } } for (int i = 0; i<n; i++) { System.out.println(output[i][0]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 143, 5 ], [ 143, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 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 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 8, 129 ], [ 129, 130 ], [ 129, 131 ], [ 129, 132 ], [ 133, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] arA = new int [n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] vecb = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}\n\t\tint[] vecc = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}\n\t\tfor (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] arA = new int [n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] vecb = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}\n\t\tint[] vecc = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}\n\t\tfor (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] arA = new int [n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] vecb = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}\n\t\tint[] vecc = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}\n\t\tfor (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] arA = new int [n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] vecb = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}\n\t\tint[] vecc = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}\n\t\tfor (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int[][] arA = new int [n][m];", "arA", "new int [n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\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\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}", "arA[i][j] = scan.nextInt()", "arA[i][j]", "arA[i]", "arA", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "int[] vecb = new int[m];", "vecb", "new int[m]", "m", "for (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}", "{\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}", "vecb[i] = scan.nextInt()", "vecb[i]", "vecb", "i", "scan.nextInt()", "scan.nextInt", "scan", "int[] vecc = new int[n];", "vecc", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\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\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}", "{\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}", "vecc[i] += arA[i][j] * vecb[j]", "vecc[i]", "vecc", "i", "arA[i][j] * vecb[j]", "arA[i][j]", "arA[i]", "arA", "i", "j", "vecb[j]", "vecb", "j", "for (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}", "int i", "vecc", "{\n\t\t\tSystem.out.println(i);\n\t\t}", "{\n\t\t\tSystem.out.println(i);\n\t\t}", "System.out.println(i)", "System.out.println", "System.out", "System", "System.out", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] arA = new int [n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] vecb = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}\n\t\tint[] vecc = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}\n\t\tfor (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint[][] arA = new int [n][m];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tarA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[] vecb = new int[m];\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tvecb[i] = scan.nextInt();\n\t\t}\n\t\tint[] vecc = new int[n];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tvecc[i] += arA[i][j] * vecb[j];\n\t\t\t}\n\t\t}\n\t\tfor (int i: vecc) {\n\t\t\tSystem.out.println(i);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int[][] arA = new int [n][m]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { arA[i][j] = scan.nextInt(); } } int[] vecb = new int[m]; for (int i = 0; i < m; i++) { vecb[i] = scan.nextInt(); } int[] vecc = new int[n]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { vecc[i] += arA[i][j] * vecb[j]; } } for (int i: vecc) { System.out.println(i); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 41, 13, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 20, 13, 13, 0, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 207, 11 ], [ 207, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 14, 28 ], [ 28, 29 ], [ 28, 30 ], [ 14, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 31, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 44, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 44, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 44, 72 ], [ 72, 73 ], [ 72, 74 ], [ 44, 77 ], [ 77, 78 ], [ 77, 79 ], [ 44, 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 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 93, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 93, 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 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 118, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 127, 128 ], [ 127, 129 ], [ 44, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 135, 136 ], [ 135, 137 ], [ 130, 138 ], [ 138, 139 ], [ 139, 140 ], [ 130, 141 ], [ 142, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 142, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 153, 154 ], [ 152, 155 ], [ 44, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 156, 167 ], [ 168, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 177, 178 ], [ 177, 179 ], [ 172, 180 ], [ 180, 181 ], [ 181, 182 ], [ 172, 183 ], [ 184, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 189, 195 ], [ 195, 196 ], [ 195, 197 ], [ 168, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 12, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint n = 0;\n\t\tint m = 0;\n\t\t\n\t\tint[][] md;\n\t\tint[] vd;\n\t\t\n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\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", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint n = 0;\n\t\tint m = 0;\n\t\t\n\t\tint[][] md;\n\t\tint[] vd;\n\t\t\n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint n = 0;\n\t\tint m = 0;\n\t\t\n\t\tint[][] md;\n\t\tint[] vd;\n\t\t\n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint n = 0;\n\t\tint m = 0;\n\t\t\n\t\tint[][] md;\n\t\tint[] vd;\n\t\t\n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "int n = 0;", "n", "0", "int m = 0;", "m", "0", "int[][] md;", "md", "int[] vd;", "vd", "String x = \"\";", "x", "\"\"", "try {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "NumberFormatException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t}", "x = in.readLine()", "x", "in.readLine()", "in.readLine", "in", "String[] nm = x.split(\" \");", "nm", "x.split(\" \")", "x.split", "x", "\" \"", "n = Integer.parseInt(nm[0])", "n", "Integer.parseInt(nm[0])", "Integer.parseInt", "Integer", "nm[0]", "nm", "0", "m = Integer.parseInt(nm[1])", "m", "Integer.parseInt(nm[1])", "Integer.parseInt", "Integer", "nm[1]", "nm", "1", "md = new int[n][m]", "md", "new int[n][m]", "n", "m", "vd = new int[m]", "vd", "new int[m]", "m", "for (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}", "x = in.readLine()", "x", "in.readLine()", "in.readLine", "in", "String[] row = x.split(\" \");", "row", "x.split(\" \")", "x.split", "x", "\" \"", "for (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}", "{\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}", "md[i][j] = Integer.parseInt(row[j])", "md[i][j]", "md[i]", "md", "i", "j", "Integer.parseInt(row[j])", "Integer.parseInt", "Integer", "row[j]", "row", "j", "for (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}", "{\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}", "x = in.readLine()", "x", "in.readLine()", "in.readLine", "in", "vd[i] = Integer.parseInt(x)", "vd[i]", "vd", "i", "Integer.parseInt(x)", "Integer.parseInt", "Integer", "x", "for (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}", "{\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}", "int v = 0;", "v", "0", "for (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}", "{\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}", "v = v + md[i][j] * vd[j]", "v", "v + md[i][j] * vd[j]", "v", "md[i][j] * vd[j]", "md[i][j]", "md[i]", "md", "i", "j", "vd[j]", "vd", "j", "System.out.println(v)", "System.out.println", "System.out", "System", "System.out", "v", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint n = 0;\n\t\tint m = 0;\n\t\t\n\t\tint[][] md;\n\t\tint[] vd;\n\t\t\n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n \n\t\tint n = 0;\n\t\tint m = 0;\n\t\t\n\t\tint[][] md;\n\t\tint[] vd;\n\t\t\n\t\tString x = \"\";\n\t\ttry {\n\t\t\tx = in.readLine();\n\t\t\tString[] nm = x.split(\" \");\n\t\t\tn = Integer.parseInt(nm[0]);\n\t\t\tm = Integer.parseInt(nm[1]);\n\t\t\t\n\t\t\tmd = new int[n][m];\n\t\t\tvd = new int[m];\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\tString[] row = x.split(\" \");\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tmd[i][j] = Integer.parseInt(row[j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\tx = in.readLine();\n\t\t\t\t\n\t\t\t\tvd[i] = Integer.parseInt(x);\n\t\t\t}\n\t\t\t\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tint v = 0;\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tv = v + md[i][j] * vd[j];\n\t\t\t\t}\n\t\t\t\tSystem.out.println(v);\n\t\t\t}\n\t\t} catch (NumberFormatException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t} catch (IOException e) {\n\t\t\t// TODO Auto-generated catch block\n\t\t\te.printStackTrace();\n\t\t}\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) { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); int n = 0; int m = 0; int[][] md; int[] vd; String x = ""; try { x = in.readLine(); String[] nm = x.split(" "); n = Integer.parseInt(nm[0]); m = Integer.parseInt(nm[1]); md = new int[n][m]; vd = new int[m]; for (int i = 0; i < n; i++) { x = in.readLine(); String[] row = x.split(" "); for (int j = 0; j < m; j++) { md[i][j] = Integer.parseInt(row[j]); } } for (int i = 0; i < m; i++) { x = in.readLine(); vd[i] = Integer.parseInt(x); } for (int i = 0; i < n; i++) { int v = 0; for (int j = 0; j < m; j++) { v = v + md[i][j] * vd[j]; } System.out.println(v); } } catch (NumberFormatException e) { // TODO Auto-generated catch block e.printStackTrace(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 17, 41, 13, 20, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 17, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 17, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 17, 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 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 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 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 80, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 93, 99 ], [ 99, 100 ], [ 100, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 115, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 134, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 8, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 145, 153 ], [ 153, 154 ], [ 154, 155 ], [ 145, 156 ], [ 157, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 6, 168 ], [ 168, 169 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int width,height,i,j;\n height = sc.nextInt();\n width = sc.nextInt();\n int [][] a = new int[height][width];\n int [][] b = new int[width][1];\n int [][] c = new int[height][1];\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < width;i++){\n b[i][0] = sc.nextInt();\n }\n\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }\n\n for(i = 0;i < height;i++){\n System.out.println(c[i][0]);\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 width,height,i,j;\n height = sc.nextInt();\n width = sc.nextInt();\n int [][] a = new int[height][width];\n int [][] b = new int[width][1];\n int [][] c = new int[height][1];\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < width;i++){\n b[i][0] = sc.nextInt();\n }\n\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }\n\n for(i = 0;i < height;i++){\n System.out.println(c[i][0]);\n }\n }\n}", "Main", "public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int width,height,i,j;\n height = sc.nextInt();\n width = sc.nextInt();\n int [][] a = new int[height][width];\n int [][] b = new int[width][1];\n int [][] c = new int[height][1];\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < width;i++){\n b[i][0] = sc.nextInt();\n }\n\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }\n\n for(i = 0;i < height;i++){\n System.out.println(c[i][0]);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int width,height,i,j;\n height = sc.nextInt();\n width = sc.nextInt();\n int [][] a = new int[height][width];\n int [][] b = new int[width][1];\n int [][] c = new int[height][1];\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }\n for(i = 0;i < width;i++){\n b[i][0] = sc.nextInt();\n }\n\n for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }\n\n for(i = 0;i < height;i++){\n System.out.println(c[i][0]);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int width", "width", "height", "height", "i", "i", "j;", "j", "height = sc.nextInt()", "height", "sc.nextInt()", "sc.nextInt", "sc", "width = sc.nextInt()", "width", "sc.nextInt()", "sc.nextInt", "sc", "int [][] a = new int[height][width];", "a", "new int[height][width]", "height", "width", "int [][] b = new int[width][1];", "b", "new int[width][1]", "width", "1", "int [][] c = new int[height][1];", "c", "new int[height][1]", "height", "1", "for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }", "i = 0;", "i = 0", "i", "0", "i < height", "i", "height", "i++", "i++", "i", "{\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }", "{\n for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }\n }", "for(j = 0;j < width;j++){\n a[i][j] = sc.nextInt();\n }", "j = 0;", "j = 0", "j", "0", "j < width", "j", "width", "j++", "j++", "j", "{\n a[i][j] = sc.nextInt();\n }", "{\n a[i][j] = sc.nextInt();\n }", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(i = 0;i < width;i++){\n b[i][0] = sc.nextInt();\n }", "i = 0;", "i = 0", "i", "0", "i < width", "i", "width", "i++", "i++", "i", "{\n b[i][0] = sc.nextInt();\n }", "{\n b[i][0] = sc.nextInt();\n }", "b[i][0] = sc.nextInt()", "b[i][0]", "b[i]", "b", "i", "0", "sc.nextInt()", "sc.nextInt", "sc", "for(i = 0;i < height;i++){\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }", "i = 0;", "i = 0", "i", "0", "i < height", "i", "height", "i++", "i++", "i", "{\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }", "{\n for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }\n }", "for(j = 0;j < width;j++){\n c[i][0] += a[i][j] * b[j][0];\n }", "j = 0;", "j = 0", "j", "0", "j < width", "j", "width", "j++", "j++", "j", "{\n c[i][0] += a[i][j] * b[j][0];\n }", "{\n c[i][0] += a[i][j] * b[j][0];\n }", "c[i][0] += a[i][j] * b[j][0]", "c[i][0]", "c[i]", "c", "i", "0", "a[i][j] * b[j][0]", "a[i][j]", "a[i]", "a", "i", "j", "b[j][0]", "b[j]", "b", "j", "0", "for(i = 0;i < height;i++){\n System.out.println(c[i][0]);\n }", "i = 0;", "i = 0", "i", "0", "i < height", "i", "height", "i++", "i++", "i", "{\n System.out.println(c[i][0]);\n }", "{\n System.out.println(c[i][0]);\n }", "System.out.println(c[i][0])", "System.out.println", "System.out", "System", "System.out", "c[i][0]", "c[i]", "c", "i", "0", "String args[]", "args" ]
import java.util.Scanner; class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int width,height,i,j; height = sc.nextInt(); width = sc.nextInt(); int [][] a = new int[height][width]; int [][] b = new int[width][1]; int [][] c = new int[height][1]; for(i = 0;i < height;i++){ for(j = 0;j < width;j++){ a[i][j] = sc.nextInt(); } } for(i = 0;i < width;i++){ b[i][0] = sc.nextInt(); } for(i = 0;i < height;i++){ for(j = 0;j < width;j++){ c[i][0] += a[i][j] * b[j][0]; } } for(i = 0;i < height;i++){ System.out.println(c[i][0]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 6, 137 ], [ 137, 138 ] ]
[ "import java.util.Scanner;\n \nclass Main{\n\tpublic static void main(String[]args){\n\t\tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t int[][]a = new int[x][y];\n\t int[]b = new int[y];\n\t int[]c = new int [x];\n\n\t\tfor(int i =0 ; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i = 0; i < y; i++){\n \t\tb[i] = sc.nextInt();\n \t}\n \tfor(int i = 0; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}\n \t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[]args){\n\t\tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t int[][]a = new int[x][y];\n\t int[]b = new int[y];\n\t int[]c = new int [x];\n\n\t\tfor(int i =0 ; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i = 0; i < y; i++){\n \t\tb[i] = sc.nextInt();\n \t}\n \tfor(int i = 0; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}\n \t}\n}", "Main", "public static void main(String[]args){\n\t\tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t int[][]a = new int[x][y];\n\t int[]b = new int[y];\n\t int[]c = new int [x];\n\n\t\tfor(int i =0 ; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i = 0; i < y; i++){\n \t\tb[i] = sc.nextInt();\n \t}\n \tfor(int i = 0; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}\n \t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t\tint y = sc.nextInt();\n\t int[][]a = new int[x][y];\n\t int[]b = new int[y];\n\t int[]c = new int [x];\n\n\t\tfor(int i =0 ; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i = 0; i < y; i++){\n \t\tb[i] = sc.nextInt();\n \t}\n \tfor(int i = 0; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}\n \t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int x = sc.nextInt();", "x", "sc.nextInt()", "sc.nextInt", "sc", "int y = sc.nextInt();", "y", "sc.nextInt()", "sc.nextInt", "sc", "int[][]a = new int[x][y];", "a", "new int[x][y]", "x", "y", "int[]b = new int[y];", "b", "new int[y]", "y", "int[]c = new int [x];", "c", "new int [x]", "x", "for(int i =0 ; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}", "int i =0 ;", "int i =0 ;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}", "{\n \t\tfor(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}\n \t}", "for(int j = 0; j < y; j++){\n \t\ta[i][j] = sc.nextInt();\n \t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < y", "j", "y", "j++", "j++", "j", "{\n \t\ta[i][j] = sc.nextInt();\n \t\t}", "{\n \t\ta[i][j] = sc.nextInt();\n \t\t}", "a[i][j] = sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < y; i++){\n \t\tb[i] = sc.nextInt();\n \t}", "int i = 0;", "int i = 0;", "i", "0", "i < y", "i", "y", "i++", "i++", "i", "{\n \t\tb[i] = sc.nextInt();\n \t}", "{\n \t\tb[i] = sc.nextInt();\n \t}", "b[i] = sc.nextInt()", "b[i]", "b", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < x; i++){\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}", "int i = 0;", "int i = 0;", "i", "0", "i < x", "i", "x", "i++", "i++", "i", "{\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}", "{\n \t\tfor(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}\n \t\tSystem.out.println(c[i]);\n \t}", "for(int j = 0; j < y; j++){\n \t\tc[i] += a[i][j] * b[j];\n \t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < y", "j", "y", "j++", "j++", "j", "{\n \t\tc[i] += a[i][j] * b[j];\n \t\t}", "{\n \t\tc[i] += a[i][j] * b[j];\n \t\t}", "c[i] += a[i][j] * b[j]", "c[i]", "c", "i", "a[i][j] * b[j]", "a[i][j]", "a[i]", "a", "i", "j", "b[j]", "b", "j", "System.out.println(c[i])", "System.out.println", "System.out", "System", "System.out", "c[i]", "c", "i", "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 y = sc.nextInt(); int[][]a = new int[x][y]; int[]b = new int[y]; int[]c = new int [x]; for(int i =0 ; i < x; i++){ for(int j = 0; j < y; j++){ a[i][j] = sc.nextInt(); } } for(int i = 0; i < y; i++){ b[i] = sc.nextInt(); } for(int i = 0; i < x; i++){ for(int j = 0; j < y; j++){ c[i] += a[i][j] * b[j]; } System.out.println(c[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 20, 4, 18, 13, 18, 13, 17, 4, 18, 13, 18, 13, 17, 41, 13, 20, 4, 18, 13, 18, 13, 17, 41, 13, 20, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 2, 18, 18, 13, 13, 13, 18, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 205, 11 ], [ 205, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 35, 37 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 44, 46 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 53, 55 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 62, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 76, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 88, 100 ], [ 100, 101 ], [ 101, 102 ], [ 88, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 14, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 117, 127 ], [ 127, 128 ], [ 128, 129 ], [ 117, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 131, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 14, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 145, 155 ], [ 155, 156 ], [ 156, 157 ], [ 145, 158 ], [ 159, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 160, 172 ], [ 172, 173 ], [ 173, 174 ], [ 160, 175 ], [ 176, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 182, 188 ], [ 188, 189 ], [ 188, 190 ], [ 181, 191 ], [ 191, 192 ], [ 191, 193 ], [ 159, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 199, 201 ], [ 12, 202 ], [ 202, 203 ], [ 0, 204 ], [ 204, 205 ], [ 204, 206 ] ]
[ "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 arraynum = br.readLine();\n\t\tString[] ary = arraynum.split(\" \");\n\t\tint[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];\n\t\tint[] v = new int[Integer.parseInt(ary[1])];\n\t\tint[] ans = new int[Integer.parseInt(ary[0])];\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\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\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString arraynum = br.readLine();\n\t\tString[] ary = arraynum.split(\" \");\n\t\tint[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];\n\t\tint[] v = new int[Integer.parseInt(ary[1])];\n\t\tint[] ans = new int[Integer.parseInt(ary[0])];\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\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\tString arraynum = br.readLine();\n\t\tString[] ary = arraynum.split(\" \");\n\t\tint[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];\n\t\tint[] v = new int[Integer.parseInt(ary[1])];\n\t\tint[] ans = new int[Integer.parseInt(ary[0])];\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\n\t}", "main", "{\n\t\tBufferedReader br =new BufferedReader(new InputStreamReader(System.in));\n\t\tString arraynum = br.readLine();\n\t\tString[] ary = arraynum.split(\" \");\n\t\tint[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];\n\t\tint[] v = new int[Integer.parseInt(ary[1])];\n\t\tint[] ans = new int[Integer.parseInt(ary[0])];\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\n\t}", "BufferedReader br =new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String arraynum = br.readLine();", "arraynum", "br.readLine()", "br.readLine", "br", "String[] ary = arraynum.split(\" \");", "ary", "arraynum.split(\" \")", "arraynum.split", "arraynum", "\" \"", "int[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];", "a", "new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])]", "Integer.parseInt(ary[0])", "Integer.parseInt", "Integer", "ary[0]", "ary", "0", "Integer.parseInt(ary[1])", "Integer.parseInt", "Integer", "ary[1]", "ary", "1", "int[] v = new int[Integer.parseInt(ary[1])];", "v", "new int[Integer.parseInt(ary[1])]", "Integer.parseInt(ary[1])", "Integer.parseInt", "Integer", "ary[1]", "ary", "1", "int[] ans = new int[Integer.parseInt(ary[0])];", "ans", "new int[Integer.parseInt(ary[0])]", "Integer.parseInt(ary[0])", "Integer.parseInt", "Integer", "ary[0]", "ary", "0", "for(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\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\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}", "String num = br.readLine();", "num", "br.readLine()", "br.readLine", "br", "String[] numa = num.split(\" \");", "numa", "num.split(\" \")", "num.split", "num", "\" \"", "for(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < a[i].length", "j", "a[i].length", "a[i]", "a", "i", "a[i].length", "j++", "j++", "j", "{\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}", "{\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}", "a[i][j] = Integer.parseInt(numa[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(numa[j])", "Integer.parseInt", "Integer", "numa[j]", "numa", "j", "for (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < v.length", "i", "v.length", "v", "v.length", "i++", "i++", "i", "{\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}", "{\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}", "String vect = br.readLine();", "vect", "br.readLine()", "br.readLine", "br", "v[i] = Integer.parseInt(vect)", "v[i]", "v", "i", "Integer.parseInt(vect)", "Integer.parseInt", "Integer", "vect", "for(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[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\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "{\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "for(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < a[i].length", "j", "a[i].length", "a[i]", "a", "i", "a[i].length", "j++", "j++", "j", "{\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}", "{\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}", "ans[i] = a[i][j]*v[j] + ans[i]", "ans[i]", "ans", "i", "a[i][j]*v[j] + ans[i]", "a[i][j]*v[j]", "a[i][j]", "a[i]", "a", "i", "j", "v[j]", "v", "j", "ans[i]", "ans", "i", "System.out.println(ans[i])", "System.out.println", "System.out", "System", "System.out", "ans[i]", "ans", "i", "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 arraynum = br.readLine();\n\t\tString[] ary = arraynum.split(\" \");\n\t\tint[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];\n\t\tint[] v = new int[Integer.parseInt(ary[1])];\n\t\tint[] ans = new int[Integer.parseInt(ary[0])];\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\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\tString arraynum = br.readLine();\n\t\tString[] ary = arraynum.split(\" \");\n\t\tint[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])];\n\t\tint[] v = new int[Integer.parseInt(ary[1])];\n\t\tint[] ans = new int[Integer.parseInt(ary[0])];\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tString num = br.readLine();\n\t\t\tString[] numa = num.split(\" \");\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\ta[i][j] = Integer.parseInt(numa[j]);\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0 ; i < v.length ; i++){\n\t\t\tString vect = br.readLine();\n\t\t\tv[i] = Integer.parseInt(vect);\n\t\t}\n\t\tfor(int i = 0 ; i < a.length ; i++){\n\t\t\tfor(int j = 0 ; j < a[i].length ; j++){\n\t\t\t\tans[i] = a[i][j]*v[j] + ans[i];\n\t\t\t}\n\t\t\tSystem.out.println(ans[i]);\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) throws IOException{ BufferedReader br =new BufferedReader(new InputStreamReader(System.in)); String arraynum = br.readLine(); String[] ary = arraynum.split(" "); int[][] a = new int[Integer.parseInt(ary[0])][Integer.parseInt(ary[1])]; int[] v = new int[Integer.parseInt(ary[1])]; int[] ans = new int[Integer.parseInt(ary[0])]; for(int i = 0 ; i < a.length ; i++){ String num = br.readLine(); String[] numa = num.split(" "); for(int j = 0 ; j < a[i].length ; j++){ a[i][j] = Integer.parseInt(numa[j]); } } for (int i = 0 ; i < v.length ; i++){ String vect = br.readLine(); v[i] = Integer.parseInt(vect); } for(int i = 0 ; i < a.length ; i++){ for(int j = 0 ; j < a[i].length ; j++){ ans[i] = a[i][j]*v[j] + ans[i]; } System.out.println(ans[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 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, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 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 ], [ 16, 17 ], [ 17, 18 ], [ 14, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 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 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 60, 65 ], [ 57, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 78, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 87, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 8, 120 ], [ 120, 121 ], [ 120, 122 ], [ 8, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 124, 135 ], [ 136, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 142, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 137, 148 ], [ 149, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 160, 162 ], [ 8, 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 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 181, 182 ], [ 181, 183 ], [ 6, 184 ], [ 184, 185 ] ]
[ "// Problem - Vector and Matrix\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args){\n // config\n Scanner scanner = new Scanner(System.in);\n\n // input\n String[] nums = scanner.nextLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int[][] A = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }\n for(int i=0; i<m; i++){ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }\n\n // matrix calc\n int[] answer = new int[n];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }\n\n // output ( b : n * 1)\n for(int i=0; i<n; i++){\n System.out.println(answer[i]);\n }\n\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args){\n // config\n Scanner scanner = new Scanner(System.in);\n\n // input\n String[] nums = scanner.nextLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int[][] A = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }\n for(int i=0; i<m; i++){ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }\n\n // matrix calc\n int[] answer = new int[n];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }\n\n // output ( b : n * 1)\n for(int i=0; i<n; i++){\n System.out.println(answer[i]);\n }\n\n }\n}", "Main", "public static void main(String[] args){\n // config\n Scanner scanner = new Scanner(System.in);\n\n // input\n String[] nums = scanner.nextLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int[][] A = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }\n for(int i=0; i<m; i++){ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }\n\n // matrix calc\n int[] answer = new int[n];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }\n\n // output ( b : n * 1)\n for(int i=0; i<n; i++){\n System.out.println(answer[i]);\n }\n\n }", "main", "{\n // config\n Scanner scanner = new Scanner(System.in);\n\n // input\n String[] nums = scanner.nextLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int[][] A = new int[n][m];\n int[] b = new int[m];\n for(int i=0; i<n; i++){ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }\n for(int i=0; i<m; i++){ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }\n\n // matrix calc\n int[] answer = new int[n];\n for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }\n\n // output ( b : n * 1)\n for(int i=0; i<n; i++){\n System.out.println(answer[i]);\n }\n\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String[] nums = scanner.nextLine().split(\" \");", "nums", "scanner.nextLine().split(\" \")", "scanner.nextLine().split", "scanner.nextLine()", "scanner.nextLine", "scanner", "\" \"", "int n = Integer.parseInt(nums[0]);", "n", "Integer.parseInt(nums[0])", "Integer.parseInt", "Integer", "nums[0]", "nums", "0", "int m = Integer.parseInt(nums[1]);", "m", "Integer.parseInt(nums[1])", "Integer.parseInt", "Integer", "nums[1]", "nums", "1", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "for(int i=0; i<n; i++){ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }", "{ // A input\n String[] r = scanner.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }\n }", "String[] r = scanner.nextLine().split(\" \");", "r", "scanner.nextLine().split(\" \")", "scanner.nextLine().split", "scanner.nextLine()", "scanner.nextLine", "scanner", "\" \"", "for(int j=0; j<m; j++){\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }", "{\n int tmp = Integer.parseInt(r[j]);\n A[i][j] = tmp;\n }", "int tmp = Integer.parseInt(r[j]);", "tmp", "Integer.parseInt(r[j])", "Integer.parseInt", "Integer", "r[j]", "r", "j", "A[i][j] = tmp", "A[i][j]", "A[i]", "A", "i", "j", "tmp", "for(int i=0; i<m; i++){ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }", "{ // b input\n String r = scanner.nextLine();\n b[i] = Integer.parseInt(r);\n }", "String r = scanner.nextLine();", "r", "scanner.nextLine()", "scanner.nextLine", "scanner", "b[i] = Integer.parseInt(r)", "b[i]", "b", "i", "Integer.parseInt(r)", "Integer.parseInt", "Integer", "r", "int[] answer = new int[n];", "answer", "new int[n]", "n", "for(int i=0; i<n; i++){\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }", "{\n for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }\n }", "for(int j=0; j<m; j++){\n answer[i] += A[i][j] * b[j];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n answer[i] += A[i][j] * b[j];\n }", "{\n answer[i] += A[i][j] * b[j];\n }", "answer[i] += A[i][j] * b[j]", "answer[i]", "answer", "i", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "for(int i=0; i<n; i++){\n System.out.println(answer[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n System.out.println(answer[i]);\n }", "{\n System.out.println(answer[i]);\n }", "System.out.println(answer[i])", "System.out.println", "System.out", "System", "System.out", "answer[i]", "answer", "i", "String[] args", "args" ]
// Problem - Vector and Matrix import java.util.Scanner; class Main { public static void main(String[] args){ // config Scanner scanner = new Scanner(System.in); // input String[] nums = scanner.nextLine().split(" "); int n = Integer.parseInt(nums[0]); int m = Integer.parseInt(nums[1]); int[][] A = new int[n][m]; int[] b = new int[m]; for(int i=0; i<n; i++){ // A input String[] r = scanner.nextLine().split(" "); for(int j=0; j<m; j++){ int tmp = Integer.parseInt(r[j]); A[i][j] = tmp; } } for(int i=0; i<m; i++){ // b input String r = scanner.nextLine(); b[i] = Integer.parseInt(r); } // matrix calc int[] answer = new int[n]; for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ answer[i] += A[i][j] * b[j]; } } // output ( b : n * 1) for(int i=0; i<n; i++){ System.out.println(answer[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 144, 5 ], [ 144, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 8, 92 ], [ 92, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 110, 118 ], [ 118, 119 ], [ 119, 120 ], [ 110, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 131, 133 ], [ 106, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 134, 140 ], [ 6, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.*;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tfor(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}\n\t\tint result;\n\t\tfor(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}\n\t\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 = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tfor(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}\n\t\tint result;\n\t\tfor(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}\n\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tfor(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}\n\t\tint result;\n\t\tfor(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}\n\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tfor(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}\n\t\tint result;\n\t\tfor(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}\n\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "for(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\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\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}", "for(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}", "{\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}", "int number1 = sc.nextInt();", "number1", "sc.nextInt()", "sc.nextInt", "sc", "A[i][j] = number1", "A[i][j]", "A[i]", "A", "i", "j", "number1", "for(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}", "{\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}", "int number2 = sc.nextInt();", "number2", "sc.nextInt()", "sc.nextInt", "sc", "b[i] = number2", "b[i]", "b", "i", "number2", "int result;", "result", "for(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}", "{\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}", "result=0", "result", "0", "for(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}", "result += A[i][j] * b[j]", "result", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "System.out.printf(\"%d\\n\",result)", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "result", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tfor(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}\n\t\tint result;\n\t\tfor(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}\n\t\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tfor(int i = 0; i<n; i++){\n\t\t\tfor(int j = 0;j<m;j++){\n\t\t\t\tint number1 = sc.nextInt();\n\t\t\t\t A[i][j] = number1;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tint number2 = sc.nextInt();\n\t\t\tb[i] = number2;\n\t\t}\n\t\tint result;\n\t\tfor(int i = 0;i<n; i++){\n\t\t result=0;\n\t\t\tfor(int j = 0; j<m; j++){\n\t\t\t\tresult += A[i][j] * b[j];\n\t\t\t}\n\t\t System.out.printf(\"%d\\n\",result);\n\t\t}\n\t\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 m = sc.nextInt(); int[][] A = new int[n][m]; int[] b = new int[m]; for(int i = 0; i<n; i++){ for(int j = 0;j<m;j++){ int number1 = sc.nextInt(); A[i][j] = number1; } } for(int i=0;i<m;i++){ int number2 = sc.nextInt(); b[i] = number2; } int result; for(int i = 0;i<n; i++){ result=0; for(int j = 0; j<m; j++){ result += A[i][j] * b[j]; } System.out.printf("%d\n",result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 17, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 2, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 142, 5 ], [ 142, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 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 ], [ 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 ], [ 65, 66 ], [ 8, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 67, 78 ], [ 79, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 80, 86 ], [ 86, 87 ], [ 87, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 89, 100 ], [ 101, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 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 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 101, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 6, 139 ], [ 139, 140 ], [ 0, 141 ], [ 141, 142 ], [ 141, 143 ] ]
[ "import java.util.Scanner;\n\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 m = sc.nextInt();\n \n int [] [] Arr1 = new int [n] [m];\n int [] [] Arr2 = new int [m][1];\n for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }\n for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }\n \n\n for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }\n}}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int [] [] Arr1 = new int [n] [m];\n int [] [] Arr2 = new int [m][1];\n for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }\n for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }\n \n\n for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }\n}}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int [] [] Arr1 = new int [n] [m];\n int [] [] Arr2 = new int [m][1];\n for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }\n for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }\n \n\n for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }\n}", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int [] [] Arr1 = new int [n] [m];\n int [] [] Arr2 = new int [m][1];\n for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }\n for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }\n \n\n for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int [] [] Arr1 = new int [n] [m];", "Arr1", "new int [n] [m]", "n", "m", "int [] [] Arr2 = new int [m][1];", "Arr2", "new int [m][1]", "m", "1", "for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }", "int j =0;", "int j =0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }", "{\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }", "for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n Arr1 [j][i] = sc.nextInt();\n }", "{\n Arr1 [j][i] = sc.nextInt();\n }", "Arr1 [j][i] = sc.nextInt()", "Arr1 [j][i]", "Arr1 [j]", "Arr1", "j", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n Arr2[i][0] = sc.nextInt();\n }", "{\n Arr2[i][0] = sc.nextInt();\n }", "Arr2[i][0] = sc.nextInt()", "Arr2[i][0]", "Arr2[i]", "Arr2", "i", "0", "sc.nextInt()", "sc.nextInt", "sc", "for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }", "int j = 0;", "int j = 0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }", "{\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\n }", "int M = 0;", "M", "0", "for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}", "int i = 0;", "int i = 0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n M = M +Arr2[i][0] * Arr1[j][i];}", "{\n M = M +Arr2[i][0] * Arr1[j][i];}", "M = M +Arr2[i][0] * Arr1[j][i]", "M", "M +Arr2[i][0] * Arr1[j][i]", "M", "Arr2[i][0] * Arr1[j][i]", "Arr2[i][0]", "Arr2[i]", "Arr2", "i", "0", "Arr1[j][i]", "Arr1[j]", "Arr1", "j", "i", "System.out.println(M)", "System.out.println", "System.out", "System", "System.out", "M", "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 m = sc.nextInt();\n \n int [] [] Arr1 = new int [n] [m];\n int [] [] Arr2 = new int [m][1];\n for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }\n for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }\n \n\n for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\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 m = sc.nextInt();\n \n int [] [] Arr1 = new int [n] [m];\n int [] [] Arr2 = new int [m][1];\n for(int j =0; j<n;j++){\n for(int i = 0; i<m; i++){\n Arr1 [j][i] = sc.nextInt();\n }\n }\n for(int i = 0; i<m; i++){\n Arr2[i][0] = sc.nextInt();\n }\n \n\n for(int j = 0; j<n; j++){\n int M = 0;\n for(int i = 0; i<m;i++){\n M = M +Arr2[i][0] * Arr1[j][i];}\n System.out.println(M);\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 m = sc.nextInt(); int [] [] Arr1 = new int [n] [m]; int [] [] Arr2 = new int [m][1]; for(int j =0; j<n;j++){ for(int i = 0; i<m; i++){ Arr1 [j][i] = sc.nextInt(); } } for(int i = 0; i<m; i++){ Arr2[i][0] = sc.nextInt(); } for(int j = 0; j<n; j++){ int M = 0; for(int i = 0; i<m;i++){ M = M +Arr2[i][0] * Arr1[j][i];} System.out.println(M); } }}
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 4, 18, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 20, 2, 13, 13, 41, 13, 4, 18, 13, 20, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 13, 2, 2, 13, 13, 13, 18, 13, 13, 4, 18, 13, 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, 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, 40, 13, 4, 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, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 29, 2, 13, 17, 23, 13, 12, 13, 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, 29, 2, 13, 13, 12, 13, 30, 4, 13, 29, 4, 13, 12, 13, 30, 4, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 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 ], [ 349, 17 ], [ 349, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 349, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 26, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 26, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 26, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 49, 50 ], [ 49, 51 ], [ 26, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 26, 59 ], [ 59, 60 ], [ 26, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 92, 100 ], [ 100, 101 ], [ 100, 102 ], [ 73, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 26, 107 ], [ 107, 108 ], [ 108, 109 ], [ 349, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 110, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 118, 125 ], [ 125, 126 ], [ 125, 127 ], [ 118, 128 ], [ 128, 129 ], [ 128, 130 ], [ 118, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 118, 135 ], [ 135, 136 ], [ 135, 137 ], [ 118, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 118, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 153, 154 ], [ 153, 155 ], [ 147, 156 ], [ 156, 157 ], [ 147, 158 ], [ 158, 159 ], [ 118, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 160, 166 ], [ 166, 167 ], [ 118, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 168, 175 ], [ 175, 176 ], [ 118, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 118, 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 ], [ 118, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 213, 214 ], [ 213, 215 ], [ 205, 216 ], [ 216, 217 ], [ 118, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 218, 225 ], [ 225, 226 ], [ 118, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 233, 235 ], [ 229, 236 ], [ 236, 237 ], [ 229, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 245, 247 ], [ 239, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 238, 252 ], [ 252, 253 ], [ 229, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 257, 259 ], [ 254, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 260, 265 ], [ 265, 266 ], [ 229, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 270, 272 ], [ 272, 273 ], [ 272, 274 ], [ 267, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 281, 283 ], [ 275, 284 ], [ 284, 285 ], [ 229, 286 ], [ 286, 287 ], [ 229, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 118, 292 ], [ 292, 293 ], [ 292, 294 ], [ 294, 295 ], [ 295, 296 ], [ 294, 297 ], [ 297, 298 ], [ 298, 299 ], [ 118, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 303, 304 ], [ 302, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 305, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 312, 314 ], [ 305, 315 ], [ 315, 316 ], [ 316, 317 ], [ 305, 318 ], [ 319, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 320, 324 ], [ 324, 325 ], [ 302, 326 ], [ 326, 327 ], [ 300, 328 ], [ 328, 329 ], [ 118, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 337, 339 ], [ 335, 340 ], [ 340, 341 ], [ 340, 342 ], [ 333, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 345, 347 ], [ 0, 348 ], [ 348, 349 ], [ 348, 350 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\n\npublic class Main {\n\tpublic static final String EOL = System.getProperty(\"line.separator\");\n public void exec() throws IOException {\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = in.nextInt();\n int m = in.nextInt();\n int[] A = in.nextInt(new int[n*m]);\n int[] b = in.nextInt(new int[m]);\n int c;\n for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}\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(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//buffer operation\n\tprivate void next() throws IOException {ptr++; readBuf();}\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//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }\n\tprivate boolean isMinus(char b) {return b=='-'; }\n\n\n\tprivate int _nextInt() throws IOException {\n\t\tint sign = 1;\n\t\tint res = 0;\n\t\tchar c;\n\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\tnext();\n\t\tif (isMinus(buf[ptr])) {\n\t\t\tsign = -1;\n\t\t\tnext();\n\t\t}\n\t\twhile (isNum(c=buf[ptr])) {\n\t\t\tres *= 10;\n\t\t\tres += c - '0' ;\n\t\t\tnext();\n\t\t}\n\t\tnext();\n\t\treturn sign * res;\n\t}\n\t\n\tpublic int nextInt() throws IOException {\n\t\treadBuf();\n\t\treturn _nextInt();\n\t}\n\n\tpublic int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tresult[i] = _nextInt();\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 static final String EOL = System.getProperty(\"line.separator\");\n public void exec() throws IOException {\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = in.nextInt();\n int m = in.nextInt();\n int[] A = in.nextInt(new int[n*m]);\n int[] b = in.nextInt(new int[m]);\n int c;\n for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}", "Main", "public static final String EOL = System.getProperty(\"line.separator\");", "EOL", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "public void exec() throws IOException {\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = in.nextInt();\n int m = in.nextInt();\n int[] A = in.nextInt(new int[n*m]);\n int[] b = in.nextInt(new int[m]);\n int c;\n for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }\n out.flush();\n }", "exec", "{\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = in.nextInt();\n int m = in.nextInt();\n int[] A = in.nextInt(new int[n*m]);\n int[] b = in.nextInt(new int[m]);\n int c;\n for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }\n out.flush();\n }", "InputUtil in = new InputUtil();", "in", "new InputUtil()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int m = in.nextInt();", "m", "in.nextInt()", "in.nextInt", "in", "int[] A = in.nextInt(new int[n*m]);", "A", "in.nextInt(new int[n*m])", "in.nextInt", "in", "new int[n*m]", "n*m", "n", "m", "int[] b = in.nextInt(new int[m]);", "b", "in.nextInt(new int[m])", "in.nextInt", "in", "new int[m]", "m", "int c;", "c", "for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }", "{\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }", "c = 0", "c", "0", "for(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n \t\tc += A[i*m+j]*b[j];\n \t}", "{\n \t\tc += A[i*m+j]*b[j];\n \t}", "c += A[i*m+j]*b[j]", "c", "A[i*m+j]*b[j]", "A[i*m+j]", "A", "i*m+j", "i*m", "i", "m", "j", "b[j]", "b", "j", "out.println(c)", "out.println", "out", "c", "out.flush()", "out.flush", "out", "public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }", "main", "{\n \tnew Main().exec();\n }", "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(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//buffer operation\n\tprivate void next() throws IOException {ptr++; readBuf();}\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//Number Input Reader/Parser\n\tprivate boolean isNum(char b) {return '0' <= b && b <= '9'; }\n\tprivate boolean isMinus(char b) {return b=='-'; }\n\n\n\tprivate int _nextInt() throws IOException {\n\t\tint sign = 1;\n\t\tint res = 0;\n\t\tchar c;\n\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\tnext();\n\t\tif (isMinus(buf[ptr])) {\n\t\t\tsign = -1;\n\t\t\tnext();\n\t\t}\n\t\twhile (isNum(c=buf[ptr])) {\n\t\t\tres *= 10;\n\t\t\tres += c - '0' ;\n\t\t\tnext();\n\t\t}\n\t\tnext();\n\t\treturn sign * res;\n\t}\n\t\n\tpublic int nextInt() throws IOException {\n\t\treadBuf();\n\t\treturn _nextInt();\n\t}\n\n\tpublic int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tresult[i] = _nextInt();\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(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", "//buffer operation\n\tprivate void next() throws IOException {ptr++; readBuf();}", "next", "{ptr++; readBuf();}", "ptr++", "ptr", "readBuf()", "readBuf", "private 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", "//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 int _nextInt() throws IOException {\n\t\tint sign = 1;\n\t\tint res = 0;\n\t\tchar c;\n\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\tnext();\n\t\tif (isMinus(buf[ptr])) {\n\t\t\tsign = -1;\n\t\t\tnext();\n\t\t}\n\t\twhile (isNum(c=buf[ptr])) {\n\t\t\tres *= 10;\n\t\t\tres += c - '0' ;\n\t\t\tnext();\n\t\t}\n\t\tnext();\n\t\treturn sign * res;\n\t}", "_nextInt", "{\n\t\tint sign = 1;\n\t\tint res = 0;\n\t\tchar c;\n\t\twhile (!isNum(c=buf[ptr]) && !isMinus(c)) \n\t\t\tnext();\n\t\tif (isMinus(buf[ptr])) {\n\t\t\tsign = -1;\n\t\t\tnext();\n\t\t}\n\t\twhile (isNum(c=buf[ptr])) {\n\t\t\tres *= 10;\n\t\t\tres += c - '0' ;\n\t\t\tnext();\n\t\t}\n\t\tnext();\n\t\treturn sign * res;\n\t}", "int sign = 1;", "sign", "1", "int res = 0;", "res", "0", "char c;", "c", "while (!isNum(c=buf[ptr]) && !isMinus(c)) \n\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\tsign = -1;\n\t\t\tnext();\n\t\t}", "isMinus(buf[ptr])", "isMinus", "buf[ptr]", "buf", "ptr", "{\n\t\t\tsign = -1;\n\t\t\tnext();\n\t\t}", "sign = -1", "sign", "-1", "1", "next()", "next", "while (isNum(c=buf[ptr])) {\n\t\t\tres *= 10;\n\t\t\tres += c - '0' ;\n\t\t\tnext();\n\t\t}", "isNum(c=buf[ptr])", "isNum", "c=buf[ptr]", "c", "buf[ptr]", "buf", "ptr", "{\n\t\t\tres *= 10;\n\t\t\tres += c - '0' ;\n\t\t\tnext();\n\t\t}", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "next()", "next", "next()", "next", "return sign * res;", "sign * res", "sign", "res", "public int nextInt() throws IOException {\n\t\treadBuf();\n\t\treturn _nextInt();\n\t}", "nextInt", "{\n\t\treadBuf();\n\t\treturn _nextInt();\n\t}", "readBuf()", "readBuf", "return _nextInt();", "_nextInt()", "_nextInt", "public int[] nextInt(int[] result) throws IOException {\n\t\treadBuf();\n\t\tfor(int i=0; i<result.length; i++) {\n\t\t\tresult[i] = _nextInt();\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\tresult[i] = _nextInt();\n\t\t}\n\t\treturn result;\n\t}", "readBuf()", "readBuf", "for(int i=0; i<result.length; i++) {\n\t\t\tresult[i] = _nextInt();\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\tresult[i] = _nextInt();\n\t\t}", "{\n\t\t\tresult[i] = _nextInt();\n\t\t}", "result[i] = _nextInt()", "result[i]", "result", "i", "_nextInt()", "_nextInt", "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 static final String EOL = System.getProperty(\"line.separator\");\n public void exec() throws IOException {\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = in.nextInt();\n int m = in.nextInt();\n int[] A = in.nextInt(new int[n*m]);\n int[] b = in.nextInt(new int[m]);\n int c;\n for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\n}", "public class Main {\n\tpublic static final String EOL = System.getProperty(\"line.separator\");\n public void exec() throws IOException {\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n\t\tint n = in.nextInt();\n int m = in.nextInt();\n int[] A = in.nextInt(new int[n*m]);\n int[] b = in.nextInt(new int[m]);\n int c;\n for(int i=0; i<n; i++) {\n \tc = 0;\n \tfor(int j=0; j<m; j++) {\n \t\tc += A[i*m+j]*b[j];\n \t}\n \tout.println(c);\n }\n out.flush();\n }\n \n public static void main(String[] args) throws IOException {\n \tnew Main().exec();\n }\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 static final String EOL = System.getProperty("line.separator"); public void exec() throws IOException { InputUtil in = new InputUtil(); PrintWriter out = new PrintWriter(System.out); int n = in.nextInt(); int m = in.nextInt(); int[] A = in.nextInt(new int[n*m]); int[] b = in.nextInt(new int[m]); int c; for(int i=0; i<n; i++) { c = 0; for(int j=0; j<m; j++) { c += A[i*m+j]*b[j]; } out.println(c); } out.flush(); } 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(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];} //buffer operation private void next() throws IOException {ptr++; readBuf();} private void readBuf() throws IOException { if(ptr >= max && br.ready()) { max = br.read(buf); ptr = 0; } } //Number Input Reader/Parser private boolean isNum(char b) {return '0' <= b && b <= '9'; } private boolean isMinus(char b) {return b=='-'; } private int _nextInt() throws IOException { 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(); return sign * res; } public int nextInt() throws IOException { readBuf(); return _nextInt(); } public int[] nextInt(int[] result) throws IOException { readBuf(); for(int i=0; i<result.length; i++) { result[i] = _nextInt(); } 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, 4, 18, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 145, 5 ], [ 145, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 52 ], [ 52, 53 ], [ 53, 54 ], [ 42, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 70, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 92, 102 ], [ 102, 103 ], [ 103, 104 ], [ 92, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 110, 120 ], [ 120, 121 ], [ 121, 122 ], [ 110, 123 ], [ 124, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 127, 133 ], [ 133, 134 ], [ 133, 135 ], [ 106, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 6, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int matrix[][] = new int[n][m];\n for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }\n \n int vector[] = new int [m];\n for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }\n \n for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int matrix[][] = new int[n][m];\n for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }\n \n int vector[] = new int [m];\n for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }\n \n for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int matrix[][] = new int[n][m];\n for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }\n \n int vector[] = new int [m];\n for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }\n \n for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n \n int matrix[][] = new int[n][m];\n for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }\n \n int vector[] = new int [m];\n for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }\n \n for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int matrix[][] = new int[n][m];", "matrix", "new int[n][m]", "n", "m", "for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<=n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }", "{\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }", "for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<=m-1", "j", "m-1", "m", "1", "j++", "j++", "j", "{\n matrix[i][j] = sc.nextInt();\n }", "{\n matrix[i][j] = sc.nextInt();\n }", "matrix[i][j] = sc.nextInt()", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int vector[] = new int [m];", "vector", "new int [m]", "m", "for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }", "int k=0;", "int k=0;", "k", "0", "k<=m-1", "k", "m-1", "m", "1", "k++", "k++", "k", "{\n vector[k] = sc.nextInt();\n }", "{\n vector[k] = sc.nextInt();\n }", "vector[k] = sc.nextInt()", "vector[k]", "vector", "k", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }", "int i=0;", "int i=0;", "i", "0", "i<=n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }", "{\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }", "int ans = 0;", "ans", "0", "for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }", "int j=0;", "int j=0;", "j", "0", "j<=m-1", "j", "m-1", "m", "1", "j++", "j++", "j", "{\n ans += matrix[i][j] * vector[j];\n }", "{\n ans += matrix[i][j] * vector[j];\n }", "ans += matrix[i][j] * vector[j]", "ans", "matrix[i][j] * vector[j]", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "vector[j]", "vector", "j", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "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 m = sc.nextInt();\n \n int matrix[][] = new int[n][m];\n for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }\n \n int vector[] = new int [m];\n for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }\n \n for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }\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 m = sc.nextInt();\n \n int matrix[][] = new int[n][m];\n for(int i=0; i<=n-1; i++){\n for(int j=0; j<=m-1; j++){\n matrix[i][j] = sc.nextInt();\n }\n }\n \n int vector[] = new int [m];\n for(int k=0; k<=m-1; k++){\n vector[k] = sc.nextInt();\n }\n \n for(int i=0; i<=n-1; i++){\n int ans = 0;\n for(int j=0; j<=m-1; j++){\n ans += matrix[i][j] * vector[j];\n }\n System.out.println(ans);\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int matrix[][] = new int[n][m]; for(int i=0; i<=n-1; i++){ for(int j=0; j<=m-1; j++){ matrix[i][j] = sc.nextInt(); } } int vector[] = new int [m]; for(int k=0; k<=m-1; k++){ vector[k] = sc.nextInt(); } for(int i=0; i<=n-1; i++){ int ans = 0; for(int j=0; j<=m-1; j++){ ans += matrix[i][j] * vector[j]; } System.out.println(ans); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 102, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 6, 137 ], [ 137, 138 ] ]
[ "import java.util.Scanner;\nclass Main{\n public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int[][] bector1=new int[n][m];\n int[] bector2=new int[m];\n int[] ans=new int[n];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }\n for(int k=0;k<m;k++){\n bector2[k]=sc.nextInt();\n }\n \n for(int l=0;l<n;l++){\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }\n \n \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 n=sc.nextInt();\n int m=sc.nextInt();\n int[][] bector1=new int[n][m];\n int[] bector2=new int[m];\n int[] ans=new int[n];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }\n for(int k=0;k<m;k++){\n bector2[k]=sc.nextInt();\n }\n \n for(int l=0;l<n;l++){\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }\n \n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int[][] bector1=new int[n][m];\n int[] bector2=new int[m];\n int[] ans=new int[n];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }\n for(int k=0;k<m;k++){\n bector2[k]=sc.nextInt();\n }\n \n for(int l=0;l<n;l++){\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }\n \n \n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int[][] bector1=new int[n][m];\n int[] bector2=new int[m];\n int[] ans=new int[n];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }\n for(int k=0;k<m;k++){\n bector2[k]=sc.nextInt();\n }\n \n for(int l=0;l<n;l++){\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }\n \n \n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m=sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] bector1=new int[n][m];", "bector1", "new int[n][m]", "n", "m", "int[] bector2=new int[m];", "bector2", "new int[m]", "m", "int[] ans=new int[n];", "ans", "new int[n]", "n", "for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }", "{\n for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }\n }", "for(int j=0;j<m;j++){\n bector1[i][j]=sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n bector1[i][j]=sc.nextInt();\n }", "{\n bector1[i][j]=sc.nextInt();\n }", "bector1[i][j]=sc.nextInt()", "bector1[i][j]", "bector1[i]", "bector1", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int k=0;k<m;k++){\n bector2[k]=sc.nextInt();\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n bector2[k]=sc.nextInt();\n }", "{\n bector2[k]=sc.nextInt();\n }", "bector2[k]=sc.nextInt()", "bector2[k]", "bector2", "k", "sc.nextInt()", "sc.nextInt", "sc", "for(int l=0;l<n;l++){\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }", "int l=0;", "int l=0;", "l", "0", "l<n", "l", "n", "l++", "l++", "l", "{\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }", "{\n for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }\n System.out.println(ans[l]);\n }", "for(int p=0;p<m;p++){\n ans[l]+=bector1[l][p]*bector2[p];\n }", "int p=0;", "int p=0;", "p", "0", "p<m", "p", "m", "p++", "p++", "p", "{\n ans[l]+=bector1[l][p]*bector2[p];\n }", "{\n ans[l]+=bector1[l][p]*bector2[p];\n }", "ans[l]+=bector1[l][p]*bector2[p]", "ans[l]", "ans", "l", "bector1[l][p]*bector2[p]", "bector1[l][p]", "bector1[l]", "bector1", "l", "p", "bector2[p]", "bector2", "p", "System.out.println(ans[l])", "System.out.println", "System.out", "System", "System.out", "ans[l]", "ans", "l", "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 m=sc.nextInt(); int[][] bector1=new int[n][m]; int[] bector2=new int[m]; int[] ans=new int[n]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ bector1[i][j]=sc.nextInt(); } } for(int k=0;k<m;k++){ bector2[k]=sc.nextInt(); } for(int l=0;l<n;l++){ for(int p=0;p<m;p++){ ans[l]+=bector1[l][p]*bector2[p]; } System.out.println(ans[l]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 169, 11 ], [ 169, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 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 ], [ 64, 65 ], [ 65, 66 ], [ 62, 67 ], [ 59, 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 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 14, 93 ], [ 93, 94 ], [ 93, 95 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 120, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 157, 159 ], [ 132, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 12, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] vector1 = new int[n][m];\n for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }\n int[] vector2 = new int[m];\n for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }\n\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] vector1 = new int[n][m];\n for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }\n int[] vector2 = new int[m];\n for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }\n\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] vector1 = new int[n][m];\n for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }\n int[] vector2 = new int[m];\n for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] vector1 = new int[n][m];\n for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }\n int[] vector2 = new int[m];\n for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] lines = br.readLine().split(\" \");", "lines", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(lines[0]);", "n", "Integer.parseInt(lines[0])", "Integer.parseInt", "Integer", "lines[0]", "lines", "0", "int m = Integer.parseInt(lines[1]);", "m", "Integer.parseInt(lines[1])", "Integer.parseInt", "Integer", "lines[1]", "lines", "1", "int[][] vector1 = new int[n][m];", "vector1", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }", "{\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }", "lines = br.readLine().split(\" \")", "lines", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n vector1[i][j] = Integer.parseInt(lines[j]);\n }", "{\n vector1[i][j] = Integer.parseInt(lines[j]);\n }", "vector1[i][j] = Integer.parseInt(lines[j])", "vector1[i][j]", "vector1[i]", "vector1", "i", "j", "Integer.parseInt(lines[j])", "Integer.parseInt", "Integer", "lines[j]", "lines", "j", "int[] vector2 = new int[m];", "vector2", "new int[m]", "m", "for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n vector2[i] = Integer.parseInt(br.readLine());\n }", "{\n vector2[i] = Integer.parseInt(br.readLine());\n }", "vector2[i] = Integer.parseInt(br.readLine())", "vector2[i]", "vector2", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }", "{\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }", "int sum=0;", "sum", "0", "for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n sum+=vector1[i][j]*vector2[j];\n }", "{\n sum+=vector1[i][j]*vector2[j];\n }", "sum+=vector1[i][j]*vector2[j]", "sum", "vector1[i][j]*vector2[j]", "vector1[i][j]", "vector1[i]", "vector1", "i", "j", "vector2[j]", "vector2", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] vector1 = new int[n][m];\n for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }\n int[] vector2 = new int[m];\n for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }\n\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] lines = br.readLine().split(\" \");\n int n = Integer.parseInt(lines[0]);\n int m = Integer.parseInt(lines[1]);\n int[][] vector1 = new int[n][m];\n for (int i = 0; i < n; i++) {\n lines = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n vector1[i][j] = Integer.parseInt(lines[j]);\n }\n }\n int[] vector2 = new int[m];\n for (int i = 0; i < m; i++) {\n vector2[i] = Integer.parseInt(br.readLine());\n }\n for(int i=0;i<n;i++){\n int sum=0;\n for(int j=0;j<m;j++){\n sum+=vector1[i][j]*vector2[j];\n }\n System.out.println(sum);\n }\n\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[] lines = br.readLine().split(" "); int n = Integer.parseInt(lines[0]); int m = Integer.parseInt(lines[1]); int[][] vector1 = new int[n][m]; for (int i = 0; i < n; i++) { lines = br.readLine().split(" "); for (int j = 0; j < m; j++) { vector1[i][j] = Integer.parseInt(lines[j]); } } int[] vector2 = new int[m]; for (int i = 0; i < m; i++) { vector2[i] = Integer.parseInt(br.readLine()); } for(int i=0;i<n;i++){ int sum=0; for(int j=0;j<m;j++){ sum+=vector1[i][j]*vector2[j]; } System.out.println(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, 20, 17, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 0, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 141, 5 ], [ 141, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 62, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 123, 129 ], [ 129, 130 ], [ 129, 131 ], [ 104, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 6, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "\nimport java.util.*;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint n=cin.nextInt(),m=cin.nextInt();\n\t\tint A[][]=new int[100][100];\n\t\tint B[]=new int[100];\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint n=cin.nextInt(),m=cin.nextInt();\n\t\tint A[][]=new int[100][100];\n\t\tint B[]=new int[100];\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint n=cin.nextInt(),m=cin.nextInt();\n\t\tint A[][]=new int[100][100];\n\t\tint B[]=new int[100];\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}", "main", "{\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint n=cin.nextInt(),m=cin.nextInt();\n\t\tint A[][]=new int[100][100];\n\t\tint B[]=new int[100];\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}", "Scanner cin=new Scanner(System.in);", "cin", "new Scanner(System.in)", "int n=cin.nextInt()", "n", "cin.nextInt()", "cin.nextInt", "cin", "m=cin.nextInt();", "m", "cin.nextInt()", "cin.nextInt", "cin", "int A[][]=new int[100][100];", "A", "new int[100][100]", "100", "100", "int B[]=new int[100];", "B", "new int[100]", "100", "for(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\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\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}", "{\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}", "int x=cin.nextInt();", "x", "cin.nextInt()", "cin.nextInt", "cin", "A[i][j]=x", "A[i][j]", "A[i]", "A", "i", "j", "x", "for(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}", "{\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}", "int x=cin.nextInt();", "x", "cin.nextInt()", "cin.nextInt", "cin", "B[i]=x", "B[i]", "B", "i", "x", "for(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "{\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}", "int sum=0;", "sum", "0", "for(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}", "{\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}", "sum+=A[i][j]*B[j]", "sum", "A[i][j]*B[j]", "A[i][j]", "A[i]", "A", "i", "j", "B[j]", "B", "j", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint n=cin.nextInt(),m=cin.nextInt();\n\t\tint A[][]=new int[100][100];\n\t\tint B[]=new int[100];\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner cin=new Scanner(System.in);\n\t\t\n\t\tint n=cin.nextInt(),m=cin.nextInt();\n\t\tint A[][]=new int[100][100];\n\t\tint B[]=new int[100];\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tint x=cin.nextInt();\n\t\t\t\tA[i][j]=x;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tint x=cin.nextInt();\n\t\t\tB[i]=x;\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tint sum=0;\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tsum+=A[i][j]*B[j];\n\t\t\t}\n\t\t\tSystem.out.println(sum);\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner cin=new Scanner(System.in); int n=cin.nextInt(),m=cin.nextInt(); int A[][]=new int[100][100]; int B[]=new int[100]; for(int i=0;i<n;i++) { for(int j=0;j<m;j++) { int x=cin.nextInt(); A[i][j]=x; } } for(int i=0;i<m;i++) { int x=cin.nextInt(); B[i]=x; } for(int i=0;i<n;i++) { int sum=0; for(int j=0;j<m;j++) { sum+=A[i][j]*B[j]; } System.out.println(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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 153, 5 ], [ 153, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 126, 128 ], [ 8, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 6, 150 ], [ 150, 151 ], [ 0, 152 ], [ 152, 153 ], [ 152, 154 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\tint n = S.nextInt();\n\t\tint m = S.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] ans = new int[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\t\t\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\tint n = S.nextInt();\n\t\tint m = S.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] ans = new int[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\t\t\n}", "Main", "public static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\tint n = S.nextInt();\n\t\tint m = S.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] ans = new int[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}", "main", "{\n\t\tScanner S = new Scanner(System.in);\n\t\tint n = S.nextInt();\n\t\tint m = S.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] ans = new int[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}", "Scanner S = new Scanner(System.in);", "S", "new Scanner(System.in)", "int n = S.nextInt();", "n", "S.nextInt()", "S.nextInt", "S", "int m = S.nextInt();", "m", "S.nextInt()", "S.nextInt", "S", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[] b = new int[m];", "b", "new int[m]", "m", "int[] ans = new int[n];", "ans", "new int[n]", "n", "for(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\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\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}", "A[i][j] = S.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "S.nextInt()", "S.nextInt", "S", "for(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tb[i] = S.nextInt();\n\t\t}", "{\n\t\t\tb[i] = S.nextInt();\n\t\t}", "b[i] = S.nextInt()", "b[i]", "b", "i", "S.nextInt()", "S.nextInt", "S", "for(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\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\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}", "for(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}", "{\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}", "ans[i] += A[i][j] * b[j]", "ans[i]", "ans", "i", "A[i][j] * b[j]", "A[i][j]", "A[i]", "A", "i", "j", "b[j]", "b", "j", "for(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "{\n\t\t\tSystem.out.println(ans[i]);\n\t\t}", "System.out.println(ans[i])", "System.out.println", "System.out", "System", "System.out", "ans[i]", "ans", "i", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\tint n = S.nextInt();\n\t\tint m = S.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] ans = new int[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\t\t\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner S = new Scanner(System.in);\n\t\tint n = S.nextInt();\n\t\tint m = S.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[] b = new int[m];\n\t\tint[] ans = new int[n];\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tA[i][j] = S.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++){\n\t\t\tb[i] = S.nextInt();\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tfor(int j = 0;j < m;j++){\n\t\t\t\tans[i] += A[i][j] * b[j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++){\n\t\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\t\t\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner S = new Scanner(System.in); int n = S.nextInt(); int m = S.nextInt(); int[][] A = new int[n][m]; int[] b = new int[m]; int[] ans = new int[n]; for(int i = 0;i < n;i++){ for(int j = 0;j < m;j++){ A[i][j] = S.nextInt(); } } for(int i = 0;i < m;i++){ b[i] = S.nextInt(); } for(int i = 0;i < n;i++){ for(int j = 0;j < m;j++){ ans[i] += A[i][j] * b[j]; } } for(int i = 0;i < n;i++){ System.out.println(ans[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 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 ], [ 169, 11 ], [ 169, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 20, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 66, 71 ], [ 63, 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 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 118, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 120, 128 ], [ 128, 129 ], [ 129, 130 ], [ 120, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 144, 145 ], [ 145, 146 ], [ 136, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 157, 159 ], [ 132, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 12, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "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 String[] input = br.readLine().split(\" \");\n int var = Integer.parseInt(input[0]);\n int hor = Integer.parseInt(input[1]);\n\n int[][] matrix = new int[var][hor];\n int[] vector = new int[hor];\n \n //data input\n for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n \n //data output\n for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }\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 String[] input = br.readLine().split(\" \");\n int var = Integer.parseInt(input[0]);\n int hor = Integer.parseInt(input[1]);\n\n int[][] matrix = new int[var][hor];\n int[] vector = new int[hor];\n \n //data input\n for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n \n //data output\n for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }\n\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] input = br.readLine().split(\" \");\n int var = Integer.parseInt(input[0]);\n int hor = Integer.parseInt(input[1]);\n\n int[][] matrix = new int[var][hor];\n int[] vector = new int[hor];\n \n //data input\n for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n \n //data output\n for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] input = br.readLine().split(\" \");\n int var = Integer.parseInt(input[0]);\n int hor = Integer.parseInt(input[1]);\n\n int[][] matrix = new int[var][hor];\n int[] vector = new int[hor];\n \n //data input\n for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n \n //data output\n for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int var = Integer.parseInt(input[0]);", "var", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int hor = Integer.parseInt(input[1]);", "hor", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int[][] matrix = new int[var][hor];", "matrix", "new int[var][hor]", "var", "hor", "int[] vector = new int[hor];", "vector", "new int[hor]", "hor", "for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < var", "i", "var", "i++", "i++", "i", "{\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }", "{\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < hor", "j", "hor", "j++", "j++", "j", "{\n matrix[i][j] = Integer.parseInt(line[j]);\n }", "{\n matrix[i][j] = Integer.parseInt(line[j]);\n }", "matrix[i][j] = Integer.parseInt(line[j])", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "Integer.parseInt(line[j])", "Integer.parseInt", "Integer", "line[j]", "line", "j", "for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < hor", "i", "hor", "i++", "i++", "i", "{\n vector[i] = Integer.parseInt(br.readLine());\n }", "{\n vector[i] = Integer.parseInt(br.readLine());\n }", "vector[i] = Integer.parseInt(br.readLine())", "vector[i]", "vector", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < var", "i", "var", "i++", "i++", "i", "{\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }", "{\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }", "int result = 0;", "result", "0", "for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }", "int j = 0;", "int j = 0;", "j", "0", "j < hor", "j", "hor", "j++", "j++", "j", "{\n result += matrix[i][j] * vector[j];\n }", "{\n result += matrix[i][j] * vector[j];\n }", "result += matrix[i][j] * vector[j]", "result", "matrix[i][j] * vector[j]", "matrix[i][j]", "matrix[i]", "matrix", "i", "j", "vector[j]", "vector", "j", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "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 \n String[] input = br.readLine().split(\" \");\n int var = Integer.parseInt(input[0]);\n int hor = Integer.parseInt(input[1]);\n\n int[][] matrix = new int[var][hor];\n int[] vector = new int[hor];\n \n //data input\n for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n \n //data output\n for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }\n\n }\n}", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String[] input = br.readLine().split(\" \");\n int var = Integer.parseInt(input[0]);\n int hor = Integer.parseInt(input[1]);\n\n int[][] matrix = new int[var][hor];\n int[] vector = new int[hor];\n \n //data input\n for(int i = 0; i < var; i++){\n String[] line = br.readLine().split(\" \");\n for(int j = 0; j < hor; j++){\n matrix[i][j] = Integer.parseInt(line[j]);\n }\n }\n for(int i = 0; i < hor; i++){\n vector[i] = Integer.parseInt(br.readLine());\n }\n \n //data output\n for(int i = 0; i < var; i++){\n int result = 0;\n for(int j = 0; j < hor; j++){\n result += matrix[i][j] * vector[j];\n }\n System.out.println(result);\n }\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)); String[] input = br.readLine().split(" "); int var = Integer.parseInt(input[0]); int hor = Integer.parseInt(input[1]); int[][] matrix = new int[var][hor]; int[] vector = new int[hor]; //data input for(int i = 0; i < var; i++){ String[] line = br.readLine().split(" "); for(int j = 0; j < hor; j++){ matrix[i][j] = Integer.parseInt(line[j]); } } for(int i = 0; i < hor; i++){ vector[i] = Integer.parseInt(br.readLine()); } //data output for(int i = 0; i < var; i++){ int result = 0; for(int j = 0; j < hor; j++){ result += matrix[i][j] * vector[j]; } System.out.println(result); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 145, 5 ], [ 145, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 131, 133 ], [ 102, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 6, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "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\t\n\t\tint n\t= sc.nextInt();\n\t\tint m\t= sc.nextInt();\n\t\t\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[]\tvectorB = new int[m];\n\t\tint[]\tvectorC = new int[n];\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}\n\t\t\n\t\t// calc and output\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\tint n\t= sc.nextInt();\n\t\tint m\t= sc.nextInt();\n\t\t\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[]\tvectorB = new int[m];\n\t\tint[]\tvectorC = new int[n];\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}\n\t\t\n\t\t// calc and output\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\tint n\t= sc.nextInt();\n\t\tint m\t= sc.nextInt();\n\t\t\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[]\tvectorB = new int[m];\n\t\tint[]\tvectorC = new int[n];\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}\n\t\t\n\t\t// calc and output\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\tint n\t= sc.nextInt();\n\t\tint m\t= sc.nextInt();\n\t\t\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[]\tvectorB = new int[m];\n\t\tint[]\tvectorC = new int[n];\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}\n\t\t\n\t\t// calc and output\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}", "Scanner sc = new Scanner( System.in );", "sc", "new Scanner( System.in )", "int n\t= sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m\t= sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int[][] vectorA = new int[n][m];", "vectorA", "new int[n][m]", "n", "m", "int[]\tvectorB = new int[m];", "vectorB", "new int[m]", "m", "int[]\tvectorC = new int[n];", "vectorC", "new int[n]", "n", "for( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\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\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}", "{\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}", "for( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}", "{\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}", "vectorA[i][j] = sc.nextInt()", "vectorA[i][j]", "vectorA[i]", "vectorA", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}", "{\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}", "vectorB[i] = sc.nextInt()", "vectorB[i]", "vectorB", "i", "sc.nextInt()", "sc.nextInt", "sc", "for( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}", "{\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}", "vectorC[i] = 0", "vectorC[i]", "vectorC", "i", "0", "for( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}", "{\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}", "vectorC[i] += ( vectorA[i][j] * vectorB[j] )", "vectorC[i]", "vectorC", "i", "( vectorA[i][j] * vectorB[j] )", "vectorA[i][j]", "vectorA[i]", "vectorA", "i", "j", "vectorB[j]", "vectorB", "j", "System.out.println( vectorC[i] )", "System.out.println", "System.out", "System", "System.out", "vectorC[i]", "vectorC", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\tint n\t= sc.nextInt();\n\t\tint m\t= sc.nextInt();\n\t\t\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[]\tvectorB = new int[m];\n\t\tint[]\tvectorC = new int[n];\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}\n\t\t\n\t\t// calc and output\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner( System.in );\n\t\t\n\t\tint n\t= sc.nextInt();\n\t\tint m\t= sc.nextInt();\n\t\t\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[]\tvectorB = new int[m];\n\t\tint[]\tvectorC = new int[n];\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvectorA[i][j] = sc.nextInt();\n\n\t\t\t}\n\t\t\t\n\t\t}\n\t\t\n\t\t// input\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tvectorB[i] = sc.nextInt();\n\t\t\t\n\t\t}\n\t\t\n\t\t// calc and output\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tvectorC[i] = 0;\n\t\t\tfor( int j = 0; j < m; j++ ) {\t\n\t\t\t\tvectorC[i] += ( vectorA[i][j] * vectorB[j] );\n\t\t\t\t\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println( vectorC[i] );\n\t\t}\n\t\t\n\t\t\n\t\t\n\t\t\n\t}\n\t\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner( System.in ); int n = sc.nextInt(); int m = sc.nextInt(); int[][] vectorA = new int[n][m]; int[] vectorB = new int[m]; int[] vectorC = new int[n]; // input for( int i = 0; i < n; i++ ) { for( int j = 0; j < m; j++ ) { vectorA[i][j] = sc.nextInt(); } } // input for( int i = 0; i < m; i++ ) { vectorB[i] = sc.nextInt(); } // calc and output for( int i = 0; i < n; i++ ) { vectorC[i] = 0; for( int j = 0; j < m; j++ ) { vectorC[i] += ( vectorA[i][j] * vectorB[j] ); } System.out.println( vectorC[i] ); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 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, 20, 13, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 18, 13, 13, 13, 18, 13, 13, 4, 18, 18, 13, 13, 18, 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 ], [ 177, 11 ], [ 177, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 23, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 54 ], [ 54, 55 ], [ 54, 56 ], [ 14, 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 ], [ 75, 76 ], [ 76, 77 ], [ 73, 78 ], [ 70, 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 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 14, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 125, 126 ], [ 14, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 135, 136 ], [ 136, 137 ], [ 127, 138 ], [ 139, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 140, 151 ], [ 152, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 163, 165 ], [ 139, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 171, 172 ], [ 171, 173 ], [ 12, 174 ], [ 174, 175 ], [ 0, 176 ], [ 176, 177 ], [ 176, 178 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] elm = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(elm[0]);\n\t\tint m = Integer.parseInt(elm[1]);\n\t\tint[][] mat = new int[n][m];\n\t\tint[] vct = new int[m]; \n\t\tint[] ans = new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\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\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] elm = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(elm[0]);\n\t\tint m = Integer.parseInt(elm[1]);\n\t\tint[][] mat = new int[n][m];\n\t\tint[] vct = new int[m]; \n\t\tint[] ans = new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] elm = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(elm[0]);\n\t\tint m = Integer.parseInt(elm[1]);\n\t\tint[][] mat = new int[n][m];\n\t\tint[] vct = new int[m]; \n\t\tint[] ans = new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] elm = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(elm[0]);\n\t\tint m = Integer.parseInt(elm[1]);\n\t\tint[][] mat = new int[n][m];\n\t\tint[] vct = new int[m]; \n\t\tint[] ans = new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String[] elm = br.readLine().split(\" \");", "elm", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(elm[0]);", "n", "Integer.parseInt(elm[0])", "Integer.parseInt", "Integer", "elm[0]", "elm", "0", "int m = Integer.parseInt(elm[1]);", "m", "Integer.parseInt(elm[1])", "Integer.parseInt", "Integer", "elm[1]", "elm", "1", "int[][] mat = new int[n][m];", "mat", "new int[n][m]", "n", "m", "int[] vct = new int[m];", "vct", "new int[m]", "m", "int[] ans = new int[n];", "ans", "new int[n]", "n", "for(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\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\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}", "{\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}", "mat[i][j] = Integer.parseInt(line[j])", "mat[i][j]", "mat[i]", "mat", "i", "j", "Integer.parseInt(line[j])", "Integer.parseInt", "Integer", "line[j]", "line", "j", "for(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}", "{\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}", "vct[i] = Integer.parseInt(br.readLine())", "vct[i]", "vct", "i", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}", "{\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}", "for(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}", "{\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}", "ans[i] += mat[i][j] * vct[j]", "ans[i]", "ans", "i", "mat[i][j] * vct[j]", "mat[i][j]", "mat[i]", "mat", "i", "j", "vct[j]", "vct", "j", "System.out.println(ans[i])", "System.out.println", "System.out", "System", "System.out", "ans[i]", "ans", "i", "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\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] elm = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(elm[0]);\n\t\tint m = Integer.parseInt(elm[1]);\n\t\tint[][] mat = new int[n][m];\n\t\tint[] vct = new int[m]; \n\t\tint[] ans = new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}\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\t\tStringBuilder sb = new StringBuilder();\n\t\tString[] elm = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(elm[0]);\n\t\tint m = Integer.parseInt(elm[1]);\n\t\tint[][] mat = new int[n][m];\n\t\tint[] vct = new int[m]; \n\t\tint[] ans = new int[n];\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tString[] line = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tmat[i][j] = Integer.parseInt(line[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m ; i++){\n\t\t\tvct[i] = Integer.parseInt(br.readLine());\n\t\t}\n\t\tfor(int i = 0; i < n ; i++){\n\t\t\tfor(int j = 0; j < m ; j++){\n\t\t\t\tans[i] += mat[i][j] * vct[j];\n\t\t\t}\n\t\tSystem.out.println(ans[i]);\n\t\t}\n\t}\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)); StringBuilder sb = new StringBuilder(); String[] elm = br.readLine().split(" "); int n = Integer.parseInt(elm[0]); int m = Integer.parseInt(elm[1]); int[][] mat = new int[n][m]; int[] vct = new int[m]; int[] ans = new int[n]; for(int i = 0; i < n ; i++){ String[] line = br.readLine().split(" "); for(int j = 0; j < m ; j++){ mat[i][j] = Integer.parseInt(line[j]); } } for(int i = 0; i < m ; i++){ vct[i] = Integer.parseInt(br.readLine()); } for(int i = 0; i < n ; i++){ for(int j = 0; j < m ; j++){ ans[i] += mat[i][j] * vct[j]; } System.out.println(ans[i]); } } }