node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 208, 5 ], [ 208, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 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, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 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 ], [ 8, 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 ], [ 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 ], [ 105, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 8, 113 ], [ 113, 114 ], [ 113, 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 ], [ 142, 144 ], [ 141, 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 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 160, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 141, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 141, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 180, 182 ], [ 177, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 128, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 208, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 196, 205 ], [ 205, 206 ], [ 0, 207 ], [ 207, 208 ], [ 207, 209 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i,j,k;\n\t\ti = s.nextInt();\n\t\tj = s.nextInt();\n\t\tk = s.nextInt();\n\t\tint a[][] = new int[i][j];\n\t\tint b[][] = new int[j][k];\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tlong ans = 0;\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i,j,k;\n\t\ti = s.nextInt();\n\t\tj = s.nextInt();\n\t\tk = s.nextInt();\n\t\tint a[][] = new int[i][j];\n\t\tint b[][] = new int[j][k];\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tlong ans = 0;\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "Main", "void run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i,j,k;\n\t\ti = s.nextInt();\n\t\tj = s.nextInt();\n\t\tk = s.nextInt();\n\t\tint a[][] = new int[i][j];\n\t\tint b[][] = new int[j][k];\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tlong ans = 0;\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "run", "{\n\t\tScanner s = new Scanner(System.in);\n\t\tint i,j,k;\n\t\ti = s.nextInt();\n\t\tj = s.nextInt();\n\t\tk = s.nextInt();\n\t\tint a[][] = new int[i][j];\n\t\tint b[][] = new int[j][k];\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tlong ans = 0;\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int i", "i", "j", "j", "k;", "k", "i = s.nextInt()", "i", "s.nextInt()", "s.nextInt", "s", "j = s.nextInt()", "j", "s.nextInt()", "s.nextInt", "s", "k = s.nextInt()", "k", "s.nextInt()", "s.nextInt", "s", "int a[][] = new int[i][j];", "a", "new int[i][j]", "i", "j", "int b[][] = new int[j][k];", "b", "new int[j][k]", "j", "k", "for(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}", "int cnti = 0;", "int cnti = 0;", "cnti", "0", "cnti < i", "cnti", "i", "cnti++", "cnti++", "cnti", "{\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}", "for(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}", "int cntj = 0;", "int cntj = 0;", "cntj", "0", "cntj < j", "cntj", "j", "cntj++", "cntj++", "cntj", "{\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}", "a[cnti][cntj] = s.nextInt()", "a[cnti][cntj]", "a[cnti]", "a", "cnti", "cntj", "s.nextInt()", "s.nextInt", "s", "for(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}", "int cntj = 0;", "int cntj = 0;", "cntj", "0", "cntj < j", "cntj", "j", "cntj++", "cntj++", "cntj", "{\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}", "for(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}", "int cntk = 0;", "int cntk = 0;", "cntk", "0", "cntk < k", "cntk", "k", "cntk++", "cntk++", "cntk", "{\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}", "b[cntj][cntk] = s.nextInt()", "b[cntj][cntk]", "b[cntj]", "b", "cntj", "cntk", "s.nextInt()", "s.nextInt", "s", "long ans = 0;", "ans", "0", "for(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "int cnti = 0;", "int cnti = 0;", "cnti", "0", "cnti < i", "cnti", "i", "cnti++", "cnti++", "cnti", "{\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "for(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int cntk = 0;", "int cntk = 0;", "cntk", "0", "cntk < k", "cntk", "k", "cntk++", "cntk++", "cntk", "{\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "ans = 0", "ans", "0", "for(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}", "int cntj = 0;", "int cntj = 0;", "cntj", "0", "cntj < j", "cntj", "j", "cntj++", "cntj++", "cntj", "{\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}", "{\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}", "ans += a[cnti][cntj] * b[cntj][cntk]", "ans", "a[cnti][cntj] * b[cntj][cntk]", "a[cnti][cntj]", "a[cnti]", "a", "cnti", "cntj", "b[cntj][cntk]", "b[cntj]", "b", "cntj", "cntk", "System.out.print(ans)", "System.out.print", "System.out", "System", "System.out", "ans", "if(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "cntk < k - 1", "cntk", "k - 1", "k", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "public static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.run();\n\t}", "main", "{\n\t\tMain m = new Main();\n\t\tm.run();\n\t}", "Main m = new Main();", "m", "new Main()", "m.run()", "m.run", "m", "String args[]", "args", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i,j,k;\n\t\ti = s.nextInt();\n\t\tj = s.nextInt();\n\t\tk = s.nextInt();\n\t\tint a[][] = new int[i][j];\n\t\tint b[][] = new int[j][k];\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tlong ans = 0;\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "public class Main {\n\tvoid run(){\n\t\tScanner s = new Scanner(System.in);\n\t\tint i,j,k;\n\t\ti = s.nextInt();\n\t\tj = s.nextInt();\n\t\tk = s.nextInt();\n\t\tint a[][] = new int[i][j];\n\t\tint b[][] = new int[j][k];\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\ta[cnti][cntj] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tb[cntj][cntk] = s.nextInt();\n\t\t\t}\n\t\t}\n\t\tlong ans = 0;\n\t\tfor(int cnti = 0;cnti < i;cnti++){\n\t\t\tfor(int cntk = 0;cntk < k;cntk++){\n\t\t\t\tans = 0;\n\t\t\t\tfor(int cntj = 0;cntj < j;cntj++){\n\t\t\t\t\tans += a[cnti][cntj] * b[cntj][cntk];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(ans);\n\t\t\t\tif(cntk < k - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n\tpublic static void main(String args[]){\n\t\tMain m = new Main();\n\t\tm.run();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { void run(){ Scanner s = new Scanner(System.in); int i,j,k; i = s.nextInt(); j = s.nextInt(); k = s.nextInt(); int a[][] = new int[i][j]; int b[][] = new int[j][k]; for(int cnti = 0;cnti < i;cnti++){ for(int cntj = 0;cntj < j;cntj++){ a[cnti][cntj] = s.nextInt(); } } for(int cntj = 0;cntj < j;cntj++){ for(int cntk = 0;cntk < k;cntk++){ b[cntj][cntk] = s.nextInt(); } } long ans = 0; for(int cnti = 0;cnti < i;cnti++){ for(int cntk = 0;cntk < k;cntk++){ ans = 0; for(int cntj = 0;cntj < j;cntj++){ ans += a[cnti][cntj] * b[cntj][cntk]; } System.out.print(ans); if(cntk < k - 1){ System.out.print(" "); } } System.out.println(""); } } public static void main(String args[]){ Main m = new Main(); m.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, 4, 18, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 4, 18, 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, 4, 18, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 13, 17, 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 ], [ 235, 8 ], [ 235, 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 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 11, 42 ], [ 42, 43 ], [ 42, 44 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 52 ], [ 52, 53 ], [ 52, 54 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 91, 92 ], [ 11, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 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 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 127, 128 ], [ 11, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 153, 161 ], [ 161, 162 ], [ 162, 163 ], [ 153, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 165, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 171, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 11, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 187, 188 ], [ 187, 189 ], [ 182, 190 ], [ 190, 191 ], [ 191, 192 ], [ 182, 193 ], [ 194, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 195, 203 ], [ 203, 204 ], [ 204, 205 ], [ 195, 206 ], [ 207, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 208, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 207, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 219, 221 ], [ 216, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 194, 226 ], [ 226, 227 ], [ 227, 228 ], [ 11, 229 ], [ 229, 230 ], [ 230, 231 ], [ 9, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main {\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 = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int l = Integer.parseInt(sc.next());\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for (int i = 0; i < m; i++)\n for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());\n \n for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }\n \n pw.flush();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\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 = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int l = Integer.parseInt(sc.next());\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for (int i = 0; i < m; i++)\n for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());\n \n for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }\n \n pw.flush();\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 = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int l = Integer.parseInt(sc.next());\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for (int i = 0; i < m; i++)\n for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());\n \n for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }\n \n pw.flush();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n \n int n = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int l = Integer.parseInt(sc.next());\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for (int i = 0; i < m; i++)\n for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());\n \n for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }\n \n pw.flush();\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 = 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 l = Integer.parseInt(sc.next());", "l", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "long[][] a = new long[n][m];", "a", "new long[n][m]", "n", "m", "long[][] b = new long[m][l];", "b", "new long[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++)\n for (int j = 0; j < m; j++)\n a[i][j] = Integer.parseInt(sc.next());", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "for (int j = 0; j < m; j++)\n a[i][j] = Integer.parseInt(sc.next());", "for (int j = 0; j < m; j++)\n a[i][j] = Integer.parseInt(sc.next());", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "a[i][j] = Integer.parseInt(sc.next());", "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 for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());", "for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "b[i][j] = Integer.parseInt(sc.next());", "b[i][j] = Integer.parseInt(sc.next())", "b[i][j]", "b[i]", "b", "i", "j", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];", "for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];", "for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "c[i][j] += a[i][k] * b[k][j];", "c[i][j] += a[i][k] * b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }", "{\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }", "for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }", "{\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }", "pw.print(c[i][j])", "pw.print", "pw", "c[i][j]", "c[i]", "c", "i", "j", "if (j < l-1) pw.print(\" \");", "j < l-1", "j", "l-1", "l", "1", "pw.print(\" \")", "pw.print", "pw", "\" \"", "pw.println()", "pw.println", "pw", "pw.flush()", "pw.flush", "pw", "String[] args", "args", "public class Main {\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 = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int l = Integer.parseInt(sc.next());\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for (int i = 0; i < m; i++)\n for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());\n \n for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }\n \n pw.flush();\n }\n}", "public class Main {\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 = Integer.parseInt(sc.next());\n int m = Integer.parseInt(sc.next());\n int l = Integer.parseInt(sc.next());\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for (int i = 0; i < m; i++)\n for (int j = 0; j < l; j++)\n b[i][j] = Integer.parseInt(sc.next());\n \n for (int i = 0; i < n; i++)\n for (int j = 0; j < l; j++)\n for (int k = 0; k < m; k++)\n c[i][j] += a[i][k] * b[k][j];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n pw.print(c[i][j]);\n if (j < l-1) pw.print(\" \");\n }\n pw.println();\n }\n \n pw.flush();\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); PrintWriter pw = new PrintWriter(System.out); int n = Integer.parseInt(sc.next()); int m = Integer.parseInt(sc.next()); int l = Integer.parseInt(sc.next()); long[][] a = new long[n][m]; long[][] b = new long[m][l]; long[][] c = new long[n][l]; 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++) for (int j = 0; j < l; j++) b[i][j] = Integer.parseInt(sc.next()); for (int i = 0; i < n; i++) for (int j = 0; j < l; j++) for (int k = 0; k < m; k++) c[i][j] += a[i][k] * b[k][j]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { pw.print(c[i][j]); if (j < l-1) pw.print(" "); } pw.println(); } pw.flush(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 14, 2, 13, 17, 30, 0, 13, 4, 18, 13, 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, 13, 14, 2, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 2, 13, 17, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 2, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 2, 2, 13, 17, 13, 13, 4, 18, 13, 18, 13, 13, 14, 2, 13, 2, 13, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 4, 18, 13, 29, 40, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 261, 8 ], [ 261, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 35, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 51, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 62, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 76, 78 ], [ 62, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 62, 87 ], [ 87, 88 ], [ 87, 89 ], [ 62, 92 ], [ 92, 93 ], [ 92, 94 ], [ 58, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 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 ], [ 119, 120 ], [ 119, 121 ], [ 116, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 126, 127 ], [ 126, 128 ], [ 97, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 132, 134 ], [ 129, 135 ], [ 135, 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 ], [ 154, 154 ], [ 154, 155 ], [ 154, 156 ], [ 154, 157 ], [ 150, 158 ], [ 149, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 162, 164 ], [ 51, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 168, 170 ], [ 165, 171 ], [ 171, 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 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 190, 191 ], [ 190, 192 ], [ 185, 193 ], [ 193, 194 ], [ 194, 195 ], [ 185, 196 ], [ 197, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 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 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 216, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 197, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 227, 232 ], [ 197, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 236, 238 ], [ 233, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 240, 245 ], [ 233, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 171, 252 ], [ 252, 253 ], [ 253, 254 ], [ 171, 255 ], [ 51, 256 ], [ 256, 257 ], [ 9, 258 ], [ 258, 259 ], [ 0, 260 ], [ 260, 261 ], [ 260, 262 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\n\t\tint count = 0;\n\t\tint m = 0;\n\t\tint n = 0;\n\t\tint l = 0;\n\t\tint[][] matrix1 = null;\n\t\tint[][] matrix2 = null;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\n\t\tint count = 0;\n\t\tint m = 0;\n\t\tint n = 0;\n\t\tint l = 0;\n\t\tint[][] matrix1 = null;\n\t\tint[][] matrix2 = null;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\n\t\tint count = 0;\n\t\tint m = 0;\n\t\tint n = 0;\n\t\tint l = 0;\n\t\tint[][] matrix1 = null;\n\t\tint[][] matrix2 = null;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\n\t\tint count = 0;\n\t\tint m = 0;\n\t\tint n = 0;\n\t\tint l = 0;\n\t\tint[][] matrix1 = null;\n\t\tint[][] matrix2 = null;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "String buffer;", "buffer", "int count = 0;", "count", "0", "int m = 0;", "m", "0", "int n = 0;", "n", "0", "int l = 0;", "l", "0", "int[][] matrix1 = null;", "matrix1", "null", "int[][] matrix2 = null;", "matrix2", "null", "try {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}", "catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}", "Exception ex", "{\n\t\t\tex.printStackTrace();\n\t\t}", "ex.printStackTrace()", "ex.printStackTrace", "ex", "{\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "while ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}", "(buffer = reader.readLine()) != null", "(buffer = reader.readLine())", "buffer", "reader.readLine()", "reader.readLine", "reader", "null", "{\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}", "String[] input = buffer.split(\" \");", "input", "buffer.split(\" \")", "buffer.split", "buffer", "\" \"", "if (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}", "count == 0", "count", "0", "{\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}", "n = Integer.valueOf(input[0])", "n", "Integer.valueOf(input[0])", "Integer.valueOf", "Integer", "input[0]", "input", "0", "m = Integer.valueOf(input[1])", "m", "Integer.valueOf(input[1])", "Integer.valueOf", "Integer", "input[1]", "input", "1", "l = Integer.valueOf(input[2])", "l", "Integer.valueOf(input[2])", "Integer.valueOf", "Integer", "input[2]", "input", "2", "matrix1 = new int[n][m]", "matrix1", "new int[n][m]", "n", "m", "matrix2 = new int[m][l]", "matrix2", "new int[m][l]", "m", "l", "if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}", "count <= n", "count", "n", "{\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}", "for (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}", "matrix1[count - 1][i] = Integer.valueOf(input[i])", "matrix1[count - 1][i]", "matrix1[count - 1]", "matrix1", "count - 1", "count", "1", "i", "Integer.valueOf(input[i])", "Integer.valueOf", "Integer", "input[i]", "input", "i", "if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}", "count <= n + m", "count", "n + m", "n", "m", "{\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}", "for (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < l", "i", "l", "i++", "i++", "i", "{\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}", "matrix2[count - 1 - n][i] = Integer.valueOf(input[i])", "matrix2[count - 1 - n][i]", "matrix2[count - 1 - n]", "matrix2", "count - 1 - n", "count - 1 - n", "count", "1", "n", "i", "Integer.valueOf(input[i])", "Integer.valueOf", "Integer", "input[i]", "input", "i", "if (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}", "count == n + m", "count", "n + m", "n", "m", "{\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}", "for (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "int h = 0;", "int h = 0;", "h", "0", "h < n", "h", "n", "h++", "h++", "h", "{\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "for (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "int w = 0;", "int w = 0;", "w", "0", "w < l", "w", "l", "w++", "w++", "w", "{\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "{\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "long calc = 0;", "calc", "0", "for (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}", "{\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}", "calc += matrix1[h][i] * matrix2[i][w]", "calc", "matrix1[h][i] * matrix2[i][w]", "matrix1[h][i]", "matrix1[h]", "matrix1", "h", "i", "matrix2[i][w]", "matrix2[i]", "matrix2", "i", "w", "System.out.print(calc)", "System.out.print", "System.out", "System", "System.out", "calc", "if (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}", "w != l - 1", "w", "l - 1", "l", "1", "{\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "{\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "reader.close()", "reader.close", "reader", "return;", "count++", "count", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\n\t\tint count = 0;\n\t\tint m = 0;\n\t\tint n = 0;\n\t\tint l = 0;\n\t\tint[][] matrix1 = null;\n\t\tint[][] matrix2 = null;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tBufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\t\tString buffer;\n\n\t\tint count = 0;\n\t\tint m = 0;\n\t\tint n = 0;\n\t\tint l = 0;\n\t\tint[][] matrix1 = null;\n\t\tint[][] matrix2 = null;\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tString[] input = buffer.split(\" \");\n\n\t\t\t\tif (count == 0) {\n\t\t\t\t\tn = Integer.valueOf(input[0]);\n\t\t\t\t\tm = Integer.valueOf(input[1]);\n\t\t\t\t\tl = Integer.valueOf(input[2]);\n\t\t\t\t\tmatrix1 = new int[n][m];\n\t\t\t\t\tmatrix2 = new int[m][l];\n\t\t\t\t}\n\t\t\t\telse if (count <= n) {\n\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\tmatrix1[count - 1][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if (count <= n + m) {\n\t\t\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\t\t\tmatrix2[count - 1 - n][i] = Integer.valueOf(input[i]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif (count == n + m) {\n\t\t\t\t\tfor (int h = 0; h < n; h++) {\n\t\t\t\t\t\tfor (int w = 0; w < l; w++) {\n\t\t\t\t\t\t\tlong calc = 0;\n\t\t\t\t\t\t\tfor (int i = 0; i < m; i++) {\n\t\t\t\t\t\t\t\tcalc += matrix1[h][i] * matrix2[i][w];\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\tSystem.out.print(calc);\n\t\t\t\t\t\t\tif (w != l - 1) {\n\t\t\t\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t\telse {\n\t\t\t\t\t\t\t\tSystem.out.println();\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t//output\n\t\t\t\t\treader.close();\n\t\t\t\t\treturn;\n\t\t\t\t}\n\n\t\t\t\tcount++;\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String buffer; int count = 0; int m = 0; int n = 0; int l = 0; int[][] matrix1 = null; int[][] matrix2 = null; try { while ((buffer = reader.readLine()) != null) { String[] input = buffer.split(" "); if (count == 0) { n = Integer.valueOf(input[0]); m = Integer.valueOf(input[1]); l = Integer.valueOf(input[2]); matrix1 = new int[n][m]; matrix2 = new int[m][l]; } else if (count <= n) { for (int i = 0; i < m; i++) { matrix1[count - 1][i] = Integer.valueOf(input[i]); } } else if (count <= n + m) { for (int i = 0; i < l; i++) { matrix2[count - 1 - n][i] = Integer.valueOf(input[i]); } } if (count == n + m) { for (int h = 0; h < n; h++) { for (int w = 0; w < l; w++) { long calc = 0; for (int i = 0; i < m; i++) { calc += matrix1[h][i] * matrix2[i][w]; } System.out.print(calc); if (w != l - 1) { System.out.print(" "); } else { System.out.println(); } } } //output reader.close(); return; } count++; } } catch (Exception ex) { ex.printStackTrace(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 12, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 2, 2, 2, 2, 17, 13, 2, 13, 17, 2, 2, 17, 13, 2, 13, 17, 2, 2, 17, 13, 2, 13, 17, 30, 0, 18, 36, 13, 20, 13, 13, 0, 18, 36, 13, 20, 13, 13, 0, 18, 36, 13, 20, 13, 13, 30, 37, 20, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 13, 14, 2, 2, 17, 13, 2, 13, 17, 30, 14, 13, 30, 0, 18, 18, 18, 36, 13, 13, 13, 13, 30, 0, 18, 18, 18, 36, 13, 13, 13, 13, 30, 37, 20, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 36, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 18, 36, 13, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 18, 36, 13, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 18, 36, 13, 13, 13, 2, 18, 18, 18, 36, 13, 13, 13, 2, 18, 18, 18, 36, 13, 13, 13, 18, 18, 18, 36, 13, 13, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 36, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 18, 36, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 2, 18, 18, 18, 36, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 18, 36, 13, 13, 13, 4, 18, 18, 13, 13, 2, 18, 18, 18, 36, 13, 13, 13, 17, 4, 18, 18, 13, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 2, 13, 17, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 18, 18, 13, 13, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 13, 13, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 18, 18, 13, 13, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 13, 13, 18, 13, 13, 17, 4, 18, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 13, 17 ], [ 17, 18 ], [ 13, 19 ], [ 19, 20 ], [ 13, 21 ], [ 21, 22 ], [ 21, 23 ], [ 13, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 26, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 26, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 26, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 26, 57 ], [ 57, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 59, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 78, 80 ], [ 57, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 81, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 57, 103 ], [ 103, 104 ], [ 104, 105 ], [ 24, 106 ], [ 106, 107 ], [ 13, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 110, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 130, 136 ], [ 129, 137 ], [ 126, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 140, 146 ], [ 139, 147 ], [ 117, 148 ], [ 148, 149 ], [ 149, 150 ], [ 108, 151 ], [ 151, 152 ], [ 108, 153 ], [ 153, 154 ], [ 108, 155 ], [ 155, 156 ], [ 108, 157 ], [ 157, 158 ], [ 13, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 162, 174 ], [ 174, 175 ], [ 175, 176 ], [ 162, 177 ], [ 178, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 191 ], [ 186, 192 ], [ 179, 193 ], [ 193, 194 ], [ 194, 195 ], [ 179, 196 ], [ 197, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 205, 211 ], [ 198, 212 ], [ 212, 213 ], [ 213, 214 ], [ 198, 215 ], [ 216, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 218, 224 ], [ 217, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 226, 232 ], [ 225, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 234, 240 ], [ 233, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 241, 247 ], [ 13, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 251, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 251, 263 ], [ 263, 264 ], [ 264, 265 ], [ 251, 266 ], [ 267, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 268, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 276, 280 ], [ 275, 281 ], [ 268, 282 ], [ 282, 283 ], [ 283, 284 ], [ 268, 285 ], [ 286, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 292, 296 ], [ 291, 297 ], [ 290, 298 ], [ 287, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 300, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 306, 310 ], [ 305, 311 ], [ 287, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 314, 316 ], [ 312, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 319, 323 ], [ 318, 324 ], [ 317, 325 ], [ 267, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 328, 330 ], [ 326, 331 ], [ 0, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 337, 338 ], [ 337, 339 ], [ 336, 340 ], [ 340, 341 ], [ 340, 342 ], [ 336, 343 ], [ 343, 344 ], [ 344, 345 ], [ 344, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 349, 351 ], [ 347, 352 ], [ 352, 353 ], [ 352, 354 ], [ 343, 355 ], [ 355, 356 ], [ 356, 357 ], [ 357, 358 ], [ 356, 359 ], [ 359, 360 ], [ 360, 361 ], [ 355, 362 ], [ 362, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 362, 367 ], [ 367, 368 ], [ 367, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 369, 373 ], [ 362, 374 ], [ 374, 375 ], [ 375, 376 ], [ 362, 377 ], [ 378, 378 ], [ 378, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 384, 385 ], [ 381, 386 ], [ 378, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 387, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 396, 398 ], [ 395, 399 ], [ 394, 400 ], [ 387, 401 ], [ 401, 402 ], [ 402, 403 ], [ 387, 404 ], [ 405, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 406, 409 ], [ 406, 410 ], [ 406, 411 ], [ 411, 412 ], [ 411, 413 ], [ 406, 414 ], [ 355, 415 ], [ 415, 416 ], [ 416, 417 ], [ 417, 418 ], [ 417, 419 ], [ 415, 420 ], [ 420, 421 ], [ 420, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 422, 426 ], [ 415, 427 ], [ 427, 428 ], [ 428, 429 ], [ 415, 430 ], [ 431, 431 ], [ 431, 432 ], [ 432, 433 ], [ 432, 434 ], [ 434, 435 ], [ 435, 436 ], [ 436, 437 ], [ 437, 438 ], [ 434, 439 ], [ 431, 440 ], [ 440, 441 ], [ 441, 442 ], [ 442, 443 ], [ 442, 444 ], [ 440, 445 ], [ 445, 446 ], [ 445, 447 ], [ 447, 448 ], [ 448, 449 ], [ 449, 450 ], [ 449, 451 ], [ 448, 452 ], [ 447, 453 ], [ 440, 454 ], [ 454, 455 ], [ 455, 456 ], [ 440, 457 ], [ 458, 458 ], [ 458, 459 ], [ 459, 460 ], [ 460, 461 ], [ 459, 462 ], [ 459, 463 ], [ 459, 464 ], [ 464, 465 ], [ 464, 466 ], [ 459, 467 ], [ 355, 468 ], [ 468, 469 ], [ 469, 470 ], [ 336, 471 ], [ 471, 472 ], [ 472, 473 ], [ 334, 474 ], [ 474, 475 ] ]
[ "//????????????\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n//?????????????????????MaxValueException\nclass MaxValueException extends Exception{\n\n}\n\n//???????????????\nclass Matrix{\n\n\n\n\tpublic int[][] arrayA;\n\tpublic int[][] arrayB;\n\tpublic long[][] arrayC;\n\n\n\tpublic Matrix() { }\n\n\t// ????????????\n\tpublic void CreateArray(String str) throws MaxValueException{\n\n\t\tString[] strArray = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\t\t\t\t//??????A????????°rowA\n\t\tint b = Integer.parseInt(strArray[1]);\t\t\t\t//??????A????????°??¨??????B????????°colA\n\t\tint c = Integer.parseInt(strArray[2]);\t\t\t\t//??????B????????°colB\n\n\t\tif((1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)) {\n\t\t\tthis.arrayA = new int[a][b];\n\t\t\tthis.arrayB = new int[b][c];\n\t\t\tthis.arrayC = new long[a][c];\n\t\t}\n\t\telse {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}\n\n\t// ?????????????¨????\n\tpublic void SetValue(int i, int j, String value, boolean chk) throws MaxValueException{\n\n\t\tint num = Integer.parseInt(value);\n\t\tif(0 <= num && num <= 10000) {\n\t\t\tif(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}\n\n\t\t}else {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}\n\n\t// ?¨????\n\tpublic void SetMatrix() throws MaxValueException{\n\t\t//??????A??¨??????B?????????????´?????????????C\n\t\t\n\t\tfor(int i=0; i< this.arrayA.length; i++) {\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t}\n\n\t// ??¨???\n\tpublic void Show()\n\t{\n\t\tfor(int i=0; i<this.arrayC.length;i++) {\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}\n\nclass Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\t//matrix????????????C???????????§???????????????\n\t\tMatrix c = new Matrix();\n\n\t\t//????????????setmatrix?????????A??¨??????B???????????¨??°????????\\?????¶?´??????????\n\t\ttry {\n\n\t\t\tc.CreateArray(br.readLine());\n\n\n\t\t\t//??????A???????´?????????? arrayA\n\t\t\tfor(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//??????B???????´??????????arrayB\n\t\t\tfor(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ?¨????\n\t\t\tc.SetMatrix();\n\t\t}\n\t\tcatch(MaxValueException e) {\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}\n\n\t\t//????????????\n\t\tc.Show();\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 MaxValueException extends Exception{\n\n}", "MaxValueException", "Exception", "class Matrix{\n\n\n\n\tpublic int[][] arrayA;\n\tpublic int[][] arrayB;\n\tpublic long[][] arrayC;\n\n\n\tpublic Matrix() { }\n\n\t// ????????????\n\tpublic void CreateArray(String str) throws MaxValueException{\n\n\t\tString[] strArray = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\t\t\t\t//??????A????????°rowA\n\t\tint b = Integer.parseInt(strArray[1]);\t\t\t\t//??????A????????°??¨??????B????????°colA\n\t\tint c = Integer.parseInt(strArray[2]);\t\t\t\t//??????B????????°colB\n\n\t\tif((1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)) {\n\t\t\tthis.arrayA = new int[a][b];\n\t\t\tthis.arrayB = new int[b][c];\n\t\t\tthis.arrayC = new long[a][c];\n\t\t}\n\t\telse {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}\n\n\t// ?????????????¨????\n\tpublic void SetValue(int i, int j, String value, boolean chk) throws MaxValueException{\n\n\t\tint num = Integer.parseInt(value);\n\t\tif(0 <= num && num <= 10000) {\n\t\t\tif(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}\n\n\t\t}else {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}\n\n\t// ?¨????\n\tpublic void SetMatrix() throws MaxValueException{\n\t\t//??????A??¨??????B?????????????´?????????????C\n\t\t\n\t\tfor(int i=0; i< this.arrayA.length; i++) {\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t}\n\n\t// ??¨???\n\tpublic void Show()\n\t{\n\t\tfor(int i=0; i<this.arrayC.length;i++) {\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n}", "Matrix", "public int[][] arrayA;", "arrayA", "public int[][] arrayB;", "arrayB", "public long[][] arrayC;", "arrayC", "public Matrix() { }", "Matrix", "{ }", "// ????????????\n\tpublic void CreateArray(String str) throws MaxValueException{\n\n\t\tString[] strArray = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\t\t\t\t//??????A????????°rowA\n\t\tint b = Integer.parseInt(strArray[1]);\t\t\t\t//??????A????????°??¨??????B????????°colA\n\t\tint c = Integer.parseInt(strArray[2]);\t\t\t\t//??????B????????°colB\n\n\t\tif((1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)) {\n\t\t\tthis.arrayA = new int[a][b];\n\t\t\tthis.arrayB = new int[b][c];\n\t\t\tthis.arrayC = new long[a][c];\n\t\t}\n\t\telse {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}", "CreateArray", "{\n\n\t\tString[] strArray = str.split(\" \");\n\t\tint a = Integer.parseInt(strArray[0]);\t\t\t\t//??????A????????°rowA\n\t\tint b = Integer.parseInt(strArray[1]);\t\t\t\t//??????A????????°??¨??????B????????°colA\n\t\tint c = Integer.parseInt(strArray[2]);\t\t\t\t//??????B????????°colB\n\n\t\tif((1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)) {\n\t\t\tthis.arrayA = new int[a][b];\n\t\t\tthis.arrayB = new int[b][c];\n\t\t\tthis.arrayC = new long[a][c];\n\t\t}\n\t\telse {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}", "String[] strArray = str.split(\" \");", "strArray", "str.split(\" \")", "str.split", "str", "\" \"", "int a = Integer.parseInt(strArray[0]);", "a", "Integer.parseInt(strArray[0])", "Integer.parseInt", "Integer", "strArray[0]", "strArray", "0", "int b = Integer.parseInt(strArray[1]);", "b", "Integer.parseInt(strArray[1])", "Integer.parseInt", "Integer", "strArray[1]", "strArray", "1", "int c = Integer.parseInt(strArray[2]);", "c", "Integer.parseInt(strArray[2])", "Integer.parseInt", "Integer", "strArray[2]", "strArray", "2", "if((1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)) {\n\t\t\tthis.arrayA = new int[a][b];\n\t\t\tthis.arrayB = new int[b][c];\n\t\t\tthis.arrayC = new long[a][c];\n\t\t}\n\t\telse {\n\t\t\tthrow new MaxValueException();\n\t\t}", "(1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)", "(1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)", "(1 <= a && a <= 100)", "1 <= a", "1", "a", "a <= 100", "a", "100", "(1 <= b && b <= 100)", "1 <= b", "1", "b", "b <= 100", "b", "100", "(1 <= c && c <= 100)", "1 <= c", "1", "c", "c <= 100", "c", "100", "{\n\t\t\tthis.arrayA = new int[a][b];\n\t\t\tthis.arrayB = new int[b][c];\n\t\t\tthis.arrayC = new long[a][c];\n\t\t}", "this.arrayA = new int[a][b]", "this.arrayA", "this", "this.arrayA", "new int[a][b]", "a", "b", "this.arrayB = new int[b][c]", "this.arrayB", "this", "this.arrayB", "new int[b][c]", "b", "c", "this.arrayC = new long[a][c]", "this.arrayC", "this", "this.arrayC", "new long[a][c]", "a", "c", "{\n\t\t\tthrow new MaxValueException();\n\t\t}", "throw new MaxValueException();", "new MaxValueException()", "String str", "str", "// ?????????????¨????\n\tpublic void SetValue(int i, int j, String value, boolean chk) throws MaxValueException{\n\n\t\tint num = Integer.parseInt(value);\n\t\tif(0 <= num && num <= 10000) {\n\t\t\tif(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}\n\n\t\t}else {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}", "SetValue", "{\n\n\t\tint num = Integer.parseInt(value);\n\t\tif(0 <= num && num <= 10000) {\n\t\t\tif(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}\n\n\t\t}else {\n\t\t\tthrow new MaxValueException();\n\t\t}\n\t}", "int num = Integer.parseInt(value);", "num", "Integer.parseInt(value)", "Integer.parseInt", "Integer", "value", "if(0 <= num && num <= 10000) {\n\t\t\tif(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}\n\n\t\t}else {\n\t\t\tthrow new MaxValueException();\n\t\t}", "0 <= num && num <= 10000", "0 <= num", "0", "num", "num <= 10000", "num", "10000", "{\n\t\t\tif(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}\n\n\t\t}", "if(chk) {\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}else {\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}", "chk", "{\n\t\t\t\tthis.arrayA[i][j] = num;\n\t\t\t}", "this.arrayA[i][j] = num", "this.arrayA[i][j]", "this.arrayA[i]", "this.arrayA", "this", "this.arrayA", "i", "j", "num", "{\n\t\t\t\tthis.arrayB[i][j] = num;\n\t\t\t}", "this.arrayB[i][j] = num", "this.arrayB[i][j]", "this.arrayB[i]", "this.arrayB", "this", "this.arrayB", "i", "j", "num", "{\n\t\t\tthrow new MaxValueException();\n\t\t}", "throw new MaxValueException();", "new MaxValueException()", "int i", "i", "int j", "j", "String value", "value", "boolean chk", "chk", "// ?¨????\n\tpublic void SetMatrix() throws MaxValueException{\n\t\t//??????A??¨??????B?????????????´?????????????C\n\t\t\n\t\tfor(int i=0; i< this.arrayA.length; i++) {\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "SetMatrix", "{\n\t\t//??????A??¨??????B?????????????´?????????????C\n\t\t\n\t\tfor(int i=0; i< this.arrayA.length; i++) {\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t}", "for(int i=0; i< this.arrayA.length; i++) {\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i< this.arrayA.length", "i", "this.arrayA.length", "this.arrayA", "this", "this.arrayA", "this.arrayA.length", "i++", "i++", "i", "{\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}", "for(int j=0; j<this.arrayA[i].length; j++) {\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<this.arrayA[i].length", "j", "this.arrayA[i].length", "this.arrayA[i]", "this.arrayA", "this", "this.arrayA", "i", "this.arrayA[i].length", "j++", "j++", "j", "{\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tfor(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "for(int k=0; k<this.arrayB[j].length; k++) {\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<this.arrayB[j].length", "k", "this.arrayB[j].length", "this.arrayB[j]", "this.arrayB", "this", "this.arrayB", "j", "this.arrayB[j].length", "k++", "k++", "k", "{\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}", "{\n\t\t\t\t\tthis.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k];\n\t\t\t\t}", "this.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k]", "this.arrayC[i][k]", "this.arrayC[i]", "this.arrayC", "this", "this.arrayC", "i", "k", "this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k]", "this.arrayC[i][k]", "this.arrayC[i]", "this.arrayC", "this", "this.arrayC", "i", "k", "this.arrayA[i][j] * this.arrayB[j][k]", "this.arrayA[i][j]", "this.arrayA[i]", "this.arrayA", "this", "this.arrayA", "i", "j", "this.arrayB[j][k]", "this.arrayB[j]", "this.arrayB", "this", "this.arrayB", "j", "k", "// ??¨???\n\tpublic void Show()\n\t{\n\t\tfor(int i=0; i<this.arrayC.length;i++) {\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "Show", "{\n\t\tfor(int i=0; i<this.arrayC.length;i++) {\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}", "for(int i=0; i<this.arrayC.length;i++) {\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<this.arrayC.length", "i", "this.arrayC.length", "this.arrayC", "this", "this.arrayC", "this.arrayC.length", "i++", "i++", "i", "{\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "{\n\t\t\tfor(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "for(int j=0; j<this.arrayC[i].length;j++) {\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<this.arrayC[i].length", "j", "this.arrayC[i].length", "this.arrayC[i]", "this.arrayC", "this", "this.arrayC", "i", "this.arrayC[i].length", "j++", "j++", "j", "{\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}", "{\n\t\t\tif(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");\n\t\t\t}", "if(j==(this.arrayC[i].length)-1) {\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}\n\t\t\telse\n\t\t\t\tSystem.out.print(this.arrayC[i][j]+\" \");", "j==(this.arrayC[i].length)-1", "j", "(this.arrayC[i].length)-1", "(this.arrayC[i].length)", "this.arrayC[i]", "this.arrayC", "this", "this.arrayC", "i", "this.arrayC[i].length", "1", "{\n\t\t\t\tSystem.out.print(this.arrayC[i][j]);\n\t\t\t}", "System.out.print(this.arrayC[i][j])", "System.out.print", "System.out", "System", "System.out", "this.arrayC[i][j]", "this.arrayC[i]", "this.arrayC", "this", "this.arrayC", "i", "j", "System.out.print(this.arrayC[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "this.arrayC[i][j]+\" \"", "this.arrayC[i][j]", "this.arrayC[i]", "this.arrayC", "this", "this.arrayC", "i", "j", "\" \"", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\t//matrix????????????C???????????§???????????????\n\t\tMatrix c = new Matrix();\n\n\t\t//????????????setmatrix?????????A??¨??????B???????????¨??°????????\\?????¶?´??????????\n\t\ttry {\n\n\t\t\tc.CreateArray(br.readLine());\n\n\n\t\t\t//??????A???????´?????????? arrayA\n\t\t\tfor(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//??????B???????´??????????arrayB\n\t\t\tfor(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ?¨????\n\t\t\tc.SetMatrix();\n\t\t}\n\t\tcatch(MaxValueException e) {\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}\n\n\t\t//????????????\n\t\tc.Show();\n\t}\n\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\t//matrix????????????C???????????§???????????????\n\t\tMatrix c = new Matrix();\n\n\t\t//????????????setmatrix?????????A??¨??????B???????????¨??°????????\\?????¶?´??????????\n\t\ttry {\n\n\t\t\tc.CreateArray(br.readLine());\n\n\n\t\t\t//??????A???????´?????????? arrayA\n\t\t\tfor(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//??????B???????´??????????arrayB\n\t\t\tfor(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ?¨????\n\t\t\tc.SetMatrix();\n\t\t}\n\t\tcatch(MaxValueException e) {\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}\n\n\t\t//????????????\n\t\tc.Show();\n\t}", "main", "{\n\t\tBufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));\n\n\t\t//matrix????????????C???????????§???????????????\n\t\tMatrix c = new Matrix();\n\n\t\t//????????????setmatrix?????????A??¨??????B???????????¨??°????????\\?????¶?´??????????\n\t\ttry {\n\n\t\t\tc.CreateArray(br.readLine());\n\n\n\t\t\t//??????A???????´?????????? arrayA\n\t\t\tfor(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//??????B???????´??????????arrayB\n\t\t\tfor(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ?¨????\n\t\t\tc.SetMatrix();\n\t\t}\n\t\tcatch(MaxValueException e) {\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}\n\n\t\t//????????????\n\t\tc.Show();\n\t}", "BufferedReader br =\n\t\t\t\tnew BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Matrix c = new Matrix();", "c", "new Matrix()", "try {\n\n\t\t\tc.CreateArray(br.readLine());\n\n\n\t\t\t//??????A???????´?????????? arrayA\n\t\t\tfor(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//??????B???????´??????????arrayB\n\t\t\tfor(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ?¨????\n\t\t\tc.SetMatrix();\n\t\t}\n\t\tcatch(MaxValueException e) {\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}", "catch(MaxValueException e) {\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}", "MaxValueException e", "{\n\t\t\tSystem.out.println(e + \"???????????????????????????\");\n\t\t}", "System.out.println(e + \"???????????????????????????\")", "System.out.println", "System.out", "System", "System.out", "e + \"???????????????????????????\"", "e", "\"???????????????????????????\"", "{\n\n\t\t\tc.CreateArray(br.readLine());\n\n\n\t\t\t//??????A???????´?????????? arrayA\n\t\t\tfor(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//??????B???????´??????????arrayB\n\t\t\tfor(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t// ?¨????\n\t\t\tc.SetMatrix();\n\t\t}", "c.CreateArray(br.readLine())", "c.CreateArray", "c", "br.readLine()", "br.readLine", "br", "for(int i=0; i<c.arrayA.length;i++) {\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<c.arrayA.length", "i", "c.arrayA.length", "c.arrayA", "c", "c.arrayA", "c.arrayA.length", "i++", "i++", "i", "{\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tString[] arrayStrA = br.readLine().split(\" \");\n\n\t\t\t\tfor(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}\n\t\t\t}", "String[] arrayStrA = br.readLine().split(\" \");", "arrayStrA", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0; j<c.arrayA[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<c.arrayA[i].length", "j", "c.arrayA[i].length", "c.arrayA[i]", "c.arrayA", "c", "c.arrayA", "i", "c.arrayA[i].length", "j++", "j++", "j", "{\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}", "{\n\t\t\t\t\tc.SetValue(i, j, arrayStrA[j], true);\n\t\t\t\t}", "c.SetValue(i, j, arrayStrA[j], true)", "c.SetValue", "c", "i", "j", "arrayStrA[j]", "arrayStrA", "j", "true", "for(int i=0; i<c.arrayB.length ;i++) {\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<c.arrayB.length", "i", "c.arrayB.length", "c.arrayB", "c", "c.arrayB", "c.arrayB.length", "i++", "i++", "i", "{\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tString[] arrayStrB = br.readLine().split(\" \");\n\t\t\t\tfor(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}\n\t\t\t}", "String[] arrayStrB = br.readLine().split(\" \");", "arrayStrB", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0; j<c.arrayB[i].length; j++) {\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<c.arrayB[i].length", "j", "c.arrayB[i].length", "c.arrayB[i]", "c.arrayB", "c", "c.arrayB", "i", "c.arrayB[i].length", "j++", "j++", "j", "{\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}", "{\n\t\t\t\t\tc.SetValue(i, j, arrayStrB[j], false);\n\t\t\t\t}", "c.SetValue(i, j, arrayStrB[j], false)", "c.SetValue", "c", "i", "j", "arrayStrB[j]", "arrayStrB", "j", "false", "c.SetMatrix()", "c.SetMatrix", "c", "c.Show()", "c.Show", "c", "String[] args", "args" ]
//???????????? import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; //?????????????????????MaxValueException class MaxValueException extends Exception{ } //??????????????? class Matrix{ public int[][] arrayA; public int[][] arrayB; public long[][] arrayC; public Matrix() { } // ???????????? public void CreateArray(String str) throws MaxValueException{ String[] strArray = str.split(" "); int a = Integer.parseInt(strArray[0]); //??????A????????°rowA int b = Integer.parseInt(strArray[1]); //??????A????????°??¨??????B????????°colA int c = Integer.parseInt(strArray[2]); //??????B????????°colB if((1 <= a && a <= 100) && (1 <= b && b <= 100) && (1 <= c && c <= 100)) { this.arrayA = new int[a][b]; this.arrayB = new int[b][c]; this.arrayC = new long[a][c]; } else { throw new MaxValueException(); } } // ?????????????¨???? public void SetValue(int i, int j, String value, boolean chk) throws MaxValueException{ int num = Integer.parseInt(value); if(0 <= num && num <= 10000) { if(chk) { this.arrayA[i][j] = num; }else { this.arrayB[i][j] = num; } }else { throw new MaxValueException(); } } // ?¨???? public void SetMatrix() throws MaxValueException{ //??????A??¨??????B?????????????´?????????????C for(int i=0; i< this.arrayA.length; i++) { for(int j=0; j<this.arrayA[i].length; j++) { for(int k=0; k<this.arrayB[j].length; k++) { this.arrayC[i][k] = this.arrayC[i][k] + this.arrayA[i][j] * this.arrayB[j][k]; } } } } // ??¨??? public void Show() { for(int i=0; i<this.arrayC.length;i++) { for(int j=0; j<this.arrayC[i].length;j++) { if(j==(this.arrayC[i].length)-1) { System.out.print(this.arrayC[i][j]); } else System.out.print(this.arrayC[i][j]+" "); } System.out.print("\n"); } } } class Main { public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //matrix????????????C???????????§??????????????? Matrix c = new Matrix(); //????????????setmatrix?????????A??¨??????B???????????¨??°????????\?????¶?´?????????? try { c.CreateArray(br.readLine()); //??????A???????´?????????? arrayA for(int i=0; i<c.arrayA.length;i++) { String[] arrayStrA = br.readLine().split(" "); for(int j=0; j<c.arrayA[i].length; j++) { c.SetValue(i, j, arrayStrA[j], true); } } //??????B???????´??????????arrayB for(int i=0; i<c.arrayB.length ;i++) { String[] arrayStrB = br.readLine().split(" "); for(int j=0; j<c.arrayB[i].length; j++) { c.SetValue(i, j, arrayStrB[j], false); } } // ?¨???? c.SetMatrix(); } catch(MaxValueException e) { System.out.println(e + "???????????????????????????"); } //???????????? c.Show(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 8, 4, 18, 13, 20, 20, 41, 13, 20, 4, 13, 13, 13, 4, 18, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 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 ], [ 240, 11 ], [ 240, 12 ], [ 12, 13 ], [ 12, 14 ], [ 240, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 15, 21 ], [ 21, 22 ], [ 240, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 28, 32 ], [ 28, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 25, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 25, 41 ], [ 41, 42 ], [ 42, 43 ], [ 240, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 46, 51 ], [ 51, 52 ], [ 46, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 46, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 46, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 46, 68 ], [ 68, 69 ], [ 68, 70 ], [ 46, 73 ], [ 73, 74 ], [ 73, 75 ], [ 46, 78 ], [ 78, 79 ], [ 78, 80 ], [ 46, 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 ], [ 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 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 46, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 145, 149 ], [ 144, 150 ], [ 150, 151 ], [ 151, 152 ], [ 46, 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 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 179, 187 ], [ 187, 188 ], [ 188, 189 ], [ 179, 190 ], [ 191, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 198, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 204, 208 ], [ 178, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 178, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 225, 229 ], [ 165, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 44, 235 ], [ 235, 236 ], [ 44, 237 ], [ 237, 238 ], [ 0, 239 ], [ 239, 240 ], [ 239, 241 ] ]
[ "import java.io.ByteArrayInputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\n\npublic class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n long A[][] = new long[n][m];\n long B[][] = new long[m][l];\n long C[][] = new long[n][l];\n for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }\n }\n}\n", "import java.io.ByteArrayInputStream;", "ByteArrayInputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n long A[][] = new long[n][m];\n long B[][] = new long[m][l];\n long C[][] = new long[n][l];\n for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }\n }\n}", "Main", "String INPUT = \"\";", "INPUT", "\"\"", "public static void main(String[] args) throws Exception {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }", "run", "{\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }", "Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));", "sc", "INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()))", "INPUT.isEmpty()", "INPUT.isEmpty", "INPUT", "new Scanner(System.in)", "new Scanner(new ByteArrayInputStream(INPUT.getBytes()))", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "solve(sc, out)", "solve", "sc", "out", "out.flush()", "out.flush", "out", "void solve(Scanner sc, PrintWriter out) {\n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n long A[][] = new long[n][m];\n long B[][] = new long[m][l];\n long C[][] = new long[n][l];\n for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }\n }", "solve", "{\n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n long A[][] = new long[n][m];\n long B[][] = new long[m][l];\n long C[][] = new long[n][l];\n for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }\n }", "int n", "n", "m", "m", "l;", "l", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "l = sc.nextInt()", "l", "sc.nextInt()", "sc.nextInt", "sc", "long A[][] = new long[n][m];", "A", "new long[n][m]", "n", "m", "long B[][] = new long[m][l];", "B", "new long[m][l]", "m", "l", "long C[][] = new long[n][l];", "C", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}", "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 A[i][j] = sc.nextLong();\n }\n\t\t}", "{\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}", "for (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n \t A[i][j] = sc.nextLong();\n }", "{\n \t A[i][j] = sc.nextLong();\n }", "A[i][j] = sc.nextLong()", "A[i][j]", "A[i]", "A", "i", "j", "sc.nextLong()", "sc.nextLong", "sc", "for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }", "{\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }", "for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n B[i][j] = sc.nextLong();\n }", "{\n B[i][j] = sc.nextLong();\n }", "B[i][j] = sc.nextLong()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextLong()", "sc.nextLong", "sc", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }", "{\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }", "for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }", "{\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }", "for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n C[i][j] += A[i][k]*B[k][j];\n }", "{\n C[i][j] += A[i][k]*B[k][j];\n }", "C[i][j] += A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "if(j != 0 ){\n System.out.print(\" \");\n }", "j != 0", "j", "0", "{\n System.out.print(\" \");\n }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "Scanner sc", "sc", "PrintWriter out", "out", "public class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n long A[][] = new long[n][m];\n long B[][] = new long[m][l];\n long C[][] = new long[n][l];\n for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }\n }\n}", "public class Main {\n\n String INPUT = \"\";\n\n public static void main(String[] args) throws Exception {\n new Main().run();\n }\n\n void run() {\n Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes()));\n PrintWriter out = new PrintWriter(System.out);\n\n solve(sc, out);\n out.flush();\n }\n\n void solve(Scanner sc, PrintWriter out) {\n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n long A[][] = new long[n][m];\n long B[][] = new long[m][l];\n long C[][] = new long[n][l];\n for (int i = 0; i < n; i++) {\n \tfor (int j = 0; j < m; j++) {\n \t A[i][j] = sc.nextLong();\n }\n\t\t}\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextLong();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k < m; k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n \n if(j != 0 ){\n System.out.print(\" \");\n }\n System.out.print(C[i][j]);\n }\n System.out.println();\n }\n }\n}", "Main" ]
import java.io.ByteArrayInputStream; import java.io.PrintWriter; import java.util.Scanner; public class Main { String INPUT = ""; public static void main(String[] args) throws Exception { new Main().run(); } void run() { Scanner sc = INPUT.isEmpty() ? new Scanner(System.in) : new Scanner(new ByteArrayInputStream(INPUT.getBytes())); PrintWriter out = new PrintWriter(System.out); solve(sc, out); out.flush(); } void solve(Scanner sc, PrintWriter out) { int n, m, l; n = sc.nextInt(); m = sc.nextInt(); l = sc.nextInt(); long A[][] = new long[n][m]; long B[][] = new long[m][l]; long C[][] = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { A[i][j] = sc.nextLong(); } } for (int i = 0; i < m; i++) { for (int j = 0; j < l; j++) { B[i][j] = sc.nextLong(); } } for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ for(int k = 0; k < m; k++){ C[i][j] += A[i][k]*B[k][j]; } if(j != 0 ){ System.out.print(" "); } System.out.print(C[i][j]); } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 18, 13, 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, 18, 13, 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, 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, 18, 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, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 8, 2, 13, 2, 13, 17, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 236, 5 ], [ 236, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 54, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 8, 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 ], [ 8, 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 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 158, 169 ], [ 170, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 171, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 177, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 8, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 188, 193 ], [ 193, 194 ], [ 193, 195 ], [ 188, 196 ], [ 196, 197 ], [ 197, 198 ], [ 188, 199 ], [ 200, 200 ], [ 200, 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 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 219, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 228, 230 ], [ 225, 231 ], [ 225, 232 ], [ 6, 233 ], [ 233, 234 ], [ 0, 235 ], [ 235, 236 ], [ 235, 237 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}\t\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}\t\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}\t\n\t}", "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 l = scanner.nextInt();", "l", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][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{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}", "for(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.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] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}", "a[i][j] = scanner.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}", "{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}", "c[i][j] = 0", "c[i][j]", "c[i]", "c", "i", "j", "0", "for(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.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<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}", "b[i][j] = scanner.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\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<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}", "for(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}", "c[i][j] += a[i][k]*b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}", "{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}", "for(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}", "System.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"))", "System.out.print", "System.out", "System", "System.out", "c[i][j]+(j==l-1?\"\\n\":\" \")", "c[i][j]", "c[i]", "c", "i", "j", "(j==l-1?\"\\n\":\" \")", "j==l-1", "j", "l-1", "l", "1", "\"\\n\"", "\" \"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}\t\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scanner = new Scanner(System.in);\n\t\t\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\ta[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tc[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<m; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tb[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(int k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\t//c[j][i] += a[j][k]*b[k][i];\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0; i<n; i++)\n\t\t{\t\t\t\n\t\t\tfor(int j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(c[i][j]+(j==l-1?\"\\n\":\" \"));\n\t\t\t}\n\t\t}\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int l = scanner.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long[][] c = new long[n][l]; for(int i=0; i<n; i++) { for(int j=0; j<m; j++) { a[i][j] = scanner.nextInt(); } for(int j=0; j<l; j++) { c[i][j] = 0; } } for(int i=0; i<m; i++) { for(int j=0; j<l; j++) { b[i][j] = scanner.nextInt(); } } for(int i=0; i<n; i++) { for(int j=0; j<l; j++) { for(int k=0; k<m; k++) { //c[j][i] += a[j][k]*b[k][i]; c[i][j] += a[i][k]*b[k][j]; } } } for(int i=0; i<n; i++) { for(int j=0; j<l; j++) { System.out.print(c[i][j]+(j==l-1?"\n":" ")); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 12, 13, 30, 0, 13, 20, 0, 13, 20, 0, 13, 20, 23, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 14, 2, 4, 18, 13, 18, 13, 13, 30, 29, 18, 13, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 14, 2, 4, 18, 13, 18, 13, 13, 30, 37, 20, 29, 18, 13, 13, 12, 13, 30, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 13, 20, 0, 13, 2, 17, 17, 0, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 4, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 13, 4, 18, 13, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 12, 13, 30, 14, 2, 4, 18, 13, 17, 30, 4, 18, 13, 13, 4, 18, 13, 17, 12, 13, 30, 14, 2, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 481, 23 ], [ 481, 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 ], [ 26, 48 ], [ 48, 49 ], [ 48, 50 ], [ 26, 53 ], [ 53, 54 ], [ 53, 55 ], [ 26, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 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 ], [ 26, 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 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 126, 127 ], [ 26, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 128, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 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 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 153, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 153, 192 ], [ 192, 193 ], [ 193, 194 ], [ 192, 195 ], [ 140, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 26, 200 ], [ 200, 201 ], [ 201, 202 ], [ 26, 203 ], [ 203, 204 ], [ 204, 205 ], [ 24, 206 ], [ 206, 207 ], [ 481, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 208, 212 ], [ 212, 213 ], [ 208, 214 ], [ 214, 215 ], [ 208, 216 ], [ 216, 217 ], [ 216, 218 ], [ 208, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 221, 225 ], [ 225, 226 ], [ 225, 227 ], [ 221, 228 ], [ 228, 229 ], [ 228, 230 ], [ 219, 231 ], [ 231, 232 ], [ 208, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 239, 240 ], [ 240, 241 ], [ 236, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 244, 248 ], [ 248, 249 ], [ 248, 250 ], [ 243, 251 ], [ 235, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 208, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 259, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 267, 271 ], [ 271, 272 ], [ 271, 273 ], [ 266, 274 ], [ 274, 275 ], [ 275, 276 ], [ 258, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 208, 281 ], [ 281, 282 ], [ 281, 283 ], [ 481, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 284, 288 ], [ 288, 289 ], [ 284, 290 ], [ 290, 291 ], [ 284, 292 ], [ 292, 293 ], [ 284, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 297, 301 ], [ 296, 302 ], [ 302, 303 ], [ 302, 304 ], [ 296, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 307, 309 ], [ 296, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 313, 314 ], [ 312, 315 ], [ 294, 316 ], [ 316, 317 ], [ 284, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 321, 324 ], [ 320, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 320, 329 ], [ 329, 330 ], [ 318, 331 ], [ 331, 332 ], [ 284, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 336, 339 ], [ 335, 340 ], [ 340, 341 ], [ 333, 342 ], [ 342, 343 ], [ 284, 344 ], [ 344, 345 ], [ 344, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 347, 350 ], [ 346, 351 ], [ 351, 352 ], [ 352, 353 ], [ 351, 354 ], [ 346, 355 ], [ 355, 356 ], [ 344, 357 ], [ 357, 358 ], [ 284, 359 ], [ 359, 360 ], [ 359, 361 ], [ 361, 362 ], [ 362, 363 ], [ 363, 364 ], [ 362, 365 ], [ 361, 366 ], [ 366, 367 ], [ 359, 368 ], [ 368, 369 ], [ 284, 370 ], [ 370, 371 ], [ 370, 372 ], [ 372, 373 ], [ 373, 374 ], [ 374, 375 ], [ 373, 376 ], [ 372, 377 ], [ 377, 378 ], [ 370, 379 ], [ 379, 380 ], [ 284, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 384, 385 ], [ 385, 386 ], [ 384, 387 ], [ 383, 388 ], [ 388, 389 ], [ 381, 390 ], [ 390, 391 ], [ 284, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 397, 398 ], [ 397, 399 ], [ 395, 400 ], [ 400, 401 ], [ 400, 402 ], [ 402, 403 ], [ 402, 404 ], [ 395, 405 ], [ 405, 406 ], [ 406, 407 ], [ 395, 408 ], [ 409, 409 ], [ 409, 410 ], [ 410, 411 ], [ 409, 412 ], [ 412, 413 ], [ 413, 414 ], [ 412, 415 ], [ 415, 416 ], [ 415, 417 ], [ 409, 418 ], [ 418, 419 ], [ 419, 420 ], [ 418, 421 ], [ 394, 422 ], [ 422, 423 ], [ 423, 424 ], [ 422, 425 ], [ 425, 426 ], [ 426, 427 ], [ 427, 428 ], [ 425, 429 ], [ 422, 430 ], [ 430, 431 ], [ 431, 432 ], [ 394, 433 ], [ 433, 434 ], [ 434, 435 ], [ 433, 436 ], [ 392, 437 ], [ 437, 438 ], [ 284, 439 ], [ 439, 440 ], [ 439, 441 ], [ 441, 442 ], [ 442, 443 ], [ 284, 444 ], [ 444, 445 ], [ 444, 446 ], [ 446, 447 ], [ 447, 448 ], [ 448, 449 ], [ 449, 450 ], [ 450, 451 ], [ 448, 452 ], [ 447, 453 ], [ 453, 454 ], [ 454, 455 ], [ 455, 456 ], [ 454, 457 ], [ 453, 458 ], [ 458, 459 ], [ 459, 460 ], [ 458, 461 ], [ 284, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 467, 468 ], [ 468, 469 ], [ 466, 470 ], [ 465, 471 ], [ 471, 472 ], [ 472, 473 ], [ 473, 474 ], [ 472, 475 ], [ 471, 476 ], [ 476, 477 ], [ 477, 478 ], [ 476, 479 ], [ 0, 480 ], [ 480, 481 ], [ 480, 482 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintStream;\nimport java.io.StreamTokenizer;\nimport java.util.InputMismatchException;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrinter pr = new Printer(System.out); \n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n//\t\tint[][] c = new int[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}\n\n\t\tpr.close();\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Printer {\n\t\tPrintStream out;\n\t\tStringBuffer strbuf;\n\t\tint bufSize;\n\t\tfinal String CR;\n\n\t\tPrinter(PrintStream out) {\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}\n\n\t\tvoid println(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid println(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(long n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(char c) {\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid printArray(int[] array) {\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}\n\n\t\tvoid close() {\n\t\t\tflashStringBuffer();\n\t\t}\n\n\t\tprivate void flashStringBuffer() {\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\n\t\tprivate void checkStringBuffer() {\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintStream;", "PrintStream", "java.io", "import java.io.StreamTokenizer;", "StreamTokenizer", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrinter pr = new Printer(System.out); \n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n//\t\tint[][] c = new int[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}\n\n\t\tpr.close();\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Printer {\n\t\tPrintStream out;\n\t\tStringBuffer strbuf;\n\t\tint bufSize;\n\t\tfinal String CR;\n\n\t\tPrinter(PrintStream out) {\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}\n\n\t\tvoid println(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid println(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(long n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(char c) {\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid printArray(int[] array) {\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}\n\n\t\tvoid close() {\n\t\t\tflashStringBuffer();\n\t\t}\n\n\t\tprivate void flashStringBuffer() {\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\n\t\tprivate void checkStringBuffer() {\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrinter pr = new Printer(System.out); \n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n//\t\tint[][] c = new int[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}\n\n\t\tpr.close();\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrinter pr = new Printer(System.out); \n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n//\t\tint[][] c = new int[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}\n\n\t\tpr.close();\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Printer pr = new Printer(System.out);", "pr", "new Printer(System.out)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "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\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = 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\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\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 < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}", "{\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}", "long c = 0;", "c", "0", "for (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}", "{\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}", "c += a[i][k] * b[k][j]", "c", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "if (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}", "j != 0", "j", "0", "{\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}", "pr.print(\" \")", "pr.print", "pr", "\" \"", "pr.print(c)", "pr.print", "pr", "c", "pr.println(\"\")", "pr.println", "pr", "\"\"", "pr.close()", "pr.close", "pr", "sc.close()", "sc.close", "sc", "String[] args", "args", "private static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}", "Scanner", "InputStreamReader isr;", "isr", "BufferedReader br;", "br", "StreamTokenizer st;", "st", "private Scanner() {\n\t\t}", "Scanner", "{\n\t\t}", "Scanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}", "Scanner", "{\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}", "isr = new InputStreamReader(in)", "isr", "new InputStreamReader(in)", "br = new BufferedReader(isr)", "br", "new BufferedReader(isr)", "st = new StreamTokenizer(br)", "st", "new StreamTokenizer(br)", "InputStream in", "in", "String next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}", "next", "{\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}", "try {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "IOException e", "{\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "throw new IllegalStateException();", "new IllegalStateException()", "{\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t}", "if (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}", "st.nextToken() != StreamTokenizer.TT_WORD", "st.nextToken()", "st.nextToken", "st", "StreamTokenizer.TT_WORD", "StreamTokenizer", "StreamTokenizer.TT_WORD", "{\n\t\t\t\t}", "return st.sval;", "st.sval", "st", "st.sval", "int nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}", "nextInt", "{\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}", "try {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "IOException e", "{\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}", "throw new IllegalStateException();", "new IllegalStateException()", "{\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t}", "if (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}", "st.nextToken() != StreamTokenizer.TT_NUMBER", "st.nextToken()", "st.nextToken", "st", "StreamTokenizer.TT_NUMBER", "StreamTokenizer", "StreamTokenizer.TT_NUMBER", "{\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}", "throw new InputMismatchException();", "new InputMismatchException()", "return (int)st.nval;", "(int)st.nval", "st", "st.nval", "void close() {\n\t\t}", "close", "{\n\t\t}", "private static class Printer {\n\t\tPrintStream out;\n\t\tStringBuffer strbuf;\n\t\tint bufSize;\n\t\tfinal String CR;\n\n\t\tPrinter(PrintStream out) {\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}\n\n\t\tvoid println(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid println(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(long n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(char c) {\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid printArray(int[] array) {\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}\n\n\t\tvoid close() {\n\t\t\tflashStringBuffer();\n\t\t}\n\n\t\tprivate void flashStringBuffer() {\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\n\t\tprivate void checkStringBuffer() {\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\t}", "Printer", "PrintStream out;", "out", "StringBuffer strbuf;", "strbuf", "int bufSize;", "bufSize", "final String CR;", "CR", "Printer(PrintStream out) {\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}", "Printer", "{\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}", "this.out = out", "this.out", "this", "this.out", "out", "strbuf = new StringBuffer()", "strbuf", "new StringBuffer()", "bufSize = 64 * 1024", "bufSize", "64 * 1024", "64", "1024", "CR = System.getProperty(\"line.separator\")", "CR", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "PrintStream out", "out", "void println(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}", "println", "{\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}", "strbuf.append(str)", "strbuf.append", "strbuf", "str", "strbuf.append(CR)", "strbuf.append", "strbuf", "CR", "checkStringBuffer()", "checkStringBuffer", "String str", "str", "void print(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}", "print", "{\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}", "strbuf.append(str)", "strbuf.append", "strbuf", "str", "checkStringBuffer()", "checkStringBuffer", "String str", "str", "void println(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}", "println", "{\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}", "strbuf.append(n)", "strbuf.append", "strbuf", "n", "strbuf.append(CR)", "strbuf.append", "strbuf", "CR", "checkStringBuffer()", "checkStringBuffer", "int n", "n", "void print(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}", "print", "{\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}", "strbuf.append(n)", "strbuf.append", "strbuf", "n", "checkStringBuffer()", "checkStringBuffer", "int n", "n", "void print(long n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}", "print", "{\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}", "strbuf.append(n)", "strbuf.append", "strbuf", "n", "checkStringBuffer()", "checkStringBuffer", "long n", "n", "void print(char c) {\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}", "print", "{\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}", "strbuf.append(c)", "strbuf.append", "strbuf", "c", "checkStringBuffer()", "checkStringBuffer", "char c", "c", "void printArray(int[] array) {\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}", "printArray", "{\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}", "for (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}", "{\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}", "checkStringBuffer()", "checkStringBuffer", "strbuf.append(array[i])", "strbuf.append", "strbuf", "array[i]", "array", "i", "strbuf.append(\" \")", "strbuf.append", "strbuf", "\" \"", "strbuf.delete(strbuf.length() - 1, strbuf.length())", "strbuf.delete", "strbuf", "strbuf.length() - 1", "strbuf.length()", "strbuf.length", "strbuf", "1", "strbuf.length()", "strbuf.length", "strbuf", "strbuf.append(CR)", "strbuf.append", "strbuf", "CR", "int[] array", "array", "void close() {\n\t\t\tflashStringBuffer();\n\t\t}", "close", "{\n\t\t\tflashStringBuffer();\n\t\t}", "flashStringBuffer()", "flashStringBuffer", "private void flashStringBuffer() {\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}", "flashStringBuffer", "{\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}", "if (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}", "strbuf.length() > 0", "strbuf.length()", "strbuf.length", "strbuf", "0", "{\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}", "out.print(strbuf)", "out.print", "out", "strbuf", "strbuf.setLength(0)", "strbuf.setLength", "strbuf", "0", "private void checkStringBuffer() {\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}", "checkStringBuffer", "{\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}", "if (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}", "strbuf.length() > bufSize", "strbuf.length()", "strbuf.length", "strbuf", "bufSize", "{\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}", "out.print(strbuf)", "out.print", "out", "strbuf", "strbuf.setLength(0)", "strbuf.setLength", "strbuf", "0", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrinter pr = new Printer(System.out); \n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n//\t\tint[][] c = new int[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}\n\n\t\tpr.close();\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Printer {\n\t\tPrintStream out;\n\t\tStringBuffer strbuf;\n\t\tint bufSize;\n\t\tfinal String CR;\n\n\t\tPrinter(PrintStream out) {\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}\n\n\t\tvoid println(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid println(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(long n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(char c) {\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid printArray(int[] array) {\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}\n\n\t\tvoid close() {\n\t\t\tflashStringBuffer();\n\t\t}\n\n\t\tprivate void flashStringBuffer() {\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\n\t\tprivate void checkStringBuffer() {\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in); \n\t\tPrinter pr = new Printer(System.out); \n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n//\t\tint[][] c = new int[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong c = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n//\t\t\t\t\tc[i][j] += a[i][k] * b[k][j];\n\t\t\t\t\tc += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != 0) {\n\t\t\t\t\tpr.print(\" \");\n\t\t\t\t}\n\t\t\t\tpr.print(c);\n\t\t\t}\n\t\t\tpr.println(\"\");\n\t\t}\n\n\t\tpr.close();\n\t\tsc.close();\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Scanner {\n\t\tInputStreamReader isr;\n\t\tBufferedReader br;\n\t\tStreamTokenizer st;\n\n\t\tprivate Scanner() {\n\t\t}\n\n\t\tScanner (InputStream in) {\n\t\t\tisr = new InputStreamReader(in);\n\t\t\tbr = new BufferedReader(isr);\n\t\t\tst = new StreamTokenizer(br);\n\t\t}\n\n\t\tString next() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_WORD) {\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn st.sval;\n\t\t}\n\n\t\tint nextInt() throws RuntimeException {\n\t\t\ttry {\n\t\t\t\tif (st.nextToken() != StreamTokenizer.TT_NUMBER) {\n\t\t\t\t\tthrow new InputMismatchException();\n\t\t\t\t}\n\t\t\t} catch (IOException e) {\n\t\t\t\tthrow new IllegalStateException();\n\t\t\t}\n\n\t\t\treturn (int)st.nval;\n\t\t}\n\n\t\tvoid close() {\n\t\t}\n\t}\n\n\t@SuppressWarnings(\"unused\")\n\tprivate static class Printer {\n\t\tPrintStream out;\n\t\tStringBuffer strbuf;\n\t\tint bufSize;\n\t\tfinal String CR;\n\n\t\tPrinter(PrintStream out) {\n\t\t\tthis.out = out;\n\t\t\tstrbuf = new StringBuffer();\n\t\t\tbufSize = 64 * 1024;\n\t\t\tCR = System.getProperty(\"line.separator\");\n\t\t}\n\n\t\tvoid println(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(String str) {\n\t\t\tstrbuf.append(str);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid println(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tstrbuf.append(CR);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(int n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(long n) {\n\t\t\tstrbuf.append(n);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid print(char c) {\n\t\t\tstrbuf.append(c);\n\t\t\tcheckStringBuffer();\n\t\t}\n\n\t\tvoid printArray(int[] array) {\n\t\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\t\tcheckStringBuffer();\n\t\t\t\tstrbuf.append(array[i]);\n\t\t\t\tstrbuf.append(\" \");\n\t\t\t}\n\t\t\tstrbuf.delete(strbuf.length() - 1, strbuf.length());\n\t\t\tstrbuf.append(CR);\n\t\t}\n\n\t\tvoid close() {\n\t\t\tflashStringBuffer();\n\t\t}\n\n\t\tprivate void flashStringBuffer() {\n\t\t\tif (strbuf.length() > 0) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\n\t\tprivate void checkStringBuffer() {\n\t\t\tif (strbuf.length() > bufSize) {\n\t\t\t\tout.print(strbuf);\n\t\t\t\tstrbuf.setLength(0);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintStream; import java.io.StreamTokenizer; import java.util.InputMismatchException; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Printer pr = new Printer(System.out); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; 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++) { for (int j = 0; j < l; j++) { b[i][j] = sc.nextInt(); } } // int[][] c = new int[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { long c = 0; for (int k = 0; k < m; k++) { // c[i][j] += a[i][k] * b[k][j]; c += a[i][k] * b[k][j]; } if (j != 0) { pr.print(" "); } pr.print(c); } pr.println(""); } pr.close(); sc.close(); } @SuppressWarnings("unused") private static class Scanner { InputStreamReader isr; BufferedReader br; StreamTokenizer st; private Scanner() { } Scanner (InputStream in) { isr = new InputStreamReader(in); br = new BufferedReader(isr); st = new StreamTokenizer(br); } String next() throws RuntimeException { try { if (st.nextToken() != StreamTokenizer.TT_WORD) { } } catch (IOException e) { throw new IllegalStateException(); } return st.sval; } int nextInt() throws RuntimeException { try { if (st.nextToken() != StreamTokenizer.TT_NUMBER) { throw new InputMismatchException(); } } catch (IOException e) { throw new IllegalStateException(); } return (int)st.nval; } void close() { } } @SuppressWarnings("unused") private static class Printer { PrintStream out; StringBuffer strbuf; int bufSize; final String CR; Printer(PrintStream out) { this.out = out; strbuf = new StringBuffer(); bufSize = 64 * 1024; CR = System.getProperty("line.separator"); } void println(String str) { strbuf.append(str); strbuf.append(CR); checkStringBuffer(); } void print(String str) { strbuf.append(str); checkStringBuffer(); } void println(int n) { strbuf.append(n); strbuf.append(CR); checkStringBuffer(); } void print(int n) { strbuf.append(n); checkStringBuffer(); } void print(long n) { strbuf.append(n); checkStringBuffer(); } void print(char c) { strbuf.append(c); checkStringBuffer(); } void printArray(int[] array) { for (int i = 0; i < array.length; i++) { checkStringBuffer(); strbuf.append(array[i]); strbuf.append(" "); } strbuf.delete(strbuf.length() - 1, strbuf.length()); strbuf.append(CR); } void close() { flashStringBuffer(); } private void flashStringBuffer() { if (strbuf.length() > 0) { out.print(strbuf); strbuf.setLength(0); } } private void checkStringBuffer() { if (strbuf.length() > bufSize) { out.print(strbuf); strbuf.setLength(0); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 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, 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, 18, 18, 13, 13, 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, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 13, 17, 14, 2, 13, 2, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 273, 5 ], [ 273, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 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, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 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 ], [ 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 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 145, 149 ], [ 144, 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 ], [ 164, 172 ], [ 172, 173 ], [ 173, 174 ], [ 164, 175 ], [ 176, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 190, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 196, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 8, 207 ], [ 207, 208 ], [ 207, 209 ], [ 8, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 210, 215 ], [ 215, 216 ], [ 215, 217 ], [ 210, 218 ], [ 218, 219 ], [ 219, 220 ], [ 210, 221 ], [ 222, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 223, 228 ], [ 228, 229 ], [ 228, 230 ], [ 223, 231 ], [ 231, 232 ], [ 232, 233 ], [ 223, 234 ], [ 235, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 236, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 235, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 247, 249 ], [ 244, 250 ], [ 250, 251 ], [ 251, 252 ], [ 250, 253 ], [ 222, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 257, 259 ], [ 254, 260 ], [ 260, 261 ], [ 261, 262 ], [ 260, 263 ], [ 8, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 264, 269 ], [ 6, 270 ], [ 270, 271 ], [ 0, 272 ], [ 272, 273 ], [ 272, 274 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n \n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long[][] c = new long[n][l];\n \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 for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }\n \n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n \n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\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 \n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n \n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long[][] c = new long[n][l];\n \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 for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }\n \n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n \n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n \n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n \n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long[][] c = new long[n][l];\n \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 for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }\n \n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n \n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n \n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long[][] c = new long[n][l];\n \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 for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }\n \n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n \n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n", "n", "m", "m", "l;", "l", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "l = sc.nextInt()", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "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", "for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }", "{\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }", "for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = sc.nextInt();\n }", "{\n b[i][j] = sc.nextInt();\n }", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }", "{\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }", "for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n c[i][j] = 0;\n }", "{\n c[i][j] = 0;\n }", "c[i][j] = 0", "c[i][j]", "c[i]", "c", "i", "j", "0", "for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }", "{\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }", "for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }", "{\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }", "for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n c[i][j] += a[i][k] * b[k][j];\n }", "{\n c[i][j] += a[i][k] * b[k][j];\n }", "c[i][j] += a[i][k] * b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }", "{\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }", "for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }", "{\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }", "sb.append(c[i][j])", "sb.append", "sb", "c[i][j]", "c[i]", "c", "i", "j", "if(j != l-1) sb.append(\" \");", "j != l-1", "j", "l-1", "l", "1", "sb.append(\" \")", "sb.append", "sb", "\" \"", "if(i != n-1) sb.append(\"\\n\");", "i != n-1", "i", "n-1", "n", "1", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.println(sb)", "System.out.println", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n \n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long[][] c = new long[n][l];\n \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 for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }\n \n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n \n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n \n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int n, m, l;\n \n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n \n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long[][] c = new long[n][l];\n \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 for(int i = 0; i < m; i++) {\n for(int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n c[i][j] = 0;\n }\n }\n \n \n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n for(int k = 0; k < m; k++) {\n c[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n \n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(c[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\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 n, m, l; n = sc.nextInt(); m = sc.nextInt(); l = sc.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long[][] c = new long[n][l]; 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++) { for(int j = 0; j < l; j++) { b[i][j] = sc.nextInt(); } } for(int i = 0; i < n; i++) { for(int j = 0; j < l; j++) { c[i][j] = 0; } } for(int i = 0; i < n; i++) { for(int j = 0; j < l; j++) { for(int k = 0; k < m; k++) { c[i][j] += a[i][k] * b[k][j]; } } } StringBuilder sb = new StringBuilder(); for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ sb.append(c[i][j]); if(j != l-1) sb.append(" "); } if(i != n-1) sb.append("\n"); } System.out.println(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 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, 18, 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, 14, 2, 2, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 22, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 22, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 22, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 22, 58 ], [ 58, 59 ], [ 58, 60 ], [ 22, 63 ], [ 63, 64 ], [ 63, 65 ], [ 22, 68 ], [ 68, 69 ], [ 68, 70 ], [ 22, 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 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 85, 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 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 22, 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 ], [ 134, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 134, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 146, 154 ], [ 154, 155 ], [ 155, 156 ], [ 146, 157 ], [ 158, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 168, 170 ], [ 22, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 171, 179 ], [ 179, 180 ], [ 180, 181 ], [ 171, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 184, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 202, 203 ], [ 202, 204 ], [ 197, 205 ], [ 205, 206 ], [ 206, 207 ], [ 197, 208 ], [ 209, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 210, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 216, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 22, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 227, 232 ], [ 232, 233 ], [ 232, 234 ], [ 227, 235 ], [ 235, 236 ], [ 236, 237 ], [ 227, 238 ], [ 239, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 240, 245 ], [ 245, 246 ], [ 245, 247 ], [ 240, 248 ], [ 248, 249 ], [ 249, 250 ], [ 240, 251 ], [ 252, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 253, 259 ], [ 259, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 260, 265 ], [ 260, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 266, 270 ], [ 253, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 272, 277 ], [ 272, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 278, 282 ], [ 6, 283 ], [ 283, 284 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}", "BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );", "kb", "new BufferedReader( new InputStreamReader( System.in ) )", "try {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}", "catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}", "IOException e", "{\n\t\t\tSystem.err.println( e );\n\t\t}", "System.err.println( e )", "System.err.println", "System.err", "System", "System.err", "e", "{\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}", "String str = kb.readLine();", "str", "kb.readLine()", "kb.readLine", "kb", "String[] tmpArray = str.split( \" \" );", "tmpArray", "str.split( \" \" )", "str.split", "str", "\" \"", "int n=Integer.parseInt( tmpArray[0] );", "n", "Integer.parseInt( tmpArray[0] )", "Integer.parseInt", "Integer", "tmpArray[0]", "tmpArray", "0", "int m=Integer.parseInt( tmpArray[1] );", "m", "Integer.parseInt( tmpArray[1] )", "Integer.parseInt", "Integer", "tmpArray[1]", "tmpArray", "1", "int l=Integer.parseInt( tmpArray[2] );", "l", "Integer.parseInt( tmpArray[2] )", "Integer.parseInt", "Integer", "tmpArray[2]", "tmpArray", "2", "int[][] matrixA = new int[n][m];", "matrixA", "new int[n][m]", "n", "m", "int[][] matrixB = new int[m][l];", "matrixB", "new int[m][l]", "m", "l", "double[][] matrixC = new double[n][l];", "matrixC", "new double[n][l]", "n", "l", "for( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[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\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "str = kb.readLine()", "str", "kb.readLine()", "kb.readLine", "kb", "tmpArray = str.split( \" \" )", "tmpArray", "str.split( \" \" )", "str.split", "str", "\" \"", "for( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[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\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "{\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "matrixA[i][j]=Integer.parseInt( tmpArray[j] )", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Integer.parseInt( tmpArray[j] )", "Integer.parseInt", "Integer", "tmpArray[j]", "tmpArray", "j", "for( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "str = kb.readLine()", "str", "kb.readLine()", "kb.readLine", "kb", "tmpArray = str.split( \" \" )", "tmpArray", "str.split( \" \" )", "str.split", "str", "\" \"", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "{\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "matrixB[i][j]=Integer.parseInt( tmpArray[j] )", "matrixB[i][j]", "matrixB[i]", "matrixB", "i", "j", "Integer.parseInt( tmpArray[j] )", "Integer.parseInt", "Integer", "tmpArray[j]", "tmpArray", "j", "for( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}", "matrixC[i][j]+=matrixA[i][k]*matrixB[k][j]", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "matrixA[i][k]*matrixB[k][j]", "matrixA[i][k]", "matrixA[i]", "matrixA", "i", "k", "matrixB[k][j]", "matrixB[k]", "matrixB", "k", "j", "for( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}", "if( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}", "l-1 != j", "l-1", "l", "1", "j", "{\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t}", "System.out.printf( \"%.0f \", matrixC[i][j] )", "System.out.printf", "System.out", "System", "System.out", "\"%.0f \"", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "{\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}", "System.out.printf( \"%.0f\\n\", matrixC[i][j] )", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) { BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) ); try { String str = kb.readLine(); String[] tmpArray = str.split( " " ); int n=Integer.parseInt( tmpArray[0] ); int m=Integer.parseInt( tmpArray[1] ); int l=Integer.parseInt( tmpArray[2] ); int[][] matrixA = new int[n][m]; int[][] matrixB = new int[m][l]; double[][] matrixC = new double[n][l]; for( int i=0; i<n; i++ ) { str = kb.readLine(); tmpArray = str.split( " " ); for( int j=0; j<m; j++ ) { matrixA[i][j]=Integer.parseInt( tmpArray[j] ); } } for( int i=0; i<m; i++ ) { str = kb.readLine(); tmpArray = str.split( " " ); for( int j=0; j<l; j++ ) { matrixB[i][j]=Integer.parseInt( tmpArray[j] ); } } for( int i=0; i<n; i++ ) { for( int k=0; k<m; k++ ) { for( int j=0; j<l; j++ ) { matrixC[i][j]+=matrixA[i][k]*matrixB[k][j]; } } } for( int i=0; i<n; i++ ) { for( int j=0; j<l; j++ ) { if( l-1 != j ) { System.out.printf( "%.0f ", matrixC[i][j] ); } else { System.out.printf( "%.0f\n", matrixC[i][j] ); } } } } catch( IOException e ) { System.err.println( e ); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 8, 2, 13, 17, 17, 17, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 188, 5 ], [ 188, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 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 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 125, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 137, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 173, 178 ], [ 172, 179 ], [ 124, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 6, 185 ], [ 185, 186 ], [ 0, 187 ], [ 187, 188 ], [ 187, 189 ] ]
[ "import java.util.*;\n \npublic class Main {\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n int n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t\n\t\tint[][] vecA = new int[n][m];\n\t\tint[][] vecB = new int[m][l];\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[][] vecC = new int[n][l];\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n int n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t\n\t\tint[][] vecA = new int[n][m];\n\t\tint[][] vecB = new int[m][l];\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[][] vecC = new int[n][l];\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n int n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t\n\t\tint[][] vecA = new int[n][m];\n\t\tint[][] vecB = new int[m][l];\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[][] vecC = new int[n][l];\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}", "main", "{\n Scanner scan = new Scanner( System.in );\n\n int n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t\n\t\tint[][] vecA = new int[n][m];\n\t\tint[][] vecB = new int[m][l];\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[][] vecC = new int[n][l];\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\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 l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] vecA = new int[n][m];", "vecA", "new int[n][m]", "n", "m", "int[][] vecB = new int[m][l];", "vecB", "new int[m][l]", "m", "l", "for( int i = 0; i < n; i++ ) {\n\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\tvecA[i][j] = scan.nextInt();\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\tvecA[i][j] = scan.nextInt();\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}", "for( int j = 0; j < m; j++ ) {\n\t\t\t\tvecA[i][j] = scan.nextInt();\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}", "vecA[i][j] = scan.nextInt()", "vecA[i][j]", "vecA[i]", "vecA", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\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 < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}", "{\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}", "for( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}", "vecB[i][j] = scan.nextInt()", "vecB[i][j]", "vecB[i]", "vecB", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "int[][] vecC = new int[n][l];", "vecC", "new int[n][l]", "n", "l", "for( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\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 < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}", "long sum = 0;", "sum", "0", "for( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\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\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}", "{\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}", "sum += vecA[i][j] * vecB[j][k]", "sum", "vecA[i][j] * vecB[j][k]", "vecA[i][j]", "vecA[i]", "vecA", "i", "j", "vecB[j][k]", "vecB[j]", "vecB", "j", "k", "System.out.print((k == 0 ? \"\" : \" \") + sum)", "System.out.print", "System.out", "System", "System.out", "(k == 0 ? \"\" : \" \") + sum", "(k == 0 ? \"\" : \" \")", "k == 0", "k", "0", "\"\"", "\" \"", "sum", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String args[]", "args", "public class Main {\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n int n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t\n\t\tint[][] vecA = new int[n][m];\n\t\tint[][] vecB = new int[m][l];\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[][] vecC = new int[n][l];\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}", "public class Main {\n\t\n public static void main( String args[] ) {\n Scanner scan = new Scanner( System.in );\n\n int n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t\n\t\tint[][] vecA = new int[n][m];\n\t\tint[][] vecB = new int[m][l];\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\tvecA[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor( int i = 0; i < m; i++ ) {\n\t\t\tfor( int j = 0; j < l; j++ ) {\n\t\t\t\tvecB[i][j] = scan.nextInt();\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\tint[][] vecC = new int[n][l];\n\t\tfor( int i = 0; i < n; i++ ) {\n\t\t\tfor( int k = 0; k < l; k++ ) {\n\t\t\t\tlong sum = 0;\n\t\t\t\t\n\t\t\t\tfor( int j = 0; j < m; j++ ) {\n\t\t\t\t\tsum += vecA[i][j] * vecB[j][k];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print((k == 0 ? \"\" : \" \") + sum);\n\t\t\t\t\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\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 l = scan.nextInt(); int[][] vecA = new int[n][m]; int[][] vecB = new int[m][l]; // input for( int i = 0; i < n; i++ ) { for( int j = 0; j < m; j++ ) { vecA[i][j] = scan.nextInt(); } } for( int i = 0; i < m; i++ ) { for( int j = 0; j < l; j++ ) { vecB[i][j] = scan.nextInt(); } } int[][] vecC = new int[n][l]; for( int i = 0; i < n; i++ ) { for( int k = 0; k < l; k++ ) { long sum = 0; for( int j = 0; j < m; j++ ) { sum += vecA[i][j] * vecB[j][k]; } System.out.print((k == 0 ? "" : " ") + sum); } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 137, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 171, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 168, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 189, 195 ], [ 124, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 6, 202 ], [ 202, 203 ] ]
[ "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 l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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\tfor(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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\tfor(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}\n\t}\n\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 l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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\tfor(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\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 l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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\tfor(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\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 l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "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\tfor(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.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<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0; j<l; j++){\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}", "B[i][j] = scan.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\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<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.print(\"\\n\");\n\t\t}", "for(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}", "{\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}", "for(int k=0; k<m; k++){\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t}", "C[i][j] += A[i][k] * B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "if(j == l-1)\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");", "j == l-1", "j", "l-1", "l", "1", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "System.out.print(C[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "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 l = scan.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; 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++){ for(int j=0; j<l; j++){ B[i][j] = scan.nextInt(); } } for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ for(int k=0; k<m; k++){ C[i][j] += A[i][k] * B[k][j]; } if(j == l-1) System.out.print(C[i][j]); else System.out.print(C[i][j] + " "); } System.out.print("\n"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 18, 13, 17, 18, 13, 17, 41, 13, 20, 18, 13, 17, 18, 13, 17, 41, 13, 20, 18, 13, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 28, 13, 13, 30, 30, 0, 13, 13, 29, 13, 23, 13, 12, 13, 30, 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, 30, 14, 2, 13, 2, 18, 18, 13, 17, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13 ]
[ [ 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 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 16, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 25, 26 ], [ 25, 27 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 34, 35 ], [ 34, 36 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 43, 44 ], [ 43, 45 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 49, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 70, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 86 ], [ 86, 87 ], [ 87, 88 ], [ 76, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 97, 102 ], [ 8, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 110, 112 ], [ 103, 113 ], [ 113, 114 ], [ 114, 115 ], [ 103, 116 ], [ 117, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 125, 127 ], [ 118, 128 ], [ 128, 129 ], [ 129, 130 ], [ 118, 131 ], [ 132, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 133, 143 ], [ 143, 144 ], [ 144, 145 ], [ 133, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 8, 165 ], [ 165, 166 ], [ 165, 167 ], [ 6, 168 ], [ 168, 169 ], [ 4, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 176, 177 ], [ 176, 178 ], [ 172, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 186, 188 ], [ 179, 189 ], [ 189, 190 ], [ 190, 191 ], [ 179, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 201, 202 ], [ 201, 203 ], [ 172, 204 ], [ 204, 205 ], [ 170, 206 ], [ 206, 207 ], [ 4, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 214, 215 ], [ 214, 216 ], [ 214, 217 ], [ 218, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 210, 222 ], [ 222, 223 ], [ 208, 224 ], [ 224, 225 ], [ 4, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 229, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 236, 238 ], [ 229, 239 ], [ 239, 240 ], [ 240, 241 ], [ 229, 242 ], [ 243, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 244, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 251, 255 ], [ 244, 256 ], [ 256, 257 ], [ 257, 258 ], [ 244, 259 ], [ 260, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 265, 269 ], [ 264, 270 ], [ 261, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 272, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 277, 281 ], [ 261, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 283, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 289, 293 ], [ 288, 294 ], [ 226, 295 ], [ 295, 296 ], [ 4, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 303, 304 ], [ 303, 305 ], [ 299, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 306, 311 ], [ 311, 312 ], [ 311, 313 ], [ 313, 314 ], [ 313, 315 ], [ 306, 316 ], [ 316, 317 ], [ 317, 318 ], [ 306, 319 ], [ 320, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 321, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 328, 329 ], [ 328, 330 ], [ 299, 331 ], [ 331, 332 ], [ 297, 333 ], [ 333, 334 ] ]
[ "import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint in[] = parseInts(br.readLine().split(\" \"));\n\t\tlong in1[][] = new long[in[0]][in[1]];\n\t\tlong in2[][] = new long[in[1]][in[2]];\n\t\tlong in3[][] = new long[in[0]][in[2]];\n\t\tfor(int i=0; i<in[0]; i++){\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int i=0; i<in[1]; i++){\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int n=0; n<in[0]; n++){\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprintln(in3);\n\t}\n\n\tstatic int[] parseInts(String[] s){\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}\n\n\tstatic int sum(int[] x){\n\t\tint t = 0;\n\t\tfor(int a : x){\n\t\t\tt += a;\n\t\t}\n\t\treturn t;\n\t}\n\n\tstatic void println(long[][] x){\n\t\tfor(int n=0; n<x.length; n++){\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\tstatic long[] parseLongs(String[] s){\n\t\tlong[] x = new long[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}\n\t\treturn x;\n\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 in[] = parseInts(br.readLine().split(\" \"));\n\t\tlong in1[][] = new long[in[0]][in[1]];\n\t\tlong in2[][] = new long[in[1]][in[2]];\n\t\tlong in3[][] = new long[in[0]][in[2]];\n\t\tfor(int i=0; i<in[0]; i++){\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int i=0; i<in[1]; i++){\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int n=0; n<in[0]; n++){\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprintln(in3);\n\t}\n\n\tstatic int[] parseInts(String[] s){\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}\n\n\tstatic int sum(int[] x){\n\t\tint t = 0;\n\t\tfor(int a : x){\n\t\t\tt += a;\n\t\t}\n\t\treturn t;\n\t}\n\n\tstatic void println(long[][] x){\n\t\tfor(int n=0; n<x.length; n++){\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\t\n\tstatic long[] parseLongs(String[] s){\n\t\tlong[] x = new long[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}\n\t\treturn x;\n\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 in[] = parseInts(br.readLine().split(\" \"));\n\t\tlong in1[][] = new long[in[0]][in[1]];\n\t\tlong in2[][] = new long[in[1]][in[2]];\n\t\tlong in3[][] = new long[in[0]][in[2]];\n\t\tfor(int i=0; i<in[0]; i++){\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int i=0; i<in[1]; i++){\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int n=0; n<in[0]; n++){\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprintln(in3);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint in[] = parseInts(br.readLine().split(\" \"));\n\t\tlong in1[][] = new long[in[0]][in[1]];\n\t\tlong in2[][] = new long[in[1]][in[2]];\n\t\tlong in3[][] = new long[in[0]][in[2]];\n\t\tfor(int i=0; i<in[0]; i++){\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int i=0; i<in[1]; i++){\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}\n\t\tfor(int n=0; n<in[0]; n++){\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tprintln(in3);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int in[] = parseInts(br.readLine().split(\" \"));", "in", "parseInts(br.readLine().split(\" \"))", "parseInts", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "long in1[][] = new long[in[0]][in[1]];", "in1", "new long[in[0]][in[1]]", "in[0]", "in", "0", "in[1]", "in", "1", "long in2[][] = new long[in[1]][in[2]];", "in2", "new long[in[1]][in[2]]", "in[1]", "in", "1", "in[2]", "in", "2", "long in3[][] = new long[in[0]][in[2]];", "in3", "new long[in[0]][in[2]]", "in[0]", "in", "0", "in[2]", "in", "2", "for(int i=0; i<in[0]; i++){\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<in[0]", "i", "in[0]", "in", "0", "i++", "i++", "i", "{\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}", "{\n\t\t\tin1[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}", "in1[i] = parseLongs(br.readLine().split(\" \"))", "in1[i]", "in1", "i", "parseLongs(br.readLine().split(\" \"))", "parseLongs", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int i=0; i<in[1]; i++){\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<in[1]", "i", "in[1]", "in", "1", "i++", "i++", "i", "{\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}", "{\n\t\t\tin2[i] = parseLongs(br.readLine().split(\" \"));\n\t\t}", "in2[i] = parseLongs(br.readLine().split(\" \"))", "in2[i]", "in2", "i", "parseLongs(br.readLine().split(\" \"))", "parseLongs", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int n=0; n<in[0]; n++){\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int n=0;", "int n=0;", "n", "0", "n<in[0]", "n", "in[0]", "in", "0", "n++", "n++", "n", "{\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int l=0; l<in[2]; l++){\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}", "int l=0;", "int l=0;", "l", "0", "l<in[2]", "l", "in[2]", "in", "2", "l++", "l++", "l", "{\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}\n\t\t\t}", "for(int m=0; m<in[1]; m++){\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}", "int m=0;", "int m=0;", "m", "0", "m<in[1]", "m", "in[1]", "in", "1", "m++", "m++", "m", "{\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}", "{\n\t\t\t\t\tin3[n][l] += in1[n][m] * in2[m][l];\n\t\t\t\t}", "in3[n][l] += in1[n][m] * in2[m][l]", "in3[n][l]", "in3[n]", "in3", "n", "l", "in1[n][m] * in2[m][l]", "in1[n][m]", "in1[n]", "in1", "n", "m", "in2[m][l]", "in2[m]", "in2", "m", "l", "println(in3)", "println", "in3", "String[] args", "args", "static int[] parseInts(String[] s){\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}", "parseInts", "{\n\t\tint[] x = new int[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}\n\t\treturn x;\n\t}", "int[] x = new int[s.length];", "x", "new int[s.length]", "s.length", "s", "s.length", "for(int i=0; i<s.length; i++){\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "{\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}", "{\n\t\t\tx[i] = Integer.parseInt(s[i]);\n\t\t}", "x[i] = Integer.parseInt(s[i])", "x[i]", "x", "i", "Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "return x;", "x", "String[] s", "s", "static int sum(int[] x){\n\t\tint t = 0;\n\t\tfor(int a : x){\n\t\t\tt += a;\n\t\t}\n\t\treturn t;\n\t}", "sum", "{\n\t\tint t = 0;\n\t\tfor(int a : x){\n\t\t\tt += a;\n\t\t}\n\t\treturn t;\n\t}", "int t = 0;", "t", "0", "for(int a : x){\n\t\t\tt += a;\n\t\t}", "int a", "x", "{\n\t\t\tt += a;\n\t\t}", "{\n\t\t\tt += a;\n\t\t}", "t += a", "t", "a", "return t;", "t", "int[] x", "x", "static void println(long[][] x){\n\t\tfor(int n=0; n<x.length; n++){\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "println", "{\n\t\tfor(int n=0; n<x.length; n++){\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "for(int n=0; n<x.length; n++){\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int n=0;", "int n=0;", "n", "0", "n<x.length", "n", "x.length", "x", "x.length", "n++", "n++", "n", "{\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int m=0; m<x[0].length; m++){\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}", "int m=0;", "int m=0;", "m", "0", "m<x[0].length", "m", "x[0].length", "x[0]", "x", "0", "x[0].length", "m++", "m++", "m", "{\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}\n\t\t\t}", "if(m == x[0].length-1){\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}", "m == x[0].length-1", "m", "x[0].length-1", "x[0].length", "x[0]", "x", "0", "x[0].length", "1", "{\n\t\t\t\t\tSystem.out.println(x[n][m]);\n\t\t\t\t}", "System.out.println(x[n][m])", "System.out.println", "System.out", "System", "System.out", "x[n][m]", "x[n]", "x", "n", "m", "{\n\t\t\t\t\tSystem.out.print(x[n][m] + \" \");\n\t\t\t\t}", "System.out.print(x[n][m] + \" \")", "System.out.print", "System.out", "System", "System.out", "x[n][m] + \" \"", "x[n][m]", "x[n]", "x", "n", "m", "\" \"", "long[][] x", "x", "static long[] parseLongs(String[] s){\n\t\tlong[] x = new long[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}\n\t\treturn x;\n\t}", "parseLongs", "{\n\t\tlong[] x = new long[s.length];\n\t\tfor(int i=0; i<s.length; i++){\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}\n\t\treturn x;\n\t}", "long[] x = new long[s.length];", "x", "new long[s.length]", "s.length", "s", "s.length", "for(int i=0; i<s.length; i++){\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<s.length", "i", "s.length", "s", "s.length", "i++", "i++", "i", "{\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}", "{\n\t\t\tx[i] = Long.parseLong(s[i]);\n\t\t}", "x[i] = Long.parseLong(s[i])", "x[i]", "x", "i", "Long.parseLong(s[i])", "Long.parseLong", "Long", "s[i]", "s", "i", "return x;", "x", "String[] s", "s" ]
import java.io.*; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int in[] = parseInts(br.readLine().split(" ")); long in1[][] = new long[in[0]][in[1]]; long in2[][] = new long[in[1]][in[2]]; long in3[][] = new long[in[0]][in[2]]; for(int i=0; i<in[0]; i++){ in1[i] = parseLongs(br.readLine().split(" ")); } for(int i=0; i<in[1]; i++){ in2[i] = parseLongs(br.readLine().split(" ")); } for(int n=0; n<in[0]; n++){ for(int l=0; l<in[2]; l++){ for(int m=0; m<in[1]; m++){ in3[n][l] += in1[n][m] * in2[m][l]; } } } println(in3); } static int[] parseInts(String[] s){ int[] x = new int[s.length]; for(int i=0; i<s.length; i++){ x[i] = Integer.parseInt(s[i]); } return x; } static int sum(int[] x){ int t = 0; for(int a : x){ t += a; } return t; } static void println(long[][] x){ for(int n=0; n<x.length; n++){ for(int m=0; m<x[0].length; m++){ if(m == x[0].length-1){ System.out.println(x[n][m]); }else{ System.out.print(x[n][m] + " "); } } } } static long[] parseLongs(String[] s){ long[] x = new long[s.length]; for(int i=0; i<s.length; i++){ x[i] = Long.parseLong(s[i]); } return x; } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 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, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 13, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 207, 5 ], [ 207, 6 ], [ 6, 7 ], [ 6, 8 ], [ 207, 9 ], [ 9, 10 ], [ 9, 11 ], [ 207, 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 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 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 ], [ 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 ], [ 14, 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 ], [ 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 ], [ 14, 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 ], [ 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 ], [ 148, 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 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 148, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 183, 189 ], [ 178, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 191, 197 ], [ 135, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 12, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static final int BIG_NUM = 2000000000;\n\tpublic static final int MOD = 1000000007;\n\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\t\tint L = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint B[][] = new int[M][L];\n\n\t\tString buf_A[] = new String[M];\n\t\tString buf_B[] = new String[L];\n\n\t\tfor(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tLong ans;\n\n\t\tfor(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static final int BIG_NUM = 2000000000;\n\tpublic static final int MOD = 1000000007;\n\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\t\tint L = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint B[][] = new int[M][L];\n\n\t\tString buf_A[] = new String[M];\n\t\tString buf_B[] = new String[L];\n\n\t\tfor(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tLong ans;\n\n\t\tfor(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}", "Main", "public static final int BIG_NUM = 2000000000;", "BIG_NUM", "2000000000", "public static final int MOD = 1000000007;", "MOD", "1000000007", "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\t\tint L = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint B[][] = new int[M][L];\n\n\t\tString buf_A[] = new String[M];\n\t\tString buf_B[] = new String[L];\n\n\t\tfor(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tLong ans;\n\n\t\tfor(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\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\t\tint L = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint B[][] = new int[M][L];\n\n\t\tString buf_A[] = new String[M];\n\t\tString buf_B[] = new String[L];\n\n\t\tfor(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tLong ans;\n\n\t\tfor(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\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 L = sc.nextInt();", "L", "sc.nextInt()", "sc.nextInt", "sc", "int A[][] = new int[N][M];", "A", "new int[N][M]", "N", "M", "int B[][] = new int[M][L];", "B", "new int[M][L]", "M", "L", "String buf_A[] = new String[M];", "buf_A", "new String[M]", "M", "String buf_B[] = new String[L];", "buf_B", "new String[L]", "L", "for(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}", "int row = 0;", "int row = 0;", "row", "0", "row < N", "row", "N", "row++", "row++", "row", "{\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}", "int col = 0;", "int col = 0;", "col", "0", "col < M", "col", "M", "col++", "col++", "col", "{\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}", "A[row][col] = sc.nextInt()", "A[row][col]", "A[row]", "A", "row", "col", "sc.nextInt()", "sc.nextInt", "sc", "for(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}", "int row = 0;", "int row = 0;", "row", "0", "row < M", "row", "M", "row++", "row++", "row", "{\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}", "int col = 0;", "int col = 0;", "col", "0", "col < L", "col", "L", "col++", "col++", "col", "{\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}", "B[row][col] = sc.nextInt()", "B[row][col]", "B[row]", "B", "row", "col", "sc.nextInt()", "sc.nextInt", "sc", "Long ans;", "ans", "for(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}", "int A_row = 0;", "int A_row = 0;", "A_row", "0", "A_row < N", "A_row", "N", "A_row++", "A_row++", "A_row", "{\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}", "{\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}", "for(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}", "int B_col = 0;", "int B_col = 0;", "B_col", "0", "B_col < L", "B_col", "L", "B_col++", "B_col++", "B_col", "{\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}", "ans = 0L", "ans", "0L", "for(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}", "int B_row = 0;", "int B_row = 0;", "B_row", "0", "B_row < M", "B_row", "M", "B_row++", "B_row++", "B_row", "{\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}", "{\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}", "ans += A[A_row][B_row]*B[B_row][B_col]", "ans", "A[A_row][B_row]*B[B_row][B_col]", "A[A_row][B_row]", "A[A_row]", "A", "A_row", "B_row", "B[B_row][B_col]", "B[B_row]", "B", "B_row", "B_col", "if(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}", "B_col == 0", "B_col", "0", "{\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}", "System.out.printf(\"%d\", ans)", "System.out.printf", "System.out", "System", "System.out", "\"%d\"", "ans", "{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}", "System.out.printf(\" %d\", ans)", "System.out.printf", "System.out", "System", "System.out", "\" %d\"", "ans", "System.out.printf(\"\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"\\n\"", "String[] args", "args", "public class Main {\n\n\tpublic static final int BIG_NUM = 2000000000;\n\tpublic static final int MOD = 1000000007;\n\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\t\tint L = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint B[][] = new int[M][L];\n\n\t\tString buf_A[] = new String[M];\n\t\tString buf_B[] = new String[L];\n\n\t\tfor(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tLong ans;\n\n\t\tfor(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static final int BIG_NUM = 2000000000;\n\tpublic static final int MOD = 1000000007;\n\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\t\tint L = sc.nextInt();\n\n\t\tint A[][] = new int[N][M];\n\t\tint B[][] = new int[M][L];\n\n\t\tString buf_A[] = new String[M];\n\t\tString buf_B[] = new String[L];\n\n\t\tfor(int row = 0; row < N; row++){\n\t\t\tfor(int col = 0; col < M; col++){\n\t\t\t\tA[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int row = 0; row < M; row++){\n\t\t\tfor(int col = 0; col < L; col++){\n\t\t\t\tB[row][col] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tLong ans;\n\n\t\tfor(int A_row = 0; A_row < N; A_row++){\n\t\t\tfor(int B_col = 0; B_col < L; B_col++){\n\t\t\t\tans = 0L;\n\t\t\t\tfor(int B_row = 0; B_row < M; B_row++){\n\t\t\t\t\tans += A[A_row][B_row]*B[B_row][B_col];\n\t\t\t\t}\n\t\t\t\tif(B_col == 0){\n\t\t\t\t\tSystem.out.printf(\"%d\", ans);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.printf(\" %d\", ans);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.printf(\"\\n\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static final int BIG_NUM = 2000000000; public static final int MOD = 1000000007; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int M = sc.nextInt(); int L = sc.nextInt(); int A[][] = new int[N][M]; int B[][] = new int[M][L]; String buf_A[] = new String[M]; String buf_B[] = new String[L]; for(int row = 0; row < N; row++){ for(int col = 0; col < M; col++){ A[row][col] = sc.nextInt(); } } for(int row = 0; row < M; row++){ for(int col = 0; col < L; col++){ B[row][col] = sc.nextInt(); } } Long ans; for(int A_row = 0; A_row < N; A_row++){ for(int B_col = 0; B_col < L; B_col++){ ans = 0L; for(int B_row = 0; B_row < M; B_row++){ ans += A[A_row][B_row]*B[B_row][B_col]; } if(B_col == 0){ System.out.printf("%d", ans); }else{ System.out.printf(" %d", ans); } } System.out.printf("\n"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 8, 2, 13, 2, 13, 17, 2, 18, 18, 13, 13, 13, 17, 2, 18, 18, 13, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 272, 5 ], [ 272, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 13, 18 ], [ 9, 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 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 19, 55 ], [ 55, 56 ], [ 55, 57 ], [ 19, 60 ], [ 60, 61 ], [ 60, 62 ], [ 19, 65 ], [ 65, 66 ], [ 65, 67 ], [ 19, 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 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 85, 90 ], [ 82, 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 ], [ 105, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 113, 115 ], [ 19, 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 ], [ 133, 134 ], [ 134, 135 ], [ 131, 136 ], [ 128, 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 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 150, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 159, 161 ], [ 19, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 162, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 175, 183 ], [ 183, 184 ], [ 184, 185 ], [ 175, 186 ], [ 187, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 188, 193 ], [ 193, 194 ], [ 193, 195 ], [ 188, 196 ], [ 196, 197 ], [ 197, 198 ], [ 188, 199 ], [ 200, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 201, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 19, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 223, 225 ], [ 218, 226 ], [ 226, 227 ], [ 227, 228 ], [ 218, 229 ], [ 230, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 231, 236 ], [ 236, 237 ], [ 236, 238 ], [ 231, 239 ], [ 239, 240 ], [ 240, 241 ], [ 231, 242 ], [ 243, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 244, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 252, 254 ], [ 249, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 255, 261 ], [ 249, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 262, 268 ], [ 6, 269 ], [ 269, 270 ], [ 0, 271 ], [ 271, 272 ], [ 271, 273 ] ]
[ "// ITP1_7_D Matrix Multiplication\nimport java.io.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }\n }\n}", "Main", "public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }\n }", "main", "{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }\n }", "try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }", "catch (Exception e) {\n System.err.println(e);\n }", "Exception e", "{\n System.err.println(e);\n }", "System.err.println(e)", "System.err.println", "System.err", "System", "System.err", "e", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String strAry0[] = br.readLine().split(\" \");", "strAry0", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(strAry0[0]);", "n", "Integer.parseInt(strAry0[0])", "Integer.parseInt", "Integer", "strAry0[0]", "strAry0", "0", "int m = Integer.parseInt(strAry0[1]);", "m", "Integer.parseInt(strAry0[1])", "Integer.parseInt", "Integer", "strAry0[1]", "strAry0", "1", "int l = Integer.parseInt(strAry0[2]);", "l", "Integer.parseInt(strAry0[2])", "Integer.parseInt", "Integer", "strAry0[2]", "strAry0", "2", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }", "{\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }", "String strAry1[] = br.readLine().split(\" \");", "strAry1", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n A[i][j] = Integer.parseInt(strAry1[j]);\n }", "{\n A[i][j] = Integer.parseInt(strAry1[j]);\n }", "A[i][j] = Integer.parseInt(strAry1[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(strAry1[j])", "Integer.parseInt", "Integer", "strAry1[j]", "strAry1", "j", "for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }", "{\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }", "String strAry2[] = br.readLine().split(\" \");", "strAry2", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n B[i][j] = Integer.parseInt(strAry2[j]);\n }", "{\n B[i][j] = Integer.parseInt(strAry2[j]);\n }", "B[i][j] = Integer.parseInt(strAry2[j])", "B[i][j]", "B[i]", "B", "i", "j", "Integer.parseInt(strAry2[j])", "Integer.parseInt", "Integer", "strAry2[j]", "strAry2", "j", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }", "for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }", "{\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }", "for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n C[i][j] += (A[i][k] * B[k][j]);\n }", "{\n C[i][j] += (A[i][k] * B[k][j]);\n }", "C[i][j] += (A[i][k] * B[k][j])", "C[i][j]", "C[i]", "C", "i", "j", "(A[i][k] * B[k][j])", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }", "{\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }", "for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }", "{\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }", "System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\")", "System.out.print", "System.out", "System", "System.out", "j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\"", "j < l - 1", "j", "l - 1", "l", "1", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "C[i][j] + \"\\n\"", "C[i][j]", "C[i]", "C", "i", "j", "\"\\n\"", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String strAry0[] = br.readLine().split(\" \");\n int n = Integer.parseInt(strAry0[0]);\n int m = Integer.parseInt(strAry0[1]);\n int l = Integer.parseInt(strAry0[2]);\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n String strAry1[] = br.readLine().split(\" \");\n for (int j = 0; j < m; j++) {\n A[i][j] = Integer.parseInt(strAry1[j]);\n }\n }\n\n for (int i = 0; i < m; i++) {\n String strAry2[] = br.readLine().split(\" \");\n for (int j = 0; j < l; j++) {\n B[i][j] = Integer.parseInt(strAry2[j]);\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += (A[i][k] * B[k][j]);\n }\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n System.out.print(j < l - 1 ? C[i][j] + \" \": C[i][j] + \"\\n\");\n }\n }\n }\n\n catch (Exception e) {\n System.err.println(e);\n }\n }\n}", "Main" ]
// ITP1_7_D Matrix Multiplication import java.io.*; public class Main { public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String strAry0[] = br.readLine().split(" "); int n = Integer.parseInt(strAry0[0]); int m = Integer.parseInt(strAry0[1]); int l = Integer.parseInt(strAry0[2]); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; for (int i = 0; i < n; i++) { String strAry1[] = br.readLine().split(" "); for (int j = 0; j < m; j++) { A[i][j] = Integer.parseInt(strAry1[j]); } } for (int i = 0; i < m; i++) { String strAry2[] = br.readLine().split(" "); for (int j = 0; j < l; j++) { B[i][j] = Integer.parseInt(strAry2[j]); } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { C[i][j] += (A[i][k] * B[k][j]); } } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { System.out.print(j < l - 1 ? C[i][j] + " ": C[i][j] + "\n"); } } } catch (Exception e) { System.err.println(e); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 13, 17, 4, 18, 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 ], [ 240, 11 ], [ 240, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 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 ], [ 14, 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 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 121, 126 ], [ 118, 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 ], [ 141, 145 ], [ 140, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 149, 151 ], [ 14, 152 ], [ 152, 153 ], [ 152, 154 ], [ 14, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 155, 163 ], [ 163, 164 ], [ 164, 165 ], [ 155, 166 ], [ 167, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 184, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 199, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 180, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 213, 215 ], [ 210, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 210, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 224, 229 ], [ 229, 230 ], [ 229, 231 ], [ 167, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 12, 237 ], [ 237, 238 ], [ 0, 239 ], [ 239, 240 ], [ 239, 241 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(str[0]);\n\t\tint m = Integer.parseInt(str[1]);\n\t\tint l = Integer.parseInt(str[2]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tlong c = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(str[0]);\n\t\tint m = Integer.parseInt(str[1]);\n\t\tint l = Integer.parseInt(str[2]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tlong c = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(str[0]);\n\t\tint m = Integer.parseInt(str[1]);\n\t\tint l = Integer.parseInt(str[2]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tlong c = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(str[0]);\n\t\tint m = Integer.parseInt(str[1]);\n\t\tint l = Integer.parseInt(str[2]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tlong c = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "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 l = Integer.parseInt(str[2]);", "l", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "for(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "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\tA[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\tA[i][j]= Integer.parseInt(str[j]);\n\t\t\t}", "{\n\t\t\t\tA[i][j]= Integer.parseInt(str[j]);\n\t\t\t}", "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\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "str = br.readLine().split(\" \")", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}", "{\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}", "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", "long c = 0;", "c", "0", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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 < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}", "c = 0", "c", "0", "for(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}", "c += A[i][k] * B[k][j]", "c", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "if(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}", "j == (l - 1)", "j", "(l - 1)", "l", "1", "{\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}", "System.out.print(c)", "System.out.print", "System.out", "System", "System.out", "c", "{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}", "System.out.print(c + \" \")", "System.out.print", "System.out", "System", "System.out", "c + \" \"", "c", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(str[0]);\n\t\tint m = Integer.parseInt(str[1]);\n\t\tint l = Integer.parseInt(str[2]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tlong c = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] str = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(str[0]);\n\t\tint m = Integer.parseInt(str[1]);\n\t\tint l = Integer.parseInt(str[2]);\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\tA[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\tstr = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tB[i][j]= Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\t\tlong c = 0;\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j == (l - 1)){\n\t\t\t\t\tSystem.out.print(c);\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.print(c + \" \");\n\t\t\t\t}\n\t\t\t}\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; 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 l = Integer.parseInt(str[2]); int[][] A = new int[n][m]; int[][] B = new int[m][l]; 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++){ str = br.readLine().split(" "); for(int j = 0; j < l; j++){ B[i][j]= Integer.parseInt(str[j]); } } long c = 0; for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ c = 0; for(int k = 0; k < m; k++){ c += A[i][k] * B[k][j]; } if(j == (l - 1)){ System.out.print(c); }else{ System.out.print(c + " "); } } System.out.println(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 0, 13, 20, 13, 13, 0, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 233, 8 ], [ 233, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 11, 32 ], [ 32, 33 ], [ 11, 34 ], [ 34, 35 ], [ 11, 36 ], [ 36, 37 ], [ 36, 38 ], [ 11, 41 ], [ 41, 42 ], [ 41, 43 ], [ 11, 46 ], [ 46, 47 ], [ 46, 48 ], [ 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 ], [ 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 ], [ 11, 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 ], [ 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 ], [ 11, 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 ], [ 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 ], [ 161, 165 ], [ 160, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 166, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 11, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 202, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 216, 218 ], [ 213, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 213, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 9, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n long A[][];\n long B[][];\n long C[][];\n A=new long [n][m];\n B=new long [m][l];\n C=new long [n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\n }\n }\n}\n", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n long A[][];\n long B[][];\n long C[][];\n A=new long [n][m];\n B=new long [m][l];\n C=new long [n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\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 l=sc.nextInt();\n long A[][];\n long B[][];\n long C[][];\n A=new long [n][m];\n B=new long [m][l];\n C=new long [n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\n }\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n long A[][];\n long B[][];\n long C[][];\n A=new long [n][m];\n B=new long [m][l];\n C=new long [n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\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 l=sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "long A[][];", "A", "long B[][];", "B", "long C[][];", "C", "A=new long [n][m]", "A", "new long [n][m]", "n", "m", "B=new long [m][l]", "B", "new long [m][l]", "m", "l", "C=new long [n][l]", "C", "new long [n][l]", "n", "l", "for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)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]=(long)sc.nextInt();\n }\n }", "{\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }", "for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n A[i][j]=(long)sc.nextInt();\n }", "{\n A[i][j]=(long)sc.nextInt();\n }", "A[i][j]=(long)sc.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "(long)sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }", "{\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }", "for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n B[i][j]=(long)sc.nextInt();\n }", "{\n B[i][j]=(long)sc.nextInt();\n }", "B[i][j]=(long)sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "(long)sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }", "for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }", "{\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }", "for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n C[i][j]+=A[i][k]*B[k][j];\n }", "{\n C[i][j]+=A[i][k]*B[k][j];\n }", "C[i][j]+=A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\n }", "{\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\n }", "for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }", "{\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "if(j!=l-1) System.out.print(\" \");\n else System.out.println();", "j!=l-1", "j", "l-1", "l", "1", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n long A[][];\n long B[][];\n long C[][];\n A=new long [n][m];\n B=new long [m][l];\n C=new long [n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\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 int l=sc.nextInt();\n long A[][];\n long B[][];\n long C[][];\n A=new long [n][m];\n B=new long [m][l];\n C=new long [n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j]=(long)sc.nextInt();\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n System.out.print(C[i][j]);\n if(j!=l-1) System.out.print(\" \");\n else System.out.println();\n }\n }\n }\n}", "Main" ]
import java.io.*; 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 l=sc.nextInt(); long A[][]; long B[][]; long C[][]; A=new long [n][m]; B=new long [m][l]; C=new long [n][l]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ A[i][j]=(long)sc.nextInt(); } } for(int i=0;i<m;i++){ for(int j=0;j<l;j++){ B[i][j]=(long)sc.nextInt(); } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ for(int k=0;k<m;k++){ C[i][j]+=A[i][k]*B[k][j]; } } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ System.out.print(C[i][j]); if(j!=l-1) System.out.print(" "); else System.out.println(); } } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 13, 13, 4, 18, 13, 2, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 233, 5 ], [ 233, 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 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 69, 74 ], [ 66, 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 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 100, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 115, 120 ], [ 112, 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 ], [ 135, 139 ], [ 134, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 143, 145 ], [ 8, 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 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 162, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 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 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 193, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 174, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 207, 209 ], [ 204, 210 ], [ 210, 211 ], [ 211, 212 ], [ 210, 213 ], [ 204, 214 ], [ 214, 215 ], [ 215, 216 ], [ 214, 217 ], [ 217, 218 ], [ 217, 219 ], [ 161, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 8, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 224, 229 ], [ 6, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String[] data = sc.nextLine().split(\" \");\n int n = Integer.parseInt(data[0]);\n int m = Integer.parseInt(data[1]);\n int l = Integer.parseInt(data[2]);\n\n int[][] listA = new int[n][m];\n int[][] listB = new int[l][m];\n for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }\n \n for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n } \n System.out.print(sb);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String[] data = sc.nextLine().split(\" \");\n int n = Integer.parseInt(data[0]);\n int m = Integer.parseInt(data[1]);\n int l = Integer.parseInt(data[2]);\n\n int[][] listA = new int[n][m];\n int[][] listB = new int[l][m];\n for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }\n \n for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n } \n System.out.print(sb);\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String[] data = sc.nextLine().split(\" \");\n int n = Integer.parseInt(data[0]);\n int m = Integer.parseInt(data[1]);\n int l = Integer.parseInt(data[2]);\n\n int[][] listA = new int[n][m];\n int[][] listB = new int[l][m];\n for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }\n \n for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n } \n System.out.print(sb);\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n String[] data = sc.nextLine().split(\" \");\n int n = Integer.parseInt(data[0]);\n int m = Integer.parseInt(data[1]);\n int l = Integer.parseInt(data[2]);\n\n int[][] listA = new int[n][m];\n int[][] listB = new int[l][m];\n for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }\n \n for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n } \n System.out.print(sb);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new 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 l = Integer.parseInt(data[2]);", "l", "Integer.parseInt(data[2])", "Integer.parseInt", "Integer", "data[2]", "data", "2", "int[][] listA = new int[n][m];", "listA", "new int[n][m]", "n", "m", "int[][] listB = new int[l][m];", "listB", "new int[l][m]", "l", "m", "for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }", "{\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }", "String[] strTmp = sc.nextLine().split(\" \");", "strTmp", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }", "{\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }", "listA[i][j]=Integer.parseInt(strTmp[j])", "listA[i][j]", "listA[i]", "listA", "i", "j", "Integer.parseInt(strTmp[j])", "Integer.parseInt", "Integer", "strTmp[j]", "strTmp", "j", "for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }", "{\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }", "String[] strTmp = sc.nextLine().split(\" \");", "strTmp", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }", "{\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }", "listB[j][i]=Integer.parseInt(strTmp[j])", "listB[j][i]", "listB[j]", "listB", "j", "i", "Integer.parseInt(strTmp[j])", "Integer.parseInt", "Integer", "strTmp[j]", "strTmp", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n }", "{\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n }", "for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }", "{\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }", "long tmp = 0;", "tmp", "0", "for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n tmp+=listA[i][k]*listB[j][k];\n }", "{\n tmp+=listA[i][k]*listB[j][k];\n }", "tmp+=listA[i][k]*listB[j][k]", "tmp", "listA[i][k]*listB[j][k]", "listA[i][k]", "listA[i]", "listA", "i", "k", "listB[j][k]", "listB[j]", "listB", "j", "k", "if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");", "j==l-1", "j", "l-1", "l", "1", "sb.append(tmp)", "sb.append", "sb", "tmp", "sb.append(tmp+\" \")", "sb.append", "sb", "tmp+\" \"", "tmp", "\" \"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String[] data = sc.nextLine().split(\" \");\n int n = Integer.parseInt(data[0]);\n int m = Integer.parseInt(data[1]);\n int l = Integer.parseInt(data[2]);\n\n int[][] listA = new int[n][m];\n int[][] listB = new int[l][m];\n for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }\n \n for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n } \n System.out.print(sb);\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n String[] data = sc.nextLine().split(\" \");\n int n = Integer.parseInt(data[0]);\n int m = Integer.parseInt(data[1]);\n int l = Integer.parseInt(data[2]);\n\n int[][] listA = new int[n][m];\n int[][] listB = new int[l][m];\n for(int i = 0; i < n; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < m;j++){\n listA[i][j]=Integer.parseInt(strTmp[j]);\n }\n }\n \n for(int i = 0; i < m; i++){\n String[] strTmp = sc.nextLine().split(\" \");\n for(int j = 0; j < l;j++){\n listB[j][i]=Integer.parseInt(strTmp[j]);\n }\n }\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l;j++){\n long tmp = 0;\n for(int k = 0; k < m;k++){\n tmp+=listA[i][k]*listB[j][k];\n }\n if(j==l-1) sb.append(tmp);\n else sb.append(tmp+\" \");\n }\n sb.append(\"\\n\");\n } \n System.out.print(sb);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String[] data = sc.nextLine().split(" "); int n = Integer.parseInt(data[0]); int m = Integer.parseInt(data[1]); int l = Integer.parseInt(data[2]); int[][] listA = new int[n][m]; int[][] listB = new int[l][m]; for(int i = 0; i < n; i++){ String[] strTmp = sc.nextLine().split(" "); for(int j = 0; j < m;j++){ listA[i][j]=Integer.parseInt(strTmp[j]); } } for(int i = 0; i < m; i++){ String[] strTmp = sc.nextLine().split(" "); for(int j = 0; j < l;j++){ listB[j][i]=Integer.parseInt(strTmp[j]); } } StringBuilder sb = new StringBuilder(); for(int i = 0; i < n; i++){ for(int j = 0; j < l;j++){ long tmp = 0; for(int k = 0; k < m;k++){ tmp+=listA[i][k]*listB[j][k]; } if(j==l-1) sb.append(tmp); else sb.append(tmp+" "); } sb.append("\n"); } System.out.print(sb); } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 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 ], [ 242, 11 ], [ 242, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 60 ], [ 60, 61 ], [ 60, 62 ], [ 14, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 80, 85 ], [ 77, 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 ], [ 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 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 126, 131 ], [ 123, 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 ], [ 146, 150 ], [ 145, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 154, 156 ], [ 14, 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 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 170, 178 ], [ 178, 179 ], [ 179, 180 ], [ 170, 181 ], [ 182, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 192, 193 ], [ 183, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 196, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 182, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 182, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 224, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 169, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 12, 239 ], [ 239, 240 ], [ 0, 241 ], [ 241, 242 ], [ 241, 243 ] ]
[ "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\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tmpArray[0]);\n\t\tint m = Integer.parseInt(tmpArray[1]);\n\t\tint l = Integer.parseInt(tmpArray[2]);\n\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\t\tlong[][] c = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\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\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tmpArray[0]);\n\t\tint m = Integer.parseInt(tmpArray[1]);\n\t\tint l = Integer.parseInt(tmpArray[2]);\n\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\t\tlong[][] c = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tmpArray[0]);\n\t\tint m = Integer.parseInt(tmpArray[1]);\n\t\tint l = Integer.parseInt(tmpArray[2]);\n\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\t\tlong[][] c = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tmpArray[0]);\n\t\tint m = Integer.parseInt(tmpArray[1]);\n\t\tint l = Integer.parseInt(tmpArray[2]);\n\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\t\tlong[][] c = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] tmpArray = br.readLine().split(\" \");", "tmpArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(tmpArray[0]);", "n", "Integer.parseInt(tmpArray[0])", "Integer.parseInt", "Integer", "tmpArray[0]", "tmpArray", "0", "int m = Integer.parseInt(tmpArray[1]);", "m", "Integer.parseInt(tmpArray[1])", "Integer.parseInt", "Integer", "tmpArray[1]", "tmpArray", "1", "int l = Integer.parseInt(tmpArray[2]);", "l", "Integer.parseInt(tmpArray[2])", "Integer.parseInt", "Integer", "tmpArray[2]", "tmpArray", "2", "long[][] a = new long[n][m];", "a", "new long[n][m]", "n", "m", "long[][] b = new long[m][l];", "b", "new long[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[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\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}", "tmpArray = br.readLine().split(\" \")", "tmpArray", "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] = Long.parseLong(tmpArray[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] = Long.parseLong(tmpArray[j]);\n\t\t\t}", "{\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}", "a[i][j] = Long.parseLong(tmpArray[j])", "a[i][j]", "a[i]", "a", "i", "j", "Long.parseLong(tmpArray[j])", "Long.parseLong", "Long", "tmpArray[j]", "tmpArray", "j", "for(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\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\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}", "tmpArray = br.readLine().split(\" \")", "tmpArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}", "{\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}", "b[i][j] = Integer.parseInt(tmpArray[j])", "b[i][j]", "b[i]", "b", "i", "j", "Integer.parseInt(tmpArray[j])", "Integer.parseInt", "Integer", "tmpArray[j]", "tmpArray", "j", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\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 < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}", "{\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}", "for(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}", "c[i][j] += a[i][k]*b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "if(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j != 0", "j", "0", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(c[i][j])", "System.out.print", "System.out", "System", "System.out", "c[i][j]", "c[i]", "c", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tmpArray[0]);\n\t\tint m = Integer.parseInt(tmpArray[1]);\n\t\tint l = Integer.parseInt(tmpArray[2]);\n\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\t\tlong[][] c = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(tmpArray[0]);\n\t\tint m = Integer.parseInt(tmpArray[1]);\n\t\tint l = Integer.parseInt(tmpArray[2]);\n\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\t\tlong[][] c = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < m; j++){\n\t\t\t\ta[i][j] = Long.parseLong(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i ++){\n\t\t\ttmpArray = br.readLine().split(\" \");\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tb[i][j] = Integer.parseInt(tmpArray[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tc[i][j] += a[i][k]*b[k][j];\n\t\t\t\t}\n\n\t\t\t\tif(j != 0 ){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\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 { // TODO ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] tmpArray = br.readLine().split(" "); int n = Integer.parseInt(tmpArray[0]); int m = Integer.parseInt(tmpArray[1]); int l = Integer.parseInt(tmpArray[2]); long[][] a = new long[n][m]; long[][] b = new long[m][l]; long[][] c = new long[n][l]; for(int i = 0; i < n; i ++){ tmpArray = br.readLine().split(" "); for(int j = 0; j < m; j++){ a[i][j] = Long.parseLong(tmpArray[j]); } } for(int i = 0; i < m; i ++){ tmpArray = br.readLine().split(" "); for(int j = 0; j < l; j++){ b[i][j] = Integer.parseInt(tmpArray[j]); } } for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ for(int k = 0; k < m; k++){ c[i][j] += a[i][k]*b[k][j]; } if(j != 0 ){ System.out.print(" "); } System.out.print(c[i][j]); } 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, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 41, 13, 20, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 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, 0, 13, 4, 18, 13, 0, 13, 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, 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, 2, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 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 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 51 ], [ 51, 52 ], [ 51, 53 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 70 ], [ 70, 71 ], [ 70, 72 ], [ 8, 73 ], [ 73, 74 ], [ 73, 75 ], [ 8, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 79, 90 ], [ 91, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 91, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 91, 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 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 116, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 125, 127 ], [ 8, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 128, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 140, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 140, 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 ], [ 166, 170 ], [ 165, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 8, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 203, 211 ], [ 211, 212 ], [ 212, 213 ], [ 203, 214 ], [ 215, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 216, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 222, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 228, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 234, 238 ], [ 202, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 242, 244 ], [ 239, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 246, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 251, 255 ], [ 239, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 257, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 262, 268 ], [ 6, 269 ], [ 269, 270 ] ]
[ "// n×mの行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。\n\nimport java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// n, m, lの読み込み\n\t\tString scan_str = scan.nextLine();\n\t\tString[] first_str = scan_str.split(\" \");\n\t\tint n = Integer.parseInt(first_str[0]);\n\t\tint m = Integer.parseInt(first_str[1]);\n\t\tint l = Integer.parseInt(first_str[2]);\n\n\t\tString[] m_count = new String[m];\n\t\tString[] l_count = new String[l];\n\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t// ループカウンタ\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint k = 0;\n\n\t\t// 行列 A の読み込み\n\t\tfor(i=0; i<n; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}\n\n\t\t// 行列 B の読み込み\n\t\tfor(i=0; i<m; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}\n\t\t// 行列 C の算出\n\t\tfor(i=0; i<n; i++){\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// n, m, lの読み込み\n\t\tString scan_str = scan.nextLine();\n\t\tString[] first_str = scan_str.split(\" \");\n\t\tint n = Integer.parseInt(first_str[0]);\n\t\tint m = Integer.parseInt(first_str[1]);\n\t\tint l = Integer.parseInt(first_str[2]);\n\n\t\tString[] m_count = new String[m];\n\t\tString[] l_count = new String[l];\n\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t// ループカウンタ\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint k = 0;\n\n\t\t// 行列 A の読み込み\n\t\tfor(i=0; i<n; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}\n\n\t\t// 行列 B の読み込み\n\t\tfor(i=0; i<m; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}\n\t\t// 行列 C の算出\n\t\tfor(i=0; i<n; i++){\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// n, m, lの読み込み\n\t\tString scan_str = scan.nextLine();\n\t\tString[] first_str = scan_str.split(\" \");\n\t\tint n = Integer.parseInt(first_str[0]);\n\t\tint m = Integer.parseInt(first_str[1]);\n\t\tint l = Integer.parseInt(first_str[2]);\n\n\t\tString[] m_count = new String[m];\n\t\tString[] l_count = new String[l];\n\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t// ループカウンタ\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint k = 0;\n\n\t\t// 行列 A の読み込み\n\t\tfor(i=0; i<n; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}\n\n\t\t// 行列 B の読み込み\n\t\tfor(i=0; i<m; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}\n\t\t// 行列 C の算出\n\t\tfor(i=0; i<n; i++){\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t// n, m, lの読み込み\n\t\tString scan_str = scan.nextLine();\n\t\tString[] first_str = scan_str.split(\" \");\n\t\tint n = Integer.parseInt(first_str[0]);\n\t\tint m = Integer.parseInt(first_str[1]);\n\t\tint l = Integer.parseInt(first_str[2]);\n\n\t\tString[] m_count = new String[m];\n\t\tString[] l_count = new String[l];\n\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t// ループカウンタ\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tint k = 0;\n\n\t\t// 行列 A の読み込み\n\t\tfor(i=0; i<n; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}\n\n\t\t// 行列 B の読み込み\n\t\tfor(i=0; i<m; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}\n\t\t// 行列 C の算出\n\t\tfor(i=0; i<n; i++){\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String scan_str = scan.nextLine();", "scan_str", "scan.nextLine()", "scan.nextLine", "scan", "String[] first_str = scan_str.split(\" \");", "first_str", "scan_str.split(\" \")", "scan_str.split", "scan_str", "\" \"", "int n = Integer.parseInt(first_str[0]);", "n", "Integer.parseInt(first_str[0])", "Integer.parseInt", "Integer", "first_str[0]", "first_str", "0", "int m = Integer.parseInt(first_str[1]);", "m", "Integer.parseInt(first_str[1])", "Integer.parseInt", "Integer", "first_str[1]", "first_str", "1", "int l = Integer.parseInt(first_str[2]);", "l", "Integer.parseInt(first_str[2])", "Integer.parseInt", "Integer", "first_str[2]", "first_str", "2", "String[] m_count = new String[m];", "m_count", "new String[m]", "m", "String[] l_count = new String[l];", "l_count", "new String[l]", "l", "long[][] A = new long[n][m];", "A", "new long[n][m]", "n", "m", "long[][] B = new long[m][l];", "B", "new long[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "int i = 0;", "i", "0", "int j = 0;", "j", "0", "int k = 0;", "k", "0", "for(i=0; i<n; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tscan_str = scan.nextLine();\n\t\t\tm_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}\n\t\t}", "scan_str = scan.nextLine()", "scan_str", "scan.nextLine()", "scan.nextLine", "scan", "m_count = scan_str.split(\" \")", "m_count", "scan_str.split(\" \")", "scan_str.split", "scan_str", "\" \"", "for(j=0; j<m; j++){\n\t\t\t\tA[i][j] = Long.parseLong(m_count[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] = Long.parseLong(m_count[j]);\n\t\t\t}", "{\n\t\t\t\tA[i][j] = Long.parseLong(m_count[j]);\n\t\t\t}", "A[i][j] = Long.parseLong(m_count[j])", "A[i][j]", "A[i]", "A", "i", "j", "Long.parseLong(m_count[j])", "Long.parseLong", "Long", "m_count[j]", "m_count", "j", "for(i=0; i<m; i++){\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tscan_str = scan.nextLine();\n\t\t\tl_count = scan_str.split(\" \");\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}\n\t\t}", "scan_str = scan.nextLine()", "scan_str", "scan.nextLine()", "scan.nextLine", "scan", "l_count = scan_str.split(\" \")", "l_count", "scan_str.split(\" \")", "scan_str.split", "scan_str", "\" \"", "for(j=0; j<l; j++){\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}", "{\n\t\t\t\tB[i][j] = Long.parseLong(l_count[j]);\n\t\t\t}", "B[i][j] = Long.parseLong(l_count[j])", "B[i][j]", "B[i]", "B", "i", "j", "Long.parseLong(l_count[j])", "Long.parseLong", "Long", "l_count[j]", "l_count", "j", "for(i=0; i<n; i++){\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\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<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(j=0; j<l; j++){\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}\n\t\t\t}", "for(k=0; k<m; k++){\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}", "k=0;", "k=0", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}", "{\n\t\t\t\t\tC[i][j] = C[i][j] + (A[i][k] * B[k][j]);\n\t\t\t\t}", "C[i][j] = C[i][j] + (A[i][k] * B[k][j])", "C[i][j]", "C[i]", "C", "i", "j", "C[i][j] + (A[i][k] * B[k][j])", "C[i][j]", "C[i]", "C", "i", "j", "(A[i][k] * B[k][j])", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "if(j == (l-1)){\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}", "j == (l-1)", "j", "(l-1)", "l", "1", "{\n\t\t\t\t\tSystem.out.println(C[i][j]);\n\t\t\t\t}", "System.out.println(C[i][j])", "System.out.println", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "{\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}", "System.out.print(C[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "String[] args", "args" ]
// n×mの行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。 import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); // n, m, lの読み込み String scan_str = scan.nextLine(); String[] first_str = scan_str.split(" "); int n = Integer.parseInt(first_str[0]); int m = Integer.parseInt(first_str[1]); int l = Integer.parseInt(first_str[2]); String[] m_count = new String[m]; String[] l_count = new String[l]; long[][] A = new long[n][m]; long[][] B = new long[m][l]; long[][] C = new long[n][l]; // ループカウンタ int i = 0; int j = 0; int k = 0; // 行列 A の読み込み for(i=0; i<n; i++){ scan_str = scan.nextLine(); m_count = scan_str.split(" "); for(j=0; j<m; j++){ A[i][j] = Long.parseLong(m_count[j]); } } // 行列 B の読み込み for(i=0; i<m; i++){ scan_str = scan.nextLine(); l_count = scan_str.split(" "); for(j=0; j<l; j++){ B[i][j] = Long.parseLong(l_count[j]); } } // 行列 C の算出 for(i=0; i<n; i++){ for(j=0; j<l; j++){ for(k=0; k<m; k++){ C[i][j] = C[i][j] + (A[i][k] * B[k][j]); } if(j == (l-1)){ System.out.println(C[i][j]); }else { System.out.print(C[i][j] + " "); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 8, 2, 13, 2, 13, 17, 17, 17, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 201, 5 ], [ 201, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 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 ], [ 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 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 111, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 144, 146 ], [ 143, 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 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 143, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 173, 179 ], [ 143, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 185, 191 ], [ 185, 192 ], [ 180, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 6, 198 ], [ 198, 199 ], [ 0, 200 ], [ 200, 201 ], [ 200, 202 ] ]
[ "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 l = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[][] vectorB = new int[m][l];\n\t\tlong[][] vectorC = new long[n][l];\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}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\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 l = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[][] vectorB = new int[m][l];\n\t\tlong[][] vectorC = new long[n][l];\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}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\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 l = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[][] vectorB = new int[m][l];\n\t\tlong[][] vectorC = new long[n][l];\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}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\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 l = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[][] vectorB = new int[m][l];\n\t\tlong[][] vectorC = new long[n][l];\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}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\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 l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] vectorA = new int[n][m];", "vectorA", "new int[n][m]", "n", "m", "int[][] vectorB = new int[m][l];", "vectorB", "new int[m][l]", "m", "l", "long[][] vectorC = new long[n][l];", "vectorC", "new long[n][l]", "n", "l", "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}\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}\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}\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}", "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}", "{\n\t\t\t\tint elm =scan.nextInt();\n\t\t\t\tvectorA[i][j] = elm;\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\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\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 < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}", "{\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}", "int elm = scan.nextInt();", "elm", "scan.nextInt()", "scan.nextInt", "scan", "vectorB[i][j] = elm", "vectorB[i][j]", "vectorB[i]", "vectorB", "i", "j", "elm", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][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 < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}", "{\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}", "long ans = 0;", "ans", "0", "for(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "{\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "ans += (long) vectorA[i][k] * (long) vectorB[k][j]", "ans", "(long) vectorA[i][k] * (long) vectorB[k][j]", "(long) vectorA[i][k]", "vectorA[i]", "vectorA", "i", "k", "(long) vectorB[k][j]", "vectorB[k]", "vectorB", "k", "j", "vectorC[i][j] = ans", "vectorC[i][j]", "vectorC[i]", "vectorC", "i", "j", "ans", "System.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j])", "System.out.printf", "System.out", "System", "System.out", "j != l - 1? \"%d \" : \"%d\\n\"", "j != l - 1", "j", "l - 1", "l", "1", "\"%d \"", "\"%d\\n\"", "vectorC[i][j]", "vectorC[i]", "vectorC", "i", "j", "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 l = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[][] vectorB = new int[m][l];\n\t\tlong[][] vectorC = new long[n][l];\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}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\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 l = scan.nextInt();\n\t\tint[][] vectorA = new int[n][m];\n\t\tint[][] vectorB = new int[m][l];\n\t\tlong[][] vectorC = new long[n][l];\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}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tint elm = scan.nextInt();\n\t\t\t\tvectorB[i][j] = elm;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tlong ans = 0;\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tans += (long) vectorA[i][k] * (long) vectorB[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tvectorC[i][j] = ans;\n\t\t\t\tSystem.out.printf(j != l - 1? \"%d \" : \"%d\\n\", vectorC[i][j]);\n\t\t\t}\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 l = scan.nextInt(); int[][] vectorA = new int[n][m]; int[][] vectorB = new int[m][l]; long[][] vectorC = new long[n][l]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ int elm =scan.nextInt(); vectorA[i][j] = elm; } } for(int i = 0; i < m; i++){ for(int j = 0; j < l; j++){ int elm = scan.nextInt(); vectorB[i][j] = elm; } } for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ long ans = 0; for(int k = 0; k < m; k++){ ans += (long) vectorA[i][k] * (long) vectorB[k][j]; } vectorC[i][j] = ans; System.out.printf(j != l - 1? "%d " : "%d\n", vectorC[i][j]); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 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, 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, 18, 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, 14, 2, 2, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 22, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 39, 41 ], [ 22, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 22, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 55, 57 ], [ 22, 58 ], [ 58, 59 ], [ 58, 60 ], [ 22, 63 ], [ 63, 64 ], [ 63, 65 ], [ 22, 68 ], [ 68, 69 ], [ 68, 70 ], [ 22, 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 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 85, 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 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 22, 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 ], [ 134, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 134, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 146, 154 ], [ 154, 155 ], [ 155, 156 ], [ 146, 157 ], [ 158, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 168, 170 ], [ 22, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 171, 179 ], [ 179, 180 ], [ 180, 181 ], [ 171, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 184, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 197, 203 ], [ 22, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 209, 210 ], [ 209, 211 ], [ 204, 212 ], [ 212, 213 ], [ 213, 214 ], [ 204, 215 ], [ 216, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 222, 223 ], [ 222, 224 ], [ 217, 225 ], [ 225, 226 ], [ 226, 227 ], [ 217, 228 ], [ 229, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 230, 235 ], [ 235, 236 ], [ 235, 237 ], [ 230, 238 ], [ 238, 239 ], [ 239, 240 ], [ 230, 241 ], [ 242, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 243, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 249, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 255, 259 ], [ 22, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 260, 265 ], [ 265, 266 ], [ 265, 267 ], [ 260, 268 ], [ 268, 269 ], [ 269, 270 ], [ 260, 271 ], [ 272, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 273, 278 ], [ 278, 279 ], [ 278, 280 ], [ 273, 281 ], [ 281, 282 ], [ 282, 283 ], [ 273, 284 ], [ 285, 285 ], [ 285, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 286, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 295, 296 ], [ 295, 297 ], [ 293, 298 ], [ 293, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 299, 303 ], [ 286, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 305, 310 ], [ 305, 311 ], [ 311, 312 ], [ 312, 313 ], [ 312, 314 ], [ 311, 315 ], [ 6, 316 ], [ 316, 317 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) {\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n\t\ttry {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}\n\t}", "BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );", "kb", "new BufferedReader( new InputStreamReader( System.in ) )", "try {\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t} catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}", "catch( IOException e ) {\n\t\t\tSystem.err.println( e );\n\t\t}", "IOException e", "{\n\t\t\tSystem.err.println( e );\n\t\t}", "System.err.println( e )", "System.err.println", "System.err", "System", "System.err", "e", "{\n\n\t\t\tString str = kb.readLine();\n\t\t\tString[] tmpArray = str.split( \" \" );\n\t\t\tint n=Integer.parseInt( tmpArray[0] );\n\t\t\tint m=Integer.parseInt( tmpArray[1] );\n\t\t\tint l=Integer.parseInt( tmpArray[2] );\n\t\t\t\t\t\t\n\t\t\tint[][] matrixA = new int[n][m];\n\t\t\tint[][] matrixB = new int[m][l];\n\t\t\tdouble[][] matrixC = new double[n][l];\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}\n\t\t\tfor( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\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<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t}", "String str = kb.readLine();", "str", "kb.readLine()", "kb.readLine", "kb", "String[] tmpArray = str.split( \" \" );", "tmpArray", "str.split( \" \" )", "str.split", "str", "\" \"", "int n=Integer.parseInt( tmpArray[0] );", "n", "Integer.parseInt( tmpArray[0] )", "Integer.parseInt", "Integer", "tmpArray[0]", "tmpArray", "0", "int m=Integer.parseInt( tmpArray[1] );", "m", "Integer.parseInt( tmpArray[1] )", "Integer.parseInt", "Integer", "tmpArray[1]", "tmpArray", "1", "int l=Integer.parseInt( tmpArray[2] );", "l", "Integer.parseInt( tmpArray[2] )", "Integer.parseInt", "Integer", "tmpArray[2]", "tmpArray", "2", "int[][] matrixA = new int[n][m];", "matrixA", "new int[n][m]", "n", "m", "int[][] matrixB = new int[m][l];", "matrixB", "new int[m][l]", "m", "l", "double[][] matrixC = new double[n][l];", "matrixC", "new double[n][l]", "n", "l", "for( int i=0; i<n; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[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\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "str = kb.readLine()", "str", "kb.readLine()", "kb.readLine", "kb", "tmpArray = str.split( \" \" )", "tmpArray", "str.split( \" \" )", "str.split", "str", "\" \"", "for( int j=0; j<m; j++ ) {\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[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\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "{\n\t\t\t\t\tmatrixA[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "matrixA[i][j]=Integer.parseInt( tmpArray[j] )", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Integer.parseInt( tmpArray[j] )", "Integer.parseInt", "Integer", "tmpArray[j]", "tmpArray", "j", "for( int i=0; i<m; i++ ) {\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstr = kb.readLine();\n\t\t\t\ttmpArray = str.split( \" \" );\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}\n\t\t\t}", "str = kb.readLine()", "str", "kb.readLine()", "kb.readLine", "kb", "tmpArray = str.split( \" \" )", "tmpArray", "str.split( \" \" )", "str.split", "str", "\" \"", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "{\n\t\t\t\t\tmatrixB[i][j]=Integer.parseInt( tmpArray[j] );\n\t\t\t\t}", "matrixB[i][j]=Integer.parseInt( tmpArray[j] )", "matrixB[i][j]", "matrixB[i]", "matrixB", "i", "j", "Integer.parseInt( tmpArray[j] )", "Integer.parseInt", "Integer", "tmpArray[j]", "tmpArray", "j", "for( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\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<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}\n\t\t\t}", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}", "{\n\t\t\t\t\tmatrixC[i][j]=0;\n\t\t\t\t}", "matrixC[i][j]=0", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "0", "for( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for( int k=0; k<m; k++ ) {\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tmatrixC[i][j]+=matrixA[i][k]*matrixB[k][j];\n\t\t\t\t\t}", "matrixC[i][j]+=matrixA[i][k]*matrixB[k][j]", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "matrixA[i][k]*matrixB[k][j]", "matrixA[i][k]", "matrixA[i]", "matrixA", "i", "k", "matrixB[k][j]", "matrixB[k]", "matrixB", "k", "j", "for( int i=0; i<n; i++ ) {\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for( int j=0; j<l; j++ ) {\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}\n\t\t\t\t}", "if( l-1 != j ) {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}", "l-1 != j", "l-1", "l", "1", "j", "{\n\t\t\t\t\t\tSystem.out.printf( \"%.0f \", matrixC[i][j] );\n\t\t\t\t\t}", "System.out.printf( \"%.0f \", matrixC[i][j] )", "System.out.printf", "System.out", "System", "System.out", "\"%.0f \"", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "{\n\t\t\t\t\t\tSystem.out.printf( \"%.0f\\n\", matrixC[i][j] );\n\t\t\t\t\t}", "System.out.printf( \"%.0f\\n\", matrixC[i][j] )", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\\n\"", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) { BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) ); try { String str = kb.readLine(); String[] tmpArray = str.split( " " ); int n=Integer.parseInt( tmpArray[0] ); int m=Integer.parseInt( tmpArray[1] ); int l=Integer.parseInt( tmpArray[2] ); int[][] matrixA = new int[n][m]; int[][] matrixB = new int[m][l]; double[][] matrixC = new double[n][l]; for( int i=0; i<n; i++ ) { str = kb.readLine(); tmpArray = str.split( " " ); for( int j=0; j<m; j++ ) { matrixA[i][j]=Integer.parseInt( tmpArray[j] ); } } for( int i=0; i<m; i++ ) { str = kb.readLine(); tmpArray = str.split( " " ); for( int j=0; j<l; j++ ) { matrixB[i][j]=Integer.parseInt( tmpArray[j] ); } } for( int i=0; i<n; i++ ) { for( int j=0; j<l; j++ ) { matrixC[i][j]=0; } } for( int i=0; i<n; i++ ) { for( int k=0; k<m; k++ ) { for( int j=0; j<l; j++ ) { matrixC[i][j]+=matrixA[i][k]*matrixB[k][j]; } } } for( int i=0; i<n; i++ ) { for( int j=0; j<l; j++ ) { if( l-1 != j ) { System.out.printf( "%.0f ", matrixC[i][j] ); } else { System.out.printf( "%.0f\n", matrixC[i][j] ); } } } } catch( IOException e ) { System.err.println( e ); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 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, 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, 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, 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, 18, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 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 ], [ 308, 11 ], [ 308, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 18, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 18, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 43, 44 ], [ 43, 45 ], [ 31, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 46, 56 ], [ 56, 57 ], [ 57, 58 ], [ 46, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 31, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 31, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 31, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 31, 86 ], [ 86, 87 ], [ 86, 88 ], [ 31, 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 ], [ 108, 109 ], [ 109, 110 ], [ 106, 111 ], [ 103, 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 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 134, 136 ], [ 31, 137 ], [ 137, 138 ], [ 137, 139 ], [ 31, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 142, 150 ], [ 150, 151 ], [ 151, 152 ], [ 142, 153 ], [ 154, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 157, 162 ], [ 154, 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 ], [ 177, 181 ], [ 176, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 185, 186 ], [ 185, 187 ], [ 31, 188 ], [ 188, 189 ], [ 188, 190 ], [ 31, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 198, 199 ], [ 198, 200 ], [ 193, 201 ], [ 201, 202 ], [ 202, 203 ], [ 193, 204 ], [ 205, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 206, 211 ], [ 211, 212 ], [ 211, 213 ], [ 206, 214 ], [ 214, 215 ], [ 215, 216 ], [ 206, 217 ], [ 218, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 224, 225 ], [ 224, 226 ], [ 219, 227 ], [ 227, 228 ], [ 228, 229 ], [ 219, 230 ], [ 231, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 233, 237 ], [ 232, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 238, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 31, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 249, 254 ], [ 254, 255 ], [ 254, 256 ], [ 249, 257 ], [ 257, 258 ], [ 258, 259 ], [ 249, 260 ], [ 261, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 267, 268 ], [ 267, 269 ], [ 262, 270 ], [ 270, 271 ], [ 271, 272 ], [ 262, 273 ], [ 274, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 278, 279 ], [ 278, 280 ], [ 275, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 282, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 288, 292 ], [ 287, 293 ], [ 275, 294 ], [ 294, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 295, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 300, 304 ], [ 12, 305 ], [ 305, 306 ], [ 0, 307 ], [ 307, 308 ], [ 307, 309 ] ]
[ "\nimport 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 insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}\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\tpublic static void main(String[] args){\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}", "BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));", "insBR", "new BufferedReader(new InputStreamReader(System.in))", "try{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException 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", "catch(NumberFormatException e){\n\t\t\te.printStackTrace();\n\t\t}", "NumberFormatException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}", "String[] strLine = insBR.readLine().split(\" \");", "strLine", "insBR.readLine().split(\" \")", "insBR.readLine().split", "insBR.readLine()", "insBR.readLine", "insBR", "\" \"", "int[] intLine = new int[strLine.length];", "intLine", "new int[strLine.length]", "strLine.length", "strLine", "strLine.length", "for(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < strLine.length", "i", "strLine.length", "strLine", "strLine.length", "i++", "i++", "i", "{\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}", "{\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}", "intLine[i] = Integer.parseInt(strLine[i])", "intLine[i]", "intLine", "i", "Integer.parseInt(strLine[i])", "Integer.parseInt", "Integer", "strLine[i]", "strLine", "i", "int intN = intLine[0];", "intN", "intLine[0]", "intLine", "0", "int intM = intLine[1];", "intM", "intLine[1]", "intLine", "1", "int intL = intLine[2];", "intL", "intLine[2]", "intLine", "2", "int[][] intA = new int[intN][intM];", "intA", "new int[intN][intM]", "intN", "intM", "for(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intN", "i", "intN", "i++", "i++", "i", "{\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}", "strLine = insBR.readLine().split(\" \")", "strLine", "insBR.readLine().split(\" \")", "insBR.readLine().split", "insBR.readLine()", "insBR.readLine", "insBR", "\" \"", "for(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intM", "j", "intM", "j++", "j++", "j", "{\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}", "{\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}", "intA[i][j] = Integer.parseInt(strLine[j])", "intA[i][j]", "intA[i]", "intA", "i", "j", "Integer.parseInt(strLine[j])", "Integer.parseInt", "Integer", "strLine[j]", "strLine", "j", "int[][] intB = new int[intM][intL];", "intB", "new int[intM][intL]", "intM", "intL", "for(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intM", "i", "intM", "i++", "i++", "i", "{\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}", "strLine = insBR.readLine().split(\" \")", "strLine", "insBR.readLine().split(\" \")", "insBR.readLine().split", "insBR.readLine()", "insBR.readLine", "insBR", "\" \"", "for(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intL", "j", "intL", "j++", "j++", "j", "{\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}", "{\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}", "intB[i][j] = Integer.parseInt(strLine[j])", "intB[i][j]", "intB[i]", "intB", "i", "j", "Integer.parseInt(strLine[j])", "Integer.parseInt", "Integer", "strLine[j]", "strLine", "j", "long[][] longC = new long[intN][intL];", "longC", "new long[intN][intL]", "intN", "intL", "for(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intN", "i", "intN", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intL", "j", "intL", "j++", "j++", "j", "{\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "for(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < intM", "k", "intM", "k++", "k++", "k", "{\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}", "longC[i][j] += intA[i][k] * intB[k][j]", "longC[i][j]", "longC[i]", "longC", "i", "j", "intA[i][k] * intB[k][j]", "intA[i][k]", "intA[i]", "intA", "i", "k", "intB[k][j]", "intB[k]", "intB", "k", "j", "for(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intN", "i", "intN", "i++", "i++", "i", "{\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < intL", "j", "intL", "j++", "j++", "j", "{\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}", "if(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}", "j != intL - 1", "j", "intL - 1", "intL", "1", "{\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}", "System.out.print(longC[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "longC[i][j] + \" \"", "longC[i][j]", "longC[i]", "longC", "i", "j", "\" \"", "{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}", "System.out.println(longC[i][j])", "System.out.println", "System.out", "System", "System.out", "longC[i][j]", "longC[i]", "longC", "i", "j", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException e){\n\t\t\te.printStackTrace();\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(System.in));\n\t\ttry{\n\n\t\t\t//最初の行の数値を読み取る。\n\t\t\tString[] strLine = insBR.readLine().split(\" \");\n\t\t\tint[] intLine = new int[strLine.length];\n\t\t\tfor(int i = 0; i < strLine.length; i++){\n\t\t\t\tintLine[i] = Integer.parseInt(strLine[i]);\n\t\t\t}\n\t\t\tint intN = intLine[0];\n\t\t\tint intM = intLine[1];\n\t\t\tint intL = intLine[2];\n\n\t\t\t//n×m の行列 A\n\t\t\tint[][] intA = new int[intN][intM];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intM; j++){\n\t\t\t\t\tintA[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//m×l の行列 B\n\t\t\tint[][] intB = new int[intM][intL];\n\t\t\tfor(int i = 0; i < intM; i++){\n\t\t\t\tstrLine = insBR.readLine().split(\" \");\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tintB[i][j] = Integer.parseInt(strLine[j]);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\t//n×l の行列 C\n\t\t\tlong[][] longC = new long[intN][intL];\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tfor(int k = 0; k < intM; k++){\n\t\t\t\t\t\tlongC[i][j] += intA[i][k] * intB[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 0; i < intN; i++){\n\t\t\t\tfor(int j = 0; j < intL; j++){\n\t\t\t\t\tif(j != intL - 1){\n\t\t\t\t\t\tSystem.out.print(longC[i][j] + \" \");\n\t\t\t\t\t}else{\n\t\t\t\t\t\tSystem.out.println(longC[i][j]);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\n\n\n\t\t}catch(IOException e){\n\t\t\te.printStackTrace();\n\t\t}catch(NumberFormatException 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){ BufferedReader insBR = new BufferedReader(new InputStreamReader(System.in)); try{ //最初の行の数値を読み取る。 String[] strLine = insBR.readLine().split(" "); int[] intLine = new int[strLine.length]; for(int i = 0; i < strLine.length; i++){ intLine[i] = Integer.parseInt(strLine[i]); } int intN = intLine[0]; int intM = intLine[1]; int intL = intLine[2]; //n×m の行列 A int[][] intA = new int[intN][intM]; for(int i = 0; i < intN; i++){ strLine = insBR.readLine().split(" "); for(int j = 0; j < intM; j++){ intA[i][j] = Integer.parseInt(strLine[j]); } } //m×l の行列 B int[][] intB = new int[intM][intL]; for(int i = 0; i < intM; i++){ strLine = insBR.readLine().split(" "); for(int j = 0; j < intL; j++){ intB[i][j] = Integer.parseInt(strLine[j]); } } //n×l の行列 C long[][] longC = new long[intN][intL]; for(int i = 0; i < intN; i++){ for(int j = 0; j < intL; j++){ for(int k = 0; k < intM; k++){ longC[i][j] += intA[i][k] * intB[k][j]; } } } for(int i = 0; i < intN; i++){ for(int j = 0; j < intL; j++){ if(j != intL - 1){ System.out.print(longC[i][j] + " "); }else{ System.out.println(longC[i][j]); } } } }catch(IOException e){ e.printStackTrace(); }catch(NumberFormatException e){ e.printStackTrace(); } } }
[ 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, 41, 13, 4, 18, 13, 20, 2, 13, 13, 41, 13, 4, 18, 13, 20, 2, 13, 13, 41, 13, 20, 2, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 2, 2, 13, 13, 13, 2, 18, 13, 2, 2, 13, 13, 13, 18, 13, 2, 2, 13, 13, 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, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 18, 13, 2, 2, 13, 13, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 41, 13, 17, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 40, 17, 41, 13, 17, 12, 13, 30, 4, 13, 18, 13, 13, 13, 12, 13, 30, 4, 13, 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 ], [ 433, 17 ], [ 433, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 433, 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 ], [ 26, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 54, 55 ], [ 54, 56 ], [ 26, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 63, 64 ], [ 63, 65 ], [ 26, 66 ], [ 66, 67 ], [ 66, 68 ], [ 69, 70 ], [ 69, 71 ], [ 26, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 85, 96 ], [ 97, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 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 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 111, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 119, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 26, 134 ], [ 134, 135 ], [ 134, 136 ], [ 26, 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 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 159, 160 ], [ 150, 161 ], [ 162, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 162, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 149, 181 ], [ 181, 182 ], [ 182, 183 ], [ 181, 184 ], [ 26, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 188, 189 ], [ 189, 190 ], [ 26, 191 ], [ 191, 192 ], [ 192, 193 ], [ 433, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 194, 200 ], [ 200, 201 ], [ 0, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 207, 208 ], [ 202, 209 ], [ 209, 210 ], [ 209, 211 ], [ 202, 212 ], [ 212, 213 ], [ 212, 214 ], [ 202, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 202, 219 ], [ 219, 220 ], [ 219, 221 ], [ 202, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 202, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 233, 237 ], [ 237, 238 ], [ 237, 239 ], [ 231, 240 ], [ 240, 241 ], [ 231, 242 ], [ 242, 243 ], [ 202, 244 ], [ 244, 245 ], [ 244, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 244, 250 ], [ 250, 251 ], [ 202, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 252, 259 ], [ 259, 260 ], [ 202, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 264, 265 ], [ 263, 266 ], [ 266, 267 ], [ 202, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 272, 276 ], [ 276, 277 ], [ 277, 278 ], [ 271, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 283, 284 ], [ 282, 285 ], [ 279, 286 ], [ 286, 287 ], [ 286, 288 ], [ 202, 289 ], [ 289, 290 ], [ 289, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 293, 297 ], [ 297, 298 ], [ 297, 299 ], [ 289, 300 ], [ 300, 301 ], [ 202, 302 ], [ 302, 303 ], [ 302, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 302, 309 ], [ 309, 310 ], [ 202, 311 ], [ 311, 312 ], [ 311, 313 ], [ 313, 314 ], [ 314, 315 ], [ 314, 316 ], [ 313, 317 ], [ 317, 318 ], [ 317, 319 ], [ 313, 320 ], [ 320, 321 ], [ 313, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 325, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 329, 331 ], [ 323, 332 ], [ 332, 333 ], [ 333, 334 ], [ 333, 335 ], [ 322, 336 ], [ 336, 337 ], [ 313, 338 ], [ 338, 339 ], [ 339, 340 ], [ 339, 341 ], [ 341, 342 ], [ 341, 343 ], [ 338, 344 ], [ 344, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 344, 349 ], [ 349, 350 ], [ 313, 351 ], [ 351, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 354, 356 ], [ 356, 357 ], [ 356, 358 ], [ 351, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 359, 363 ], [ 363, 364 ], [ 363, 365 ], [ 365, 366 ], [ 365, 367 ], [ 359, 368 ], [ 368, 369 ], [ 313, 370 ], [ 370, 371 ], [ 313, 372 ], [ 372, 373 ], [ 373, 374 ], [ 373, 375 ], [ 202, 376 ], [ 376, 377 ], [ 376, 378 ], [ 378, 379 ], [ 379, 380 ], [ 378, 381 ], [ 381, 382 ], [ 382, 383 ], [ 202, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 387, 388 ], [ 386, 389 ], [ 389, 390 ], [ 390, 391 ], [ 391, 392 ], [ 391, 393 ], [ 389, 394 ], [ 394, 395 ], [ 394, 396 ], [ 396, 397 ], [ 396, 398 ], [ 389, 399 ], [ 399, 400 ], [ 400, 401 ], [ 389, 402 ], [ 403, 403 ], [ 403, 404 ], [ 404, 405 ], [ 405, 406 ], [ 405, 407 ], [ 404, 408 ], [ 408, 409 ], [ 386, 410 ], [ 410, 411 ], [ 384, 412 ], [ 412, 413 ], [ 202, 414 ], [ 414, 415 ], [ 414, 416 ], [ 416, 417 ], [ 417, 418 ], [ 418, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 421, 423 ], [ 419, 424 ], [ 424, 425 ], [ 424, 426 ], [ 417, 427 ], [ 427, 428 ], [ 428, 429 ], [ 429, 430 ], [ 429, 431 ], [ 0, 432 ], [ 432, 433 ], [ 432, 434 ] ]
[ "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 \tint n = in.nextInt();\n \tint m = in.nextInt();\n \tint l = in.nextInt();\n \tint[] A = in.nextInt(new int[n*m]);\n \tint[] B = in.nextInt(new int[m*l]);\n \tlong[] C = new long[n*l];\n\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}\n \t\n \tStringBuilder sb = new StringBuilder();\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}\n \n \tout.print(sb.toString());\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\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\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 \tint n = in.nextInt();\n \tint m = in.nextInt();\n \tint l = in.nextInt();\n \tint[] A = in.nextInt(new int[n*m]);\n \tint[] B = in.nextInt(new int[m*l]);\n \tlong[] C = new long[n*l];\n\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}\n \t\n \tStringBuilder sb = new StringBuilder();\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}\n \n \tout.print(sb.toString());\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 \tint n = in.nextInt();\n \tint m = in.nextInt();\n \tint l = in.nextInt();\n \tint[] A = in.nextInt(new int[n*m]);\n \tint[] B = in.nextInt(new int[m*l]);\n \tlong[] C = new long[n*l];\n\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}\n \t\n \tStringBuilder sb = new StringBuilder();\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}\n \n \tout.print(sb.toString());\n out.flush();\n }", "exec", "{\n \tInputUtil in = new InputUtil();\n \tPrintWriter out = new PrintWriter(System.out);\n \tint n = in.nextInt();\n \tint m = in.nextInt();\n \tint l = in.nextInt();\n \tint[] A = in.nextInt(new int[n*m]);\n \tint[] B = in.nextInt(new int[m*l]);\n \tlong[] C = new long[n*l];\n\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}\n \t\n \tStringBuilder sb = new StringBuilder();\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}\n \n \tout.print(sb.toString());\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 l = in.nextInt();", "l", "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*l]);", "B", "in.nextInt(new int[m*l])", "in.nextInt", "in", "new int[m*l]", "m*l", "m", "l", "long[] C = new long[n*l];", "C", "new long[n*l]", "n*l", "n", "l", "for(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}", "{\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}", "for(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}", "{\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}", "for( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}", "{\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}", "C[i*l+j] += A[i*m+k] * B[k*l+j]", "C[i*l+j]", "C", "i*l+j", "i*l", "i", "l", "j", "A[i*m+k] * B[k*l+j]", "A[i*m+k]", "A", "i*m+k", "i*m", "i", "m", "k", "B[k*l+j]", "B", "k*l+j", "k*l", "k", "l", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}", "{\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}", "for(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}", "{\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}", "if(j > 0)\n \t\t\tsb.append(\" \");", "j > 0", "j", "0", "sb.append(\" \")", "sb.append", "sb", "\" \"", "sb.append(C[i*l+j])", "sb.append", "sb", "C[i*l+j]", "C", "i*l+j", "i*l", "i", "l", "j", "sb.append(EOL)", "sb.append", "sb", "EOL", "out.print(sb.toString())", "out.print", "out", "sb.toString()", "sb.toString", "sb", "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\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\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 \tint n = in.nextInt();\n \tint m = in.nextInt();\n \tint l = in.nextInt();\n \tint[] A = in.nextInt(new int[n*m]);\n \tint[] B = in.nextInt(new int[m*l]);\n \tlong[] C = new long[n*l];\n\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}\n \t\n \tStringBuilder sb = new StringBuilder();\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}\n \n \tout.print(sb.toString());\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 \tint n = in.nextInt();\n \tint m = in.nextInt();\n \tint l = in.nextInt();\n \tint[] A = in.nextInt(new int[n*m]);\n \tint[] B = in.nextInt(new int[m*l]);\n \tlong[] C = new long[n*l];\n\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tfor( int k=0; k<m; k++) {\n \t\t\tC[i*l+j] += A[i*m+k] * B[k*l+j];\n \t\t}\n \t}\n \t}\n \t\n \tStringBuilder sb = new StringBuilder();\n \tfor(int i=0; i<n; i++) {\n \tfor(int j=0; j<l; j++) {\n \t\tif(j > 0)\n \t\t\tsb.append(\" \");\n \t\tsb.append(C[i*l+j]);\n \t}\n \tsb.append(EOL);\n \t}\n \n \tout.print(sb.toString());\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 l = in.nextInt(); int[] A = in.nextInt(new int[n*m]); int[] B = in.nextInt(new int[m*l]); long[] C = new long[n*l]; for(int i=0; i<n; i++) { for(int j=0; j<l; j++) { for( int k=0; k<m; k++) { C[i*l+j] += A[i*m+k] * B[k*l+j]; } } } StringBuilder sb = new StringBuilder(); for(int i=0; i<n; i++) { for(int j=0; j<l; j++) { if(j > 0) sb.append(" "); sb.append(C[i*l+j]); } sb.append(EOL); } out.print(sb.toString()); 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 193, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 207, 209 ], [ 204, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 180, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 6, 222 ], [ 222, 223 ] ]
[ "import java.util.Scanner;\n \nclass Main{\n \tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t int y = sc.nextInt();\n\t int z = sc.nextInt();\n\t long[][] a = new long[x][y];\n\t long[][] b = new long[y][z];\n\t long[][] c = new long[x][z];\n \n\t 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}\n \tfor(int i=0; i<y; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}\n \t}\n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\n \t}\n \t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n \tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t int y = sc.nextInt();\n\t int z = sc.nextInt();\n\t long[][] a = new long[x][y];\n\t long[][] b = new long[y][z];\n\t long[][] c = new long[x][z];\n \n\t 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}\n \tfor(int i=0; i<y; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}\n \t}\n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\n \t}\n \t}\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t int y = sc.nextInt();\n\t int z = sc.nextInt();\n\t long[][] a = new long[x][y];\n\t long[][] b = new long[y][z];\n\t long[][] c = new long[x][z];\n \n\t 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}\n \tfor(int i=0; i<y; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}\n \t}\n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\n \t}\n \t}", "main", "{\n \tScanner sc = new Scanner(System.in);\n \tint x = sc.nextInt();\n\t int y = sc.nextInt();\n\t int z = sc.nextInt();\n\t long[][] a = new long[x][y];\n\t long[][] b = new long[y][z];\n\t long[][] c = new long[x][z];\n \n\t 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}\n \tfor(int i=0; i<y; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}\n \n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}\n \t}\n \tfor(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\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 z = sc.nextInt();", "z", "sc.nextInt()", "sc.nextInt", "sc", "long[][] a = new long[x][y];", "a", "new long[x][y]", "x", "y", "long[][] b = new long[y][z];", "b", "new long[y][z]", "y", "z", "long[][] c = new long[x][z];", "c", "new long[x][z]", "x", "z", "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\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}", "int i=0;", "int i=0;", "i", "0", "i<y", "i", "y", "i++", "i++", "i", "{\n \t\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}", "{\n \t\tfor(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}\n \t}", "for(int j=0; j<z; j++){\n \t\tb[i][j] = sc.nextInt();\n \t\t}", "int j=0;", "int j=0;", "j", "0", "j<z", "j", "z", "j++", "j++", "j", "{\n \t\tb[i][j] = sc.nextInt();\n \t\t}", "{\n \t\tb[i][j] = sc.nextInt();\n \t\t}", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\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<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}\n \t}", "{\n \t\tfor(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}\n \t}", "for(int j=0; j<z; j++){\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}", "int j=0;", "int j=0;", "j", "0", "j<z", "j", "z", "j++", "j++", "j", "{\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}", "{\n \t\tfor(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}\n \t\t}", "for(int k=0; k<y; k++){\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}", "int k=0;", "int k=0;", "k", "0", "k<y", "k", "y", "k++", "k++", "k", "{\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}", "{\n \t\t\tc[i][j] += a[i][k] * b[k][j];\n \t\t}", "c[i][j] += a[i][k] * b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for(int i=0; i<x; i++){\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\n \t}", "int i=0;", "int i=0;", "i", "0", "i<x", "i", "x", "i++", "i++", "i", "{\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\n \t}", "{\n \t\tfor(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}\n \t\tSystem.out.println();\n \t}", "for(int j=0; j<z; j++){\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}", "int j=0;", "int j=0;", "j", "0", "j<z", "j", "z", "j++", "j++", "j", "{\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}", "{\n \t\tSystem.out.print(c[i][j]);\n \t\tif(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}\n \t\t}", "System.out.print(c[i][j])", "System.out.print", "System.out", "System", "System.out", "c[i][j]", "c[i]", "c", "i", "j", "if(j != z-1){\n \t\t\tSystem.out.print(\" \");\n \t\t}", "j != z-1", "j", "z-1", "z", "1", "{\n \t\t\tSystem.out.print(\" \");\n \t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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 z = sc.nextInt(); long[][] a = new long[x][y]; long[][] b = new long[y][z]; long[][] c = new long[x][z]; 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++){ for(int j=0; j<z; j++){ b[i][j] = sc.nextInt(); } } for(int i=0; i<x; i++){ for(int j=0; j<z; j++){ for(int k=0; k<y; k++){ c[i][j] += a[i][k] * b[k][j]; } } } for(int i=0; i<x; i++){ for(int j=0; j<z; j++){ System.out.print(c[i][j]); if(j != z-1){ System.out.print(" "); } } 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 8, 2, 13, 17, 17, 17, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 183, 5 ], [ 183, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 168, 173 ], [ 167, 174 ], [ 119, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 6, 180 ], [ 180, 181 ], [ 0, 182 ], [ 182, 183 ], [ 182, 184 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n int[][] a = new int[n][m], b = new int[m][l];\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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n int[][] a = new int[n][m], b = new int[m][l];\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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n int[][] a = new int[n][m], b = new int[m][l];\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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }\n }", "main", "{\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n int[][] a = new int[n][m], b = new int[m][l];\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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }\n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "int m = scn.nextInt();", "m", "scn.nextInt()", "scn.nextInt", "scn", "int l = scn.nextInt();", "l", "scn.nextInt()", "scn.nextInt", "scn", "int[][] a = new int[n][m]", "a", "new int[n][m]", "n", "m", "b = new int[m][l];", "b", "new int[m][l]", "m", "l", "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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }", "{\n for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }", "for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = scn.nextInt();\n }", "{\n b[i][j] = scn.nextInt();\n }", "b[i][j] = scn.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "scn.nextInt()", "scn.nextInt", "scn", "for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }", "{\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }", "for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }", "{\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }", "long v = 0;", "v", "0", "for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n v += a[i][k] * b[k][j];\n }", "{\n v += a[i][k] * b[k][j];\n }", "v += a[i][k] * b[k][j]", "v", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.print((j > 0 ? \" \" : \"\") + v)", "System.out.print", "System.out", "System", "System.out", "(j > 0 ? \" \" : \"\") + v", "(j > 0 ? \" \" : \"\")", "j > 0", "j", "0", "\" \"", "\"\"", "v", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n int[][] a = new int[n][m], b = new int[m][l];\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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n int[][] a = new int[n][m], b = new int[m][l];\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 for(int j = 0; j < l; j++) {\n b[i][j] = scn.nextInt();\n }\n }\n for(int i = 0; i < n; i++) {\n for(int j = 0; j < l; j++) {\n long v = 0;\n for(int k = 0; k < m; k++) {\n v += a[i][k] * b[k][j];\n }\n System.out.print((j > 0 ? \" \" : \"\") + v);\n }\n System.out.println();\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); int l = scn.nextInt(); int[][] a = new int[n][m], b = new int[m][l]; 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++) { for(int j = 0; j < l; j++) { b[i][j] = scn.nextInt(); } } for(int i = 0; i < n; i++) { for(int j = 0; j < l; j++) { long v = 0; for(int k = 0; k < m; k++) { v += a[i][k] * b[k][j]; } System.out.print((j > 0 ? " " : "") + v); } System.out.println(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 4, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 49 ], [ 49, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 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 ], [ 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 ], [ 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 ], [ 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 ], [ 147, 149 ], [ 146, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 159, 160 ], [ 150, 161 ], [ 162, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 165, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 146, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 146, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 185, 187 ], [ 182, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 182, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 6, 199 ], [ 199, 200 ] ]
[ "import java.util.Scanner;\nclass Main\n{ \n public static void main(String[] args)\n {\n\n \n Scanner sc = new Scanner(System.in);\n int n, m, l,i,j,k;\n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long 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 for(j=0;j<m;j++){\n for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }\n\n for(i=0;i<n;i++){\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\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\n \n Scanner sc = new Scanner(System.in);\n int n, m, l,i,j,k;\n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long 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 for(j=0;j<m;j++){\n for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }\n\n for(i=0;i<n;i++){\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }\n }\n \n}}", "Main", "public static void main(String[] args)\n {\n\n \n Scanner sc = new Scanner(System.in);\n int n, m, l,i,j,k;\n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long 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 for(j=0;j<m;j++){\n for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }\n\n for(i=0;i<n;i++){\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }\n }\n \n}", "main", "{\n\n \n Scanner sc = new Scanner(System.in);\n int n, m, l,i,j,k;\n n = sc.nextInt();\n m = sc.nextInt();\n l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long 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 for(j=0;j<m;j++){\n for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }\n\n for(i=0;i<n;i++){\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }\n }\n \n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n", "n", "m", "m", "l", "l", "i", "i", "j", "j", "k;", "k", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "l = sc.nextInt()", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long 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 for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }", "{\n for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }\n }", "for(k=0;k<l;k++){\n b[j][k]=sc.nextInt();\n }", "k=0;", "k=0", "k", "0", "k<l", "k", "l", "k++", "k++", "k", "{\n b[j][k]=sc.nextInt();\n }", "{\n b[j][k]=sc.nextInt();\n }", "b[j][k]=sc.nextInt()", "b[j][k]", "b[j]", "b", "j", "k", "sc.nextInt()", "sc.nextInt", "sc", "for(i=0;i<n;i++){\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }\n }", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }\n }", "{\n for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }\n }", "for(j=0;j<l;j++){\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }", "{\n c=0;\n for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }\n System.out.print(c);\n if(j==l-1) System.out.println();\n else System.out.print(\" \");\n }", "c=0", "c", "0", "for(k=0;k<m;k++){\n c+=a[i][k]*b[k][j];\n }", "k=0;", "k=0", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n c+=a[i][k]*b[k][j];\n }", "{\n c+=a[i][k]*b[k][j];\n }", "c+=a[i][k]*b[k][j]", "c", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.print(c)", "System.out.print", "System.out", "System", "System.out", "c", "if(j==l-1) System.out.println();\n else System.out.print(\" \");", "j==l-1", "j", "l-1", "l", "1", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n, m, l,i,j,k; n = sc.nextInt(); m = sc.nextInt(); l = sc.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long c ; for(i=0;i<n;i++){ for(j=0;j<m;j++){ a[i][j]=sc.nextInt(); } } for(j=0;j<m;j++){ for(k=0;k<l;k++){ b[j][k]=sc.nextInt(); } } for(i=0;i<n;i++){ for(j=0;j<l;j++){ c=0; for(k=0;k<m;k++){ c+=a[i][k]*b[k][j]; } System.out.print(c); if(j==l-1) System.out.println(); else System.out.print(" "); } } }}
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 225, 5 ], [ 225, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 193, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 207, 209 ], [ 204, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 180, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 6, 222 ], [ 222, 223 ], [ 0, 224 ], [ 224, 225 ], [ 224, 226 ] ]
[ "\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint m = in.nextInt();\n\t\tint l = in.nextInt();\n\t\tlong[][] aryA = new long[n][m];\n\t\tlong[][] aryB = new long[m][l];\n\t\tlong[][] aryC = new long[n][l];\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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????????????????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint m = in.nextInt();\n\t\tint l = in.nextInt();\n\t\tlong[][] aryA = new long[n][m];\n\t\tlong[][] aryB = new long[m][l];\n\t\tlong[][] aryC = new long[n][l];\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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????????????????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint m = in.nextInt();\n\t\tint l = in.nextInt();\n\t\tlong[][] aryA = new long[n][m];\n\t\tlong[][] aryB = new long[m][l];\n\t\tlong[][] aryC = new long[n][l];\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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????????????????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint m = in.nextInt();\n\t\tint l = in.nextInt();\n\t\tlong[][] aryA = new long[n][m];\n\t\tlong[][] aryB = new long[m][l];\n\t\tlong[][] aryC = new long[n][l];\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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????????????????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int m = in.nextInt();", "m", "in.nextInt()", "in.nextInt", "in", "int l = in.nextInt();", "l", "in.nextInt()", "in.nextInt", "in", "long[][] aryA = new long[n][m];", "aryA", "new long[n][m]", "n", "m", "long[][] aryB = new long[m][l];", "aryB", "new long[m][l]", "m", "l", "long[][] aryC = new long[n][l];", "aryC", "new long[n][l]", "n", "l", "for(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\taryA[i][j] = in.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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<m; j++){\n\t\t\t\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0; j<m; j++){\n\t\t\t\taryA[i][j] = in.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\taryA[i][j] = in.nextInt();\n\t\t\t}", "{\n\t\t\t\taryA[i][j] = in.nextInt();\n\t\t\t}", "aryA[i][j] = in.nextInt()", "aryA[i][j]", "aryA[i]", "aryA", "i", "j", "in.nextInt()", "in.nextInt", "in", "for(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.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<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}", "{\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}", "aryB[i][j] = in.nextInt()", "aryB[i][j]", "aryB[i]", "aryB", "i", "j", "in.nextInt()", "in.nextInt", "in", "for(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\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<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}", "for(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}", "aryC[i][j] += aryA[i][k]*aryB[k][j]", "aryC[i][j]", "aryC[i]", "aryC", "i", "j", "aryA[i][k]*aryB[k][j]", "aryA[i][k]", "aryA[i]", "aryA", "i", "k", "aryB[k][j]", "aryB[k]", "aryB", "k", "j", "for(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "System.out.print(aryC[i][j])", "System.out.print", "System.out", "System", "System.out", "aryC[i][j]", "aryC[i]", "aryC", "i", "j", "if(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j != l-1", "j", "l-1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint m = in.nextInt();\n\t\tint l = in.nextInt();\n\t\tlong[][] aryA = new long[n][m];\n\t\tlong[][] aryB = new long[m][l];\n\t\tlong[][] aryC = new long[n][l];\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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????????????????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner in = new Scanner(System.in);\n\t\tint n = in.nextInt();\n\t\tint m = in.nextInt();\n\t\tint l = in.nextInt();\n\t\tlong[][] aryA = new long[n][m];\n\t\tlong[][] aryB = new long[m][l];\n\t\tlong[][] aryC = new long[n][l];\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\taryA[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<m; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\taryB[i][j] = in.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????????????????\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tfor(int k=0; k<m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k]*aryB[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t//??¨???\n\t\tfor(int i=0; i<n; i++){\n\t\t\tfor(int j=0; j<l; j++){\n\t\t\t\tSystem.out.print(aryC[i][j]);\n\t\t\t\tif(j != l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner in = new Scanner(System.in); int n = in.nextInt(); int m = in.nextInt(); int l = in.nextInt(); long[][] aryA = new long[n][m]; long[][] aryB = new long[m][l]; long[][] aryC = new long[n][l]; //????????§?????????????´????????´??????? for(int i=0; i<n; i++){ for(int j=0; j<m; j++){ aryA[i][j] = in.nextInt(); } } for(int i=0; i<m; i++){ for(int j=0; j<l; j++){ aryB[i][j] = in.nextInt(); } } //?????????????????? for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ for(int k=0; k<m; k++){ aryC[i][j] += aryA[i][k]*aryB[k][j]; } } } //??¨??? for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ System.out.print(aryC[i][j]); if(j != l-1){ System.out.print(" "); } } System.out.println(); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 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, 0, 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, 11, 1, 0, 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, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 17, 14, 2, 13, 2, 13, 17, 3, 4, 18, 13, 17, 4, 18, 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 ], [ 252, 11 ], [ 252, 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 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 56 ], [ 56, 57 ], [ 56, 58 ], [ 14, 59 ], [ 59, 60 ], [ 59, 61 ], [ 14, 62 ], [ 62, 63 ], [ 62, 64 ], [ 14, 67 ], [ 67, 68 ], [ 67, 69 ], [ 14, 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 ], [ 89, 90 ], [ 90, 91 ], [ 87, 92 ], [ 84, 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 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 115, 116 ], [ 115, 117 ], [ 14, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 133, 138 ], [ 130, 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 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 152, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 161, 162 ], [ 161, 163 ], [ 14, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 169, 170 ], [ 169, 171 ], [ 164, 172 ], [ 172, 173 ], [ 173, 174 ], [ 164, 175 ], [ 176, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 189, 218 ], [ 218, 219 ], [ 219, 220 ], [ 218, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 189, 225 ], [ 225, 226 ], [ 225, 227 ], [ 189, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 231, 233 ], [ 228, 234 ], [ 189, 235 ], [ 235, 236 ], [ 236, 237 ], [ 235, 238 ], [ 176, 239 ], [ 239, 240 ], [ 240, 241 ], [ 239, 242 ], [ 14, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 243, 248 ], [ 12, 249 ], [ 249, 250 ], [ 0, 251 ], [ 251, 252 ], [ 251, 253 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tlong a = 0;\n\n\t\tint nm[][] = new int[n][m];\n\t\tint ml[][] = new int[m][l];\n\n\t\tfor( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\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[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tlong a = 0;\n\n\t\tint nm[][] = new int[n][m];\n\t\tint ml[][] = new int[m][l];\n\n\t\tfor( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}", "Main", "public static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tlong a = 0;\n\n\t\tint nm[][] = new int[n][m];\n\t\tint ml[][] = new int[m][l];\n\n\t\tfor( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tlong a = 0;\n\n\t\tint nm[][] = new int[n][m];\n\t\tint ml[][] = new int[m][l];\n\n\t\tfor( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuffer sb = new StringBuffer();", "sb", "new StringBuffer()", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(input[0]);", "n", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int m = Integer.parseInt(input[1]);", "m", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int l = Integer.parseInt(input[2]);", "l", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "int i = 0;", "i", "0", "int j = 0;", "j", "0", "long a = 0;", "a", "0", "int nm[][] = new int[n][m];", "nm", "new int[n][m]", "n", "m", "int ml[][] = new int[m][l];", "ml", "new int[m][l]", "m", "l", "for( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "i=0 ;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "input = br.readLine().split(\" \")", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}", "j=0 ;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}", "{\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}", "nm[i][j]=Integer.parseInt(input[j])", "nm[i][j]", "nm[i]", "nm", "i", "j", "Integer.parseInt(input[j])", "Integer.parseInt", "Integer", "input[j]", "input", "j", "for ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "i=0 ;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "input = br.readLine().split(\" \")", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}", "j=0 ;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}", "{\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}", "ml[i][j]=Integer.parseInt(input[j])", "ml[i][j]", "ml[i]", "ml", "i", "j", "Integer.parseInt(input[j])", "Integer.parseInt", "Integer", "input[j]", "input", "j", "for ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}", "i=0 ;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}", "{\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}", "for( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}", "j=0 ;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}", "{\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}", "for( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}", "int k=0 ;", "int k=0 ;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}", "{\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}", "a = a + (nm[i][k] * ml[k][j])", "a", "a + (nm[i][k] * ml[k][j])", "a", "(nm[i][k] * ml[k][j])", "nm[i][k]", "nm[i]", "nm", "i", "k", "ml[k][j]", "ml[k]", "ml", "k", "j", "sb.append(String.valueOf(a))", "sb.append", "sb", "String.valueOf(a)", "String.valueOf", "String", "a", "a = 0", "a", "0", "if( j==l-1 ) break;", "j==l-1", "j", "l-1", "l", "1", "break;", "sb.append(\" \")", "sb.append", "sb", "\" \"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] age", "age", "public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tlong a = 0;\n\n\t\tint nm[][] = new int[n][m];\n\t\tint ml[][] = new int[m][l];\n\n\t\tfor( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] age)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuffer sb = new StringBuffer();\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tint i = 0;\n\t\tint j = 0;\n\t\tlong a = 0;\n\n\t\tint nm[][] = new int[n][m];\n\t\tint ml[][] = new int[m][l];\n\n\t\tfor( i=0 ; i<n ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<m ; j++ ){\n\t\t\t\tnm[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<m ; i++ ){\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tml[i][j]=Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor ( i=0 ; i<n ; i++ ){\n\t\t\tfor( j=0 ; j<l ; j++ ){\n\t\t\t\tfor( int k=0 ; k<m ; k++ ){\n\t\t\t\t\t a = a + (nm[i][k] * ml[k][j]);\n\t\t\t\t}\n\t\t\t\tsb.append(String.valueOf(a));\n\t\t\t\ta = 0;\n\t\t\t\tif( j==l-1 ) break;\n\t\t\t\tsb.append(\" \");\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\n\t\tSystem.out.print(sb);\n\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] age)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuffer sb = new StringBuffer(); String[] input = br.readLine().split(" "); int n = Integer.parseInt(input[0]); int m = Integer.parseInt(input[1]); int l = Integer.parseInt(input[2]); int i = 0; int j = 0; long a = 0; int nm[][] = new int[n][m]; int ml[][] = new int[m][l]; for( i=0 ; i<n ; i++ ){ input = br.readLine().split(" "); for( j=0 ; j<m ; j++ ){ nm[i][j]=Integer.parseInt(input[j]); } } for ( i=0 ; i<m ; i++ ){ input = br.readLine().split(" "); for( j=0 ; j<l ; j++ ){ ml[i][j]=Integer.parseInt(input[j]); } } for ( i=0 ; i<n ; i++ ){ for( j=0 ; j<l ; j++ ){ for( int k=0 ; k<m ; k++ ){ a = a + (nm[i][k] * ml[k][j]); } sb.append(String.valueOf(a)); a = 0; if( j==l-1 ) break; sb.append(" "); } sb.append("\n"); } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 223, 5 ], [ 223, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 181, 191 ], [ 191, 192 ], [ 192, 193 ], [ 181, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 201, 207 ], [ 180, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 217, 219 ], [ 6, 220 ], [ 220, 221 ], [ 0, 222 ], [ 222, 223 ], [ 222, 224 ] ]
[ "\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\n\t\t// ??????A????????°?????????\n\t\tint line = in.nextInt();\n\t\t// ??????A????????°????????????B????????°?????????\n\t\tint line_column = in.nextInt();\n\t\t// ??????B????????°?????????\n\t\tint column = in.nextInt();\n\n\t\t// ??????A,B???????´??????????????????¨???\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\t// ??????A?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????B?????????????´?\n\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B?????????????´??????????????????¨???\n\t\tlong[][] ans = new long[line][column];\n\n\t\t// ??????A.B?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B???????????????\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\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\n\t\t// ??????A????????°?????????\n\t\tint line = in.nextInt();\n\t\t// ??????A????????°????????????B????????°?????????\n\t\tint line_column = in.nextInt();\n\t\t// ??????B????????°?????????\n\t\tint column = in.nextInt();\n\n\t\t// ??????A,B???????´??????????????????¨???\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\t// ??????A?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????B?????????????´?\n\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B?????????????´??????????????????¨???\n\t\tlong[][] ans = new long[line][column];\n\n\t\t// ??????A.B?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B???????????????\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\n\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\t// ??????A????????°?????????\n\t\tint line = in.nextInt();\n\t\t// ??????A????????°????????????B????????°?????????\n\t\tint line_column = in.nextInt();\n\t\t// ??????B????????°?????????\n\t\tint column = in.nextInt();\n\n\t\t// ??????A,B???????´??????????????????¨???\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\t// ??????A?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????B?????????????´?\n\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B?????????????´??????????????????¨???\n\t\tlong[][] ans = new long[line][column];\n\n\t\t// ??????A.B?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B???????????????\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\n\n\t\t}\n\t}", "main", "{\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\t// ??????A????????°?????????\n\t\tint line = in.nextInt();\n\t\t// ??????A????????°????????????B????????°?????????\n\t\tint line_column = in.nextInt();\n\t\t// ??????B????????°?????????\n\t\tint column = in.nextInt();\n\n\t\t// ??????A,B???????´??????????????????¨???\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\t// ??????A?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????B?????????????´?\n\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B?????????????´??????????????????¨???\n\t\tlong[][] ans = new long[line][column];\n\n\t\t// ??????A.B?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B???????????????\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\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 line_column = in.nextInt();", "line_column", "in.nextInt()", "in.nextInt", "in", "int column = in.nextInt();", "column", "in.nextInt()", "in.nextInt", "in", "int[][] matrixA = new int[line][line_column];", "matrixA", "new int[line][line_column]", "line", "line_column", "int[][] matrixB = new int[line_column][column];", "matrixB", "new int[line_column][column]", "line_column", "column", "for(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < line", "i", "line", "i++", "i++", "i", "{\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}", "for(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < line_column", "j", "line_column", "j++", "j++", "j", "{\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}", "{\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}", "matrixA[i][j] = in.nextInt()", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "in.nextInt()", "in.nextInt", "in", "for(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < line_column", "j", "line_column", "j++", "j++", "j", "{\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}", "for(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < column", "k", "column", "k++", "k++", "k", "{\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}", "{\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}", "matrixB[j][k] = in.nextInt()", "matrixB[j][k]", "matrixB[j]", "matrixB", "j", "k", "in.nextInt()", "in.nextInt", "in", "long[][] ans = new long[line][column];", "ans", "new long[line][column]", "line", "column", "for(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < line", "i", "line", "i++", "i++", "i", "{\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < line_column", "j", "line_column", "j++", "j++", "j", "{\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}", "{\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}", "for(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < column", "k", "column", "k++", "k++", "k", "{\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}", "{\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}", "ans[i][k] += matrixA[i][j] * matrixB[j][k]", "ans[i][k]", "ans[i]", "ans", "i", "k", "matrixA[i][j] * matrixB[j][k]", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "matrixB[j][k]", "matrixB[j]", "matrixB", "j", "k", "for(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < line", "i", "line", "i++", "i++", "i", "{\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\n\n\t\t}", "{\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\n\n\t\t}", "for(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < column - 1", "k", "column - 1", "column", "1", "k++", "k++", "k", "{\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}", "{\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}", "System.out.print(ans[i][k] + \" \")", "System.out.print", "System.out", "System", "System.out", "ans[i][k] + \" \"", "ans[i][k]", "ans[i]", "ans", "i", "k", "\" \"", "System.out.println(ans[i][column - 1])", "System.out.println", "System.out", "System", "System.out", "ans[i][column - 1]", "ans[i]", "ans", "i", "column - 1", "column", "1", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\t// ??????A????????°?????????\n\t\tint line = in.nextInt();\n\t\t// ??????A????????°????????????B????????°?????????\n\t\tint line_column = in.nextInt();\n\t\t// ??????B????????°?????????\n\t\tint column = in.nextInt();\n\n\t\t// ??????A,B???????´??????????????????¨???\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\t// ??????A?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????B?????????????´?\n\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B?????????????´??????????????????¨???\n\t\tlong[][] ans = new long[line][column];\n\n\t\t// ??????A.B?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B???????????????\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\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\n\t\t// ??????A????????°?????????\n\t\tint line = in.nextInt();\n\t\t// ??????A????????°????????????B????????°?????????\n\t\tint line_column = in.nextInt();\n\t\t// ??????B????????°?????????\n\t\tint column = in.nextInt();\n\n\t\t// ??????A,B???????´??????????????????¨???\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\t// ??????A?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tmatrixA[i][j] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????B?????????????´?\n\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\tmatrixB[j][k] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B?????????????´??????????????????¨???\n\t\tlong[][] ans = new long[line][column];\n\n\t\t// ??????A.B?????????????´?\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int j = 0; j < line_column; j++){\n\n\t\t\t\tfor(int k = 0; k < column; k++){\n\n\t\t\t\t\tans[i][k] += matrixA[i][j] * matrixB[j][k];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// ??????A,B???????????????\n\t\tfor(int i = 0; i < line; i++){\n\n\t\t\tfor(int k = 0; k < column - 1; k++){\n\n\t\t\t\tSystem.out.print(ans[i][k] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[i][column - 1]);\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); // ??????A????????°????????? int line = in.nextInt(); // ??????A????????°????????????B????????°????????? int line_column = in.nextInt(); // ??????B????????°????????? int column = in.nextInt(); // ??????A,B???????´??????????????????¨??? int[][] matrixA = new int[line][line_column]; int[][] matrixB = new int[line_column][column]; // ??????A?????????????´? for(int i = 0; i < line; i++){ for(int j = 0; j < line_column; j++){ matrixA[i][j] = in.nextInt(); } } // ??????B?????????????´? for(int j = 0; j < line_column; j++){ for(int k = 0; k < column; k++){ matrixB[j][k] = in.nextInt(); } } // ??????A,B?????????????´??????????????????¨??? long[][] ans = new long[line][column]; // ??????A.B?????????????´? for(int i = 0; i < line; i++){ for(int j = 0; j < line_column; j++){ for(int k = 0; k < column; k++){ ans[i][k] += matrixA[i][j] * matrixB[j][k]; } } } // ??????A,B??????????????? for(int i = 0; i < line; i++){ for(int k = 0; k < column - 1; k++){ System.out.print(ans[i][k] + " "); } System.out.println(ans[i][column - 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 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, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 206, 5 ], [ 206, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 138, 144 ], [ 137, 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 ], [ 159, 163 ], [ 158, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 164, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 137, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 137, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 185, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 124, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 6, 203 ], [ 203, 204 ], [ 0, 205 ], [ 205, 206 ], [ 205, 207 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\tint l = stdIn.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\tint l = stdIn.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\tint l = stdIn.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\tint l = stdIn.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\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 l = stdIn.nextInt();", "l", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\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{\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{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[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<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}", "b[i][j] = stdIn.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "for(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "c[i][j] =0", "c[i][j]", "c[i]", "c", "i", "j", "0", "for(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}", "c[i][j]+=a[i][k]*b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.print(c[i][j])", "System.out.print", "System.out", "System", "System.out", "c[i][j]", "c[i]", "c", "i", "j", "if(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j!=l-1", "j", "l-1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\tint l = stdIn.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner stdIn = new Scanner(System.in);\n\t\t\n\t\tint n = stdIn.nextInt();\n\t\tint m = stdIn.nextInt();\n\t\tint l = stdIn.nextInt();\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<m;j++)\n\t\t\t{\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{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tb[i][j] = stdIn.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t{\n\t\t\t\tc[i][j] =0;\n\t\t\t\tfor(int k=0;k<m;k++)\n\t\t\t\t{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c[i][j]);\n\t\t\t\tif(j!=l-1)\n\t\t\t\t{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\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 n = stdIn.nextInt(); int m = stdIn.nextInt(); int l = stdIn.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long[][] c = new long[n][l]; 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++) { for(int j=0;j<l;j++) { b[i][j] = stdIn.nextInt(); } } for(int i=0;i<n;i++) { for(int j=0;j<l;j++) { c[i][j] =0; for(int k=0;k<m;k++) { c[i][j]+=a[i][k]*b[k][j]; } System.out.print(c[i][j]); if(j!=l-1) { System.out.print(" "); } } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 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, 18, 18, 13, 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, 18, 13, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 191, 5 ], [ 191, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 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 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 88, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 8, 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 ], [ 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 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 135, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 135, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 122, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 6, 188 ], [ 188, 189 ], [ 0, 190 ], [ 190, 191 ], [ 190, 192 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong c = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong c = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong c = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong c = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long c = 0;", "c", "0", "for(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\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{\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{\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{\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{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.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 < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}", "B[i][j] = scan.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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 < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "for(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}", "{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}", "c = 0", "c", "0", "for(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}", "{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}", "c += (A[i][k] * B[k][j])", "c", "(A[i][k] * B[k][j])", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "if(j != 0){System.out.print(\" \");}", "j != 0", "j", "0", "{System.out.print(\" \");}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(c)", "System.out.print", "System.out", "System", "System.out", "c", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong c = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)\n\t{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong c = 0;\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < m;j++)\n\t\t\t{\n\t\t\t\tA[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < m;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tB[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 0;i < n;i++)\n\t\t{\n\t\t\tfor(int j = 0;j < l;j++)\n\t\t\t{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0;k < m;k++)\n\t\t\t\t{\n\t\t\t\t\tc += (A[i][k] * B[k][j]);\n\t\t\t\t}\n\t\t\t\tif(j != 0){System.out.print(\" \");}\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int l = scan.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long c = 0; 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++) { for(int j = 0;j < l;j++) { B[i][j] = scan.nextInt(); } } for(int i = 0;i < n;i++) { for(int j = 0;j < l;j++) { c = 0; for(int k = 0;k < m;k++) { c += (A[i][k] * B[k][j]); } if(j != 0){System.out.print(" ");} System.out.print(c); } System.out.println(""); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 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, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 13, 17, 14, 2, 13, 2, 13, 17, 4, 18, 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 ], [ 279, 11 ], [ 279, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 60 ], [ 60, 61 ], [ 60, 62 ], [ 14, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 80, 85 ], [ 77, 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 ], [ 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 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 126, 131 ], [ 123, 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 ], [ 146, 150 ], [ 145, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 154, 156 ], [ 14, 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 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 170, 178 ], [ 178, 179 ], [ 179, 180 ], [ 170, 181 ], [ 182, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 192, 193 ], [ 183, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 196, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 14, 213 ], [ 213, 214 ], [ 213, 215 ], [ 14, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 216, 221 ], [ 221, 222 ], [ 221, 223 ], [ 216, 224 ], [ 224, 225 ], [ 225, 226 ], [ 216, 227 ], [ 228, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 229, 234 ], [ 234, 235 ], [ 234, 236 ], [ 229, 237 ], [ 237, 238 ], [ 238, 239 ], [ 229, 240 ], [ 241, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 242, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 241, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 253, 255 ], [ 250, 256 ], [ 256, 257 ], [ 257, 258 ], [ 256, 259 ], [ 228, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 263, 265 ], [ 260, 266 ], [ 266, 267 ], [ 267, 268 ], [ 266, 269 ], [ 14, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 270, 275 ], [ 12, 276 ], [ 276, 277 ], [ 0, 278 ], [ 278, 279 ], [ 278, 280 ] ]
[ "import java.io.IOException;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] nums = br.readLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int l = Integer.parseInt(nums[2]);\n\n long[][] matrixA = new long[n][m];\n long[][] matrixB = new long[m][l];\n long[][] matrixC = new long[n][l];\n\n //input matrixA\n for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixB\n for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixC(matrixA * matrixB)\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }\n\n //output matrixC\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] nums = br.readLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int l = Integer.parseInt(nums[2]);\n\n long[][] matrixA = new long[n][m];\n long[][] matrixB = new long[m][l];\n long[][] matrixC = new long[n][l];\n\n //input matrixA\n for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixB\n for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixC(matrixA * matrixB)\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }\n\n //output matrixC\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] nums = br.readLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int l = Integer.parseInt(nums[2]);\n\n long[][] matrixA = new long[n][m];\n long[][] matrixB = new long[m][l];\n long[][] matrixC = new long[n][l];\n\n //input matrixA\n for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixB\n for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixC(matrixA * matrixB)\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }\n\n //output matrixC\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] nums = br.readLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int l = Integer.parseInt(nums[2]);\n\n long[][] matrixA = new long[n][m];\n long[][] matrixB = new long[m][l];\n long[][] matrixC = new long[n][l];\n\n //input matrixA\n for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixB\n for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixC(matrixA * matrixB)\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }\n\n //output matrixC\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] nums = br.readLine().split(\" \");", "nums", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "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 l = Integer.parseInt(nums[2]);", "l", "Integer.parseInt(nums[2])", "Integer.parseInt", "Integer", "nums[2]", "nums", "2", "long[][] matrixA = new long[n][m];", "matrixA", "new long[n][m]", "n", "m", "long[][] matrixB = new long[m][l];", "matrixB", "new long[m][l]", "m", "l", "long[][] matrixC = new long[n][l];", "matrixC", "new long[n][l]", "n", "l", "for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }", "{\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n matrixA[i][j] = Long.valueOf(input[j]);\n }", "{\n matrixA[i][j] = Long.valueOf(input[j]);\n }", "matrixA[i][j] = Long.valueOf(input[j])", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Long.valueOf(input[j])", "Long.valueOf", "Long", "input[j]", "input", "j", "for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }", "{\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }", "String[] input = br.readLine().split(\" \");", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n matrixB[i][j] = Long.valueOf(input[j]);\n }", "{\n matrixB[i][j] = Long.valueOf(input[j]);\n }", "matrixB[i][j] = Long.valueOf(input[j])", "matrixB[i][j]", "matrixB[i]", "matrixB", "i", "j", "Long.valueOf(input[j])", "Long.valueOf", "Long", "input[j]", "input", "j", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }", "{\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }", "for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }", "{\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }", "for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k< m", "k", "m", "k++", "k++", "k", "{\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }", "{\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }", "matrixC[i][j] += matrixA[i][k] * matrixB[k][j]", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "matrixA[i][k] * matrixB[k][j]", "matrixA[i][k]", "matrixA[i]", "matrixA", "i", "k", "matrixB[k][j]", "matrixB[k]", "matrixB", "k", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }", "{\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }", "for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }", "{\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }", "sb.append(matrixC[i][j])", "sb.append", "sb", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "if(j != l-1) sb.append(\" \");", "j != l-1", "j", "l-1", "l", "1", "sb.append(\" \")", "sb.append", "sb", "\" \"", "if(i != n-1) sb.append(\"\\n\");", "i != n-1", "i", "n-1", "n", "1", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.println(sb)", "System.out.println", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main{\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String[] nums = br.readLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int l = Integer.parseInt(nums[2]);\n\n long[][] matrixA = new long[n][m];\n long[][] matrixB = new long[m][l];\n long[][] matrixC = new long[n][l];\n\n //input matrixA\n for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixB\n for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixC(matrixA * matrixB)\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }\n\n //output matrixC\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\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[] nums = br.readLine().split(\" \");\n int n = Integer.parseInt(nums[0]);\n int m = Integer.parseInt(nums[1]);\n int l = Integer.parseInt(nums[2]);\n\n long[][] matrixA = new long[n][m];\n long[][] matrixB = new long[m][l];\n long[][] matrixC = new long[n][l];\n\n //input matrixA\n for(int i = 0; i < n; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < m; j++){\n matrixA[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixB\n for(int i = 0; i < m; i++){\n String[] input = br.readLine().split(\" \");\n for(int j = 0; j < l; j++){\n matrixB[i][j] = Long.valueOf(input[j]);\n }\n }\n\n //input matrixC(matrixA * matrixB)\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n for(int k = 0; k< m; k++){\n matrixC[i][j] += matrixA[i][k] * matrixB[k][j];\n }\n }\n }\n\n //output matrixC\n StringBuilder sb = new StringBuilder();\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n sb.append(matrixC[i][j]);\n if(j != l-1) sb.append(\" \");\n }\n if(i != n-1) sb.append(\"\\n\");\n }\n System.out.println(sb);\n\n }\n}", "Main" ]
import java.io.IOException; import java.io.BufferedReader; import java.io.InputStreamReader; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] nums = br.readLine().split(" "); int n = Integer.parseInt(nums[0]); int m = Integer.parseInt(nums[1]); int l = Integer.parseInt(nums[2]); long[][] matrixA = new long[n][m]; long[][] matrixB = new long[m][l]; long[][] matrixC = new long[n][l]; //input matrixA for(int i = 0; i < n; i++){ String[] input = br.readLine().split(" "); for(int j = 0; j < m; j++){ matrixA[i][j] = Long.valueOf(input[j]); } } //input matrixB for(int i = 0; i < m; i++){ String[] input = br.readLine().split(" "); for(int j = 0; j < l; j++){ matrixB[i][j] = Long.valueOf(input[j]); } } //input matrixC(matrixA * matrixB) for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ for(int k = 0; k< m; k++){ matrixC[i][j] += matrixA[i][k] * matrixB[k][j]; } } } //output matrixC StringBuilder sb = new StringBuilder(); for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ sb.append(matrixC[i][j]); if(j != l-1) sb.append(" "); } if(i != n-1) sb.append("\n"); } System.out.println(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 8, 2, 13, 2, 13, 17, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 205, 5 ], [ 205, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 125, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 137, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 137, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 179, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 179, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 190, 196 ], [ 124, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 6, 202 ], [ 202, 203 ], [ 0, 204 ], [ 204, 205 ], [ 204, 206 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();\n long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();\n long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();\n long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();\n long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "long[][] a = new long[n][m]", "a", "new long[n][m]", "n", "m", "b = new long[m][l]", "b", "new long[m][l]", "m", "l", "c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.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] = scan.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }", "for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = scan.nextInt();\n }", "{\n a[i][j] = scan.nextInt();\n }", "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 for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }", "{\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }", "for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = scan.nextInt();\n }", "{\n b[i][j] = scan.nextInt();\n }", "b[i][j] = scan.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }", "{\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }", "for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }", "{\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }", "long sum = 0;", "sum", "0", "for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n sum += a[i][k] * b[k][j];\n }", "{\n sum += a[i][k] * b[k][j];\n }", "sum += a[i][k] * b[k][j]", "sum", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "c[i][j] = sum", "c[i][j]", "c[i]", "c", "i", "j", "sum", "System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "j == l - 1 ? c[i][j] : c[i][j] + \" \"", "j == l - 1", "j", "l - 1", "l", "1", "c[i][j]", "c[i]", "c", "i", "j", "c[i][j] + \" \"", "c[i][j]", "c[i]", "c", "i", "j", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();\n long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();\n long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n a[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = scan.nextInt();\n }\n }\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n long sum = 0;\n for (int k = 0; k < m; k++) {\n sum += a[i][k] * b[k][j];\n }\n c[i][j] = sum;\n System.out.print(j == l - 1 ? c[i][j] : c[i][j] + \" \");\n }\n System.out.println();\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt(); long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l]; 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++) { for (int j = 0; j < l; j++) { b[i][j] = scan.nextInt(); } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { long sum = 0; for (int k = 0; k < m; k++) { sum += a[i][k] * b[k][j]; } c[i][j] = sum; System.out.print(j == l - 1 ? c[i][j] : c[i][j] + " "); } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 4, 13, 13, 13, 13, 13, 4, 13, 13, 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, 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, 18, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 23, 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, 23, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 217, 5 ], [ 217, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 42, 45 ], [ 42, 46 ], [ 42, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 48, 52 ], [ 48, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 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 ], [ 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 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 8, 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 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 123, 134 ], [ 135, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 136, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 136, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 161, 167 ], [ 6, 168 ], [ 168, 169 ], [ 217, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 173, 181 ], [ 181, 182 ], [ 182, 183 ], [ 173, 184 ], [ 185, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 186, 194 ], [ 194, 195 ], [ 195, 196 ], [ 186, 197 ], [ 198, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 199, 205 ], [ 205, 206 ], [ 206, 207 ], [ 170, 208 ], [ 208, 209 ], [ 170, 210 ], [ 210, 211 ], [ 170, 212 ], [ 212, 213 ], [ 170, 214 ], [ 214, 215 ], [ 0, 216 ], [ 216, 217 ], [ 216, 218 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n public static void main(String[]args){\n Scanner scn = new Scanner(System.in);\n \n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n \n long [][]A = new long[n][m];\n long [][]B = new long[m][l];\n long [][]C = new long[n][l];\n \n read(n,m,A,scn);\n read(m,l,B,scn);\n \n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n \n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n } \n \n }\n \n private static void read(int a, int b, long[][] Ar,Scanner scn) {\n for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }\n }\n \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[]args){\n Scanner scn = new Scanner(System.in);\n \n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n \n long [][]A = new long[n][m];\n long [][]B = new long[m][l];\n long [][]C = new long[n][l];\n \n read(n,m,A,scn);\n read(m,l,B,scn);\n \n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n \n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n } \n \n }\n \n private static void read(int a, int b, long[][] Ar,Scanner scn) {\n for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }\n }\n \n}", "Main", "public static void main(String[]args){\n Scanner scn = new Scanner(System.in);\n \n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n \n long [][]A = new long[n][m];\n long [][]B = new long[m][l];\n long [][]C = new long[n][l];\n \n read(n,m,A,scn);\n read(m,l,B,scn);\n \n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n \n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n } \n \n }", "main", "{\n Scanner scn = new Scanner(System.in);\n \n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n \n long [][]A = new long[n][m];\n long [][]B = new long[m][l];\n long [][]C = new long[n][l];\n \n read(n,m,A,scn);\n read(m,l,B,scn);\n \n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n \n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n } \n \n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "int m = scn.nextInt();", "m", "scn.nextInt()", "scn.nextInt", "scn", "int l = scn.nextInt();", "l", "scn.nextInt()", "scn.nextInt", "scn", "long [][]A = new long[n][m];", "A", "new long[n][m]", "n", "m", "long [][]B = new long[m][l];", "B", "new long[m][l]", "m", "l", "long [][]C = new long[n][l];", "C", "new long[n][l]", "n", "l", "read(n,m,A,scn)", "read", "n", "m", "A", "scn", "read(m,l,B,scn)", "read", "m", "l", "B", "scn", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }", "for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }", "{\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }", "for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n C[i][j]+=A[i][k]*B[k][j];\n }", "{\n C[i][j]+=A[i][k]*B[k][j];\n }", "C[i][j]+=A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n }", "{\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n }", "for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }", "{\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }", "if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n }", "j==l-1", "j", "l-1", "l", "1", "{\n System.out.print(C[i][j]+\"\\n\");\n }", "System.out.print(C[i][j]+\"\\n\")", "System.out.print", "System.out", "System", "System.out", "C[i][j]+\"\\n\"", "C[i][j]", "C[i]", "C", "i", "j", "\"\\n\"", "{\n System.out.print(C[i][j]+\" \");\n }", "System.out.print(C[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j]+\" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "String[]args", "args", "private static void read(int a, int b, long[][] Ar,Scanner scn) {\n for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }\n }", "read", "{\n for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }\n }", "for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }", "{\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }", "for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<b", "j", "b", "j++", "j++", "j", "{\n Ar[i][j]=scn.nextInt();\n }", "{\n Ar[i][j]=scn.nextInt();\n }", "Ar[i][j]=scn.nextInt()", "Ar[i][j]", "Ar[i]", "Ar", "i", "j", "scn.nextInt()", "scn.nextInt", "scn", "int a", "a", "int b", "b", "long[][] Ar", "Ar", "Scanner scn", "scn", "public class Main{\n public static void main(String[]args){\n Scanner scn = new Scanner(System.in);\n \n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n \n long [][]A = new long[n][m];\n long [][]B = new long[m][l];\n long [][]C = new long[n][l];\n \n read(n,m,A,scn);\n read(m,l,B,scn);\n \n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n \n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n } \n \n }\n \n private static void read(int a, int b, long[][] Ar,Scanner scn) {\n for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }\n }\n \n}", "public class Main{\n public static void main(String[]args){\n Scanner scn = new Scanner(System.in);\n \n int n = scn.nextInt();\n int m = scn.nextInt();\n int l = scn.nextInt();\n \n long [][]A = new long[n][m];\n long [][]B = new long[m][l];\n long [][]C = new long[n][l];\n \n read(n,m,A,scn);\n read(m,l,B,scn);\n \n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j]+=A[i][k]*B[k][j];\n }\n }\n }\n \n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.print(C[i][j]+\"\\n\");\n }else{\n System.out.print(C[i][j]+\" \");\n } \n }\n } \n \n }\n \n private static void read(int a, int b, long[][] Ar,Scanner scn) {\n for(int i=0;i<a;i++){\n for(int j=0;j<b;j++){\n Ar[i][j]=scn.nextInt();\n }\n }\n }\n \n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[]args){ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); int m = scn.nextInt(); int l = scn.nextInt(); long [][]A = new long[n][m]; long [][]B = new long[m][l]; long [][]C = new long[n][l]; read(n,m,A,scn); read(m,l,B,scn); for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ for(int k=0;k<m;k++){ C[i][j]+=A[i][k]*B[k][j]; } } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ if(j==l-1){ System.out.print(C[i][j]+"\n"); }else{ System.out.print(C[i][j]+" "); } } } } private static void read(int a, int b, long[][] Ar,Scanner scn) { for(int i=0;i<a;i++){ for(int j=0;j<b;j++){ Ar[i][j]=scn.nextInt(); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 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, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 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, 18, 13, 13, 13, 4, 18, 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, 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, 18, 18, 13, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 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 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 31, 32 ], [ 32, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 14, 42 ], [ 42, 43 ], [ 42, 44 ], [ 14, 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 ], [ 85, 88 ], [ 88, 89 ], [ 89, 90 ], [ 14, 91 ], [ 91, 92 ], [ 91, 93 ], [ 14, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 96, 106 ], [ 106, 107 ], [ 107, 108 ], [ 96, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 111, 123 ], [ 123, 124 ], [ 124, 125 ], [ 111, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 137, 138 ], [ 138, 139 ], [ 14, 140 ], [ 140, 141 ], [ 140, 142 ], [ 14, 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 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 158, 169 ], [ 170, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 171, 179 ], [ 179, 180 ], [ 180, 181 ], [ 171, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 184, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 190, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 14, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 208, 210 ], [ 201, 211 ], [ 211, 212 ], [ 212, 213 ], [ 201, 214 ], [ 215, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 216, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 216, 228 ], [ 228, 229 ], [ 229, 230 ], [ 216, 231 ], [ 232, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 233, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 238, 242 ], [ 232, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 246, 252 ], [ 243, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 254, 259 ], [ 215, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 12, 265 ], [ 265, 266 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\nclass Main{\n public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n int n=Integer.parseInt(scan.next());\n int m=Integer.parseInt(scan.next());\n int l=Integer.parseInt(scan.next());\n long[][] arrayA=new long[n][m];\n for(int i=0;i<arrayA.length;i++){\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }\n long[][] arrayB=new long[m][l];\n for(int i=0;i<arrayB.length;i++){\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }\n\n long[][] arrayC=new long[n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }\n\n for(int i=0;i<arrayC.length;i++){\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "class Main{\n public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n int n=Integer.parseInt(scan.next());\n int m=Integer.parseInt(scan.next());\n int l=Integer.parseInt(scan.next());\n long[][] arrayA=new long[n][m];\n for(int i=0;i<arrayA.length;i++){\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }\n long[][] arrayB=new long[m][l];\n for(int i=0;i<arrayB.length;i++){\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }\n\n long[][] arrayC=new long[n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }\n\n for(int i=0;i<arrayC.length;i++){\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n Scanner scan=new Scanner(System.in);\n int n=Integer.parseInt(scan.next());\n int m=Integer.parseInt(scan.next());\n int l=Integer.parseInt(scan.next());\n long[][] arrayA=new long[n][m];\n for(int i=0;i<arrayA.length;i++){\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }\n long[][] arrayB=new long[m][l];\n for(int i=0;i<arrayB.length;i++){\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }\n\n long[][] arrayC=new long[n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }\n\n for(int i=0;i<arrayC.length;i++){\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }", "main", "{\n Scanner scan=new Scanner(System.in);\n int n=Integer.parseInt(scan.next());\n int m=Integer.parseInt(scan.next());\n int l=Integer.parseInt(scan.next());\n long[][] arrayA=new long[n][m];\n for(int i=0;i<arrayA.length;i++){\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }\n long[][] arrayB=new long[m][l];\n for(int i=0;i<arrayB.length;i++){\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }\n\n long[][] arrayC=new long[n][l];\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }\n\n for(int i=0;i<arrayC.length;i++){\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n=Integer.parseInt(scan.next());", "n", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "int m=Integer.parseInt(scan.next());", "m", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "int l=Integer.parseInt(scan.next());", "l", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "long[][] arrayA=new long[n][m];", "arrayA", "new long[n][m]", "n", "m", "for(int i=0;i<arrayA.length;i++){\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<arrayA.length", "i", "arrayA.length", "arrayA", "arrayA.length", "i++", "i++", "i", "{\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }", "{\n for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }\n }", "for(int j=0;j<arrayA[i].length;j++){\n arrayA[i][j]=Long.parseLong(scan.next());\n }", "int j=0;", "int j=0;", "j", "0", "j<arrayA[i].length", "j", "arrayA[i].length", "arrayA[i]", "arrayA", "i", "arrayA[i].length", "j++", "j++", "j", "{\n arrayA[i][j]=Long.parseLong(scan.next());\n }", "{\n arrayA[i][j]=Long.parseLong(scan.next());\n }", "arrayA[i][j]=Long.parseLong(scan.next())", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "Long.parseLong(scan.next())", "Long.parseLong", "Long", "scan.next()", "scan.next", "scan", "long[][] arrayB=new long[m][l];", "arrayB", "new long[m][l]", "m", "l", "for(int i=0;i<arrayB.length;i++){\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<arrayB.length", "i", "arrayB.length", "arrayB", "arrayB.length", "i++", "i++", "i", "{\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }", "{\n for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }\n }", "for(int j=0;j<arrayB[i].length;j++){\n arrayB[i][j]=Long.parseLong(scan.next());\n }", "int j=0;", "int j=0;", "j", "0", "j<arrayB[i].length", "j", "arrayB[i].length", "arrayB[i]", "arrayB", "i", "arrayB[i].length", "j++", "j++", "j", "{\n arrayB[i][j]=Long.parseLong(scan.next());\n }", "{\n arrayB[i][j]=Long.parseLong(scan.next());\n }", "arrayB[i][j]=Long.parseLong(scan.next())", "arrayB[i][j]", "arrayB[i]", "arrayB", "i", "j", "Long.parseLong(scan.next())", "Long.parseLong", "Long", "scan.next()", "scan.next", "scan", "long[][] arrayC=new long[n][l];", "arrayC", "new long[n][l]", "n", "l", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }\n }", "for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }", "{\n for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }\n }", "for(int k=0;k<m;k++){\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }", "{\n arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];\n }", "arrayC[i][j]+=arrayA[i][k]*arrayB[k][j]", "arrayC[i][j]", "arrayC[i]", "arrayC", "i", "j", "arrayA[i][k]*arrayB[k][j]", "arrayA[i][k]", "arrayA[i]", "arrayA", "i", "k", "arrayB[k][j]", "arrayB[k]", "arrayB", "k", "j", "for(int i=0;i<arrayC.length;i++){\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<arrayC.length", "i", "arrayC.length", "arrayC", "arrayC.length", "i++", "i++", "i", "{\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }", "{\n for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }", "for(int j=0;j<arrayC[i].length;j++){\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<arrayC[i].length", "j", "arrayC[i].length", "arrayC[i]", "arrayC", "i", "arrayC[i].length", "j++", "j++", "j", "{\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }", "{\n System.out.print(arrayC[i][j]);\n if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }\n }", "System.out.print(arrayC[i][j])", "System.out.print", "System.out", "System", "System.out", "arrayC[i][j]", "arrayC[i]", "arrayC", "i", "j", "if(j<arrayC[i].length-1){\n System.out.print(\" \");\n }", "j<arrayC[i].length-1", "j", "arrayC[i].length-1", "arrayC[i].length", "arrayC[i]", "arrayC", "i", "arrayC[i].length", "1", "{\n System.out.print(\" \");\n }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args" ]
import java.io.*; import java.util.*; import java.lang.*; class Main{ public static void main(String[] args) throws IOException{ Scanner scan=new Scanner(System.in); int n=Integer.parseInt(scan.next()); int m=Integer.parseInt(scan.next()); int l=Integer.parseInt(scan.next()); long[][] arrayA=new long[n][m]; for(int i=0;i<arrayA.length;i++){ for(int j=0;j<arrayA[i].length;j++){ arrayA[i][j]=Long.parseLong(scan.next()); } } long[][] arrayB=new long[m][l]; for(int i=0;i<arrayB.length;i++){ for(int j=0;j<arrayB[i].length;j++){ arrayB[i][j]=Long.parseLong(scan.next()); } } long[][] arrayC=new long[n][l]; for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ for(int k=0;k<m;k++){ arrayC[i][j]+=arrayA[i][k]*arrayB[k][j]; } } } for(int i=0;i<arrayC.length;i++){ for(int j=0;j<arrayC[i].length;j++){ System.out.print(arrayC[i][j]); if(j<arrayC[i].length-1){ System.out.print(" "); } } System.out.println(); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 69, 74 ], [ 66, 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 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 100, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 115, 120 ], [ 112, 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 ], [ 135, 139 ], [ 134, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 143, 145 ], [ 8, 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 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 162, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 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 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 193, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 174, 204 ], [ 204, 205 ], [ 205, 206 ], [ 204, 207 ], [ 174, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 211, 213 ], [ 208, 214 ], [ 214, 215 ], [ 215, 216 ], [ 214, 217 ], [ 161, 218 ], [ 218, 219 ], [ 219, 220 ], [ 218, 221 ], [ 8, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 222, 227 ], [ 6, 228 ], [ 228, 229 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[][] A=new int[n][m];\n int[][] B=new int[m][l];\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }\n for(int i=0;i<m;i++){\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }\n \tStringBuilder sb = new StringBuilder();\n for(int nc=0;nc<n;nc++){\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }\n \tSystem.out.print(sb);\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[][] A=new int[n][m];\n int[][] B=new int[m][l];\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }\n for(int i=0;i<m;i++){\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }\n \tStringBuilder sb = new StringBuilder();\n for(int nc=0;nc<n;nc++){\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }\n \tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[][] A=new int[n][m];\n int[][] B=new int[m][l];\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }\n for(int i=0;i<m;i++){\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }\n \tStringBuilder sb = new StringBuilder();\n for(int nc=0;nc<n;nc++){\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }\n \tSystem.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[][] A=new int[n][m];\n int[][] B=new int[m][l];\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }\n for(int i=0;i<m;i++){\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }\n \tStringBuilder sb = new StringBuilder();\n for(int nc=0;nc<n;nc++){\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }\n \tSystem.out.print(sb);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] f=br.readLine().split(\" \");", "f", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n=Integer.parseInt(f[0]);", "n", "Integer.parseInt(f[0])", "Integer.parseInt", "Integer", "f[0]", "f", "0", "int m=Integer.parseInt(f[1]);", "m", "Integer.parseInt(f[1])", "Integer.parseInt", "Integer", "f[1]", "f", "1", "int l=Integer.parseInt(f[2]);", "l", "Integer.parseInt(f[2])", "Integer.parseInt", "Integer", "f[2]", "f", "2", "int[][] A=new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B=new int[m][l];", "B", "new int[m][l]", "m", "l", "for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }", "{\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}\n }", "String[] s=br.readLine().split(\" \");", "s", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0;j<m;j++){\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}", "{\n \t\tA[i][j]=Integer.parseInt(s[j]);\n \t}", "A[i][j]=Integer.parseInt(s[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(s[j])", "Integer.parseInt", "Integer", "s[j]", "s", "j", "for(int i=0;i<m;i++){\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }", "{\n \tString[] t=br.readLine().split(\" \");\n \tfor(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}\n }", "String[] t=br.readLine().split(\" \");", "t", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0;j<l;j++){\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}", "{\n \t\tB[i][j]=Integer.parseInt(t[j]);\n \t}", "B[i][j]=Integer.parseInt(t[j])", "B[i][j]", "B[i]", "B", "i", "j", "Integer.parseInt(t[j])", "Integer.parseInt", "Integer", "t[j]", "t", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for(int nc=0;nc<n;nc++){\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }", "int nc=0;", "int nc=0;", "nc", "0", "nc<n", "nc", "n", "nc++", "nc++", "nc", "{\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }", "{\n \tfor(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}\n \tsb.append(\"\\n\");\n }", "for(int lc=0;lc<l;lc++){\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}", "int lc=0;", "int lc=0;", "lc", "0", "lc<l", "lc", "l", "lc++", "lc++", "lc", "{\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}", "{\n \t\tlong b=0;\n \tfor(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}\n \tsb.append(b);\n \tif(lc!=l-1) sb.append(\" \");\n \t}", "long b=0;", "b", "0", "for(int mc=0;mc<m;mc++){\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}", "int mc=0;", "int mc=0;", "mc", "0", "mc<m", "mc", "m", "mc++", "mc++", "mc", "{\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}", "{\n \t\tb+=A[nc][mc]*B[mc][lc];\n \t}", "b+=A[nc][mc]*B[mc][lc]", "b", "A[nc][mc]*B[mc][lc]", "A[nc][mc]", "A[nc]", "A", "nc", "mc", "B[mc][lc]", "B[mc]", "B", "mc", "lc", "sb.append(b)", "sb.append", "sb", "b", "if(lc!=l-1) sb.append(\" \");", "lc!=l-1", "lc", "l-1", "l", "1", "sb.append(\" \")", "sb.append", "sb", "\" \"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "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[] f=br.readLine().split(" "); int n=Integer.parseInt(f[0]); int m=Integer.parseInt(f[1]); int l=Integer.parseInt(f[2]); int[][] A=new int[n][m]; int[][] B=new int[m][l]; for(int i=0;i<n;i++){ String[] s=br.readLine().split(" "); for(int j=0;j<m;j++){ A[i][j]=Integer.parseInt(s[j]); } } for(int i=0;i<m;i++){ String[] t=br.readLine().split(" "); for(int j=0;j<l;j++){ B[i][j]=Integer.parseInt(t[j]); } } StringBuilder sb = new StringBuilder(); for(int nc=0;nc<n;nc++){ for(int lc=0;lc<l;lc++){ long b=0; for(int mc=0;mc<m;mc++){ b+=A[nc][mc]*B[mc][lc]; } sb.append(b); if(lc!=l-1) sb.append(" "); } sb.append("\n"); } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 20, 17, 17, 41, 13, 20, 17, 17, 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, 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, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 235, 5 ], [ 235, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 8, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 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 ], [ 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 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 145, 149 ], [ 144, 150 ], [ 143, 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 ], [ 165, 169 ], [ 164, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 170, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 8, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 201, 203 ], [ 194, 204 ], [ 204, 205 ], [ 205, 206 ], [ 194, 207 ], [ 208, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 209, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 193, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 225, 229 ], [ 229, 230 ], [ 229, 231 ], [ 6, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "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(); int m=scan.nextInt(); int l=scan.nextInt();\n\t\tint a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100];\n\t\tint i,j,k;\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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(); int m=scan.nextInt(); int l=scan.nextInt();\n\t\tint a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100];\n\t\tint i,j,k;\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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(); int m=scan.nextInt(); int l=scan.nextInt();\n\t\tint a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100];\n\t\tint i,j,k;\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt(); int m=scan.nextInt(); int l=scan.nextInt();\n\t\tint a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100];\n\t\tint i,j,k;\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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 l=scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int a[][]=new int [100][100];", "a", "new int [100][100]", "100", "100", "int b[][]=new int [100][100];", "b", "new int [100][100]", "100", "100", "long c[][]=new long [100][100];", "c", "new long [100][100]", "100", "100", "int i", "i", "j", "j", "k;", "k", "for(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\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\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "for(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}", "j=0;", "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(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.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<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "for(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}", "b[i][j]=scan.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\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<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}", "c[i][j]=0", "c[i][j]", "c[i]", "c", "i", "j", "0", "for(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}", "k=0;", "k=0", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}", "c[i][j]+=a[i][k]*b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}", "{\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}", "for(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<l-1", "j", "l-1", "l", "1", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}", "{\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}", "System.out.printf(\"%d \",c[i][j])", "System.out.printf", "System.out", "System", "System.out", "\"%d \"", "c[i][j]", "c[i]", "c", "i", "j", "System.out.println(c[i][l-1])", "System.out.println", "System.out", "System", "System.out", "c[i][l-1]", "c[i]", "c", "i", "l-1", "l", "1", "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(); int m=scan.nextInt(); int l=scan.nextInt();\n\t\tint a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100];\n\t\tint i,j,k;\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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(); int m=scan.nextInt(); int l=scan.nextInt();\n\t\tint a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100];\n\t\tint i,j,k;\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<m;j++){\n\t\t\t\ta[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<m;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tb[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l;j++){\n\t\t\t\tc[i][j]=0;\n\t\t\t\tfor(k=0;k<m;k++){\n\t\t\t\t\tc[i][j]+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(i=0;i<n;i++){\n\t\t\tfor(j=0;j<l-1;j++){\n\t\t\t\tSystem.out.printf(\"%d \",c[i][j]);\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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 l=scan.nextInt(); int a[][]=new int [100][100]; int b[][]=new int [100][100]; long c[][]=new long [100][100]; int i,j,k; for(i=0;i<n;i++){ for(j=0;j<m;j++){ a[i][j]=scan.nextInt(); } } for(i=0;i<m;i++){ for(j=0;j<l;j++){ b[i][j]=scan.nextInt(); } } for(i=0;i<n;i++){ for(j=0;j<l;j++){ c[i][j]=0; for(k=0;k<m;k++){ c[i][j]+=a[i][k]*b[k][j]; } } } for(i=0;i<n;i++){ for(j=0;j<l-1;j++){ System.out.printf("%d ",c[i][j]); } System.out.println(c[i][l-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, 4, 18, 13, 41, 13, 41, 13, 41, 13, 0, 13, 20, 2, 13, 17, 2, 13, 17, 0, 13, 20, 2, 13, 17, 2, 13, 17, 0, 13, 20, 2, 13, 17, 2, 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, 18, 18, 13, 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, 18, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 0, 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, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 36, 37 ], [ 36, 38 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 45, 46 ], [ 45, 47 ], [ 48, 49 ], [ 48, 50 ], [ 8, 51 ], [ 51, 52 ], [ 51, 53 ], [ 54, 55 ], [ 54, 56 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 75, 75 ], [ 75, 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 ], [ 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 ], [ 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 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 8, 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 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 146, 154 ], [ 154, 155 ], [ 155, 156 ], [ 146, 157 ], [ 158, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 164, 166 ], [ 159, 167 ], [ 167, 168 ], [ 168, 169 ], [ 159, 170 ], [ 171, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 174, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 158, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 185, 191 ], [ 158, 192 ], [ 192, 193 ], [ 192, 194 ], [ 8, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 195, 203 ], [ 203, 204 ], [ 204, 205 ], [ 195, 206 ], [ 207, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 213, 215 ], [ 208, 216 ], [ 216, 217 ], [ 217, 218 ], [ 208, 219 ], [ 220, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 224, 226 ], [ 221, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 227, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 221, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 237, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 243, 247 ], [ 242, 248 ], [ 8, 249 ], [ 249, 250 ], [ 250, 251 ], [ 6, 252 ], [ 252, 253 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n public static void main(String args[]) {\n\t \tScanner scanner = new Scanner(System.in);\n\t \tint matrixALine = scanner.nextInt();\n\t \tint matrixARow = scanner.nextInt();\n\t \tint matrixBRow = scanner.nextInt();\n\t \tlong[][] arrayA;//配列確保\n\t \tlong[][] arrayB;//配列確保\n\t \tlong[][] arrayC;//配列確保\n\t\tarrayA = new long[matrixALine + 10][matrixARow + 10];\n\t\tarrayB = new long[matrixARow + 10][matrixBRow + 10];\n\t\tarrayC = new long[matrixALine + 10][matrixBRow + 10];\n\t\tlong sum = 0;\n \t\n\t\t//初期化\n\t\t\n\t\t// Aのデータ入力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t// Bのデータ入力\n\t\tfor (int i = 0; i < matrixARow; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t\n\t\t// Cのデータ作成\n\t\tfor(int i = 0; i < matrixALine; i ++){\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}\n \t\t\n\t\t//出力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String args[]) {\n\t \tScanner scanner = new Scanner(System.in);\n\t \tint matrixALine = scanner.nextInt();\n\t \tint matrixARow = scanner.nextInt();\n\t \tint matrixBRow = scanner.nextInt();\n\t \tlong[][] arrayA;//配列確保\n\t \tlong[][] arrayB;//配列確保\n\t \tlong[][] arrayC;//配列確保\n\t\tarrayA = new long[matrixALine + 10][matrixARow + 10];\n\t\tarrayB = new long[matrixARow + 10][matrixBRow + 10];\n\t\tarrayC = new long[matrixALine + 10][matrixBRow + 10];\n\t\tlong sum = 0;\n \t\n\t\t//初期化\n\t\t\n\t\t// Aのデータ入力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t// Bのデータ入力\n\t\tfor (int i = 0; i < matrixARow; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t\n\t\t// Cのデータ作成\n\t\tfor(int i = 0; i < matrixALine; i ++){\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}\n \t\t\n\t\t//出力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t}\n}", "Main", "public static void main(String args[]) {\n\t \tScanner scanner = new Scanner(System.in);\n\t \tint matrixALine = scanner.nextInt();\n\t \tint matrixARow = scanner.nextInt();\n\t \tint matrixBRow = scanner.nextInt();\n\t \tlong[][] arrayA;//配列確保\n\t \tlong[][] arrayB;//配列確保\n\t \tlong[][] arrayC;//配列確保\n\t\tarrayA = new long[matrixALine + 10][matrixARow + 10];\n\t\tarrayB = new long[matrixARow + 10][matrixBRow + 10];\n\t\tarrayC = new long[matrixALine + 10][matrixBRow + 10];\n\t\tlong sum = 0;\n \t\n\t\t//初期化\n\t\t\n\t\t// Aのデータ入力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t// Bのデータ入力\n\t\tfor (int i = 0; i < matrixARow; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t\n\t\t// Cのデータ作成\n\t\tfor(int i = 0; i < matrixALine; i ++){\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}\n \t\t\n\t\t//出力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t}", "main", "{\n\t \tScanner scanner = new Scanner(System.in);\n\t \tint matrixALine = scanner.nextInt();\n\t \tint matrixARow = scanner.nextInt();\n\t \tint matrixBRow = scanner.nextInt();\n\t \tlong[][] arrayA;//配列確保\n\t \tlong[][] arrayB;//配列確保\n\t \tlong[][] arrayC;//配列確保\n\t\tarrayA = new long[matrixALine + 10][matrixARow + 10];\n\t\tarrayB = new long[matrixARow + 10][matrixBRow + 10];\n\t\tarrayC = new long[matrixALine + 10][matrixBRow + 10];\n\t\tlong sum = 0;\n \t\n\t\t//初期化\n\t\t\n\t\t// Aのデータ入力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t// Bのデータ入力\n\t\tfor (int i = 0; i < matrixARow; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}\n\t\t\n\t\t// Cのデータ作成\n\t\tfor(int i = 0; i < matrixALine; i ++){\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}\n \t\t\n\t\t//出力\n\t\tfor (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}\n\t\tscanner.close();\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int matrixALine = scanner.nextInt();", "matrixALine", "scanner.nextInt()", "scanner.nextInt", "scanner", "int matrixARow = scanner.nextInt();", "matrixARow", "scanner.nextInt()", "scanner.nextInt", "scanner", "int matrixBRow = scanner.nextInt();", "matrixBRow", "scanner.nextInt()", "scanner.nextInt", "scanner", "long[][] arrayA;", "arrayA", "long[][] arrayB;", "arrayB", "long[][] arrayC;", "arrayC", "arrayA = new long[matrixALine + 10][matrixARow + 10]", "arrayA", "new long[matrixALine + 10][matrixARow + 10]", "matrixALine + 10", "matrixALine", "10", "matrixARow + 10", "matrixARow", "10", "arrayB = new long[matrixARow + 10][matrixBRow + 10]", "arrayB", "new long[matrixARow + 10][matrixBRow + 10]", "matrixARow + 10", "matrixARow", "10", "matrixBRow + 10", "matrixBRow", "10", "arrayC = new long[matrixALine + 10][matrixBRow + 10]", "arrayC", "new long[matrixALine + 10][matrixBRow + 10]", "matrixALine + 10", "matrixALine", "10", "matrixBRow + 10", "matrixBRow", "10", "long sum = 0;", "sum", "0", "for (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < matrixALine", "i", "matrixALine", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}", "{\n\t\t\tfor (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }\n\t\t}", "for (int j = 0; j < matrixARow; j++) {\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }", "int j = 0;", "int j = 0;", "j", "0", "j < matrixARow", "j", "matrixARow", "j++", "j++", "j", "{\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }", "{\n\t\t\t\tarrayA[i][j] = scanner.nextInt();\n\t\t }", "arrayA[i][j] = scanner.nextInt()", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for (int i = 0; i < matrixARow; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < matrixARow", "i", "matrixARow", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}", "{\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }\n\t\t}", "for (int j = 0; j < matrixBRow; j++) {\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }", "int j = 0;", "int j = 0;", "j", "0", "j < matrixBRow", "j", "matrixBRow", "j++", "j++", "j", "{\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }", "{\n\t\t\t\tarrayB[i][j] = scanner.nextInt();\n\t\t }", "arrayB[i][j] = scanner.nextInt()", "arrayB[i][j]", "arrayB[i]", "arrayB", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i = 0; i < matrixALine; i ++){\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < matrixALine", "i", "matrixALine", "i ++", "i ++", "i", "{\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t}", "for(int k = 0; k <matrixBRow; k ++){\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k <matrixBRow", "k", "matrixBRow", "k ++", "k ++", "k", "{\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}", "{\n\t\t\t\tfor(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}\n\t\t\t\tarrayC[i][k] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}", "for(int j = 0; j < matrixARow; j ++){\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < matrixARow", "j", "matrixARow", "j ++", "j ++", "j", "{\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}", "{\n\t\t\t\t\tsum += arrayA[i][j] * arrayB[j][k];\n\t\t\t\t}", "sum += arrayA[i][j] * arrayB[j][k]", "sum", "arrayA[i][j] * arrayB[j][k]", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "arrayB[j][k]", "arrayB[j]", "arrayB", "j", "k", "arrayC[i][k] = sum", "arrayC[i][k]", "arrayC[i]", "arrayC", "i", "k", "sum", "sum = 0", "sum", "0", "for (int i = 0; i < matrixALine; i++) {\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < matrixALine", "i", "matrixALine", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}", "{\n\t\t\tfor (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }\n\t\t}", "for (int j = 0; j < matrixBRow; j++) {\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }", "int j = 0;", "int j = 0;", "j", "0", "j < matrixBRow", "j", "matrixBRow", "j++", "j++", "j", "{\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }", "{\n\t\t if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");\n\t\t }", "if(j == (matrixBRow -1) )\n\t\t\t\t\tSystem.out.println(arrayC[i][j] );\n\t\t else\n\t\t\t\t\tSystem.out.print(arrayC[i][j] + \" \");", "j == (matrixBRow -1)", "j", "(matrixBRow -1)", "matrixBRow", "1", "System.out.println(arrayC[i][j] )", "System.out.println", "System.out", "System", "System.out", "arrayC[i][j]", "arrayC[i]", "arrayC", "i", "j", "System.out.print(arrayC[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "arrayC[i][j] + \" \"", "arrayC[i][j]", "arrayC[i]", "arrayC", "i", "j", "\" \"", "scanner.close()", "scanner.close", "scanner", "String args[]", "args" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scanner = new Scanner(System.in); int matrixALine = scanner.nextInt(); int matrixARow = scanner.nextInt(); int matrixBRow = scanner.nextInt(); long[][] arrayA;//配列確保 long[][] arrayB;//配列確保 long[][] arrayC;//配列確保 arrayA = new long[matrixALine + 10][matrixARow + 10]; arrayB = new long[matrixARow + 10][matrixBRow + 10]; arrayC = new long[matrixALine + 10][matrixBRow + 10]; long sum = 0; //初期化 // Aのデータ入力 for (int i = 0; i < matrixALine; i++) { for (int j = 0; j < matrixARow; j++) { arrayA[i][j] = scanner.nextInt(); } } // Bのデータ入力 for (int i = 0; i < matrixARow; i++) { for (int j = 0; j < matrixBRow; j++) { arrayB[i][j] = scanner.nextInt(); } } // Cのデータ作成 for(int i = 0; i < matrixALine; i ++){ for(int k = 0; k <matrixBRow; k ++){ for(int j = 0; j < matrixARow; j ++){ sum += arrayA[i][j] * arrayB[j][k]; } arrayC[i][k] = sum; sum = 0; } } //出力 for (int i = 0; i < matrixALine; i++) { for (int j = 0; j < matrixBRow; j++) { if(j == (matrixBRow -1) ) System.out.println(arrayC[i][j] ); else System.out.print(arrayC[i][j] + " "); } } scanner.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, 4, 18, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 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, 18, 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, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 13, 13, 13, 4, 18, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 45, 46 ], [ 45, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 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 ], [ 52, 75 ], [ 75, 76 ], [ 76, 77 ], [ 8, 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 ], [ 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 ], [ 105, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 90, 113 ], [ 113, 114 ], [ 114, 115 ], [ 8, 116 ], [ 116, 117 ], [ 116, 118 ], [ 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 ], [ 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 ], [ 161, 165 ], [ 160, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 166, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 8, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 203, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 189, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 6, 236 ], [ 236, 237 ] ]
[ "import java.util.Scanner;\n\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 l = sc.nextInt();\n sc.nextLine();\n \n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n long C[][] = new long[n][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\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 \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n sc.nextLine();\n \n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n long C[][] = new long[n][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\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 int l = sc.nextInt();\n sc.nextLine();\n \n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n long C[][] = new long[n][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\n }\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n sc.nextLine();\n \n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }\n \n long C[][] = new long[n][l];\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextLine()", "sc.nextLine", "sc", "int A[][] = new int[n][m];", "A", "new int[n][m]", "n", "m", "int B[][] = new int[m][l];", "B", "new int[m][l]", "m", "l", "for(int i=0;i<n;i++){\n for(int j=0;j<m;j++){\n A[i][j] = sc.nextInt();\n }\n sc.nextLine();\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 sc.nextLine();\n }", "{\n for(int j=0;j<m;j++){\n A[i][j] = sc.nextInt();\n }\n sc.nextLine();\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", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }", "{\n for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }\n sc.nextLine();\n }", "for(int j=0;j<l;j++){\n B[i][j] = sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n B[i][j] = sc.nextInt();\n }", "{\n B[i][j] = sc.nextInt();\n }", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextLine()", "sc.nextLine", "sc", "long C[][] = new long[n][l];", "C", "new long[n][l]", "n", "l", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }", "for(int j=0;j<l;j++){\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }", "{\n for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }\n }", "for(int k=0;k<m;k++){\n C[i][j] += A[i][k]*B[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n C[i][j] += A[i][k]*B[k][j];\n }", "{\n C[i][j] += A[i][k]*B[k][j];\n }", "C[i][j] += A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\n }", "{\n for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }\n System.out.println();\n }", "for(int j=0;j<l;j++){\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }", "{\n if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }\n }", "if(j == 0){\n System.out.print(C[i][j]);\n }else{\n System.out.print(\" \"+C[i][j]);\n }", "j == 0", "j", "0", "{\n System.out.print(C[i][j]);\n }", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "{\n System.out.print(\" \"+C[i][j]);\n }", "System.out.print(\" \"+C[i][j])", "System.out.print", "System.out", "System", "System.out", "\" \"+C[i][j]", "\" \"", "C[i][j]", "C[i]", "C", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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 l = sc.nextInt(); sc.nextLine(); int A[][] = new int[n][m]; int B[][] = new int[m][l]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ A[i][j] = sc.nextInt(); } sc.nextLine(); } for(int i=0;i<m;i++){ for(int j=0;j<l;j++){ B[i][j] = sc.nextInt(); } sc.nextLine(); } long C[][] = new long[n][l]; for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ for(int k=0;k<m;k++){ C[i][j] += A[i][k]*B[k][j]; } } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ if(j == 0){ System.out.print(C[i][j]); }else{ System.out.print(" "+C[i][j]); } } 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 192, 5 ], [ 192, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 132, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 171, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 119, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 8, 186 ], [ 186, 187 ], [ 187, 188 ], [ 6, 189 ], [ 189, 190 ], [ 0, 191 ], [ 191, 192 ], [ 191, 193 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\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 l = scan.nextInt();\n\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\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 l = scan.nextInt();\n\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\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 l = scan.nextInt();\n\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "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\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.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 < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}", "b[i][j] = scan.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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 < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "long sum = 0;", "sum", "0", "for (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}", "sum += a[i][k] * b[k][j]", "sum", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "if (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j != l - 1", "j", "l - 1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\t\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 l = scan.nextInt();\n\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\n\n}", "public class Main {\n\t\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 l = scan.nextInt();\n\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\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] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(sum);\n\t\t\t\tif (j != l - 1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t\tscan.close();\n\t}\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 l = scan.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; 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++) { for (int j = 0; j < l; j++) { b[i][j] = scan.nextInt(); } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { long sum = 0; for (int k = 0; k < m; k++) { sum += a[i][k] * b[k][j]; } System.out.print(sum); if (j != l - 1) { System.out.print(" "); } } System.out.println(); } scan.close(); } }
[ 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, 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, 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, 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, 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, 18, 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, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 18, 18, 13, 13, 13, 4, 18, 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 ], [ 290, 8 ], [ 290, 9 ], [ 9, 10 ], [ 9, 11 ], [ 290, 12 ], [ 12, 13 ], [ 12, 14 ], [ 290, 15 ], [ 15, 16 ], [ 15, 17 ], [ 290, 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 ], [ 31, 32 ], [ 20, 33 ], [ 33, 34 ], [ 33, 35 ], [ 20, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 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 ], [ 65, 69 ], [ 64, 70 ], [ 70, 71 ], [ 20, 72 ], [ 72, 73 ], [ 72, 74 ], [ 20, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 20, 111 ], [ 111, 112 ], [ 111, 113 ], [ 20, 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 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 142, 150 ], [ 150, 151 ], [ 151, 152 ], [ 142, 153 ], [ 154, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 155, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 161, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 20, 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 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 190, 191 ], [ 190, 192 ], [ 185, 193 ], [ 193, 194 ], [ 194, 195 ], [ 185, 196 ], [ 197, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 197, 206 ], [ 206, 207 ], [ 207, 208 ], [ 206, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 184, 214 ], [ 214, 215 ], [ 215, 216 ], [ 290, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 217, 223 ], [ 223, 224 ], [ 290, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 235, 236 ], [ 231, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 290, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 246, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 245, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 244, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 290, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 266, 269 ], [ 269, 270 ], [ 290, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 275, 278 ], [ 278, 279 ], [ 290, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 284, 287 ], [ 287, 288 ], [ 0, 289 ], [ 289, 290 ], [ 289, 291 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n void run() {\n int N = readInt();\n int M = readInt();\n int L = 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][L];\n for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }\n long[][] C = new long[N][L];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\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 L = 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][L];\n for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }\n long[][] C = new long[N][L];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\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 L = 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][L];\n for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }\n long[][] C = new long[N][L];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\n }\n }", "run", "{\n int N = readInt();\n int M = readInt();\n int L = 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][L];\n for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }\n long[][] C = new long[N][L];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\n }\n }", "int N = readInt();", "N", "readInt()", "readInt", "int M = readInt();", "M", "readInt()", "readInt", "int L = readInt();", "L", "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][L];", "B", "new int[M][L]", "M", "L", "for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < M", "i", "M", "i++", "i++", "i", "{\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }", "{\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }", "for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < L", "j", "L", "j++", "j++", "j", "{\n B[i][j] = readInt();\n }", "{\n B[i][j] = readInt();\n }", "B[i][j] = readInt()", "B[i][j]", "B[i]", "B", "i", "j", "readInt()", "readInt", "long[][] C = new long[N][L];", "C", "new long[N][L]", "N", "L", "for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }", "{\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }", "for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < L", "j", "L", "j++", "j++", "j", "{\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }", "{\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }", "for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < M", "k", "M", "k++", "k++", "k", "{\n C[i][j] += A[i][k] * B[k][j];\n }", "{\n C[i][j] += A[i][k] * B[k][j];\n }", "C[i][j] += A[i][k] * B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\n }", "{\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\n }", "for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < L", "j", "L", "j++", "j++", "j", "{\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }", "{\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }", "if (j > 0) sysout.print(' ');", "j > 0", "j", "0", "sysout.print(' ')", "sysout.print", "sysout", "' '", "sysout.print(C[i][j])", "sysout.print", "sysout", "C[i][j]", "C[i]", "C", "i", "j", "sysout.println()", "sysout.println", "sysout", "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 L = 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][L];\n for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }\n long[][] C = new long[N][L];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\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 L = 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][L];\n for (int i = 0; i < M; i++) {\n for (int j = 0; j < L; j++) {\n B[i][j] = readInt();\n }\n }\n long[][] C = new long[N][L];\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n for (int k = 0; k < M; k++) {\n C[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n for (int i = 0; i < N; i++) {\n for (int j = 0; j < L; j++) {\n if (j > 0) sysout.print(' ');\n sysout.print(C[i][j]);\n }\n sysout.println();\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 L = 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][L]; for (int i = 0; i < M; i++) { for (int j = 0; j < L; j++) { B[i][j] = readInt(); } } long[][] C = new long[N][L]; for (int i = 0; i < N; i++) { for (int j = 0; j < L; j++) { for (int k = 0; k < M; k++) { C[i][j] += A[i][k] * B[k][j]; } } } for (int i = 0; i < N; i++) { for (int j = 0; j < L; j++) { if (j > 0) sysout.print(' '); sysout.print(C[i][j]); } sysout.println(); } } public static void main(String[] args) { new Main().run(); } // flush automatically iff you call `println` or `printf` or `format`. PrintWriter sysout = new PrintWriter(System.out, true); BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer buffer = null; String readLine() { buffer = null; try { return in.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } String read() { if (buffer == null || !buffer.hasMoreTokens()) { buffer = new StringTokenizer(readLine()); } return buffer.nextToken(); } int readInt() { return Integer.parseInt(read()); } long readLong() { return Long.parseLong(read()); } double readDouble() { return Double.parseDouble(read()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 2, 13, 13, 41, 13, 20, 2, 13, 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, 13, 13, 4, 18, 13, 18, 13, 13, 40, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 13, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 0, 13, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 42, 2, 13, 13, 30, 0, 13, 2, 18, 13, 13, 18, 13, 13, 14, 2, 13, 2, 2, 13, 13, 2, 13, 17, 30, 40, 13, 30, 4, 18, 13, 13, 0, 13, 17, 14, 2, 13, 2, 13, 17, 30, 4, 18, 13, 17, 0, 13, 2, 13, 17, 40, 13, 30, 4, 18, 13, 17, 40, 13, 0, 13, 17, 40, 13, 14, 2, 13, 2, 2, 13, 13, 17, 30, 40, 13, 30, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 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 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 50, 52 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 56, 58 ], [ 8, 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 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 74, 79 ], [ 71, 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 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 100, 102 ], [ 92, 103 ], [ 103, 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 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 123, 128 ], [ 117, 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 ], [ 146, 149 ], [ 149, 150 ], [ 149, 151 ], [ 141, 152 ], [ 152, 153 ], [ 152, 154 ], [ 8, 155 ], [ 155, 156 ], [ 155, 157 ], [ 8, 158 ], [ 158, 159 ], [ 158, 160 ], [ 8, 161 ], [ 161, 162 ], [ 161, 163 ], [ 8, 164 ], [ 164, 165 ], [ 164, 166 ], [ 8, 167 ], [ 167, 168 ], [ 167, 169 ], [ 8, 170 ], [ 170, 171 ], [ 170, 172 ], [ 8, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 184, 186 ], [ 177, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 194, 195 ], [ 194, 196 ], [ 187, 197 ], [ 197, 198 ], [ 198, 199 ], [ 187, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 200, 205 ], [ 205, 206 ], [ 205, 207 ], [ 200, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 211, 213 ], [ 208, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 215, 218 ], [ 214, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 221, 223 ], [ 214, 224 ], [ 224, 225 ], [ 208, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 226, 231 ], [ 231, 232 ], [ 226, 233 ], [ 233, 234 ], [ 233, 235 ], [ 226, 236 ], [ 236, 237 ], [ 177, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 238, 246 ], [ 246, 247 ], [ 247, 248 ], [ 238, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 8, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 253, 258 ], [ 6, 259 ], [ 259, 260 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[] A=new int[n*m];\n int[] B=new int[m*l];\n int h=0;\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }\n for(int j=0;j<m;j++){\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }\n \tint ac=0,bc=0,al=0,c=0;\n \tlong v=0;\n \tStringBuilder sb=new StringBuilder();\n while(c<n){\n \tv+=A[ac]*B[bc];\n \tif(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}\n \tif(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}\n }\n System.out.print(sb);\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[] A=new int[n*m];\n int[] B=new int[m*l];\n int h=0;\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }\n for(int j=0;j<m;j++){\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }\n \tint ac=0,bc=0,al=0,c=0;\n \tlong v=0;\n \tStringBuilder sb=new StringBuilder();\n while(c<n){\n \tv+=A[ac]*B[bc];\n \tif(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}\n \tif(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}\n }\n System.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[] A=new int[n*m];\n int[] B=new int[m*l];\n int h=0;\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }\n for(int j=0;j<m;j++){\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }\n \tint ac=0,bc=0,al=0,c=0;\n \tlong v=0;\n \tStringBuilder sb=new StringBuilder();\n while(c<n){\n \tv+=A[ac]*B[bc];\n \tif(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}\n \tif(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}\n }\n System.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] f=br.readLine().split(\" \");\n int n=Integer.parseInt(f[0]);\n int m=Integer.parseInt(f[1]);\n int l=Integer.parseInt(f[2]);\n int[] A=new int[n*m];\n int[] B=new int[m*l];\n int h=0;\n for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }\n for(int j=0;j<m;j++){\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }\n \tint ac=0,bc=0,al=0,c=0;\n \tlong v=0;\n \tStringBuilder sb=new StringBuilder();\n while(c<n){\n \tv+=A[ac]*B[bc];\n \tif(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}\n \tif(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}\n }\n System.out.print(sb);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] f=br.readLine().split(\" \");", "f", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n=Integer.parseInt(f[0]);", "n", "Integer.parseInt(f[0])", "Integer.parseInt", "Integer", "f[0]", "f", "0", "int m=Integer.parseInt(f[1]);", "m", "Integer.parseInt(f[1])", "Integer.parseInt", "Integer", "f[1]", "f", "1", "int l=Integer.parseInt(f[2]);", "l", "Integer.parseInt(f[2])", "Integer.parseInt", "Integer", "f[2]", "f", "2", "int[] A=new int[n*m];", "A", "new int[n*m]", "n*m", "n", "m", "int[] B=new int[m*l];", "B", "new int[m*l]", "m*l", "m", "l", "int h=0;", "h", "0", "for(int i=0;i<n;i++){\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }", "{\n \tString[] s=br.readLine().split(\" \");\n \tfor(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}\n }", "String[] s=br.readLine().split(\" \");", "s", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0;j<m;j++){\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}", "{\n \t\tA[h]=Integer.parseInt(s[j]);\n \t\th++;\n \t}", "A[h]=Integer.parseInt(s[j])", "A[h]", "A", "h", "Integer.parseInt(s[j])", "Integer.parseInt", "Integer", "s[j]", "s", "j", "h++", "h", "for(int j=0;j<m;j++){\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }", "{\n \tint bc=j;\n \tString[] t=br.readLine().split(\" \");\n \tfor(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}\n }", "int bc=j;", "bc", "j", "String[] t=br.readLine().split(\" \");", "t", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int k=0;k<l;k++){\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}", "int k=0;", "int k=0;", "k", "0", "k<l", "k", "l", "k++", "k++", "k", "{\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}", "{\n \t\tB[bc]=Integer.parseInt(t[k]);\n \t\tbc+=m;\n \t}", "B[bc]=Integer.parseInt(t[k])", "B[bc]", "B", "bc", "Integer.parseInt(t[k])", "Integer.parseInt", "Integer", "t[k]", "t", "k", "bc+=m", "bc", "m", "int ac=0", "ac", "0", "bc=0", "bc", "0", "al=0", "al", "0", "c=0;", "c", "0", "long v=0;", "v", "0", "StringBuilder sb=new StringBuilder();", "sb", "new StringBuilder()", "while(c<n){\n \tv+=A[ac]*B[bc];\n \tif(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}\n \tif(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}\n }", "c<n", "c", "n", "{\n \tv+=A[ac]*B[bc];\n \tif(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}\n \tif(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}\n }", "v+=A[ac]*B[bc]", "v", "A[ac]*B[bc]", "A[ac]", "A", "ac", "B[bc]", "B", "bc", "if(ac<(c*m+(m-1))){\n \t\tac++;\n \t}else{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}", "ac<(c*m+(m-1))", "ac", "(c*m+(m-1))", "c*m", "c", "m", "(m-1)", "m", "1", "{\n \t\tac++;\n \t}", "ac++", "ac", "{\n \t\tsb.append(v);\n \t\tv=0;\n \t\tif(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}\n \t}", "sb.append(v)", "sb.append", "sb", "v", "v=0", "v", "0", "if(al<l-1){\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}else{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}", "al<l-1", "al", "l-1", "l", "1", "{\n \t\t\tsb.append(\" \");\n \t\t\tac-=m-1;\n \t\t\tal++;\n \t\t}", "sb.append(\" \")", "sb.append", "sb", "\" \"", "ac-=m-1", "ac", "m-1", "m", "1", "al++", "al", "{\n \t\t\tsb.append(\"\\n\");\n \t\t\tac++;\n \t\t\tal=0;\n \t\t\tc++;\n \t\t}", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "ac++", "ac", "al=0", "al", "0", "c++", "c", "if(bc<m*l-1){\n \t\tbc++;\n \t}else{\n \t\tbc=0;\n \t}", "bc<m*l-1", "bc", "m*l-1", "m*l", "m", "l", "1", "{\n \t\tbc++;\n \t}", "bc++", "bc", "{\n \t\tbc=0;\n \t}", "bc=0", "bc", "0", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "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[] f=br.readLine().split(" "); int n=Integer.parseInt(f[0]); int m=Integer.parseInt(f[1]); int l=Integer.parseInt(f[2]); int[] A=new int[n*m]; int[] B=new int[m*l]; int h=0; for(int i=0;i<n;i++){ String[] s=br.readLine().split(" "); for(int j=0;j<m;j++){ A[h]=Integer.parseInt(s[j]); h++; } } for(int j=0;j<m;j++){ int bc=j; String[] t=br.readLine().split(" "); for(int k=0;k<l;k++){ B[bc]=Integer.parseInt(t[k]); bc+=m; } } int ac=0,bc=0,al=0,c=0; long v=0; StringBuilder sb=new StringBuilder(); while(c<n){ v+=A[ac]*B[bc]; if(ac<(c*m+(m-1))){ ac++; }else{ sb.append(v); v=0; if(al<l-1){ sb.append(" "); ac-=m-1; al++; }else{ sb.append("\n"); ac++; al=0; c++; } } if(bc<m*l-1){ bc++; }else{ bc=0; } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 3, 4, 18, 18, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 196, 5 ], [ 196, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 119, 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 ], [ 134, 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 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 153, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 134, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 134, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 170, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 176, 183 ], [ 134, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 8, 190 ], [ 190, 191 ], [ 191, 192 ], [ 6, 193 ], [ 193, 194 ], [ 0, 195 ], [ 195, 196 ], [ 195, 197 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n\t\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tsc.close();\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 l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\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 l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = 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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\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\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}", "{\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}", "long c;", "c", "for(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}", "c = 0", "c", "0", "for(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}", "c += A[i][k] * B[k][j]", "c", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "System.out.print(c)", "System.out.print", "System.out", "System", "System.out", "c", "if(j == l - 1) { System.out.println(\"\"); break;}", "j == l - 1", "j", "l - 1", "l", "1", "{ System.out.println(\"\"); break;}", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "break;", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tsc.close();\n\t}\n\t\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tlong c;\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tc = 0;\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(c);\n\t\t\t\tif(j == l - 1) { System.out.println(\"\"); break;}\n\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t\tsc.close();\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 l = sc.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; 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++) { for(int j = 0; j < l; j++) { B[i][j] = sc.nextInt(); } } for(int i = 0; i < n; i++) { long c; for(int j = 0; j < l; j++) { c = 0; for(int k = 0; k < m; k++) { c += A[i][k] * B[k][j]; } System.out.print(c); if(j == l - 1) { System.out.println(""); break;} System.out.print(" "); } } sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 25, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 22, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 22, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 52, 54 ], [ 22, 55 ], [ 55, 56 ], [ 55, 57 ], [ 22, 60 ], [ 60, 61 ], [ 60, 62 ], [ 22, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 80, 85 ], [ 77, 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 ], [ 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 ], [ 129, 130 ], [ 126, 131 ], [ 123, 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 ], [ 146, 150 ], [ 145, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 154, 156 ], [ 22, 157 ], [ 157, 158 ], [ 157, 159 ], [ 22, 160 ], [ 160, 161 ], [ 22, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 162, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 175, 183 ], [ 183, 184 ], [ 184, 185 ], [ 175, 186 ], [ 187, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 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 ], [ 204, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 206, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 187, 217 ], [ 217, 218 ], [ 218, 219 ], [ 217, 220 ], [ 187, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 174, 225 ], [ 225, 226 ], [ 226, 227 ], [ 225, 228 ], [ 228, 229 ], [ 229, 230 ], [ 228, 231 ], [ 174, 232 ], [ 232, 233 ], [ 233, 234 ], [ 232, 235 ], [ 22, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 236, 241 ], [ 6, 242 ], [ 242, 243 ] ]
[ "import java.io.*;\n \nclass Main {\n public static void main(String[] args) {\n BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n try {\n \n String[] str = kb.readLine().split( \" \" );\n int n = Integer.parseInt( str[0] );\n int m = Integer.parseInt( str[1] );\n int l = Integer.parseInt( str[2] );\n \n int[][] matrixA = new int[n][m];\n int[][] matrixB = new int[m][l];\n for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }\n for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }\n StringBuilder output = new\tStringBuilder( 400+1 );\t\n \t\t\tlong c;\n for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }\n \n System.out.print( output );\n \n } catch( IOException e ) {\n System.err.println( e );\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main(String[] args) {\n BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n try {\n \n String[] str = kb.readLine().split( \" \" );\n int n = Integer.parseInt( str[0] );\n int m = Integer.parseInt( str[1] );\n int l = Integer.parseInt( str[2] );\n \n int[][] matrixA = new int[n][m];\n int[][] matrixB = new int[m][l];\n for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }\n for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }\n StringBuilder output = new\tStringBuilder( 400+1 );\t\n \t\t\tlong c;\n for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }\n \n System.out.print( output );\n \n } catch( IOException e ) {\n System.err.println( e );\n }\n }\n}", "Main", "public static void main(String[] args) {\n BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n try {\n \n String[] str = kb.readLine().split( \" \" );\n int n = Integer.parseInt( str[0] );\n int m = Integer.parseInt( str[1] );\n int l = Integer.parseInt( str[2] );\n \n int[][] matrixA = new int[n][m];\n int[][] matrixB = new int[m][l];\n for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }\n for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }\n StringBuilder output = new\tStringBuilder( 400+1 );\t\n \t\t\tlong c;\n for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }\n \n System.out.print( output );\n \n } catch( IOException e ) {\n System.err.println( e );\n }\n }", "main", "{\n BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );\n try {\n \n String[] str = kb.readLine().split( \" \" );\n int n = Integer.parseInt( str[0] );\n int m = Integer.parseInt( str[1] );\n int l = Integer.parseInt( str[2] );\n \n int[][] matrixA = new int[n][m];\n int[][] matrixB = new int[m][l];\n for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }\n for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }\n StringBuilder output = new\tStringBuilder( 400+1 );\t\n \t\t\tlong c;\n for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }\n \n System.out.print( output );\n \n } catch( IOException e ) {\n System.err.println( e );\n }\n }", "BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) );", "kb", "new BufferedReader( new InputStreamReader( System.in ) )", "try {\n \n String[] str = kb.readLine().split( \" \" );\n int n = Integer.parseInt( str[0] );\n int m = Integer.parseInt( str[1] );\n int l = Integer.parseInt( str[2] );\n \n int[][] matrixA = new int[n][m];\n int[][] matrixB = new int[m][l];\n for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }\n for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }\n StringBuilder output = new\tStringBuilder( 400+1 );\t\n \t\t\tlong c;\n for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }\n \n System.out.print( output );\n \n } catch( IOException e ) {\n System.err.println( e );\n }", "catch( IOException e ) {\n System.err.println( e );\n }", "IOException e", "{\n System.err.println( e );\n }", "System.err.println( e )", "System.err.println", "System.err", "System", "System.err", "e", "{\n \n String[] str = kb.readLine().split( \" \" );\n int n = Integer.parseInt( str[0] );\n int m = Integer.parseInt( str[1] );\n int l = Integer.parseInt( str[2] );\n \n int[][] matrixA = new int[n][m];\n int[][] matrixB = new int[m][l];\n for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }\n for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }\n StringBuilder output = new\tStringBuilder( 400+1 );\t\n \t\t\tlong c;\n for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }\n \n System.out.print( output );\n \n }", "String[] str = kb.readLine().split( \" \" );", "str", "kb.readLine().split( \" \" )", "kb.readLine().split", "kb.readLine()", "kb.readLine", "kb", "\" \"", "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 l = Integer.parseInt( str[2] );", "l", "Integer.parseInt( str[2] )", "Integer.parseInt", "Integer", "str[2]", "str", "2", "int[][] matrixA = new int[n][m];", "matrixA", "new int[n][m]", "n", "m", "int[][] matrixB = new int[m][l];", "matrixB", "new int[m][l]", "m", "l", "for( int i=0; i<n; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[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 = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }", "{\n str = kb.readLine().split( \" \" );\n for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }\n }", "str = kb.readLine().split( \" \" )", "str", "kb.readLine().split( \" \" )", "kb.readLine().split", "kb.readLine()", "kb.readLine", "kb", "\" \"", "for( int j=0; j<m; j++ ) {\n matrixA[i][j] = Integer.parseInt( str[j] );\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n matrixA[i][j] = Integer.parseInt( str[j] );\n }", "{\n matrixA[i][j] = Integer.parseInt( str[j] );\n }", "matrixA[i][j] = Integer.parseInt( str[j] )", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Integer.parseInt( str[j] )", "Integer.parseInt", "Integer", "str[j]", "str", "j", "for( int i=0; i<m; i++ ) {\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }", "{\n str = kb.readLine().split( \" \" );\n for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }\n }", "str = kb.readLine().split( \" \" )", "str", "kb.readLine().split( \" \" )", "kb.readLine().split", "kb.readLine()", "kb.readLine", "kb", "\" \"", "for( int j=0; j<l; j++ ) {\n matrixB[i][j] = Integer.parseInt( str[j] );\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n matrixB[i][j] = Integer.parseInt( str[j] );\n }", "{\n matrixB[i][j] = Integer.parseInt( str[j] );\n }", "matrixB[i][j] = Integer.parseInt( str[j] )", "matrixB[i][j]", "matrixB[i]", "matrixB", "i", "j", "Integer.parseInt( str[j] )", "Integer.parseInt", "Integer", "str[j]", "str", "j", "StringBuilder output = new\tStringBuilder( 400+1 );", "output", "new\tStringBuilder( 400+1 )", "long c;", "c", "for( int i=0; i<n; i++ ) {\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }", "{\n for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }\n output.deleteCharAt( output.lastIndexOf( \" \" ) );\n output.append( \"\\n\" );\n }", "for( int j=0; j<l; j++ ) {\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }", "{\n \tc = 0;\n\t for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }\n output.append( c );\n output.append( \" \" );\n }", "c = 0", "c", "0", "for( int k=0; k<m; k++ ) {\n c += ( matrixA[i][k] * matrixB[k][j] );\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n c += ( matrixA[i][k] * matrixB[k][j] );\n }", "{\n c += ( matrixA[i][k] * matrixB[k][j] );\n }", "c += ( matrixA[i][k] * matrixB[k][j] )", "c", "( matrixA[i][k] * matrixB[k][j] )", "matrixA[i][k]", "matrixA[i]", "matrixA", "i", "k", "matrixB[k][j]", "matrixB[k]", "matrixB", "k", "j", "output.append( c )", "output.append", "output", "c", "output.append( \" \" )", "output.append", "output", "\" \"", "output.deleteCharAt( output.lastIndexOf( \" \" ) )", "output.deleteCharAt", "output", "output.lastIndexOf( \" \" )", "output.lastIndexOf", "output", "\" \"", "output.append( \"\\n\" )", "output.append", "output", "\"\\n\"", "System.out.print( output )", "System.out.print", "System.out", "System", "System.out", "output", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) { BufferedReader kb = new BufferedReader( new InputStreamReader( System.in ) ); try { String[] str = kb.readLine().split( " " ); int n = Integer.parseInt( str[0] ); int m = Integer.parseInt( str[1] ); int l = Integer.parseInt( str[2] ); int[][] matrixA = new int[n][m]; int[][] matrixB = new int[m][l]; for( int i=0; i<n; i++ ) { str = kb.readLine().split( " " ); for( int j=0; j<m; j++ ) { matrixA[i][j] = Integer.parseInt( str[j] ); } } for( int i=0; i<m; i++ ) { str = kb.readLine().split( " " ); for( int j=0; j<l; j++ ) { matrixB[i][j] = Integer.parseInt( str[j] ); } } StringBuilder output = new StringBuilder( 400+1 ); long c; for( int i=0; i<n; i++ ) { for( int j=0; j<l; j++ ) { c = 0; for( int k=0; k<m; k++ ) { c += ( matrixA[i][k] * matrixB[k][j] ); } output.append( c ); output.append( " " ); } output.deleteCharAt( output.lastIndexOf( " " ) ); output.append( "\n" ); } System.out.print( output ); } catch( IOException e ) { System.err.println( e ); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 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, 2, 18, 18, 13, 13, 13, 18, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 243, 8 ], [ 243, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 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 ], [ 11, 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 ], [ 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 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 11, 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 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 128, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 141, 147 ], [ 140, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 148, 156 ], [ 156, 157 ], [ 157, 158 ], [ 148, 159 ], [ 160, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 161, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 173, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 11, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 184, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 202, 203 ], [ 202, 204 ], [ 197, 205 ], [ 205, 206 ], [ 206, 207 ], [ 197, 208 ], [ 209, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 213, 215 ], [ 210, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 210, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 228, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 234, 238 ], [ 233, 239 ], [ 9, 240 ], [ 240, 241 ], [ 0, 242 ], [ 242, 243 ], [ 242, 244 ] ]
[ "import java.util.*;\nimport java.io.*;\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 l = scanner.nextInt();\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\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\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\n }\n\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "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 l = scanner.nextInt();\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\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\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\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 l = scanner.nextInt();\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\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\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\n }\n\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n int m = scanner.nextInt();\n int l = scanner.nextInt();\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\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\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\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 l = scanner.nextInt();", "l", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "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 for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }", "{\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }", "for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n B[i][j] = scanner.nextInt();\n }", "{\n B[i][j] = scanner.nextInt();\n }", "B[i][j] = scanner.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }", "{\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }", "for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }", "{\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }", "C[i][j] = 0", "C[i][j]", "C[i]", "C", "i", "j", "0", "for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }", "{\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }", "C[i][j] = C[i][j] + (long)A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "C[i][j] + (long)A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "(long)A[i][k]*B[k][j]", "(long)A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\n }", "{\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\n }", "for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }", "{\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }", "if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }", "j==l-1", "j", "l-1", "l", "1", "{\n System.out.println(C[i][j]);\n }", "System.out.println(C[i][j])", "System.out.println", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "{\n System.out.print(C[i][j] + \" \");\n }", "System.out.print(C[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "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 l = scanner.nextInt();\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\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\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\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 l = scanner.nextInt();\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n\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\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++){\n B[i][j] = scanner.nextInt();\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n C[i][j] = 0;\n for(int k=0;k<m;k++){\n C[i][j] = C[i][j] + (long)A[i][k]*B[k][j];\n }\n }\n }\n\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n if(j==l-1){\n System.out.println(C[i][j]);\n }else{\n System.out.print(C[i][j] + \" \");\n }\n }\n }\n\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int l = scanner.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; 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++){ for(int j=0;j<l;j++){ B[i][j] = scanner.nextInt(); } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ C[i][j] = 0; for(int k=0;k<m;k++){ C[i][j] = C[i][j] + (long)A[i][k]*B[k][j]; } } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ if(j==l-1){ System.out.println(C[i][j]); }else{ System.out.print(C[i][j] + " "); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 224, 5 ], [ 224, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 193, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 207, 209 ], [ 204, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 210, 215 ], [ 180, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 6, 221 ], [ 221, 222 ], [ 0, 223 ], [ 223, 224 ], [ 223, 225 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }\n \n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }\n \n }\n}", "Main", "public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }\n \n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "long[][] a = new long[n][m];", "a", "new long[n][m]", "n", "m", "long[][] b = new long[m][l];", "b", "new long[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "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", "for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }", "{\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }", "for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = sc.nextInt();\n }", "{\n b[i][j] = sc.nextInt();\n }", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }", "{\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }", "for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n }", "{\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n }", "for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n c[i][j] += a[i][k] * b[k][j];\n }", "{\n c[i][j] += a[i][k] * b[k][j];\n }", "c[i][j] += a[i][k] * b[k][j]", "c[i][j]", "c[i]", "c", "i", "j", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }", "{\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }", "for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }", "{\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }", "System.out.print(c[i][j])", "System.out.print", "System.out", "System", "System.out", "c[i][j]", "c[i]", "c", "i", "j", "if(j != l-1) System.out.print(\" \");", "j != l-1", "j", "l-1", "l", "1", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\n }\n \n }\n}", "public class Main {\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] c = new long[n][l];\n \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 for(int i=0; i < m; i++){\n for(int j=0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n \n for(int k=0; k<m; k++){\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n c[i][j] += a[i][k] * b[k][j];\n }\n } \n }\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n System.out.print(c[i][j]);\n if(j != l-1) System.out.print(\" \");\n }\n System.out.println();\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 l = sc.nextInt(); long[][] a = new long[n][m]; long[][] b = new long[m][l]; long[][] c = new long[n][l]; 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++){ for(int j=0; j < l; j++){ b[i][j] = sc.nextInt(); } } for(int k=0; k<m; k++){ for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ c[i][j] += a[i][k] * b[k][j]; } } } for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ System.out.print(c[i][j]); if(j != l-1) System.out.print(" "); } 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, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 41, 13, 20, 18, 13, 17, 18, 13, 17, 41, 13, 20, 18, 13, 17, 18, 13, 17, 41, 13, 20, 18, 13, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 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, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 11, 1, 41, 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, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 317, 5 ], [ 317, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 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 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 55, 56 ], [ 55, 57 ], [ 58, 59 ], [ 58, 60 ], [ 8, 61 ], [ 61, 62 ], [ 61, 63 ], [ 64, 65 ], [ 64, 66 ], [ 67, 68 ], [ 67, 69 ], [ 8, 70 ], [ 70, 71 ], [ 70, 72 ], [ 73, 74 ], [ 73, 75 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 79, 89 ], [ 89, 90 ], [ 90, 91 ], [ 79, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 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 ], [ 112, 113 ], [ 112, 114 ], [ 105, 115 ], [ 115, 116 ], [ 116, 117 ], [ 105, 118 ], [ 119, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 129, 130 ], [ 129, 131 ], [ 8, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 132, 142 ], [ 142, 143 ], [ 143, 144 ], [ 132, 145 ], [ 146, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 146, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 146, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 165, 167 ], [ 158, 168 ], [ 168, 169 ], [ 169, 170 ], [ 158, 171 ], [ 172, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 173, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 182, 184 ], [ 8, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 185, 195 ], [ 195, 196 ], [ 196, 197 ], [ 185, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 200, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 207, 209 ], [ 200, 210 ], [ 210, 211 ], [ 211, 212 ], [ 200, 213 ], [ 214, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 225, 227 ], [ 218, 228 ], [ 228, 229 ], [ 229, 230 ], [ 218, 231 ], [ 232, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 236, 240 ], [ 235, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 214, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 246, 252 ], [ 8, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 253, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 260, 262 ], [ 253, 263 ], [ 263, 264 ], [ 264, 265 ], [ 253, 266 ], [ 267, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 268, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 275, 277 ], [ 268, 278 ], [ 278, 279 ], [ 279, 280 ], [ 268, 281 ], [ 282, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 283, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 288, 292 ], [ 282, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 296, 300 ], [ 293, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 302, 307 ], [ 267, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 308, 313 ], [ 6, 314 ], [ 314, 315 ], [ 0, 316 ], [ 316, 317 ], [ 316, 318 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] k = line.split(\" \");\n\t\tint[] v = new int[3];\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tlong[][] suuretu = new long[v[0]][v[2]];\n\n\t\tint[][] suuretua = new int[v[0]][v[1]];\n\t\tint[][] suuretub = new int[v[1]][v[2]];\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] k = line.split(\" \");\n\t\tint[] v = new int[3];\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tlong[][] suuretu = new long[v[0]][v[2]];\n\n\t\tint[][] suuretua = new int[v[0]][v[1]];\n\t\tint[][] suuretub = new int[v[1]][v[2]];\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] k = line.split(\" \");\n\t\tint[] v = new int[3];\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tlong[][] suuretu = new long[v[0]][v[2]];\n\n\t\tint[][] suuretua = new int[v[0]][v[1]];\n\t\tint[][] suuretub = new int[v[1]][v[2]];\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] k = line.split(\" \");\n\t\tint[] v = new int[3];\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tlong[][] suuretu = new long[v[0]][v[2]];\n\n\t\tint[][] suuretua = new int[v[0]][v[1]];\n\t\tint[][] suuretub = new int[v[1]][v[2]];\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] k = line.split(\" \");", "k", "line.split(\" \")", "line.split", "line", "\" \"", "int[] v = new int[3];", "v", "new int[3]", "3", "for (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\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\tv[i] = Integer.parseInt(k[i]);\n\t\t}", "{\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}", "v[i] = Integer.parseInt(k[i])", "v[i]", "v", "i", "Integer.parseInt(k[i])", "Integer.parseInt", "Integer", "k[i]", "k", "i", "long[][] suuretu = new long[v[0]][v[2]];", "suuretu", "new long[v[0]][v[2]]", "v[0]", "v", "0", "v[2]", "v", "2", "int[][] suuretua = new int[v[0]][v[1]];", "suuretua", "new int[v[0]][v[1]]", "v[0]", "v", "0", "v[1]", "v", "1", "int[][] suuretub = new int[v[1]][v[2]];", "suuretub", "new int[v[1]][v[2]]", "v[1]", "v", "1", "v[2]", "v", "2", "for (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < v[0]", "i", "v[0]", "v", "0", "i++", "i++", "i", "{\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}", "String line2 = sc.nextLine();", "line2", "sc.nextLine()", "sc.nextLine", "sc", "String[] k2 = line2.split(\" \");", "k2", "line2.split(\" \")", "line2.split", "line2", "\" \"", "for (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}", "int j2 = 0;", "int j2 = 0;", "j2", "0", "j2 < v[1]", "j2", "v[1]", "v", "1", "j2++", "j2++", "j2", "{\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}", "{\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}", "suuretua[i][j2] = Integer.parseInt(k2[j2])", "suuretua[i][j2]", "suuretua[i]", "suuretua", "i", "j2", "Integer.parseInt(k2[j2])", "Integer.parseInt", "Integer", "k2[j2]", "k2", "j2", "for (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < v[1]", "i", "v[1]", "v", "1", "i++", "i++", "i", "{\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}", "String line2 = sc.nextLine();", "line2", "sc.nextLine()", "sc.nextLine", "sc", "String[] k2 = line2.split(\" \");", "k2", "line2.split(\" \")", "line2.split", "line2", "\" \"", "for (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}", "int j2 = 0;", "int j2 = 0;", "j2", "0", "j2 < v[2]", "j2", "v[2]", "v", "2", "j2++", "j2++", "j2", "{\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}", "{\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}", "suuretub[i][j2] = Integer.parseInt(k2[j2])", "suuretub[i][j2]", "suuretub[i]", "suuretub", "i", "j2", "Integer.parseInt(k2[j2])", "Integer.parseInt", "Integer", "k2[j2]", "k2", "j2", "for (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < v[0]", "i", "v[0]", "v", "0", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}", "for (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < v[2]", "j", "v[2]", "v", "2", "j++", "j++", "j", "{\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}", "{\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}", "long sum = 0;", "sum", "0", "for (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}", "int j2 = 0;", "int j2 = 0;", "j2", "0", "j2 < v[1]", "j2", "v[1]", "v", "1", "j2++", "j2++", "j2", "{\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}", "{\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}", "sum += suuretua[i][j2]*suuretub[j2][j]", "sum", "suuretua[i][j2]*suuretub[j2][j]", "suuretua[i][j2]", "suuretua[i]", "suuretua", "i", "j2", "suuretub[j2][j]", "suuretub[j2]", "suuretub", "j2", "j", "suuretu[i][j] = sum", "suuretu[i][j]", "suuretu[i]", "suuretu", "i", "j", "sum", "for (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < v[0]", "i", "v[0]", "v", "0", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "for (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < v[2]", "j", "v[2]", "v", "2", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "System.out.print(suuretu[i][j])", "System.out.print", "System.out", "System", "System.out", "suuretu[i][j]", "suuretu[i]", "suuretu", "i", "j", "if (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j!=v[2]-1", "j", "v[2]-1", "v[2]", "v", "2", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "String[] arges", "arges", "public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] k = line.split(\" \");\n\t\tint[] v = new int[3];\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tlong[][] suuretu = new long[v[0]][v[2]];\n\n\t\tint[][] suuretua = new int[v[0]][v[1]];\n\t\tint[][] suuretub = new int[v[1]][v[2]];\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tString[] k = line.split(\" \");\n\t\tint[] v = new int[3];\n\t\tfor (int i = 0; i < v.length; i++) {\n\t\t\tv[i] = Integer.parseInt(k[i]);\n\t\t}\n\t\tlong[][] suuretu = new long[v[0]][v[2]];\n\n\t\tint[][] suuretua = new int[v[0]][v[1]];\n\t\tint[][] suuretub = new int[v[1]][v[2]];\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\tsuuretua[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[1]; i++) {\n\t\t\tString line2 = sc.nextLine();\n\t\t\tString[] k2 = line2.split(\" \");\n\n\t\t\tfor (int j2 = 0; j2 < v[2]; j2++) {\n\t\t\t\tsuuretub[i][j2] = Integer.parseInt(k2[j2]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int j2 = 0; j2 < v[1]; j2++) {\n\t\t\t\t\tsum += suuretua[i][j2]*suuretub[j2][j];\n\t\t\t\t}suuretu[i][j] = sum;\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < v[0]; i++) {\n\t\t\tfor (int j = 0; j < v[2]; j++) {\n\t\t\t\tSystem.out.print(suuretu[i][j]);\n\t\t\t\tif (j!=v[2]-1) {\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] arges) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); String[] k = line.split(" "); int[] v = new int[3]; for (int i = 0; i < v.length; i++) { v[i] = Integer.parseInt(k[i]); } long[][] suuretu = new long[v[0]][v[2]]; int[][] suuretua = new int[v[0]][v[1]]; int[][] suuretub = new int[v[1]][v[2]]; for (int i = 0; i < v[0]; i++) { String line2 = sc.nextLine(); String[] k2 = line2.split(" "); for (int j2 = 0; j2 < v[1]; j2++) { suuretua[i][j2] = Integer.parseInt(k2[j2]); } } for (int i = 0; i < v[1]; i++) { String line2 = sc.nextLine(); String[] k2 = line2.split(" "); for (int j2 = 0; j2 < v[2]; j2++) { suuretub[i][j2] = Integer.parseInt(k2[j2]); } } for (int i = 0; i < v[0]; i++) { for (int j = 0; j < v[2]; j++) { long sum = 0; for (int j2 = 0; j2 < v[1]; j2++) { sum += suuretua[i][j2]*suuretub[j2][j]; }suuretu[i][j] = sum; } } for (int i = 0; i < v[0]; i++) { for (int j = 0; j < v[2]; j++) { System.out.print(suuretu[i][j]); if (j!=v[2]-1) { System.out.print(" "); } } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 229, 5 ], [ 229, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 125, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 137, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 8, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 194, 196 ], [ 187, 197 ], [ 197, 198 ], [ 198, 199 ], [ 187, 200 ], [ 201, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 207, 213 ], [ 186, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 223, 224 ], [ 223, 225 ], [ 6, 226 ], [ 226, 227 ], [ 0, 228 ], [ 228, 229 ], [ 228, 230 ] ]
[ "import java.util.Scanner;\npublic class Main{\n\tpublic static void main(String[]args){\n\tScanner scan=new Scanner(System.in);\n\tint a=scan.nextInt();\n\tint b=scan.nextInt();\n\tint c=scan.nextInt();\n\tlong d[][]=new long[a][b];\n\tlong e[][]=new long[b][c];\n\tlong ans[][]=new long[a][c];\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[]args){\n\tScanner scan=new Scanner(System.in);\n\tint a=scan.nextInt();\n\tint b=scan.nextInt();\n\tint c=scan.nextInt();\n\tlong d[][]=new long[a][b];\n\tlong e[][]=new long[b][c];\n\tlong ans[][]=new long[a][c];\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}\n\t}\n}", "Main", "public static void main(String[]args){\n\tScanner scan=new Scanner(System.in);\n\tint a=scan.nextInt();\n\tint b=scan.nextInt();\n\tint c=scan.nextInt();\n\tlong d[][]=new long[a][b];\n\tlong e[][]=new long[b][c];\n\tlong ans[][]=new long[a][c];\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}\n\t}", "main", "{\n\tScanner scan=new Scanner(System.in);\n\tint a=scan.nextInt();\n\tint b=scan.nextInt();\n\tint c=scan.nextInt();\n\tlong d[][]=new long[a][b];\n\tlong e[][]=new long[b][c];\n\tlong ans[][]=new long[a][c];\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a=scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "int b=scan.nextInt();", "b", "scan.nextInt()", "scan.nextInt", "scan", "int c=scan.nextInt();", "c", "scan.nextInt()", "scan.nextInt", "scan", "long d[][]=new long[a][b];", "d", "new long[a][b]", "a", "b", "long e[][]=new long[b][c];", "e", "new long[b][c]", "b", "c", "long ans[][]=new long[a][c];", "ans", "new long[a][c]", "a", "c", "for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}", "{\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}", "for(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j<b", "j", "b", "j++", "j++", "j", "{\n\t\t\td[i][j]=scan.nextInt();\n\t\t}", "{\n\t\t\td[i][j]=scan.nextInt();\n\t\t}", "d[i][j]=scan.nextInt()", "d[i][j]", "d[i]", "d", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}", "int i=0;", "int i=0;", "i", "0", "i<b", "i", "b", "i++", "i++", "i", "{\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}", "{\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}", "for(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j<c", "j", "c", "j++", "j++", "j", "{\n\t\t\te[i][j]=scan.nextInt();\n\t\t}", "{\n\t\t\te[i][j]=scan.nextInt();\n\t\t}", "e[i][j]=scan.nextInt()", "e[i][j]", "e[i]", "e", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}", "{\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}", "for(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j<c", "j", "c", "j++", "j++", "j", "{\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}", "{\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}", "long C=0;", "C", "0", "for(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<b", "k", "b", "k++", "k++", "k", "{\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}", "{\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}", "C+=d[i][k]*e[k][j]", "C", "d[i][k]*e[k][j]", "d[i][k]", "d[i]", "d", "i", "k", "e[k][j]", "e[k]", "e", "k", "j", "ans[i][j]=C", "ans[i][j]", "ans[i]", "ans", "i", "j", "C", "for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}", "{\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}", "for(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j<c-1", "j", "c-1", "c", "1", "j++", "j++", "j", "{\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}", "{\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}", "System.out.print(ans[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "ans[i][j]+\" \"", "ans[i][j]", "ans[i]", "ans", "i", "j", "\" \"", "System.out.println(ans[i][c-1])", "System.out.println", "System.out", "System", "System.out", "ans[i][c-1]", "ans[i]", "ans", "i", "c-1", "c", "1", "String[]args", "args", "public class Main{\n\tpublic static void main(String[]args){\n\tScanner scan=new Scanner(System.in);\n\tint a=scan.nextInt();\n\tint b=scan.nextInt();\n\tint c=scan.nextInt();\n\tlong d[][]=new long[a][b];\n\tlong e[][]=new long[b][c];\n\tlong ans[][]=new long[a][c];\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[]args){\n\tScanner scan=new Scanner(System.in);\n\tint a=scan.nextInt();\n\tint b=scan.nextInt();\n\tint c=scan.nextInt();\n\tlong d[][]=new long[a][b];\n\tlong e[][]=new long[b][c];\n\tlong ans[][]=new long[a][c];\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<b;j++) {\n\t\t\td[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<b;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\te[i][j]=scan.nextInt();\n\t\t}\n\t}\n\tfor(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c;j++) {\n\t\t\tlong C=0;\n\t\t\tfor(int k=0;k<b;k++) {\n\t\t\t\tC+=d[i][k]*e[k][j];\n\t\t\t}\n\t\t\tans[i][j]=C;\n\t\t}\n\t}for(int i=0;i<a;i++) {\n\t\tfor(int j=0;j<c-1;j++) {\n\t\t\tSystem.out.print(ans[i][j]+\" \");\n\t\t}\n\t\tSystem.out.println(ans[i][c-1]);\n\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 a=scan.nextInt(); int b=scan.nextInt(); int c=scan.nextInt(); long d[][]=new long[a][b]; long e[][]=new long[b][c]; long ans[][]=new long[a][c]; for(int i=0;i<a;i++) { for(int j=0;j<b;j++) { d[i][j]=scan.nextInt(); } } for(int i=0;i<b;i++) { for(int j=0;j<c;j++) { e[i][j]=scan.nextInt(); } } for(int i=0;i<a;i++) { for(int j=0;j<c;j++) { long C=0; for(int k=0;k<b;k++) { C+=d[i][k]*e[k][j]; } ans[i][j]=C; } }for(int i=0;i<a;i++) { for(int j=0;j<c-1;j++) { System.out.print(ans[i][j]+" "); } System.out.println(ans[i][c-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, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 14, 40, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 0, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 207, 5 ], [ 207, 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 ], [ 24, 25 ], [ 25, 26 ], [ 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 ], [ 67, 69 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 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 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 123, 134 ], [ 135, 135 ], [ 135, 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 148, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 165, 167 ], [ 162, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 169, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 176, 185 ], [ 185, 186 ], [ 185, 187 ], [ 169, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 191, 193 ], [ 188, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 195, 200 ], [ 194, 201 ], [ 201, 202 ], [ 201, 203 ], [ 6, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\t// intN,intM,intLを入力\n\t\tint intN = scanner.nextInt();\n\t\tint intM = scanner.nextInt();\n\t\tint intL = scanner.nextInt();\n\n\t\tlong[][] longA = new long[intN][intM];\n\t\tfor (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tlong[][] longB = new long[intM][intL];\n\t\tfor (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//long[][] longC = new long[intN][intL];\n\t\tlong longC = 0;\n\t\tfor (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\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// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\t// intN,intM,intLを入力\n\t\tint intN = scanner.nextInt();\n\t\tint intM = scanner.nextInt();\n\t\tint intL = scanner.nextInt();\n\n\t\tlong[][] longA = new long[intN][intM];\n\t\tfor (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tlong[][] longB = new long[intM][intL];\n\t\tfor (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//long[][] longC = new long[intN][intL];\n\t\tlong longC = 0;\n\t\tfor (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\t// intN,intM,intLを入力\n\t\tint intN = scanner.nextInt();\n\t\tint intM = scanner.nextInt();\n\t\tint intL = scanner.nextInt();\n\n\t\tlong[][] longA = new long[intN][intM];\n\t\tfor (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tlong[][] longB = new long[intM][intL];\n\t\tfor (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//long[][] longC = new long[intN][intL];\n\t\tlong longC = 0;\n\t\tfor (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\t// intN,intM,intLを入力\n\t\tint intN = scanner.nextInt();\n\t\tint intM = scanner.nextInt();\n\t\tint intL = scanner.nextInt();\n\n\t\tlong[][] longA = new long[intN][intM];\n\t\tfor (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tlong[][] longB = new long[intM][intL];\n\t\tfor (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//long[][] longC = new long[intN][intL];\n\t\tlong longC = 0;\n\t\tfor (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int intN = scanner.nextInt();", "intN", "scanner.nextInt()", "scanner.nextInt", "scanner", "int intM = scanner.nextInt();", "intM", "scanner.nextInt()", "scanner.nextInt", "scanner", "int intL = scanner.nextInt();", "intL", "scanner.nextInt()", "scanner.nextInt", "scanner", "long[][] longA = new long[intN][intM];", "longA", "new long[intN][intM]", "intN", "intM", "for (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}", "int intI = 0;", "int intI = 0;", "intI", "0", "intI < intN", "intI", "intN", "intI++", "intI++", "intI", "{\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}", "int intJ = 0;", "int intJ = 0;", "intJ", "0", "intJ < intM", "intJ", "intM", "intJ++", "intJ++", "intJ", "{\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}", "longA[intI][intJ] = scanner.nextInt()", "longA[intI][intJ]", "longA[intI]", "longA", "intI", "intJ", "scanner.nextInt()", "scanner.nextInt", "scanner", "long[][] longB = new long[intM][intL];", "longB", "new long[intM][intL]", "intM", "intL", "for (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}", "int intO = 0;", "int intO = 0;", "intO", "0", "intO < intM", "intO", "intM", "intO++", "intO++", "intO", "{\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}", "int intP = 0;", "int intP = 0;", "intP", "0", "intP < intL", "intP", "intL", "intP++", "intP++", "intP", "{\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}", "longB[intO][intP] = scanner.nextInt()", "longB[intO][intP]", "longB[intO]", "longB", "intO", "intP", "scanner.nextInt()", "scanner.nextInt", "scanner", "long longC = 0;", "longC", "0", "for (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int intX = 0;", "int intX = 0;", "intX", "0", "intX < intN", "intX", "intN", "intX++", "intX++", "intX", "{\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int intY = 0;", "int intY = 0;", "intY", "0", "intY < intL", "intY", "intL", "intY++", "intY++", "intY", "{\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}", "int intZ = 0;", "int intZ = 0;", "intZ", "0", "intZ < intM", "intZ", "intM", "intZ++", "intZ++", "intZ", "{\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}", "longC += longA[intX][intZ] * longB[intZ][intY]", "longC", "longA[intX][intZ] * longB[intZ][intY]", "longA[intX][intZ]", "longA[intX]", "longA", "intX", "intZ", "longB[intZ][intY]", "longB[intZ]", "longB", "intZ", "intY", "if (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "intZ == intM -1", "intZ", "intM -1", "intM", "1", "{\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}", "!(intY == intL -1)", "(intY == intL -1)", "intY", "intL -1", "intL", "1", "{\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}", "System.out.print(longC + \" \")", "System.out.print", "System.out", "System", "System.out", "longC + \" \"", "longC", "\" \"", "longC = 0", "longC", "0", "if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}", "intY == intL - 1", "intY", "intL - 1", "intL", "1", "{\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}", "System.out.println(longC)", "System.out.println", "System.out", "System", "System.out", "longC", "longC = 0", "longC", "0", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\t// intN,intM,intLを入力\n\t\tint intN = scanner.nextInt();\n\t\tint intM = scanner.nextInt();\n\t\tint intL = scanner.nextInt();\n\n\t\tlong[][] longA = new long[intN][intM];\n\t\tfor (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tlong[][] longB = new long[intM][intL];\n\t\tfor (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//long[][] longC = new long[intN][intL];\n\t\tlong longC = 0;\n\t\tfor (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner scanner = new Scanner(System.in);\n\t\t// intN,intM,intLを入力\n\t\tint intN = scanner.nextInt();\n\t\tint intM = scanner.nextInt();\n\t\tint intL = scanner.nextInt();\n\n\t\tlong[][] longA = new long[intN][intM];\n\t\tfor (int intI = 0; intI < intN; intI++) {\n\t\t\tfor (int intJ = 0; intJ < intM; intJ++) {\n\t\t\t\t// 配列longAに数値を入力する\n\t\t\t\tlongA[intI][intJ] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tlong[][] longB = new long[intM][intL];\n\t\tfor (int intO = 0; intO < intM; intO++) {\n\t\t\tfor (int intP = 0; intP < intL; intP++) {\n\t\t\t\t// 配列longBに数値を入力する\n\t\t\t\tlongB[intO][intP] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//long[][] longC = new long[intN][intL];\n\t\tlong longC = 0;\n\t\tfor (int intX = 0; intX < intN; intX++) {\n\t\t\tfor (int intY = 0; intY < intL; intY++) {\n\t\t\t\tfor (int intZ = 0; intZ < intM; intZ++) {\n\t\t\t\t\tlongC += longA[intX][intZ] * longB[intZ][intY];\n\t\t\t\t\t\tif (intZ == intM -1) {\n\t\t\t\t\t\t\tif (!(intY == intL -1)) {\n\t\t\t\t\t\t\t\tSystem.out.print(longC + \" \");\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t} else if (intY == intL - 1) {\n\t\t\t\t\t\t\t\tSystem.out.println(longC);\n\t\t\t\t\t\t\t\tlongC = 0;\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scanner = new Scanner(System.in); // intN,intM,intLを入力 int intN = scanner.nextInt(); int intM = scanner.nextInt(); int intL = scanner.nextInt(); long[][] longA = new long[intN][intM]; for (int intI = 0; intI < intN; intI++) { for (int intJ = 0; intJ < intM; intJ++) { // 配列longAに数値を入力する longA[intI][intJ] = scanner.nextInt(); } } long[][] longB = new long[intM][intL]; for (int intO = 0; intO < intM; intO++) { for (int intP = 0; intP < intL; intP++) { // 配列longBに数値を入力する longB[intO][intP] = scanner.nextInt(); } } //long[][] longC = new long[intN][intL]; long longC = 0; for (int intX = 0; intX < intN; intX++) { for (int intY = 0; intY < intL; intY++) { for (int intZ = 0; intZ < intM; intZ++) { longC += longA[intX][intZ] * longB[intZ][intY]; if (intZ == intM -1) { if (!(intY == intL -1)) { System.out.print(longC + " "); longC = 0; } else if (intY == intL - 1) { System.out.println(longC); longC = 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 2, 13, 17, 13, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 207, 5 ], [ 207, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 137, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 168, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 191, 197 ], [ 124, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 6, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "\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\t\tint l = sc.nextInt();\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t//??????A?????£??\\\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\t//??????B?????£??\\\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\n/*\n\n\t\t//???????¢??????¨ A?????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tSystem.out.print(\"A[i][j] = \"+ A[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"###################################\");\n\n\t\t//???????¢??????¨ B?????????\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(\"B[i][j] = \"+ B[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n*/\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t//??????A?????£??\\\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\t//??????B?????£??\\\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\n/*\n\n\t\t//???????¢??????¨ A?????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tSystem.out.print(\"A[i][j] = \"+ A[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"###################################\");\n\n\t\t//???????¢??????¨ B?????????\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(\"B[i][j] = \"+ B[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n*/\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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\t\tint l = sc.nextInt();\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t//??????A?????£??\\\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\t//??????B?????£??\\\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\n/*\n\n\t\t//???????¢??????¨ A?????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tSystem.out.print(\"A[i][j] = \"+ A[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"###################################\");\n\n\t\t//???????¢??????¨ B?????????\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(\"B[i][j] = \"+ B[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n*/\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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\t\tint l = sc.nextInt();\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t//??????A?????£??\\\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\t//??????B?????£??\\\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\n/*\n\n\t\t//???????¢??????¨ A?????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tSystem.out.print(\"A[i][j] = \"+ A[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"###################################\");\n\n\t\t//???????¢??????¨ B?????????\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(\"B[i][j] = \"+ B[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n*/\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = 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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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 < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "for(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}", "for(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}", "C[i][j] += (long)A[i][k] * (long)B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "(long)A[i][k] * (long)B[k][j]", "(long)A[i][k]", "A[i]", "A", "i", "k", "(long)B[k][j]", "B[k]", "B", "k", "j", "if(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}", "j+1 == l", "j+1", "j", "1", "l", "{\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "{\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}", "System.out.print(C[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j]+\" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t//??????A?????£??\\\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\t//??????B?????£??\\\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\n/*\n\n\t\t//???????¢??????¨ A?????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tSystem.out.print(\"A[i][j] = \"+ A[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"###################################\");\n\n\t\t//???????¢??????¨ B?????????\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(\"B[i][j] = \"+ B[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n*/\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\t//??????A?????£??\\\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\t//??????B?????£??\\\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\n/*\n\n\t\t//???????¢??????¨ A?????????\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tSystem.out.print(\"A[i][j] = \"+ A[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\tSystem.out.println(\"###################################\");\n\n\t\t//???????¢??????¨ B?????????\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(\"B[i][j] = \"+ B[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n*/\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m; k++) {\n\t\t\t\t\tC[i][j] += (long)A[i][k] * (long)B[k][j];\n\t\t\t\t}\n\t\t\t\tif(j+1 == l) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tSystem.out.print(C[i][j]+\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; //??????A?????£??\ for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { A[i][j] = sc.nextInt(); } } //??????B?????£??\ for(int i = 0; i < m; i++) { for(int j = 0; j < l; j++) { B[i][j] = sc.nextInt(); } } /* //???????¢??????¨ A????????? for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { System.out.print("A[i][j] = "+ A[i][j]+" "); } System.out.println(""); } System.out.println("###################################"); //???????¢??????¨ B????????? for(int i = 0; i < m; i++) { for(int j = 0; j < l; j++) { System.out.print("B[i][j] = "+ B[i][j]+" "); } System.out.println(""); } */ for(int i = 0; i < n; i++) { for(int j = 0; j < l; j++) { for(int k = 0; k < m; k++) { C[i][j] += (long)A[i][k] * (long)B[k][j]; } if(j+1 == l) { System.out.print(C[i][j]); } else { System.out.print(C[i][j]+" "); } } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 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, 18, 13, 13, 13, 4, 18, 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, 18, 13, 13, 13, 4, 18, 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, 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, 18, 18, 13, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 246, 5 ], [ 246, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 44, 46 ], [ 37, 47 ], [ 47, 48 ], [ 48, 49 ], [ 37, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 52, 64 ], [ 64, 65 ], [ 65, 66 ], [ 52, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 78, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 93, 105 ], [ 105, 106 ], [ 106, 107 ], [ 93, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 8, 119 ], [ 119, 120 ], [ 120, 121 ], [ 8, 122 ], [ 122, 123 ], [ 122, 124 ], [ 8, 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 ], [ 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 ], [ 167, 171 ], [ 166, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 172, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 8, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 190, 192 ], [ 183, 193 ], [ 193, 194 ], [ 194, 195 ], [ 183, 196 ], [ 197, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 198, 210 ], [ 210, 211 ], [ 211, 212 ], [ 198, 213 ], [ 214, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 214, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 228, 230 ], [ 225, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 197, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 6, 243 ], [ 243, 244 ], [ 0, 245 ], [ 245, 246 ], [ 245, 247 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n /*\n * 行列の積\n * \n * n×m の行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。行列 C\n * の各要素 cij は次の式で得られます:\n * \n * cij=?k=1maikbkj ここで、A、B、C の各要素をそれぞれ aij、bij、cij とします。\n * \n * Input 1行目に n、m、l が空白区切りで与えられます。\n * \n * 続く行に n×m の行列 A と m×l の行列 B が与えられます。\n * \n * Output n×l の行列 C の要素 cij を出力してください。各行の隣り合う要素を1つの空白で区切ってください。\n * \n * Constraints 1?n,m,l?100 0?aij,bij?10000\n */\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] array1 = new int[n][m];\n int[][] array2 = new int[m][l];\n\n for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }\n\n for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }\n \n sc.close();\n long[][] array3 = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }\n \n for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n /*\n * 行列の積\n * \n * n×m の行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。行列 C\n * の各要素 cij は次の式で得られます:\n * \n * cij=?k=1maikbkj ここで、A、B、C の各要素をそれぞれ aij、bij、cij とします。\n * \n * Input 1行目に n、m、l が空白区切りで与えられます。\n * \n * 続く行に n×m の行列 A と m×l の行列 B が与えられます。\n * \n * Output n×l の行列 C の要素 cij を出力してください。各行の隣り合う要素を1つの空白で区切ってください。\n * \n * Constraints 1?n,m,l?100 0?aij,bij?10000\n */\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] array1 = new int[n][m];\n int[][] array2 = new int[m][l];\n\n for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }\n\n for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }\n \n sc.close();\n long[][] array3 = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }\n \n for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n\n}", "Main", "/*\n * 行列の積\n * \n * n×m の行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。行列 C\n * の各要素 cij は次の式で得られます:\n * \n * cij=?k=1maikbkj ここで、A、B、C の各要素をそれぞれ aij、bij、cij とします。\n * \n * Input 1行目に n、m、l が空白区切りで与えられます。\n * \n * 続く行に n×m の行列 A と m×l の行列 B が与えられます。\n * \n * Output n×l の行列 C の要素 cij を出力してください。各行の隣り合う要素を1つの空白で区切ってください。\n * \n * Constraints 1?n,m,l?100 0?aij,bij?10000\n */\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] array1 = new int[n][m];\n int[][] array2 = new int[m][l];\n\n for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }\n\n for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }\n \n sc.close();\n long[][] array3 = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }\n \n for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] array1 = new int[n][m];\n int[][] array2 = new int[m][l];\n\n for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }\n\n for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }\n \n sc.close();\n long[][] array3 = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }\n \n for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] array1 = new int[n][m];", "array1", "new int[n][m]", "n", "m", "int[][] array2 = new int[m][l];", "array2", "new int[m][l]", "m", "l", "for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array1.length", "i", "array1.length", "array1", "array1.length", "i++", "i++", "i", "{\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < array1[i].length", "j", "array1[i].length", "array1[i]", "array1", "i", "array1[i].length", "j++", "j++", "j", "{\n array1[i][j] = sc.nextInt();\n }", "{\n array1[i][j] = sc.nextInt();\n }", "array1[i][j] = sc.nextInt()", "array1[i][j]", "array1[i]", "array1", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array2.length", "i", "array2.length", "array2", "array2.length", "i++", "i++", "i", "{\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < array2[i].length", "j", "array2[i].length", "array2[i]", "array2", "i", "array2[i].length", "j++", "j++", "j", "{\n array2[i][j] = sc.nextInt();\n }", "{\n array2[i][j] = sc.nextInt();\n }", "array2[i][j] = sc.nextInt()", "array2[i][j]", "array2[i]", "array2", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "long[][] array3 = new long[n][l];", "array3", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }", "{\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }", "for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }", "{\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }", "for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }", "int j2 = 0;", "int j2 = 0;", "j2", "0", "j2 < m", "j2", "m", "j2++", "j2++", "j2", "{\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }", "{\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }", "array3[i][j] += array1[i][j2]*array2[j2][j]", "array3[i][j]", "array3[i]", "array3", "i", "j", "array1[i][j2]*array2[j2][j]", "array1[i][j2]", "array1[i]", "array1", "i", "j2", "array2[j2][j]", "array2[j2]", "array2", "j2", "j", "for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array3.length", "i", "array3.length", "array3", "array3.length", "i++", "i++", "i", "{\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }", "{\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }", "for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < array3[i].length", "j", "array3[i].length", "array3[i]", "array3", "i", "array3[i].length", "j++", "j++", "j", "{\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }", "{\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }", "System.out.print(array3[i][j])", "System.out.print", "System.out", "System", "System.out", "array3[i][j]", "array3[i]", "array3", "i", "j", "if(j != l -1){\n System.out.print(\" \");\n }", "j != l -1", "j", "l -1", "l", "1", "{\n System.out.print(\" \");\n }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\n /*\n * 行列の積\n * \n * n×m の行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。行列 C\n * の各要素 cij は次の式で得られます:\n * \n * cij=?k=1maikbkj ここで、A、B、C の各要素をそれぞれ aij、bij、cij とします。\n * \n * Input 1行目に n、m、l が空白区切りで与えられます。\n * \n * 続く行に n×m の行列 A と m×l の行列 B が与えられます。\n * \n * Output n×l の行列 C の要素 cij を出力してください。各行の隣り合う要素を1つの空白で区切ってください。\n * \n * Constraints 1?n,m,l?100 0?aij,bij?10000\n */\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] array1 = new int[n][m];\n int[][] array2 = new int[m][l];\n\n for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }\n\n for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }\n \n sc.close();\n long[][] array3 = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }\n \n for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n\n}", "public class Main {\n\n /*\n * 行列の積\n * \n * n×m の行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。行列 C\n * の各要素 cij は次の式で得られます:\n * \n * cij=?k=1maikbkj ここで、A、B、C の各要素をそれぞれ aij、bij、cij とします。\n * \n * Input 1行目に n、m、l が空白区切りで与えられます。\n * \n * 続く行に n×m の行列 A と m×l の行列 B が与えられます。\n * \n * Output n×l の行列 C の要素 cij を出力してください。各行の隣り合う要素を1つの空白で区切ってください。\n * \n * Constraints 1?n,m,l?100 0?aij,bij?10000\n */\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] array1 = new int[n][m];\n int[][] array2 = new int[m][l];\n\n for (int i = 0; i < array1.length; i++) {\n for (int j = 0; j < array1[i].length; j++) {\n array1[i][j] = sc.nextInt();\n }\n }\n\n for (int i = 0; i < array2.length; i++) {\n for (int j = 0; j < array2[i].length; j++) {\n array2[i][j] = sc.nextInt();\n }\n }\n \n sc.close();\n long[][] array3 = new long[n][l];\n\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int j2 = 0; j2 < m; j2++) {\n array3[i][j] += array1[i][j2]*array2[j2][j];\n }\n }\n }\n \n for (int i = 0; i < array3.length; i++) {\n for (int j = 0; j < array3[i].length; j++) {\n System.out.print(array3[i][j]);\n if(j != l -1){\n System.out.print(\" \");\n }\n }\n System.out.println();\n }\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { /* * 行列の積 * * n×m の行列 A と m×l の行列 B を入力し、それらの積である n×l の行列 C を出力するプログラムを作成してください。行列 C * の各要素 cij は次の式で得られます: * * cij=?k=1maikbkj ここで、A、B、C の各要素をそれぞれ aij、bij、cij とします。 * * Input 1行目に n、m、l が空白区切りで与えられます。 * * 続く行に n×m の行列 A と m×l の行列 B が与えられます。 * * Output n×l の行列 C の要素 cij を出力してください。各行の隣り合う要素を1つの空白で区切ってください。 * * Constraints 1?n,m,l?100 0?aij,bij?10000 */ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int[][] array1 = new int[n][m]; int[][] array2 = new int[m][l]; for (int i = 0; i < array1.length; i++) { for (int j = 0; j < array1[i].length; j++) { array1[i][j] = sc.nextInt(); } } for (int i = 0; i < array2.length; i++) { for (int j = 0; j < array2[i].length; j++) { array2[i][j] = sc.nextInt(); } } sc.close(); long[][] array3 = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int j2 = 0; j2 < m; j2++) { array3[i][j] += array1[i][j2]*array2[j2][j]; } } } for (int i = 0; i < array3.length; i++) { for (int j = 0; j < array3[i].length; j++) { System.out.print(array3[i][j]); if(j != l -1){ System.out.print(" "); } } System.out.println(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 20, 13, 13, 0, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 0, 13, 17, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 0, 13, 13, 4, 18, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 4, 18, 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 ], [ 271, 11 ], [ 271, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 14, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 37, 42 ], [ 14, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 48, 50 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 14, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 14, 67 ], [ 67, 68 ], [ 67, 69 ], [ 14, 72 ], [ 72, 73 ], [ 72, 74 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 77, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 93, 98 ], [ 90, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 99, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 113, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 122, 123 ], [ 122, 124 ], [ 14, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 125, 137 ], [ 138, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 141, 146 ], [ 138, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 147, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 147, 159 ], [ 160, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 161, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 170, 172 ], [ 14, 173 ], [ 173, 174 ], [ 173, 175 ], [ 14, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 181, 182 ], [ 181, 183 ], [ 176, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 176, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 189, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 198, 199 ], [ 198, 200 ], [ 193, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 193, 205 ], [ 206, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 210, 215 ], [ 215, 216 ], [ 215, 217 ], [ 210, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 210, 222 ], [ 223, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 226, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 223, 237 ], [ 237, 238 ], [ 237, 239 ], [ 206, 240 ], [ 240, 241 ], [ 241, 242 ], [ 240, 243 ], [ 206, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 247, 249 ], [ 244, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 251, 254 ], [ 189, 255 ], [ 255, 256 ], [ 256, 257 ], [ 255, 258 ], [ 258, 259 ], [ 259, 260 ], [ 258, 261 ], [ 14, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 12, 268 ], [ 268, 269 ], [ 0, 270 ], [ 270, 271 ], [ 270, 272 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, l;\n\t\tlong x, sum;\n\t\tint[][] matA, matB;\n\t\tString[] mats = in.readLine().split(\" \");\n\t\tn = Integer.parseInt(mats[0]);\n\t\tm = Integer.parseInt(mats[1]);\n\t\tl = Integer.parseInt(mats[2]);\n\t\tmatA = new int[n][m];\n\t\tmatB = new int[m][l];\n\t\tfor (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}\n\t\tin = null;\n\t\tfor (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tSystem.out.print(sb);\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) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, l;\n\t\tlong x, sum;\n\t\tint[][] matA, matB;\n\t\tString[] mats = in.readLine().split(\" \");\n\t\tn = Integer.parseInt(mats[0]);\n\t\tm = Integer.parseInt(mats[1]);\n\t\tl = Integer.parseInt(mats[2]);\n\t\tmatA = new int[n][m];\n\t\tmatB = new int[m][l];\n\t\tfor (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}\n\t\tin = null;\n\t\tfor (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, l;\n\t\tlong x, sum;\n\t\tint[][] matA, matB;\n\t\tString[] mats = in.readLine().split(\" \");\n\t\tn = Integer.parseInt(mats[0]);\n\t\tm = Integer.parseInt(mats[1]);\n\t\tl = Integer.parseInt(mats[2]);\n\t\tmatA = new int[n][m];\n\t\tmatB = new int[m][l];\n\t\tfor (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}\n\t\tin = null;\n\t\tfor (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, l;\n\t\tlong x, sum;\n\t\tint[][] matA, matB;\n\t\tString[] mats = in.readLine().split(\" \");\n\t\tn = Integer.parseInt(mats[0]);\n\t\tm = Integer.parseInt(mats[1]);\n\t\tl = Integer.parseInt(mats[2]);\n\t\tmatA = new int[n][m];\n\t\tmatB = new int[m][l];\n\t\tfor (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}\n\t\tin = null;\n\t\tfor (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int n", "n", "m", "m", "l;", "l", "long x", "x", "sum;", "sum", "int[][] matA", "matA", "matB;", "matB", "String[] mats = in.readLine().split(\" \");", "mats", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "n = Integer.parseInt(mats[0])", "n", "Integer.parseInt(mats[0])", "Integer.parseInt", "Integer", "mats[0]", "mats", "0", "m = Integer.parseInt(mats[1])", "m", "Integer.parseInt(mats[1])", "Integer.parseInt", "Integer", "mats[1]", "mats", "1", "l = Integer.parseInt(mats[2])", "l", "Integer.parseInt(mats[2])", "Integer.parseInt", "Integer", "mats[2]", "mats", "2", "matA = new int[n][m]", "matA", "new int[n][m]", "n", "m", "matB = new int[m][l]", "matB", "new int[m][l]", "m", "l", "for (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i += 1", "i += 1", "i", "1", "{\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}", "String[] arrayA = in.readLine().split(\" \");", "arrayA", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "for (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j += 1", "j += 1", "j", "1", "{\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}", "{\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}", "matA[i][j] = Integer.parseInt(arrayA[j])", "matA[i][j]", "matA[i]", "matA", "i", "j", "Integer.parseInt(arrayA[j])", "Integer.parseInt", "Integer", "arrayA[j]", "arrayA", "j", "for (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}", "int p = 0;", "int p = 0;", "p", "0", "p < m", "p", "m", "p += 1", "p += 1", "p", "1", "{\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}", "String[] arrayB = in.readLine().split(\" \");", "arrayB", "in.readLine().split(\" \")", "in.readLine().split", "in.readLine()", "in.readLine", "in", "\" \"", "for (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}", "int q = 0;", "int q = 0;", "q", "0", "q < l", "q", "l", "q += 1", "q += 1", "q", "1", "{\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}", "{\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}", "matB[p][q] = Integer.parseInt(arrayB[q])", "matB[p][q]", "matB[p]", "matB", "p", "q", "Integer.parseInt(arrayB[q])", "Integer.parseInt", "Integer", "arrayB[q]", "arrayB", "q", "in = null", "in", "null", "for (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}", "int s = 0;", "int s = 0;", "s", "0", "s < n", "s", "n", "s += 1", "s += 1", "s", "1", "{\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}", "{\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}", "x = 0", "x", "0", "for (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}", "int t = 0;", "int t = 0;", "t", "0", "t < l", "t", "l", "t += 1", "t += 1", "t", "1", "{\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}", "sum = 0", "sum", "0", "for (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}", "int u = 0;", "int u = 0;", "u", "0", "u < m", "u", "m", "u += 1", "u += 1", "u", "1", "{\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}", "{\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}", "x = (matA[s][u] * matB[u][t])", "x", "(matA[s][u] * matB[u][t])", "matA[s][u]", "matA[s]", "matA", "s", "u", "matB[u][t]", "matB[u]", "matB", "u", "t", "sum += x", "sum", "x", "sb.append(sum)", "sb.append", "sb", "sum", "if (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}", "t != (l - 1)", "t", "(l - 1)", "l", "1", "{\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}", "sb.append(\" \")", "sb.append", "sb", "\" \"", "sb.append(System.getProperty(\"line.separator\"))", "sb.append", "sb", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, l;\n\t\tlong x, sum;\n\t\tint[][] matA, matB;\n\t\tString[] mats = in.readLine().split(\" \");\n\t\tn = Integer.parseInt(mats[0]);\n\t\tm = Integer.parseInt(mats[1]);\n\t\tl = Integer.parseInt(mats[2]);\n\t\tmatA = new int[n][m];\n\t\tmatB = new int[m][l];\n\t\tfor (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}\n\t\tin = null;\n\t\tfor (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tint n, m, l;\n\t\tlong x, sum;\n\t\tint[][] matA, matB;\n\t\tString[] mats = in.readLine().split(\" \");\n\t\tn = Integer.parseInt(mats[0]);\n\t\tm = Integer.parseInt(mats[1]);\n\t\tl = Integer.parseInt(mats[2]);\n\t\tmatA = new int[n][m];\n\t\tmatB = new int[m][l];\n\t\tfor (int i = 0; i < n; i += 1) {\n\t\t\tString[] arrayA = in.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j += 1) {\n\t\t\t\tmatA[i][j] = Integer.parseInt(arrayA[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int p = 0; p < m; p += 1) {\n\t\t\tString[] arrayB = in.readLine().split(\" \");\n\t\t\tfor (int q = 0; q < l; q += 1) {\n\t\t\t\tmatB[p][q] = Integer.parseInt(arrayB[q]);\n\t\t\t}\n\t\t}\n\t\tin = null;\n\t\tfor (int s = 0; s < n; s += 1) {\n\t\t\tx = 0;\n\t\t\tfor (int t = 0; t < l; t += 1) {\n\t\t\t\tsum = 0;\n\t\t\t\tfor (int u = 0; u < m; u += 1) {\n\t\t\t\t\tx = (matA[s][u] * matB[u][t]);\n\t\t\t\t\tsum += x;\n\t\t\t\t}\n\t\t\t\tsb.append(sum);\n\t\t\t\tif (t != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(System.getProperty(\"line.separator\"));\n\t\t}\n\t\tSystem.out.print(sb);\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 in = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n, m, l; long x, sum; int[][] matA, matB; String[] mats = in.readLine().split(" "); n = Integer.parseInt(mats[0]); m = Integer.parseInt(mats[1]); l = Integer.parseInt(mats[2]); matA = new int[n][m]; matB = new int[m][l]; for (int i = 0; i < n; i += 1) { String[] arrayA = in.readLine().split(" "); for (int j = 0; j < m; j += 1) { matA[i][j] = Integer.parseInt(arrayA[j]); } } for (int p = 0; p < m; p += 1) { String[] arrayB = in.readLine().split(" "); for (int q = 0; q < l; q += 1) { matB[p][q] = Integer.parseInt(arrayB[q]); } } in = null; for (int s = 0; s < n; s += 1) { x = 0; for (int t = 0; t < l; t += 1) { sum = 0; for (int u = 0; u < m; u += 1) { x = (matA[s][u] * matB[u][t]); sum += x; } sb.append(sum); if (t != (l - 1)) { sb.append(" "); } } sb.append(System.getProperty("line.separator")); } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 18, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 4, 18, 13, 17, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 41, 13, 4, 18, 13, 18, 4, 18, 13, 17, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 18, 4, 18, 13, 17, 13, 0, 18, 18, 13, 13, 13, 13, 41, 13, 17, 41, 13, 17, 42, 2, 13, 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, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 0, 13, 17, 40, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 283, 5 ], [ 283, 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 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 22, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 8, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 55 ], [ 55, 56 ], [ 55, 57 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 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 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 95, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 8, 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 ], [ 126, 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 ], [ 147, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 150, 155 ], [ 144, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 8, 163 ], [ 163, 164 ], [ 163, 165 ], [ 8, 166 ], [ 166, 167 ], [ 166, 168 ], [ 8, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 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 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 187, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 186, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 213, 219 ], [ 186, 220 ], [ 220, 221 ], [ 220, 222 ], [ 173, 223 ], [ 223, 224 ], [ 8, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 230, 231 ], [ 230, 232 ], [ 225, 233 ], [ 233, 234 ], [ 234, 235 ], [ 225, 236 ], [ 237, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 238, 243 ], [ 243, 244 ], [ 243, 245 ], [ 238, 246 ], [ 246, 247 ], [ 247, 248 ], [ 238, 249 ], [ 250, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 251, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 250, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 264, 266 ], [ 261, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 268, 273 ], [ 237, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 274, 279 ], [ 6, 280 ], [ 280, 281 ], [ 0, 282 ], [ 282, 283 ], [ 282, 284 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString tmp = scan.nextLine();\n\t int n = Integer.parseInt(tmp.split(\" \")[0]);\n\t\tint m = Integer.parseInt(tmp.split(\" \")[1]);\n\t\tint l = Integer.parseInt(tmp.split(\" \")[2]);\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] rs = new long[n][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString tmp = scan.nextLine();\n\t int n = Integer.parseInt(tmp.split(\" \")[0]);\n\t\tint m = Integer.parseInt(tmp.split(\" \")[1]);\n\t\tint l = Integer.parseInt(tmp.split(\" \")[2]);\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] rs = new long[n][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString tmp = scan.nextLine();\n\t int n = Integer.parseInt(tmp.split(\" \")[0]);\n\t\tint m = Integer.parseInt(tmp.split(\" \")[1]);\n\t\tint l = Integer.parseInt(tmp.split(\" \")[2]);\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] rs = new long[n][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tString tmp = scan.nextLine();\n\t int n = Integer.parseInt(tmp.split(\" \")[0]);\n\t\tint m = Integer.parseInt(tmp.split(\" \")[1]);\n\t\tint l = Integer.parseInt(tmp.split(\" \")[2]);\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] rs = new long[n][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String tmp = scan.nextLine();", "tmp", "scan.nextLine()", "scan.nextLine", "scan", "int n = Integer.parseInt(tmp.split(\" \")[0]);", "n", "Integer.parseInt(tmp.split(\" \")[0])", "Integer.parseInt", "Integer", "tmp.split(\" \")[0]", "tmp.split(\" \")", "tmp.split", "tmp", "\" \"", "0", "int m = Integer.parseInt(tmp.split(\" \")[1]);", "m", "Integer.parseInt(tmp.split(\" \")[1])", "Integer.parseInt", "Integer", "tmp.split(\" \")[1]", "tmp.split(\" \")", "tmp.split", "tmp", "\" \"", "1", "int l = Integer.parseInt(tmp.split(\" \")[2]);", "l", "Integer.parseInt(tmp.split(\" \")[2])", "Integer.parseInt", "Integer", "tmp.split(\" \")[2]", "tmp.split(\" \")", "tmp.split", "tmp", "\" \"", "2", "long[][] A = new long[n][m];", "A", "new long[n][m]", "n", "m", "long[][] B = new long[m][l];", "B", "new long[m][l]", "m", "l", "long[][] rs = new long[n][l];", "rs", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\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 num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}", "{\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}", "String num = scan.nextLine();", "num", "scan.nextLine()", "scan.nextLine", "scan", "for (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}", "{\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}", "int tmpLine = Integer.parseInt(num.split(\" \")[j]);", "tmpLine", "Integer.parseInt(num.split(\" \")[j])", "Integer.parseInt", "Integer", "num.split(\" \")[j]", "num.split(\" \")", "num.split", "num", "\" \"", "j", "A[i][j] = tmpLine", "A[i][j]", "A[i]", "A", "i", "j", "tmpLine", "for (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\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\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}", "{\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}", "String num = scan.nextLine();", "num", "scan.nextLine()", "scan.nextLine", "scan", "for (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}", "{\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}", "int tmpLine = Integer.parseInt(num.split(\" \")[j]);", "tmpLine", "Integer.parseInt(num.split(\" \")[j])", "Integer.parseInt", "Integer", "num.split(\" \")[j]", "num.split(\" \")", "num.split", "num", "\" \"", "j", "B[i][j] = tmpLine", "B[i][j]", "B[i]", "B", "i", "j", "tmpLine", "long sum = 0;", "sum", "0", "int cnt = 0;", "cnt", "0", "while (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}", "cnt < n", "cnt", "n", "{\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}", "for (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < l", "i", "l", "i++", "i++", "i", "{\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}", "{\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\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\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}", "{\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}", "sum += A[cnt][j] * B[j][i]", "sum", "A[cnt][j] * B[j][i]", "A[cnt][j]", "A[cnt]", "A", "cnt", "j", "B[j][i]", "B[j]", "B", "j", "i", "rs[cnt][i] = sum", "rs[cnt][i]", "rs[cnt]", "rs", "cnt", "i", "sum", "sum = 0", "sum", "0", "cnt++", "cnt", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\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 < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "System.out.print(rs[i][j])", "System.out.print", "System.out", "System", "System.out", "rs[i][j]", "rs[i]", "rs", "i", "j", "if(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j != l - 1", "j", "l - 1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString tmp = scan.nextLine();\n\t int n = Integer.parseInt(tmp.split(\" \")[0]);\n\t\tint m = Integer.parseInt(tmp.split(\" \")[1]);\n\t\tint l = Integer.parseInt(tmp.split(\" \")[2]);\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] rs = new long[n][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tString tmp = scan.nextLine();\n\t int n = Integer.parseInt(tmp.split(\" \")[0]);\n\t\tint m = Integer.parseInt(tmp.split(\" \")[1]);\n\t\tint l = Integer.parseInt(tmp.split(\" \")[2]);\n\t\tlong[][] A = new long[n][m];\n\t\tlong[][] B = new long[m][l];\n\t\tlong[][] rs = new long[n][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tA[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tString num = scan.nextLine();\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tint tmpLine = Integer.parseInt(num.split(\" \")[j]);\n\t\t\t\tB[i][j] = tmpLine;\n\t\t\t}\n\t\t}\n\n\t\tlong sum = 0;\n\t\tint cnt = 0;\n\n\t\twhile (cnt < n) {\n\t\t\tfor (int i = 0; i < l; i++) {\n\t\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\t\tsum += A[cnt][j] * B[j][i];\n\t\t\t\t}\n\t\t\t\trs[cnt][i] = sum;\n\t\t\t\tsum = 0;\n\t\t\t}\n\t\t\tcnt++;\n\t\t}\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tSystem.out.print(rs[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); String tmp = scan.nextLine(); int n = Integer.parseInt(tmp.split(" ")[0]); int m = Integer.parseInt(tmp.split(" ")[1]); int l = Integer.parseInt(tmp.split(" ")[2]); long[][] A = new long[n][m]; long[][] B = new long[m][l]; long[][] rs = new long[n][l]; for (int i = 0; i < n; i++) { String num = scan.nextLine(); for (int j = 0; j < m; j++) { int tmpLine = Integer.parseInt(num.split(" ")[j]); A[i][j] = tmpLine; } } for (int i = 0; i < m; i++) { String num = scan.nextLine(); for (int j = 0; j < l; j++) { int tmpLine = Integer.parseInt(num.split(" ")[j]); B[i][j] = tmpLine; } } long sum = 0; int cnt = 0; while (cnt < n) { for (int i = 0; i < l; i++) { for (int j = 0; j < m; j++) { sum += A[cnt][j] * B[j][i]; } rs[cnt][i] = sum; sum = 0; } cnt++; } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { System.out.print(rs[i][j]); if(j != l - 1){ System.out.print(" "); } } System.out.println(""); } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 20, 13, 13, 0, 13, 20, 13, 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, 30, 0, 18, 18, 13, 13, 13, 4, 18, 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, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 0, 13, 20, 13, 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, 30, 0, 18, 18, 13, 13, 13, 17, 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, 18, 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, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 2, 13, 17, 13, 4, 18, 13, 4, 18, 13, 17, 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 ], [ 250, 2 ], [ 250, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 5, 17 ], [ 17, 18 ], [ 5, 19 ], [ 19, 20 ], [ 5, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 5, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 5, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 5, 36 ], [ 36, 37 ], [ 36, 38 ], [ 5, 41 ], [ 41, 42 ], [ 41, 43 ], [ 5, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 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 ], [ 5, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 80, 88 ], [ 88, 89 ], [ 89, 90 ], [ 80, 91 ], [ 91, 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 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 5, 114 ], [ 114, 115 ], [ 114, 116 ], [ 5, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 119, 130 ], [ 130, 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 ], [ 145, 149 ], [ 144, 150 ], [ 143, 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 ], [ 165, 169 ], [ 164, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 170, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 5, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 199, 201 ], [ 194, 202 ], [ 202, 203 ], [ 203, 204 ], [ 194, 205 ], [ 206, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 207, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 206, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 215, 221 ], [ 221, 222 ], [ 222, 223 ], [ 215, 224 ], [ 224, 225 ], [ 225, 226 ], [ 224, 227 ], [ 5, 228 ], [ 228, 229 ], [ 229, 230 ], [ 3, 231 ], [ 231, 232 ], [ 3, 233 ], [ 233, 234 ], [ 250, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 238, 241 ], [ 241, 242 ], [ 241, 243 ], [ 238, 244 ], [ 244, 245 ], [ 244, 246 ], [ 235, 247 ], [ 247, 248 ], [ 0, 249 ], [ 249, 250 ], [ 249, 251 ] ]
[ "public class Main {\n\t\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong[][] a;\n\t\tlong[][] b;\n\t\tlong[][] r;\n\t\tint n, m, l;\n\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\tl = sc.nextInt();\n\t\ta = new long[n][m];\n\t\tb = new long[m][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}\n\t\tfor (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}\n\t\t\n\t\tr = new long[n][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "public class Main {\n\t\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong[][] a;\n\t\tlong[][] b;\n\t\tlong[][] r;\n\t\tint n, m, l;\n\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\tl = sc.nextInt();\n\t\ta = new long[n][m];\n\t\tb = new long[m][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}\n\t\tfor (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}\n\t\t\n\t\tr = new long[n][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong[][] a;\n\t\tlong[][] b;\n\t\tlong[][] r;\n\t\tint n, m, l;\n\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\tl = sc.nextInt();\n\t\ta = new long[n][m];\n\t\tb = new long[m][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}\n\t\tfor (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}\n\t\t\n\t\tr = new long[n][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tsc.close();\n\t}", "run", "{\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong[][] a;\n\t\tlong[][] b;\n\t\tlong[][] r;\n\t\tint n, m, l;\n\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\tl = sc.nextInt();\n\t\ta = new long[n][m];\n\t\tb = new long[m][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}\n\t\tfor (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}\n\t\t\n\t\tr = new long[n][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tsc.close();\n\t}", "final java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "long[][] a;", "a", "long[][] b;", "b", "long[][] r;", "r", "int n", "n", "m", "m", "l;", "l", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "m = sc.nextInt()", "m", "sc.nextInt()", "sc.nextInt", "sc", "l = sc.nextInt()", "l", "sc.nextInt()", "sc.nextInt", "sc", "a = new long[n][m]", "a", "new long[n][m]", "n", "m", "b = new long[m][l]", "b", "new long[m][l]", "m", "l", "for (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "for (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}", "for (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\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.nextLong();\n\t\t}", "{\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}", "a[i][j] = sc.nextLong()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextLong()", "sc.nextLong", "sc", "for (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "++i", "++i", "i", "for (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}", "for (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "++j", "++j", "j", "{\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}", "{\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}", "b[i][j] = sc.nextLong()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextLong()", "sc.nextLong", "sc", "r = new long[n][l]", "r", "new long[n][l]", "n", "l", "for (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "for (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "++j", "++j", "j", "{\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}", "{\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}", "r[i][j] = 0", "r[i][j]", "r[i]", "r", "i", "j", "0", "for (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "++k", "++k", "k", "{\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}", "{\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}", "r[i][j] += a[i][k] * b[k][j]", "r[i][j]", "r[i]", "r", "i", "j", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\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 < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "++j", "++j", "j", "{\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}", "{\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}", "out.print(r[i][j])", "out.print", "out", "r[i][j]", "r[i]", "r", "i", "j", "if (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");", "j + 1 == l", "j + 1", "j", "1", "l", "out.println()", "out.println", "out", "out.print(\" \")", "out.print", "out", "\" \"", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}", "main", "{\n\t\t(new Main()).run(System.in, System.out);\n\t}", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\t\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong[][] a;\n\t\tlong[][] b;\n\t\tlong[][] r;\n\t\tint n, m, l;\n\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\tl = sc.nextInt();\n\t\ta = new long[n][m];\n\t\tb = new long[m][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}\n\t\tfor (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}\n\t\t\n\t\tr = new long[n][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "public class Main {\n\t\n\tpublic void run(java.io.InputStream in, java.io.PrintStream out) {\n\t\tfinal java.util.Scanner sc = new java.util.Scanner(in);\n\t\tlong[][] a;\n\t\tlong[][] b;\n\t\tlong[][] r;\n\t\tint n, m, l;\n\n\t\tn = sc.nextInt();\n\t\tm = sc.nextInt();\n\t\tl = sc.nextInt();\n\t\ta = new long[n][m];\n\t\tb = new long[m][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < m; ++j) {\n\t\t\ta[i][j] = sc.nextLong();\n\t\t}\n\t\tfor (int i = 0; i < m; ++i)\n\t\tfor (int j = 0; j < l; ++j){\n\t\t\tb[i][j] = sc.nextLong();\n\t\t}\n\t\t\n\t\tr = new long[n][l];\n\t\tfor (int i = 0; i < n; ++i)\n\t\tfor (int j = 0; j < l; ++j) {\n\t\t\tr[i][j] = 0;\n\t\t\tfor (int k = 0; k < m; ++k) {\n\t\t\t\tr[i][j] += a[i][k] * b[k][j];\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tfor (int j = 0; j < l; ++j) {\n\t\t\t\tout.print(r[i][j]);\n\t\t\t\tif (j + 1 == l) out.println();\n\t\t\t\telse out.print(\" \");\n\t\t\t}\n\t\t}\n\t\t\t\t\n\t\tsc.close();\n\t}\n\n\tpublic static void main(String[] args) {\n\t\t(new Main()).run(System.in, System.out);\n\t}\n\n}", "Main" ]
public class Main { public void run(java.io.InputStream in, java.io.PrintStream out) { final java.util.Scanner sc = new java.util.Scanner(in); long[][] a; long[][] b; long[][] r; int n, m, l; n = sc.nextInt(); m = sc.nextInt(); l = sc.nextInt(); a = new long[n][m]; b = new long[m][l]; for (int i = 0; i < n; ++i) for (int j = 0; j < m; ++j) { a[i][j] = sc.nextLong(); } for (int i = 0; i < m; ++i) for (int j = 0; j < l; ++j){ b[i][j] = sc.nextLong(); } r = new long[n][l]; for (int i = 0; i < n; ++i) for (int j = 0; j < l; ++j) { r[i][j] = 0; for (int k = 0; k < m; ++k) { r[i][j] += a[i][k] * b[k][j]; } } for (int i = 0; i < n; ++i) { for (int j = 0; j < l; ++j) { out.print(r[i][j]); if (j + 1 == l) out.println(); else out.print(" "); } } sc.close(); } public static void main(String[] args) { (new Main()).run(System.in, System.out); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 186, 5 ], [ 186, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 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 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 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 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 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 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 149, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 130, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 130, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 166, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 117, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 6, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int n=scan.nextInt();\n int m=scan.nextInt();\n int l=scan.nextInt();\n long outPint;\n int[][] matrixa=new int[n][m];\n int[][] matrixb=new int[m][l];\n \n for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();\n \n for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n } \n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int n=scan.nextInt();\n int m=scan.nextInt();\n int l=scan.nextInt();\n long outPint;\n int[][] matrixa=new int[n][m];\n int[][] matrixb=new int[m][l];\n \n for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();\n \n for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n } \n \n }\n}", "Main", "public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int n=scan.nextInt();\n int m=scan.nextInt();\n int l=scan.nextInt();\n long outPint;\n int[][] matrixa=new int[n][m];\n int[][] matrixb=new int[m][l];\n \n for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();\n \n for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n } \n \n }", "main", "{\n Scanner scan=new Scanner(System.in);\n int n=scan.nextInt();\n int m=scan.nextInt();\n int l=scan.nextInt();\n long outPint;\n int[][] matrixa=new int[n][m];\n int[][] matrixb=new int[m][l];\n \n for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();\n \n for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n } \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 l=scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "long outPint;", "outPint", "int[][] matrixa=new int[n][m];", "matrixa", "new int[n][m]", "n", "m", "int[][] matrixb=new int[m][l];", "matrixb", "new int[m][l]", "m", "l", "for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();", "for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "matrixa[i][j]=scan.nextInt();", "matrixa[i][j]=scan.nextInt()", "matrixa[i][j]", "matrixa[i]", "matrixa", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();", "for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "matrixb[i][j]=scan.nextInt();", "matrixb[i][j]=scan.nextInt()", "matrixb[i][j]", "matrixb[i]", "matrixb", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n }", "{\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n }", "for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }", "{\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }", "outPint=0", "outPint", "0", "for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n outPint+=matrixa[i][k]*matrixb[k][j];\n }", "{\n outPint+=matrixa[i][k]*matrixb[k][j];\n }", "outPint+=matrixa[i][k]*matrixb[k][j]", "outPint", "matrixa[i][k]*matrixb[k][j]", "matrixa[i][k]", "matrixa[i]", "matrixa", "i", "k", "matrixb[k][j]", "matrixb[k]", "matrixb", "k", "j", "System.out.print(outPint)", "System.out.print", "System.out", "System", "System.out", "outPint", "if(j!=l-1)\n System.out.print(\" \");", "j!=l-1", "j", "l-1", "l", "1", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int n=scan.nextInt();\n int m=scan.nextInt();\n int l=scan.nextInt();\n long outPint;\n int[][] matrixa=new int[n][m];\n int[][] matrixb=new int[m][l];\n \n for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();\n \n for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n } \n \n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int n=scan.nextInt();\n int m=scan.nextInt();\n int l=scan.nextInt();\n long outPint;\n int[][] matrixa=new int[n][m];\n int[][] matrixb=new int[m][l];\n \n for(int i=0; i<n; i++)\n for(int j=0; j<m; j++)\n matrixa[i][j]=scan.nextInt();\n \n for(int i=0; i<m; i++)\n for(int j=0; j<l; j++)\n matrixb[i][j]=scan.nextInt();\n \n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n outPint=0;\n for(int k=0; k<m; k++){\n outPint+=matrixa[i][k]*matrixb[k][j];\n }\n System.out.print(outPint);\n if(j!=l-1)\n System.out.print(\" \");\n }\n System.out.println();\n } \n \n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int m=scan.nextInt(); int l=scan.nextInt(); long outPint; int[][] matrixa=new int[n][m]; int[][] matrixb=new int[m][l]; for(int i=0; i<n; i++) for(int j=0; j<m; j++) matrixa[i][j]=scan.nextInt(); for(int i=0; i<m; i++) for(int j=0; j<l; j++) matrixb[i][j]=scan.nextInt(); for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ outPint=0; for(int k=0; k<m; k++){ outPint+=matrixa[i][k]*matrixb[k][j]; } System.out.print(outPint); if(j!=l-1) System.out.print(" "); } System.out.println(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 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, 2, 17, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 229, 5 ], [ 229, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 16, 32 ], [ 32, 33 ], [ 32, 34 ], [ 16, 37 ], [ 37, 38 ], [ 37, 39 ], [ 16, 42 ], [ 42, 43 ], [ 42, 44 ], [ 16, 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 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 72, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 16, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 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 ], [ 109, 113 ], [ 108, 114 ], [ 114, 115 ], [ 115, 116 ], [ 16, 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 ], [ 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 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 143, 151 ], [ 151, 152 ], [ 152, 153 ], [ 143, 154 ], [ 155, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 16, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 173, 181 ], [ 181, 182 ], [ 182, 183 ], [ 173, 184 ], [ 185, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 185, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 196, 204 ], [ 204, 205 ], [ 205, 206 ], [ 196, 207 ], [ 208, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 185, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 6, 226 ], [ 226, 227 ], [ 0, 228 ], [ 228, 229 ], [ 228, 230 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n }\n}", "Main", "public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n }", "main", "{\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "while (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}", "scan.hasNext()", "scan.hasNext", "scan", "{\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.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 a[i][j] = scan.nextInt();\n\t\t}\n\t }", "{\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }", "for (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t a[i][j] = scan.nextInt();\n\t\t}", "{\n\t\t a[i][j] = scan.nextInt();\n\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\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }", "{\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }", "for (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t b[i][j] = scan.nextInt();\n\t\t}", "{\n\t\t b[i][j] = scan.nextInt();\n\t\t}", "b[i][j] = scan.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }", "{\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }", "for (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}", "{\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}", "for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }", "{\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }", "c[i][j] += (long)(a[i][k] * b[k][j])", "c[i][j]", "c[i]", "c", "i", "j", "(long)(a[i][k] * b[k][j])", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }", "{\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }", "System.out.print(c[i][0])", "System.out.print", "System.out", "System", "System.out", "c[i][0]", "c[i]", "c", "i", "0", "for (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}", "int j = 1;", "int j = 1;", "j", "1", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}", "{\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}", "System.out.print(\" \" + c[i][j])", "System.out.print", "System.out", "System", "System.out", "\" \" + c[i][j]", "\" \"", "c[i][j]", "c[i]", "c", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n }\n}", "public class Main{\n public static void main(String[] args) {\n\tScanner scan = new Scanner(System.in);\n\twhile (scan.hasNext()) {\n\t int n = scan.nextInt();\n\t int m = scan.nextInt();\n\t int l = scan.nextInt();\n\t int[][] a = new int[n][m];\n\t int[][] b = new int[m][l];\n\t long[][] c = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < m; j++) {\n\t\t a[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < m; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t b[i][j] = scan.nextInt();\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tfor (int j = 0; j < l; j++) {\n\t\t for (int k = 0; k < m; k++) {\n\t\t\tc[i][j] += (long)(a[i][k] * b[k][j]);\n\t\t }\n\t\t}\n\t }\n\t for (int i = 0; i < n; i++) {\n\t\tSystem.out.print(c[i][0]);\n\t\tfor (int j = 1; j < l; j++) {\n\t\t System.out.print(\" \" + c[i][j]);\n\t\t}\n\t\tSystem.out.println();\n\t }\n\t}\n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); while (scan.hasNext()) { int n = scan.nextInt(); int m = scan.nextInt(); int l = scan.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long[][] c = new long[n][l]; 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++) { for (int j = 0; j < l; j++) { b[i][j] = scan.nextInt(); } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { c[i][j] += (long)(a[i][k] * b[k][j]); } } } for (int i = 0; i < n; i++) { System.out.print(c[i][0]); for (int j = 1; j < l; j++) { System.out.print(" " + c[i][j]); } System.out.println(); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 4, 18, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 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, 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, 2, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 8, 2, 13, 2, 13, 17, 17, 17, 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 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 14, 19 ], [ 19, 20 ], [ 14, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 14, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 32, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 14, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 14, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 59, 60 ], [ 59, 61 ], [ 14, 62 ], [ 62, 63 ], [ 62, 64 ], [ 14, 67 ], [ 67, 68 ], [ 67, 69 ], [ 14, 72 ], [ 72, 73 ], [ 72, 74 ], [ 14, 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 ], [ 94, 95 ], [ 95, 96 ], [ 92, 97 ], [ 89, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 98, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 14, 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 ], [ 140, 141 ], [ 137, 142 ], [ 134, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 143, 151 ], [ 151, 152 ], [ 152, 153 ], [ 143, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 155, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 164, 166 ], [ 14, 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 ], [ 185, 187 ], [ 180, 188 ], [ 188, 189 ], [ 189, 190 ], [ 180, 191 ], [ 192, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 198, 199 ], [ 198, 200 ], [ 193, 201 ], [ 201, 202 ], [ 202, 203 ], [ 193, 204 ], [ 205, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 206, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 212, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 218, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 192, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 229, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 234, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 243, 245 ], [ 240, 246 ], [ 240, 247 ], [ 179, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 12, 253 ], [ 253, 254 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint n,m,l;\n\t\tint i,j,k;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tString[] nml = br.readLine().split(\" \");\n\n\t\tn = Integer.parseInt(nml[0]);\n\t\tm = Integer.parseInt(nml[1]);\n\t\tl = Integer.parseInt(nml[2]);\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] out = new long[n][l];\n\n\t\tfor(i=0; i<n; i++)//get a\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\t\tfor(i=0; i<m; i++)//get b\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\n\t\tfor(i=0; i<n; i++)//calc\n\t\t{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\n\t}\n\t\n\t/*\n\tstatic void ShowMatrix(int[][] matrix, int n, int m)\n\t{\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(matrix[i][j]);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\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", "class Main{\n\n\tpublic static void main(String[] args) throws IOException\n\t{\n\t\tint n,m,l;\n\t\tint i,j,k;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tString[] nml = br.readLine().split(\" \");\n\n\t\tn = Integer.parseInt(nml[0]);\n\t\tm = Integer.parseInt(nml[1]);\n\t\tl = Integer.parseInt(nml[2]);\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] out = new long[n][l];\n\n\t\tfor(i=0; i<n; i++)//get a\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\t\tfor(i=0; i<m; i++)//get b\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\n\t\tfor(i=0; i<n; i++)//calc\n\t\t{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\n\t}\n\t\n\t/*\n\tstatic void ShowMatrix(int[][] matrix, int n, int m)\n\t{\n\t\tfor(int i=0; i<n; i++)\n\t\t{\n\t\t\tfor(int j=0; j<m; j++)\n\t\t\t{\n\t\t\t\tSystem.out.print(matrix[i][j]);\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\t}*/\n\t\n}", "Main", "public static void main(String[] args) throws IOException\n\t{\n\t\tint n,m,l;\n\t\tint i,j,k;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tString[] nml = br.readLine().split(\" \");\n\n\t\tn = Integer.parseInt(nml[0]);\n\t\tm = Integer.parseInt(nml[1]);\n\t\tl = Integer.parseInt(nml[2]);\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] out = new long[n][l];\n\n\t\tfor(i=0; i<n; i++)//get a\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\t\tfor(i=0; i<m; i++)//get b\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\n\t\tfor(i=0; i<n; i++)//calc\n\t\t{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\n\t}", "main", "{\n\t\tint n,m,l;\n\t\tint i,j,k;\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n\n\t\tString[] nml = br.readLine().split(\" \");\n\n\t\tn = Integer.parseInt(nml[0]);\n\t\tm = Integer.parseInt(nml[1]);\n\t\tl = Integer.parseInt(nml[2]);\n\t\t\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] out = new long[n][l];\n\n\t\tfor(i=0; i<n; i++)//get a\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\t\tfor(i=0; i<m; i++)//get b\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}\n\n\n\t\tfor(i=0; i<n; i++)//calc\n\t\t{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}\n\t\t\n\n\t}", "int n", "n", "m", "m", "l;", "l", "int i", "i", "j", "j", "k;", "k", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );", "br", "new BufferedReader(new InputStreamReader(System.in) )", "String[] nml = br.readLine().split(\" \");", "nml", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "n = Integer.parseInt(nml[0])", "n", "Integer.parseInt(nml[0])", "Integer.parseInt", "Integer", "nml[0]", "nml", "0", "m = Integer.parseInt(nml[1])", "m", "Integer.parseInt(nml[1])", "Integer.parseInt", "Integer", "nml[1]", "nml", "1", "l = Integer.parseInt(nml[2])", "l", "Integer.parseInt(nml[2])", "Integer.parseInt", "Integer", "nml[2]", "nml", "2", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long[][] out = new long[n][l];", "out", "new long[n][l]", "n", "l", "for(i=0; i<n; i++)//get a\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}", "{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);\n\t\t}", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]);", "j=0;", "j=0", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "a[i][j] = Integer.parseInt(str[j]);", "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(i=0; i<m; i++)//get b\n\t\t{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}", "i=0;", "i=0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}", "{\n\t\t\tString[] str = br.readLine().split(\" \");\n\t\t\tfor(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);\n\t\t}", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]);", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "b[i][j] = Integer.parseInt(str[j]);", "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; i++)//calc\n\t\t{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}\n\n\t\t\tSystem.out.println();\n\t\t}", "for(j=0; j<l; j++)\n\t\t\t{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}", "j=0;", "j=0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}", "{\n\t\t\t\tfor(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\t\n\t\t\t\tSystem.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") );\n\t\t\t}", "for(k=0; k<m; k++)\n\t\t\t\t{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "k=0;", "k=0", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "{\n\t\t\t\t\tout[i][j] = out[i][j] + a[i][k]*b[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "out[i][j] = out[i][j] + a[i][k]*b[k][j]", "out[i][j]", "out[i]", "out", "i", "j", "out[i][j] + a[i][k]*b[k][j]", "out[i][j]", "out[i]", "out", "i", "j", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.print(out[i][j] + ( (j==l-1) ? \"\" : \" \") )", "System.out.print", "System.out", "System", "System.out", "out[i][j] + ( (j==l-1) ? \"\" : \" \")", "out[i][j]", "out[i]", "out", "i", "j", "( (j==l-1) ? \"\" : \" \")", "(j==l-1)", "j", "l-1", "l", "1", "\"\"", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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,l; int i,j,k; BufferedReader br = new BufferedReader(new InputStreamReader(System.in) ); String[] nml = br.readLine().split(" "); n = Integer.parseInt(nml[0]); m = Integer.parseInt(nml[1]); l = Integer.parseInt(nml[2]); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long[][] out = new long[n][l]; for(i=0; i<n; i++)//get a { String[] str = br.readLine().split(" "); for(j=0; j<m; j++) a[i][j] = Integer.parseInt(str[j]); } for(i=0; i<m; i++)//get b { String[] str = br.readLine().split(" "); for(j=0; j<l; j++) b[i][j] = Integer.parseInt(str[j]); } for(i=0; i<n; i++)//calc { for(j=0; j<l; j++) { for(k=0; k<m; k++) { out[i][j] = out[i][j] + a[i][k]*b[k][j]; } System.out.print(out[i][j] + ( (j==l-1) ? "" : " ") ); } System.out.println(); } } /* static void ShowMatrix(int[][] matrix, int n, int m) { for(int i=0; i<n; i++) { for(int j=0; j<m; j++) { System.out.print(matrix[i][j]); } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 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, 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, 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, 42, 2, 13, 2, 13, 13, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 2, 13, 17, 13, 30, 4, 18, 18, 13, 13, 13, 40, 13, 14, 2, 2, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 17, 0, 13, 17, 0, 13, 17, 14, 2, 13, 2, 13, 17, 30, 40, 13, 30, 0, 13, 17, 14, 2, 13, 2, 13, 17, 30, 40, 13, 30, 40, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 217, 5 ], [ 217, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 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 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 8, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 134, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 154, 161 ], [ 161, 162 ], [ 154, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 163, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 154, 183 ], [ 183, 184 ], [ 183, 185 ], [ 154, 186 ], [ 186, 187 ], [ 186, 188 ], [ 154, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 189, 195 ], [ 195, 196 ], [ 196, 197 ], [ 189, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 205, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 148, 211 ], [ 211, 212 ], [ 212, 213 ], [ 6, 214 ], [ 214, 215 ], [ 0, 216 ], [ 216, 217 ], [ 216, 218 ] ]
[ "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 l = sc.nextInt();\n\n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n long cnt = 0;\n int ai = 0, bi = 0, abj = 0, x = 0;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }\n while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\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 int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n long cnt = 0;\n int ai = 0, bi = 0, abj = 0, x = 0;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }\n while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\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 l = sc.nextInt();\n\n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n long cnt = 0;\n int ai = 0, bi = 0, abj = 0, x = 0;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }\n while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n long cnt = 0;\n int ai = 0, bi = 0, abj = 0, x = 0;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }\n while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int A[][] = new int[n][m];", "A", "new int[n][m]", "n", "m", "int B[][] = new int[m][l];", "B", "new int[m][l]", "m", "l", "long cnt = 0;", "cnt", "0", "int ai = 0", "ai", "0", "bi = 0", "bi", "0", "abj = 0", "abj", "0", "x = 0;", "x", "0", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n 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 A[i][j] = num;\n }\n }", "{\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }", "for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n 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 A[i][j] = num;\n }", "{\n int num = sc.nextInt();\n A[i][j] = num;\n }", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "A[i][j] = num", "A[i][j]", "A[i]", "A", "i", "j", "num", "for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }", "{\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }", "for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n int num = sc.nextInt();\n B[i][j] = num;\n }", "{\n int num = sc.nextInt();\n B[i][j] = num;\n }", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "B[i][j] = num", "B[i][j]", "B[i]", "B", "i", "j", "num", "while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\n }\n }", "x < n * l", "x", "n * l", "n", "l", "{\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\n }\n }", "cnt += A[ai][abj] * B[abj][bi]", "cnt", "A[ai][abj] * B[abj][bi]", "A[ai][abj]", "A[ai]", "A", "ai", "abj", "B[abj][bi]", "B[abj]", "B", "abj", "bi", "if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\n }", "abj + 1 == m", "abj + 1", "abj", "1", "m", "{\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }", "System.out.print(cnt)", "System.out.print", "System.out", "System", "System.out", "cnt", "x++", "x", "if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }", "x % l != 0", "x % l", "x", "l", "0", "{\n System.out.print(\" \");\n }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "{\n System.out.println(\"\");\n }", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "cnt = 0", "cnt", "0", "abj = 0", "abj", "0", "if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }", "bi < l - 1", "bi", "l - 1", "l", "1", "{\n bi++;\n }", "bi++", "bi", "{\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }", "bi = 0", "bi", "0", "if (ai < n - 1) {\n ai++;\n }", "ai < n - 1", "ai", "n - 1", "n", "1", "{\n ai++;\n }", "ai++", "ai", "{\n abj++;\n }", "abj++", "abj", "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 l = sc.nextInt();\n\n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n long cnt = 0;\n int ai = 0, bi = 0, abj = 0, x = 0;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }\n while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\n }\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 l = sc.nextInt();\n\n int A[][] = new int[n][m];\n int B[][] = new int[m][l];\n long cnt = 0;\n int ai = 0, bi = 0, abj = 0, x = 0;\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n int num = sc.nextInt();\n A[i][j] = num;\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n int num = sc.nextInt();\n B[i][j] = num;\n }\n }\n while (x < n * l) {\n cnt += A[ai][abj] * B[abj][bi];\n if (abj + 1 == m) {\n System.out.print(cnt);\n x++;\n if (x % l != 0) {\n System.out.print(\" \");\n } else {\n System.out.println(\"\");\n }\n cnt = 0;\n abj = 0;\n if (bi < l - 1) {\n bi++;\n } else {\n bi = 0;\n if (ai < n - 1) {\n ai++;\n }\n }\n }else{\n abj++;\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 l = sc.nextInt(); int A[][] = new int[n][m]; int B[][] = new int[m][l]; long cnt = 0; int ai = 0, bi = 0, abj = 0, x = 0; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { int num = sc.nextInt(); A[i][j] = num; } } for (int i = 0; i < m; i++) { for (int j = 0; j < l; j++) { int num = sc.nextInt(); B[i][j] = num; } } while (x < n * l) { cnt += A[ai][abj] * B[abj][bi]; if (abj + 1 == m) { System.out.print(cnt); x++; if (x % l != 0) { System.out.print(" "); } else { System.out.println(""); } cnt = 0; abj = 0; if (bi < l - 1) { bi++; } else { bi = 0; if (ai < n - 1) { ai++; } } }else{ abj++; } } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 2, 13, 17, 13, 30, 4, 18, 18, 13, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 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 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 52 ], [ 52, 53 ], [ 52, 54 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 72, 77 ], [ 69, 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 ], [ 11, 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 ], [ 120, 121 ], [ 121, 122 ], [ 118, 123 ], [ 115, 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 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 146, 148 ], [ 11, 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 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 162, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 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 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 193, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 174, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 174, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 210, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 174, 223 ], [ 223, 224 ], [ 223, 225 ], [ 161, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 9, 232 ], [ 232, 233 ] ]
[ "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 \n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int l = Integer.parseInt(ss[2]);\n int num1[][] = new int[n][m];\n int num2[][] = new int[m][l];\n \n for(int i=0; i<n; i++){\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\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 \n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int l = Integer.parseInt(ss[2]);\n int num1[][] = new int[n][m];\n int num2[][] = new int[m][l];\n \n for(int i=0; i<n; i++){\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\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 \n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int l = Integer.parseInt(ss[2]);\n int num1[][] = new int[n][m];\n int num2[][] = new int[m][l];\n \n for(int i=0; i<n; i++){\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ss = br.readLine().split(\" \");\n \n int n = Integer.parseInt(ss[0]);\n int m = Integer.parseInt(ss[1]);\n int l = Integer.parseInt(ss[2]);\n int num1[][] = new int[n][m];\n int num2[][] = new int[m][l];\n \n for(int i=0; i<n; i++){\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\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 l = Integer.parseInt(ss[2]);", "l", "Integer.parseInt(ss[2])", "Integer.parseInt", "Integer", "ss[2]", "ss", "2", "int num1[][] = new int[n][m];", "num1", "new int[n][m]", "n", "m", "int num2[][] = new int[m][l];", "num2", "new int[m][l]", "m", "l", "for(int i=0; i<n; i++){\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }", "{\n String[] s = br.readLine().split(\" \");\n for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }\n }", "String[] s = br.readLine().split(\" \");", "s", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0; j<m; j++){\n num1[i][j] = Integer.parseInt(s[j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n num1[i][j] = Integer.parseInt(s[j]);\n }", "{\n num1[i][j] = Integer.parseInt(s[j]);\n }", "num1[i][j] = Integer.parseInt(s[j])", "num1[i][j]", "num1[i]", "num1", "i", "j", "Integer.parseInt(s[j])", "Integer.parseInt", "Integer", "s[j]", "s", "j", "for(int i=0; i<m; i++){\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }", "{\n String[] str = br.readLine().split(\" \");\n for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }\n }", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j=0; j<l; j++){\n num2[i][j] = Integer.parseInt(str[j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n num2[i][j] = Integer.parseInt(str[j]);\n }", "{\n num2[i][j] = Integer.parseInt(str[j]);\n }", "num2[i][j] = Integer.parseInt(str[j])", "num2[i][j]", "num2[i]", "num2", "i", "j", "Integer.parseInt(str[j])", "Integer.parseInt", "Integer", "str[j]", "str", "j", "for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\n }", "{\n for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }\n System.out.println(\"\");\n }", "for(int j=0; j<l; j++){\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }", "{\n long a=0;\n for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }\n System.out.print(a);\n if(j+1<l){\n System.out.print(\" \");\n }\n a=0;\n }", "long a=0;", "a", "0", "for(int k=0; k<m; k++){\n a += num1[i][k] * num2[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n a += num1[i][k] * num2[k][j];\n }", "{\n a += num1[i][k] * num2[k][j];\n }", "a += num1[i][k] * num2[k][j]", "a", "num1[i][k] * num2[k][j]", "num1[i][k]", "num1[i]", "num1", "i", "k", "num2[k][j]", "num2[k]", "num2", "k", "j", "System.out.print(a)", "System.out.print", "System.out", "System", "System.out", "a", "if(j+1<l){\n System.out.print(\" \");\n }", "j+1<l", "j+1", "j", "1", "l", "{\n System.out.print(\" \");\n }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "a=0", "a", "0", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "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 l = Integer.parseInt(ss[2]); int num1[][] = new int[n][m]; int num2[][] = new int[m][l]; for(int i=0; i<n; i++){ String[] s = br.readLine().split(" "); for(int j=0; j<m; j++){ num1[i][j] = Integer.parseInt(s[j]); } } for(int i=0; i<m; i++){ String[] str = br.readLine().split(" "); for(int j=0; j<l; j++){ num2[i][j] = Integer.parseInt(str[j]); } } for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ long a=0; for(int k=0; k<m; k++){ a += num1[i][k] * num2[k][j]; } System.out.print(a); if(j+1<l){ System.out.print(" "); } a=0; } System.out.println(""); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 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, 18, 13, 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, 18, 13, 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, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 3, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 235, 5 ], [ 235, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 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 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 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 ], [ 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 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 8, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 187, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 200, 205 ], [ 200, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 199, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 214, 216 ], [ 211, 217 ], [ 199, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 186, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 8, 229 ], [ 229, 230 ], [ 230, 231 ], [ 6, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n int i, j, k;\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int a[][] = new int [n][m];\n int b[][] = new int [m][l];\n long c[][] = new long[n][l];\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(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }\n \n for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }\n for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }\n sc.close();\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n int i, j, k;\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int a[][] = new int [n][m];\n int b[][] = new int [m][l];\n long c[][] = new long[n][l];\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(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }\n \n for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }\n for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }\n sc.close();\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n int i, j, k;\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int a[][] = new int [n][m];\n int b[][] = new int [m][l];\n long c[][] = new long[n][l];\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(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }\n \n for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }\n for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }\n sc.close();\n }", "main", "{\n int i, j, k;\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int a[][] = new int [n][m];\n int b[][] = new int [m][l];\n long c[][] = new long[n][l];\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(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }\n \n for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }\n for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }\n sc.close();\n }", "int i", "i", "j", "j", "k;", "k", "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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int [n][m];", "a", "new int [n][m]", "n", "m", "int b[][] = new int [m][l];", "b", "new int [m][l]", "m", "l", "long c[][] = new long[n][l];", "c", "new long[n][l]", "n", "l", "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 for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }", "{\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }", "for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }", "k = 0;", "k = 0", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n b[j][k] = sc.nextInt();\n }", "{\n b[j][k] = sc.nextInt();\n }", "b[j][k] = sc.nextInt()", "b[j][k]", "b[j]", "b", "j", "k", "sc.nextInt()", "sc.nextInt", "sc", "for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }", "{\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }", "for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }", "{\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }", "for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }", "k = 0;", "k = 0", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n c[i][k] += a[i][j] * b[j][k];\n }", "{\n c[i][k] += a[i][j] * b[j][k];\n }", "c[i][k] += a[i][j] * b[j][k]", "c[i][k]", "c[i]", "c", "i", "k", "a[i][j] * b[j][k]", "a[i][j]", "a[i]", "a", "i", "j", "b[j][k]", "b[j]", "b", "j", "k", "for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }", "{\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }", "for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }", "k = 0;", "k = 0", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }", "{\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }", "System.out.printf(\"%d\", c[i][k])", "System.out.printf", "System.out", "System", "System.out", "\"%d\"", "c[i][k]", "c[i]", "c", "i", "k", "if(k == l - 1) break;", "k == l - 1", "k", "l - 1", "l", "1", "break;", "System.out.printf(\" \")", "System.out.printf", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n int i, j, k;\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int a[][] = new int [n][m];\n int b[][] = new int [m][l];\n long c[][] = new long[n][l];\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(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }\n \n for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }\n for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n int i, j, k;\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int a[][] = new int [n][m];\n int b[][] = new int [m][l];\n long c[][] = new long[n][l];\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(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n b[j][k] = sc.nextInt();\n }\n }\n \n for(i = 0; i < n; i++){\n for(j = 0; j < m; j++){\n for(k = 0; k < l; k++){\n c[i][k] += a[i][j] * b[j][k];\n }\n }\n }\n for(i = 0; i < n; i++){\n for(k = 0; k < l; k++){\n System.out.printf(\"%d\", c[i][k]);\n if(k == l - 1) break;\n System.out.printf(\" \");\n }\n System.out.println();\n }\n sc.close();\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { int i, j, k; Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int a[][] = new int [n][m]; int b[][] = new int [m][l]; long c[][] = new long[n][l]; for(i = 0; i < n; i++){ for(j = 0; j < m; j++){ a[i][j] = sc.nextInt(); } } for(j = 0; j < m; j++){ for(k = 0; k < l; k++){ b[j][k] = sc.nextInt(); } } for(i = 0; i < n; i++){ for(j = 0; j < m; j++){ for(k = 0; k < l; k++){ c[i][k] += a[i][j] * b[j][k]; } } } for(i = 0; i < n; i++){ for(k = 0; k < l; k++){ System.out.printf("%d", c[i][k]); if(k == l - 1) break; System.out.printf(" "); } System.out.println(); } sc.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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 190, 5 ], [ 190, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 162, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 119, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 6, 187 ], [ 187, 188 ], [ 0, 189 ], [ 189, 190 ], [ 189, 191 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\n\t\t//配列nm,ml\n\t\tint[][] nm = new int[n][m];\n\t\tint[][] ml = new int[m][l];\n\n\t\t//nm入力\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//ml入力\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t//n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力\n\t\tfor(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\n\t\t//配列nm,ml\n\t\tint[][] nm = new int[n][m];\n\t\tint[][] ml = new int[m][l];\n\n\t\t//nm入力\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//ml入力\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t//n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力\n\t\tfor(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\n\t\t//配列nm,ml\n\t\tint[][] nm = new int[n][m];\n\t\tint[][] ml = new int[m][l];\n\n\t\t//nm入力\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//ml入力\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t//n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力\n\t\tfor(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\n\t\t//配列nm,ml\n\t\tint[][] nm = new int[n][m];\n\t\tint[][] ml = new int[m][l];\n\n\t\t//nm入力\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//ml入力\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t//n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力\n\t\tfor(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}\n\t}", "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 l = scanner.nextInt();", "l", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] nm = new int[n][m];", "nm", "new int[n][m]", "n", "m", "int[][] ml = new int[m][l];", "ml", "new int[m][l]", "m", "l", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.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\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}", "nm[i][j] = scanner.nextInt()", "nm[i][j]", "nm[i]", "nm", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.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 < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}", "ml[i][j] = scanner.nextInt()", "ml[i][j]", "ml[i]", "ml", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}", "for(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}", "long sum = 0;", "sum", "0", "for(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "{\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}", "sum += nm[i][k] * ml[k][j]", "sum", "nm[i][k] * ml[k][j]", "nm[i][k]", "nm[i]", "nm", "i", "k", "ml[k][j]", "ml[k]", "ml", "k", "j", "if(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}", "j == 0", "j", "0", "{\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "{\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}", "System.out.print(\" \" + sum)", "System.out.print", "System.out", "System", "System.out", "\" \" + sum", "\" \"", "sum", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\n\t\t//配列nm,ml\n\t\tint[][] nm = new int[n][m];\n\t\tint[][] ml = new int[m][l];\n\n\t\t//nm入力\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//ml入力\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t//n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力\n\t\tfor(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\t//入力\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\n\t\t//配列nm,ml\n\t\tint[][] nm = new int[n][m];\n\t\tint[][] ml = new int[m][l];\n\n\t\t//nm入力\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tnm[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\t//ml入力\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tml[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t//n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力\n\t\tfor(int i=0; i<n; i++) {\n\t\t\t\n\t\t\tfor(int j=0; j<l; j++) {\n\t\t\t\t\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor(int k=0; k<m; k++) {\n\t\t\t\t\t\n\t\t\t\t\tsum += nm[i][k] * ml[k][j];\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t\tif(j == 0) {\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner scanner = new Scanner(System.in); //入力 int n = scanner.nextInt(); int m = scanner.nextInt(); int l = scanner.nextInt(); //配列nm,ml int[][] nm = new int[n][m]; int[][] ml = new int[m][l]; //nm入力 for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { nm[i][j] = scanner.nextInt(); } } //ml入力 for (int i = 0; i < m; i++) { for (int j = 0; j < l; j++) { ml[i][j] = scanner.nextInt(); } } //n*lをm回繰り返しsumに計上。sumをn*l回繰り返し出力 for(int i=0; i<n; i++) { for(int j=0; j<l; j++) { long sum = 0; for(int k=0; k<m; k++) { sum += nm[i][k] * ml[k][j]; } if(j == 0) { System.out.print(sum); }else { System.out.print(" " + sum); } } System.out.println(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 38, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 14, 13, 30, 0, 13, 4, 18, 13, 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, 13, 0, 13, 17, 0, 13, 17, 30, 14, 2, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 18, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 2, 13, 13, 13, 4, 18, 13, 18, 13, 13, 40, 13, 14, 2, 13, 2, 13, 13, 30, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 0, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 17, 13, 3, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 251, 8 ], [ 251, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 16, 28 ], [ 28, 29 ], [ 28, 30 ], [ 16, 31 ], [ 31, 32 ], [ 31, 33 ], [ 16, 34 ], [ 34, 35 ], [ 34, 36 ], [ 16, 37 ], [ 37, 38 ], [ 37, 39 ], [ 16, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 40, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 57, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 57, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 79, 80 ], [ 79, 81 ], [ 57, 82 ], [ 82, 83 ], [ 82, 84 ], [ 57, 87 ], [ 87, 88 ], [ 87, 89 ], [ 57, 92 ], [ 92, 93 ], [ 92, 94 ], [ 57, 95 ], [ 95, 96 ], [ 95, 97 ], [ 55, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 104, 114 ], [ 114, 115 ], [ 115, 116 ], [ 104, 117 ], [ 118, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 128, 129 ], [ 128, 130 ], [ 99, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 132, 142 ], [ 142, 143 ], [ 143, 144 ], [ 132, 145 ], [ 146, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 151, 153 ], [ 148, 154 ], [ 147, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 158, 159 ], [ 158, 160 ], [ 98, 161 ], [ 161, 162 ], [ 98, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 166, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 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 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 187, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 203, 211 ], [ 211, 212 ], [ 212, 213 ], [ 203, 214 ], [ 215, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 218, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 199, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 233, 234 ], [ 234, 235 ], [ 233, 236 ], [ 186, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 237, 242 ], [ 242, 243 ], [ 243, 244 ], [ 242, 245 ], [ 242, 246 ], [ 169, 247 ], [ 9, 248 ], [ 248, 249 ], [ 0, 250 ], [ 250, 251 ], [ 250, 252 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }\n }\n\n}", "Main", "public static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }\n }", "main", "{\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }\n }", "boolean first=true;", "first", "true", "try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }", "{\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "int i=0", "i", "0", "n=0", "n", "0", "m=0", "m", "0", "l=0;", "l", "0", "int[][] a=null", "a", "null", "b=null;", "b", "null", "while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }", "(line = br.readLine()) != null", "(line = br.readLine())", "line", "br.readLine()", "br.readLine", "br", "null", "{\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }", "String[] str=line.split(\" \");", "str", "line.split(\" \")", "line.split", "line", "\" \"", "if(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}", "first", "{\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}", "n=Integer.parseInt(str[0])", "n", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "m=Integer.parseInt(str[1])", "m", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "l=Integer.parseInt(str[2])", "l", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "a=new int[n][m]", "a", "new int[n][m]", "n", "m", "b=new int[m][l]", "b", "new int[m][l]", "m", "l", "i=0", "i", "0", "first=false", "first", "false", "{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}", "if(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}", "i<n", "i", "n", "{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}", "for(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<str.length", "j", "str.length", "str", "str.length", "j++", "j++", "j", "{\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}", "{\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}", "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", "{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}", "for(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<str.length", "j", "str.length", "str", "str.length", "j++", "j++", "j", "{\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}", "{\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}", "b[i-n][j]=Integer.parseInt(str[j])", "b[i-n][j]", "b[i-n]", "b", "i-n", "i", "n", "j", "Integer.parseInt(str[j])", "Integer.parseInt", "Integer", "str[j]", "str", "j", "i++", "i", "if(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}", "i==n+m", "i", "n+m", "n", "m", "{\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}", "String[] s=new String[l];", "s", "new String[l]", "l", "for(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}", "{\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}", "for(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<l", "k", "l", "k++", "k++", "k", "{\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}", "{\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}", "long sum=0;", "sum", "0", "for(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}", "int o=0;", "int o=0;", "o", "0", "o<m", "o", "m", "o++", "o++", "o", "{\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}", "{\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}", "sum+=(a[j][o]*b[o][k])", "sum", "(a[j][o]*b[o][k])", "a[j][o]", "a[j]", "a", "j", "o", "b[o][k]", "b[o]", "b", "o", "k", "s[k]=String.valueOf(sum)", "s[k]", "s", "k", "String.valueOf(sum)", "String.valueOf", "String", "sum", "System.out.println(String.join(\" \", s))", "System.out.println", "System.out", "System", "System.out", "String.join(\" \", s)", "String.join", "String", "\" \"", "s", "break;", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }\n }\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n // TODO ?????????????????????????????????????????????\n \n boolean first=true;\n try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n String line;\n int i=0,n=0,m=0,l=0;\n int[][] a=null,b=null;\n while ((line = br.readLine()) != null) {\n \tString[] str=line.split(\" \");\n \tif(first){\n \t\tn=Integer.parseInt(str[0]);\n \t\tm=Integer.parseInt(str[1]);\n \t\tl=Integer.parseInt(str[2]);\n \t\ta=new int[n][m];\n \t\tb=new int[m][l];\n \t\ti=0;\n \t\tfirst=false;\n \t}else{\n \t\tif(i<n){\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\ta[i][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}else{\n \t\t\tfor(int j=0;j<str.length;j++){\n \t\t\t\tb[i-n][j]=Integer.parseInt(str[j]);\n \t\t\t}\n \t\t}\n \t\ti++;\n \t\tif(i==n+m){\n \t\t\tString[] s=new String[l];\n \t\t\tfor(int j=0;j<n;j++){\n \t\t\t\tfor(int k=0;k<l;k++){\n \t\t\t\t\tlong sum=0;\n \t\t\t\tfor(int o=0;o<m;o++){\n \t\t\t\t\tsum+=(a[j][o]*b[o][k]);\n \t\t\t\t}\n \t\t\t\t\n \t\t\t\ts[k]=String.valueOf(sum);\n \t\t\t}\n \t\t\t\tSystem.out.println(String.join(\" \", s));\n \t\t\t}\n \t\t\tbreak;\n \t\t}\n \t}\n }\n }\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // TODO ????????????????????????????????????????????? boolean first=true; try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { String line; int i=0,n=0,m=0,l=0; int[][] a=null,b=null; while ((line = br.readLine()) != null) { String[] str=line.split(" "); if(first){ n=Integer.parseInt(str[0]); m=Integer.parseInt(str[1]); l=Integer.parseInt(str[2]); a=new int[n][m]; b=new int[m][l]; i=0; first=false; }else{ if(i<n){ for(int j=0;j<str.length;j++){ a[i][j]=Integer.parseInt(str[j]); } }else{ for(int j=0;j<str.length;j++){ b[i-n][j]=Integer.parseInt(str[j]); } } i++; if(i==n+m){ String[] s=new String[l]; for(int j=0;j<n;j++){ for(int k=0;k<l;k++){ long sum=0; for(int o=0;o<m;o++){ sum+=(a[j][o]*b[o][k]); } s[k]=String.valueOf(sum); } System.out.println(String.join(" ", s)); } break; } } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 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, 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, 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, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 187, 5 ], [ 187, 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 ], [ 24, 25 ], [ 25, 26 ], [ 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 ], [ 67, 69 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 132, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 119, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 6, 184 ], [ 184, 185 ], [ 0, 186 ], [ 186, 187 ], [ 186, 188 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int arrayA[][] = new int[n][m];\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }\n int arrayB[][] = new int[m][l];\n for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }\n \n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int arrayA[][] = new int[n][m];\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }\n int arrayB[][] = new int[m][l];\n for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\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 l = sc.nextInt();\n int arrayA[][] = new int[n][m];\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }\n int arrayB[][] = new int[m][l];\n for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }\n \n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int arrayA[][] = new int[n][m];\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }\n int arrayB[][] = new int[m][l];\n for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int arrayA[][] = new int[n][m];", "arrayA", "new int[n][m]", "n", "m", "for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[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 arrayA[i][j] = sc.nextInt();\n }\n }", "{\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }", "for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n arrayA[i][j] = sc.nextInt();\n }", "{\n arrayA[i][j] = sc.nextInt();\n }", "arrayA[i][j] = sc.nextInt()", "arrayA[i][j]", "arrayA[i]", "arrayA", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "int arrayB[][] = new int[m][l];", "arrayB", "new int[m][l]", "m", "l", "for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }", "{\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }", "for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n arrayB[i][j] = sc.nextInt();\n }", "{\n arrayB[i][j] = sc.nextInt();\n }", "arrayB[i][j] = sc.nextInt()", "arrayB[i][j]", "arrayB[i]", "arrayB", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }", "{\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }", "for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }", "{\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }", "long sum = 0;", "sum", "0", "for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n sum += arrayA[i][k] * arrayB[k][j];\n }", "{\n sum += arrayA[i][k] * arrayB[k][j];\n }", "sum += arrayA[i][k] * arrayB[k][j]", "sum", "arrayA[i][k] * arrayB[k][j]", "arrayA[i][k]", "arrayA[i]", "arrayA", "i", "k", "arrayB[k][j]", "arrayB[k]", "arrayB", "k", "j", "if(j != 0){\n System.out.print(\" \");\n }", "j != 0", "j", "0", "{\n System.out.print(\" \");\n }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int arrayA[][] = new int[n][m];\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }\n int arrayB[][] = new int[m][l];\n for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }\n \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 int l = sc.nextInt();\n int arrayA[][] = new int[n][m];\n for(int i = 0; i < n; i++){\n for(int j = 0; j < m; j++){\n arrayA[i][j] = sc.nextInt();\n }\n }\n int arrayB[][] = new int[m][l];\n for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n arrayB[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long sum = 0;\n for(int k = 0; k < m; k++){\n sum += arrayA[i][k] * arrayB[k][j];\n }\n if(j != 0){\n System.out.print(\" \");\n }\n System.out.print(sum);\n }\n System.out.println();\n }\n \n \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int arrayA[][] = new int[n][m]; for(int i = 0; i < n; i++){ for(int j = 0; j < m; j++){ arrayA[i][j] = sc.nextInt(); } } int arrayB[][] = new int[m][l]; for(int i = 0; i < m; i++){ for(int j = 0; j < l; j++){ arrayB[i][j] = sc.nextInt(); } } for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ long sum = 0; for(int k = 0; k < m; k++){ sum += arrayA[i][k] * arrayB[k][j]; } if(j != 0){ System.out.print(" "); } System.out.print(sum); } System.out.println(); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 0, 18, 18, 13, 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, 18, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 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 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 324, 26 ], [ 324, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 29, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 29, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 29, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 29, 48 ], [ 48, 49 ], [ 48, 50 ], [ 29, 53 ], [ 53, 54 ], [ 53, 55 ], [ 29, 58 ], [ 58, 59 ], [ 58, 60 ], [ 29, 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 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 76, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 29, 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 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 29, 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 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 162, 163 ], [ 162, 164 ], [ 157, 165 ], [ 165, 166 ], [ 166, 167 ], [ 157, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 169, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 175, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 29, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 186, 194 ], [ 194, 195 ], [ 195, 196 ], [ 186, 197 ], [ 198, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 199, 209 ], [ 209, 210 ], [ 210, 211 ], [ 199, 212 ], [ 213, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 219, 225 ], [ 198, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 235, 236 ], [ 235, 237 ], [ 27, 238 ], [ 238, 239 ], [ 324, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 240, 244 ], [ 244, 245 ], [ 240, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 249, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 246, 260 ], [ 260, 261 ], [ 240, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 240, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 272, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 271, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 285, 286 ], [ 286, 287 ], [ 281, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 270, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 240, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 300, 303 ], [ 303, 304 ], [ 240, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 309, 312 ], [ 312, 313 ], [ 240, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 318, 321 ], [ 321, 322 ], [ 0, 323 ], [ 323, 324 ], [ 323, 325 ] ]
[ "import java.io.BufferedReader;\nimport java.io.FileNotFoundException;\nimport java.io.FileReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\nimport java.util.Arrays;\nimport java.util.Objects;\n\npublic class Main{\n public static void main(String[] args){\n FastScanner sc = new FastScanner();\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] ans = new long[n][l];\n\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }\n }\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n}\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.io.FileReader;", "FileReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Objects;", "Objects", "java.util", "public class Main{\n public static void main(String[] args){\n FastScanner sc = new FastScanner();\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] ans = new long[n][l];\n\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }\n }\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n}", "Main", "public static void main(String[] args){\n FastScanner sc = new FastScanner();\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] ans = new long[n][l];\n\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }\n }", "main", "{\n FastScanner sc = new FastScanner();\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] ans = new long[n][l];\n\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }\n }", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "long[][] a = new long[n][m];", "a", "new long[n][m]", "n", "m", "long[][] b = new long[m][l];", "b", "new long[m][l]", "m", "l", "long[][] ans = new long[n][l];", "ans", "new long[n][l]", "n", "l", "for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }", "{\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }", "for(int j=0;j<m;j++)a[i][j] = sc.nextLong();", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "a[i][j] = sc.nextLong();", "a[i][j] = sc.nextLong()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextLong()", "sc.nextLong", "sc", "for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }", "{\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }", "for(int j=0;j<l;j++)b[i][j] = sc.nextLong();", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "b[i][j] = sc.nextLong();", "b[i][j] = sc.nextLong()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextLong()", "sc.nextLong", "sc", "for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }", "{\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }", "for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }", "{\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }", "for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "ans[i][j] += a[i][k]*b[k][j];", "ans[i][j] += a[i][k]*b[k][j]", "ans[i][j]", "ans[i]", "ans", "i", "j", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }", "{\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }", "for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }", "int j=0;", "int j=0;", "j", "0", "j<l-1", "j", "l-1", "l", "1", "j++", "j++", "j", "{\n System.out.print(ans[i][j]+\" \");\n }", "{\n System.out.print(ans[i][j]+\" \");\n }", "System.out.print(ans[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "ans[i][j]+\" \"", "ans[i][j]", "ans[i]", "ans", "i", "j", "\" \"", "System.out.println(ans[i][l-1])", "System.out.println", "System.out", "System", "System.out", "ans[i][l-1]", "ans[i]", "ans", "i", "l-1", "l", "1", "String[] args", "args", "public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "FastScanner", "{\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }", "try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n br = new BufferedReader(new FileReader(s));\n }", "br = new BufferedReader(new FileReader(s))", "br", "new BufferedReader(new FileReader(s))", "String s", "s", "public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "nextToken", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\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 st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(nextToken());\n }", "nextInt", "{\n return Integer.parseInt(nextToken());\n }", "return Integer.parseInt(nextToken());", "Integer.parseInt(nextToken())", "Integer.parseInt", "Integer", "nextToken()", "nextToken", "long nextLong() {\n return Long.parseLong(nextToken());\n }", "nextLong", "{\n return Long.parseLong(nextToken());\n }", "return Long.parseLong(nextToken());", "Long.parseLong(nextToken())", "Long.parseLong", "Long", "nextToken()", "nextToken", "double nextDouble() {\n return Double.parseDouble(nextToken());\n }", "nextDouble", "{\n return Double.parseDouble(nextToken());\n }", "return Double.parseDouble(nextToken());", "Double.parseDouble(nextToken())", "Double.parseDouble", "Double", "nextToken()", "nextToken", "public class Main{\n public static void main(String[] args){\n FastScanner sc = new FastScanner();\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] ans = new long[n][l];\n\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }\n }\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n}", "public class Main{\n public static void main(String[] args){\n FastScanner sc = new FastScanner();\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n long[][] a = new long[n][m];\n long[][] b = new long[m][l];\n long[][] ans = new long[n][l];\n\n for(int i=0;i<n;i++){\n for(int j=0;j<m;j++)a[i][j] = sc.nextLong();\n }\n for(int i=0;i<m;i++){\n for(int j=0;j<l;j++)b[i][j] = sc.nextLong();\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j];\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l-1;j++){\n System.out.print(ans[i][j]+\" \");\n }\n System.out.println(ans[i][l-1]);\n }\n }\n\n public static class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n public FastScanner(String s) {\n try {\n br = new BufferedReader(new FileReader(s));\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n }\n\n public FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String nextToken() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(nextToken());\n }\n\n long nextLong() {\n return Long.parseLong(nextToken());\n }\n\n double nextDouble() {\n return Double.parseDouble(nextToken());\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.FileNotFoundException; import java.io.FileReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.StringTokenizer; import java.util.Arrays; import java.util.Objects; public class Main{ public static void main(String[] args){ FastScanner sc = new FastScanner(); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); long[][] a = new long[n][m]; long[][] b = new long[m][l]; long[][] ans = new long[n][l]; for(int i=0;i<n;i++){ for(int j=0;j<m;j++)a[i][j] = sc.nextLong(); } for(int i=0;i<m;i++){ for(int j=0;j<l;j++)b[i][j] = sc.nextLong(); } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ for(int k=0;k<m;k++)ans[i][j] += a[i][k]*b[k][j]; } } for(int i=0;i<n;i++){ for(int j=0;j<l-1;j++){ System.out.print(ans[i][j]+" "); } System.out.println(ans[i][l-1]); } } public static class FastScanner { BufferedReader br; StringTokenizer st; public FastScanner(String s) { try { br = new BufferedReader(new FileReader(s)); } catch (FileNotFoundException e) { e.printStackTrace(); } } public FastScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String nextToken() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(nextToken()); } long nextLong() { return Long.parseLong(nextToken()); } double nextDouble() { return Double.parseDouble(nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 262, 5 ], [ 262, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 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 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 81, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 8, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 119, 120 ], [ 119, 121 ], [ 114, 122 ], [ 122, 123 ], [ 123, 124 ], [ 114, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 131, 132 ], [ 131, 133 ], [ 126, 134 ], [ 134, 135 ], [ 135, 136 ], [ 126, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 138, 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 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 158, 169 ], [ 170, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 189, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 170, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 200, 206 ], [ 8, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 212, 213 ], [ 212, 214 ], [ 207, 215 ], [ 215, 216 ], [ 216, 217 ], [ 207, 218 ], [ 219, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 227, 229 ], [ 220, 230 ], [ 230, 231 ], [ 231, 232 ], [ 220, 233 ], [ 234, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 235, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 240, 246 ], [ 219, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 247, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 252, 256 ], [ 256, 257 ], [ 256, 258 ], [ 6, 259 ], [ 259, 260 ], [ 0, 261 ], [ 261, 262 ], [ 261, 263 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint n,m,l;\n\t\tScanner scan = new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tm=scan.nextInt();\n\t\tl=scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<m;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\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\tint n,m,l;\n\t\tScanner scan = new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tm=scan.nextInt();\n\t\tl=scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<m;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint n,m,l;\n\t\tScanner scan = new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tm=scan.nextInt();\n\t\tl=scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<m;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\t}", "main", "{\n\t\tint n,m,l;\n\t\tScanner scan = new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tm=scan.nextInt();\n\t\tl=scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<m;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\t}", "int n", "n", "m", "m", "l;", "l", "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", "l=scan.nextInt()", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "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();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "for(int j=0;j<m;j++)\n\t\t\t\tA[i][j]=scan.nextInt();", "for(int j=0;j<m;j++)\n\t\t\t\tA[i][j]=scan.nextInt();", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "A[i][j]=scan.nextInt();", "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\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "for(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();", "for(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "B[i][j]=scan.nextInt();", "B[i][j]=scan.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "for(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;", "for(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "C[i][j]=0;", "C[i][j]=0", "C[i][j]", "C[i]", "C", "i", "j", "0", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\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<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}", "for(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}", "{\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}", "long temp = 0;", "temp", "0", "for(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}", "temp += A[i][k] * B[k][j]", "temp", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "C[i][j]=temp", "C[i][j]", "C[i]", "C", "i", "j", "temp", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\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<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}", "{\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}", "for(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l-1", "j", "l-1", "l", "1", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}", "System.out.print(C[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "System.out.println(C[i][l-1])", "System.out.println", "System.out", "System", "System.out", "C[i][l-1]", "C[i]", "C", "i", "l-1", "l", "1", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n,m,l;\n\t\tScanner scan = new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tm=scan.nextInt();\n\t\tl=scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<m;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n,m,l;\n\t\tScanner scan = new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tm=scan.nextInt();\n\t\tl=scan.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<m;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tB[i][j]=scan.nextInt();\n\t\t\n\t\tfor(int i=0;i<n;i++)\n\t\t\tfor(int j=0;j<l;j++)\n\t\t\t\tC[i][j]=0;\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\ttemp += A[i][k] * B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j]=temp;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l-1;j++){\n\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int n,m,l; Scanner scan = new Scanner(System.in); n=scan.nextInt(); m=scan.nextInt(); l=scan.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; 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++) for(int j=0;j<l;j++) B[i][j]=scan.nextInt(); for(int i=0;i<n;i++) for(int j=0;j<l;j++) C[i][j]=0; for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ long temp = 0; for(int k=0;k<m;k++){ temp += A[i][k] * B[k][j]; } C[i][j]=temp; } } for(int i=0;i<n;i++){ for(int j=0;j<l-1;j++){ System.out.print(C[i][j] + " "); } System.out.println(C[i][l-1]); } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 245, 2 ], [ 245, 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 ], [ 21, 22 ], [ 22, 23 ], [ 5, 24 ], [ 24, 25 ], [ 25, 26 ], [ 5, 27 ], [ 27, 28 ], [ 27, 29 ], [ 5, 32 ], [ 32, 33 ], [ 32, 34 ], [ 5, 37 ], [ 37, 38 ], [ 37, 39 ], [ 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 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 103, 108 ], [ 100, 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 ], [ 123, 127 ], [ 122, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 131, 133 ], [ 5, 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 ], [ 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 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 160, 171 ], [ 172, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 173, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 179, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 5, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 210, 212 ], [ 203, 213 ], [ 213, 214 ], [ 214, 215 ], [ 203, 216 ], [ 217, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 223, 229 ], [ 202, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 230, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 239, 240 ], [ 239, 241 ], [ 3, 242 ], [ 242, 243 ], [ 0, 244 ], [ 244, 245 ], [ 244, 246 ] ]
[ "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\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tsc.nextLine(); // nextInt()??????????????£?????????\"\\n\"????¶????????????????\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}\n\n\t\tfor (int j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}\n\n\t\t// C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k]\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\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\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tsc.nextLine(); // nextInt()??????????????£?????????\"\\n\"????¶????????????????\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}\n\n\t\tfor (int j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}\n\n\t\t// C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k]\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\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\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tsc.nextLine(); // nextInt()??????????????£?????????\"\\n\"????¶????????????????\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}\n\n\t\tfor (int j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}\n\n\t\t// C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k]\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tjava.util.Scanner sc = new java.util.Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tsc.nextLine(); // nextInt()??????????????£?????????\"\\n\"????¶????????????????\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}\n\n\t\tfor (int j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}\n\n\t\t// C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k]\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\n\t}", "java.util.Scanner sc = new java.util.Scanner(System.in);", "sc", "new java.util.Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextLine()", "sc.nextLine", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "for (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\n\t\t\tString[] data = 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\n\t\t}", "{\n\n\t\t\tString[] data = 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\n\t\t}", "String[] 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 j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}", "String[] data = sc.nextLine().split(\" \");", "data", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}", "{\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}", "B[j][k] = Integer.parseInt(data[k])", "B[j][k]", "B[j]", "B", "j", "k", "Integer.parseInt(data[k])", "Integer.parseInt", "Integer", "data[k]", "data", "k", "for (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "for (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}", "{\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}", "for (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\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][k] += A[i][j] * B[j][k];\n\t\t\t\t}", "{\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}", "C[i][k] += A[i][j] * B[j][k]", "C[i][k]", "C[i]", "C", "i", "k", "A[i][j] * B[j][k]", "A[i][j]", "A[i]", "A", "i", "j", "B[j][k]", "B[j]", "B", "j", "k", "for (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\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 < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}", "{\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}", "for (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k < l-1", "k", "l-1", "l", "1", "k++", "k++", "k", "{\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}", "System.out.print(C[i][k] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][k] + \" \"", "C[i][k]", "C[i]", "C", "i", "k", "\" \"", "System.out.println(C[i][l-1])", "System.out.println", "System.out", "System", "System.out", "C[i][l-1]", "C[i]", "C", "i", "l-1", "l", "1", "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\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tsc.nextLine(); // nextInt()??????????????£?????????\"\\n\"????¶????????????????\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}\n\n\t\tfor (int j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}\n\n\t\t// C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k]\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\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\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tsc.nextLine(); // nextInt()??????????????£?????????\"\\n\"????¶????????????????\n\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tString[] data = 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\n\t\t}\n\n\t\tfor (int j=0; j < m; j++) {\n\n\t\t\tString[] data = sc.nextLine().split(\" \");\n\n\t\t\tfor (int k=0; k < l; k++) {\n\t\t\t\tB[j][k] = Integer.parseInt(data[k]);\n\t\t\t}\n\n\t\t}\n\n\t\t// C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k]\n\n\t\tfor (int i=0; i < n; i++) {\n\n\t\t\tfor (int k=0; k < l; k++) {\n\n\t\t\t\tfor (int j=0; j < m; j++) {\n\t\t\t\t\tC[i][k] += A[i][j] * B[j][k];\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (int i=0; i < n; i++) {\n\t\t\tfor (int k=0; k < l-1; k++) {\n\t\t\t\tSystem.out.print(C[i][k] + \" \");\n\t\t\t}\n\t\t\tSystem.out.println(C[i][l-1]);\n\t\t}\n\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); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); sc.nextLine(); // nextInt()??????????????£?????????"\n"????¶???????????????? int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; for (int i=0; i < n; i++) { String[] data = sc.nextLine().split(" "); for (int j=0; j < m; j++) { A[i][j] = Integer.parseInt(data[j]); } } for (int j=0; j < m; j++) { String[] data = sc.nextLine().split(" "); for (int k=0; k < l; k++) { B[j][k] = Integer.parseInt(data[k]); } } // C[i][k] = sigma(j : 0 -> m) A[i][j] * B[j][k] for (int i=0; i < n; i++) { for (int k=0; k < l; k++) { for (int j=0; j < m; j++) { C[i][k] += A[i][j] * B[j][k]; } } } for (int i=0; i < n; i++) { for (int k=0; k < l-1; k++) { System.out.print(C[i][k] + " "); } System.out.println(C[i][l-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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 14, 40, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 240, 5 ], [ 240, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 8, 46 ], [ 46, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 61, 69 ], [ 69, 70 ], [ 70, 71 ], [ 61, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 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 ], [ 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 ], [ 110, 114 ], [ 109, 115 ], [ 115, 116 ], [ 116, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 8, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 187, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 204, 206 ], [ 200, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 213, 219 ], [ 200, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 223, 225 ], [ 220, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 227, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 6, 237 ], [ 237, 238 ], [ 0, 239 ], [ 239, 240 ], [ 239, 241 ] ]
[ "import java.util.*;\n/*行列の積\n1行目に nml が空白区切りで与えられます。続く行にnxmの行列Aと\nmxlの行列Bが与えられます。nxlの行列Cの要素を出力する。\n*/\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int [][] a = new int[n][m];//nxmを入れる箱\n int [][] b = new int[m][l];//mxlを入れる箱\n long [][] c = new long[n][l];//answerのnxlを入れる箱\n\n int i;//n\n int j;//m\n int k;//l\n \n \n// System.out.println(n+\" \"+m+\" \"+l);\n//nxmとmxlの読込\n for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }\n \n for(i = 0;i<m;i++){\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }\n \n //ここから\n for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }\n \n for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int [][] a = new int[n][m];//nxmを入れる箱\n int [][] b = new int[m][l];//mxlを入れる箱\n long [][] c = new long[n][l];//answerのnxlを入れる箱\n\n int i;//n\n int j;//m\n int k;//l\n \n \n// System.out.println(n+\" \"+m+\" \"+l);\n//nxmとmxlの読込\n for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }\n \n for(i = 0;i<m;i++){\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }\n \n //ここから\n for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }\n \n for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int [][] a = new int[n][m];//nxmを入れる箱\n int [][] b = new int[m][l];//mxlを入れる箱\n long [][] c = new long[n][l];//answerのnxlを入れる箱\n\n int i;//n\n int j;//m\n int k;//l\n \n \n// System.out.println(n+\" \"+m+\" \"+l);\n//nxmとmxlの読込\n for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }\n \n for(i = 0;i<m;i++){\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }\n \n //ここから\n for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }\n \n for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }\n }", "main", "{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int [][] a = new int[n][m];//nxmを入れる箱\n int [][] b = new int[m][l];//mxlを入れる箱\n long [][] c = new long[n][l];//answerのnxlを入れる箱\n\n int i;//n\n int j;//m\n int k;//l\n \n \n// System.out.println(n+\" \"+m+\" \"+l);\n//nxmとmxlの読込\n for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }\n \n for(i = 0;i<m;i++){\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }\n \n //ここから\n for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }\n \n for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int [][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int [][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long [][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "int i;", "i", "int j;", "j", "int k;", "k", "for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\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// System.out.print(a[i][j]);\n }\n// System.out.println();\n }", "{\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }", "for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }", "j = 0;", "j = 0", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }", "{\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\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 for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }", "i = 0;", "i = 0", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }", "{\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }", "for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }", "j = 0;", "j = 0", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }", "{\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }", "{\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }", "for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }", "j = 0;", "j = 0", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }", "{\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }", "for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }", "k = 0;", "k = 0", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }", "{\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }", "c[i][j] += ( a[i][k]*b[k][j])", "c[i][j]", "c[i]", "c", "i", "j", "( a[i][k]*b[k][j])", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }", "{\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }", "for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }", "j = 0;", "j = 0", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }", "{\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }", "if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }", "!(j==l-1)", "(j==l-1)", "j", "l-1", "l", "1", "{\n System.out.print(c[i][j] +\" \");\n }", "System.out.print(c[i][j] +\" \")", "System.out.print", "System.out", "System", "System.out", "c[i][j] +\" \"", "c[i][j]", "c[i]", "c", "i", "j", "\" \"", "if(j == l-1){\n System.out.println(c[i][j]);\n }", "j == l-1", "j", "l-1", "l", "1", "{\n System.out.println(c[i][j]);\n }", "System.out.println(c[i][j])", "System.out.println", "System.out", "System", "System.out", "c[i][j]", "c[i]", "c", "i", "j", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int [][] a = new int[n][m];//nxmを入れる箱\n int [][] b = new int[m][l];//mxlを入れる箱\n long [][] c = new long[n][l];//answerのnxlを入れる箱\n\n int i;//n\n int j;//m\n int k;//l\n \n \n// System.out.println(n+\" \"+m+\" \"+l);\n//nxmとmxlの読込\n for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }\n \n for(i = 0;i<m;i++){\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }\n \n //ここから\n for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }\n \n for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int [][] a = new int[n][m];//nxmを入れる箱\n int [][] b = new int[m][l];//mxlを入れる箱\n long [][] c = new long[n][l];//answerのnxlを入れる箱\n\n int i;//n\n int j;//m\n int k;//l\n \n \n// System.out.println(n+\" \"+m+\" \"+l);\n//nxmとmxlの読込\n for( i = 0; i < n; i++){\n for( j = 0; j < m; j++){\n a[i][j] = sc.nextInt();\n// System.out.print(a[i][j]);\n }\n// System.out.println();\n }\n \n for(i = 0;i<m;i++){\n for(j = 0;j<l;j++){\n b[i][j] = sc.nextInt();\n// System.out.print(b[i][j]);\n \n }\n// System.out.println();\n }\n \n //ここから\n for ( i = 0; i < n; i++){\n for ( j = 0; j < l; j++){\n for ( k = 0; k < m; k++){\n \n // c[i][j] = a[i][k] * b[k][j];\n c[i][j] += ( a[i][k]*b[k][j]);\n }\n }\n }\n \n for( i = 0; i < n; i++){\n for( j = 0; j < l; j++){\n if(!(j==l-1)){\n System.out.print(c[i][j] +\" \");\n }else if(j == l-1){\n System.out.println(c[i][j]);\n }\n }\n }\n }\n}", "Main" ]
import java.util.*; /*行列の積 1行目に nml が空白区切りで与えられます。続く行にnxmの行列Aと mxlの行列Bが与えられます。nxlの行列Cの要素を出力する。 */ public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int [][] a = new int[n][m];//nxmを入れる箱 int [][] b = new int[m][l];//mxlを入れる箱 long [][] c = new long[n][l];//answerのnxlを入れる箱 int i;//n int j;//m int k;//l // System.out.println(n+" "+m+" "+l); //nxmとmxlの読込 for( i = 0; i < n; i++){ for( j = 0; j < m; j++){ a[i][j] = sc.nextInt(); // System.out.print(a[i][j]); } // System.out.println(); } for(i = 0;i<m;i++){ for(j = 0;j<l;j++){ b[i][j] = sc.nextInt(); // System.out.print(b[i][j]); } // System.out.println(); } //ここから for ( i = 0; i < n; i++){ for ( j = 0; j < l; j++){ for ( k = 0; k < m; k++){ // c[i][j] = a[i][k] * b[k][j]; c[i][j] += ( a[i][k]*b[k][j]); } } } for( i = 0; i < n; i++){ for( j = 0; j < l; j++){ if(!(j==l-1)){ System.out.print(c[i][j] +" "); }else if(j == l-1){ System.out.println(c[i][j]); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 13, 13, 41, 13, 4, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 20, 4, 13, 4, 18, 13, 13, 17, 2, 17, 13, 13, 41, 13, 20, 4, 13, 4, 18, 13, 13, 2, 17, 13, 18, 13, 13, 13, 41, 13, 4, 13, 13, 13, 29, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 13, 13, 13, 4, 13, 13, 13, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 13, 13, 0, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 13, 13, 18, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 38, 5, 13, 30, 37, 20, 30, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 14, 2, 13, 17, 30, 38, 5, 13, 30, 30, 4, 18, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 41, 13, 42, 2, 0, 13, 4, 18, 13, 17, 30, 4, 18, 4, 18, 13, 13, 17, 29, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 4, 13, 4, 13, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 0, 18, 18, 13, 13, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 29, 18, 18, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 13, 13, 1, 40, 13, 30, 30, 41, 13, 18, 18, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 13, 29, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 4, 18, 13, 4, 13, 13, 17, 29, 4, 18, 13, 12, 13, 30, 29, 13, 12, 13, 30, 29, 18, 13, 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 ], [ 540, 17 ], [ 540, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 20, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 20, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 20, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 20, 48 ], [ 48, 49 ], [ 48, 50 ], [ 20, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 51, 61 ], [ 20, 62 ], [ 62, 63 ], [ 62, 64 ], [ 20, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 67, 74 ], [ 74, 75 ], [ 74, 76 ], [ 65, 77 ], [ 20, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 20, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 18, 88 ], [ 88, 89 ], [ 540, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 96, 106 ], [ 106, 107 ], [ 107, 108 ], [ 96, 109 ], [ 110, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 111, 121 ], [ 121, 122 ], [ 122, 123 ], [ 111, 124 ], [ 125, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 126, 130 ], [ 126, 131 ], [ 131, 132 ], [ 131, 133 ], [ 131, 134 ], [ 131, 135 ], [ 131, 136 ], [ 92, 137 ], [ 137, 138 ], [ 90, 139 ], [ 139, 140 ], [ 90, 141 ], [ 141, 142 ], [ 540, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 149, 159 ], [ 159, 160 ], [ 160, 161 ], [ 149, 162 ], [ 163, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 166, 170 ], [ 163, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 173, 177 ], [ 163, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 180, 182 ], [ 145, 183 ], [ 183, 184 ], [ 143, 185 ], [ 185, 186 ], [ 143, 187 ], [ 187, 188 ], [ 143, 189 ], [ 189, 190 ], [ 143, 191 ], [ 191, 192 ], [ 540, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 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 ], [ 213, 215 ], [ 215, 216 ], [ 215, 217 ], [ 210, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 225, 227 ], [ 218, 228 ], [ 228, 229 ], [ 229, 230 ], [ 218, 231 ], [ 232, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 233, 236 ], [ 233, 237 ], [ 233, 238 ], [ 238, 239 ], [ 238, 240 ], [ 193, 241 ], [ 241, 242 ], [ 193, 243 ], [ 243, 244 ], [ 540, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 251, 252 ], [ 251, 253 ], [ 247, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 258, 259 ], [ 254, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 261, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 266, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 260, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 274, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 279, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 254, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 291, 292 ], [ 291, 293 ], [ 287, 294 ], [ 294, 295 ], [ 294, 296 ], [ 287, 297 ], [ 297, 298 ], [ 287, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 304, 305 ], [ 300, 306 ], [ 299, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 311, 312 ], [ 310, 313 ], [ 308, 314 ], [ 287, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 245, 319 ], [ 319, 320 ], [ 540, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 321, 329 ], [ 329, 330 ], [ 540, 331 ], [ 331, 332 ], [ 331, 333 ], [ 333, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 337, 338 ], [ 336, 339 ], [ 333, 340 ], [ 340, 341 ], [ 340, 342 ], [ 343, 344 ], [ 343, 345 ], [ 333, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 346, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 353, 355 ], [ 346, 356 ], [ 356, 357 ], [ 357, 358 ], [ 346, 359 ], [ 360, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 361, 365 ], [ 365, 366 ], [ 366, 367 ], [ 365, 368 ], [ 368, 369 ], [ 368, 370 ], [ 333, 371 ], [ 371, 372 ], [ 331, 373 ], [ 373, 374 ], [ 540, 375 ], [ 375, 376 ], [ 375, 377 ], [ 377, 378 ], [ 378, 379 ], [ 379, 380 ], [ 380, 381 ], [ 380, 382 ], [ 378, 383 ], [ 383, 384 ], [ 383, 385 ], [ 385, 386 ], [ 385, 387 ], [ 387, 388 ], [ 387, 389 ], [ 375, 390 ], [ 390, 391 ], [ 540, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 392, 396 ], [ 396, 397 ], [ 392, 398 ], [ 398, 399 ], [ 398, 400 ], [ 400, 401 ], [ 401, 402 ], [ 401, 403 ], [ 400, 406 ], [ 406, 407 ], [ 407, 408 ], [ 407, 409 ], [ 406, 410 ], [ 398, 411 ], [ 411, 412 ], [ 398, 413 ], [ 413, 414 ], [ 392, 415 ], [ 415, 416 ], [ 415, 417 ], [ 417, 418 ], [ 418, 419 ], [ 419, 420 ], [ 420, 421 ], [ 420, 422 ], [ 419, 423 ], [ 418, 424 ], [ 415, 425 ], [ 425, 426 ], [ 415, 427 ], [ 427, 428 ], [ 415, 429 ], [ 429, 430 ], [ 392, 431 ], [ 431, 432 ], [ 431, 433 ], [ 433, 434 ], [ 434, 435 ], [ 435, 436 ], [ 436, 437 ], [ 436, 438 ], [ 435, 439 ], [ 431, 440 ], [ 440, 441 ], [ 431, 442 ], [ 442, 443 ], [ 392, 444 ], [ 444, 445 ], [ 444, 446 ], [ 446, 447 ], [ 447, 448 ], [ 447, 449 ], [ 446, 450 ], [ 450, 451 ], [ 451, 452 ], [ 452, 453 ], [ 452, 454 ], [ 450, 455 ], [ 455, 456 ], [ 455, 457 ], [ 457, 458 ], [ 458, 459 ], [ 458, 460 ], [ 457, 461 ], [ 450, 462 ], [ 462, 463 ], [ 463, 464 ], [ 450, 465 ], [ 466, 466 ], [ 466, 467 ], [ 467, 468 ], [ 467, 469 ], [ 469, 470 ], [ 470, 471 ], [ 470, 472 ], [ 469, 473 ], [ 466, 474 ], [ 474, 475 ], [ 475, 476 ], [ 475, 477 ], [ 474, 478 ], [ 478, 479 ], [ 479, 480 ], [ 480, 481 ], [ 479, 482 ], [ 466, 483 ], [ 483, 484 ], [ 484, 485 ], [ 483, 486 ], [ 446, 487 ], [ 487, 488 ], [ 488, 489 ], [ 489, 490 ], [ 444, 491 ], [ 491, 492 ], [ 392, 493 ], [ 493, 494 ], [ 493, 495 ], [ 495, 496 ], [ 496, 497 ], [ 496, 498 ], [ 495, 499 ], [ 499, 500 ], [ 500, 501 ], [ 501, 502 ], [ 501, 503 ], [ 499, 504 ], [ 504, 505 ], [ 504, 506 ], [ 506, 507 ], [ 506, 508 ], [ 499, 509 ], [ 509, 510 ], [ 510, 511 ], [ 499, 512 ], [ 513, 513 ], [ 513, 514 ], [ 514, 515 ], [ 515, 516 ], [ 516, 517 ], [ 517, 518 ], [ 516, 519 ], [ 519, 520 ], [ 519, 521 ], [ 514, 522 ], [ 495, 523 ], [ 523, 524 ], [ 524, 525 ], [ 525, 526 ], [ 392, 527 ], [ 527, 528 ], [ 527, 529 ], [ 529, 530 ], [ 530, 531 ], [ 392, 532 ], [ 532, 533 ], [ 532, 534 ], [ 534, 535 ], [ 535, 536 ], [ 536, 537 ], [ 536, 538 ], [ 0, 539 ], [ 539, 540 ], [ 539, 541 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\n\npublic class Main {\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n final int[] split1 = split(lines[0]);\n final int n = split1[0];\n final int m = split1[1];\n final int l = split1[2];\n\n final Matrix matrix1 = new Matrix(n, m);\n populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1);\n\n final Matrix matrix2 = new Matrix(m, l);\n populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2);\n\n final Matrix result = multiply(matrix1, matrix2);\n\n return result.toString();\n }\n\n static Matrix multiply(Matrix m1, Matrix m2) {\n Matrix result = new Matrix(m1.getRows(), m2.getCols());\n\n for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }\n\n return result;\n }\n\n static long multiply(Matrix m1, Matrix m2, int row, int col) {\n long sum = 0;\n for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }\n return sum;\n }\n\n static void populate(String[] lines, Matrix matrix) {\n for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }\n }\n\n static class Matrix {\n long[][] data;\n int cols;\n\n public Matrix(int rows, int cols) {\n data = new long[rows][cols];\n this.cols = cols;\n }\n\n public void setValue(int row, int col, long value) {\n data[row][col] = value;\n }\n\n public long getValue(int row, int col) {\n return data[row][col];\n }\n\n public String dumpRow(int row) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }\n\n @Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }\n\n int getCols() {\n return cols;\n }\n\n int getRows() {\n return data.length;\n }\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n public static void main(String[] args) {\n System.out.print(process(readAll(System.in)));\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n final int[] split1 = split(lines[0]);\n final int n = split1[0];\n final int m = split1[1];\n final int l = split1[2];\n\n final Matrix matrix1 = new Matrix(n, m);\n populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1);\n\n final Matrix matrix2 = new Matrix(m, l);\n populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2);\n\n final Matrix result = multiply(matrix1, matrix2);\n\n return result.toString();\n }\n\n static Matrix multiply(Matrix m1, Matrix m2) {\n Matrix result = new Matrix(m1.getRows(), m2.getCols());\n\n for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }\n\n return result;\n }\n\n static long multiply(Matrix m1, Matrix m2, int row, int col) {\n long sum = 0;\n for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }\n return sum;\n }\n\n static void populate(String[] lines, Matrix matrix) {\n for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }\n }\n\n static class Matrix {\n long[][] data;\n int cols;\n\n public Matrix(int rows, int cols) {\n data = new long[rows][cols];\n this.cols = cols;\n }\n\n public void setValue(int row, int col, long value) {\n data[row][col] = value;\n }\n\n public long getValue(int row, int col) {\n return data[row][col];\n }\n\n public String dumpRow(int row) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }\n\n @Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }\n\n int getCols() {\n return cols;\n }\n\n int getRows() {\n return data.length;\n }\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n public static void main(String[] args) {\n System.out.print(process(readAll(System.in)));\n }\n}", "Main", "protected static String process(String data) {\n final String[] lines = splitForLines(data);\n final int[] split1 = split(lines[0]);\n final int n = split1[0];\n final int m = split1[1];\n final int l = split1[2];\n\n final Matrix matrix1 = new Matrix(n, m);\n populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1);\n\n final Matrix matrix2 = new Matrix(m, l);\n populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2);\n\n final Matrix result = multiply(matrix1, matrix2);\n\n return result.toString();\n }", "process", "{\n final String[] lines = splitForLines(data);\n final int[] split1 = split(lines[0]);\n final int n = split1[0];\n final int m = split1[1];\n final int l = split1[2];\n\n final Matrix matrix1 = new Matrix(n, m);\n populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1);\n\n final Matrix matrix2 = new Matrix(m, l);\n populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2);\n\n final Matrix result = multiply(matrix1, matrix2);\n\n return result.toString();\n }", "final String[] lines = splitForLines(data);", "lines", "splitForLines(data)", "splitForLines", "data", "final int[] split1 = split(lines[0]);", "split1", "split(lines[0])", "split", "lines[0]", "lines", "0", "final int n = split1[0];", "n", "split1[0]", "split1", "0", "final int m = split1[1];", "m", "split1[1]", "split1", "1", "final int l = split1[2];", "l", "split1[2]", "split1", "2", "final Matrix matrix1 = new Matrix(n, m);", "matrix1", "new Matrix(n, m)", "populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1)", "populate", "Arrays.copyOfRange(lines, 1, 1 + n)", "Arrays.copyOfRange", "Arrays", "lines", "1", "1 + n", "1", "n", "matrix1", "final Matrix matrix2 = new Matrix(m, l);", "matrix2", "new Matrix(m, l)", "populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2)", "populate", "Arrays.copyOfRange(lines, 1 + n, lines.length)", "Arrays.copyOfRange", "Arrays", "lines", "1 + n", "1", "n", "lines.length", "lines", "lines.length", "matrix2", "final Matrix result = multiply(matrix1, matrix2);", "result", "multiply(matrix1, matrix2)", "multiply", "matrix1", "matrix2", "return result.toString();", "result.toString()", "result.toString", "result", "String data", "data", "static Matrix multiply(Matrix m1, Matrix m2) {\n Matrix result = new Matrix(m1.getRows(), m2.getCols());\n\n for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }\n\n return result;\n }", "multiply", "{\n Matrix result = new Matrix(m1.getRows(), m2.getCols());\n\n for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }\n\n return result;\n }", "Matrix result = new Matrix(m1.getRows(), m2.getCols());", "result", "new Matrix(m1.getRows(), m2.getCols())", "for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < result.getRows()", "i", "result.getRows()", "result.getRows", "result", "i++", "i++", "i", "{\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }", "{\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }", "for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }", "int j = 0;", "int j = 0;", "j", "0", "j < result.getCols()", "j", "result.getCols()", "result.getCols", "result", "j++", "j++", "j", "{\n result.setValue(i, j, multiply(m1, m2, i, j));\n }", "{\n result.setValue(i, j, multiply(m1, m2, i, j));\n }", "result.setValue(i, j, multiply(m1, m2, i, j))", "result.setValue", "result", "i", "j", "multiply(m1, m2, i, j)", "multiply", "m1", "m2", "i", "j", "return result;", "result", "Matrix m1", "m1", "Matrix m2", "m2", "static long multiply(Matrix m1, Matrix m2, int row, int col) {\n long sum = 0;\n for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }\n return sum;\n }", "multiply", "{\n long sum = 0;\n for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }\n return sum;\n }", "long sum = 0;", "sum", "0", "for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m1.getCols()", "i", "m1.getCols()", "m1.getCols", "m1", "i++", "i++", "i", "{\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }", "{\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }", "final long val1 = m1.getValue(row, i);", "val1", "m1.getValue(row, i)", "m1.getValue", "m1", "row", "i", "final long val2 = m2.getValue(i, col);", "val2", "m2.getValue(i, col)", "m2.getValue", "m2", "i", "col", "sum += val1 * val2", "sum", "val1 * val2", "val1", "val2", "return sum;", "sum", "Matrix m1", "m1", "Matrix m2", "m2", "int row", "row", "int col", "col", "static void populate(String[] lines, Matrix matrix) {\n for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }\n }", "populate", "{\n for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }\n }", "for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }", "int row = 0;", "int row = 0;", "row", "0", "row < lines.length", "row", "lines.length", "lines", "lines.length", "row++", "row++", "row", "{\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }", "{\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }", "final int[] data0 = split(lines[row]);", "data0", "split(lines[row])", "split", "lines[row]", "lines", "row", "for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }", "int col = 0;", "int col = 0;", "col", "0", "col < data0.length", "col", "data0.length", "data0", "data0.length", "col++", "col++", "col", "{\n matrix.setValue(row, col, data0[col]);\n }", "{\n matrix.setValue(row, col, data0[col]);\n }", "matrix.setValue(row, col, data0[col])", "matrix.setValue", "matrix", "row", "col", "data0[col]", "data0", "col", "String[] lines", "lines", "Matrix matrix", "matrix", "private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }", "readAll", "{\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }", "InputStreamReader r = null;", "r", "null", "BufferedReader br = null;", "br", "null", "try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }", "if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }", "br != null", "br", "null", "{\n try {\n br.close();\n } catch (IOException e) {\n }\n }", "try {\n br.close();\n } catch (IOException e) {\n }", "catch (IOException e) {\n }", "IOException e", "{\n }", "{\n br.close();\n }", "br.close()", "br.close", "br", "if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }", "r != null", "r", "null", "{\n try {\n r.close();\n } catch (IOException e) {\n }\n }", "try {\n r.close();\n } catch (IOException e) {\n }", "catch (IOException e) {\n }", "IOException e", "{\n }", "{\n r.close();\n }", "r.close()", "r.close", "r", "{\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n }", "r = new InputStreamReader(is)", "r", "new InputStreamReader(is)", "br = new BufferedReader(r)", "br", "new BufferedReader(r)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String s;", "s", "while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }", "(s = br.readLine()) != null", "(s = br.readLine())", "s", "br.readLine()", "br.readLine", "br", "null", "{\n sb.append(s).append('\\n');\n }", "sb.append(s).append('\\n')", "sb.append(s).append", "sb.append(s)", "sb.append", "sb", "s", "'\\n'", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "InputStream is", "is", "private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }", "splitForLines", "{\n return lines.split(\"\\\\n\");\n }", "return lines.split(\"\\\\n\");", "lines.split(\"\\\\n\")", "lines.split", "lines", "\"\\\\n\"", "String lines", "lines", "private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }", "split", "{\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }", "final String[] s0 = s.split(\" \");", "s0", "s.split(\" \")", "s.split", "s", "\" \"", "int[] ia = new int[s0.length];", "ia", "new int[s0.length]", "s0.length", "s0", "s0.length", "for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < s0.length", "i", "s0.length", "s0", "s0.length", "i++", "i++", "i", "{\n ia[i] = Integer.parseInt(s0[i]);\n }", "{\n ia[i] = Integer.parseInt(s0[i]);\n }", "ia[i] = Integer.parseInt(s0[i])", "ia[i]", "ia", "i", "Integer.parseInt(s0[i])", "Integer.parseInt", "Integer", "s0[i]", "s0", "i", "return ia;", "ia", "String s", "s", "public static void main(String[] args) {\n System.out.print(process(readAll(System.in)));\n }", "main", "{\n System.out.print(process(readAll(System.in)));\n }", "System.out.print(process(readAll(System.in)))", "System.out.print", "System.out", "System", "System.out", "process(readAll(System.in))", "process", "readAll(System.in)", "readAll", "System.in", "System", "System.in", "String[] args", "args", "static class Matrix {\n long[][] data;\n int cols;\n\n public Matrix(int rows, int cols) {\n data = new long[rows][cols];\n this.cols = cols;\n }\n\n public void setValue(int row, int col, long value) {\n data[row][col] = value;\n }\n\n public long getValue(int row, int col) {\n return data[row][col];\n }\n\n public String dumpRow(int row) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }\n\n @Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }\n\n int getCols() {\n return cols;\n }\n\n int getRows() {\n return data.length;\n }\n }", "Matrix", "long[][] data;", "data", "int cols;", "cols", "public Matrix(int rows, int cols) {\n data = new long[rows][cols];\n this.cols = cols;\n }", "Matrix", "{\n data = new long[rows][cols];\n this.cols = cols;\n }", "data = new long[rows][cols]", "data", "new long[rows][cols]", "rows", "cols", "this.cols = cols", "this.cols", "this", "this.cols", "cols", "int rows", "rows", "int cols", "cols", "public void setValue(int row, int col, long value) {\n data[row][col] = value;\n }", "setValue", "{\n data[row][col] = value;\n }", "data[row][col] = value", "data[row][col]", "data[row]", "data", "row", "col", "value", "int row", "row", "int col", "col", "long value", "value", "public long getValue(int row, int col) {\n return data[row][col];\n }", "getValue", "{\n return data[row][col];\n }", "return data[row][col];", "data[row][col]", "data[row]", "data", "row", "col", "int row", "row", "int col", "col", "public String dumpRow(int row) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }", "dumpRow", "{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < data[row].length", "i", "data[row].length", "data[row]", "data", "row", "data[row].length", "i++", "i++", "i", "{\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }", "{\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }", "final long value = data[row][i];", "value", "data[row][i]", "data[row]", "data", "row", "i", "if (i > 0) {\n sb.append(' ');\n }", "i > 0", "i", "0", "{\n sb.append(' ');\n }", "sb.append(' ')", "sb.append", "sb", "' '", "sb.append(value)", "sb.append", "sb", "value", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "int row", "row", "@Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }", "toString", "{\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }", "int i = 0;", "int i = 0;", "i", "0", "i < data.length", "i", "data.length", "data", "data.length", "i++", "i++", "i", "{\n sb.append(dumpRow(i)).append('\\n');\n }", "{\n sb.append(dumpRow(i)).append('\\n');\n }", "sb.append(dumpRow(i)).append('\\n')", "sb.append(dumpRow(i)).append", "sb.append(dumpRow(i))", "sb.append", "sb", "dumpRow(i)", "dumpRow", "i", "'\\n'", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "int getCols() {\n return cols;\n }", "getCols", "{\n return cols;\n }", "return cols;", "cols", "int getRows() {\n return data.length;\n }", "getRows", "{\n return data.length;\n }", "return data.length;", "data.length", "data", "data.length", "public class Main {\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n final int[] split1 = split(lines[0]);\n final int n = split1[0];\n final int m = split1[1];\n final int l = split1[2];\n\n final Matrix matrix1 = new Matrix(n, m);\n populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1);\n\n final Matrix matrix2 = new Matrix(m, l);\n populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2);\n\n final Matrix result = multiply(matrix1, matrix2);\n\n return result.toString();\n }\n\n static Matrix multiply(Matrix m1, Matrix m2) {\n Matrix result = new Matrix(m1.getRows(), m2.getCols());\n\n for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }\n\n return result;\n }\n\n static long multiply(Matrix m1, Matrix m2, int row, int col) {\n long sum = 0;\n for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }\n return sum;\n }\n\n static void populate(String[] lines, Matrix matrix) {\n for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }\n }\n\n static class Matrix {\n long[][] data;\n int cols;\n\n public Matrix(int rows, int cols) {\n data = new long[rows][cols];\n this.cols = cols;\n }\n\n public void setValue(int row, int col, long value) {\n data[row][col] = value;\n }\n\n public long getValue(int row, int col) {\n return data[row][col];\n }\n\n public String dumpRow(int row) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }\n\n @Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }\n\n int getCols() {\n return cols;\n }\n\n int getRows() {\n return data.length;\n }\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n public static void main(String[] args) {\n System.out.print(process(readAll(System.in)));\n }\n}", "public class Main {\n\n protected static String process(String data) {\n final String[] lines = splitForLines(data);\n final int[] split1 = split(lines[0]);\n final int n = split1[0];\n final int m = split1[1];\n final int l = split1[2];\n\n final Matrix matrix1 = new Matrix(n, m);\n populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1);\n\n final Matrix matrix2 = new Matrix(m, l);\n populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2);\n\n final Matrix result = multiply(matrix1, matrix2);\n\n return result.toString();\n }\n\n static Matrix multiply(Matrix m1, Matrix m2) {\n Matrix result = new Matrix(m1.getRows(), m2.getCols());\n\n for (int i = 0; i < result.getRows(); i++) {\n for (int j = 0; j < result.getCols(); j++) {\n result.setValue(i, j, multiply(m1, m2, i, j));\n }\n }\n\n return result;\n }\n\n static long multiply(Matrix m1, Matrix m2, int row, int col) {\n long sum = 0;\n for (int i = 0; i < m1.getCols(); i++) {\n final long val1 = m1.getValue(row, i);\n final long val2 = m2.getValue(i, col);\n sum += val1 * val2;\n }\n return sum;\n }\n\n static void populate(String[] lines, Matrix matrix) {\n for (int row = 0; row < lines.length; row++) {\n final int[] data0 = split(lines[row]);\n for (int col = 0; col < data0.length; col++) {\n matrix.setValue(row, col, data0[col]);\n }\n }\n }\n\n static class Matrix {\n long[][] data;\n int cols;\n\n public Matrix(int rows, int cols) {\n data = new long[rows][cols];\n this.cols = cols;\n }\n\n public void setValue(int row, int col, long value) {\n data[row][col] = value;\n }\n\n public long getValue(int row, int col) {\n return data[row][col];\n }\n\n public String dumpRow(int row) {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data[row].length; i++) {\n final long value = data[row][i];\n if (i > 0) {\n sb.append(' ');\n }\n sb.append(value);\n }\n return sb.toString();\n }\n\n @Override\n public String toString() {\n StringBuilder sb = new StringBuilder();\n for (int i = 0; i < data.length; i++) {\n sb.append(dumpRow(i)).append('\\n');\n }\n return sb.toString();\n }\n\n int getCols() {\n return cols;\n }\n\n int getRows() {\n return data.length;\n }\n }\n\n private static String readAll(InputStream is) {\n InputStreamReader r = null;\n BufferedReader br = null;\n\n try {\n r = new InputStreamReader(is);\n br = new BufferedReader(r);\n StringBuilder sb = new StringBuilder();\n String s;\n\n while ((s = br.readLine()) != null) {\n sb.append(s).append('\\n');\n }\n\n return sb.toString();\n } catch (IOException e) {\n throw new RuntimeException(e);\n } finally {\n if (br != null) {\n try {\n br.close();\n } catch (IOException e) {\n }\n }\n if (r != null) {\n try {\n r.close();\n } catch (IOException e) {\n }\n }\n }\n }\n\n private static String[] splitForLines(String lines) {\n return lines.split(\"\\\\n\");\n }\n\n private static int[] split(String s) {\n final String[] s0 = s.split(\" \");\n int[] ia = new int[s0.length];\n\n for (int i = 0; i < s0.length; i++) {\n ia[i] = Integer.parseInt(s0[i]);\n }\n\n return ia;\n }\n\n public static void main(String[] args) {\n System.out.print(process(readAll(System.in)));\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.Arrays; public class Main { protected static String process(String data) { final String[] lines = splitForLines(data); final int[] split1 = split(lines[0]); final int n = split1[0]; final int m = split1[1]; final int l = split1[2]; final Matrix matrix1 = new Matrix(n, m); populate(Arrays.copyOfRange(lines, 1, 1 + n), matrix1); final Matrix matrix2 = new Matrix(m, l); populate(Arrays.copyOfRange(lines, 1 + n, lines.length), matrix2); final Matrix result = multiply(matrix1, matrix2); return result.toString(); } static Matrix multiply(Matrix m1, Matrix m2) { Matrix result = new Matrix(m1.getRows(), m2.getCols()); for (int i = 0; i < result.getRows(); i++) { for (int j = 0; j < result.getCols(); j++) { result.setValue(i, j, multiply(m1, m2, i, j)); } } return result; } static long multiply(Matrix m1, Matrix m2, int row, int col) { long sum = 0; for (int i = 0; i < m1.getCols(); i++) { final long val1 = m1.getValue(row, i); final long val2 = m2.getValue(i, col); sum += val1 * val2; } return sum; } static void populate(String[] lines, Matrix matrix) { for (int row = 0; row < lines.length; row++) { final int[] data0 = split(lines[row]); for (int col = 0; col < data0.length; col++) { matrix.setValue(row, col, data0[col]); } } } static class Matrix { long[][] data; int cols; public Matrix(int rows, int cols) { data = new long[rows][cols]; this.cols = cols; } public void setValue(int row, int col, long value) { data[row][col] = value; } public long getValue(int row, int col) { return data[row][col]; } public String dumpRow(int row) { StringBuilder sb = new StringBuilder(); for (int i = 0; i < data[row].length; i++) { final long value = data[row][i]; if (i > 0) { sb.append(' '); } sb.append(value); } return sb.toString(); } @Override public String toString() { StringBuilder sb = new StringBuilder(); for (int i = 0; i < data.length; i++) { sb.append(dumpRow(i)).append('\n'); } return sb.toString(); } int getCols() { return cols; } int getRows() { return data.length; } } private static String readAll(InputStream is) { InputStreamReader r = null; BufferedReader br = null; try { r = new InputStreamReader(is); br = new BufferedReader(r); StringBuilder sb = new StringBuilder(); String s; while ((s = br.readLine()) != null) { sb.append(s).append('\n'); } return sb.toString(); } catch (IOException e) { throw new RuntimeException(e); } finally { if (br != null) { try { br.close(); } catch (IOException e) { } } if (r != null) { try { r.close(); } catch (IOException e) { } } } } private static String[] splitForLines(String lines) { return lines.split("\\n"); } private static int[] split(String s) { final String[] s0 = s.split(" "); int[] ia = new int[s0.length]; for (int i = 0; i < s0.length; i++) { ia[i] = Integer.parseInt(s0[i]); } return ia; } public static void main(String[] args) { System.out.print(process(readAll(System.in))); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 13, 13, 13, 4, 18, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 204, 208 ], [ 194, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 210, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 180, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 6, 227 ], [ 227, 228 ] ]
[ "//7-C\n\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String [] args){\n \tScanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n \n //Aの配列に整数入力\n for(int i = 0 ; i < n ; i++ ){\n \tfor( int j = 0 ; j < m ; j++ ){\n \t\tA[i][j] = sc.nextInt();\n \t}\n }\n \n //Bの配列に整数入力\n for(int i = 0 ; i < m ; i++ ){\n \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }\n \n //Cの配列に整数入力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n //Cの中身出力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String [] args){\n \tScanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n \n //Aの配列に整数入力\n for(int i = 0 ; i < n ; i++ ){\n \tfor( int j = 0 ; j < m ; j++ ){\n \t\tA[i][j] = sc.nextInt();\n \t}\n }\n \n //Bの配列に整数入力\n for(int i = 0 ; i < m ; i++ ){\n \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }\n \n //Cの配列に整数入力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n //Cの中身出力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\n }\n }\n}", "Main", "public static void main(String [] args){\n \tScanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n \n //Aの配列に整数入力\n for(int i = 0 ; i < n ; i++ ){\n \tfor( int j = 0 ; j < m ; j++ ){\n \t\tA[i][j] = sc.nextInt();\n \t}\n }\n \n //Bの配列に整数入力\n for(int i = 0 ; i < m ; i++ ){\n \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }\n \n //Cの配列に整数入力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n //Cの中身出力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\n }\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n \n //Aの配列に整数入力\n for(int i = 0 ; i < n ; i++ ){\n \tfor( int j = 0 ; j < m ; j++ ){\n \t\tA[i][j] = sc.nextInt();\n \t}\n }\n \n //Bの配列に整数入力\n for(int i = 0 ; i < m ; i++ ){\n \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }\n \n //Cの配列に整数入力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }\n \n //Cの中身出力\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "for(int i = 0 ; i < n ; i++ ){\n \tfor( int j = 0 ; j < m ; j++ ){\n \t\tA[i][j] = sc.nextInt();\n \t}\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[i][j] = sc.nextInt();\n \t}\n }", "{\n \tfor( int j = 0 ; j < m ; j++ ){\n \t\tA[i][j] = sc.nextInt();\n \t}\n }", "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 \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }", "{\n \tfor( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}\n }", "for( int j = 0 ; j < l ; j++ ){\n \t\tB[i][j] = sc.nextInt();\n \t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n \t\tB[i][j] = sc.nextInt();\n \t}", "{\n \t\tB[i][j] = sc.nextInt();\n \t}", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }\n }", "for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }", "{\n for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }\n }", "for (int k = 0; k < m; k++) {\n C[i][j] += A[i][k]*B[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n C[i][j] += A[i][k]*B[k][j];\n }", "{\n C[i][j] += A[i][k]*B[k][j];\n }", "C[i][j] += A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\n }", "{\n for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }\n System.out.println();\n }", "for (int j = 0; j < l; j++) {\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }", "{\n \t\n \tif(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}\n \t\n }", "if(j == 0 ){\n \t\tSystem.out.print(C[i][j]);\n \t}else{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}", "j == 0", "j", "0", "{\n \t\tSystem.out.print(C[i][j]);\n \t}", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "{\n \t\tSystem.out.print(\" \" + C[i][j]);\n \t}", "System.out.print(\" \" + C[i][j])", "System.out.print", "System.out", "System", "System.out", "\" \" + C[i][j]", "\" \"", "C[i][j]", "C[i]", "C", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String [] args", "args" ]
//7-C 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 l = sc.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; //Aの配列に整数入力 for(int i = 0 ; i < n ; i++ ){ for( int j = 0 ; j < m ; j++ ){ A[i][j] = sc.nextInt(); } } //Bの配列に整数入力 for(int i = 0 ; i < m ; i++ ){ for( int j = 0 ; j < l ; j++ ){ B[i][j] = sc.nextInt(); } } //Cの配列に整数入力 for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { C[i][j] += A[i][k]*B[k][j]; } } } //Cの中身出力 for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { if(j == 0 ){ System.out.print(C[i][j]); }else{ System.out.print(" " + C[i][j]); } } System.out.println(); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 4, 18, 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 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 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 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 74, 79 ], [ 71, 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 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 105, 113 ], [ 113, 114 ], [ 114, 115 ], [ 105, 116 ], [ 117, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 120, 125 ], [ 117, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 131, 132 ], [ 131, 133 ], [ 126, 134 ], [ 134, 135 ], [ 135, 136 ], [ 126, 137 ], [ 138, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 139, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 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 ], [ 164, 172 ], [ 172, 173 ], [ 173, 174 ], [ 164, 175 ], [ 176, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 185, 187 ], [ 180, 188 ], [ 188, 189 ], [ 189, 190 ], [ 180, 191 ], [ 192, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 195, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 176, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 206, 212 ], [ 8, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 213, 221 ], [ 221, 222 ], [ 222, 223 ], [ 213, 224 ], [ 225, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 233, 235 ], [ 226, 236 ], [ 236, 237 ], [ 237, 238 ], [ 226, 239 ], [ 240, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 241, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 246, 252 ], [ 225, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 253, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 262, 263 ], [ 262, 264 ], [ 225, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 6, 270 ], [ 270, 271 ] ]
[ "// Problem Matrix Maltiple\n\nimport java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n // Config\n Scanner sc = new Scanner(System.in);\n\n // Input\n String[] rowIn = sc.nextLine().split(\" \");\n int n = Integer.parseInt(rowIn[0]);\n int m = Integer.parseInt(rowIn[1]);\n int l = Integer.parseInt(rowIn[2]);\n\n // Initialization\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n for(int i=0; i<n; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n\n // Matrix Multiple\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }\n\n // Output\n for(int i=0; i<n; i++){\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n // Config\n Scanner sc = new Scanner(System.in);\n\n // Input\n String[] rowIn = sc.nextLine().split(\" \");\n int n = Integer.parseInt(rowIn[0]);\n int m = Integer.parseInt(rowIn[1]);\n int l = Integer.parseInt(rowIn[2]);\n\n // Initialization\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n for(int i=0; i<n; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n\n // Matrix Multiple\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }\n\n // Output\n for(int i=0; i<n; i++){\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }\n }\n}", "Main", "public static void main(String[] args){\n // Config\n Scanner sc = new Scanner(System.in);\n\n // Input\n String[] rowIn = sc.nextLine().split(\" \");\n int n = Integer.parseInt(rowIn[0]);\n int m = Integer.parseInt(rowIn[1]);\n int l = Integer.parseInt(rowIn[2]);\n\n // Initialization\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n for(int i=0; i<n; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n\n // Matrix Multiple\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }\n\n // Output\n for(int i=0; i<n; i++){\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }\n }", "main", "{\n // Config\n Scanner sc = new Scanner(System.in);\n\n // Input\n String[] rowIn = sc.nextLine().split(\" \");\n int n = Integer.parseInt(rowIn[0]);\n int m = Integer.parseInt(rowIn[1]);\n int l = Integer.parseInt(rowIn[2]);\n\n // Initialization\n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n long[][] C = new long[n][l];\n for(int i=0; i<n; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n for(int i=0; i<m; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }\n\n // Matrix Multiple\n for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }\n\n // Output\n for(int i=0; i<n; i++){\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String[] rowIn = sc.nextLine().split(\" \");", "rowIn", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "int n = Integer.parseInt(rowIn[0]);", "n", "Integer.parseInt(rowIn[0])", "Integer.parseInt", "Integer", "rowIn[0]", "rowIn", "0", "int m = Integer.parseInt(rowIn[1]);", "m", "Integer.parseInt(rowIn[1])", "Integer.parseInt", "Integer", "rowIn[1]", "rowIn", "1", "int l = Integer.parseInt(rowIn[2]);", "l", "Integer.parseInt(rowIn[2])", "Integer.parseInt", "Integer", "rowIn[2]", "rowIn", "2", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "for(int i=0; i<n; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }", "{\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }\n }", "String[] tmp = sc.nextLine().split(\" \");", "tmp", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for(int j=0; j<m; j++){\n A[i][j] = Integer.parseInt(tmp[j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n A[i][j] = Integer.parseInt(tmp[j]);\n }", "{\n A[i][j] = Integer.parseInt(tmp[j]);\n }", "A[i][j] = Integer.parseInt(tmp[j])", "A[i][j]", "A[i]", "A", "i", "j", "Integer.parseInt(tmp[j])", "Integer.parseInt", "Integer", "tmp[j]", "tmp", "j", "for(int i=0; i<m; i++){\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }", "{\n String[] tmp = sc.nextLine().split(\" \");\n for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }\n }", "String[] tmp = sc.nextLine().split(\" \");", "tmp", "sc.nextLine().split(\" \")", "sc.nextLine().split", "sc.nextLine()", "sc.nextLine", "sc", "\" \"", "for(int j=0; j<l; j++){\n B[i][j] = Integer.parseInt(tmp[j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n B[i][j] = Integer.parseInt(tmp[j]);\n }", "{\n B[i][j] = Integer.parseInt(tmp[j]);\n }", "B[i][j] = Integer.parseInt(tmp[j])", "B[i][j]", "B[i]", "B", "i", "j", "Integer.parseInt(tmp[j])", "Integer.parseInt", "Integer", "tmp[j]", "tmp", "j", "for(int i=0; i<n; i++){\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }", "{\n for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }\n }", "for(int j=0; j<l; j++){\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }", "{\n long tmp = 0;\n for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }\n C[i][j] = tmp;\n }", "long tmp = 0;", "tmp", "0", "for(int k=0; k<m; k++){\n tmp += A[i][k] * B[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n tmp += A[i][k] * B[k][j];\n }", "{\n tmp += A[i][k] * B[k][j];\n }", "tmp += A[i][k] * B[k][j]", "tmp", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "C[i][j] = tmp", "C[i][j]", "C[i]", "C", "i", "j", "tmp", "for(int i=0; i<n; i++){\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }", "{\n for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }\n System.out.print(C[i][l-1]);\n System.out.println();\n }", "for(int j=0; j<l-1; j++){\n System.out.print(C[i][j] + \" \");\n }", "int j=0;", "int j=0;", "j", "0", "j<l-1", "j", "l-1", "l", "1", "j++", "j++", "j", "{\n System.out.print(C[i][j] + \" \");\n }", "{\n System.out.print(C[i][j] + \" \");\n }", "System.out.print(C[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "System.out.print(C[i][l-1])", "System.out.print", "System.out", "System", "System.out", "C[i][l-1]", "C[i]", "C", "i", "l-1", "l", "1", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args" ]
// Problem Matrix Maltiple import java.util.Scanner; class Main{ public static void main(String[] args){ // Config Scanner sc = new Scanner(System.in); // Input String[] rowIn = sc.nextLine().split(" "); int n = Integer.parseInt(rowIn[0]); int m = Integer.parseInt(rowIn[1]); int l = Integer.parseInt(rowIn[2]); // Initialization int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; for(int i=0; i<n; i++){ String[] tmp = sc.nextLine().split(" "); for(int j=0; j<m; j++){ A[i][j] = Integer.parseInt(tmp[j]); } } for(int i=0; i<m; i++){ String[] tmp = sc.nextLine().split(" "); for(int j=0; j<l; j++){ B[i][j] = Integer.parseInt(tmp[j]); } } // Matrix Multiple for(int i=0; i<n; i++){ for(int j=0; j<l; j++){ long tmp = 0; for(int k=0; k<m; k++){ tmp += A[i][k] * B[k][j]; } C[i][j] = tmp; } } // Output for(int i=0; i<n; i++){ for(int j=0; j<l-1; j++){ System.out.print(C[i][j] + " "); } System.out.print(C[i][l-1]); System.out.println(); } } }
[ 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 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 ], [ 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 ], [ 26, 27 ], [ 27, 28 ], [ 10, 29 ], [ 29, 30 ], [ 29, 31 ], [ 10, 34 ], [ 34, 35 ], [ 34, 36 ], [ 10, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 10, 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 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 87, 98 ], [ 99, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 107, 108 ], [ 10, 109 ], [ 109, 110 ], [ 109, 111 ], [ 10, 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 ], [ 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 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 153, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 10, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 170, 178 ], [ 178, 179 ], [ 179, 180 ], [ 170, 181 ], [ 182, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 192, 193 ], [ 183, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 195, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 209, 211 ], [ 206, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 182, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 6, 224 ], [ 224, 225 ] ]
[ "import java.util.Scanner;\nclass Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner (System.in)){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\tint l = sc.nextInt();\n\n\t\t\tint[][] A = new int[n][m];\n\t\t\tint[][] B = new int[m][l];\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\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\t//-------------------------------------\n\n\t\t\tlong[][] C = new long[n][l];\n\t\t\tfor (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}\n\t\t}\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n\tpublic static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner (System.in)){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\tint l = sc.nextInt();\n\n\t\t\tint[][] A = new int[n][m];\n\t\t\tint[][] B = new int[m][l];\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\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\t//-------------------------------------\n\n\t\t\tlong[][] C = new long[n][l];\n\t\t\tfor (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\ttry (Scanner sc = new Scanner (System.in)){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\tint l = sc.nextInt();\n\n\t\t\tint[][] A = new int[n][m];\n\t\t\tint[][] B = new int[m][l];\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\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\t//-------------------------------------\n\n\t\t\tlong[][] C = new long[n][l];\n\t\t\tfor (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\ttry (Scanner sc = new Scanner (System.in)){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\tint l = sc.nextInt();\n\n\t\t\tint[][] A = new int[n][m];\n\t\t\tint[][] B = new int[m][l];\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\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\t//-------------------------------------\n\n\t\t\tlong[][] C = new long[n][l];\n\t\t\tfor (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}\n\t\t}\n\t}", "try (Scanner sc = new Scanner (System.in)){\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\tint l = sc.nextInt();\n\n\t\t\tint[][] A = new int[n][m];\n\t\t\tint[][] B = new int[m][l];\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\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\t//-------------------------------------\n\n\t\t\tlong[][] C = new long[n][l];\n\t\t\tfor (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}\n\t\t}", "{\n\t\t\tint n = sc.nextInt();\n\t\t\tint m = sc.nextInt();\n\t\t\tint l = sc.nextInt();\n\n\t\t\tint[][] A = new int[n][m];\n\t\t\tint[][] B = new int[m][l];\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\n\t\t\tfor (int i=0; i<m; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}\n\t\t\t//-------------------------------------\n\n\t\t\tlong[][] C = new long[n][l];\n\t\t\tfor (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}\n\t\t}", "Scanner sc = new Scanner (System.in)", "Scanner sc = new Scanner (System.in)", "new Scanner (System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "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\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}\n\t\t\t}", "for (int j=0; j<l; j++) {\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}", "{\n\t\t\t\t\tB[i][j] = sc.nextInt();\n\t\t\t\t}", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "for (int j=0; j<l; j++) {\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tfor (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}\n\t\t\t\t}", "for (int k=0; k<m; k++) {\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}", "{\n\t\t\t\t\t\tC[i][j] += A[i][k] * B[k][j];\n\t\t\t\t\t}", "C[i][j] += A[i][k] * B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for (int i=0; i<n; i++) {\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}", "{\n\t\t\t\tfor (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}\n\t\t\t\tSystem.out.print('\\n');\n\t\t\t}", "for (int j=0; j<l; j++) {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t\tif (j!= l-1) System.out.print(\" \");\n\t\t\t\t}", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "if (j!= l-1) System.out.print(\" \");", "j!= l-1", "j", "l-1", "l", "1", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.print('\\n')", "System.out.print", "System.out", "System", "System.out", "'\\n'", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { try (Scanner sc = new Scanner (System.in)){ int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; //読み込む---------------------------- 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++) { for (int j=0; j<l; j++) { B[i][j] = sc.nextInt(); } } //------------------------------------- long[][] C = new long[n][l]; for (int i=0; i<n; i++) { for (int j=0; j<l; j++) { for (int k=0; k<m; k++) { C[i][j] += A[i][k] * B[k][j]; } } } for (int i=0; i<n; i++) { for (int j=0; j<l; j++) { System.out.print(C[i][j]); if (j!= l-1) System.out.print(" "); } System.out.print('\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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 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 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 128, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 160, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 140, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 140, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 179, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 179, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 6, 195 ], [ 195, 196 ], [ 0, 197 ], [ 197, 198 ], [ 197, 199 ] ]
[ "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 int L = sc.nextInt();\n long[][] A = new long[N][M];\n long[][] B = new long[M][L];\n long[][] C = new long[N][L];\n for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }\n for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }\n for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }\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 int L = sc.nextInt();\n long[][] A = new long[N][M];\n long[][] B = new long[M][L];\n long[][] C = new long[N][L];\n for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }\n for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }\n for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\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 L = sc.nextInt();\n long[][] A = new long[N][M];\n long[][] B = new long[M][L];\n long[][] C = new long[N][L];\n for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }\n for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }\n for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n int L = sc.nextInt();\n long[][] A = new long[N][M];\n long[][] B = new long[M][L];\n long[][] C = new long[N][L];\n for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }\n for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }\n for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\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 L = sc.nextInt();", "L", "sc.nextInt()", "sc.nextInt", "sc", "long[][] A = new long[N][M];", "A", "new long[N][M]", "N", "M", "long[][] B = new long[M][L];", "B", "new long[M][L]", "M", "L", "long[][] C = new long[N][L];", "C", "new long[N][L]", "N", "L", "for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }", "int n = 0;", "int n = 0;", "n", "0", "n < N", "n", "N", "n++", "n++", "n", "{\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }", "{\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }", "for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }", "int m = 0;", "int m = 0;", "m", "0", "m < M", "m", "M", "m++", "m++", "m", "{\n A[n][m] = sc.nextInt();\n }", "{\n A[n][m] = sc.nextInt();\n }", "A[n][m] = sc.nextInt()", "A[n][m]", "A[n]", "A", "n", "m", "sc.nextInt()", "sc.nextInt", "sc", "for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }", "int m = 0;", "int m = 0;", "m", "0", "m < M", "m", "M", "m++", "m++", "m", "{\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }", "{\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }", "for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }", "int l = 0;", "int l = 0;", "l", "0", "l < L", "l", "L", "l++", "l++", "l", "{\n B[m][l] = sc.nextInt();\n }", "{\n B[m][l] = sc.nextInt();\n }", "B[m][l] = sc.nextInt()", "B[m][l]", "B[m]", "B", "m", "l", "sc.nextInt()", "sc.nextInt", "sc", "for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }\n }", "int n = 0;", "int n = 0;", "n", "0", "n < N", "n", "N", "n++", "n++", "n", "{\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }\n }", "{\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }", "int l = 0;", "int l = 0;", "l", "0", "l < L", "l", "L", "l++", "l++", "l", "{\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }", "{\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }", "for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }", "int m = 0;", "int m = 0;", "m", "0", "m < M", "m", "M", "m++", "m++", "m", "{\n C[n][l] += A[n][m] * B[m][l];\n }", "{\n C[n][l] += A[n][m] * B[m][l];\n }", "C[n][l] += A[n][m] * B[m][l]", "C[n][l]", "C[n]", "C", "n", "l", "A[n][m] * B[m][l]", "A[n][m]", "A[n]", "A", "n", "m", "B[m][l]", "B[m]", "B", "m", "l", "sb.append(C[n][l])", "sb.append", "sb", "C[n][l]", "C[n]", "C", "n", "l", "if (l < L - 1) sb.append(' ');\n else System.out.println(sb);", "l < L - 1", "l", "L - 1", "L", "1", "sb.append(' ')", "sb.append", "sb", "' '", "System.out.println(sb)", "System.out.println", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int M = sc.nextInt();\n int L = sc.nextInt();\n long[][] A = new long[N][M];\n long[][] B = new long[M][L];\n long[][] C = new long[N][L];\n for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }\n for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }\n for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\n }\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 int L = sc.nextInt();\n long[][] A = new long[N][M];\n long[][] B = new long[M][L];\n long[][] C = new long[N][L];\n for (int n = 0; n < N; n++) {\n for (int m = 0; m < M; m++) {\n A[n][m] = sc.nextInt();\n }\n }\n for (int m = 0; m < M; m++) {\n for (int l = 0; l < L; l++) {\n B[m][l] = sc.nextInt();\n }\n }\n for (int n = 0; n < N; n++) {\n StringBuilder sb = new StringBuilder();\n for (int l = 0; l < L; l++) {\n for (int m = 0; m < M; m++) {\n C[n][l] += A[n][m] * B[m][l];\n }\n sb.append(C[n][l]);\n if (l < L - 1) sb.append(' ');\n else System.out.println(sb);\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 L = sc.nextInt(); long[][] A = new long[N][M]; long[][] B = new long[M][L]; long[][] C = new long[N][L]; for (int n = 0; n < N; n++) { for (int m = 0; m < M; m++) { A[n][m] = sc.nextInt(); } } for (int m = 0; m < M; m++) { for (int l = 0; l < L; l++) { B[m][l] = sc.nextInt(); } } for (int n = 0; n < N; n++) { StringBuilder sb = new StringBuilder(); for (int l = 0; l < L; l++) { for (int m = 0; m < M; m++) { C[n][l] += A[n][m] * B[m][l]; } sb.append(C[n][l]); if (l < L - 1) sb.append(' '); else System.out.println(sb); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 41, 13, 4, 13, 13, 13, 13, 13, 13, 28, 13, 13, 30, 30, 41, 13, 17, 28, 13, 13, 30, 30, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 13, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 12, 13, 30, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 29, 13, 23, 13, 23, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 235, 5 ], [ 235, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 109, 112 ], [ 109, 113 ], [ 109, 114 ], [ 109, 115 ], [ 8, 116 ], [ 116, 117 ], [ 116, 118 ], [ 116, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 124, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 128, 137 ], [ 137, 138 ], [ 137, 139 ], [ 120, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 145, 147 ], [ 6, 148 ], [ 148, 149 ], [ 235, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 158 ], [ 158, 159 ], [ 152, 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 ], [ 173, 181 ], [ 181, 182 ], [ 182, 183 ], [ 173, 184 ], [ 185, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 194, 195 ], [ 194, 196 ], [ 189, 197 ], [ 197, 198 ], [ 198, 199 ], [ 189, 200 ], [ 201, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 204, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 185, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 215, 221 ], [ 152, 222 ], [ 222, 223 ], [ 150, 224 ], [ 224, 225 ], [ 150, 226 ], [ 226, 227 ], [ 150, 228 ], [ 228, 229 ], [ 150, 230 ], [ 230, 231 ], [ 150, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner inp = new Scanner(System.in);\n int n = inp.nextInt();\n int m = inp.nextInt();\n int l = inp.nextInt();\n\n long aMatrix[][] = new long[n][m];\n long bMatrix[][] = new long[m][l];\n\n\n // Matrix A\n for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }\n\n // Matrix B\n for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }\n\n long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);\n\n for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }\n }\n\n public static long[][] matrixCalc(long[][] aMatrix, long[][] bMatrix, int n, int m, int l) {\n long totals[][] = new long[n][l];\n\n long total;\n\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }\n\n return totals;\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner inp = new Scanner(System.in);\n int n = inp.nextInt();\n int m = inp.nextInt();\n int l = inp.nextInt();\n\n long aMatrix[][] = new long[n][m];\n long bMatrix[][] = new long[m][l];\n\n\n // Matrix A\n for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }\n\n // Matrix B\n for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }\n\n long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);\n\n for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }\n }\n\n public static long[][] matrixCalc(long[][] aMatrix, long[][] bMatrix, int n, int m, int l) {\n long totals[][] = new long[n][l];\n\n long total;\n\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }\n\n return totals;\n }\n}", "Main", "public static void main(String[] args) {\n Scanner inp = new Scanner(System.in);\n int n = inp.nextInt();\n int m = inp.nextInt();\n int l = inp.nextInt();\n\n long aMatrix[][] = new long[n][m];\n long bMatrix[][] = new long[m][l];\n\n\n // Matrix A\n for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }\n\n // Matrix B\n for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }\n\n long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);\n\n for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }\n }", "main", "{\n Scanner inp = new Scanner(System.in);\n int n = inp.nextInt();\n int m = inp.nextInt();\n int l = inp.nextInt();\n\n long aMatrix[][] = new long[n][m];\n long bMatrix[][] = new long[m][l];\n\n\n // Matrix A\n for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }\n\n // Matrix B\n for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }\n\n long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);\n\n for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }\n }", "Scanner inp = new Scanner(System.in);", "inp", "new Scanner(System.in)", "int n = inp.nextInt();", "n", "inp.nextInt()", "inp.nextInt", "inp", "int m = inp.nextInt();", "m", "inp.nextInt()", "inp.nextInt", "inp", "int l = inp.nextInt();", "l", "inp.nextInt()", "inp.nextInt", "inp", "long aMatrix[][] = new long[n][m];", "aMatrix", "new long[n][m]", "n", "m", "long bMatrix[][] = new long[m][l];", "bMatrix", "new long[m][l]", "m", "l", "for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }", "int k = 0;", "int k = 0;", "k", "0", "k < n", "k", "n", "k++", "k++", "k", "{\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }", "for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n aMatrix[k][j] = inp.nextInt();\n }", "{\n aMatrix[k][j] = inp.nextInt();\n }", "aMatrix[k][j] = inp.nextInt()", "aMatrix[k][j]", "aMatrix[k]", "aMatrix", "k", "j", "inp.nextInt()", "inp.nextInt", "inp", "for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }", "{\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }", "for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n bMatrix[k][j] = inp.nextInt();\n }", "{\n bMatrix[k][j] = inp.nextInt();\n }", "bMatrix[k][j] = inp.nextInt()", "bMatrix[k][j]", "bMatrix[k]", "bMatrix", "k", "j", "inp.nextInt()", "inp.nextInt", "inp", "long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);", "total", "matrixCalc(aMatrix, bMatrix, n, m, l)", "matrixCalc", "aMatrix", "bMatrix", "n", "m", "l", "for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }", "long[] item", "total", "{\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }", "{\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }", "String s = \"\";", "s", "\"\"", "for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }", "long secondItem", "item", "{\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }", "{\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }", "if (s != \"\") {\n s += \" \";\n }", "s != \"\"", "s", "\"\"", "{\n s += \" \";\n }", "s += \" \"", "s", "\" \"", "s += secondItem", "s", "secondItem", "System.out.print(s + \"\\n\")", "System.out.print", "System.out", "System", "System.out", "s + \"\\n\"", "s", "\"\\n\"", "String[] args", "args", "public static long[][] matrixCalc(long[][] aMatrix, long[][] bMatrix, int n, int m, int l) {\n long totals[][] = new long[n][l];\n\n long total;\n\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }\n\n return totals;\n }", "matrixCalc", "{\n long totals[][] = new long[n][l];\n\n long total;\n\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }\n\n return totals;\n }", "long totals[][] = new long[n][l];", "totals", "new long[n][l]", "n", "l", "long total;", "total", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }", "{\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }", "for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }", "{\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }", "total = 0L", "total", "0L", "for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n total += aMatrix[i][k]*bMatrix[k][j];\n }", "{\n total += aMatrix[i][k]*bMatrix[k][j];\n }", "total += aMatrix[i][k]*bMatrix[k][j]", "total", "aMatrix[i][k]*bMatrix[k][j]", "aMatrix[i][k]", "aMatrix[i]", "aMatrix", "i", "k", "bMatrix[k][j]", "bMatrix[k]", "bMatrix", "k", "j", "totals[i][j] = total", "totals[i][j]", "totals[i]", "totals", "i", "j", "total", "return totals;", "totals", "long[][] aMatrix", "aMatrix", "long[][] bMatrix", "bMatrix", "int n", "n", "int m", "m", "int l", "l", "public class Main {\n public static void main(String[] args) {\n Scanner inp = new Scanner(System.in);\n int n = inp.nextInt();\n int m = inp.nextInt();\n int l = inp.nextInt();\n\n long aMatrix[][] = new long[n][m];\n long bMatrix[][] = new long[m][l];\n\n\n // Matrix A\n for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }\n\n // Matrix B\n for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }\n\n long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);\n\n for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }\n }\n\n public static long[][] matrixCalc(long[][] aMatrix, long[][] bMatrix, int n, int m, int l) {\n long totals[][] = new long[n][l];\n\n long total;\n\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }\n\n return totals;\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner inp = new Scanner(System.in);\n int n = inp.nextInt();\n int m = inp.nextInt();\n int l = inp.nextInt();\n\n long aMatrix[][] = new long[n][m];\n long bMatrix[][] = new long[m][l];\n\n\n // Matrix A\n for (int k = 0; k < n; k++) {\n for (int j = 0; j < m; j++) {\n aMatrix[k][j] = inp.nextInt();\n }\n }\n\n // Matrix B\n for (int k = 0; k < m; k++) {\n for (int j = 0; j < l; j++) {\n bMatrix[k][j] = inp.nextInt();\n }\n }\n\n long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l);\n\n for (long[] item : total) {\n String s = \"\";\n for (long secondItem : item) {\n if (s != \"\") {\n s += \" \";\n }\n s += secondItem;\n }\n System.out.print(s + \"\\n\");\n }\n }\n\n public static long[][] matrixCalc(long[][] aMatrix, long[][] bMatrix, int n, int m, int l) {\n long totals[][] = new long[n][l];\n\n long total;\n\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n total = 0L;\n for(int k = 0; k < m; k++){\n total += aMatrix[i][k]*bMatrix[k][j];\n }\n totals[i][j] = total;\n }\n }\n\n return totals;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner inp = new Scanner(System.in); int n = inp.nextInt(); int m = inp.nextInt(); int l = inp.nextInt(); long aMatrix[][] = new long[n][m]; long bMatrix[][] = new long[m][l]; // Matrix A for (int k = 0; k < n; k++) { for (int j = 0; j < m; j++) { aMatrix[k][j] = inp.nextInt(); } } // Matrix B for (int k = 0; k < m; k++) { for (int j = 0; j < l; j++) { bMatrix[k][j] = inp.nextInt(); } } long total[][] = matrixCalc(aMatrix, bMatrix, n, m, l); for (long[] item : total) { String s = ""; for (long secondItem : item) { if (s != "") { s += " "; } s += secondItem; } System.out.print(s + "\n"); } } public static long[][] matrixCalc(long[][] aMatrix, long[][] bMatrix, int n, int m, int l) { long totals[][] = new long[n][l]; long total; for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ total = 0L; for(int k = 0; k < m; k++){ total += aMatrix[i][k]*bMatrix[k][j]; } totals[i][j] = total; } } return totals; } }
[ 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, 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, 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, 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, 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, 18, 18, 13, 13, 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, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 13, 17, 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 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 273, 8 ], [ 273, 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 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 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 ], [ 11, 98 ], [ 98, 99 ], [ 98, 100 ], [ 11, 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 ], [ 120, 121 ], [ 121, 122 ], [ 118, 123 ], [ 115, 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 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 146, 148 ], [ 11, 149 ], [ 149, 150 ], [ 149, 151 ], [ 11, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 159, 161 ], [ 154, 162 ], [ 162, 163 ], [ 163, 164 ], [ 154, 165 ], [ 166, 166 ], [ 166, 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 ], [ 185, 187 ], [ 180, 188 ], [ 188, 189 ], [ 189, 190 ], [ 180, 191 ], [ 192, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 193, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 199, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 11, 210 ], [ 210, 211 ], [ 210, 212 ], [ 11, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 213, 221 ], [ 221, 222 ], [ 222, 223 ], [ 213, 224 ], [ 225, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 231, 233 ], [ 226, 234 ], [ 234, 235 ], [ 235, 236 ], [ 226, 237 ], [ 238, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 239, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 238, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 250, 252 ], [ 247, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 254, 257 ], [ 225, 258 ], [ 258, 259 ], [ 259, 260 ], [ 258, 261 ], [ 11, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 267, 268 ], [ 268, 269 ], [ 9, 270 ], [ 270, 271 ], [ 0, 272 ], [ 272, 273 ], [ 272, 274 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t String[] line = br.readLine().split(\" \");\n\t int n = Integer.parseInt(line[0]);\n\t int m = Integer.parseInt(line[1]);\n\t int l = Integer.parseInt(line[2]);\n\n\t // parse A\n\t long[][] a = new long[n][m];\n\t for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // parse B\n\t long[][] b = new long[m][l];\n\t for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // Calculation\n\t long[][] ans = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }\n\n\t // Display Answer\n\t StringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t System.out.print(sb.toString());\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t String[] line = br.readLine().split(\" \");\n\t int n = Integer.parseInt(line[0]);\n\t int m = Integer.parseInt(line[1]);\n\t int l = Integer.parseInt(line[2]);\n\n\t // parse A\n\t long[][] a = new long[n][m];\n\t for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // parse B\n\t long[][] b = new long[m][l];\n\t for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // Calculation\n\t long[][] ans = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }\n\n\t // Display Answer\n\t StringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t System.out.print(sb.toString());\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t String[] line = br.readLine().split(\" \");\n\t int n = Integer.parseInt(line[0]);\n\t int m = Integer.parseInt(line[1]);\n\t int l = Integer.parseInt(line[2]);\n\n\t // parse A\n\t long[][] a = new long[n][m];\n\t for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // parse B\n\t long[][] b = new long[m][l];\n\t for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // Calculation\n\t long[][] ans = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }\n\n\t // Display Answer\n\t StringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t System.out.print(sb.toString());\n\t}", "main", "{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t String[] line = br.readLine().split(\" \");\n\t int n = Integer.parseInt(line[0]);\n\t int m = Integer.parseInt(line[1]);\n\t int l = Integer.parseInt(line[2]);\n\n\t // parse A\n\t long[][] a = new long[n][m];\n\t for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // parse B\n\t long[][] b = new long[m][l];\n\t for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // Calculation\n\t long[][] ans = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }\n\n\t // Display Answer\n\t StringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t System.out.print(sb.toString());\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String[] line = br.readLine().split(\" \");", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(line[0]);", "n", "Integer.parseInt(line[0])", "Integer.parseInt", "Integer", "line[0]", "line", "0", "int m = Integer.parseInt(line[1]);", "m", "Integer.parseInt(line[1])", "Integer.parseInt", "Integer", "line[1]", "line", "1", "int l = Integer.parseInt(line[2]);", "l", "Integer.parseInt(line[2])", "Integer.parseInt", "Integer", "line[2]", "line", "2", "long[][] a = new long[n][m];", "a", "new long[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }", "{\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }", "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 \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}", "{\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}", "a[i][j] = Integer.parseInt(line[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(line[j])", "Integer.parseInt", "Integer", "line[j]", "line", "j", "long[][] b = new long[m][l];", "b", "new long[m][l]", "m", "l", "for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }", "{\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }", "line = br.readLine().split(\" \")", "line", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}", "{\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}", "b[i][j] = Integer.parseInt(line[j])", "b[i][j]", "b[i]", "b", "i", "j", "Integer.parseInt(line[j])", "Integer.parseInt", "Integer", "line[j]", "line", "j", "long[][] ans = new long[n][l];", "ans", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\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 < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }", "{\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }", "for (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}", "{\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}", "for (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}", "{\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}", "ans[i][j] += (a[i][k] * b[k][j])", "ans[i][j]", "ans[i]", "ans", "i", "j", "(a[i][k] * b[k][j])", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }", "{\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }", "for (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}", "{\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}", "sb.append(ans[i][j])", "sb.append", "sb", "ans[i][j]", "ans[i]", "ans", "i", "j", "if (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}", "j < l - 1", "j", "l - 1", "l", "1", "{\n\t\t \t\tsb.append(\" \");\n\t\t \t}", "sb.append(\" \")", "sb.append", "sb", "\" \"", "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\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t String[] line = br.readLine().split(\" \");\n\t int n = Integer.parseInt(line[0]);\n\t int m = Integer.parseInt(line[1]);\n\t int l = Integer.parseInt(line[2]);\n\n\t // parse A\n\t long[][] a = new long[n][m];\n\t for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // parse B\n\t long[][] b = new long[m][l];\n\t for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // Calculation\n\t long[][] ans = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }\n\n\t // Display Answer\n\t StringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t System.out.print(sb.toString());\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t String[] line = br.readLine().split(\" \");\n\t int n = Integer.parseInt(line[0]);\n\t int m = Integer.parseInt(line[1]);\n\t int l = Integer.parseInt(line[2]);\n\n\t // parse A\n\t long[][] a = new long[n][m];\n\t for (int i = 0; i < n; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < m; j++) {\n\t\t \ta[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // parse B\n\t long[][] b = new long[m][l];\n\t for (int i = 0; i < m; i++) {\n\t \tline = br.readLine().split(\" \");\n\t \tfor (int j = 0; j < l; j++) {\n\t\t \tb[i][j] = Integer.parseInt(line[j]);\n\t \t}\n\t }\n\n\t // Calculation\n\t long[][] ans = new long[n][l];\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tfor (int k = 0; k < m; k++) {\n\t\t \t\tans[i][j] += (a[i][k] * b[k][j]);\n\t \t\t}\n\t \t}\n\t }\n\n\t // Display Answer\n\t StringBuilder sb = new StringBuilder();\n\t for (int i = 0; i < n; i++) {\n\t \tfor (int j = 0; j < l; j++) {\n\t \t\tsb.append(ans[i][j]);\n\t\t \tif (j < l - 1) {\n\t\t \t\tsb.append(\" \");\n\t\t \t}\n\t \t}\n\t \tsb.append(\"\\n\");\n\t }\n\t System.out.print(sb.toString());\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String[] line = br.readLine().split(" "); int n = Integer.parseInt(line[0]); int m = Integer.parseInt(line[1]); int l = Integer.parseInt(line[2]); // parse A long[][] a = new long[n][m]; for (int i = 0; i < n; i++) { line = br.readLine().split(" "); for (int j = 0; j < m; j++) { a[i][j] = Integer.parseInt(line[j]); } } // parse B long[][] b = new long[m][l]; for (int i = 0; i < m; i++) { line = br.readLine().split(" "); for (int j = 0; j < l; j++) { b[i][j] = Integer.parseInt(line[j]); } } // Calculation long[][] ans = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { ans[i][j] += (a[i][k] * b[k][j]); } } } // Display Answer StringBuilder sb = new StringBuilder(); for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { sb.append(ans[i][j]); if (j < l - 1) { sb.append(" "); } } 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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 215, 5 ], [ 215, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 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 ], [ 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 ], [ 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 8, 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 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 125, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 137, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 137, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 177, 179 ], [ 174, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 187, 191 ], [ 186, 192 ], [ 174, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 124, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 8, 209 ], [ 209, 210 ], [ 210, 211 ], [ 6, 212 ], [ 212, 213 ], [ 0, 214 ], [ 214, 215 ], [ 214, 216 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tscanner.close();\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tscanner.close();\n\t\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tscanner.close();\n\t\t\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tscanner.close();\n\t\t\n\t}", "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 l = scanner.nextInt();", "l", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "long[][] C = new long[n][l];", "C", "new long[n][l]", "n", "l", "for(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\tA[i][j] = scanner.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] = scanner.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] = scanner.nextInt(); \n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++) {\n\t\t\t\tA[i][j] = scanner.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] = scanner.nextInt(); \n\t\t\t}", "{\n\t\t\t\tA[i][j] = scanner.nextInt(); \n\t\t\t}", "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\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.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<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}", "for(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}", "{\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}", "B[i][j] = scanner.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}", "long temp = 0;", "temp", "0", "for(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}", "temp += A[i][k]*B[k][j]", "temp", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "C[i][j] = temp", "C[i][j]", "C[i]", "C", "i", "j", "temp", "if (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}", "j!=l-1", "j", "l-1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}", "System.out.print(C[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j] + \" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "{\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}", "System.out.print(C[i][j])", "System.out.print", "System.out", "System", "System.out", "C[i][j]", "C[i]", "C", "i", "j", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "scanner.close()", "scanner.close", "scanner", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tscanner.close();\n\t\t\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint n = scanner.nextInt();\n\t\tint m = scanner.nextInt();\n\t\tint l = scanner.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\n\t\tlong[][] C = new long[n][l];\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] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<m;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tB[i][j] = scanner.nextInt(); \n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<l;j++) {\n\t\t\t\tlong temp = 0;\n\t\t\t\tfor(int k=0;k<m;k++) {\n\t\t\t\t\ttemp += A[i][k]*B[k][j];\n\t\t\t\t}\n\t\t\t\tC[i][j] = temp;\n\t\t\t\tif (j!=l-1) {\n\t\t\t\t\tSystem.out.print(C[i][j] + \" \");\n\t\t\t\t}else {\n\t\t\t\t\tSystem.out.print(C[i][j]);\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t\tscanner.close();\n\t\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int m = scanner.nextInt(); int l = scanner.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; long[][] C = new long[n][l]; 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++) { for(int j=0;j<l;j++) { B[i][j] = scanner.nextInt(); } } for(int i=0;i<n;i++) { for(int j=0;j<l;j++) { long temp = 0; for(int k=0;k<m;k++) { temp += A[i][k]*B[k][j]; } C[i][j] = temp; if (j!=l-1) { System.out.print(C[i][j] + " "); }else { System.out.print(C[i][j]); } } System.out.println(); } scanner.close(); } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 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, 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, 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, 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, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 4, 18, 13, 13, 17, 4, 18, 4, 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 ], [ 241, 11 ], [ 241, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 60 ], [ 60, 61 ], [ 14, 62 ], [ 62, 63 ], [ 62, 64 ], [ 14, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 80, 85 ], [ 77, 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 ], [ 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 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 126, 131 ], [ 123, 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 ], [ 146, 150 ], [ 145, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 154, 156 ], [ 14, 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 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 170, 178 ], [ 178, 179 ], [ 179, 180 ], [ 170, 181 ], [ 182, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 186, 194 ], [ 194, 195 ], [ 195, 196 ], [ 186, 197 ], [ 198, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 201, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 182, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 215, 217 ], [ 212, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 218, 224 ], [ 212, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 225, 231 ], [ 14, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 12, 238 ], [ 238, 239 ], [ 0, 240 ], [ 240, 241 ], [ 240, 242 ] ]
[ "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 l = Integer.parseInt(str[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long result;\n StringBuilder sb = new StringBuilder();\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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }\n System.out.print(sb);\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 l = Integer.parseInt(str[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long result;\n StringBuilder sb = new StringBuilder();\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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }\n System.out.print(sb);\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 l = Integer.parseInt(str[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long result;\n StringBuilder sb = new StringBuilder();\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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }\n System.out.print(sb);\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 l = Integer.parseInt(str[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long result;\n StringBuilder sb = new StringBuilder();\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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }\n System.out.print(sb);\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 l = Integer.parseInt(str[2]);", "l", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long result;", "result", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }", "{\n str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[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<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "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(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }", "{\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }", "for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }", "{\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }", "result = 0", "result", "0", "for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n result += a[i][k] * b[k][j];\n }", "{\n result += a[i][k] * b[k][j];\n }", "result += a[i][k] * b[k][j]", "result", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");", "j<l-1", "j", "l-1", "l", "1", "sb.append(result).append(\" \")", "sb.append(result).append", "sb.append(result)", "sb.append", "sb", "result", "\" \"", "sb.append(result).append(\"\\n\")", "sb.append(result).append", "sb.append(result)", "sb.append", "sb", "result", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String str[] = br.readLine().split(\" \");\n int n = Integer.parseInt(str[0]);\n int m = Integer.parseInt(str[1]);\n int l = Integer.parseInt(str[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long result;\n StringBuilder sb = new StringBuilder();\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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }\n System.out.print(sb);\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 l = Integer.parseInt(str[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n long result;\n StringBuilder sb = new StringBuilder();\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 str = br.readLine().split(\" \");\n for(int j=0;j<l;j++){\n b[i][j] = Integer.parseInt(str[j]);\n }\n }\n for(int i=0;i<n;i++){\n for(int j=0;j<l;j++){\n result = 0;\n for(int k=0;k<m;k++){\n result += a[i][k] * b[k][j];\n }\n if(j<l-1) sb.append(result).append(\" \");\n else sb.append(result).append(\"\\n\");\n }\n }\n System.out.print(sb);\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 l = Integer.parseInt(str[2]); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long result; StringBuilder sb = new StringBuilder(); 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++){ str = br.readLine().split(" "); for(int j=0;j<l;j++){ b[i][j] = Integer.parseInt(str[j]); } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ result = 0; for(int k=0;k<m;k++){ result += a[i][k] * b[k][j]; } if(j<l-1) sb.append(result).append(" "); else sb.append(result).append("\n"); } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 2, 13, 17, 2, 13, 17, 41, 13, 20, 2, 13, 17, 2, 13, 17, 41, 13, 17, 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, 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, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 13, 17, 0, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 0, 13, 17, 4, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 30, 31 ], [ 30, 32 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 39, 40 ], [ 39, 41 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 72, 78 ], [ 78, 79 ], [ 79, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 89, 90 ], [ 90, 91 ], [ 81, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 8, 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 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 134, 136 ], [ 127, 137 ], [ 137, 138 ], [ 138, 139 ], [ 127, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 142, 150 ], [ 150, 151 ], [ 151, 152 ], [ 142, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 141, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 141, 175 ], [ 175, 176 ], [ 175, 177 ], [ 126, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 183, 184 ], [ 183, 185 ], [ 178, 186 ], [ 186, 187 ], [ 187, 188 ], [ 178, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 126, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 126, 209 ], [ 209, 210 ], [ 209, 211 ], [ 126, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 6, 218 ], [ 218, 219 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n \n public static void main(String[] args){\n \n Scanner sc =new Scanner(System.in);\n \n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n\n int a[][]=new int[n+1][m+1];\n int b[][]=new int[m+1][l+1];\n \n long sum=0;\n \n for(int i=1;i<=n;i++)\n for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();\n \n for(int i=1;i<=m;i++)\n for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();\n \n for(int i=1;i<=n;i++) {\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\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 \n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n\n int a[][]=new int[n+1][m+1];\n int b[][]=new int[m+1][l+1];\n \n long sum=0;\n \n for(int i=1;i<=n;i++)\n for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();\n \n for(int i=1;i<=m;i++)\n for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();\n \n for(int i=1;i<=n;i++) {\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\n\");\n }\n }\n \n}", "Main", "public static void main(String[] args){\n \n Scanner sc =new Scanner(System.in);\n \n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n\n int a[][]=new int[n+1][m+1];\n int b[][]=new int[m+1][l+1];\n \n long sum=0;\n \n for(int i=1;i<=n;i++)\n for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();\n \n for(int i=1;i<=m;i++)\n for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();\n \n for(int i=1;i<=n;i++) {\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\n\");\n }\n }", "main", "{\n \n Scanner sc =new Scanner(System.in);\n \n int n=sc.nextInt();\n int m=sc.nextInt();\n int l=sc.nextInt();\n\n int a[][]=new int[n+1][m+1];\n int b[][]=new int[m+1][l+1];\n \n long sum=0;\n \n for(int i=1;i<=n;i++)\n for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();\n \n for(int i=1;i<=m;i++)\n for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();\n \n for(int i=1;i<=n;i++) {\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\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 l=sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "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][l+1];", "b", "new int[m+1][l+1]", "m+1", "m", "1", "l+1", "l", "1", "long sum=0;", "sum", "0", "for(int i=1;i<=n;i++)\n for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();", "for(int j=1;j<=m;j++)\n a[i][j]=sc.nextInt();", "int j=1;", "int j=1;", "j", "1", "j<=m", "j", "m", "j++", "j++", "j", "a[i][j]=sc.nextInt();", "a[i][j]=sc.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=1;i<=m;i++)\n for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();", "int i=1;", "int i=1;", "i", "1", "i<=m", "i", "m", "i++", "i++", "i", "for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();", "for(int j=1;j<=l;j++)\n b[i][j]=sc.nextInt();", "int j=1;", "int j=1;", "j", "1", "j<=l", "j", "l", "j++", "j++", "j", "b[i][j]=sc.nextInt();", "b[i][j]=sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=1;i<=n;i++) {\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\n\");\n }", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\n\");\n }", "{\n for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];\n System.out.print(sum);\n sum=0;\n System.out.print(\"\\n\");\n }", "for(int j=1;j<=l-1;j++) {\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }", "int j=1;", "int j=1;", "j", "1", "j<=l-1", "j", "l-1", "l", "1", "j++", "j++", "j", "{\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }", "{\n for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];\n System.out.print(sum+\" \");\n sum=0;\n }", "for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][j];", "int k=1;", "int k=1;", "k", "1", "k<=m", "k", "m", "k++", "k++", "k", "sum+=a[i][k]*b[k][j];", "sum+=a[i][k]*b[k][j]", "sum", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.print(sum+\" \")", "System.out.print", "System.out", "System", "System.out", "sum+\" \"", "sum", "\" \"", "sum=0", "sum", "0", "for(int k=1;k<=m;k++)\n sum+=a[i][k]*b[k][l];", "int k=1;", "int k=1;", "k", "1", "k<=m", "k", "m", "k++", "k++", "k", "sum+=a[i][k]*b[k][l];", "sum+=a[i][k]*b[k][l]", "sum", "a[i][k]*b[k][l]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][l]", "b[k]", "b", "k", "l", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "sum=0", "sum", "0", "System.out.print(\"\\n\")", "System.out.print", "System.out", "System", "System.out", "\"\\n\"", "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 l=sc.nextInt(); int a[][]=new int[n+1][m+1]; int b[][]=new int[m+1][l+1]; long sum=0; for(int i=1;i<=n;i++) for(int j=1;j<=m;j++) a[i][j]=sc.nextInt(); for(int i=1;i<=m;i++) for(int j=1;j<=l;j++) b[i][j]=sc.nextInt(); for(int i=1;i<=n;i++) { for(int j=1;j<=l-1;j++) { for(int k=1;k<=m;k++) sum+=a[i][k]*b[k][j]; System.out.print(sum+" "); sum=0; } for(int k=1;k<=m;k++) sum+=a[i][k]*b[k][l]; System.out.print(sum); sum=0; System.out.print("\n"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 28, 13, 13, 30, 30, 41, 13, 20, 28, 13, 13, 30, 30, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 209, 8 ], [ 209, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 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 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 96, 97 ], [ 97, 98 ], [ 88, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 107, 108 ], [ 108, 109 ], [ 11, 110 ], [ 110, 111 ], [ 111, 112 ], [ 11, 113 ], [ 113, 114 ], [ 113, 115 ], [ 11, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 144, 146 ], [ 143, 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 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 143, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 173, 179 ], [ 11, 180 ], [ 180, 181 ], [ 180, 182 ], [ 180, 183 ], [ 184, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 188, 190 ], [ 188, 191 ], [ 192, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 184, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 200, 205 ], [ 9, 206 ], [ 206, 207 ], [ 0, 208 ], [ 208, 209 ], [ 208, 210 ] ]
[ "import java.util.Scanner;\nimport java.util.StringJoiner;\n\npublic class Main {\n\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\t\tint l = sc.nextInt();\n\n\t\tint[][] gA = new int[n][m];\n\t\tint[][] gB = new int[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\n\t\tlong[][] gC = new long[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}\n\n\t\tfor(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.StringJoiner;", "StringJoiner", "java.util", "public class Main {\n\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\t\tint l = sc.nextInt();\n\n\t\tint[][] gA = new int[n][m];\n\t\tint[][] gB = new int[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\n\t\tlong[][] gC = new long[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}\n\n\t\tfor(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\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\t\tint l = sc.nextInt();\n\n\t\tint[][] gA = new int[n][m];\n\t\tint[][] gB = new int[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\n\t\tlong[][] gC = new long[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}\n\n\t\tfor(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\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\t\tint l = sc.nextInt();\n\n\t\tint[][] gA = new int[n][m];\n\t\tint[][] gB = new int[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\n\t\tlong[][] gC = new long[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}\n\n\t\tfor(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] gA = new int[n][m];", "gA", "new int[n][m]", "n", "m", "int[][] gB = new int[m][l];", "gB", "new int[m][l]", "m", "l", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[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\tgA[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\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < m; j++) {\n\t\t\t\tgA[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\tgA[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}", "gA[i][j] = sc.nextInt()", "gA[i][j]", "gA[i]", "gA", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = 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\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}", "gB[i][j] = sc.nextInt()", "gB[i][j]", "gB[i]", "gB", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "sc.close()", "sc.close", "sc", "long[][] gC = new long[n][l];", "gC", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\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 < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}", "{\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}", "long val = 0;", "val", "0", "for (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}", "val += gA[i][k] * gB[k][j]", "val", "gA[i][k] * gB[k][j]", "gA[i][k]", "gA[i]", "gA", "i", "k", "gB[k][j]", "gB[k]", "gB", "k", "j", "gC[i][j] = val", "gC[i][j]", "gC[i]", "gC", "i", "j", "val", "for(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\n\t\t}", "long[] c", "gC", "{\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\n\t\t}", "{\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\n\t\t}", "StringJoiner sj = new StringJoiner(\" \");", "sj", "new StringJoiner(\" \")", "for(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}", "long val", "c", "{\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}", "{\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}", "sj.add(String.valueOf(val))", "sj.add", "sj", "String.valueOf(val)", "String.valueOf", "String", "val", "System.out.println(sj)", "System.out.println", "System.out", "System", "System.out", "sj", "String[] args", "args", "public class Main {\n\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\t\tint l = sc.nextInt();\n\n\t\tint[][] gA = new int[n][m];\n\t\tint[][] gB = new int[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\n\t\tlong[][] gC = new long[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}\n\n\t\tfor(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\n\t\t}\n\t}\n}", "public class Main {\n\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\t\tint l = sc.nextInt();\n\n\t\tint[][] gA = new int[n][m];\n\t\tint[][] gB = new int[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\tgA[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tgB[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\n\t\tlong[][] gC = new long[n][l];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\n\t\t\t\tlong val = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tval += gA[i][k] * gB[k][j];\n\t\t\t\t}\n\t\t\t\tgC[i][j] = val;\n\t\t\t}\n\t\t}\n\n\t\tfor(long[] c : gC) {\n\t\t\tStringJoiner sj = new StringJoiner(\" \");\n\t\t\tfor(long val : c) {\n\t\t\t\tsj.add(String.valueOf(val));\n\t\t\t}\n\t\t\tSystem.out.println(sj);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; import java.util.StringJoiner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int[][] gA = new int[n][m]; int[][] gB = new int[m][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { gA[i][j] = sc.nextInt(); } } for (int i = 0; i < m; i++) { for (int j = 0; j < l; j++) { gB[i][j] = sc.nextInt(); } } sc.close(); long[][] gC = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { long val = 0; for (int k = 0; k < m; k++) { val += gA[i][k] * gB[k][j]; } gC[i][j] = val; } } for(long[] c : gC) { StringJoiner sj = new StringJoiner(" "); for(long val : c) { sj.add(String.valueOf(val)); } System.out.println(sj); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 13, 2, 13, 13, 30, 4, 18, 13, 2, 13, 17, 4, 18, 18, 13, 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 ], [ 244, 11 ], [ 244, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 14, 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 ], [ 14, 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 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 121, 126 ], [ 118, 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 ], [ 141, 145 ], [ 140, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 149, 151 ], [ 14, 152 ], [ 152, 153 ], [ 152, 154 ], [ 14, 155 ], [ 155, 156 ], [ 155, 157 ], [ 14, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 158, 169 ], [ 170, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 171, 179 ], [ 179, 180 ], [ 180, 181 ], [ 171, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 187, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 183, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 216, 218 ], [ 213, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 223, 224 ], [ 223, 225 ], [ 213, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 230, 231 ], [ 230, 232 ], [ 14, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 233, 238 ], [ 238, 239 ], [ 239, 240 ], [ 12, 241 ], [ 241, 242 ], [ 0, 243 ], [ 243, 244 ], [ 243, 245 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\tString space = \" \";\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\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\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\tString space = \" \";\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\tString space = \" \";\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}", "main", "{\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\tString space = \" \";\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\n\t}", "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 n = Integer.parseInt(input[0]);", "n", "Integer.parseInt(input[0])", "Integer.parseInt", "Integer", "input[0]", "input", "0", "int m = Integer.parseInt(input[1]);", "m", "Integer.parseInt(input[1])", "Integer.parseInt", "Integer", "input[1]", "input", "1", "int l = Integer.parseInt(input[2]);", "l", "Integer.parseInt(input[2])", "Integer.parseInt", "Integer", "input[2]", "input", "2", "long[][] a = new long[n][m];", "a", "new long[n][m]", "n", "m", "long[][] b = new long[m][l];", "b", "new long[m][l]", "m", "l", "for (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[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\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "input = br.readLine().split(\" \")", "input", "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(input[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(input[j]);\n\t\t\t}", "{\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}", "a[i][j] = Integer.parseInt(input[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(input[j])", "Integer.parseInt", "Integer", "input[j]", "input", "j", "for (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\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\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}", "input = br.readLine().split(\" \")", "input", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}", "{\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}", "b[i][j] = Integer.parseInt(input[j])", "b[i][j]", "b[i]", "b", "i", "j", "Integer.parseInt(input[j])", "Integer.parseInt", "Integer", "input[j]", "input", "j", "StringBuffer sb = new StringBuffer();", "sb", "new StringBuffer()", "String space = \" \";", "space", "\" \"", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\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 < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}", "long sum = 0;", "sum", "0", "for (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}", "sum += a[i][k] * b[k][j]", "sum", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "if (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}", "j != l -1", "j", "l -1", "l", "1", "{\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t}", "sb.append(sum + space)", "sb.append", "sb", "sum + space", "sum", "space", "{\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}", "sb.append(sum + \"\\n\")", "sb.append", "sb", "sum + \"\\n\"", "sum", "\"\\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) throws IOException {\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\tString space = \" \";\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\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\n\t\tString[] input = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(input[0]);\n\t\tint m = Integer.parseInt(input[1]);\n\t\tint l = Integer.parseInt(input[2]);\n\t\tlong[][] a = new long[n][m];\n\t\tlong[][] b = new long[m][l];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < m; j++) {\n\t\t\t\ta[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < m; i++) {\n\t\t\tinput = br.readLine().split(\" \");\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tb[i][j] = Integer.parseInt(input[j]);\n\t\t\t}\n\t\t}\n\n\t\tStringBuffer sb = new StringBuffer();\n\t\tString space = \" \";\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int j = 0; j < l; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < m; k++) {\n\t\t\t\t\tsum += a[i][k] * b[k][j];\n\t\t\t\t}\n\t\t\t\tif (j != l -1) {\n\t\t\t\t\tsb.append(sum + space);\n\t\t\t\t} else {\n\t\t\t\t\tsb.append(sum + \"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb.toString());\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[] input = br.readLine().split(" "); int n = Integer.parseInt(input[0]); int m = Integer.parseInt(input[1]); int l = Integer.parseInt(input[2]); long[][] a = new long[n][m]; long[][] b = new long[m][l]; for (int i = 0; i < n; i++) { input = br.readLine().split(" "); for (int j = 0; j < m; j++) { a[i][j] = Integer.parseInt(input[j]); } } for (int i = 0; i < m; i++) { input = br.readLine().split(" "); for (int j = 0; j < l; j++) { b[i][j] = Integer.parseInt(input[j]); } } StringBuffer sb = new StringBuffer(); String space = " "; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { long sum = 0; for (int k = 0; k < m; k++) { sum += a[i][k] * b[k][j]; } if (j != l -1) { sb.append(sum + space); } else { sb.append(sum + "\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, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 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, 18, 13, 13, 13, 4, 18, 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, 18, 13, 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, 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, 18, 18, 13, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 18, 18, 13, 13, 13, 17, 9, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 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 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 57, 69 ], [ 69, 70 ], [ 70, 71 ], [ 57, 72 ], [ 73, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 83, 93 ], [ 93, 94 ], [ 94, 95 ], [ 83, 96 ], [ 97, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 98, 110 ], [ 110, 111 ], [ 111, 112 ], [ 98, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 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 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 159, 160 ], [ 150, 161 ], [ 162, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 169, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 8, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 180, 190 ], [ 190, 191 ], [ 191, 192 ], [ 180, 193 ], [ 194, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 195, 207 ], [ 207, 208 ], [ 208, 209 ], [ 195, 210 ], [ 211, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 217, 221 ], [ 211, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 225, 231 ], [ 222, 232 ], [ 211, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 233, 238 ], [ 194, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 8, 244 ], [ 244, 245 ], [ 245, 246 ], [ 6, 247 ], [ 247, 248 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t int [][] detA = new int [n][m];\n\t int [][] detB = new int [m][l];\n\t long [][] detC = new long [n][l];\n\n\t for(int i = 0 ; i < detA.length ; i++){\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detB.length ; i++){\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < n ; i++){\n\t \tfor(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detC.length ; i++){\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }\n\n\t scan.close();\n \t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t int [][] detA = new int [n][m];\n\t int [][] detB = new int [m][l];\n\t long [][] detC = new long [n][l];\n\n\t for(int i = 0 ; i < detA.length ; i++){\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detB.length ; i++){\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < n ; i++){\n\t \tfor(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detC.length ; i++){\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }\n\n\t scan.close();\n \t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t int [][] detA = new int [n][m];\n\t int [][] detB = new int [m][l];\n\t long [][] detC = new long [n][l];\n\n\t for(int i = 0 ; i < detA.length ; i++){\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detB.length ; i++){\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < n ; i++){\n\t \tfor(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detC.length ; i++){\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }\n\n\t scan.close();\n \t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t int [][] detA = new int [n][m];\n\t int [][] detB = new int [m][l];\n\t long [][] detC = new long [n][l];\n\n\t for(int i = 0 ; i < detA.length ; i++){\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detB.length ; i++){\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < n ; i++){\n\t \tfor(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}\n\t }\n\n\t for(int i = 0 ; i < detC.length ; i++){\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }\n\n\t scan.close();\n \t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int m = scan.nextInt();", "m", "scan.nextInt()", "scan.nextInt", "scan", "int l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int [][] detA = new int [n][m];", "detA", "new int [n][m]", "n", "m", "int [][] detB = new int [m][l];", "detB", "new int [m][l]", "m", "l", "long [][] detC = new long [n][l];", "detC", "new long [n][l]", "n", "l", "for(int i = 0 ; i < detA.length ; i++){\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < detA.length", "i", "detA.length", "detA", "detA.length", "i++", "i++", "i", "{\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }", "{\n\t \tfor(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}\n\t }", "for(int j = 0 ; j < detA[i].length ; j++){\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < detA[i].length", "j", "detA[i].length", "detA[i]", "detA", "i", "detA[i].length", "j++", "j++", "j", "{\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}", "{\n\t \t\tdetA[i][j] = scan.nextInt();\n\t \t}", "detA[i][j] = scan.nextInt()", "detA[i][j]", "detA[i]", "detA", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0 ; i < detB.length ; i++){\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < detB.length", "i", "detB.length", "detB", "detB.length", "i++", "i++", "i", "{\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }", "{\n\t \tfor(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}\n\t }", "for(int j = 0 ; j < detB[i].length ; j++){\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < detB[i].length", "j", "detB[i].length", "detB[i]", "detB", "i", "detB[i].length", "j++", "j++", "j", "{\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}", "{\n\t \t\tdetB[i][j] = scan.nextInt();\n\t \t}", "detB[i][j] = scan.nextInt()", "detB[i][j]", "detB[i]", "detB", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0 ; i < n ; i++){\n\t \tfor(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\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 < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}\n\t }", "{\n\t \tfor(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}\n\t }", "for(int j = 0 ; j < l ; j++){\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}", "{\n\t \t\tfor(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}\n\t \t}", "for(int k = 0 ; k < m ; k++){\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}", "int k = 0 ;", "int k = 0 ;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}", "{\n\t \t\t\tdetC[i][j] += detA[i][k]*detB[k][j];\n\t \t\t}", "detC[i][j] += detA[i][k]*detB[k][j]", "detC[i][j]", "detC[i]", "detC", "i", "j", "detA[i][k]*detB[k][j]", "detA[i][k]", "detA[i]", "detA", "i", "k", "detB[k][j]", "detB[k]", "detB", "k", "j", "for(int i = 0 ; i < detC.length ; i++){\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < detC.length", "i", "detC.length", "detC", "detC.length", "i++", "i++", "i", "{\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }", "{\n\t \tfor(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}\n\t \tSystem.out.println();\n\t }", "for(int j = 0 ; j < detC[i].length ; j++){\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < detC[i].length", "j", "detC[i].length", "detC[i]", "detC", "i", "detC[i].length", "j++", "j++", "j", "{\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}", "{\n\t \t\tSystem.out.print(detC[i][j]);\n if(j == detC[i].length -1) continue;\n\t \t\tSystem.out.print(\" \");\n\t \t}", "System.out.print(detC[i][j])", "System.out.print", "System.out", "System", "System.out", "detC[i][j]", "detC[i]", "detC", "i", "j", "if(j == detC[i].length -1) continue;", "j == detC[i].length -1", "j", "detC[i].length -1", "detC[i].length", "detC[i]", "detC", "i", "detC[i].length", "1", "continue;", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "scan.close()", "scan.close", "scan", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int m = scan.nextInt(); int l = scan.nextInt(); int [][] detA = new int [n][m]; int [][] detB = new int [m][l]; long [][] detC = new long [n][l]; for(int i = 0 ; i < detA.length ; i++){ for(int j = 0 ; j < detA[i].length ; j++){ detA[i][j] = scan.nextInt(); } } for(int i = 0 ; i < detB.length ; i++){ for(int j = 0 ; j < detB[i].length ; j++){ detB[i][j] = scan.nextInt(); } } for(int i = 0 ; i < n ; i++){ for(int j = 0 ; j < l ; j++){ for(int k = 0 ; k < m ; k++){ detC[i][j] += detA[i][k]*detB[k][j]; } } } for(int i = 0 ; i < detC.length ; i++){ for(int j = 0 ; j < detC[i].length ; j++){ System.out.print(detC[i][j]); if(j == detC[i].length -1) continue; System.out.print(" "); } System.out.println(); } 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 227, 5 ], [ 227, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 197, 199 ], [ 194, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 194, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 217, 223 ], [ 6, 224 ], [ 224, 225 ], [ 0, 226 ], [ 226, 227 ], [ 226, 228 ] ]
[ "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 int l = sc.nextInt();\n\n int[][] d1 = new int[n][m];\n int[][] d2 = new int[m][l];\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }\n\n for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }\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 int l = sc.nextInt();\n\n int[][] d1 = new int[n][m];\n int[][] d2 = new int[m][l];\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }\n\n for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\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 l = sc.nextInt();\n\n int[][] d1 = new int[n][m];\n int[][] d2 = new int[m][l];\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }\n\n for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n\n int[][] d1 = new int[n][m];\n int[][] d2 = new int[m][l];\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }\n\n for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] d1 = new int[n][m];", "d1", "new int[n][m]", "n", "m", "int[][] d2 = new int[m][l];", "d2", "new int[m][l]", "m", "l", "for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[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 d1[i][j] = sc.nextInt();\n }\n }", "{\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }", "for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n d1[i][j] = sc.nextInt();\n }", "{\n d1[i][j] = sc.nextInt();\n }", "d1[i][j] = sc.nextInt()", "d1[i][j]", "d1[i]", "d1", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<m", "i", "m", "i++", "i++", "i", "{\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }", "{\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }", "for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n d2[i][j] = sc.nextInt();\n }", "{\n d2[i][j] = sc.nextInt();\n }", "d2[i][j] = sc.nextInt()", "d2[i][j]", "d2[i]", "d2", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "long[][] ans = new long[n][l];", "ans", "new long[n][l]", "n", "l", "for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{ // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }", "{ // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }", "for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }", "int k=0;", "int k=0;", "k", "0", "k<l", "k", "l", "k++", "k++", "k", "{ // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }", "{ // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }", "for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{ // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }", "{ // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }", "ans[i][k] += d1[i][j]*d2[j][k]", "ans[i][k]", "ans[i]", "ans", "i", "k", "d1[i][j]*d2[j][k]", "d1[i][j]", "d1[i]", "d1", "i", "j", "d2[j][k]", "d2[j]", "d2", "j", "k", "for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }\n }", "{\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }\n }", "for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }", "{\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }", "if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }", "j == l-1", "j", "l-1", "l", "1", "{\n System.out.println(ans[i][j]);\n }", "System.out.println(ans[i][j])", "System.out.println", "System.out", "System", "System.out", "ans[i][j]", "ans[i]", "ans", "i", "j", "{\n System.out.print(ans[i][j] + \" \");\n }", "System.out.print(ans[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "ans[i][j] + \" \"", "ans[i][j]", "ans[i]", "ans", "i", "j", "\" \"", "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 int l = sc.nextInt();\n\n int[][] d1 = new int[n][m];\n int[][] d2 = new int[m][l];\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }\n\n for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\n }\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 int l = sc.nextInt();\n\n int[][] d1 = new int[n][m];\n int[][] d2 = new int[m][l];\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<m; j++) {\n d1[i][j] = sc.nextInt();\n }\n }\n\n for(int i=0; i<m; i++) {\n for(int j=0; j<l; j++) {\n d2[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for(int i=0; i<n; i++) { // height\n for(int k=0; k<l; k++) { // width\n for(int j=0; j<m; j++) { // content\n ans[i][k] += d1[i][j]*d2[j][k];\n }\n }\n }\n\n for(int i=0; i<n; i++) {\n for(int j=0; j<l; j++) {\n if(j == l-1) {\n System.out.println(ans[i][j]);\n } else {\n System.out.print(ans[i][j] + \" \");\n }\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 l = sc.nextInt(); int[][] d1 = new int[n][m]; int[][] d2 = new int[m][l]; for(int i=0; i<n; i++) { for(int j=0; j<m; j++) { d1[i][j] = sc.nextInt(); } } for(int i=0; i<m; i++) { for(int j=0; j<l; j++) { d2[i][j] = sc.nextInt(); } } long[][] ans = new long[n][l]; for(int i=0; i<n; i++) { // height for(int k=0; k<l; k++) { // width for(int j=0; j<m; j++) { // content ans[i][k] += d1[i][j]*d2[j][k]; } } } for(int i=0; i<n; i++) { for(int j=0; j<l; j++) { if(j == l-1) { System.out.println(ans[i][j]); } else { System.out.print(ans[i][j] + " "); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 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, 2, 18, 18, 13, 13, 13, 17, 4, 18, 13, 4, 18, 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 ], [ 230, 8 ], [ 230, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 11, 33 ], [ 33, 34 ], [ 33, 35 ], [ 11, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 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 ], [ 65, 69 ], [ 64, 70 ], [ 70, 71 ], [ 71, 72 ], [ 11, 73 ], [ 73, 74 ], [ 73, 75 ], [ 11, 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 ], [ 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 ], [ 105, 109 ], [ 104, 110 ], [ 110, 111 ], [ 111, 112 ], [ 11, 113 ], [ 113, 114 ], [ 113, 115 ], [ 11, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 11, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 203, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 206, 212 ], [ 186, 213 ], [ 213, 214 ], [ 214, 215 ], [ 213, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 11, 221 ], [ 221, 222 ], [ 222, 223 ], [ 11, 224 ], [ 224, 225 ], [ 225, 226 ], [ 9, 227 ], [ 227, 228 ], [ 0, 229 ], [ 229, 230 ], [ 229, 231 ] ]
[ "import java.io.PrintWriter;\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 int l = 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[][] b = new int[m][l];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n\n for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\n }\n\n pw.flush();\n sc.close();\n }\n}", "import java.io.PrintWriter;", "PrintWriter", "java.io", "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 int l = 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[][] b = new int[m][l];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n\n for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\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 int l = 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[][] b = new int[m][l];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n\n for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\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 int l = 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[][] b = new int[m][l];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n\n for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\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 l = sc.nextInt();", "l", "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[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = sc.nextInt();\n }", "{\n b[i][j] = sc.nextInt();\n }", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "long[][] ans = new long[n][l];", "ans", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{ \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }", "{ \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }", "for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }", "{\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }", "for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n ans[i][j] += a[i][k] * b[k][j];\n }", "{\n ans[i][j] += a[i][k] * b[k][j];\n }", "ans[i][j] += a[i][k] * b[k][j]", "ans[i][j]", "ans[i]", "ans", "i", "j", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{ \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\n }", "{ \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n sb.append(ans[i][j] + \" \");\n }", "{\n sb.append(ans[i][j] + \" \");\n }", "sb.append(ans[i][j] + \" \")", "sb.append", "sb", "ans[i][j] + \" \"", "ans[i][j]", "ans[i]", "ans", "i", "j", "\" \"", "pw.println(sb.toString().trim())", "pw.println", "pw", "sb.toString().trim()", "sb.toString().trim", "sb.toString()", "sb.toString", "sb", "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 int l = 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[][] b = new int[m][l];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n\n for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\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 int l = 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[][] b = new int[m][l];\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n b[i][j] = sc.nextInt();\n }\n }\n\n long[][] ans = new long[n][l];\n for (int i = 0; i < n; i++) { \n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n ans[i][j] += a[i][k] * b[k][j];\n }\n }\n }\n\n for (int i = 0; i < n; i++) { \n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(ans[i][j] + \" \");\n }\n pw.println(sb.toString().trim());\n }\n\n pw.flush();\n sc.close();\n }\n}", "Main" ]
import java.io.PrintWriter; 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 l = 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[][] b = new int[m][l]; for (int i = 0; i < m; i++) { for (int j = 0; j < l; j++) { b[i][j] = sc.nextInt(); } } long[][] ans = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { ans[i][j] += a[i][k] * b[k][j]; } } } for (int i = 0; i < n; i++) { StringBuilder sb = new StringBuilder(); for (int j = 0; j < l; j++) { sb.append(ans[i][j] + " "); } pw.println(sb.toString().trim()); } pw.flush(); sc.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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 190, 5 ], [ 190, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 162, 168 ], [ 132, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 172, 174 ], [ 169, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 119, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 6, 187 ], [ 187, 188 ], [ 0, 189 ], [ 189, 190 ], [ 189, 191 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint m=sc.nextInt();\n\t\tint l=sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[][] = new int[m][l];\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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\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 l=sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[][] = new int[m][l];\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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint m=sc.nextInt();\n\t\tint l=sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[][] = new int[m][l];\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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\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 l=sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[][] = new int[m][l];\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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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 l=sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int[n][m];", "a", "new int[n][m]", "n", "m", "int b[][] = new int[m][l];", "b", "new int[m][l]", "m", "l", "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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}", "b[i][j]=sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\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<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}", "double sum=0;", "sum", "0", "for(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}", "sum+=a[i][k]*b[k][j]", "sum", "a[i][k]*b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "System.out.printf(\"%.0f\",sum)", "System.out.printf", "System.out", "System", "System.out", "\"%.0f\"", "sum", "if(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "j!=l-1", "j", "l-1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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 l=sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[][] = new int[m][l];\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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc= new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint m=sc.nextInt();\n\t\tint l=sc.nextInt();\n\t\tint a[][] = new int[n][m];\n\t\tint b[][] = new int[m][l];\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\tfor(int j=0;j<l;j++){\n\t\t\t\tb[i][j]=sc.nextInt();\n\t\t\t}\n\t\t}\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tdouble sum=0;\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\t\tsum+=a[i][k]*b[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.printf(\"%.0f\",sum);\n\t\t\t\tif(j!=l-1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\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 l=sc.nextInt(); int a[][] = new int[n][m]; int b[][] = new int[m][l]; 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++){ for(int j=0;j<l;j++){ b[i][j]=sc.nextInt(); } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ double sum=0; for(int k=0;k<m;k++){ sum+=a[i][k]*b[k][j]; } System.out.printf("%.0f",sum); if(j!=l-1){ System.out.print(" "); } } System.out.println(); } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 233, 8 ], [ 233, 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 55 ], [ 55, 56 ], [ 55, 57 ], [ 11, 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 ], [ 11, 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 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 121, 126 ], [ 118, 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 ], [ 141, 145 ], [ 140, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 149, 150 ], [ 149, 151 ], [ 11, 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 ], [ 178, 180 ], [ 177, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 196, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 177, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 177, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 216, 218 ], [ 213, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 164, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 9, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic static void main(String[] args)throws Exception{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString[] nml= br.readLine().split(\" \");\n int n = Integer.parseInt(nml[0]);\n int m = Integer.parseInt(nml[1]);\n int l = Integer.parseInt(nml[2]);\n int[][] nm = new int[n][m];\n int[][] ml = new int[m][l];\n \n for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }\n for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }\n \n \n for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args)throws Exception{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString[] nml= br.readLine().split(\" \");\n int n = Integer.parseInt(nml[0]);\n int m = Integer.parseInt(nml[1]);\n int l = Integer.parseInt(nml[2]);\n int[][] nm = new int[n][m];\n int[][] ml = new int[m][l];\n \n for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }\n for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }\n \n \n for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }\n\t}\n\n}", "Main", "public static void main(String[] args)throws Exception{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString[] nml= br.readLine().split(\" \");\n int n = Integer.parseInt(nml[0]);\n int m = Integer.parseInt(nml[1]);\n int l = Integer.parseInt(nml[2]);\n int[][] nm = new int[n][m];\n int[][] ml = new int[m][l];\n \n for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }\n for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }\n \n \n for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }\n\t}", "main", "{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString[] nml= br.readLine().split(\" \");\n int n = Integer.parseInt(nml[0]);\n int m = Integer.parseInt(nml[1]);\n int l = Integer.parseInt(nml[2]);\n int[][] nm = new int[n][m];\n int[][] ml = new int[m][l];\n \n for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }\n for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }\n \n \n for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }\n\t}", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "String[] nml= br.readLine().split(\" \");", "nml", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int n = Integer.parseInt(nml[0]);", "n", "Integer.parseInt(nml[0])", "Integer.parseInt", "Integer", "nml[0]", "nml", "0", "int m = Integer.parseInt(nml[1]);", "m", "Integer.parseInt(nml[1])", "Integer.parseInt", "Integer", "nml[1]", "nml", "1", "int l = Integer.parseInt(nml[2]);", "l", "Integer.parseInt(nml[2])", "Integer.parseInt", "Integer", "nml[2]", "nml", "2", "int[][] nm = new int[n][m];", "nm", "new int[n][m]", "n", "m", "int[][] ml = new int[m][l];", "ml", "new int[m][l]", "m", "l", "for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }", "{\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }", "String[] nminput= br.readLine().split(\" \");", "nminput", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}", "{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}", "nm[i][j] = Integer.parseInt(nminput[j])", "nm[i][j]", "nm[i]", "nm", "i", "j", "Integer.parseInt(nminput[j])", "Integer.parseInt", "Integer", "nminput[j]", "nminput", "j", "for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }", "{\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }", "String[] mlinput= br.readLine().split(\" \");", "mlinput", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}", "{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}", "ml[i][j] = Integer.parseInt(mlinput[j])", "ml[i][j]", "ml[i]", "ml", "i", "j", "Integer.parseInt(mlinput[j])", "Integer.parseInt", "Integer", "mlinput[j]", "mlinput", "j", "for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }", "{\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }", "for (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}", "{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}", "long sum = 0;", "sum", "0", "for (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}", "{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}", "sum += nm[i][k] * ml[k][j]", "sum", "nm[i][k] * ml[k][j]", "nm[i][k]", "nm[i]", "nm", "i", "k", "ml[k][j]", "ml[k]", "ml", "k", "j", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "if (j != l- 1)\n \t\t\tSystem.out.print(\" \");", "j != l- 1", "j", "l- 1", "l", "1", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws Exception{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString[] nml= br.readLine().split(\" \");\n int n = Integer.parseInt(nml[0]);\n int m = Integer.parseInt(nml[1]);\n int l = Integer.parseInt(nml[2]);\n int[][] nm = new int[n][m];\n int[][] ml = new int[m][l];\n \n for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }\n for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }\n \n \n for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args)throws Exception{\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n \n \tString[] nml= br.readLine().split(\" \");\n int n = Integer.parseInt(nml[0]);\n int m = Integer.parseInt(nml[1]);\n int l = Integer.parseInt(nml[2]);\n int[][] nm = new int[n][m];\n int[][] ml = new int[m][l];\n \n for (int i = 0; i < n; i++)\n {\n \tString[] nminput= br.readLine().split(\" \");\n \tfor (int j = 0; j < m; j++)\n \t{\n \t\tnm[i][j] = Integer.parseInt(nminput[j]);\n \t}\n }\n for (int i = 0; i < m; i++)\n {\n \tString[] mlinput= br.readLine().split(\" \");\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tml[i][j] = Integer.parseInt(mlinput[j]);\n \t}\n }\n \n \n for (int i = 0; i < n; i++)\n {\n \tfor (int j = 0; j < l; j++)\n \t{\n \t\tlong sum = 0;\n \t\tfor (int k = 0; k < m; k++)\n \t\t{\n \t\t\tsum += nm[i][k] * ml[k][j];\n \t\t}\n \t\tSystem.out.print(sum);\n \t\tif (j != l- 1)\n \t\t\tSystem.out.print(\" \");\n \t}\n \tSystem.out.println();\n }\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args)throws Exception{ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String[] nml= br.readLine().split(" "); int n = Integer.parseInt(nml[0]); int m = Integer.parseInt(nml[1]); int l = Integer.parseInt(nml[2]); int[][] nm = new int[n][m]; int[][] ml = new int[m][l]; for (int i = 0; i < n; i++) { String[] nminput= br.readLine().split(" "); for (int j = 0; j < m; j++) { nm[i][j] = Integer.parseInt(nminput[j]); } } for (int i = 0; i < m; i++) { String[] mlinput= br.readLine().split(" "); for (int j = 0; j < l; j++) { ml[i][j] = Integer.parseInt(mlinput[j]); } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { long sum = 0; for (int k = 0; k < m; k++) { sum += nm[i][k] * ml[k][j]; } System.out.print(sum); if (j != l- 1) System.out.print(" "); } 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, 17, 40, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 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, 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, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 287, 5 ], [ 287, 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 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 59 ], [ 59, 60 ], [ 59, 61 ], [ 8, 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 ], [ 76, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 84, 88 ], [ 88, 89 ], [ 76, 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 ], [ 104, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 112, 114 ], [ 8, 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 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 135, 139 ], [ 139, 140 ], [ 127, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 161, 162 ], [ 160, 163 ], [ 163, 164 ], [ 163, 165 ], [ 8, 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 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 179, 187 ], [ 187, 188 ], [ 188, 189 ], [ 179, 190 ], [ 191, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 192, 198 ], [ 8, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 199, 207 ], [ 207, 208 ], [ 208, 209 ], [ 199, 210 ], [ 211, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 217, 218 ], [ 217, 219 ], [ 212, 220 ], [ 220, 221 ], [ 221, 222 ], [ 212, 223 ], [ 224, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 230, 231 ], [ 230, 232 ], [ 225, 233 ], [ 233, 234 ], [ 234, 235 ], [ 225, 236 ], [ 237, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 238, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 244, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 224, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 255, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 260, 264 ], [ 224, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 268, 270 ], [ 265, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 272, 277 ], [ 265, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 281, 283 ], [ 6, 284 ], [ 284, 285 ], [ 0, 286 ], [ 286, 287 ], [ 286, 288 ] ]
[ "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 l = Integer.parseInt(sarray[2]);\n\t\tint matrixA[][] = new int[n][m];\n\t\tint matrixB[][] = new int[m][l];\n\t\tlong matrixC[][] = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\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 l = Integer.parseInt(sarray[2]);\n\t\tint matrixA[][] = new int[n][m];\n\t\tint matrixB[][] = new int[m][l];\n\t\tlong matrixC[][] = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\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 l = Integer.parseInt(sarray[2]);\n\t\tint matrixA[][] = new int[n][m];\n\t\tint matrixB[][] = new int[m][l];\n\t\tlong matrixC[][] = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\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 l = Integer.parseInt(sarray[2]);\n\t\tint matrixA[][] = new int[n][m];\n\t\tint matrixB[][] = new int[m][l];\n\t\tlong matrixC[][] = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\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 l = Integer.parseInt(sarray[2]);", "l", "Integer.parseInt(sarray[2])", "Integer.parseInt", "Integer", "sarray[2]", "sarray", "2", "int matrixA[][] = new int[n][m];", "matrixA", "new int[n][m]", "n", "m", "int matrixB[][] = new int[m][l];", "matrixB", "new int[m][l]", "m", "l", "long matrixC[][] = new long[n][l];", "matrixC", "new long[n][l]", "n", "l", "for(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[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", "{//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}", "{//??????A???????????????\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\tmatrixA[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\tmatrixA[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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "{\n\t\t\t\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "matrixA[i][j] = Integer.parseInt(mat[j])", "matrixA[i][j]", "matrixA[i]", "matrixA", "i", "j", "Integer.parseInt(mat[j])", "Integer.parseInt", "Integer", "mat[j]", "mat", "j", "for(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}", "{//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[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 < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "{\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}", "matrixB[i][j] = Integer.parseInt(mat[j])", "matrixB[i][j]", "matrixB[i]", "matrixB", "i", "j", "Integer.parseInt(mat[j])", "Integer.parseInt", "Integer", "mat[j]", "mat", "j", "for(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}", "{//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}", "{\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}", "matrixC[i][j] = 0", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "0", "for(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\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", "{//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}", "for(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}", "matrixC[i][j] += matrixA[i][k]*matrixB[k][j]", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "matrixA[i][k]*matrixB[k][j]", "matrixA[i][k]", "matrixA[i]", "matrixA", "i", "k", "matrixB[k][j]", "matrixB[k]", "matrixB", "k", "j", "System.out.print(matrixC[i][j])", "System.out.print", "System.out", "System", "System.out", "matrixC[i][j]", "matrixC[i]", "matrixC", "i", "j", "if(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}", "j != l - 1", "j", "l - 1", "l", "1", "{\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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 l = Integer.parseInt(sarray[2]);\n\t\tint matrixA[][] = new int[n][m];\n\t\tint matrixB[][] = new int[m][l];\n\t\tlong matrixC[][] = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\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 l = Integer.parseInt(sarray[2]);\n\t\tint matrixA[][] = new int[n][m];\n\t\tint matrixB[][] = new int[m][l];\n\t\tlong matrixC[][] = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){//??????A???????????????\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\tmatrixA[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < m; i++){//??????B???????????????\n\t\t\tString str = reader.readLine();\n\t\t\tString[] mat = str.split(\" \", -1);\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixB[i][j] = Integer.parseInt(mat[j]);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????C????????????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tmatrixC[i][j] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < n; i++){//??????A,??????B??????\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\tmatrixC[i][j] += matrixA[i][k]*matrixB[k][j];\n\t\t\t\t}\n\t\t\t\tSystem.out.print(matrixC[i][j]);\n\t\t\t\tif(j != l - 1){\n\t\t\t\t\tSystem.out.print(\" \");\n\t\t\t\t}else{\n\t\t\t\t\tSystem.out.println();\n\t\t\t\t}\n\t\t\t}\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 l = Integer.parseInt(sarray[2]); int matrixA[][] = new int[n][m]; int matrixB[][] = new int[m][l]; long matrixC[][] = new long[n][l]; for(int i = 0; i < n; i++){//??????A??????????????? String str = reader.readLine(); String[] mat = str.split(" ", -1); for(int j = 0; j < m; j++){ matrixA[i][j] = Integer.parseInt(mat[j]); } } for(int i = 0; i < m; i++){//??????B??????????????? String str = reader.readLine(); String[] mat = str.split(" ", -1); for(int j = 0; j < l; j++){ matrixB[i][j] = Integer.parseInt(mat[j]); } } for(int i = 0; i < n; i++){//??????C???????????? for(int j = 0; j < l; j++){ matrixC[i][j] = 0; } } for(int i = 0; i < n; i++){//??????A,??????B?????? for(int j = 0; j < l; j++){ for(int k = 0; k < m; k++){ matrixC[i][j] += matrixA[i][k]*matrixB[k][j]; } System.out.print(matrixC[i][j]); if(j != l - 1){ System.out.print(" "); }else{ 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 190, 5 ], [ 190, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 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 ], [ 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 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 132, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 132, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 171, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 119, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 6, 187 ], [ 187, 188 ], [ 0, 189 ], [ 189, 190 ], [ 189, 191 ] ]
[ "import java.util.Scanner;\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 int l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\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 for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\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 int l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\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 for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\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 l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\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 for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\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 for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "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", "for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }", "{\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }", "for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n b[i][j] = sc.nextInt();\n }", "{\n b[i][j] = sc.nextInt();\n }", "b[i][j] = sc.nextInt()", "b[i][j]", "b[i]", "b", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\n }", "{\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\n }", "for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }", "int k = 0;", "int k = 0;", "k", "0", "k < l", "k", "l", "k++", "k++", "k", "{\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }", "{\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }", "long ans = 0;", "ans", "0", "for(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n ans += (a[i][j]*b[j][k]);\n }", "{\n ans += (a[i][j]*b[j][k]);\n }", "ans += (a[i][j]*b[j][k])", "ans", "(a[i][j]*b[j][k])", "a[i][j]", "a[i]", "a", "i", "j", "b[j][k]", "b[j]", "b", "j", "k", "System.out.print(ans)", "System.out.print", "System.out", "System", "System.out", "ans", "if(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}", "k < l-1", "k", "l-1", "l", "1", "{\n \t\tSystem.out.print(\" \");\n \t}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\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 for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\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 int l = sc.nextInt();\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\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 for(int i = 0; i < m; i++){\n for(int j = 0; j < l; j++){\n b[i][j] = sc.nextInt();\n }\n }\n for(int i = 0; i < n; i++){\n for(int k = 0; k < l; k++){\n \tlong ans = 0;\n \tfor(int j = 0; j < m; j++){\n ans += (a[i][j]*b[j][k]);\n }\n \tSystem.out.print(ans);\n \t\n \tif(k < l-1) {\n \t\tSystem.out.print(\" \");\n \t}\n }\n System.out.println(\"\");\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 l = sc.nextInt(); int[][] a = new int[n][m]; int[][] b = new int[m][l]; 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++){ for(int j = 0; j < l; j++){ b[i][j] = sc.nextInt(); } } for(int i = 0; i < n; i++){ for(int k = 0; k < l; k++){ long ans = 0; for(int j = 0; j < m; j++){ ans += (a[i][j]*b[j][k]); } System.out.print(ans); if(k < l-1) { System.out.print(" "); } } System.out.println(""); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 0, 18, 18, 13, 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, 18, 13, 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, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 4, 13, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 13, 30, 0, 13, 20, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 14, 4, 13, 30, 29, 4, 18, 13, 30, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 4, 13, 30, 29, 4, 18, 13, 4, 18, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 14, 4, 13, 30, 29, 4, 18, 13, 4, 18, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 14, 4, 13, 30, 29, 4, 18, 13, 4, 18, 13, 30, 4, 13, 29, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 320, 8 ], [ 320, 9 ], [ 9, 10 ], [ 9, 11 ], [ 320, 12 ], [ 12, 13 ], [ 12, 14 ], [ 320, 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 ], [ 33, 34 ], [ 34, 35 ], [ 17, 36 ], [ 36, 37 ], [ 36, 38 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 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 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 17, 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 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 111, 112 ], [ 112, 113 ], [ 17, 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 ], [ 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 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 139, 150 ], [ 150, 151 ], [ 150, 152 ], [ 139, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 153, 161 ], [ 161, 162 ], [ 162, 163 ], [ 153, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 139, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 126, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 15, 189 ], [ 189, 190 ], [ 0, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 191, 195 ], [ 195, 196 ], [ 191, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 197, 205 ], [ 205, 206 ], [ 191, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 215, 216 ], [ 216, 217 ], [ 210, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 191, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 191, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 232, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 232, 240 ], [ 240, 241 ], [ 241, 242 ], [ 240, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 191, 247 ], [ 247, 248 ], [ 247, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 250, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 255, 258 ], [ 258, 259 ], [ 259, 260 ], [ 250, 261 ], [ 261, 262 ], [ 262, 263 ], [ 261, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 265, 268 ], [ 268, 269 ], [ 269, 270 ], [ 191, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 274, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 279, 282 ], [ 282, 283 ], [ 283, 284 ], [ 274, 285 ], [ 285, 286 ], [ 286, 287 ], [ 285, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 289, 292 ], [ 292, 293 ], [ 293, 294 ], [ 191, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 298, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 303, 306 ], [ 306, 307 ], [ 307, 308 ], [ 298, 309 ], [ 309, 310 ], [ 310, 311 ], [ 309, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 313, 316 ], [ 316, 317 ], [ 317, 318 ], [ 0, 319 ], [ 319, 320 ], [ 319, 321 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main{\n\tfinal static int MOD = 1000000007;\n\tfinal static int INF = 1000000000;\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tNScanner sc = new NScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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}\n\t\tfor(int i = 0; i < m; ++i){\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}\n\nclass NScanner{\n\n\tprivate BufferedReader br;\n\tprivate StringTokenizer tok;\n\n\tpublic NScanner(InputStream is) throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(is));\n\t\tgetLine();\n\t}\n\n\tprivate void getLine() throws IOException{\n\t\twhile(tok == null || !hasNext()){\n\t\t\ttok = new StringTokenizer(br.readLine());\n\t\t}\n\t}\n\n\tprivate boolean hasNext(){\n\t\treturn tok.hasMoreTokens();\n\t}\n\n\tpublic String next() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn tok.nextToken();\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn tok.nextToken();\n\t\t}\n\t}\n\n\tpublic int nextInt() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}\n\t}\n\n\tpublic long nextLong() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}\n\t}\n\n\tpublic double nextDouble() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n\tfinal static int MOD = 1000000007;\n\tfinal static int INF = 1000000000;\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tNScanner sc = new NScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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}\n\t\tfor(int i = 0; i < m; ++i){\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}", "Main", "final static int MOD = 1000000007;", "MOD", "1000000007", "final static int INF = 1000000000;", "INF", "1000000000", "public static void main(String[] args) throws IOException{\n\t\tNScanner sc = new NScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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}\n\t\tfor(int i = 0; i < m; ++i){\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "main", "{\n\t\tNScanner sc = new NScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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}\n\t\tfor(int i = 0; i < m; ++i){\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}", "NScanner sc = new NScanner(System.in);", "sc", "new NScanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "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}", "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}", "{\n\t\t\tfor(int j = 0; j < m; ++j)\n\t\t\t\tA[i][j] = sc.nextInt();\n\t\t}", "for(int j = 0; j < m; ++j)\n\t\t\t\tA[i][j] = sc.nextInt();", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "++j", "++j", "j", "A[i][j] = sc.nextInt();", "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\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\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 < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}", "for(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "++j", "++j", "j", "B[i][j] = sc.nextInt();", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\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 < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "++j", "++j", "j", "{\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}", "{\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}", "if(j != 0) System.out.print(\" \");", "j != 0", "j", "0", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "long c = 0;", "c", "0", "for(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "++k", "++k", "k", "c += A[i][k] * B[k][j];", "c += A[i][k] * B[k][j]", "c", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "System.out.print(c)", "System.out.print", "System.out", "System", "System.out", "c", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "class NScanner{\n\n\tprivate BufferedReader br;\n\tprivate StringTokenizer tok;\n\n\tpublic NScanner(InputStream is) throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(is));\n\t\tgetLine();\n\t}\n\n\tprivate void getLine() throws IOException{\n\t\twhile(tok == null || !hasNext()){\n\t\t\ttok = new StringTokenizer(br.readLine());\n\t\t}\n\t}\n\n\tprivate boolean hasNext(){\n\t\treturn tok.hasMoreTokens();\n\t}\n\n\tpublic String next() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn tok.nextToken();\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn tok.nextToken();\n\t\t}\n\t}\n\n\tpublic int nextInt() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}\n\t}\n\n\tpublic long nextLong() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}\n\t}\n\n\tpublic double nextDouble() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}\n\t}\n}", "NScanner", "private BufferedReader br;", "br", "private StringTokenizer tok;", "tok", "public NScanner(InputStream is) throws IOException{\n\t\tbr = new BufferedReader(new InputStreamReader(is));\n\t\tgetLine();\n\t}", "NScanner", "{\n\t\tbr = new BufferedReader(new InputStreamReader(is));\n\t\tgetLine();\n\t}", "br = new BufferedReader(new InputStreamReader(is))", "br", "new BufferedReader(new InputStreamReader(is))", "getLine()", "getLine", "InputStream is", "is", "private void getLine() throws IOException{\n\t\twhile(tok == null || !hasNext()){\n\t\t\ttok = new StringTokenizer(br.readLine());\n\t\t}\n\t}", "getLine", "{\n\t\twhile(tok == null || !hasNext()){\n\t\t\ttok = new StringTokenizer(br.readLine());\n\t\t}\n\t}", "while(tok == null || !hasNext()){\n\t\t\ttok = new StringTokenizer(br.readLine());\n\t\t}", "tok == null || !hasNext()", "tok == null", "tok", "null", "!hasNext()", "hasNext()", "hasNext", "{\n\t\t\ttok = new StringTokenizer(br.readLine());\n\t\t}", "tok = new StringTokenizer(br.readLine())", "tok", "new StringTokenizer(br.readLine())", "private boolean hasNext(){\n\t\treturn tok.hasMoreTokens();\n\t}", "hasNext", "{\n\t\treturn tok.hasMoreTokens();\n\t}", "return tok.hasMoreTokens();", "tok.hasMoreTokens()", "tok.hasMoreTokens", "tok", "public String next() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn tok.nextToken();\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn tok.nextToken();\n\t\t}\n\t}", "next", "{\n\t\tif(hasNext()){\n\t\t\treturn tok.nextToken();\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn tok.nextToken();\n\t\t}\n\t}", "if(hasNext()){\n\t\t\treturn tok.nextToken();\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn tok.nextToken();\n\t\t}", "hasNext()", "hasNext", "{\n\t\t\treturn tok.nextToken();\n\t\t}", "return tok.nextToken();", "tok.nextToken()", "tok.nextToken", "tok", "{\n\t\t\tgetLine();\n\t\t\treturn tok.nextToken();\n\t\t}", "getLine()", "getLine", "return tok.nextToken();", "tok.nextToken()", "tok.nextToken", "tok", "public int nextInt() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}\n\t}", "nextInt", "{\n\t\tif(hasNext()){\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}\n\t}", "if(hasNext()){\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}", "hasNext()", "hasNext", "{\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}", "return Integer.parseInt(tok.nextToken());", "Integer.parseInt(tok.nextToken())", "Integer.parseInt", "Integer", "tok.nextToken()", "tok.nextToken", "tok", "{\n\t\t\tgetLine();\n\t\t\treturn Integer.parseInt(tok.nextToken());\n\t\t}", "getLine()", "getLine", "return Integer.parseInt(tok.nextToken());", "Integer.parseInt(tok.nextToken())", "Integer.parseInt", "Integer", "tok.nextToken()", "tok.nextToken", "tok", "public long nextLong() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}\n\t}", "nextLong", "{\n\t\tif(hasNext()){\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}\n\t}", "if(hasNext()){\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}", "hasNext()", "hasNext", "{\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}", "return Long.parseLong(tok.nextToken());", "Long.parseLong(tok.nextToken())", "Long.parseLong", "Long", "tok.nextToken()", "tok.nextToken", "tok", "{\n\t\t\tgetLine();\n\t\t\treturn Long.parseLong(tok.nextToken());\n\t\t}", "getLine()", "getLine", "return Long.parseLong(tok.nextToken());", "Long.parseLong(tok.nextToken())", "Long.parseLong", "Long", "tok.nextToken()", "tok.nextToken", "tok", "public double nextDouble() throws IOException{\n\t\tif(hasNext()){\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}\n\t}", "nextDouble", "{\n\t\tif(hasNext()){\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}\n\t}", "if(hasNext()){\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}else{\n\t\t\tgetLine();\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}", "hasNext()", "hasNext", "{\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}", "return Double.parseDouble(tok.nextToken());", "Double.parseDouble(tok.nextToken())", "Double.parseDouble", "Double", "tok.nextToken()", "tok.nextToken", "tok", "{\n\t\t\tgetLine();\n\t\t\treturn Double.parseDouble(tok.nextToken());\n\t\t}", "getLine()", "getLine", "return Double.parseDouble(tok.nextToken());", "Double.parseDouble(tok.nextToken())", "Double.parseDouble", "Double", "tok.nextToken()", "tok.nextToken", "tok", "public class Main{\n\tfinal static int MOD = 1000000007;\n\tfinal static int INF = 1000000000;\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tNScanner sc = new NScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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}\n\t\tfor(int i = 0; i < m; ++i){\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}", "public class Main{\n\tfinal static int MOD = 1000000007;\n\tfinal static int INF = 1000000000;\n\n\tpublic static void main(String[] args) throws IOException{\n\t\tNScanner sc = new NScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tint[][] A = new int[n][m];\n\t\tint[][] B = new int[m][l];\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}\n\t\tfor(int i = 0; i < m; ++i){\n\t\t\tfor(int j = 0; j < l; ++j)\n\t\t\t\tB[i][j] = sc.nextInt();\n\t\t}\n\t\tfor(int i = 0; i < n; ++i){\n\t\t\tfor(int j = 0; j < l; ++j){\n\t\t\t\tif(j != 0) System.out.print(\" \");\n\t\t\t\tlong c = 0;\n\t\t\t\tfor(int k = 0; k < m; ++k)\n\t\t\t\t\tc += A[i][k] * B[k][j];\n\t\t\t\tSystem.out.print(c);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ final static int MOD = 1000000007; final static int INF = 1000000000; public static void main(String[] args) throws IOException{ NScanner sc = new NScanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; 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){ for(int j = 0; j < l; ++j) B[i][j] = sc.nextInt(); } for(int i = 0; i < n; ++i){ for(int j = 0; j < l; ++j){ if(j != 0) System.out.print(" "); long c = 0; for(int k = 0; k < m; ++k) c += A[i][k] * B[k][j]; System.out.print(c); } System.out.println(); } } } class NScanner{ private BufferedReader br; private StringTokenizer tok; public NScanner(InputStream is) throws IOException{ br = new BufferedReader(new InputStreamReader(is)); getLine(); } private void getLine() throws IOException{ while(tok == null || !hasNext()){ tok = new StringTokenizer(br.readLine()); } } private boolean hasNext(){ return tok.hasMoreTokens(); } public String next() throws IOException{ if(hasNext()){ return tok.nextToken(); }else{ getLine(); return tok.nextToken(); } } public int nextInt() throws IOException{ if(hasNext()){ return Integer.parseInt(tok.nextToken()); }else{ getLine(); return Integer.parseInt(tok.nextToken()); } } public long nextLong() throws IOException{ if(hasNext()){ return Long.parseLong(tok.nextToken()); }else{ getLine(); return Long.parseLong(tok.nextToken()); } } public double nextDouble() throws IOException{ if(hasNext()){ return Double.parseDouble(tok.nextToken()); }else{ getLine(); return Double.parseDouble(tok.nextToken()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 236, 5 ], [ 236, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 112 ], [ 112, 113 ], [ 8, 114 ], [ 114, 115 ], [ 8, 116 ], [ 116, 117 ], [ 8, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 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 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 8, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 187, 198 ], [ 199, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 203, 205 ], [ 200, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 200, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 223, 229 ], [ 8, 230 ], [ 230, 231 ], [ 231, 232 ], [ 6, 233 ], [ 233, 234 ], [ 0, 235 ], [ 235, 236 ], [ 235, 237 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\???\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\n\t\t// ??\\??????????????°???????????\\??????????¬???????????????????????????°????????\\??????\n\t\tint[][] table = new int[num1][num2];\n\t\tint[][] grid = new int[num2][num3];\n\n\t\tfor (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// 2??????????¬????????????????????¨????\n\t\tlong [][] sum = new long[num1][num3];\n\t\tint cnt0;\n\t\tint cnt1;\n\t\tint cnt2;\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\???\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\n\t\t// ??\\??????????????°???????????\\??????????¬???????????????????????????°????????\\??????\n\t\tint[][] table = new int[num1][num2];\n\t\tint[][] grid = new int[num2][num3];\n\n\t\tfor (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// 2??????????¬????????????????????¨????\n\t\tlong [][] sum = new long[num1][num3];\n\t\tint cnt0;\n\t\tint cnt1;\n\t\tint cnt2;\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\t// ?????????????????\\???\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\n\t\t// ??\\??????????????°???????????\\??????????¬???????????????????????????°????????\\??????\n\t\tint[][] table = new int[num1][num2];\n\t\tint[][] grid = new int[num2][num3];\n\n\t\tfor (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// 2??????????¬????????????????????¨????\n\t\tlong [][] sum = new long[num1][num3];\n\t\tint cnt0;\n\t\tint cnt1;\n\t\tint cnt2;\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}", "main", "{\n\n\t\t// ?????????????????\\???\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\n\t\t// ??\\??????????????°???????????\\??????????¬???????????????????????????°????????\\??????\n\t\tint[][] table = new int[num1][num2];\n\t\tint[][] grid = new int[num2][num3];\n\n\t\tfor (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// 2??????????¬????????????????????¨????\n\t\tlong [][] sum = new long[num1][num3];\n\t\tint cnt0;\n\t\tint cnt1;\n\t\tint cnt2;\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num1 = sc.nextInt();", "num1", "sc.nextInt()", "sc.nextInt", "sc", "int num2 = sc.nextInt();", "num2", "sc.nextInt()", "sc.nextInt", "sc", "int num3 = sc.nextInt();", "num3", "sc.nextInt()", "sc.nextInt", "sc", "int[][] table = new int[num1][num2];", "table", "new int[num1][num2]", "num1", "num2", "int[][] grid = new int[num2][num3];", "grid", "new int[num2][num3]", "num2", "num3", "for (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}", "int cnt1 = 0;", "int cnt1 = 0;", "cnt1", "0", "cnt1 < num1", "cnt1", "num1", "cnt1++", "cnt1++", "cnt1", "{\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}", "int cnt2 = 0;", "int cnt2 = 0;", "cnt2", "0", "cnt2 < num2", "cnt2", "num2", "cnt2++", "cnt2++", "cnt2", "{\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}", "{\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}", "table[cnt1][cnt2] = sc.nextInt()", "table[cnt1][cnt2]", "table[cnt1]", "table", "cnt1", "cnt2", "sc.nextInt()", "sc.nextInt", "sc", "for (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}", "int cnt1 = 0;", "int cnt1 = 0;", "cnt1", "0", "cnt1 < num2", "cnt1", "num2", "cnt1++", "cnt1++", "cnt1", "{\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}", "for (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}", "int cnt2 = 0;", "int cnt2 = 0;", "cnt2", "0", "cnt2 < num3", "cnt2", "num3", "cnt2++", "cnt2++", "cnt2", "{\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}", "{\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}", "grid[cnt1][cnt2] = sc.nextInt()", "grid[cnt1][cnt2]", "grid[cnt1]", "grid", "cnt1", "cnt2", "sc.nextInt()", "sc.nextInt", "sc", "long [][] sum = new long[num1][num3];", "sum", "new long[num1][num3]", "num1", "num3", "int cnt0;", "cnt0", "int cnt1;", "cnt1", "int cnt2;", "cnt2", "for (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "cnt0 = 0;", "cnt0 = 0", "cnt0", "0", "cnt0 < num1", "cnt0", "num1", "cnt0++", "cnt0++", "cnt0", "{\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}", "for (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}", "cnt1 = 0;", "cnt1 = 0", "cnt1", "0", "cnt1 < num3", "cnt1", "num3", "cnt1++", "cnt1++", "cnt1", "{\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}", "{\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}", "for (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}", "cnt2 = 0;", "cnt2 = 0", "cnt2", "0", "cnt2 < num2", "cnt2", "num2", "cnt2++", "cnt2++", "cnt2", "{\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}", "{\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}", "sum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1]", "sum[cnt0][cnt1]", "sum[cnt0]", "sum", "cnt0", "cnt1", "table[cnt0][cnt2] * grid[cnt2][cnt1]", "table[cnt0][cnt2]", "table[cnt0]", "table", "cnt0", "cnt2", "grid[cnt2][cnt1]", "grid[cnt2]", "grid", "cnt2", "cnt1", "for (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "cnt0 = 0;", "cnt0 = 0", "cnt0", "0", "cnt0 < num1", "cnt0", "num1", "cnt0++", "cnt0++", "cnt0", "{\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}", "cnt1 = 0;", "cnt1 = 0", "cnt1", "0", "cnt1 < num3", "cnt1", "num3", "cnt1++", "cnt1++", "cnt1", "{\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}", "{\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}", "if (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}", "cnt1 >= num3-1", "cnt1", "num3-1", "num3", "1", "{\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t}", "System.out.println(sum[cnt0][cnt1])", "System.out.println", "System.out", "System", "System.out", "sum[cnt0][cnt1]", "sum[cnt0]", "sum", "cnt0", "cnt1", "{\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}", "System.out.print(sum[cnt0][cnt1] + \" \")", "System.out.print", "System.out", "System", "System.out", "sum[cnt0][cnt1] + \" \"", "sum[cnt0][cnt1]", "sum[cnt0]", "sum", "cnt0", "cnt1", "\" \"", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\???\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\n\t\t// ??\\??????????????°???????????\\??????????¬???????????????????????????°????????\\??????\n\t\tint[][] table = new int[num1][num2];\n\t\tint[][] grid = new int[num2][num3];\n\n\t\tfor (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// 2??????????¬????????????????????¨????\n\t\tlong [][] sum = new long[num1][num3];\n\t\tint cnt0;\n\t\tint cnt1;\n\t\tint cnt2;\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\t// ?????????????????\\???\n\t\tScanner sc = new Scanner(System.in);\n\t\tint num1 = sc.nextInt();\n\t\tint num2 = sc.nextInt();\n\t\tint num3 = sc.nextInt();\n\n\t\t// ??\\??????????????°???????????\\??????????¬???????????????????????????°????????\\??????\n\t\tint[][] table = new int[num1][num2];\n\t\tint[][] grid = new int[num2][num3];\n\n\t\tfor (int cnt1 = 0; cnt1 < num1; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\ttable[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor (int cnt1 = 0; cnt1 < num2; cnt1++) {\n\n\t\t\tfor (int cnt2 = 0; cnt2 < num3; cnt2++) {\n\n\t\t\t\tgrid[cnt1][cnt2] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// 2??????????¬????????????????????¨????\n\t\tlong [][] sum = new long[num1][num3];\n\t\tint cnt0;\n\t\tint cnt1;\n\t\tint cnt2;\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tfor (cnt2 = 0; cnt2 < num2; cnt2++) {\n\n\t\t\t\t\tsum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];\n\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor (cnt0 = 0; cnt0 < num1; cnt0++) {\n\n\t\t\tfor (cnt1 = 0; cnt1 < num3; cnt1++) {\n\n\t\t\t\tif (cnt1 >= num3-1) {\n\n\t\t\t\t\tSystem.out.println(sum[cnt0][cnt1]);\n\n\t\t\t\t} else {\n\n\t\t\t\t\tSystem.out.print(sum[cnt0][cnt1] + \" \");\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tsc.close();\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 num1 = sc.nextInt(); int num2 = sc.nextInt(); int num3 = sc.nextInt(); // ??\??????????????°???????????\??????????¬???????????????????????????°????????\?????? int[][] table = new int[num1][num2]; int[][] grid = new int[num2][num3]; for (int cnt1 = 0; cnt1 < num1; cnt1++) { for (int cnt2 = 0; cnt2 < num2; cnt2++) { table[cnt1][cnt2] = sc.nextInt(); } } for (int cnt1 = 0; cnt1 < num2; cnt1++) { for (int cnt2 = 0; cnt2 < num3; cnt2++) { grid[cnt1][cnt2] = sc.nextInt(); } } // 2??????????¬????????????????????¨???? long [][] sum = new long[num1][num3]; int cnt0; int cnt1; int cnt2; for (cnt0 = 0; cnt0 < num1; cnt0++) { for (cnt1 = 0; cnt1 < num3; cnt1++) { for (cnt2 = 0; cnt2 < num2; cnt2++) { sum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1]; } } } for (cnt0 = 0; cnt0 < num1; cnt0++) { for (cnt1 = 0; cnt1 < num3; cnt1++) { if (cnt1 >= num3-1) { System.out.println(sum[cnt0][cnt1]); } else { System.out.print(sum[cnt0][cnt1] + " "); } } } sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 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, 18, 13, 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, 18, 13, 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, 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, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 251, 8 ], [ 251, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 40 ], [ 40, 41 ], [ 40, 42 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 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 ], [ 11, 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 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 132, 133 ], [ 133, 134 ], [ 11, 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 ], [ 148, 156 ], [ 156, 157 ], [ 157, 158 ], [ 148, 159 ], [ 160, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 166, 167 ], [ 166, 168 ], [ 161, 169 ], [ 169, 170 ], [ 170, 171 ], [ 161, 172 ], [ 173, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 174, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 180, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 11, 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 ], [ 204, 212 ], [ 212, 213 ], [ 213, 214 ], [ 204, 215 ], [ 216, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 216, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 230, 232 ], [ 227, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 234, 239 ], [ 203, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 11, 245 ], [ 245, 246 ], [ 246, 247 ], [ 9, 248 ], [ 248, 249 ], [ 0, 250 ], [ 250, 251 ], [ 250, 252 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\n\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 l=scan.nextInt();\n\n\t\tint[][] matrix_nm=new int[n][m];\n\t\tint[][] matrix_ml=new int[m][l];\n\t\tlong[][] matrix_nl=new long[n][l];\n\n\t\tfor(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}\n\n\n\t\tscan.close();\n}\n\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint m=scan.nextInt();\n\t\tint l=scan.nextInt();\n\n\t\tint[][] matrix_nm=new int[n][m];\n\t\tint[][] matrix_ml=new int[m][l];\n\t\tlong[][] matrix_nl=new long[n][l];\n\n\t\tfor(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}\n\n\n\t\tscan.close();\n}\n\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 l=scan.nextInt();\n\n\t\tint[][] matrix_nm=new int[n][m];\n\t\tint[][] matrix_ml=new int[m][l];\n\t\tlong[][] matrix_nl=new long[n][l];\n\n\t\tfor(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}\n\n\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 l=scan.nextInt();\n\n\t\tint[][] matrix_nm=new int[n][m];\n\t\tint[][] matrix_ml=new int[m][l];\n\t\tlong[][] matrix_nl=new long[n][l];\n\n\t\tfor(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}\n\n\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 l=scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] matrix_nm=new int[n][m];", "matrix_nm", "new int[n][m]", "n", "m", "int[][] matrix_ml=new int[m][l];", "matrix_ml", "new int[m][l]", "m", "l", "long[][] matrix_nl=new long[n][l];", "matrix_nl", "new long[n][l]", "n", "l", "for(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????", "{\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}", "Arrays.fill(matrix_nl[i], 0)", "Arrays.fill", "Arrays", "matrix_nl[i]", "matrix_nl", "i", "0", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[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\tmatrix_nm[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\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[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\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}", "matrix_nm[i][j]=scan.nextInt()", "matrix_nm[i][j]", "matrix_nm[i]", "matrix_nm", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.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<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}", "matrix_ml[i][j]=scan.nextInt()", "matrix_ml[i][j]", "matrix_ml[i]", "matrix_ml", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\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<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}", "for(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}", "{\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}", "matrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j])", "matrix_nl[i][j]", "matrix_nl[i]", "matrix_nl", "i", "j", "(matrix_nm[i][k])*(matrix_ml[k][j])", "(matrix_nm[i][k])", "matrix_nm[i]", "matrix_nm", "i", "k", "(matrix_ml[k][j])", "matrix_ml[k]", "matrix_ml", "k", "j", "for(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\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<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}", "{\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}", "for(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}", "System.out.print(matrix_nl[i][j])", "System.out.print", "System.out", "System", "System.out", "matrix_nl[i][j]", "matrix_nl[i]", "matrix_nl", "i", "j", "if(j<l-1){System.out.print(\" \");}", "j<l-1", "j", "l-1", "l", "1", "{System.out.print(\" \");}", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "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 l=scan.nextInt();\n\n\t\tint[][] matrix_nm=new int[n][m];\n\t\tint[][] matrix_ml=new int[m][l];\n\t\tlong[][] matrix_nl=new long[n][l];\n\n\t\tfor(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}\n\n\n\t\tscan.close();\n}\n\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 l=scan.nextInt();\n\n\t\tint[][] matrix_nm=new int[n][m];\n\t\tint[][] matrix_ml=new int[m][l];\n\t\tlong[][] matrix_nl=new long[n][l];\n\n\t\tfor(int i=0;i<n;i++){\n\t\tArrays.fill(matrix_nl[i], 0);\n\t\t}//???????????????0??§?????????\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<m;j++){\n\t\t\t\tmatrix_nm[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<m;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tmatrix_ml[i][j]=scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tfor(int k=0;k<m;k++){\n\t\t\t\tmatrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\\??????????????°????????????\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<n;i++){\n\t\t\tfor(int j=0;j<l;j++){\n\t\t\t\tSystem.out.print(matrix_nl[i][j]);\n\t\t\t\tif(j<l-1){System.out.print(\" \");}\n\t\t\t}System.out.println();\n\t\t}\n\n\n\t\tscan.close();\n}\n\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int m=scan.nextInt(); int l=scan.nextInt(); int[][] matrix_nm=new int[n][m]; int[][] matrix_ml=new int[m][l]; long[][] matrix_nl=new long[n][l]; for(int i=0;i<n;i++){ Arrays.fill(matrix_nl[i], 0); }//???????????????0??§????????? for(int i=0;i<n;i++){ for(int j=0;j<m;j++){ matrix_nm[i][j]=scan.nextInt(); } } for(int i=0;i<m;i++){ for(int j=0;j<l;j++){ matrix_ml[i][j]=scan.nextInt(); } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ for(int k=0;k<m;k++){ matrix_nl[i][j]+=(matrix_nm[i][k])*(matrix_ml[k][j]);//??£??\??????????????°???????????? } } } for(int i=0;i<n;i++){ for(int j=0;j<l;j++){ System.out.print(matrix_nl[i][j]); if(j<l-1){System.out.print(" ");} }System.out.println(); } 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 227, 5 ], [ 227, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 181, 192 ], [ 193, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 197, 199 ], [ 194, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 201, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 194, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 213, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 6, 224 ], [ 224, 225 ], [ 0, 226 ], [ 226, 227 ], [ 226, 228 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n \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 for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }\n \n long[][] result = new long[n][l];\n \n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n \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 for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }\n \n long[][] result = new long[n][l];\n \n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n \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 for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }\n \n long[][] result = new long[n][l];\n \n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n \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 for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }\n \n long[][] result = new long[n][l];\n \n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "int[][] A = new int[n][m];", "A", "new int[n][m]", "n", "m", "int[][] B = new int[m][l];", "B", "new int[m][l]", "m", "l", "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", "for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }", "{\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }", "for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n B[i][j] = sc.nextInt(); \n }", "{\n B[i][j] = sc.nextInt(); \n }", "B[i][j] = sc.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "long[][] result = new long[n][l];", "result", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }", "for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }", "{\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }", "for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n result[i][j] += A[i][k] * B[k][j];\n }", "{\n result[i][j] += A[i][k] * B[k][j];\n }", "result[i][j] += A[i][k] * B[k][j]", "result[i][j]", "result[i]", "result", "i", "j", "A[i][k] * B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }", "{\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }", "for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }", "{\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }", "if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }", "j != l - 1", "j", "l - 1", "l", "1", "{\n System.out.printf(\"%d \", result[i][j]);\n }", "System.out.printf(\"%d \", result[i][j])", "System.out.printf", "System.out", "System", "System.out", "\"%d \"", "result[i][j]", "result[i]", "result", "i", "j", "{\n System.out.printf(\"%d\\n\", result[i][j]);\n }", "System.out.printf(\"%d\\n\", result[i][j])", "System.out.printf", "System.out", "System", "System.out", "\"%d\\n\"", "result[i][j]", "result[i]", "result", "i", "j", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n \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 for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }\n \n long[][] result = new long[n][l];\n \n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\n }\n }\n }\n}", "public class Main {\n\tpublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n int[][] A = new int[n][m];\n int[][] B = new int[m][l];\n \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 for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n B[i][j] = sc.nextInt(); \n }\n }\n \n long[][] result = new long[n][l];\n \n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n result[i][j] += A[i][k] * B[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n if (j != l - 1) {\n System.out.printf(\"%d \", result[i][j]);\n }\n else {\n System.out.printf(\"%d\\n\", result[i][j]);\n }\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 l = sc.nextInt(); int[][] A = new int[n][m]; int[][] B = new int[m][l]; 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++) { for (int j = 0; j < l; j++) { B[i][j] = sc.nextInt(); } } long[][] result = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { result[i][j] += A[i][k] * B[k][j]; } } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { if (j != l - 1) { System.out.printf("%d ", result[i][j]); } else { System.out.printf("%d\n", result[i][j]); } } } } }
[ 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, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 13, 1, 40, 13, 30, 30, 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, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 241, 8 ], [ 241, 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 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 52 ], [ 52, 53 ], [ 52, 54 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 74, 79 ], [ 71, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 80, 92 ], [ 92, 93 ], [ 93, 94 ], [ 80, 95 ], [ 96, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 11, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 109, 119 ], [ 119, 120 ], [ 120, 121 ], [ 109, 122 ], [ 123, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 126, 131 ], [ 123, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 132, 144 ], [ 144, 145 ], [ 145, 146 ], [ 132, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 149, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 158, 159 ], [ 158, 160 ], [ 11, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 166, 167 ], [ 166, 168 ], [ 161, 169 ], [ 169, 170 ], [ 170, 171 ], [ 161, 172 ], [ 173, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 186, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 205, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 186, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 219, 221 ], [ 216, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 223, 228 ], [ 216, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 230, 235 ], [ 235, 236 ], [ 235, 237 ], [ 9, 238 ], [ 238, 239 ], [ 0, 240 ], [ 240, 241 ], [ 240, 242 ] ]
[ "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 n = Integer.parseInt(ar[0]);\n int m = Integer.parseInt(ar[1]);\n int l = Integer.parseInt(ar[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\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 n = Integer.parseInt(ar[0]);\n int m = Integer.parseInt(ar[1]);\n int l = Integer.parseInt(ar[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\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 n = Integer.parseInt(ar[0]);\n int m = Integer.parseInt(ar[1]);\n int l = Integer.parseInt(ar[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n String[] ar = br.readLine().split(\" \");\n int n = Integer.parseInt(ar[0]);\n int m = Integer.parseInt(ar[1]);\n int l = Integer.parseInt(ar[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\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 n = Integer.parseInt(ar[0]);", "n", "Integer.parseInt(ar[0])", "Integer.parseInt", "Integer", "ar[0]", "ar", "0", "int m = Integer.parseInt(ar[1]);", "m", "Integer.parseInt(ar[1])", "Integer.parseInt", "Integer", "ar[1]", "ar", "1", "int l = Integer.parseInt(ar[2]);", "l", "Integer.parseInt(ar[2])", "Integer.parseInt", "Integer", "ar[2]", "ar", "2", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\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 j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }", "{\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }", "ar = br.readLine().split(\" \")", "ar", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }", "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 a[i][j] = Integer.parseInt(ar[j]);\n }", "{\n a[i][j] = Integer.parseInt(ar[j]);\n }", "a[i][j] = Integer.parseInt(ar[j])", "a[i][j]", "a[i]", "a", "i", "j", "Integer.parseInt(ar[j])", "Integer.parseInt", "Integer", "ar[j]", "ar", "j", "for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < b.length", "i", "b.length", "b", "b.length", "i++", "i++", "i", "{\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }", "{\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }", "ar = br.readLine().split(\" \")", "ar", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }", "int j = 0;", "int j = 0;", "j", "0", "j <b[i].length", "j", "b[i].length", "b[i]", "b", "i", "b[i].length", "j++", "j++", "j", "{\n b[i][j] = Integer.parseInt(ar[j]);\n }", "{\n b[i][j] = Integer.parseInt(ar[j]);\n }", "b[i][j] = Integer.parseInt(ar[j])", "b[i][j]", "b[i]", "b", "i", "j", "Integer.parseInt(ar[j])", "Integer.parseInt", "Integer", "ar[j]", "ar", "j", "for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\n }", "{\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\n }", "for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }", "{\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }", "long ans = 0;", "ans", "0", "for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n ans += a[i][k] * b[k][j];\n }", "{\n ans += a[i][k] * b[k][j];\n }", "ans += a[i][k] * b[k][j]", "ans", "a[i][k] * b[k][j]", "a[i][k]", "a[i]", "a", "i", "k", "b[k][j]", "b[k]", "b", "k", "j", "if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }", "j == l-1", "j", "l-1", "l", "1", "{\n System.out.println(ans);\n }", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "{\n System.out.print(ans+\" \");\n }", "System.out.print(ans+\" \")", "System.out.print", "System.out", "System", "System.out", "ans+\" \"", "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 n = Integer.parseInt(ar[0]);\n int m = Integer.parseInt(ar[1]);\n int l = Integer.parseInt(ar[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\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 n = Integer.parseInt(ar[0]);\n int m = Integer.parseInt(ar[1]);\n int l = Integer.parseInt(ar[2]);\n int[][] a = new int[n][m];\n int[][] b = new int[m][l];\n for(int i = 0; i < a.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <a[i].length; j++){\n a[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < b.length; i++){\n ar = br.readLine().split(\" \");\n for(int j = 0; j <b[i].length; j++){\n b[i][j] = Integer.parseInt(ar[j]);\n }\n }\n for(int i = 0; i < n; i++){\n for(int j = 0; j < l; j++){\n long ans = 0;\n for(int k = 0; k < m; k++){\n ans += a[i][k] * b[k][j];\n }\n if(j == l-1){\n System.out.println(ans);\n }else{\n System.out.print(ans+\" \");\n }\n }\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 n = Integer.parseInt(ar[0]); int m = Integer.parseInt(ar[1]); int l = Integer.parseInt(ar[2]); int[][] a = new int[n][m]; int[][] b = new int[m][l]; for(int i = 0; i < a.length; i++){ ar = br.readLine().split(" "); for(int j = 0; j <a[i].length; j++){ a[i][j] = Integer.parseInt(ar[j]); } } for(int i = 0; i < b.length; i++){ ar = br.readLine().split(" "); for(int j = 0; j <b[i].length; j++){ b[i][j] = Integer.parseInt(ar[j]); } } for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ long ans = 0; for(int k = 0; k < m; k++){ ans += a[i][k] * b[k][j]; } if(j == l-1){ System.out.println(ans); }else{ System.out.print(ans+" "); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 41, 13, 20, 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, 18, 13, 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, 18, 13, 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, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 234, 5 ], [ 234, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 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 ], [ 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 ], [ 116, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 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 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 159, 160 ], [ 150, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 8, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 179, 187 ], [ 187, 188 ], [ 188, 189 ], [ 179, 190 ], [ 191, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 199, 201 ], [ 192, 202 ], [ 202, 203 ], [ 203, 204 ], [ 192, 205 ], [ 206, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 212, 218 ], [ 191, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 228, 229 ], [ 228, 230 ], [ 6, 231 ], [ 231, 232 ], [ 0, 233 ], [ 233, 234 ], [ 233, 235 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int num,mid,last,i,j,k;\n num=scan.nextInt();\n mid=scan.nextInt();\n last=scan.nextInt();\n long A[][]=new long[num][mid];\n long B[][]=new long[mid][last];\n long C[][]=new long[num][last];\n for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n } \n for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }\n \n for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n } \n for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n } \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 int num,mid,last,i,j,k;\n num=scan.nextInt();\n mid=scan.nextInt();\n last=scan.nextInt();\n long A[][]=new long[num][mid];\n long B[][]=new long[mid][last];\n long C[][]=new long[num][last];\n for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n } \n for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }\n \n for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n } \n for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n } \n }\n}", "Main", "public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int num,mid,last,i,j,k;\n num=scan.nextInt();\n mid=scan.nextInt();\n last=scan.nextInt();\n long A[][]=new long[num][mid];\n long B[][]=new long[mid][last];\n long C[][]=new long[num][last];\n for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n } \n for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }\n \n for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n } \n for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n } \n }", "main", "{\n Scanner scan=new Scanner(System.in);\n int num,mid,last,i,j,k;\n num=scan.nextInt();\n mid=scan.nextInt();\n last=scan.nextInt();\n long A[][]=new long[num][mid];\n long B[][]=new long[mid][last];\n long C[][]=new long[num][last];\n for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n } \n for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }\n \n for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n } \n for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n } \n }", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int num", "num", "mid", "mid", "last", "last", "i", "i", "j", "j", "k;", "k", "num=scan.nextInt()", "num", "scan.nextInt()", "scan.nextInt", "scan", "mid=scan.nextInt()", "mid", "scan.nextInt()", "scan.nextInt", "scan", "last=scan.nextInt()", "last", "scan.nextInt()", "scan.nextInt", "scan", "long A[][]=new long[num][mid];", "A", "new long[num][mid]", "num", "mid", "long B[][]=new long[mid][last];", "B", "new long[mid][last]", "mid", "last", "long C[][]=new long[num][last];", "C", "new long[num][last]", "num", "last", "for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n }", "i=0;", "i=0", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{ \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n }", "{ \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n }", "for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n }", "j=0;", "j=0", "j", "0", "j<mid", "j", "mid", "j++", "j++", "j", "{ \n A[i][j]=scan.nextInt();\n }", "{ \n A[i][j]=scan.nextInt();\n }", "A[i][j]=scan.nextInt()", "A[i][j]", "A[i]", "A", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }", "i=0;", "i=0", "i", "0", "i<mid", "i", "mid", "i++", "i++", "i", "{ \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }", "{ \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }", "for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n }", "j=0;", "j=0", "j", "0", "j<last", "j", "last", "j++", "j++", "j", "{ \n B[i][j]=scan.nextInt();\n }", "{ \n B[i][j]=scan.nextInt();\n }", "B[i][j]=scan.nextInt()", "B[i][j]", "B[i]", "B", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n }", "i=0;", "i=0", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{ \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n }", "{ \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n }", "for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n }", "j=0;", "j=0", "j", "0", "j<last", "j", "last", "j++", "j++", "j", "{ \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n }", "{ \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n }", "for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j];", "k=0;", "k=0", "k", "0", "k<mid", "k", "mid", "k++", "k++", "k", "C[i][j] += A[i][k]*B[k][j];", "C[i][j] += A[i][k]*B[k][j]", "C[i][j]", "C[i]", "C", "i", "j", "A[i][k]*B[k][j]", "A[i][k]", "A[i]", "A", "i", "k", "B[k][j]", "B[k]", "B", "k", "j", "for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n }", "i=0;", "i=0", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{ \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n }", "{ \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n }", "for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }", "j=0;", "j=0", "j", "0", "j<last-1", "j", "last-1", "last", "1", "j++", "j++", "j", "{\n System.out.print(C[i][j]+\" \");\n }", "{\n System.out.print(C[i][j]+\" \");\n }", "System.out.print(C[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "C[i][j]+\" \"", "C[i][j]", "C[i]", "C", "i", "j", "\" \"", "System.out.println(C[i][last-1])", "System.out.println", "System.out", "System", "System.out", "C[i][last-1]", "C[i]", "C", "i", "last-1", "last", "1", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int num,mid,last,i,j,k;\n num=scan.nextInt();\n mid=scan.nextInt();\n last=scan.nextInt();\n long A[][]=new long[num][mid];\n long B[][]=new long[mid][last];\n long C[][]=new long[num][last];\n for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n } \n for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }\n \n for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n } \n for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n } \n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan=new Scanner(System.in);\n int num,mid,last,i,j,k;\n num=scan.nextInt();\n mid=scan.nextInt();\n last=scan.nextInt();\n long A[][]=new long[num][mid];\n long B[][]=new long[mid][last];\n long C[][]=new long[num][last];\n for (i=0;i<num;i++) { \n for (j=0;j<mid;j++) { \n A[i][j]=scan.nextInt();\n } \n } \n for (i=0;i<mid;i++) { \n for (j=0;j<last;j++) { \n B[i][j]=scan.nextInt();\n } \n }\n \n for (i=0;i<num;i++) { \n for (j=0;j<last;j++) { \n for (k=0;k<mid;k++) \n C[i][j] += A[i][k]*B[k][j]; \n } \n } \n for (i=0;i<num;i++) { \n for (j=0;j<last-1;j++) {\n System.out.print(C[i][j]+\" \");\n }\n System.out.println(C[i][last-1]);\n } \n }\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); int num,mid,last,i,j,k; num=scan.nextInt(); mid=scan.nextInt(); last=scan.nextInt(); long A[][]=new long[num][mid]; long B[][]=new long[mid][last]; long C[][]=new long[num][last]; for (i=0;i<num;i++) { for (j=0;j<mid;j++) { A[i][j]=scan.nextInt(); } } for (i=0;i<mid;i++) { for (j=0;j<last;j++) { B[i][j]=scan.nextInt(); } } for (i=0;i<num;i++) { for (j=0;j<last;j++) { for (k=0;k<mid;k++) C[i][j] += A[i][k]*B[k][j]; } } for (i=0;i<num;i++) { for (j=0;j<last-1;j++) { System.out.print(C[i][j]+" "); } System.out.println(C[i][last-1]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 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, 4, 18, 13, 18, 18, 13, 13, 13, 17, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 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 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 240, 17 ], [ 240, 18 ], [ 18, 19 ], [ 18, 20 ], [ 240, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 23, 39 ], [ 39, 40 ], [ 39, 41 ], [ 23, 44 ], [ 44, 45 ], [ 44, 46 ], [ 23, 49 ], [ 49, 50 ], [ 49, 51 ], [ 23, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 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 ], [ 23, 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 ], [ 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 ], [ 116, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 23, 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 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 159, 160 ], [ 150, 161 ], [ 162, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 169, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 23, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 185, 187 ], [ 180, 188 ], [ 188, 189 ], [ 189, 190 ], [ 180, 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 ], [ 196, 204 ], [ 204, 205 ], [ 205, 206 ], [ 196, 207 ], [ 208, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 209, 219 ], [ 192, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 223, 227 ], [ 220, 228 ], [ 228, 229 ], [ 229, 230 ], [ 192, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 231, 236 ], [ 21, 237 ], [ 237, 238 ], [ 0, 239 ], [ 239, 240 ], [ 239, 241 ] ]
[ "import java.util.HashMap;\nimport java.util.ArrayList;\nimport java.util.Scanner;\nimport java.util.regex.Pattern;\nimport java.util.Collections;\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 l = sc.nextInt();\n \n long[][] mat1 = new long[n][m];\n long[][] mat2 = new long[m][l];\n long[][] mat3 = new long[n][l];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }\n }\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.regex.Pattern;", "Pattern", "java.util.regex", "import java.util.Collections;", "Collections", "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 l = sc.nextInt();\n \n long[][] mat1 = new long[n][m];\n long[][] mat2 = new long[m][l];\n long[][] mat3 = new long[n][l];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\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 l = sc.nextInt();\n \n long[][] mat1 = new long[n][m];\n long[][] mat2 = new long[m][l];\n long[][] mat3 = new long[n][l];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }\n }", "main", "{\n int n = sc.nextInt();\n int m = sc.nextInt();\n int l = sc.nextInt();\n \n long[][] mat1 = new long[n][m];\n long[][] mat2 = new long[m][l];\n long[][] mat3 = new long[n][l];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }\n }", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int m = sc.nextInt();", "m", "sc.nextInt()", "sc.nextInt", "sc", "int l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "long[][] mat1 = new long[n][m];", "mat1", "new long[n][m]", "n", "m", "long[][] mat2 = new long[m][l];", "mat2", "new long[m][l]", "m", "l", "long[][] mat3 = new long[n][l];", "mat3", "new long[n][l]", "n", "l", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[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 mat1[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < m", "j", "m", "j++", "j++", "j", "{\n mat1[i][j] = sc.nextInt();\n }", "{\n mat1[i][j] = sc.nextInt();\n }", "mat1[i][j] = sc.nextInt()", "mat1[i][j]", "mat1[i]", "mat1", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < m", "i", "m", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }", "{\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }", "for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n mat2[i][j] = sc.nextInt();\n }", "{\n mat2[i][j] = sc.nextInt();\n }", "mat2[i][j] = sc.nextInt()", "mat2[i][j]", "mat2[i]", "mat2", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }", "{\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }", "for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }", "{\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }", "for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }", "{\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }", "mat3[i][j] += mat1[i][k]*mat2[k][j]", "mat3[i][j]", "mat3[i]", "mat3", "i", "j", "mat1[i][k]*mat2[k][j]", "mat1[i][k]", "mat1[i]", "mat1", "i", "k", "mat2[k][j]", "mat2[k]", "mat2", "k", "j", "for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }", "{\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n sb.append(mat3[i][j]).append(\" \");\n }", "{\n sb.append(mat3[i][j]).append(\" \");\n }", "sb.append(mat3[i][j]).append(\" \")", "sb.append(mat3[i][j]).append", "sb.append(mat3[i][j])", "sb.append", "sb", "mat3[i][j]", "mat3[i]", "mat3", "i", "j", "\" \"", "sb.delete(sb.length()-1, sb.length())", "sb.delete", "sb", "sb.length()-1", "sb.length()", "sb.length", "sb", "1", "sb.length()", "sb.length", "sb", "System.out.println(sb)", "System.out.println", "System.out", "System", "System.out", "sb", "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 l = sc.nextInt();\n \n long[][] mat1 = new long[n][m];\n long[][] mat2 = new long[m][l];\n long[][] mat3 = new long[n][l];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\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 l = sc.nextInt();\n \n long[][] mat1 = new long[n][m];\n long[][] mat2 = new long[m][l];\n long[][] mat3 = new long[n][l];\n \n for (int i = 0; i < n; i++) {\n for (int j = 0; j < m; j++) {\n mat1[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < m; i++) {\n for (int j = 0; j < l; j++) {\n mat2[i][j] = sc.nextInt();\n }\n }\n for (int i = 0; i < n; i++) {\n for (int j = 0; j < l; j++) {\n for (int k = 0; k < m; k++) {\n mat3[i][j] += mat1[i][k]*mat2[k][j];\n }\n }\n }\n \n for (int i = 0; i < n; i++) {\n StringBuilder sb = new StringBuilder();\n for (int j = 0; j < l; j++) {\n sb.append(mat3[i][j]).append(\" \");\n }\n sb.delete(sb.length()-1, sb.length());\n System.out.println(sb);\n }\n }\n}", "Main" ]
import java.util.HashMap; import java.util.ArrayList; import java.util.Scanner; import java.util.regex.Pattern; import java.util.Collections; 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 l = sc.nextInt(); long[][] mat1 = new long[n][m]; long[][] mat2 = new long[m][l]; long[][] mat3 = new long[n][l]; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { mat1[i][j] = sc.nextInt(); } } for (int i = 0; i < m; i++) { for (int j = 0; j < l; j++) { mat2[i][j] = sc.nextInt(); } } for (int i = 0; i < n; i++) { for (int j = 0; j < l; j++) { for (int k = 0; k < m; k++) { mat3[i][j] += mat1[i][k]*mat2[k][j]; } } } for (int i = 0; i < n; i++) { StringBuilder sb = new StringBuilder(); for (int j = 0; j < l; j++) { sb.append(mat3[i][j]).append(" "); } sb.delete(sb.length()-1, sb.length()); System.out.println(sb); } } }
[ 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, 41, 13, 4, 18, 13, 17, 17, 0, 13, 4, 18, 13, 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, 13, 0, 13, 20, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 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, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 295, 5 ], [ 295, 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 ], [ 39, 42 ], [ 39, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 8, 68 ], [ 68, 69 ], [ 68, 70 ], [ 8, 73 ], [ 73, 74 ], [ 73, 75 ], [ 8, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 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 ], [ 98, 99 ], [ 99, 100 ], [ 95, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 103, 107 ], [ 95, 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 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 130, 131 ], [ 130, 132 ], [ 8, 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 ], [ 145, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 153, 157 ], [ 145, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 158, 169 ], [ 170, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 171, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 180, 181 ], [ 180, 182 ], [ 8, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 192, 193 ], [ 183, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 196, 204 ], [ 204, 205 ], [ 205, 206 ], [ 196, 207 ], [ 208, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 214, 215 ], [ 214, 216 ], [ 209, 217 ], [ 217, 218 ], [ 218, 219 ], [ 209, 220 ], [ 221, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 222, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 228, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 234, 238 ], [ 8, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 239, 244 ], [ 244, 245 ], [ 244, 246 ], [ 239, 247 ], [ 247, 248 ], [ 248, 249 ], [ 239, 250 ], [ 251, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 252, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 259, 261 ], [ 252, 262 ], [ 262, 263 ], [ 263, 264 ], [ 252, 265 ], [ 266, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 267, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 273, 277 ], [ 272, 278 ], [ 251, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 281, 283 ], [ 279, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 284, 288 ], [ 8, 289 ], [ 289, 290 ], [ 290, 291 ], [ 6, 292 ], [ 292, 293 ], [ 0, 294 ], [ 294, 295 ], [ 294, 296 ] ]
[ "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,k,a,b,c;\n long x[][];\n long y[][];\n long z[][];\n str = scan.nextLine();\n String[] num = str.split(\" \", 0);\n a = Integer.valueOf(num[0]);\n b = Integer.valueOf(num[1]);\n c = Integer.valueOf(num[2]);\n x = new long[a][b];\n y = new long[b][c];\n z = new long[a][c];\n for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }\n\n\n scan.close();\n }\n\n}\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,k,a,b,c;\n long x[][];\n long y[][];\n long z[][];\n str = scan.nextLine();\n String[] num = str.split(\" \", 0);\n a = Integer.valueOf(num[0]);\n b = Integer.valueOf(num[1]);\n c = Integer.valueOf(num[2]);\n x = new long[a][b];\n y = new long[b][c];\n z = new long[a][c];\n for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }\n\n\n scan.close();\n }\n\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,k,a,b,c;\n long x[][];\n long y[][];\n long z[][];\n str = scan.nextLine();\n String[] num = str.split(\" \", 0);\n a = Integer.valueOf(num[0]);\n b = Integer.valueOf(num[1]);\n c = Integer.valueOf(num[2]);\n x = new long[a][b];\n y = new long[b][c];\n z = new long[a][c];\n for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }\n\n\n scan.close();\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n String str;\n int i,j,k,a,b,c;\n long x[][];\n long y[][];\n long z[][];\n str = scan.nextLine();\n String[] num = str.split(\" \", 0);\n a = Integer.valueOf(num[0]);\n b = Integer.valueOf(num[1]);\n c = Integer.valueOf(num[2]);\n x = new long[a][b];\n y = new long[b][c];\n z = new long[a][c];\n for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }\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", "k", "k", "a", "a", "b", "b", "c;", "c", "long x[][];", "x", "long y[][];", "y", "long z[][];", "z", "str = scan.nextLine()", "str", "scan.nextLine()", "scan.nextLine", "scan", "String[] num = str.split(\" \", 0);", "num", "str.split(\" \", 0)", "str.split", "str", "\" \"", "0", "a = Integer.valueOf(num[0])", "a", "Integer.valueOf(num[0])", "Integer.valueOf", "Integer", "num[0]", "num", "0", "b = Integer.valueOf(num[1])", "b", "Integer.valueOf(num[1])", "Integer.valueOf", "Integer", "num[1]", "num", "1", "c = Integer.valueOf(num[2])", "c", "Integer.valueOf(num[2])", "Integer.valueOf", "Integer", "num[2]", "num", "2", "x = new long[a][b]", "x", "new long[a][b]", "a", "b", "y = new long[b][c]", "y", "new long[b][c]", "b", "c", "z = new long[a][c]", "z", "new long[a][c]", "a", "c", "for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }", "i=0;", "i=0", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }", "{\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }", "str = scan.nextLine()", "str", "scan.nextLine()", "scan.nextLine", "scan", "num = str.split(\" \", 0)", "num", "str.split(\" \", 0)", "str.split", "str", "\" \"", "0", "for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }", "j=0;", "j=0", "j", "0", "j<b", "j", "b", "j++", "j++", "j", "{\n x[i][j] = Integer.valueOf(num[j]);\n }", "{\n x[i][j] = Integer.valueOf(num[j]);\n }", "x[i][j] = Integer.valueOf(num[j])", "x[i][j]", "x[i]", "x", "i", "j", "Integer.valueOf(num[j])", "Integer.valueOf", "Integer", "num[j]", "num", "j", "for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }", "i=0;", "i=0", "i", "0", "i<b", "i", "b", "i++", "i++", "i", "{\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }", "{\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }", "str = scan.nextLine()", "str", "scan.nextLine()", "scan.nextLine", "scan", "num = str.split(\" \", 0)", "num", "str.split(\" \", 0)", "str.split", "str", "\" \"", "0", "for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }", "j=0;", "j=0", "j", "0", "j<c", "j", "c", "j++", "j++", "j", "{\n y[i][j] = Integer.valueOf(num[j]);\n }", "{\n y[i][j] = Integer.valueOf(num[j]);\n }", "y[i][j] = Integer.valueOf(num[j])", "y[i][j]", "y[i]", "y", "i", "j", "Integer.valueOf(num[j])", "Integer.valueOf", "Integer", "num[j]", "num", "j", "for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }", "i=0;", "i=0", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }", "{\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }", "for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }", "j=0;", "j=0", "j", "0", "j<c", "j", "c", "j++", "j++", "j", "{\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }", "{\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }", "for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }", "k =0;", "k =0", "k", "0", "k<b", "k", "b", "k++", "k++", "k", "{\n z[i][j] += x[i][k] * y[k][j]; \n }", "{\n z[i][j] += x[i][k] * y[k][j]; \n }", "z[i][j] += x[i][k] * y[k][j]", "z[i][j]", "z[i]", "z", "i", "j", "x[i][k] * y[k][j]", "x[i][k]", "x[i]", "x", "i", "k", "y[k][j]", "y[k]", "y", "k", "j", "for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }", "i=0;", "i=0", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }", "{\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }", "for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }", "j=0;", "j=0", "j", "0", "j<c-1", "j", "c-1", "c", "1", "j++", "j++", "j", "{\n System.out.print(z[i][j]+\" \");\n }", "{\n System.out.print(z[i][j]+\" \");\n }", "System.out.print(z[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "z[i][j]+\" \"", "z[i][j]", "z[i]", "z", "i", "j", "\" \"", "System.out.println(z[i][j])", "System.out.println", "System.out", "System", "System.out", "z[i][j]", "z[i]", "z", "i", "j", "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,k,a,b,c;\n long x[][];\n long y[][];\n long z[][];\n str = scan.nextLine();\n String[] num = str.split(\" \", 0);\n a = Integer.valueOf(num[0]);\n b = Integer.valueOf(num[1]);\n c = Integer.valueOf(num[2]);\n x = new long[a][b];\n y = new long[b][c];\n z = new long[a][c];\n for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }\n\n\n scan.close();\n }\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,k,a,b,c;\n long x[][];\n long y[][];\n long z[][];\n str = scan.nextLine();\n String[] num = str.split(\" \", 0);\n a = Integer.valueOf(num[0]);\n b = Integer.valueOf(num[1]);\n c = Integer.valueOf(num[2]);\n x = new long[a][b];\n y = new long[b][c];\n z = new long[a][c];\n for(i=0;i<a;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<b;j++){\n x[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<b;i++){\n str = scan.nextLine();\n num = str.split(\" \", 0);\n for(j=0;j<c;j++){\n y[i][j] = Integer.valueOf(num[j]);\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c;j++){\n for(k =0;k<b;k++){\n z[i][j] += x[i][k] * y[k][j]; \n }\n }\n }\n for(i=0;i<a;i++){\n for(j=0;j<c-1;j++){\n System.out.print(z[i][j]+\" \");\n }\n System.out.println(z[i][j]);\n }\n\n\n scan.close();\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); String str; int i,j,k,a,b,c; long x[][]; long y[][]; long z[][]; str = scan.nextLine(); String[] num = str.split(" ", 0); a = Integer.valueOf(num[0]); b = Integer.valueOf(num[1]); c = Integer.valueOf(num[2]); x = new long[a][b]; y = new long[b][c]; z = new long[a][c]; for(i=0;i<a;i++){ str = scan.nextLine(); num = str.split(" ", 0); for(j=0;j<b;j++){ x[i][j] = Integer.valueOf(num[j]); } } for(i=0;i<b;i++){ str = scan.nextLine(); num = str.split(" ", 0); for(j=0;j<c;j++){ y[i][j] = Integer.valueOf(num[j]); } } for(i=0;i<a;i++){ for(j=0;j<c;j++){ for(k =0;k<b;k++){ z[i][j] += x[i][k] * y[k][j]; } } } for(i=0;i<a;i++){ for(j=0;j<c-1;j++){ System.out.print(z[i][j]+" "); } System.out.println(z[i][j]); } 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, 4, 18, 13, 41, 13, 20, 13, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 223, 5 ], [ 223, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 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 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 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 ], [ 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 ], [ 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 157, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 8, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 168, 176 ], [ 176, 177 ], [ 177, 178 ], [ 168, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 181, 191 ], [ 191, 192 ], [ 192, 193 ], [ 181, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 201, 207 ], [ 180, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 217, 219 ], [ 6, 220 ], [ 220, 221 ], [ 0, 222 ], [ 222, 223 ], [ 222, 224 ] ]
[ "\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\n\t\tint line = in.nextInt();\n\t\tint line_column = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tlong[][] ans = new long[line][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\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\n\t\tint line = in.nextInt();\n\t\tint line_column = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tlong[][] ans = new long[line][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\n\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint line = in.nextInt();\n\t\tint line_column = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tlong[][] ans = new long[line][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\n\n\t\t}\n\t}", "main", "{\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint line = in.nextInt();\n\t\tint line_column = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tlong[][] ans = new long[line][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\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 line_column = in.nextInt();", "line_column", "in.nextInt()", "in.nextInt", "in", "int column = in.nextInt();", "column", "in.nextInt()", "in.nextInt", "in", "int[][] matrixA = new int[line][line_column];", "matrixA", "new int[line][line_column]", "line", "line_column", "int[][] matrixB = new int[line_column][column];", "matrixB", "new int[line_column][column]", "line_column", "column", "for(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\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 l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}", "for(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}", "int l_c = 0;", "int l_c = 0;", "l_c", "0", "l_c < line_column", "l_c", "line_column", "l_c++", "l_c++", "l_c", "{\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}", "{\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}", "matrixA[l][l_c] = in.nextInt()", "matrixA[l][l_c]", "matrixA[l]", "matrixA", "l", "l_c", "in.nextInt()", "in.nextInt", "in", "for(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}", "int l_c = 0;", "int l_c = 0;", "l_c", "0", "l_c < line_column", "l_c", "line_column", "l_c++", "l_c++", "l_c", "{\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}", "for(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\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\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}", "{\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}", "matrixB[l_c][c] = in.nextInt()", "matrixB[l_c][c]", "matrixB[l_c]", "matrixB", "l_c", "c", "in.nextInt()", "in.nextInt", "in", "long[][] ans = new long[line][column];", "ans", "new long[line][column]", "line", "column", "for(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\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 l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}", "int l_c = 0;", "int l_c = 0;", "l_c", "0", "l_c < line_column", "l_c", "line_column", "l_c++", "l_c++", "l_c", "{\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}", "{\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}", "for(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}", "int c = 0;", "int c = 0;", "c", "0", "c < column", "c", "column", "c++", "c++", "c", "{\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}", "{\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}", "ans[l][c] += matrixA[l][l_c] * matrixB[l_c][c]", "ans[l][c]", "ans[l]", "ans", "l", "c", "matrixA[l][l_c] * matrixB[l_c][c]", "matrixA[l][l_c]", "matrixA[l]", "matrixA", "l", "l_c", "matrixB[l_c][c]", "matrixB[l_c]", "matrixB", "l_c", "c", "for(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\n\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 - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\n\n\t\t}", "{\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\n\n\t\t}", "for(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}", "int c = 0;", "int c = 0;", "c", "0", "c < column - 1", "c", "column - 1", "column", "1", "c++", "c++", "c", "{\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}", "{\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}", "System.out.print(ans[l][c] + \" \")", "System.out.print", "System.out", "System", "System.out", "ans[l][c] + \" \"", "ans[l][c]", "ans[l]", "ans", "l", "c", "\" \"", "System.out.println(ans[l][column - 1])", "System.out.println", "System.out", "System", "System.out", "ans[l][column - 1]", "ans[l]", "ans", "l", "column - 1", "column", "1", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner in = new Scanner(System.in);\n\n\t\tint line = in.nextInt();\n\t\tint line_column = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tlong[][] ans = new long[line][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\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\n\t\tint line = in.nextInt();\n\t\tint line_column = in.nextInt();\n\t\tint column = in.nextInt();\n\n\t\tint[][] matrixA = new int[line][line_column];\n\t\tint[][] matrixB = new int[line_column][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tmatrixA[l][l_c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\tmatrixB[l_c][c] = in.nextInt();\n\n\t\t\t}\n\t\t}\n\n\t\tlong[][] ans = new long[line][column];\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int l_c = 0; l_c < line_column; l_c++){\n\n\t\t\t\tfor(int c = 0; c < column; c++){\n\n\t\t\t\t\tans[l][c] += matrixA[l][l_c] * matrixB[l_c][c];\n\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor(int l = 0; l < line; l++){\n\n\t\t\tfor(int c = 0; c < column - 1; c++){\n\n\t\t\t\tSystem.out.print(ans[l][c] + \" \");\n\n\t\t\t}\n\n\t\t\tSystem.out.println(ans[l][column - 1]);\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 line_column = in.nextInt(); int column = in.nextInt(); int[][] matrixA = new int[line][line_column]; int[][] matrixB = new int[line_column][column]; for(int l = 0; l < line; l++){ for(int l_c = 0; l_c < line_column; l_c++){ matrixA[l][l_c] = in.nextInt(); } } for(int l_c = 0; l_c < line_column; l_c++){ for(int c = 0; c < column; c++){ matrixB[l_c][c] = in.nextInt(); } } long[][] ans = new long[line][column]; for(int l = 0; l < line; l++){ for(int l_c = 0; l_c < line_column; l_c++){ for(int c = 0; c < column; c++){ ans[l][c] += matrixA[l][l_c] * matrixB[l_c][c]; } } } for(int l = 0; l < line; l++){ for(int c = 0; c < column - 1; c++){ System.out.print(ans[l][c] + " "); } System.out.println(ans[l][column - 1]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 41, 13, 17, 0, 13, 17, 0, 13, 17, 41, 13, 20, 2, 13, 17, 2, 13, 17, 41, 13, 20, 2, 13, 17, 2, 13, 17, 41, 13, 20, 2, 13, 17, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 40, 13, 0, 13, 17, 0, 13, 17, 40, 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, 4, 18, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 275, 5 ], [ 275, 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 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 8, 40 ], [ 40, 41 ], [ 40, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 52, 53 ], [ 52, 54 ], [ 55, 56 ], [ 55, 57 ], [ 8, 58 ], [ 58, 59 ], [ 58, 60 ], [ 61, 62 ], [ 61, 63 ], [ 64, 65 ], [ 64, 66 ], [ 8, 67 ], [ 67, 68 ], [ 67, 69 ], [ 70, 71 ], [ 70, 72 ], [ 73, 74 ], [ 73, 75 ], [ 8, 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 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 89, 100 ], [ 101, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 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 ], [ 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 ], [ 138, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 8, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 146, 154 ], [ 154, 155 ], [ 155, 156 ], [ 146, 157 ], [ 158, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 164, 166 ], [ 159, 167 ], [ 167, 168 ], [ 168, 169 ], [ 159, 170 ], [ 171, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 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 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 171, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 200, 206 ], [ 171, 207 ], [ 207, 208 ], [ 171, 209 ], [ 209, 210 ], [ 209, 211 ], [ 158, 212 ], [ 212, 213 ], [ 212, 214 ], [ 158, 215 ], [ 215, 216 ], [ 8, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 222, 223 ], [ 222, 224 ], [ 217, 225 ], [ 225, 226 ], [ 226, 227 ], [ 217, 228 ], [ 229, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 230, 235 ], [ 235, 236 ], [ 235, 237 ], [ 230, 238 ], [ 238, 239 ], [ 239, 240 ], [ 230, 241 ], [ 242, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 243, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 246, 250 ], [ 242, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 254, 256 ], [ 251, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 258, 261 ], [ 229, 262 ], [ 262, 263 ], [ 263, 264 ], [ 262, 265 ], [ 8, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 266, 271 ], [ 6, 272 ], [ 272, 273 ], [ 0, 274 ], [ 274, 275 ], [ 274, 276 ] ]
[ "\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, l, c1, c2;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tl = scan.nextInt();\n\t\tlong rs = 0;// ?¨???????????????????????????????\n\t\tc1 = 0;// ????¬???????????????????\n\t\tc2 = 0;// ????¬???????????????????\n\n\t\t// ????¬???????????????¨???\n\t\tlong num1[][] = new long[n + 5][m + 5];\n\t\tlong num2[][] = new long[m + 5][l + 5];\n\t\tlong result[][] = new long[n + 5][l + 5];\n\n\t\t// ????¬???????????????\\??? num1\n\t\tfor (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t// ????¬???????????????\\??? num2\n\t\tfor (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// ?¨???? (n*m)?????°????????????\n\t\t// l??????????????????????????????\n\t\tfor (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}\n\n\t\t// output (n*m)?????????\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\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, l, c1, c2;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tl = scan.nextInt();\n\t\tlong rs = 0;// ?¨???????????????????????????????\n\t\tc1 = 0;// ????¬???????????????????\n\t\tc2 = 0;// ????¬???????????????????\n\n\t\t// ????¬???????????????¨???\n\t\tlong num1[][] = new long[n + 5][m + 5];\n\t\tlong num2[][] = new long[m + 5][l + 5];\n\t\tlong result[][] = new long[n + 5][l + 5];\n\n\t\t// ????¬???????????????\\??? num1\n\t\tfor (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t// ????¬???????????????\\??? num2\n\t\tfor (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// ?¨???? (n*m)?????°????????????\n\t\t// l??????????????????????????????\n\t\tfor (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}\n\n\t\t// output (n*m)?????????\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\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, l, c1, c2;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tl = scan.nextInt();\n\t\tlong rs = 0;// ?¨???????????????????????????????\n\t\tc1 = 0;// ????¬???????????????????\n\t\tc2 = 0;// ????¬???????????????????\n\n\t\t// ????¬???????????????¨???\n\t\tlong num1[][] = new long[n + 5][m + 5];\n\t\tlong num2[][] = new long[m + 5][l + 5];\n\t\tlong result[][] = new long[n + 5][l + 5];\n\n\t\t// ????¬???????????????\\??? num1\n\t\tfor (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t// ????¬???????????????\\??? num2\n\t\tfor (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// ?¨???? (n*m)?????°????????????\n\t\t// l??????????????????????????????\n\t\tfor (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}\n\n\t\t// output (n*m)?????????\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\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, l, c1, c2;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tl = scan.nextInt();\n\t\tlong rs = 0;// ?¨???????????????????????????????\n\t\tc1 = 0;// ????¬???????????????????\n\t\tc2 = 0;// ????¬???????????????????\n\n\t\t// ????¬???????????????¨???\n\t\tlong num1[][] = new long[n + 5][m + 5];\n\t\tlong num2[][] = new long[m + 5][l + 5];\n\t\tlong result[][] = new long[n + 5][l + 5];\n\n\t\t// ????¬???????????????\\??? num1\n\t\tfor (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t// ????¬???????????????\\??? num2\n\t\tfor (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// ?¨???? (n*m)?????°????????????\n\t\t// l??????????????????????????????\n\t\tfor (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}\n\n\t\t// output (n*m)?????????\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\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", "l", "l", "c1", "c1", "c2;", "c2", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "m = scan.nextInt()", "m", "scan.nextInt()", "scan.nextInt", "scan", "l = scan.nextInt()", "l", "scan.nextInt()", "scan.nextInt", "scan", "long rs = 0;", "rs", "0", "c1 = 0", "c1", "0", "c2 = 0", "c2", "0", "long num1[][] = new long[n + 5][m + 5];", "num1", "new long[n + 5][m + 5]", "n + 5", "n", "5", "m + 5", "m", "5", "long num2[][] = new long[m + 5][l + 5];", "num2", "new long[m + 5][l + 5]", "m + 5", "m", "5", "l + 5", "l", "5", "long result[][] = new long[n + 5][l + 5];", "result", "new long[n + 5][l + 5]", "n + 5", "n", "5", "l + 5", "l", "5", "for (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}", "int count = 0;", "int count = 0;", "count", "0", "count < n", "count", "n", "count++", "count++", "count", "{\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}", "for (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}", "int count2 = 0;", "int count2 = 0;", "count2", "0", "count2 < m", "count2", "m", "count2++", "count2++", "count2", "{\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}", "num1[count][count2] = scan.nextInt()", "num1[count][count2]", "num1[count]", "num1", "count", "count2", "scan.nextInt()", "scan.nextInt", "scan", "for (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}", "int count3 = 0;", "int count3 = 0;", "count3", "0", "count3 < m", "count3", "m", "count3++", "count3++", "count3", "{\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}", "for (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}", "int count4 = 0;", "int count4 = 0;", "count4", "0", "count4 < l", "count4", "l", "count4++", "count4++", "count4", "{\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}", "num2[count3][count4] = scan.nextInt()", "num2[count3][count4]", "num2[count3]", "num2", "count3", "count4", "scan.nextInt()", "scan.nextInt", "scan", "for (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}", "int count7 = 0;", "int count7 = 0;", "count7", "0", "count7 < l", "count7", "l", "count7++", "count7++", "count7", "{\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}", "{\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}", "for (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}", "int count5 = 0;", "int count5 = 0;", "count5", "0", "count5 < n", "count5", "n", "count5++", "count5++", "count5", "{\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}", "{\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}", "for (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}", "int count6 = 0;", "int count6 = 0;", "count6", "0", "count6 < m", "count6", "m", "count6++", "count6++", "count6", "{\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}", "{\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}", "rs = rs + num1[count5][count6] * num2[count6][c2]", "rs", "rs + num1[count5][count6] * num2[count6][c2]", "rs", "num1[count5][count6] * num2[count6][c2]", "num1[count5][count6]", "num1[count5]", "num1", "count5", "count6", "num2[count6][c2]", "num2[count6]", "num2", "count6", "c2", "result[c1][c2] = rs", "result[c1][c2]", "result[c1]", "result", "c1", "c2", "rs", "c1++", "c1", "rs = 0", "rs", "0", "c1 = 0", "c1", "0", "c2++", "c2", "for (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}", "{\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}", "for (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}", "int i2 = 0;", "int i2 = 0;", "i2", "0", "i2 < l", "i2", "l", "i2++", "i2++", "i2", "{\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}", "sb.append(result[i][i2])", "sb.append", "sb", "result[i][i2]", "result[i]", "result", "i", "i2", "if (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}", "i2 != (l - 1)", "i2", "(l - 1)", "l", "1", "{\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}", "sb.append(\" \")", "sb.append", "sb", "\" \"", "sb.append(\"\\n\")", "sb.append", "sb", "\"\\n\"", "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, l, c1, c2;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tl = scan.nextInt();\n\t\tlong rs = 0;// ?¨???????????????????????????????\n\t\tc1 = 0;// ????¬???????????????????\n\t\tc2 = 0;// ????¬???????????????????\n\n\t\t// ????¬???????????????¨???\n\t\tlong num1[][] = new long[n + 5][m + 5];\n\t\tlong num2[][] = new long[m + 5][l + 5];\n\t\tlong result[][] = new long[n + 5][l + 5];\n\n\t\t// ????¬???????????????\\??? num1\n\t\tfor (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t// ????¬???????????????\\??? num2\n\t\tfor (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// ?¨???? (n*m)?????°????????????\n\t\t// l??????????????????????????????\n\t\tfor (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}\n\n\t\t// output (n*m)?????????\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\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, l, c1, c2;\n\t\tn = scan.nextInt();\n\t\tm = scan.nextInt();\n\t\tl = scan.nextInt();\n\t\tlong rs = 0;// ?¨???????????????????????????????\n\t\tc1 = 0;// ????¬???????????????????\n\t\tc2 = 0;// ????¬???????????????????\n\n\t\t// ????¬???????????????¨???\n\t\tlong num1[][] = new long[n + 5][m + 5];\n\t\tlong num2[][] = new long[m + 5][l + 5];\n\t\tlong result[][] = new long[n + 5][l + 5];\n\n\t\t// ????¬???????????????\\??? num1\n\t\tfor (int count = 0; count < n; count++) {\n\t\t\tfor (int count2 = 0; count2 < m; count2++) {\n\t\t\t\tnum1[count][count2] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t// ????¬???????????????\\??? num2\n\t\tfor (int count3 = 0; count3 < m; count3++) {\n\t\t\tfor (int count4 = 0; count4 < l; count4++) {\n\t\t\t\tnum2[count3][count4] = scan.nextInt();\n\t\t\t}\n\t\t}\n\n\t\t// ?¨???? (n*m)?????°????????????\n\t\t// l??????????????????????????????\n\t\tfor (int count7 = 0; count7 < l; count7++) {\n\t\t\tfor (int count5 = 0; count5 < n; count5++) {\n\t\t\t\tfor (int count6 = 0; count6 < m; count6++) {\n\t\t\t\t\trs = rs + num1[count5][count6] * num2[count6][c2];\n\t\t\t\t}\n\t\t\t\tresult[c1][c2] = rs;\n\t\t\t\tc1++;\n\t\t\t\trs = 0;\n\t\t\t}\n\n\t\t\tc1 = 0;\n\t\t\tc2++;\n\t\t}\n\n\t\t// output (n*m)?????????\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tfor (int i2 = 0; i2 < l; i2++) {\n\t\t\t\tsb.append(result[i][i2]);\n\t\t\t\tif (i2 != (l - 1)) {\n\t\t\t\t\tsb.append(\" \");\n\t\t\t\t}\n\t\t\t}\n\t\t\tsb.append(\"\\n\");\n\t\t}\n\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, l, c1, c2; n = scan.nextInt(); m = scan.nextInt(); l = scan.nextInt(); long rs = 0;// ?¨??????????????????????????????? c1 = 0;// ????¬??????????????????? c2 = 0;// ????¬??????????????????? // ????¬???????????????¨??? long num1[][] = new long[n + 5][m + 5]; long num2[][] = new long[m + 5][l + 5]; long result[][] = new long[n + 5][l + 5]; // ????¬???????????????\??? num1 for (int count = 0; count < n; count++) { for (int count2 = 0; count2 < m; count2++) { num1[count][count2] = scan.nextInt(); } } // ????¬???????????????\??? num2 for (int count3 = 0; count3 < m; count3++) { for (int count4 = 0; count4 < l; count4++) { num2[count3][count4] = scan.nextInt(); } } // ?¨???? (n*m)?????°???????????? // l?????????????????????????????? for (int count7 = 0; count7 < l; count7++) { for (int count5 = 0; count5 < n; count5++) { for (int count6 = 0; count6 < m; count6++) { rs = rs + num1[count5][count6] * num2[count6][c2]; } result[c1][c2] = rs; c1++; rs = 0; } c1 = 0; c2++; } // output (n*m)????????? for (int i = 0; i < n; i++) { for (int i2 = 0; i2 < l; i2++) { sb.append(result[i][i2]); if (i2 != (l - 1)) { sb.append(" "); } } sb.append("\n"); } System.out.print(new String(sb)); } }
[ 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, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 13, 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, 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, 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, 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, 2, 18, 18, 13, 13, 13, 18, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 274, 8 ], [ 274, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 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 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 55 ], [ 55, 56 ], [ 55, 57 ], [ 11, 60 ], [ 60, 61 ], [ 60, 62 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 77, 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 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 111, 112 ], [ 111, 113 ], [ 11, 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 ], [ 126, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 126, 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 ], [ 152, 156 ], [ 151, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 160, 161 ], [ 160, 162 ], [ 11, 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 ], [ 176, 184 ], [ 184, 185 ], [ 185, 186 ], [ 176, 187 ], [ 188, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 194, 195 ], [ 194, 196 ], [ 189, 197 ], [ 197, 198 ], [ 198, 199 ], [ 189, 200 ], [ 201, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 202, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 208, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 11, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 224, 225 ], [ 224, 226 ], [ 219, 227 ], [ 227, 228 ], [ 228, 229 ], [ 219, 230 ], [ 231, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 237, 238 ], [ 237, 239 ], [ 239, 240 ], [ 239, 241 ], [ 232, 242 ], [ 242, 243 ], [ 243, 244 ], [ 232, 245 ], [ 246, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 247, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 253, 257 ], [ 252, 258 ], [ 231, 259 ], [ 259, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 259, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 264, 268 ], [ 268, 269 ], [ 268, 270 ], [ 9, 271 ], [ 271, 272 ], [ 0, 273 ], [ 273, 274 ], [ 273, 275 ] ]
[ "import java.io.*;\nimport java.util.Arrays;\n\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] spl = line1.split(\" \");\n\t\tint n = Integer.parseInt(spl[0]);\n\t\tint m = Integer.parseInt(spl[1]);\n\t\tint l = Integer.parseInt(spl[2]);\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\tfor (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<m ; i++ ) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}\n\t\t\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n\tpublic static void main(String[] args) throws IOException{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] spl = line1.split(\" \");\n\t\tint n = Integer.parseInt(spl[0]);\n\t\tint m = Integer.parseInt(spl[1]);\n\t\tint l = Integer.parseInt(spl[2]);\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\tfor (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<m ; i++ ) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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\tString line1 = br.readLine();\n\t\tString[] spl = line1.split(\" \");\n\t\tint n = Integer.parseInt(spl[0]);\n\t\tint m = Integer.parseInt(spl[1]);\n\t\tint l = Integer.parseInt(spl[2]);\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\tfor (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<m ; i++ ) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}\n\t\t\n\t}", "main", "{ \n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString line1 = br.readLine();\n\t\tString[] spl = line1.split(\" \");\n\t\tint n = Integer.parseInt(spl[0]);\n\t\tint m = Integer.parseInt(spl[1]);\n\t\tint l = Integer.parseInt(spl[2]);\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\tfor (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<m ; i++ ) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}\n\t\t\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line1 = br.readLine();", "line1", "br.readLine()", "br.readLine", "br", "String[] spl = line1.split(\" \");", "spl", "line1.split(\" \")", "line1.split", "line1", "\" \"", "int n = Integer.parseInt(spl[0]);", "n", "Integer.parseInt(spl[0])", "Integer.parseInt", "Integer", "spl[0]", "spl", "0", "int m = Integer.parseInt(spl[1]);", "m", "Integer.parseInt(spl[1])", "Integer.parseInt", "Integer", "spl[1]", "spl", "1", "int l = Integer.parseInt(spl[2]);", "l", "Integer.parseInt(spl[2])", "Integer.parseInt", "Integer", "spl[2]", "spl", "2", "int[][] a = new int[n][m];", "a", "new int[n][m]", "n", "m", "int[][] b = new int[m][l];", "b", "new int[m][l]", "m", "l", "long[][] c = new long[n][l];", "c", "new long[n][l]", "n", "l", "for (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[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 line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] str = line.split(\" \");", "str", "line.split(\" \")", "line.split", "line", "\" \"", "for (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[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\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}", "{\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}", "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\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\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\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "{\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "String[] str = line.split(\" \");", "str", "line.split(\" \")", "line.split", "line", "\" \"", "for (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j<l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}", "{\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}", "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 (int i = 0; i<n ; i++ ) {\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int j = 0; j<m ; j++ ) {\n\t\t\t\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}", "for (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k<l", "k", "l", "k++", "k++", "k", "{\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}", "{\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}", "c[i][k] += (long) (a[i][j] * b[j][k])", "c[i][k]", "c[i]", "c", "i", "k", "(long) (a[i][j] * b[j][k])", "a[i][j]", "a[i]", "a", "i", "j", "b[j][k]", "b[j]", "b", "j", "k", "for (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\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<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}", "{\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}", "for ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j<(l-1)", "j", "(l-1)", "l", "1", "j++", "j++", "j", "{\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}", "{\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}", "System.out.print(c[i][j]+\" \")", "System.out.print", "System.out", "System", "System.out", "c[i][j]+\" \"", "c[i][j]", "c[i]", "c", "i", "j", "\" \"", "System.out.println(c[i][l-1])", "System.out.println", "System.out", "System", "System.out", "c[i][l-1]", "c[i]", "c", "i", "l-1", "l", "1", "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\tString line1 = br.readLine();\n\t\tString[] spl = line1.split(\" \");\n\t\tint n = Integer.parseInt(spl[0]);\n\t\tint m = Integer.parseInt(spl[1]);\n\t\tint l = Integer.parseInt(spl[2]);\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\tfor (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<m ; i++ ) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}\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\tString line1 = br.readLine();\n\t\tString[] spl = line1.split(\" \");\n\t\tint n = Integer.parseInt(spl[0]);\n\t\tint m = Integer.parseInt(spl[1]);\n\t\tint l = Integer.parseInt(spl[2]);\n\t\tint[][] a = new int[n][m];\n\t\tint[][] b = new int[m][l];\n\t\tlong[][] c = new long[n][l];\n\t\tfor (int i = 0; i<n ; i++) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<m ; j++ ) {\n\t\t\t\ta[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<m ; i++ ) {\n\t\t\tString line = br.readLine();\n\t\t\tString[] str = line.split(\" \");\n\t\t\tfor (int j = 0; j<l ; j++ ) {\n\t\t\t\tb[i][j] += Integer.parseInt(str[j]);\n\t\t\t}\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\tfor (int k = 0; k<l ;k++ ) {\n\t\t\t\t\tc[i][k] += (long) (a[i][j] * b[j][k]);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i<n ; i++ ) {\n\t\t\tfor ( int j = 0; j<(l-1) ; j++ ) {\n\t\t\t\tSystem.out.print(c[i][j]+\" \");\n\t\t\t}\n\t\t\tSystem.out.println(c[i][l-1]);\n\t\t}\n\t\t\n\t}\n}", "Main" ]
import java.io.*; import java.util.Arrays; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line1 = br.readLine(); String[] spl = line1.split(" "); int n = Integer.parseInt(spl[0]); int m = Integer.parseInt(spl[1]); int l = Integer.parseInt(spl[2]); int[][] a = new int[n][m]; int[][] b = new int[m][l]; long[][] c = new long[n][l]; for (int i = 0; i<n ; i++) { String line = br.readLine(); String[] str = line.split(" "); for (int j = 0; j<m ; j++ ) { a[i][j] += Integer.parseInt(str[j]); } } for (int i = 0; i<m ; i++ ) { String line = br.readLine(); String[] str = line.split(" "); for (int j = 0; j<l ; j++ ) { b[i][j] += Integer.parseInt(str[j]); } } for (int i = 0; i<n ; i++ ) { for (int j = 0; j<m ; j++ ) { for (int k = 0; k<l ;k++ ) { c[i][k] += (long) (a[i][j] * b[j][k]); } } } for (int i = 0; i<n ; i++ ) { for ( int j = 0; j<(l-1) ; j++ ) { System.out.print(c[i][j]+" "); } System.out.println(c[i][l-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, 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, 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, 30, 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, 18, 13, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 186, 5 ], [ 186, 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 ], [ 24, 25 ], [ 25, 26 ], [ 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 ], [ 67, 69 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 102, 103 ], [ 103, 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 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 126, 127 ], [ 127, 128 ], [ 118, 129 ], [ 130, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 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 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 149, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 130, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 160, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 117, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 6, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "\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\t\tint c = scanner.nextInt();\n\n\t\tint[][] list1 = 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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[][] list2 = new int[b][c];\n\t\tfor (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();\n\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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\t\tint c = scanner.nextInt();\n\n\t\tint[][] list1 = 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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[][] list2 = new int[b][c];\n\t\tfor (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();\n\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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\t\tint c = scanner.nextInt();\n\n\t\tint[][] list1 = 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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[][] list2 = new int[b][c];\n\t\tfor (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();\n\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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\t\tint c = scanner.nextInt();\n\n\t\tint[][] list1 = 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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[][] list2 = new int[b][c];\n\t\tfor (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();\n\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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 c = scanner.nextInt();", "c", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] list1 = new int[a][b];", "list1", "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\tlist1[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\tlist1[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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}", "for (int j = 0; j < b; j++) {\n\t\t\t\tlist1[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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}", "{\n\t\t\t\tlist1[i][j] = scanner.nextInt();\n\t\t\t}", "list1[i][j] = scanner.nextInt()", "list1[i][j]", "list1[i]", "list1", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "int[][] list2 = new int[b][c];", "list2", "new int[b][c]", "b", "c", "for (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < b", "i", "b", "i++", "i++", "i", "for (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();", "for (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();", "int j = 0;", "int j = 0;", "j", "0", "j < c", "j", "c", "j++", "j++", "j", "list2[i][j] = scanner.nextInt();", "list2[i][j] = scanner.nextInt()", "list2[i][j]", "list2[i]", "list2", "i", "j", "scanner.nextInt()", "scanner.nextInt", "scanner", "for (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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 < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "{\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\n\t\t}", "for (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < c", "j", "c", "j++", "j++", "j", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}", "{\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}", "long sum = 0;", "sum", "0", "for (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < b", "k", "b", "k++", "k++", "k", "{\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}", "sum += list1[i][k] * list2[k][j]", "sum", "list1[i][k] * list2[k][j]", "list1[i][k]", "list1[i]", "list1", "i", "k", "list2[k][j]", "list2[k]", "list2", "k", "j", "if (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);", "j == 0", "j", "0", "System.out.print(sum)", "System.out.print", "System.out", "System", "System.out", "sum", "System.out.print(\" \" + sum)", "System.out.print", "System.out", "System", "System.out", "\" \" + sum", "\" \"", "sum", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint a = scanner.nextInt();\n\t\tint b = scanner.nextInt();\n\t\tint c = scanner.nextInt();\n\n\t\tint[][] list1 = 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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[][] list2 = new int[b][c];\n\t\tfor (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();\n\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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\t\tint c = scanner.nextInt();\n\n\t\tint[][] list1 = 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\tlist1[i][j] = scanner.nextInt();\n\t\t\t}\n\t\t}\n\t\tint[][] list2 = new int[b][c];\n\t\tfor (int i = 0; i < b; i++)\n\t\t\tfor (int j = 0; j < c; j++)\n\t\t\t\tlist2[i][j] = scanner.nextInt();\n\n\t\tfor (int i = 0; i < a; i++) {\n\t\t\tfor (int j = 0; j < c; j++) {\n\t\t\t\tlong sum = 0;\n\t\t\t\tfor (int k = 0; k < b; k++) {\n\t\t\t\t\tsum += list1[i][k] * list2[k][j];\n\t\t\t\t}\n\t\t\t\tif (j == 0)\n\t\t\t\t\tSystem.out.print(sum);\n\t\t\t\telse\n\t\t\t\t\tSystem.out.print(\" \" + sum);\n\t\t\t}\n\t\t\tSystem.out.println();\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 c = scanner.nextInt(); int[][] list1 = new int[a][b]; for (int i = 0; i < a; i++) { for (int j = 0; j < b; j++) { list1[i][j] = scanner.nextInt(); } } int[][] list2 = new int[b][c]; for (int i = 0; i < b; i++) for (int j = 0; j < c; j++) list2[i][j] = scanner.nextInt(); for (int i = 0; i < a; i++) { for (int j = 0; j < c; j++) { long sum = 0; for (int k = 0; k < b; k++) { sum += list1[i][k] * list2[k][j]; } if (j == 0) System.out.print(sum); else System.out.print(" " + sum); } 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, 4, 18, 13, 41, 13, 17, 41, 13, 20, 13, 13, 41, 13, 20, 13, 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, 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, 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, 18, 13, 13, 13, 0, 18, 18, 13, 13, 13, 13, 0, 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, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 236, 5 ], [ 236, 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 ], [ 24, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 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 ], [ 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 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 8, 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 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 128, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 140, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 140, 174 ], [ 174, 175 ], [ 174, 176 ], [ 8, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 189, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 198, 199 ], [ 199, 200 ], [ 190, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 203, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 210, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 215, 221 ], [ 203, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 223, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 228, 232 ], [ 6, 233 ], [ 233, 234 ], [ 0, 235 ], [ 235, 236 ], [ 235, 237 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tlong cal = 0;\n\t\tlong[][] mt1 = new long[n][m];\n\t\tlong[][] mt2 = new long[m][l];\n\t\tlong[][] mt3 = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}\n\n\t\t for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t}\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tlong cal = 0;\n\t\tlong[][] mt1 = new long[n][m];\n\t\tlong[][] mt2 = new long[m][l];\n\t\tlong[][] mt3 = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}\n\n\t\t for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tlong cal = 0;\n\t\tlong[][] mt1 = new long[n][m];\n\t\tlong[][] mt2 = new long[m][l];\n\t\tlong[][] mt3 = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}\n\n\t\t for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tlong cal = 0;\n\t\tlong[][] mt1 = new long[n][m];\n\t\tlong[][] mt2 = new long[m][l];\n\t\tlong[][] mt3 = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}\n\n\t\t for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\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 l = sc.nextInt();", "l", "sc.nextInt()", "sc.nextInt", "sc", "long cal = 0;", "cal", "0", "long[][] mt1 = new long[n][m];", "mt1", "new long[n][m]", "n", "m", "long[][] mt2 = new long[m][l];", "mt2", "new long[m][l]", "m", "l", "long[][] mt3 = new long[n][l];", "mt3", "new long[n][l]", "n", "l", "for(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[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\tmt1[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\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < m; j++) {\n\t\t\t\tmt1[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\tmt1[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}", "mt1[i][j] = sc.nextInt()", "mt1[i][j]", "mt1[i]", "mt1", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = 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\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}", "{\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}", "mt2[i][j] = sc.nextInt()", "mt2[i][j]", "mt2[i]", "mt2", "i", "j", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 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 < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}", "{\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}", "for(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}", "{\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}", "cal += mt1[i][k] * mt2[k][j]", "cal", "mt1[i][k] * mt2[k][j]", "mt1[i][k]", "mt1[i]", "mt1", "i", "k", "mt2[k][j]", "mt2[k]", "mt2", "k", "j", "mt3[i][j] = cal", "mt3[i][j]", "mt3[i]", "mt3", "i", "j", "cal", "cal = 0", "cal", "0", "for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\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\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }", "{\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }", "for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }", "{\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }", "if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }", "j != l-1", "j", "l-1", "l", "1", "{\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }", "System.out.print(mt3[i][j] + \" \")", "System.out.print", "System.out", "System", "System.out", "mt3[i][j] + \" \"", "mt3[i][j]", "mt3[i]", "mt3", "i", "j", "\" \"", "{\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }", "System.out.println(mt3[i][j])", "System.out.println", "System.out", "System", "System.out", "mt3[i][j]", "mt3[i]", "mt3", "i", "j", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tlong cal = 0;\n\t\tlong[][] mt1 = new long[n][m];\n\t\tlong[][] mt2 = new long[m][l];\n\t\tlong[][] mt3 = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}\n\n\t\t for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint m = sc.nextInt();\n\t\tint l = sc.nextInt();\n\t\tlong cal = 0;\n\t\tlong[][] mt1 = new long[n][m];\n\t\tlong[][] mt2 = new long[m][l];\n\t\tlong[][] mt3 = new long[n][l];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tfor(int j = 0; j < m; j++) {\n\t\t\t\tmt1[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < m; i++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tmt2[i][j] = sc.nextInt();\n\t\t\t}\n\t\t}\n\n\t\tfor(int i = 0; i < n; i ++) {\n\t\t\tfor(int j = 0; j < l; j++) {\n\t\t\t\tfor(int k = 0; k < m ; k++) {\n\t\t\t\t\tcal += mt1[i][k] * mt2[k][j];\n\t\t\t\t}\n\t\t\t\tmt3[i][j] = cal;\n\t\t\t\tcal = 0;\n\t\t\t}\n\t\t}\n\n\t\t for(int i = 0; i < n ; i++) {\n\t\t\t for(int j = 0; j < l; j++) {\n\t\t\t\t if(j != l-1) {\n\t\t\t\t\t System.out.print(mt3[i][j] + \" \");\n\t\t\t\t }else {\n\t\t\t\t\t System.out.println(mt3[i][j]);\n\t\t\t\t }\n\t\t\t }\n\t\t }\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int m = sc.nextInt(); int l = sc.nextInt(); long cal = 0; long[][] mt1 = new long[n][m]; long[][] mt2 = new long[m][l]; long[][] mt3 = new long[n][l]; for(int i = 0; i < n; i++) { for(int j = 0; j < m; j++) { mt1[i][j] = sc.nextInt(); } } for(int i = 0; i < m; i++) { for(int j = 0; j < l; j++) { mt2[i][j] = sc.nextInt(); } } for(int i = 0; i < n; i ++) { for(int j = 0; j < l; j++) { for(int k = 0; k < m ; k++) { cal += mt1[i][k] * mt2[k][j]; } mt3[i][j] = cal; cal = 0; } } for(int i = 0; i < n ; i++) { for(int j = 0; j < l; j++) { if(j != l-1) { System.out.print(mt3[i][j] + " "); }else { System.out.println(mt3[i][j]); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 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, 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, 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, 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, 18, 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, 4, 18, 18, 13, 13, 18, 18, 13, 13, 13, 14, 2, 13, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 228, 5 ], [ 228, 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 ], [ 24, 25 ], [ 25, 26 ], [ 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 ], [ 67, 69 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 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 ], [ 104, 105 ], [ 105, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 8, 110 ], [ 110, 111 ], [ 110, 112 ], [ 8, 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 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 128, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 141, 149 ], [ 149, 150 ], [ 150, 151 ], [ 141, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 154, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 160, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 8, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 171, 179 ], [ 179, 180 ], [ 180, 181 ], [ 171, 182 ], [ 183, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 184, 192 ], [ 192, 193 ], [ 193, 194 ], [ 184, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 196, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 210, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 183, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 6, 225 ], [ 225, 226 ], [ 0, 227 ], [ 227, 228 ], [ 227, 229 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t//n*m???????????£??\\\n\t\tint[][] aryA = new int[n][m];\n\t\tfor(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t//m*l???????????£??\\\n\t\tint[][] aryB = new int[m][l];\n\t\tfor(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\t//n*l????????????????????£??\\\n\t\tlong[][] aryC = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}\n\t\t\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t//n*m???????????£??\\\n\t\tint[][] aryA = new int[n][m];\n\t\tfor(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t//m*l???????????£??\\\n\t\tint[][] aryB = new int[m][l];\n\t\tfor(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\t//n*l????????????????????£??\\\n\t\tlong[][] aryC = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t//n*m???????????£??\\\n\t\tint[][] aryA = new int[n][m];\n\t\tfor(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t//m*l???????????£??\\\n\t\tint[][] aryB = new int[m][l];\n\t\tfor(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\t//n*l????????????????????£??\\\n\t\tlong[][] aryC = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t//n*m???????????£??\\\n\t\tint[][] aryA = new int[n][m];\n\t\tfor(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t//m*l???????????£??\\\n\t\tint[][] aryB = new int[m][l];\n\t\tfor(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\t//n*l????????????????????£??\\\n\t\tlong[][] aryC = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}\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 l = scan.nextInt();", "l", "scan.nextInt()", "scan.nextInt", "scan", "int[][] aryA = new int[n][m];", "aryA", "new int[n][m]", "n", "m", "for(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}", "int ai = 0;", "int ai = 0;", "ai", "0", "ai < n", "ai", "n", "ai++", "ai++", "ai", "{\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}", "for(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}", "int aj = 0;", "int aj = 0;", "aj", "0", "aj < m", "aj", "m", "aj++", "aj++", "aj", "{\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}", "aryA[ai][aj] = scan.nextInt()", "aryA[ai][aj]", "aryA[ai]", "aryA", "ai", "aj", "scan.nextInt()", "scan.nextInt", "scan", "int[][] aryB = new int[m][l];", "aryB", "new int[m][l]", "m", "l", "for(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}", "int bi = 0;", "int bi = 0;", "bi", "0", "bi < m", "bi", "m", "bi++", "bi++", "bi", "{\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}", "for(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}", "int bj = 0;", "int bj = 0;", "bj", "0", "bj < l", "bj", "l", "bj++", "bj++", "bj", "{\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}", "{\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}", "aryB[bi][bj] = scan.nextInt()", "aryB[bi][bj]", "aryB[bi]", "aryB", "bi", "bj", "scan.nextInt()", "scan.nextInt", "scan", "scan.close()", "scan.close", "scan", "long[][] aryC = new long[n][l];", "aryC", "new long[n][l]", "n", "l", "for(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\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 < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}", "for(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < l", "j", "l", "j++", "j++", "j", "{\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}", "for(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k < m", "k", "m", "k++", "k++", "k", "{\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}", "{\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}", "aryC[i][j] += aryA[i][k] * aryB[k][j]", "aryC[i][j]", "aryC[i]", "aryC", "i", "j", "aryA[i][k] * aryB[k][j]", "aryA[i][k]", "aryA[i]", "aryA", "i", "k", "aryB[k][j]", "aryB[k]", "aryB", "k", "j", "for(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}", "int ci = 0;", "int ci = 0;", "ci", "0", "ci < n", "ci", "n", "ci++", "ci++", "ci", "{\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}", "{\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}", "for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }", "int cj = 0;", "int cj = 0;", "cj", "0", "cj < l", "cj", "l", "cj++", "cj++", "cj", "{\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }", "{\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }", "System.out.print(aryC[ci][cj])", "System.out.print", "System.out", "System", "System.out", "aryC[ci][cj]", "aryC[ci]", "aryC", "ci", "cj", "if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }", "cj != l-1", "cj", "l-1", "l", "1", "{\n\t\t\t\t System.out.print(\" \");\n\t\t\t }", "System.out.print(\" \")", "System.out.print", "System.out", "System", "System.out", "\" \"", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t//n*m???????????£??\\\n\t\tint[][] aryA = new int[n][m];\n\t\tfor(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t//m*l???????????£??\\\n\t\tint[][] aryB = new int[m][l];\n\t\tfor(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\t//n*l????????????????????£??\\\n\t\tlong[][] aryC = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}\n\t\t\n\t}\n\n}", "public class Main {\n\t\n\tpublic static void main(String[] args){\n\t\t\n\t\tScanner scan = new Scanner(System.in);\n\t\t\n\t\tint n = scan.nextInt();\n\t\tint m = scan.nextInt();\n\t\tint l = scan.nextInt();\n\t\t\n\t\t//n*m???????????£??\\\n\t\tint[][] aryA = new int[n][m];\n\t\tfor(int ai = 0; ai < n; ai++){\n\t\t\tfor(int aj = 0; aj < m; aj++){\n\t\t\t\taryA[ai][aj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\t//m*l???????????£??\\\n\t\tint[][] aryB = new int[m][l];\n\t\tfor(int bi = 0; bi < m; bi++ ){\n\t\t\tfor(int bj = 0; bj < l; bj++){\n\t\t\t\taryB[bi][bj] = scan.nextInt();\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t\t//n*l????????????????????£??\\\n\t\tlong[][] aryC = new long[n][l];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tfor(int j = 0; j < l; j++){\n\t\t\t\tfor(int k = 0; k < m; k++){\n\t\t\t\t\taryC[i][j] += aryA[i][k] * aryB[k][j]; \t\t\t\t\t\n\t\t\t\t}\t\t\t\t\n\t\t\t}\n\t\t}\n\t\t\n\t\t//??????\n\t\tfor(int ci = 0; ci < n; ci++){\n\t\t for(int cj = 0; cj < l; cj++){\n\t\t\t System.out.print(aryC[ci][cj]);\n\t\t\t if(cj != l-1){\n\t\t\t\t System.out.print(\" \");\n\t\t\t }\n\t\t }\n\t\t System.out.println();\n\t\t}\n\t\t\n\t}\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 l = scan.nextInt(); //n*m???????????£??\ int[][] aryA = new int[n][m]; for(int ai = 0; ai < n; ai++){ for(int aj = 0; aj < m; aj++){ aryA[ai][aj] = scan.nextInt(); } } //m*l???????????£??\ int[][] aryB = new int[m][l]; for(int bi = 0; bi < m; bi++ ){ for(int bj = 0; bj < l; bj++){ aryB[bi][bj] = scan.nextInt(); } } scan.close(); //n*l????????????????????£??\ long[][] aryC = new long[n][l]; for(int i = 0; i < n; i++){ for(int j = 0; j < l; j++){ for(int k = 0; k < m; k++){ aryC[i][j] += aryA[i][k] * aryB[k][j]; } } } //?????? for(int ci = 0; ci < n; ci++){ for(int cj = 0; cj < l; cj++){ System.out.print(aryC[ci][cj]); if(cj != l-1){ System.out.print(" "); } } System.out.println(); } } }