node_ids
sequencelengths
4
1.4k
edge_index
sequencelengths
1
2.22k
text
sequencelengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 4, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 14, 4, 18, 17, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 18, 13, 17, 17, 14, 4, 18, 17, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 18, 13, 17, 17, 14, 4, 18, 17, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 18, 13, 17, 17, 14, 4, 18, 17, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 18, 13, 17, 17, 28, 13, 4, 18, 13, 30, 30, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 28, 13, 4, 18, 13, 30, 30, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 28, 13, 4, 18, 13, 30, 30, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 28, 13, 4, 18, 13, 30, 30, 14, 4, 18, 17, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 4, 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 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 23, 35 ], [ 35, 36 ], [ 35, 37 ], [ 23, 38 ], [ 38, 39 ], [ 38, 40 ], [ 23, 41 ], [ 41, 42 ], [ 41, 43 ], [ 23, 44 ], [ 44, 45 ], [ 44, 46 ], [ 23, 47 ], [ 47, 48 ], [ 47, 49 ], [ 23, 50 ], [ 50, 51 ], [ 50, 52 ], [ 23, 53 ], [ 53, 54 ], [ 53, 55 ], [ 23, 56 ], [ 56, 57 ], [ 56, 58 ], [ 23, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 72, 76 ], [ 71, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 77, 81 ], [ 71, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 82, 86 ], [ 71, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 87, 91 ], [ 23, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 107, 112 ], [ 104, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 117, 118 ], [ 117, 119 ], [ 113, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 127, 128 ], [ 127, 129 ], [ 121, 130 ], [ 113, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 135, 136 ], [ 135, 137 ], [ 131, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 145, 147 ], [ 139, 148 ], [ 131, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 153, 154 ], [ 153, 155 ], [ 149, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 160, 161 ], [ 161, 162 ], [ 160, 163 ], [ 163, 164 ], [ 163, 165 ], [ 157, 166 ], [ 149, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 171, 173 ], [ 167, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 181, 182 ], [ 181, 183 ], [ 175, 184 ], [ 23, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 185, 190 ], [ 191, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 192, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 23, 205 ], [ 205, 206 ], [ 206, 207 ], [ 205, 208 ], [ 23, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 212, 213 ], [ 209, 214 ], [ 215, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 217, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 216, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 225, 228 ], [ 23, 229 ], [ 229, 230 ], [ 230, 231 ], [ 229, 232 ], [ 23, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 233, 238 ], [ 239, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 241, 244 ], [ 244, 245 ], [ 245, 246 ], [ 244, 247 ], [ 240, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 249, 252 ], [ 23, 253 ], [ 253, 254 ], [ 254, 255 ], [ 253, 256 ], [ 23, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 260, 261 ], [ 257, 262 ], [ 263, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 265, 268 ], [ 268, 269 ], [ 269, 270 ], [ 268, 271 ], [ 264, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 273, 276 ], [ 23, 277 ], [ 277, 278 ], [ 278, 279 ], [ 277, 280 ], [ 23, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 281, 286 ], [ 286, 287 ], [ 286, 288 ], [ 288, 289 ], [ 289, 290 ], [ 281, 291 ], [ 291, 292 ], [ 292, 293 ], [ 281, 294 ], [ 295, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 296, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 304, 305 ], [ 303, 306 ], [ 23, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 309, 311 ], [ 307, 312 ], [ 312, 313 ], [ 312, 314 ], [ 314, 315 ], [ 315, 316 ], [ 307, 317 ], [ 317, 318 ], [ 318, 319 ], [ 307, 320 ], [ 321, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 322, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 330, 331 ], [ 329, 332 ], [ 23, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 333, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 333, 343 ], [ 343, 344 ], [ 344, 345 ], [ 333, 346 ], [ 347, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 348, 353 ], [ 353, 354 ], [ 353, 355 ], [ 355, 356 ], [ 356, 357 ], [ 355, 358 ], [ 23, 359 ], [ 359, 360 ], [ 360, 361 ], [ 361, 362 ], [ 361, 363 ], [ 359, 364 ], [ 364, 365 ], [ 364, 366 ], [ 366, 367 ], [ 367, 368 ], [ 359, 369 ], [ 369, 370 ], [ 370, 371 ], [ 359, 372 ], [ 373, 373 ], [ 373, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 376, 378 ], [ 374, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 382, 383 ], [ 381, 384 ], [ 21, 385 ], [ 385, 386 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashMap;\n\nclass Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tHashMap<Integer, String> spadeMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> heartMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> clubMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> daiyaMap = new HashMap<Integer, String>();\n\t\tArrayList<Integer> spadeList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heartList = new ArrayList<Integer>();\n\t\tArrayList<Integer> clubList = new ArrayList<Integer>();\n\t\tArrayList<Integer> daiyaList = new ArrayList<Integer>();\n\t\tfor (int i = 1; i < 14; i++) {\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}\n\t\tfor (Integer key: spadeMap.keySet()) {\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(spadeList);\n\t\tfor (Integer key: heartMap.keySet()) {\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(heartList);\n\t\tfor (Integer key: clubMap.keySet()) {\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(clubList);\n\t\tfor (Integer key: daiyaMap.keySet()) {\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(daiyaList);\n\t\tfor (int i = 0; i < spadeList.size(); i++) {\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < heartList.size(); i++) {\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < clubList.size(); i++) {\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < daiyaList.size(); i++) {\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tHashMap<Integer, String> spadeMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> heartMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> clubMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> daiyaMap = new HashMap<Integer, String>();\n\t\tArrayList<Integer> spadeList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heartList = new ArrayList<Integer>();\n\t\tArrayList<Integer> clubList = new ArrayList<Integer>();\n\t\tArrayList<Integer> daiyaList = new ArrayList<Integer>();\n\t\tfor (int i = 1; i < 14; i++) {\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}\n\t\tfor (Integer key: spadeMap.keySet()) {\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(spadeList);\n\t\tfor (Integer key: heartMap.keySet()) {\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(heartList);\n\t\tfor (Integer key: clubMap.keySet()) {\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(clubList);\n\t\tfor (Integer key: daiyaMap.keySet()) {\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(daiyaList);\n\t\tfor (int i = 0; i < spadeList.size(); i++) {\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < heartList.size(); i++) {\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < clubList.size(); i++) {\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < daiyaList.size(); i++) {\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tHashMap<Integer, String> spadeMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> heartMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> clubMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> daiyaMap = new HashMap<Integer, String>();\n\t\tArrayList<Integer> spadeList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heartList = new ArrayList<Integer>();\n\t\tArrayList<Integer> clubList = new ArrayList<Integer>();\n\t\tArrayList<Integer> daiyaList = new ArrayList<Integer>();\n\t\tfor (int i = 1; i < 14; i++) {\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}\n\t\tfor (Integer key: spadeMap.keySet()) {\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(spadeList);\n\t\tfor (Integer key: heartMap.keySet()) {\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(heartList);\n\t\tfor (Integer key: clubMap.keySet()) {\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(clubList);\n\t\tfor (Integer key: daiyaMap.keySet()) {\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(daiyaList);\n\t\tfor (int i = 0; i < spadeList.size(); i++) {\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < heartList.size(); i++) {\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < clubList.size(); i++) {\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < daiyaList.size(); i++) {\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tInteger count = Integer.parseInt(br.readLine());\n\t\tHashMap<Integer, String> spadeMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> heartMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> clubMap = new HashMap<Integer, String>();\n\t\tHashMap<Integer, String> daiyaMap = new HashMap<Integer, String>();\n\t\tArrayList<Integer> spadeList = new ArrayList<Integer>();\n\t\tArrayList<Integer> heartList = new ArrayList<Integer>();\n\t\tArrayList<Integer> clubList = new ArrayList<Integer>();\n\t\tArrayList<Integer> daiyaList = new ArrayList<Integer>();\n\t\tfor (int i = 1; i < 14; i++) {\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}\n\t\tfor (int i = 0; i < count; i++) {\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}\n\t\tfor (Integer key: spadeMap.keySet()) {\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(spadeList);\n\t\tfor (Integer key: heartMap.keySet()) {\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(heartList);\n\t\tfor (Integer key: clubMap.keySet()) {\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(clubList);\n\t\tfor (Integer key: daiyaMap.keySet()) {\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}\n\t\tCollections.sort(daiyaList);\n\t\tfor (int i = 0; i < spadeList.size(); i++) {\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < heartList.size(); i++) {\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < clubList.size(); i++) {\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}\n\t\tfor (int i = 0; i < daiyaList.size(); i++) {\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Integer count = Integer.parseInt(br.readLine());", "count", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "HashMap<Integer, String> spadeMap = new HashMap<Integer, String>();", "spadeMap", "new HashMap<Integer, String>()", "HashMap<Integer, String> heartMap = new HashMap<Integer, String>();", "heartMap", "new HashMap<Integer, String>()", "HashMap<Integer, String> clubMap = new HashMap<Integer, String>();", "clubMap", "new HashMap<Integer, String>()", "HashMap<Integer, String> daiyaMap = new HashMap<Integer, String>();", "daiyaMap", "new HashMap<Integer, String>()", "ArrayList<Integer> spadeList = new ArrayList<Integer>();", "spadeList", "new ArrayList<Integer>()", "ArrayList<Integer> heartList = new ArrayList<Integer>();", "heartList", "new ArrayList<Integer>()", "ArrayList<Integer> clubList = new ArrayList<Integer>();", "clubList", "new ArrayList<Integer>()", "ArrayList<Integer> daiyaList = new ArrayList<Integer>();", "daiyaList", "new ArrayList<Integer>()", "for (int i = 1; i < 14; i++) {\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < 14", "i", "14", "i++", "i++", "i", "{\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}", "{\n\t\t\tspadeMap.put(i, \"×\");\n\t\t\theartMap.put(i, \"×\");\n\t\t\tclubMap.put(i, \"×\");\n\t\t\tdaiyaMap.put(i, \"×\");\n\t\t}", "spadeMap.put(i, \"×\")", "spadeMap.put", "spadeMap", "i", "\"×\"", "heartMap.put(i, \"×\")", "heartMap.put", "heartMap", "i", "\"×\"", "clubMap.put(i, \"×\")", "clubMap.put", "clubMap", "i", "\"×\"", "daiyaMap.put(i, \"×\")", "daiyaMap.put", "daiyaMap", "i", "\"×\"", "for (int i = 0; i < count; i++) {\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}", "{\n\t\t\tString[] numArrays = br.readLine().split(\" \");\n\t\t\tif (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}\n\t\t}", "String[] numArrays = br.readLine().split(\" \");", "numArrays", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "if (\"S\".equals(numArrays[0])) {\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "\"S\".equals(numArrays[0])", "\"S\".equals", "\"S\"", "numArrays[0]", "numArrays", "0", "{\n\t\t\t\tspadeMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "spadeMap.put(Integer.parseInt(numArrays[1]), \"◯\")", "spadeMap.put", "spadeMap", "Integer.parseInt(numArrays[1])", "Integer.parseInt", "Integer", "numArrays[1]", "numArrays", "1", "\"◯\"", "if (\"H\".equals(numArrays[0])) {\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "\"H\".equals(numArrays[0])", "\"H\".equals", "\"H\"", "numArrays[0]", "numArrays", "0", "{\n\t\t\t\theartMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "heartMap.put(Integer.parseInt(numArrays[1]), \"◯\")", "heartMap.put", "heartMap", "Integer.parseInt(numArrays[1])", "Integer.parseInt", "Integer", "numArrays[1]", "numArrays", "1", "\"◯\"", "if (\"C\".equals(numArrays[0])) {\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t} else if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "\"C\".equals(numArrays[0])", "\"C\".equals", "\"C\"", "numArrays[0]", "numArrays", "0", "{\n\t\t\t\tclubMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "clubMap.put(Integer.parseInt(numArrays[1]), \"◯\")", "clubMap.put", "clubMap", "Integer.parseInt(numArrays[1])", "Integer.parseInt", "Integer", "numArrays[1]", "numArrays", "1", "\"◯\"", "if (\"D\".equals(numArrays[0])) {\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "\"D\".equals(numArrays[0])", "\"D\".equals", "\"D\"", "numArrays[0]", "numArrays", "0", "{\n\t\t\t\tdaiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\");\n\t\t\t}", "daiyaMap.put(Integer.parseInt(numArrays[1]), \"◯\")", "daiyaMap.put", "daiyaMap", "Integer.parseInt(numArrays[1])", "Integer.parseInt", "Integer", "numArrays[1]", "numArrays", "1", "\"◯\"", "for (Integer key: spadeMap.keySet()) {\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}", "Integer key", "spadeMap.keySet()", "spadeMap.keySet", "spadeMap", "{\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}\n\t\t}", "if (\"×\".equals(spadeMap.get(key))) {\n\t\t\t\tspadeList.add(key);\n\t\t\t}", "\"×\".equals(spadeMap.get(key))", "\"×\".equals", "\"×\"", "spadeMap.get(key)", "spadeMap.get", "spadeMap", "key", "{\n\t\t\t\tspadeList.add(key);\n\t\t\t}", "spadeList.add(key)", "spadeList.add", "spadeList", "key", "Collections.sort(spadeList)", "Collections.sort", "Collections", "spadeList", "for (Integer key: heartMap.keySet()) {\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}", "Integer key", "heartMap.keySet()", "heartMap.keySet", "heartMap", "{\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}\n\t\t}", "if (\"×\".equals(heartMap.get(key))) {\n\t\t\t\theartList.add(key);\n\t\t\t}", "\"×\".equals(heartMap.get(key))", "\"×\".equals", "\"×\"", "heartMap.get(key)", "heartMap.get", "heartMap", "key", "{\n\t\t\t\theartList.add(key);\n\t\t\t}", "heartList.add(key)", "heartList.add", "heartList", "key", "Collections.sort(heartList)", "Collections.sort", "Collections", "heartList", "for (Integer key: clubMap.keySet()) {\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}", "Integer key", "clubMap.keySet()", "clubMap.keySet", "clubMap", "{\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}\n\t\t}", "if (\"×\".equals(clubMap.get(key))) {\n\t\t\t\tclubList.add(key);\n\t\t\t}", "\"×\".equals(clubMap.get(key))", "\"×\".equals", "\"×\"", "clubMap.get(key)", "clubMap.get", "clubMap", "key", "{\n\t\t\t\tclubList.add(key);\n\t\t\t}", "clubList.add(key)", "clubList.add", "clubList", "key", "Collections.sort(clubList)", "Collections.sort", "Collections", "clubList", "for (Integer key: daiyaMap.keySet()) {\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}", "Integer key", "daiyaMap.keySet()", "daiyaMap.keySet", "daiyaMap", "{\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}\n\t\t}", "if (\"×\".equals(daiyaMap.get(key))) {\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}", "\"×\".equals(daiyaMap.get(key))", "\"×\".equals", "\"×\"", "daiyaMap.get(key)", "daiyaMap.get", "daiyaMap", "key", "{\n\t\t\t\tdaiyaList.add(key);\n\t\t\t}", "daiyaList.add(key)", "daiyaList.add", "daiyaList", "key", "Collections.sort(daiyaList)", "Collections.sort", "Collections", "daiyaList", "for (int i = 0; i < spadeList.size(); i++) {\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < spadeList.size()", "i", "spadeList.size()", "spadeList.size", "spadeList", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(\"S \" + spadeList.get(i));\n\t\t}", "System.out.println(\"S \" + spadeList.get(i))", "System.out.println", "System.out", "System", "System.out", "\"S \" + spadeList.get(i)", "\"S \"", "spadeList.get(i)", "spadeList.get", "spadeList", "i", "for (int i = 0; i < heartList.size(); i++) {\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < heartList.size()", "i", "heartList.size()", "heartList.size", "heartList", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(\"H \" + heartList.get(i));\n\t\t}", "System.out.println(\"H \" + heartList.get(i))", "System.out.println", "System.out", "System", "System.out", "\"H \" + heartList.get(i)", "\"H \"", "heartList.get(i)", "heartList.get", "heartList", "i", "for (int i = 0; i < clubList.size(); i++) {\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < clubList.size()", "i", "clubList.size()", "clubList.size", "clubList", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(\"C \" + clubList.get(i));\n\t\t}", "System.out.println(\"C \" + clubList.get(i))", "System.out.println", "System.out", "System", "System.out", "\"C \" + clubList.get(i)", "\"C \"", "clubList.get(i)", "clubList.get", "clubList", "i", "for (int i = 0; i < daiyaList.size(); i++) {\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < daiyaList.size()", "i", "daiyaList.size()", "daiyaList.size", "daiyaList", "i++", "i++", "i", "{\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}", "{\n\t\t\tSystem.out.println(\"D \" + daiyaList.get(i));\n\t\t}", "System.out.println(\"D \" + daiyaList.get(i))", "System.out.println", "System.out", "System", "System.out", "\"D \" + daiyaList.get(i)", "\"D \"", "daiyaList.get(i)", "daiyaList.get", "daiyaList", "i", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Collections; import java.util.HashMap; class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Integer count = Integer.parseInt(br.readLine()); HashMap<Integer, String> spadeMap = new HashMap<Integer, String>(); HashMap<Integer, String> heartMap = new HashMap<Integer, String>(); HashMap<Integer, String> clubMap = new HashMap<Integer, String>(); HashMap<Integer, String> daiyaMap = new HashMap<Integer, String>(); ArrayList<Integer> spadeList = new ArrayList<Integer>(); ArrayList<Integer> heartList = new ArrayList<Integer>(); ArrayList<Integer> clubList = new ArrayList<Integer>(); ArrayList<Integer> daiyaList = new ArrayList<Integer>(); for (int i = 1; i < 14; i++) { spadeMap.put(i, "×"); heartMap.put(i, "×"); clubMap.put(i, "×"); daiyaMap.put(i, "×"); } for (int i = 0; i < count; i++) { String[] numArrays = br.readLine().split(" "); if ("S".equals(numArrays[0])) { spadeMap.put(Integer.parseInt(numArrays[1]), "◯"); } else if ("H".equals(numArrays[0])) { heartMap.put(Integer.parseInt(numArrays[1]), "◯"); } else if ("C".equals(numArrays[0])) { clubMap.put(Integer.parseInt(numArrays[1]), "◯"); } else if ("D".equals(numArrays[0])) { daiyaMap.put(Integer.parseInt(numArrays[1]), "◯"); } } for (Integer key: spadeMap.keySet()) { if ("×".equals(spadeMap.get(key))) { spadeList.add(key); } } Collections.sort(spadeList); for (Integer key: heartMap.keySet()) { if ("×".equals(heartMap.get(key))) { heartList.add(key); } } Collections.sort(heartList); for (Integer key: clubMap.keySet()) { if ("×".equals(clubMap.get(key))) { clubList.add(key); } } Collections.sort(clubList); for (Integer key: daiyaMap.keySet()) { if ("×".equals(daiyaMap.get(key))) { daiyaList.add(key); } } Collections.sort(daiyaList); for (int i = 0; i < spadeList.size(); i++) { System.out.println("S " + spadeList.get(i)); } for (int i = 0; i < heartList.size(); i++) { System.out.println("H " + heartList.get(i)); } for (int i = 0; i < clubList.size(); i++) { System.out.println("C " + clubList.get(i)); } for (int i = 0; i < daiyaList.size(); i++) { System.out.println("D " + daiyaList.get(i)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 13, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 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 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 56, 57 ], [ 56, 58 ], [ 45, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 45, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 45, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 45, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 45, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 95, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 102, 112 ], [ 112, 113 ], [ 113, 114 ], [ 102, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 8, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 141, 143 ], [ 134, 144 ], [ 144, 145 ], [ 145, 146 ], [ 134, 147 ], [ 148, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 149, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 163, 165 ], [ 8, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 166, 176 ], [ 176, 177 ], [ 177, 178 ], [ 166, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 181, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 188, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 195, 197 ], [ 8, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 205, 207 ], [ 198, 208 ], [ 208, 209 ], [ 209, 210 ], [ 198, 211 ], [ 212, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 213, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 227, 229 ], [ 6, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tboolean[] spade = new boolean[13];\n\t\tboolean[] dia = new boolean[13];\n\t\tboolean[] club = new boolean[13];\n\t\tboolean[] heart = new boolean[13];\n\n\t\tint n = stdin.nextInt();\n\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}\n\n\t\tfor (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\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\tScanner stdin = new Scanner(System.in);\n\t\tboolean[] spade = new boolean[13];\n\t\tboolean[] dia = new boolean[13];\n\t\tboolean[] club = new boolean[13];\n\t\tboolean[] heart = new boolean[13];\n\n\t\tint n = stdin.nextInt();\n\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}\n\n\t\tfor (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tboolean[] spade = new boolean[13];\n\t\tboolean[] dia = new boolean[13];\n\t\tboolean[] club = new boolean[13];\n\t\tboolean[] heart = new boolean[13];\n\n\t\tint n = stdin.nextInt();\n\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}\n\n\t\tfor (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}\n\n\t}", "main", "{\n\t\tScanner stdin = new Scanner(System.in);\n\t\tboolean[] spade = new boolean[13];\n\t\tboolean[] dia = new boolean[13];\n\t\tboolean[] club = new boolean[13];\n\t\tboolean[] heart = new boolean[13];\n\n\t\tint n = stdin.nextInt();\n\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}\n\n\t\tfor (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}\n\n\t}", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "boolean[] spade = new boolean[13];", "spade", "new boolean[13]", "13", "boolean[] dia = new boolean[13];", "dia", "new boolean[13]", "13", "boolean[] club = new boolean[13];", "club", "new boolean[13]", "13", "boolean[] heart = new boolean[13];", "heart", "new boolean[13]", "13", "int n = stdin.nextInt();", "n", "stdin.nextInt()", "stdin.nextInt", "stdin", "for (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}", "{\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}", "String markChar = stdin.next();", "markChar", "stdin.next()", "stdin.next", "stdin", "int number = stdin.nextInt();", "number", "stdin.nextInt()", "stdin.nextInt", "stdin", "boolean[] mark = null;", "mark", "null", "if (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}", "markChar.equals(\"S\")", "markChar.equals", "markChar", "\"S\"", "{\n\t\t\t\tmark = spade;\n\t\t\t}", "mark = spade", "mark", "spade", "if (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}", "markChar.equals(\"H\")", "markChar.equals", "markChar", "\"H\"", "{\n\t\t\t\tmark = heart;\n\t\t\t}", "mark = heart", "mark", "heart", "if (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}", "markChar.equals(\"C\")", "markChar.equals", "markChar", "\"C\"", "{\n\t\t\t\tmark = club;\n\t\t\t}", "mark = club", "mark", "club", "if (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}", "markChar.equals(\"D\")", "markChar.equals", "markChar", "\"D\"", "{\n\t\t\t\tmark = dia;\n\t\t\t}", "mark = dia", "mark", "dia", "mark[number - 1] = true", "mark[number - 1]", "mark", "number - 1", "number", "1", "true", "for (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < spade.length", "i", "spade.length", "spade", "spade.length", "i++", "i++", "i", "{\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}", "if (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}", "spade[i] != true", "spade[i]", "spade", "i", "true", "{\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}", "System.out.println(\"S \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i + 1)", "\"S \"", "(i + 1)", "i", "1", "for (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < heart.length", "i", "heart.length", "heart", "heart.length", "i++", "i++", "i", "{\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}", "if (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}", "heart[i] != true", "heart[i]", "heart", "i", "true", "{\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}", "System.out.println(\"H \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i + 1)", "\"H \"", "(i + 1)", "i", "1", "for (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < club.length", "i", "club.length", "club", "club.length", "i++", "i++", "i", "{\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}", "if (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}", "club[i] != true", "club[i]", "club", "i", "true", "{\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}", "System.out.println(\"C \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i + 1)", "\"C \"", "(i + 1)", "i", "1", "for (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < dia.length", "i", "dia.length", "dia", "dia.length", "i++", "i++", "i", "{\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}", "{\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}", "if (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}", "dia[i] != true", "dia[i]", "dia", "i", "true", "{\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}", "System.out.println(\"D \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i + 1)", "\"D \"", "(i + 1)", "i", "1", "String[] args", "args", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tboolean[] spade = new boolean[13];\n\t\tboolean[] dia = new boolean[13];\n\t\tboolean[] club = new boolean[13];\n\t\tboolean[] heart = new boolean[13];\n\n\t\tint n = stdin.nextInt();\n\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}\n\n\t\tfor (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}", "public class Main{\n\n\tpublic static void main(String[] args) {\n\t\tScanner stdin = new Scanner(System.in);\n\t\tboolean[] spade = new boolean[13];\n\t\tboolean[] dia = new boolean[13];\n\t\tboolean[] club = new boolean[13];\n\t\tboolean[] heart = new boolean[13];\n\n\t\tint n = stdin.nextInt();\n\n\t\tfor (int i = 0; i < n; ++i) {\n\t\t\tString markChar = stdin.next();\n\t\t\tint number = stdin.nextInt();\n\t\t\tboolean[] mark = null;\n\t\t\tif (markChar.equals(\"S\")) {\n\t\t\t\tmark = spade;\n\t\t\t}\n\t\t\tif (markChar.equals(\"H\")) {\n\t\t\t\tmark = heart;\n\t\t\t}\n\t\t\tif (markChar.equals(\"C\")) {\n\t\t\t\tmark = club;\n\t\t\t}\n\t\t\tif (markChar.equals(\"D\")) {\n\t\t\t\tmark = dia;\n\t\t\t}\n\t\t\tmark[number - 1] = true;\n\n\t\t}\n\n\t\tfor (int i = 0; i < spade.length; i++) {\n\t\t\tif (spade[i] != true) {\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < heart.length; i++) {\n\t\t\tif (heart[i] != true) {\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < club.length; i++) {\n\t\t\tif (club[i] != true) {\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < dia.length; i++) {\n\t\t\tif (dia[i] != true) {\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner stdin = new Scanner(System.in); boolean[] spade = new boolean[13]; boolean[] dia = new boolean[13]; boolean[] club = new boolean[13]; boolean[] heart = new boolean[13]; int n = stdin.nextInt(); for (int i = 0; i < n; ++i) { String markChar = stdin.next(); int number = stdin.nextInt(); boolean[] mark = null; if (markChar.equals("S")) { mark = spade; } if (markChar.equals("H")) { mark = heart; } if (markChar.equals("C")) { mark = club; } if (markChar.equals("D")) { mark = dia; } mark[number - 1] = true; } for (int i = 0; i < spade.length; i++) { if (spade[i] != true) { System.out.println("S " + (i + 1)); } } for (int i = 0; i < heart.length; i++) { if (heart[i] != true) { System.out.println("H " + (i + 1)); } } for (int i = 0; i < club.length; i++) { if (club[i] != true) { System.out.println("C " + (i + 1)); } } for (int i = 0; i < dia.length; i++) { if (dia[i] != true) { System.out.println("D " + (i + 1)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 2, 2, 13, 17, 2, 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 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 25 ], [ 25, 26 ], [ 8, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 44, 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 ], [ 59, 61 ], [ 58, 62 ], [ 57, 63 ], [ 8, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 64, 72 ], [ 72, 73 ], [ 73, 74 ], [ 64, 75 ], [ 76, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 79, 84 ], [ 76, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 85, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 98, 105 ], [ 93, 106 ], [ 85, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 107, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 124, 126 ], [ 120, 127 ], [ 115, 128 ], [ 107, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 129, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 146, 148 ], [ 142, 149 ], [ 137, 150 ], [ 129, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 152, 157 ], [ 151, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 168, 170 ], [ 164, 171 ], [ 159, 172 ], [ 8, 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 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 199, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 211, 212 ], [ 211, 213 ], [ 207, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 218, 219 ], [ 218, 220 ], [ 214, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 221, 225 ], [ 225, 226 ], [ 225, 227 ], [ 221, 228 ], [ 228, 229 ], [ 228, 230 ], [ 206, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 231, 236 ], [ 237, 237 ], [ 237, 238 ], [ 237, 239 ], [ 237, 240 ], [ 240, 241 ], [ 240, 242 ], [ 6, 243 ], [ 243, 244 ] ]
[ "import java.io.*;\n\nclass Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n boolean[][] cards = new boolean[4][13];\n String[] card;\n int i, j;\n char c;\n for (i = 0; i < 4; i++) for (j = 0; j < 13; j++) cards[i][j] = false;\n for (i = 0; i < n; i++) {\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }\n for (i = 0; i < 4; i++) {\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }\n }\n}", "import java.io.*;", "io.*", "java", "class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n boolean[][] cards = new boolean[4][13];\n String[] card;\n int i, j;\n char c;\n for (i = 0; i < 4; i++) for (j = 0; j < 13; j++) cards[i][j] = false;\n for (i = 0; i < n; i++) {\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }\n for (i = 0; i < 4; i++) {\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }\n }\n}", "Main", "public static void main (String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n boolean[][] cards = new boolean[4][13];\n String[] card;\n int i, j;\n char c;\n for (i = 0; i < 4; i++) for (j = 0; j < 13; j++) cards[i][j] = false;\n for (i = 0; i < n; i++) {\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }\n for (i = 0; i < 4; i++) {\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n boolean[][] cards = new boolean[4][13];\n String[] card;\n int i, j;\n char c;\n for (i = 0; i < 4; i++) for (j = 0; j < 13; j++) cards[i][j] = false;\n for (i = 0; i < n; i++) {\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }\n for (i = 0; i < 4; i++) {\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "boolean[][] cards = new boolean[4][13];", "cards", "new boolean[4][13]", "4", "13", "String[] card;", "card", "int i", "i", "j;", "j", "char c;", "c", "for (i = 0; i < 4; i++) for (j = 0; j < 13; j++) cards[i][j] = false;", "i = 0;", "i = 0", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "for (j = 0; j < 13; j++) cards[i][j] = false;", "for (j = 0; j < 13; j++) cards[i][j] = false;", "j = 0;", "j = 0", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "cards[i][j] = false;", "cards[i][j] = false", "cards[i][j]", "cards[i]", "cards", "i", "j", "false", "for (i = 0; i < n; i++) {\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }", "{\n card = br.readLine().split(\" \");\n if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }\n }", "card = br.readLine().split(\" \")", "card", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "if (card[0].equals(\"S\")) {\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }", "card[0].equals(\"S\")", "card[0].equals", "card[0]", "card", "0", "\"S\"", "{\n cards[0][Integer.parseInt(card[1]) - 1] = true;\n }", "cards[0][Integer.parseInt(card[1]) - 1] = true", "cards[0][Integer.parseInt(card[1]) - 1]", "cards[0]", "cards", "0", "Integer.parseInt(card[1]) - 1", "Integer.parseInt(card[1])", "Integer.parseInt", "Integer", "card[1]", "card", "1", "1", "true", "if (card[0].equals(\"H\")) {\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }", "card[0].equals(\"H\")", "card[0].equals", "card[0]", "card", "0", "\"H\"", "{\n cards[1][Integer.parseInt(card[1]) - 1] = true;\n }", "cards[1][Integer.parseInt(card[1]) - 1] = true", "cards[1][Integer.parseInt(card[1]) - 1]", "cards[1]", "cards", "1", "Integer.parseInt(card[1]) - 1", "Integer.parseInt(card[1])", "Integer.parseInt", "Integer", "card[1]", "card", "1", "1", "true", "if (card[0].equals(\"C\")) {\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n } else if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }", "card[0].equals(\"C\")", "card[0].equals", "card[0]", "card", "0", "\"C\"", "{\n cards[2][Integer.parseInt(card[1]) - 1] = true;\n }", "cards[2][Integer.parseInt(card[1]) - 1] = true", "cards[2][Integer.parseInt(card[1]) - 1]", "cards[2]", "cards", "2", "Integer.parseInt(card[1]) - 1", "Integer.parseInt(card[1])", "Integer.parseInt", "Integer", "card[1]", "card", "1", "1", "true", "if (card[0].equals(\"D\")) {\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }", "card[0].equals(\"D\")", "card[0].equals", "card[0]", "card", "0", "\"D\"", "{\n cards[3][Integer.parseInt(card[1]) - 1] = true;\n }", "cards[3][Integer.parseInt(card[1]) - 1] = true", "cards[3][Integer.parseInt(card[1]) - 1]", "cards[3]", "cards", "3", "Integer.parseInt(card[1]) - 1", "Integer.parseInt(card[1])", "Integer.parseInt", "Integer", "card[1]", "card", "1", "1", "true", "for (i = 0; i < 4; i++) {\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }", "i = 0;", "i = 0", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }", "{\n for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }\n }", "for (j = 0; j < 13; j++) {\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }", "j = 0;", "j = 0", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }", "{\n if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }\n }", "if (!cards[i][j]) {\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }", "!cards[i][j]", "cards[i][j]", "cards[i]", "cards", "i", "j", "{\n if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';\n System.out.println(c + \" \" + (j + 1));\n }", "if (i == 0) c = 'S';\n else if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';", "i == 0", "i", "0", "c = 'S'", "c", "'S'", "if (i == 1) c = 'H';\n else if (i == 2) c = 'C';\n else c = 'D';", "i == 1", "i", "1", "c = 'H'", "c", "'H'", "if (i == 2) c = 'C';\n else c = 'D';", "i == 2", "i", "2", "c = 'C'", "c", "'C'", "c = 'D'", "c", "'D'", "System.out.println(c + \" \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "c + \" \" + (j + 1)", "c + \" \" + (j + 1)", "c", "\" \"", "(j + 1)", "j", "1", "String[] args", "args" ]
import java.io.*; class Main { public static void main (String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); boolean[][] cards = new boolean[4][13]; String[] card; int i, j; char c; for (i = 0; i < 4; i++) for (j = 0; j < 13; j++) cards[i][j] = false; for (i = 0; i < n; i++) { card = br.readLine().split(" "); if (card[0].equals("S")) { cards[0][Integer.parseInt(card[1]) - 1] = true; } else if (card[0].equals("H")) { cards[1][Integer.parseInt(card[1]) - 1] = true; } else if (card[0].equals("C")) { cards[2][Integer.parseInt(card[1]) - 1] = true; } else if (card[0].equals("D")) { cards[3][Integer.parseInt(card[1]) - 1] = true; } } for (i = 0; i < 4; i++) { for (j = 0; j < 13; j++) { if (!cards[i][j]) { if (i == 0) c = 'S'; else if (i == 1) c = 'H'; else if (i == 2) c = 'C'; else c = 'D'; System.out.println(c + " " + (j + 1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 0, 18, 13, 13, 0, 18, 13, 13, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 16, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 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 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 65, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 70, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 85, 90 ], [ 82, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 82, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 99, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 106, 112 ], [ 99, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 113, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 123, 125 ], [ 120, 126 ], [ 113, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 127, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 137, 139 ], [ 134, 140 ], [ 127, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 141, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 151, 153 ], [ 148, 154 ], [ 8, 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 ], [ 169, 173 ], [ 168, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 181, 183 ], [ 8, 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 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 210, 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 ], [ 227, 231 ], [ 226, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 237, 238 ], [ 237, 239 ], [ 239, 240 ], [ 239, 241 ], [ 8, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 242, 247 ], [ 247, 248 ], [ 247, 249 ], [ 242, 250 ], [ 250, 251 ], [ 251, 252 ], [ 242, 253 ], [ 254, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 255, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 263, 265 ], [ 261, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 268, 270 ], [ 6, 271 ], [ 271, 272 ] ]
[ "import java.io.*;\n\nclass Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cards;\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tint num;\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\tfor(int i=0; i<13; i++){\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i< 13; i++){\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}\n\t\tfor(int i= 0; i<13; i++){\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}\n\t\t\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main{\n\tpublic static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cards;\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tint num;\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\tfor(int i=0; i<13; i++){\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i< 13; i++){\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}\n\t\tfor(int i= 0; i<13; i++){\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String args[]) throws IOException{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cards;\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tint num;\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\tfor(int i=0; i<13; i++){\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i< 13; i++){\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}\n\t\tfor(int i= 0; i<13; i++){\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tBufferedReader buf = new BufferedReader(new InputStreamReader(System.in));\n\t\tString[] cards;\n\t\tint n = Integer.parseInt(buf.readLine());\n\t\tint num;\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\tfor(int i=0; i<13; i++){\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}\n\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i< 13; i++){\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}\n\t\tfor(int i=0; i<13; i++){\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}\n\t\tfor(int i= 0; i<13; i++){\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}\n\t\t\n\t}", "BufferedReader buf = new BufferedReader(new InputStreamReader(System.in));", "buf", "new BufferedReader(new InputStreamReader(System.in))", "String[] cards;", "cards", "int n = Integer.parseInt(buf.readLine());", "n", "Integer.parseInt(buf.readLine())", "Integer.parseInt", "Integer", "buf.readLine()", "buf.readLine", "buf", "int num;", "num", "boolean[] S = new boolean[13];", "S", "new boolean[13]", "13", "boolean[] H = new boolean[13];", "H", "new boolean[13]", "13", "boolean[] C = new boolean[13];", "C", "new boolean[13]", "13", "boolean[] D = new boolean[13];", "D", "new boolean[13]", "13", "for(int i=0; i<13; i++){\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}", "{\n\t\t\tS[i] = H[i] = C[i] = D[i] = false;\n\t\t}", "S[i] = H[i] = C[i] = D[i] = false", "S[i]", "S", "i", "H[i] = C[i] = D[i] = false", "H[i]", "H", "i", "C[i] = D[i] = false", "C[i]", "C", "i", "D[i] = false", "D[i]", "D", "i", "false", "for(int i=0; i<n; i++){\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}", "{\n\t\t\tcards = buf.readLine().split(\" \");\n\t\t\tnum = Integer.parseInt(cards[1]);\n\t\t\tif(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;\n\t\t}", "cards = buf.readLine().split(\" \")", "cards", "buf.readLine().split(\" \")", "buf.readLine().split", "buf.readLine()", "buf.readLine", "buf", "\" \"", "num = Integer.parseInt(cards[1])", "num", "Integer.parseInt(cards[1])", "Integer.parseInt", "Integer", "cards[1]", "cards", "1", "if(cards[0].equals(\"S\"))\n\t\t\t\tS[num-1] = true;\n\t\t\telse if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;", "cards[0].equals(\"S\")", "cards[0].equals", "cards[0]", "cards", "0", "\"S\"", "S[num-1] = true", "S[num-1]", "S", "num-1", "num", "1", "true", "if(cards[0].equals(\"H\"))\n\t\t\t\tH[num-1] = true;\n\t\t\telse if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;", "cards[0].equals(\"H\")", "cards[0].equals", "cards[0]", "cards", "0", "\"H\"", "H[num-1] = true", "H[num-1]", "H", "num-1", "num", "1", "true", "if(cards[0].equals(\"C\"))\n\t\t\t\tC[num-1] = true;\n\t\t\telse if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;", "cards[0].equals(\"C\")", "cards[0].equals", "cards[0]", "cards", "0", "\"C\"", "C[num-1] = true", "C[num-1]", "C", "num-1", "num", "1", "true", "if(cards[0].equals(\"D\"))\n\t\t\t\tD[num-1] = true;", "cards[0].equals(\"D\")", "cards[0].equals", "cards[0]", "cards", "0", "\"D\"", "D[num-1] = true", "D[num-1]", "D", "num-1", "num", "1", "true", "for(int i=0; i<13; i++){\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}", "{\n\t\t\tif(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t}", "if(S[i] == false)\n\t\t\t\tSystem.out.println(\"S \" + (i+1));", "S[i] == false", "S[i]", "S", "i", "false", "System.out.println(\"S \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i+1)", "\"S \"", "(i+1)", "i", "1", "for(int i=0; i< 13; i++){\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i< 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}", "{\n\t\t\tif(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t}", "if(H[i] == false)\n\t\t\t\tSystem.out.println(\"H \" + (i+1));", "H[i] == false", "H[i]", "H", "i", "false", "System.out.println(\"H \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i+1)", "\"H \"", "(i+1)", "i", "1", "for(int i=0; i<13; i++){\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}", "{\n\t\t\tif(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t}", "if(C[i] == false)\n\t\t\t\tSystem.out.println(\"C \" + (i+1));", "C[i] == false", "C[i]", "C", "i", "false", "System.out.println(\"C \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i+1)", "\"C \"", "(i+1)", "i", "1", "for(int i= 0; i<13; i++){\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}", "int i= 0;", "int i= 0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}", "{\n\t\t\tif(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t}", "if(D[i] == false)\n\t\t\tSystem.out.println(\"D \" + (i+1));", "D[i] == false", "D[i]", "D", "i", "false", "System.out.println(\"D \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i+1)", "\"D \"", "(i+1)", "i", "1", "String args[]", "args" ]
import java.io.*; class Main{ public static void main(String args[]) throws IOException{ BufferedReader buf = new BufferedReader(new InputStreamReader(System.in)); String[] cards; int n = Integer.parseInt(buf.readLine()); int num; boolean[] S = new boolean[13]; boolean[] H = new boolean[13]; boolean[] C = new boolean[13]; boolean[] D = new boolean[13]; for(int i=0; i<13; i++){ S[i] = H[i] = C[i] = D[i] = false; } for(int i=0; i<n; i++){ cards = buf.readLine().split(" "); num = Integer.parseInt(cards[1]); if(cards[0].equals("S")) S[num-1] = true; else if(cards[0].equals("H")) H[num-1] = true; else if(cards[0].equals("C")) C[num-1] = true; else if(cards[0].equals("D")) D[num-1] = true; } for(int i=0; i<13; i++){ if(S[i] == false) System.out.println("S " + (i+1)); } for(int i=0; i< 13; i++){ if(H[i] == false) System.out.println("H " + (i+1)); } for(int i=0; i<13; i++){ if(C[i] == false) System.out.println("C " + (i+1)); } for(int i= 0; i<13; i++){ if(D[i] == false) System.out.println("D " + (i+1)); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 13, 17, 13, 4, 13, 17, 13, 4, 13, 17, 13, 4, 13, 17, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 2, 13, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 13, 17, 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 ], [ 112, 11 ], [ 112, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 51, 54 ], [ 14, 55 ], [ 55, 56 ], [ 55, 57 ], [ 55, 58 ], [ 14, 59 ], [ 59, 60 ], [ 59, 61 ], [ 59, 62 ], [ 14, 63 ], [ 63, 64 ], [ 63, 65 ], [ 63, 66 ], [ 12, 67 ], [ 67, 68 ], [ 112, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 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 ], [ 88, 89 ], [ 87, 90 ], [ 91, 91 ], [ 91, 92 ], [ 91, 93 ], [ 91, 94 ], [ 86, 95 ], [ 85, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 103, 103 ], [ 103, 104 ], [ 103, 105 ], [ 103, 106 ], [ 69, 107 ], [ 107, 108 ], [ 69, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n int num = Integer.parseInt(line);\n\n ArrayList<String> list = new ArrayList<String>();\n\n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n\n\n findCard(\"S\", list);\n findCard(\"H\", list);\n findCard(\"C\", list);\n findCard(\"D\", list);\n\n /*\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n */\n }\n\n static void findCard(String mark, ArrayList list){\n \tfor (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n int num = Integer.parseInt(line);\n\n ArrayList<String> list = new ArrayList<String>();\n\n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n\n\n findCard(\"S\", list);\n findCard(\"H\", list);\n findCard(\"C\", list);\n findCard(\"D\", list);\n\n /*\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n */\n }\n\n static void findCard(String mark, ArrayList list){\n \tfor (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }\n }\n\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n int num = Integer.parseInt(line);\n\n ArrayList<String> list = new ArrayList<String>();\n\n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n\n\n findCard(\"S\", list);\n findCard(\"H\", list);\n findCard(\"C\", list);\n findCard(\"D\", list);\n\n /*\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n */\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n int num = Integer.parseInt(line);\n\n ArrayList<String> list = new ArrayList<String>();\n\n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n\n\n findCard(\"S\", list);\n findCard(\"H\", list);\n findCard(\"C\", list);\n findCard(\"D\", list);\n\n /*\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n */\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int num = Integer.parseInt(line);", "num", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n list.add(br.readLine());\n }", "{\n list.add(br.readLine());\n }", "list.add(br.readLine())", "list.add", "list", "br.readLine()", "br.readLine", "br", "findCard(\"S\", list)", "findCard", "\"S\"", "list", "findCard(\"H\", list)", "findCard", "\"H\"", "list", "findCard(\"C\", list)", "findCard", "\"C\"", "list", "findCard(\"D\", list)", "findCard", "\"D\"", "list", "String[] args", "args", "static void findCard(String mark, ArrayList list){\n \tfor (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }\n }", "findCard", "{\n \tfor (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }\n }", "for (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }", "{\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }", "if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }", "list.contains(mark + \" \" + i) == false", "list.contains(mark + \" \" + i)", "list.contains", "list", "mark + \" \" + i", "mark + \" \" + i", "mark", "\" \"", "i", "false", "{\n System.out.println(mark + \" \" + i);\n }", "System.out.println(mark + \" \" + i)", "System.out.println", "System.out", "System", "System.out", "mark + \" \" + i", "mark + \" \" + i", "mark", "\" \"", "i", "String mark", "mark", "ArrayList list", "list", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n int num = Integer.parseInt(line);\n\n ArrayList<String> list = new ArrayList<String>();\n\n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n\n\n findCard(\"S\", list);\n findCard(\"H\", list);\n findCard(\"C\", list);\n findCard(\"D\", list);\n\n /*\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n */\n }\n\n static void findCard(String mark, ArrayList list){\n \tfor (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }\n }\n\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n String line = br.readLine();\n int num = Integer.parseInt(line);\n\n ArrayList<String> list = new ArrayList<String>();\n\n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n\n\n findCard(\"S\", list);\n findCard(\"H\", list);\n findCard(\"C\", list);\n findCard(\"D\", list);\n\n /*\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n\n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n */\n }\n\n static void findCard(String mark, ArrayList list){\n \tfor (int i = 1; i <= 13; i++) {\n if(list.contains(mark + \" \" + i) == false){\n System.out.println(mark + \" \" + i);\n }\n }\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int num = Integer.parseInt(line); ArrayList<String> list = new ArrayList<String>(); for (int i = 0; i < num; i++) { list.add(br.readLine()); } findCard("S", list); findCard("H", list); findCard("C", list); findCard("D", list); /* for (int i = 1; i <= 13; i++) { if(list.contains("S " + i) == false){ System.out.println("S " + i); } } for (int i = 1; i <= 13; i++) { if(list.contains("H " + i) == false){ System.out.println("H " + i); } } for (int i = 1; i <= 13; i++) { if(list.contains("C " + i) == false){ System.out.println("C " + i); } } for (int i = 1; i <= 13; i++) { if(list.contains("D " + i) == false){ System.out.println("D " + i); } } */ } static void findCard(String mark, ArrayList list){ for (int i = 1; i <= 13; i++) { if(list.contains(mark + " " + i) == false){ System.out.println(mark + " " + i); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 203, 5 ], [ 203, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 45, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 60, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 75, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 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 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 132, 138 ], [ 131, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 140, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 167, 169 ], [ 155, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 170, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 197, 199 ], [ 6, 200 ], [ 200, 201 ], [ 0, 202 ], [ 202, 203 ], [ 202, 204 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n int[][] card = new int[4][13];\n int n = in.nextInt();\n\n for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\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 in = new Scanner(System.in);\n\n int[][] card = new int[4][13];\n int n = in.nextInt();\n\n for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n int[][] card = new int[4][13];\n int n = in.nextInt();\n\n for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }\n }", "main", "{\n Scanner in = new Scanner(System.in);\n\n int[][] card = new int[4][13];\n int n = in.nextInt();\n\n for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int[][] card = new int[4][13];", "card", "new int[4][13]", "4", "13", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }", "{\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }", "String s = in.next();", "s", "in.next()", "in.next", "in", "int r = in.nextInt();", "r", "in.nextInt()", "in.nextInt", "in", "if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }", "s.equals(\"S\")", "s.equals", "s", "\"S\"", "{\n card[0][r - 1] = 1;\n }", "card[0][r - 1] = 1", "card[0][r - 1]", "card[0]", "card", "0", "r - 1", "r", "1", "1", "if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }", "s.equals(\"H\")", "s.equals", "s", "\"H\"", "{\n card[1][r - 1] = 1;\n }", "card[1][r - 1] = 1", "card[1][r - 1]", "card[1]", "card", "1", "r - 1", "r", "1", "1", "if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }", "s.equals(\"C\")", "s.equals", "s", "\"C\"", "{\n card[2][r - 1] = 1;\n }", "card[2][r - 1] = 1", "card[2][r - 1]", "card[2]", "card", "2", "r - 1", "r", "1", "1", "if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }", "s.equals(\"D\")", "s.equals", "s", "\"D\"", "{\n card[3][r - 1] = 1;\n }", "card[3][r - 1] = 1", "card[3][r - 1]", "card[3]", "card", "3", "r - 1", "r", "1", "1", "for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }", "{\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }", "for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }", "{\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }", "if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }", "card[i][j] == 0", "card[i][j]", "card[i]", "card", "i", "j", "0", "{\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }", "if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }", "i == 0", "i", "0", "{\n System.out.println(\"S \" + (j + 1));\n }", "System.out.println(\"S \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (j + 1)", "\"S \"", "(j + 1)", "j", "1", "if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }", "i == 1", "i", "1", "{\n System.out.println(\"H \" + (j + 1));\n }", "System.out.println(\"H \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (j + 1)", "\"H \"", "(j + 1)", "j", "1", "if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }", "i == 2", "i", "2", "{\n System.out.println(\"C \" + (j + 1));\n }", "System.out.println(\"C \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (j + 1)", "\"C \"", "(j + 1)", "j", "1", "if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }", "i == 3", "i", "3", "{\n System.out.println(\"D \" + (j + 1));\n }", "System.out.println(\"D \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (j + 1)", "\"D \"", "(j + 1)", "j", "1", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n int[][] card = new int[4][13];\n int n = in.nextInt();\n\n for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n\n int[][] card = new int[4][13];\n int n = in.nextInt();\n\n for (int i = 0; i < n ; i++) {\n String s = in.next();\n int r = in.nextInt();\n if (s.equals(\"S\")) {\n card[0][r - 1] = 1;\n }\n else if (s.equals(\"H\")) {\n card[1][r - 1] = 1;\n }\n else if (s.equals(\"C\")) {\n card[2][r - 1] = 1;\n }\n else if (s.equals(\"D\")) {\n card[3][r - 1] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (card[i][j] == 0) {\n if (i == 0) {\n System.out.println(\"S \" + (j + 1));\n }\n else if (i == 1) {\n System.out.println(\"H \" + (j + 1));\n }\n else if (i == 2) {\n System.out.println(\"C \" + (j + 1));\n }\n else if (i == 3) {\n System.out.println(\"D \" + (j + 1));\n }\n }\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int[][] card = new int[4][13]; int n = in.nextInt(); for (int i = 0; i < n ; i++) { String s = in.next(); int r = in.nextInt(); if (s.equals("S")) { card[0][r - 1] = 1; } else if (s.equals("H")) { card[1][r - 1] = 1; } else if (s.equals("C")) { card[2][r - 1] = 1; } else if (s.equals("D")) { card[3][r - 1] = 1; } } for (int i = 0; i < 4; i++) { for (int j = 0; j < 13; j++) { if (card[i][j] == 0) { if (i == 0) { System.out.println("S " + (j + 1)); } else if (i == 1) { System.out.println("H " + (j + 1)); } else if (i == 2) { System.out.println("C " + (j + 1)); } else if (i == 3) { System.out.println("D " + (j + 1)); } } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 13, 14, 4, 18, 13, 17, 30, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 38 ], [ 38, 39 ], [ 38, 40 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 59, 64 ], [ 56, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 56, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 98, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 98, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 108, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 17, 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 ], [ 134, 135 ], [ 133, 136 ], [ 131, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 143, 144 ], [ 143, 145 ], [ 17, 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 ], [ 162, 163 ], [ 161, 164 ], [ 159, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 171, 172 ], [ 171, 173 ], [ 17, 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 ], [ 190, 191 ], [ 189, 192 ], [ 187, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 199, 201 ], [ 17, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 207, 208 ], [ 207, 209 ], [ 202, 210 ], [ 210, 211 ], [ 211, 212 ], [ 202, 213 ], [ 214, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 217, 220 ], [ 215, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 222, 227 ], [ 227, 228 ], [ 227, 229 ], [ 15, 230 ], [ 230, 231 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\nclass Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\tint rank = 13;\n\t\t\tArrayList<Integer> spade = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> heart = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> club = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> diamond = new ArrayList<Integer>();\n\n\t\t\tfor(int i = 0; i < num; i++){\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <=rank; i++){\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}\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", "import java.util.ArrayList;", "ArrayList", "java.util", "class Main{\n\n\tpublic static void main(String[] args) throws IOException{\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\tint rank = 13;\n\t\t\tArrayList<Integer> spade = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> heart = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> club = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> diamond = new ArrayList<Integer>();\n\n\t\t\tfor(int i = 0; i < num; i++){\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <=rank; i++){\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\tint rank = 13;\n\t\t\tArrayList<Integer> spade = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> heart = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> club = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> diamond = new ArrayList<Integer>();\n\n\t\t\tfor(int i = 0; i < num; i++){\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <=rank; i++){\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t}", "main", "{\n\n\t\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\tint num = Integer.parseInt(br.readLine());\n\t\t\tint rank = 13;\n\t\t\tArrayList<Integer> spade = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> heart = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> club = new ArrayList<Integer>();\n\t\t\tArrayList<Integer> diamond = new ArrayList<Integer>();\n\n\t\t\tfor(int i = 0; i < num; i++){\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <=rank; i++){\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(int i = 1; i <= rank; i++){\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}\n\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int num = Integer.parseInt(br.readLine());", "num", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int rank = 13;", "rank", "13", "ArrayList<Integer> spade = new ArrayList<Integer>();", "spade", "new ArrayList<Integer>()", "ArrayList<Integer> heart = new ArrayList<Integer>();", "heart", "new ArrayList<Integer>()", "ArrayList<Integer> club = new ArrayList<Integer>();", "club", "new ArrayList<Integer>()", "ArrayList<Integer> diamond = new ArrayList<Integer>();", "diamond", "new ArrayList<Integer>()", "for(int i = 0; i < num; i++){\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}", "{\n\n\t\t\t\tString[] token = br.readLine().split(\" \");\n\t\t\t\tString type = token[0];\n\t\t\t\tint rank_num = Integer.parseInt(token[1]);\n\n\t\t\t\tif(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}\n\n\t\t\t}", "String[] token = br.readLine().split(\" \");", "token", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "String type = token[0];", "type", "token[0]", "token", "0", "int rank_num = Integer.parseInt(token[1]);", "rank_num", "Integer.parseInt(token[1])", "Integer.parseInt", "Integer", "token[1]", "token", "1", "if(type.equals(\"S\")){\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}else if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}", "type.equals(\"S\")", "type.equals", "type", "\"S\"", "{\n\t\t\t\t\tspade.add(rank_num);\n\t\t\t\t}", "spade.add(rank_num)", "spade.add", "spade", "rank_num", "if(type.equals(\"H\")){\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}else if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}", "type.equals(\"H\")", "type.equals", "type", "\"H\"", "{\n\t\t\t\t\theart.add(rank_num);\n\t\t\t\t}", "heart.add(rank_num)", "heart.add", "heart", "rank_num", "if(type.equals(\"C\")){\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}else if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}", "type.equals(\"C\")", "type.equals", "type", "\"C\"", "{\n\t\t\t\t\tclub.add(rank_num);\n\t\t\t\t}", "club.add(rank_num)", "club.add", "club", "rank_num", "if(type.equals(\"D\")){\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}", "type.equals(\"D\")", "type.equals", "type", "\"D\"", "{\n\t\t\t\t\tdiamond.add(rank_num);\n\t\t\t\t}", "diamond.add(rank_num)", "diamond.add", "diamond", "rank_num", "for(int i = 1; i <= rank; i++){\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= rank", "i", "rank", "i++", "i++", "i", "{\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}\n\t\t\t}", "if(!spade.contains(i)){\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}", "!spade.contains(i)", "spade.contains(i)", "spade.contains", "spade", "i", "{\n\t\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t\t}", "System.out.println(\"S \" + i)", "System.out.println", "System.out", "System", "System.out", "\"S \" + i", "\"S \"", "i", "for(int i = 1; i <= rank; i++){\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= rank", "i", "rank", "i++", "i++", "i", "{\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}\n\t\t\t}", "if(!heart.contains(i)){\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}", "!heart.contains(i)", "heart.contains(i)", "heart.contains", "heart", "i", "{\n\t\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t\t}", "System.out.println(\"H \" + i)", "System.out.println", "System.out", "System", "System.out", "\"H \" + i", "\"H \"", "i", "for(int i = 1; i <=rank; i++){\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <=rank", "i", "rank", "i++", "i++", "i", "{\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}\n\t\t\t}", "if(!club.contains(i)){\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}", "!club.contains(i)", "club.contains(i)", "club.contains", "club", "i", "{\n\t\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t\t}", "System.out.println(\"C \" + i)", "System.out.println", "System.out", "System", "System.out", "\"C \" + i", "\"C \"", "i", "for(int i = 1; i <= rank; i++){\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= rank", "i", "rank", "i++", "i++", "i", "{\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}\n\t\t\t}", "if(!diamond.contains(i)){\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}", "!diamond.contains(i)", "diamond.contains(i)", "diamond.contains", "diamond", "i", "{\n\t\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t\t}", "System.out.println(\"D \" + i)", "System.out.println", "System.out", "System", "System.out", "\"D \" + i", "\"D \"", "i", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = Integer.parseInt(br.readLine()); int rank = 13; ArrayList<Integer> spade = new ArrayList<Integer>(); ArrayList<Integer> heart = new ArrayList<Integer>(); ArrayList<Integer> club = new ArrayList<Integer>(); ArrayList<Integer> diamond = new ArrayList<Integer>(); for(int i = 0; i < num; i++){ String[] token = br.readLine().split(" "); String type = token[0]; int rank_num = Integer.parseInt(token[1]); if(type.equals("S")){ spade.add(rank_num); }else if(type.equals("H")){ heart.add(rank_num); }else if(type.equals("C")){ club.add(rank_num); }else if(type.equals("D")){ diamond.add(rank_num); } } for(int i = 1; i <= rank; i++){ if(!spade.contains(i)){ System.out.println("S " + i); } } for(int i = 1; i <= rank; i++){ if(!heart.contains(i)){ System.out.println("H " + i); } } for(int i = 1; i <=rank; i++){ if(!club.contains(i)){ System.out.println("C " + i); } } for(int i = 1; i <= rank; i++){ if(!diamond.contains(i)){ System.out.println("D " + i); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 17, 41, 13, 41, 13, 20, 17, 4, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 0, 18, 13, 2, 2, 13, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 13, 17, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 9, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 201, 8 ], [ 201, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 22, 24 ], [ 11, 25 ], [ 25, 26 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 11, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 48, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 91, 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 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 113, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 113, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 134, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 134, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 155, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 155, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 176, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 194, 196 ], [ 176, 197 ], [ 9, 198 ], [ 198, 199 ], [ 0, 200 ], [ 200, 201 ], [ 200, 202 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint su;\n\t\tint num=0;\n\t\tString mark;\n\t\tBoolean s[]=new Boolean[52];\n\t\tArrays.fill(s, false);//s[]の配列に初期値falseを設定\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for\n\t\t\n\t\t\n\t\tfor(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint su;\n\t\tint num=0;\n\t\tString mark;\n\t\tBoolean s[]=new Boolean[52];\n\t\tArrays.fill(s, false);//s[]の配列に初期値falseを設定\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for\n\t\t\n\t\t\n\t\tfor(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint su;\n\t\tint num=0;\n\t\tString mark;\n\t\tBoolean s[]=new Boolean[52];\n\t\tArrays.fill(s, false);//s[]の配列に初期値falseを設定\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for\n\t\t\n\t\t\n\t\tfor(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for\n\t}", "main", "{\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint su;\n\t\tint num=0;\n\t\tString mark;\n\t\tBoolean s[]=new Boolean[52];\n\t\tArrays.fill(s, false);//s[]の配列に初期値falseを設定\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for\n\t\t\n\t\t\n\t\tfor(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int su;", "su", "int num=0;", "num", "0", "String mark;", "mark", "Boolean s[]=new Boolean[52];", "s", "new Boolean[52]", "52", "Arrays.fill(s, false)", "Arrays.fill", "Arrays", "s", "false", "for(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for", "{\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}", "mark=sc.next()", "mark", "sc.next()", "sc.next", "sc", "su=sc.nextInt()", "su", "sc.nextInt()", "sc.nextInt", "sc", "if(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;", "mark.equals(\"S\")", "mark.equals", "mark", "\"S\"", "num=0", "num", "0", "if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;", "mark.equals(\"H\")", "mark.equals", "mark", "\"H\"", "num=13", "num", "13", "if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;", "mark.equals(\"C\")", "mark.equals", "mark", "\"C\"", "num=26", "num", "26", "if(mark.equals(\"D\"))\tnum=39;", "mark.equals(\"D\")", "mark.equals", "mark", "\"D\"", "num=39", "num", "39", "s[num+su-1]=true", "s[num+su-1]", "s", "num+su-1", "num+su", "num", "su", "1", "true", "for(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for", "int i=0;", "int i=0;", "i", "0", "i<52", "i", "52", "i++", "i++", "i", "{\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for", "{\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}", "if(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;", "i<13 && s[i]==false", "i<13", "i", "13", "s[i]==false", "s[i]", "s", "i", "false", "{\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}", "System.out.println(\"S \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+(i+1)", "\"S \"", "(i+1)", "i", "1", "if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;", "i<26 && s[i]==false", "i<26", "i", "26", "s[i]==false", "s[i]", "s", "i", "false", "{\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}", "System.out.println(\"H \"+(i-12))", "System.out.println", "System.out", "System", "System.out", "\"H \"+(i-12)", "\"H \"", "(i-12)", "i", "12", "if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;", "i<39 && s[i]==false", "i<39", "i", "39", "s[i]==false", "s[i]", "s", "i", "false", "{\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}", "System.out.println(\"C \"+(i-25))", "System.out.println", "System.out", "System", "System.out", "\"C \"+(i-25)", "\"C \"", "(i-25)", "i", "25", "if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;", "i<52 && s[i]==false", "i<52", "i", "52", "s[i]==false", "s[i]", "s", "i", "false", "{\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}", "System.out.println(\"D \"+(i-38))", "System.out.println", "System.out", "System", "System.out", "\"D \"+(i-38)", "\"D \"", "(i-38)", "i", "38", "continue;", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint su;\n\t\tint num=0;\n\t\tString mark;\n\t\tBoolean s[]=new Boolean[52];\n\t\tArrays.fill(s, false);//s[]の配列に初期値falseを設定\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for\n\t\t\n\t\t\n\t\tfor(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint su;\n\t\tint num=0;\n\t\tString mark;\n\t\tBoolean s[]=new Boolean[52];\n\t\tArrays.fill(s, false);//s[]の配列に初期値falseを設定\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tmark=sc.next();\n\t\t\tsu=sc.nextInt();\n\t\t\t\n\t\t\tif(mark.equals(\"S\")) num=0;\n\t\t\telse if(mark.equals(\"H\"))\tnum=13;\n\t\t\telse if(mark.equals(\"C\"))\tnum=26;\n\t\t\telse if(mark.equals(\"D\"))\tnum=39;\n\t\t\t\n\t\t\ts[num+su-1]=true;\n\t\t}//for\n\t\t\n\t\t\n\t\tfor(int i=0;i<52;i++){\n\t\t\tif(i<13 && s[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+(i+1)); \n\t\t\t}else if(i<26 && s[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+(i-12)); \n\t\t\t}else if(i<39 && s[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+(i-25)); \n\t\t\t}else if(i<52 && s[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+(i-38)); \n\t\t\t}else continue;\n\t\t}//for\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int su; int num=0; String mark; Boolean s[]=new Boolean[52]; Arrays.fill(s, false);//s[]の配列に初期値falseを設定 for(int i=0;i<n;i++){ mark=sc.next(); su=sc.nextInt(); if(mark.equals("S")) num=0; else if(mark.equals("H")) num=13; else if(mark.equals("C")) num=26; else if(mark.equals("D")) num=39; s[num+su-1]=true; }//for for(int i=0;i<52;i++){ if(i<13 && s[i]==false){ System.out.println("S "+(i+1)); }else if(i<26 && s[i]==false){ System.out.println("H "+(i-12)); }else if(i<39 && s[i]==false){ System.out.println("C "+(i-25)); }else if(i<52 && s[i]==false){ System.out.println("D "+(i-38)); }else continue; }//for } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 0, 18, 13, 13, 0, 18, 13, 13, 0, 18, 13, 13, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 256, 5 ], [ 256, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 8, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 78, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 78, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 94, 100 ], [ 89, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 106, 112 ], [ 101, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 113, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 121, 123 ], [ 118, 124 ], [ 113, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 130, 136 ], [ 8, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 142, 144 ], [ 137, 145 ], [ 145, 146 ], [ 146, 147 ], [ 137, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 160, 160 ], [ 160, 161 ], [ 160, 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 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 189, 189 ], [ 189, 190 ], [ 189, 191 ], [ 189, 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 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 218, 218 ], [ 218, 219 ], [ 218, 220 ], [ 218, 221 ], [ 221, 222 ], [ 221, 223 ], [ 8, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 224, 229 ], [ 229, 230 ], [ 229, 231 ], [ 224, 232 ], [ 232, 233 ], [ 233, 234 ], [ 224, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 236, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 241, 246 ], [ 247, 247 ], [ 247, 248 ], [ 247, 249 ], [ 247, 250 ], [ 250, 251 ], [ 250, 252 ], [ 6, 253 ], [ 253, 254 ], [ 0, 255 ], [ 255, 256 ], [ 255, 257 ] ]
[ "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 String str;\n int num;\n boolean[] S = new boolean[13];\n boolean[] H = new boolean[13];\n boolean[] C = new boolean[13];\n boolean[] D = new boolean[13];\n\n for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;\n\n for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }\n\n for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));\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 String str;\n int num;\n boolean[] S = new boolean[13];\n boolean[] H = new boolean[13];\n boolean[] C = new boolean[13];\n boolean[] D = new boolean[13];\n\n for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;\n\n for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }\n\n for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String str;\n int num;\n boolean[] S = new boolean[13];\n boolean[] H = new boolean[13];\n boolean[] C = new boolean[13];\n boolean[] D = new boolean[13];\n\n for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;\n\n for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }\n\n for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String str;\n int num;\n boolean[] S = new boolean[13];\n boolean[] H = new boolean[13];\n boolean[] C = new boolean[13];\n boolean[] D = new boolean[13];\n\n for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;\n\n for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }\n\n for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String str;", "str", "int num;", "num", "boolean[] S = new boolean[13];", "S", "new boolean[13]", "13", "boolean[] H = new boolean[13];", "H", "new boolean[13]", "13", "boolean[] C = new boolean[13];", "C", "new boolean[13]", "13", "boolean[] D = new boolean[13];", "D", "new boolean[13]", "13", "for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "S[i] = H[i] = C[i] = D[i] = false;", "S[i] = H[i] = C[i] = D[i] = false", "S[i]", "S", "i", "H[i] = C[i] = D[i] = false", "H[i]", "H", "i", "C[i] = D[i] = false", "C[i]", "C", "i", "D[i] = false", "D[i]", "D", "i", "false", "for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }", "{\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }", "str = sc.next()", "str", "sc.next()", "sc.next", "sc", "num = sc.nextInt()", "num", "sc.nextInt()", "sc.nextInt", "sc", "if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;", "str.equals(\"S\")", "str.equals", "str", "\"S\"", "S[num - 1] = true", "S[num - 1]", "S", "num - 1", "num", "1", "true", "if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;", "str.equals(\"H\")", "str.equals", "str", "\"H\"", "H[num - 1] = true", "H[num - 1]", "H", "num - 1", "num", "1", "true", "if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;", "str.equals(\"C\")", "str.equals", "str", "\"C\"", "C[num - 1] = true", "C[num - 1]", "C", "num - 1", "num", "1", "true", "if (str.equals(\"D\"))\n D[num - 1] = true;", "str.equals(\"D\")", "str.equals", "str", "\"D\"", "D[num - 1] = true", "D[num - 1]", "D", "num - 1", "num", "1", "true", "for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));", "if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));", "!S[i]", "S[i]", "S", "i", "System.out.println(\"S\" + \" \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"S\" + \" \" + (i + 1)", "\"S\" + \" \" + (i + 1)", "\"S\"", "\" \"", "(i + 1)", "i", "1", "for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));", "if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));", "!H[i]", "H[i]", "H", "i", "System.out.println(\"H\" + \" \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"H\" + \" \" + (i + 1)", "\"H\" + \" \" + (i + 1)", "\"H\"", "\" \"", "(i + 1)", "i", "1", "for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));", "if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));", "!C[i]", "C[i]", "C", "i", "System.out.println(\"C\" + \" \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"C\" + \" \" + (i + 1)", "\"C\" + \" \" + (i + 1)", "\"C\"", "\" \"", "(i + 1)", "i", "1", "for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));", "if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));", "!D[i]", "D[i]", "D", "i", "System.out.println(\"D\" + \" \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"D\" + \" \" + (i + 1)", "\"D\" + \" \" + (i + 1)", "\"D\"", "\" \"", "(i + 1)", "i", "1", "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 String str;\n int num;\n boolean[] S = new boolean[13];\n boolean[] H = new boolean[13];\n boolean[] C = new boolean[13];\n boolean[] D = new boolean[13];\n\n for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;\n\n for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }\n\n for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));\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 String str;\n int num;\n boolean[] S = new boolean[13];\n boolean[] H = new boolean[13];\n boolean[] C = new boolean[13];\n boolean[] D = new boolean[13];\n\n for (int i = 0; i < 13; i++)\n S[i] = H[i] = C[i] = D[i] = false;\n\n for (int i = 0; i < n; i++) {\n str = sc.next();\n num = sc.nextInt();\n if (str.equals(\"S\"))\n S[num - 1] = true;\n else if (str.equals(\"H\"))\n H[num - 1] = true;\n else if (str.equals(\"C\"))\n C[num - 1] = true;\n else if (str.equals(\"D\"))\n D[num - 1] = true;\n }\n\n for (int i = 0; i < 13; i++)\n if (!S[i])\n System.out.println(\"S\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!H[i])\n System.out.println(\"H\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!C[i])\n System.out.println(\"C\" + \" \" + (i + 1));\n for (int i = 0; i < 13; i++)\n if (!D[i])\n System.out.println(\"D\" + \" \" + (i + 1));\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(); String str; int num; boolean[] S = new boolean[13]; boolean[] H = new boolean[13]; boolean[] C = new boolean[13]; boolean[] D = new boolean[13]; for (int i = 0; i < 13; i++) S[i] = H[i] = C[i] = D[i] = false; for (int i = 0; i < n; i++) { str = sc.next(); num = sc.nextInt(); if (str.equals("S")) S[num - 1] = true; else if (str.equals("H")) H[num - 1] = true; else if (str.equals("C")) C[num - 1] = true; else if (str.equals("D")) D[num - 1] = true; } for (int i = 0; i < 13; i++) if (!S[i]) System.out.println("S" + " " + (i + 1)); for (int i = 0; i < 13; i++) if (!H[i]) System.out.println("H" + " " + (i + 1)); for (int i = 0; i < 13; i++) if (!C[i]) System.out.println("C" + " " + (i + 1)); for (int i = 0; i < 13; i++) if (!D[i]) System.out.println("D" + " " + (i + 1)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 4, 18, 17, 13, 17, 2, 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 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 41, 46 ], [ 38, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 38, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 56, 66 ], [ 52, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 69, 79 ], [ 52, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 82, 92 ], [ 52, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 95, 105 ], [ 8, 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 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 119, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 133, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 146, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 146, 151 ], [ 146, 152 ], [ 152, 153 ], [ 152, 154 ], [ 6, 155 ], [ 155, 156 ] ]
[ "import java.util.Scanner;\nclass Main\n{\npublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int i,j;\n boolean[][] card = new boolean[4][13];\n\n for(i=0;i<n;i++){\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}\n for(i=0;i<4;i++){\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}\n\n} \n }\n}\n \n\n", "import java.util.Scanner;", "Scanner", "java.util", "class Main\n{\npublic static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int i,j;\n boolean[][] card = new boolean[4][13];\n\n for(i=0;i<n;i++){\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}\n for(i=0;i<4;i++){\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}\n\n} \n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int i,j;\n boolean[][] card = new boolean[4][13];\n\n for(i=0;i<n;i++){\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}\n for(i=0;i<4;i++){\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}\n\n} \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int i,j;\n boolean[][] card = new boolean[4][13];\n\n for(i=0;i<n;i++){\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}\n for(i=0;i<4;i++){\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\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 i", "i", "j;", "j", "boolean[][] card = new boolean[4][13];", "card", "new boolean[4][13]", "4", "13", "for(i=0;i<n;i++){\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}", "{\n char suit = sc.next().charAt(0);\n int num = sc.nextInt();\n switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }\n}", "char suit = sc.next().charAt(0);", "suit", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "switch(suit){\n case 'S': card[0][num-1]=true;\n break;\n case 'H': card[1][num-1]=true;\n break;\n case 'C': card[2][num-1]=true;\n break;\n case 'D': card[3][num-1]=true;\n break;\n }", "suit", "case 'S':", "'S'", "case 'S':", "card[0][num-1]=true", "card[0][num-1]", "card[0]", "card", "0", "num-1", "num", "1", "true", "break;", "case 'H':", "'H'", "case 'H':", "card[1][num-1]=true", "card[1][num-1]", "card[1]", "card", "1", "num-1", "num", "1", "true", "break;", "case 'C':", "'C'", "case 'C':", "card[2][num-1]=true", "card[2][num-1]", "card[2]", "card", "2", "num-1", "num", "1", "true", "break;", "case 'D':", "'D'", "case 'D':", "card[3][num-1]=true", "card[3][num-1]", "card[3]", "card", "3", "num-1", "num", "1", "true", "break;", "for(i=0;i<4;i++){\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}\n\n}", "i=0;", "i=0", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}\n\n}", "{\n for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}\n\n}", "for(j=0;j<13;j++){\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}", "j=0;", "j=0", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}", "{\n if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));\n}", "if(card[i][j]==false)System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1));", "card[i][j]==false", "card[i][j]", "card[i]", "card", "i", "j", "false", "System.out.println(\"SHCD\".charAt(i)+\" \"+(j+1))", "System.out.println", "System.out", "System", "System.out", "\"SHCD\".charAt(i)+\" \"+(j+1)", "\"SHCD\".charAt(i)+\" \"+(j+1)", "\"SHCD\".charAt(i)", "\"SHCD\".charAt", "\"SHCD\"", "i", "\" \"", "(j+1)", "j", "1", "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 i,j; boolean[][] card = new boolean[4][13]; for(i=0;i<n;i++){ char suit = sc.next().charAt(0); int num = sc.nextInt(); switch(suit){ case 'S': card[0][num-1]=true; break; case 'H': card[1][num-1]=true; break; case 'C': card[2][num-1]=true; break; case 'D': card[3][num-1]=true; break; } } for(i=0;i<4;i++){ for(j=0;j<13;j++){ if(card[i][j]==false)System.out.println("SHCD".charAt(i)+" "+(j+1)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 4, 18, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 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 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 66, 72 ], [ 60, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 73, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 92, 98 ], [ 86, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 105, 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 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 8, 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 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 8, 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 ], [ 186, 190 ], [ 185, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 199, 201 ], [ 8, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 207, 208 ], [ 207, 209 ], [ 202, 210 ], [ 210, 211 ], [ 211, 212 ], [ 202, 213 ], [ 214, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 215, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 222, 227 ], [ 227, 228 ], [ 227, 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 sc = new Scanner(System.in);\n\t\tint work,n = sc.nextInt();\n\t\tString str;\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\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\tScanner sc = new Scanner(System.in);\n\t\tint work,n = sc.nextInt();\n\t\tString str;\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\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\tint work,n = sc.nextInt();\n\t\tString str;\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint work,n = sc.nextInt();\n\t\tString str;\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int work", "work", "n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String str;", "str", "int[] s = new int[13];", "s", "new int[13]", "13", "int[] h = new int[13];", "h", "new int[13]", "13", "int[] c = new int[13];", "c", "new int[13]", "13", "int[] d = new int[13];", "d", "new int[13]", "13", "for(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\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 = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}", "{\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}", "str = sc.next()", "str", "sc.next()", "sc.next", "sc", "work = sc.nextInt()", "work", "sc.nextInt()", "sc.nextInt", "sc", "if(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}", "str.equals(\"S\")", "str.equals", "str", "\"S\"", "{\n\t\t\t\ts[work-1] = 1;\n\t\t\t}", "s[work-1] = 1", "s[work-1]", "s", "work-1", "work", "1", "1", "if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}", "str.equals(\"H\")", "str.equals", "str", "\"H\"", "{\n\t\t\t\th[work-1] = 1;\n\t\t\t}", "h[work-1] = 1", "h[work-1]", "h", "work-1", "work", "1", "1", "if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}", "str.equals(\"C\")", "str.equals", "str", "\"C\"", "{\n\t\t\t\tc[work-1] = 1;\n\t\t\t}", "c[work-1] = 1", "c[work-1]", "c", "work-1", "work", "1", "1", "if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}", "str.equals(\"D\")", "str.equals", "str", "\"D\"", "{\n\t\t\t\td[work-1] = 1;\n\t\t\t}", "d[work-1] = 1", "d[work-1]", "d", "work-1", "work", "1", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}", "if(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}", "s[i] == 0", "s[i]", "s", "i", "0", "{\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}", "System.out.println(\"S \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i+1)", "\"S \"", "(i+1)", "i", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}", "if(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}", "h[i] == 0", "h[i]", "h", "i", "0", "{\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}", "System.out.println(\"H \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i+1)", "\"H \"", "(i+1)", "i", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}", "if(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}", "c[i] == 0", "c[i]", "c", "i", "0", "{\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}", "System.out.println(\"C \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i+1)", "\"C \"", "(i+1)", "i", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}", "if(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}", "d[i] == 0", "d[i]", "d", "i", "0", "{\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}", "System.out.println(\"D \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i+1)", "\"D \"", "(i+1)", "i", "1", "String [] args", "args", "public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint work,n = sc.nextInt();\n\t\tString str;\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t\t\n\t}\n}", "public class Main{\n\tpublic static void main(String [] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint work,n = sc.nextInt();\n\t\tString str;\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tstr = sc.next();\n\t\t\twork = sc.nextInt();\n\t\t\tif(str.equals(\"S\")){\n\t\t\t\ts[work-1] = 1;\n\t\t\t}else if(str.equals(\"H\")){\n\t\t\t\th[work-1] = 1;\n\t\t\t}else if(str.equals(\"C\")){\n\t\t\t\tc[work-1] = 1;\n\t\t\t}else if(str.equals(\"D\")){\n\t\t\t\td[work-1] = 1;\n\t\t\t}\n\t\t\t\t\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(s[i] == 0){\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(h[i] == 0){\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(c[i] == 0){\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(d[i] == 0){\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\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 work,n = sc.nextInt(); String str; int[] s = new int[13]; int[] h = new int[13]; int[] c = new int[13]; int[] d = new int[13]; for(int i = 0; i < n; i++){ str = sc.next(); work = sc.nextInt(); if(str.equals("S")){ s[work-1] = 1; }else if(str.equals("H")){ h[work-1] = 1; }else if(str.equals("C")){ c[work-1] = 1; }else if(str.equals("D")){ d[work-1] = 1; } } for(int i = 0; i < 13; i++){ if(s[i] == 0){ System.out.println("S " + (i+1)); } } for(int i = 0; i < 13; i++){ if(h[i] == 0){ System.out.println("H " + (i+1)); } } for(int i = 0; i < 13; i++){ if(c[i] == 0){ System.out.println("C " + (i+1)); } } for(int i = 0; i < 13; i++){ if(d[i] == 0){ System.out.println("D " + (i+1)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 41, 13, 17, 42, 2, 2, 0, 13, 4, 18, 13, 17, 2, 13, 13, 30, 40, 13, 41, 13, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 17, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 13, 14, 4, 18, 17, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 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 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 34, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 11, 47 ], [ 47, 48 ], [ 11, 49 ], [ 49, 50 ], [ 49, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 53, 61 ], [ 61, 62 ], [ 61, 63 ], [ 52, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 64, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 78, 80 ], [ 64, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 81, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 81, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 98, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 106, 114 ], [ 98, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 115, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 128, 130 ], [ 123, 131 ], [ 115, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 136, 138 ], [ 132, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 145, 147 ], [ 140, 148 ], [ 11, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 149, 160 ], [ 160, 161 ], [ 161, 162 ], [ 149, 163 ], [ 164, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 172, 175 ], [ 165, 176 ], [ 176, 177 ], [ 177, 178 ], [ 165, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 182, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 196, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 9, 204 ], [ 204, 205 ] ]
[ "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 final String egara =\"4\";\n final String number = \"13\";\n int[][] num = new int[Integer.parseInt(egara)][Integer.parseInt(number)];\n String[] tp = {\"S\",\"H\",\"C\",\"D\"};\n int n = Integer.parseInt(br.readLine());\n String s;\n int count = 0;\n while((s=br.readLine())!=null || count!=n){\n count++;\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[1]);\n /*\n switch(str[0]){\n case \"S\": num[0][x-1] = x; break;\n case \"H\": num[1][x-1] = x; break;\n case \"C\": num[2][x-1] = x; break;\n case \"D\": num[3][x-1] = x; break;\n }\n */\n if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }\n }\n for (int i=0;i<Integer.parseInt(egara);i++){\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\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 final String egara =\"4\";\n final String number = \"13\";\n int[][] num = new int[Integer.parseInt(egara)][Integer.parseInt(number)];\n String[] tp = {\"S\",\"H\",\"C\",\"D\"};\n int n = Integer.parseInt(br.readLine());\n String s;\n int count = 0;\n while((s=br.readLine())!=null || count!=n){\n count++;\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[1]);\n /*\n switch(str[0]){\n case \"S\": num[0][x-1] = x; break;\n case \"H\": num[1][x-1] = x; break;\n case \"C\": num[2][x-1] = x; break;\n case \"D\": num[3][x-1] = x; break;\n }\n */\n if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }\n }\n for (int i=0;i<Integer.parseInt(egara);i++){\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\n }\n }\n}", "Main", "public static void main(String args[])throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String egara =\"4\";\n final String number = \"13\";\n int[][] num = new int[Integer.parseInt(egara)][Integer.parseInt(number)];\n String[] tp = {\"S\",\"H\",\"C\",\"D\"};\n int n = Integer.parseInt(br.readLine());\n String s;\n int count = 0;\n while((s=br.readLine())!=null || count!=n){\n count++;\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[1]);\n /*\n switch(str[0]){\n case \"S\": num[0][x-1] = x; break;\n case \"H\": num[1][x-1] = x; break;\n case \"C\": num[2][x-1] = x; break;\n case \"D\": num[3][x-1] = x; break;\n }\n */\n if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }\n }\n for (int i=0;i<Integer.parseInt(egara);i++){\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n final String egara =\"4\";\n final String number = \"13\";\n int[][] num = new int[Integer.parseInt(egara)][Integer.parseInt(number)];\n String[] tp = {\"S\",\"H\",\"C\",\"D\"};\n int n = Integer.parseInt(br.readLine());\n String s;\n int count = 0;\n while((s=br.readLine())!=null || count!=n){\n count++;\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[1]);\n /*\n switch(str[0]){\n case \"S\": num[0][x-1] = x; break;\n case \"H\": num[1][x-1] = x; break;\n case \"C\": num[2][x-1] = x; break;\n case \"D\": num[3][x-1] = x; break;\n }\n */\n if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }\n }\n for (int i=0;i<Integer.parseInt(egara);i++){\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "final String egara =\"4\";", "egara", "\"4\"", "final String number = \"13\";", "number", "\"13\"", "int[][] num = new int[Integer.parseInt(egara)][Integer.parseInt(number)];", "num", "new int[Integer.parseInt(egara)][Integer.parseInt(number)]", "Integer.parseInt(egara)", "Integer.parseInt", "Integer", "egara", "Integer.parseInt(number)", "Integer.parseInt", "Integer", "number", "String[] tp = {\"S\",\"H\",\"C\",\"D\"};", "tp", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String s;", "s", "int count = 0;", "count", "0", "while((s=br.readLine())!=null || count!=n){\n count++;\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[1]);\n /*\n switch(str[0]){\n case \"S\": num[0][x-1] = x; break;\n case \"H\": num[1][x-1] = x; break;\n case \"C\": num[2][x-1] = x; break;\n case \"D\": num[3][x-1] = x; break;\n }\n */\n if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }\n }", "(s=br.readLine())!=null || count!=n", "(s=br.readLine())!=null", "(s=br.readLine())", "s", "br.readLine()", "br.readLine", "br", "null", "count!=n", "count", "n", "{\n count++;\n String[] str = s.split(\" \");\n int x = Integer.parseInt(str[1]);\n /*\n switch(str[0]){\n case \"S\": num[0][x-1] = x; break;\n case \"H\": num[1][x-1] = x; break;\n case \"C\": num[2][x-1] = x; break;\n case \"D\": num[3][x-1] = x; break;\n }\n */\n if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }\n }", "count++", "count", "String[] str = s.split(\" \");", "str", "s.split(\" \")", "s.split", "s", "\" \"", "int x = Integer.parseInt(str[1]);", "x", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "if(\"S\".equals(str[0])){\n num[0][x-1] = x;\n }else if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }", "\"S\".equals(str[0])", "\"S\".equals", "\"S\"", "str[0]", "str", "0", "{\n num[0][x-1] = x;\n }", "num[0][x-1] = x", "num[0][x-1]", "num[0]", "num", "0", "x-1", "x", "1", "x", "if(\"H\".equals(str[0])){\n num[1][x-1] = x;\n }else if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }", "\"H\".equals(str[0])", "\"H\".equals", "\"H\"", "str[0]", "str", "0", "{\n num[1][x-1] = x;\n }", "num[1][x-1] = x", "num[1][x-1]", "num[1]", "num", "1", "x-1", "x", "1", "x", "if(\"C\".equals(str[0])){\n num[2][x-1] = x;\n }else if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }", "\"C\".equals(str[0])", "\"C\".equals", "\"C\"", "str[0]", "str", "0", "{\n num[2][x-1] = x;\n }", "num[2][x-1] = x", "num[2][x-1]", "num[2]", "num", "2", "x-1", "x", "1", "x", "if(\"D\".equals(str[0])){\n num[3][x-1] = x;\n }", "\"D\".equals(str[0])", "\"D\".equals", "\"D\"", "str[0]", "str", "0", "{\n num[3][x-1] = x;\n }", "num[3][x-1] = x", "num[3][x-1]", "num[3]", "num", "3", "x-1", "x", "1", "x", "for (int i=0;i<Integer.parseInt(egara);i++){\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<Integer.parseInt(egara)", "i", "Integer.parseInt(egara)", "Integer.parseInt", "Integer", "egara", "i++", "i++", "i", "{\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\n }", "{\n for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }\n }", "for (int j=0;j<Integer.parseInt(number);j++){\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<Integer.parseInt(number)", "j", "Integer.parseInt(number)", "Integer.parseInt", "Integer", "number", "j++", "j++", "j", "{\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }", "{\n if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }\n }", "if(num[i][j]==0) {\n System.out.println(tp[i] +\" \"+ (j+1));\n }", "num[i][j]==0", "num[i][j]", "num[i]", "num", "i", "j", "0", "{\n System.out.println(tp[i] +\" \"+ (j+1));\n }", "System.out.println(tp[i] +\" \"+ (j+1))", "System.out.println", "System.out", "System", "System.out", "tp[i] +\" \"+ (j+1)", "tp[i] +\" \"+ (j+1)", "tp[i]", "tp", "i", "\" \"", "(j+1)", "j", "1", "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)); final String egara ="4"; final String number = "13"; int[][] num = new int[Integer.parseInt(egara)][Integer.parseInt(number)]; String[] tp = {"S","H","C","D"}; int n = Integer.parseInt(br.readLine()); String s; int count = 0; while((s=br.readLine())!=null || count!=n){ count++; String[] str = s.split(" "); int x = Integer.parseInt(str[1]); /* switch(str[0]){ case "S": num[0][x-1] = x; break; case "H": num[1][x-1] = x; break; case "C": num[2][x-1] = x; break; case "D": num[3][x-1] = x; break; } */ if("S".equals(str[0])){ num[0][x-1] = x; }else if("H".equals(str[0])){ num[1][x-1] = x; }else if("C".equals(str[0])){ num[2][x-1] = x; }else if("D".equals(str[0])){ num[3][x-1] = x; } } for (int i=0;i<Integer.parseInt(egara);i++){ for (int j=0;j<Integer.parseInt(number);j++){ if(num[i][j]==0) { System.out.println(tp[i] +" "+ (j+1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 2, 18, 13, 13, 17, 2, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 202, 5 ], [ 202, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 41, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 70, 71 ], [ 70, 72 ], [ 66, 73 ], [ 61, 74 ], [ 53, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 75, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 92, 93 ], [ 92, 94 ], [ 88, 95 ], [ 83, 96 ], [ 75, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 110, 117 ], [ 105, 118 ], [ 97, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 119, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 136, 138 ], [ 132, 139 ], [ 127, 140 ], [ 8, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 143, 146 ], [ 143, 147 ], [ 8, 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 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 175, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 190, 189 ], [ 195, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 195, 195 ], [ 195, 196 ], [ 195, 197 ], [ 190, 198 ], [ 6, 199 ], [ 199, 200 ], [ 0, 201 ], [ 201, 202 ], [ 201, 203 ] ]
[ "import java.util.*;\n/*\nMain class for AOJ where there is no input.\n*/\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n String str;\n String[] arr;\n int[][] pc = new int[4][13];\n \n /*\n pc[suit][number][bool]\n bool:\n 0 = doesn't exist\n 1 = exists\n suit:\n 0 = Spade\n 1 = Heart\n 2 = Club\n 3 = Diamond\n */\n \n for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }\n \n String[] symbol = {\"S\", \"H\", \"C\", \"D\"};\n \n for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }\n \n \n \n }//main\n}//class", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n String str;\n String[] arr;\n int[][] pc = new int[4][13];\n \n /*\n pc[suit][number][bool]\n bool:\n 0 = doesn't exist\n 1 = exists\n suit:\n 0 = Spade\n 1 = Heart\n 2 = Club\n 3 = Diamond\n */\n \n for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }\n \n String[] symbol = {\"S\", \"H\", \"C\", \"D\"};\n \n for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }\n \n \n \n }//main\n}//class", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n String str;\n String[] arr;\n int[][] pc = new int[4][13];\n \n /*\n pc[suit][number][bool]\n bool:\n 0 = doesn't exist\n 1 = exists\n suit:\n 0 = Spade\n 1 = Heart\n 2 = Club\n 3 = Diamond\n */\n \n for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }\n \n String[] symbol = {\"S\", \"H\", \"C\", \"D\"};\n \n for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }\n \n \n \n }//main", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n String str;\n String[] arr;\n int[][] pc = new int[4][13];\n \n /*\n pc[suit][number][bool]\n bool:\n 0 = doesn't exist\n 1 = exists\n suit:\n 0 = Spade\n 1 = Heart\n 2 = Club\n 3 = Diamond\n */\n \n for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }\n \n String[] symbol = {\"S\", \"H\", \"C\", \"D\"};\n \n for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }\n \n \n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = Integer.parseInt(sc.nextLine());", "n", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "String str;", "str", "String[] arr;", "arr", "int[][] pc = new int[4][13];", "pc", "new int[4][13]", "4", "13", "for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }", "{\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }", "str = sc.nextLine()", "str", "sc.nextLine()", "sc.nextLine", "sc", "arr = str.split(\" \")", "arr", "str.split(\" \")", "str.split", "str", "\" \"", "if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }", "arr[0].equals(\"S\")", "arr[0].equals", "arr[0]", "arr", "0", "\"S\"", "{\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }", "pc[0][Integer.parseInt(arr[1])-1] = 1", "pc[0][Integer.parseInt(arr[1])-1]", "pc[0]", "pc", "0", "Integer.parseInt(arr[1])-1", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "1", "1", "if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }", "arr[0].equals(\"H\")", "arr[0].equals", "arr[0]", "arr", "0", "\"H\"", "{\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }", "pc[1][Integer.parseInt(arr[1])-1] = 1", "pc[1][Integer.parseInt(arr[1])-1]", "pc[1]", "pc", "1", "Integer.parseInt(arr[1])-1", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "1", "1", "if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }", "arr[0].equals(\"C\")", "arr[0].equals", "arr[0]", "arr", "0", "\"C\"", "{\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }", "pc[2][Integer.parseInt(arr[1])-1] = 1", "pc[2][Integer.parseInt(arr[1])-1]", "pc[2]", "pc", "2", "Integer.parseInt(arr[1])-1", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "1", "1", "if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }", "arr[0].equals(\"D\")", "arr[0].equals", "arr[0]", "arr", "0", "\"D\"", "{\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }", "pc[3][Integer.parseInt(arr[1])-1] = 1", "pc[3][Integer.parseInt(arr[1])-1]", "pc[3]", "pc", "3", "Integer.parseInt(arr[1])-1", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "1", "1", "String[] symbol = {\"S\", \"H\", \"C\", \"D\"};", "symbol", "{\"S\", \"H\", \"C\", \"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }", "int suit = 0;", "int suit = 0;", "suit", "0", "suit < 4", "suit", "4", "suit ++", "suit ++", "suit", "{\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }", "{\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }", "for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }", "int number = 0;", "int number = 0;", "number", "0", "number < 13", "number", "13", "number ++", "number ++", "number", "{\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }", "{\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }", "if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }", "pc[suit][number] == 0", "pc[suit][number]", "pc[suit]", "pc", "suit", "number", "0", "{\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }", "System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\")", "System.out.print", "System.out", "System", "System.out", "symbol[suit] + \" \" + (number + 1) + \"\\n\"", "(number + 1)", "symbol[suit] + \" \" + (number + 1) + \"\\n\"", "symbol[suit]", "symbol", "suit", "\" \"", "(number + 1)", "number", "1", "\"\\n\"", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n String str;\n String[] arr;\n int[][] pc = new int[4][13];\n \n /*\n pc[suit][number][bool]\n bool:\n 0 = doesn't exist\n 1 = exists\n suit:\n 0 = Spade\n 1 = Heart\n 2 = Club\n 3 = Diamond\n */\n \n for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }\n \n String[] symbol = {\"S\", \"H\", \"C\", \"D\"};\n \n for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }\n \n \n \n }//main\n}//class", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.nextLine());\n String str;\n String[] arr;\n int[][] pc = new int[4][13];\n \n /*\n pc[suit][number][bool]\n bool:\n 0 = doesn't exist\n 1 = exists\n suit:\n 0 = Spade\n 1 = Heart\n 2 = Club\n 3 = Diamond\n */\n \n for(int i = 0; i < n; i++){\n str = sc.nextLine();\n arr = str.split(\" \");\n if(arr[0].equals(\"S\")){\n pc[0][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"H\")){\n pc[1][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"C\")){\n pc[2][Integer.parseInt(arr[1])-1] = 1;\n }else if(arr[0].equals(\"D\")){\n pc[3][Integer.parseInt(arr[1])-1] = 1;\n }\n }\n \n String[] symbol = {\"S\", \"H\", \"C\", \"D\"};\n \n for(int suit = 0; suit < 4; suit ++ ){\n for(int number = 0; number < 13; number ++){\n if(pc[suit][number] == 0){\n System.out.print(symbol[suit] + \" \" + (number + 1) + \"\\n\");\n }\n }\n }\n \n \n \n }//main\n}//class", "Main" ]
import java.util.*; /* Main class for AOJ where there is no input. */ public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); String str; String[] arr; int[][] pc = new int[4][13]; /* pc[suit][number][bool] bool: 0 = doesn't exist 1 = exists suit: 0 = Spade 1 = Heart 2 = Club 3 = Diamond */ for(int i = 0; i < n; i++){ str = sc.nextLine(); arr = str.split(" "); if(arr[0].equals("S")){ pc[0][Integer.parseInt(arr[1])-1] = 1; }else if(arr[0].equals("H")){ pc[1][Integer.parseInt(arr[1])-1] = 1; }else if(arr[0].equals("C")){ pc[2][Integer.parseInt(arr[1])-1] = 1; }else if(arr[0].equals("D")){ pc[3][Integer.parseInt(arr[1])-1] = 1; } } String[] symbol = {"S", "H", "C", "D"}; for(int suit = 0; suit < 4; suit ++ ){ for(int number = 0; number < 13; number ++){ if(pc[suit][number] == 0){ System.out.print(symbol[suit] + " " + (number + 1) + "\n"); } } } }//main }//class
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 41, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 35, 13, 34, 17, 1, 4, 18, 13, 2, 17, 13, 3, 34, 17, 1, 4, 18, 13, 2, 17, 13, 3, 34, 17, 1, 4, 18, 13, 2, 17, 13, 3, 34, 17, 1, 4, 18, 13, 2, 17, 13, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 4, 18, 13, 4, 18, 13, 2, 2, 18, 13, 17, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 33 ], [ 33, 34 ], [ 33, 35 ], [ 17, 36 ], [ 36, 37 ], [ 17, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 68, 75 ], [ 64, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 78, 85 ], [ 64, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 92, 93 ], [ 92, 94 ], [ 88, 95 ], [ 64, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 98, 105 ], [ 17, 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 ], [ 127, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 134, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 17, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 142, 152 ], [ 152, 153 ], [ 153, 154 ], [ 142, 155 ], [ 156, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 156, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 15, 169 ], [ 169, 170 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\nimport java.util.ArrayList;\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 cnt = Integer.parseInt(br.readLine());\n\t\tString[] str = new String[2];\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString dis;\n\t\tfor(int n=0;n<4;n++){\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<cnt; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "class Main{\n\tpublic static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint cnt = Integer.parseInt(br.readLine());\n\t\tString[] str = new String[2];\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString dis;\n\t\tfor(int n=0;n<4;n++){\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<cnt; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint cnt = Integer.parseInt(br.readLine());\n\t\tString[] str = new String[2];\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString dis;\n\t\tfor(int n=0;n<4;n++){\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<cnt; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint cnt = Integer.parseInt(br.readLine());\n\t\tString[] str = new String[2];\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tString dis;\n\t\tfor(int n=0;n<4;n++){\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor(int i=0; i<cnt; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}\n\t\tfor(int i=0;i<list.size();i++){\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int cnt = Integer.parseInt(br.readLine());", "cnt", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] str = new String[2];", "str", "new String[2]", "2", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "String dis;", "dis", "for(int n=0;n<4;n++){\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int n=0;", "int n=0;", "n", "0", "n<4", "n", "4", "n++", "n++", "n", "{\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int m=1;m<=13;m++){\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "int m=1;", "int m=1;", "m", "1", "m<=13", "m", "13", "m++", "m++", "m", "{\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tswitch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "switch(n){\n\t\t\t\tcase 0:\n\t\t\t\t\tlist.add(\"S \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 1:\n\t\t\t\t\tlist.add(\"H \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 2:\n\t\t\t\t\tlist.add(\"C \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\tcase 3:\n\t\t\t\t\tlist.add(\"D \"+ m);\n\t\t\t\t\tbreak;\n\t\t\t\t}", "n", "case 0:", "0", "case 0:", "list.add(\"S \"+ m)", "list.add", "list", "\"S \"+ m", "\"S \"", "m", "break;", "case 1:", "1", "case 1:", "list.add(\"H \"+ m)", "list.add", "list", "\"H \"+ m", "\"H \"", "m", "break;", "case 2:", "2", "case 2:", "list.add(\"C \"+ m)", "list.add", "list", "\"C \"+ m", "\"C \"", "m", "break;", "case 3:", "3", "case 3:", "list.add(\"D \"+ m)", "list.add", "list", "\"D \"+ m", "\"D \"", "m", "break;", "for(int i=0; i<cnt; i++){\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<cnt", "i", "cnt", "i++", "i++", "i", "{\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}", "{\n\t\t\tstr = br.readLine().split(\" \");\n\t\t\tlist.remove(list.indexOf(str[0] + \" \" + str[1]));\n\t\t}", "str = br.readLine().split(\" \")", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "list.remove(list.indexOf(str[0] + \" \" + str[1]))", "list.remove", "list", "list.indexOf(str[0] + \" \" + str[1])", "list.indexOf", "list", "str[0] + \" \" + str[1]", "str[0] + \" \" + str[1]", "str[0]", "str", "0", "\" \"", "str[1]", "str", "1", "for(int i=0;i<list.size();i++){\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}", "{\n\t\t\tdis = list.get(i);\n\t\t\tSystem.out.println(dis);\n\t\t}", "dis = list.get(i)", "dis", "list.get(i)", "list.get", "list", "i", "System.out.println(dis)", "System.out.println", "System.out", "System", "System.out", "dis", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; import java.util.ArrayList; class Main{ public static void main(String[] args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int cnt = Integer.parseInt(br.readLine()); String[] str = new String[2]; ArrayList<String> list = new ArrayList<String>(); String dis; for(int n=0;n<4;n++){ for(int m=1;m<=13;m++){ switch(n){ case 0: list.add("S "+ m); break; case 1: list.add("H "+ m); break; case 2: list.add("C "+ m); break; case 3: list.add("D "+ m); break; } } } for(int i=0; i<cnt; i++){ str = br.readLine().split(" "); list.remove(list.indexOf(str[0] + " " + str[1])); } for(int i=0;i<list.size();i++){ dis = list.get(i); System.out.println(dis); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 38, 5, 13, 30, 4, 18, 13, 30, 42, 2, 0, 13, 4, 18, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 4, 18, 13, 4, 18, 13, 17, 8, 2, 4, 18, 13, 17, 40, 17, 4, 18, 13, 4, 18, 13, 17, 30, 41, 13, 4, 18, 13, 17, 8, 2, 4, 18, 13, 17, 40, 17, 4, 18, 13, 4, 18, 13, 17, 0, 13, 4, 18, 13, 2, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 4, 18, 13, 17, 8, 2, 4, 18, 13, 17, 40, 17, 4, 18, 13, 4, 18, 13, 17, 35, 13, 34, 17, 30, 30, 4, 18, 13, 13, 3, 34, 17, 30, 30, 4, 18, 13, 13, 3, 34, 17, 30, 30, 4, 18, 13, 13, 3, 34, 17, 30, 30, 4, 18, 13, 13, 3, 14, 2, 40, 13, 13, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 303, 14 ], [ 303, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 38 ], [ 38, 39 ], [ 38, 40 ], [ 17, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 41, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 50, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 58, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 90, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 87, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 114, 119 ], [ 87, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 130, 135 ], [ 135, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 129, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 87, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 149, 154 ], [ 144, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 158, 163 ], [ 144, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 167, 172 ], [ 144, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 176, 181 ], [ 87, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 183, 186 ], [ 182, 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 ], [ 204, 205 ], [ 203, 206 ], [ 201, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 213, 215 ], [ 187, 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 ], [ 232, 233 ], [ 231, 234 ], [ 229, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 236, 241 ], [ 241, 242 ], [ 241, 243 ], [ 187, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 244, 249 ], [ 249, 250 ], [ 249, 251 ], [ 244, 252 ], [ 252, 253 ], [ 253, 254 ], [ 244, 255 ], [ 256, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 259, 262 ], [ 257, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 264, 269 ], [ 269, 270 ], [ 269, 271 ], [ 187, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 272, 277 ], [ 277, 278 ], [ 277, 279 ], [ 272, 280 ], [ 280, 281 ], [ 281, 282 ], [ 272, 283 ], [ 284, 284 ], [ 284, 285 ], [ 285, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 287, 290 ], [ 285, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 292, 297 ], [ 297, 298 ], [ 297, 299 ], [ 15, 300 ], [ 300, 301 ], [ 0, 302 ], [ 302, 303 ], [ 302, 304 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\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\t\tint amount = 0;\n\t\tint count = 0;\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\tList<Integer> H = new ArrayList<Integer>();\n\t\tList<Integer> C = new ArrayList<Integer>();\n\t\tList<Integer> D = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\n\t\t\t}\n\t\t} catch (Exception ex) {\n\t\t\tex.printStackTrace();\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "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\t\tint amount = 0;\n\t\tint count = 0;\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\tList<Integer> H = new ArrayList<Integer>();\n\t\tList<Integer> C = new ArrayList<Integer>();\n\t\tList<Integer> D = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\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\t\tint amount = 0;\n\t\tint count = 0;\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\tList<Integer> H = new ArrayList<Integer>();\n\t\tList<Integer> C = new ArrayList<Integer>();\n\t\tList<Integer> D = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\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\t\tint amount = 0;\n\t\tint count = 0;\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\tList<Integer> H = new ArrayList<Integer>();\n\t\tList<Integer> C = new ArrayList<Integer>();\n\t\tList<Integer> D = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\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 amount = 0;", "amount", "0", "int count = 0;", "count", "0", "List<Integer> S = new ArrayList<Integer>();", "S", "new ArrayList<Integer>()", "List<Integer> H = new ArrayList<Integer>();", "H", "new ArrayList<Integer>()", "List<Integer> C = new ArrayList<Integer>();", "C", "new ArrayList<Integer>()", "List<Integer> D = new ArrayList<Integer>();", "D", "new ArrayList<Integer>()", "try {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\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\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\n\t\t\t}\n\t\t}", "while ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\n\t\t\t}", "(buffer = reader.readLine()) != null", "(buffer = reader.readLine())", "buffer", "reader.readLine()", "reader.readLine", "reader", "null", "{\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\n\t\t\t}", "if (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}", "amount == 0", "amount", "0", "{\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}", "amount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))", "amount", "Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))", "Integer.valueOf", "Integer", "buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))", "buffer.substring", "buffer", "0", "buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")", "buffer.indexOf(\" \") == -1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "-1", "1", "buffer.length()", "buffer.length", "buffer", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "{\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}", "String card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));", "card", "buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))", "buffer.substring", "buffer", "0", "buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")", "buffer.indexOf(\" \") == -1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "-1", "1", "buffer.length()", "buffer.length", "buffer", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "buffer = buffer.substring(buffer.indexOf(\" \") + 1)", "buffer", "buffer.substring(buffer.indexOf(\" \") + 1)", "buffer.substring", "buffer", "buffer.indexOf(\" \") + 1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "1", "int number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));", "number", "Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")))", "Integer.valueOf", "Integer", "buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"))", "buffer.substring", "buffer", "0", "buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")", "buffer.indexOf(\" \") == -1", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "-1", "1", "buffer.length()", "buffer.length", "buffer", "buffer.indexOf(\" \")", "buffer.indexOf", "buffer", "\" \"", "switch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}", "card", "case (\"S\") :", "(\"S\")", "case (\"S\") :", "{\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "S.add(number)", "S.add", "S", "number", "break;", "case (\"H\") :", "(\"H\")", "case (\"H\") :", "{\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "H.add(number)", "H.add", "H", "number", "break;", "case (\"C\") :", "(\"C\")", "case (\"C\") :", "{\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "C.add(number)", "C.add", "C", "number", "break;", "case (\"D\") :", "(\"D\")", "case (\"D\") :", "{\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "D.add(number)", "D.add", "D", "number", "break;", "if (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "++count == amount", "++count", "count", "amount", "{\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "for (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "int s = 1;", "int s = 1;", "s", "1", "s <= 13", "s", "13", "s++", "s++", "s", "{\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "{\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}", "!S.contains(s)", "S.contains(s)", "S.contains", "S", "s", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}", "System.out.println(\"S \" + s)", "System.out.println", "System.out", "System", "System.out", "\"S \" + s", "\"S \"", "s", "for (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "int h = 1;", "int h = 1;", "h", "1", "h <= 13", "h", "13", "h++", "h++", "h", "{\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "{\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}", "!H.contains(h)", "H.contains(h)", "H.contains", "H", "h", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}", "System.out.println(\"H \" + h)", "System.out.println", "System.out", "System", "System.out", "\"H \" + h", "\"H \"", "h", "for (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "int c = 1;", "int c = 1;", "c", "1", "c <= 13", "c", "13", "c++", "c++", "c", "{\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "{\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}", "!C.contains(c)", "C.contains(c)", "C.contains", "C", "c", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}", "System.out.println(\"C \" + c)", "System.out.println", "System.out", "System", "System.out", "\"C \" + c", "\"C \"", "c", "for (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "int d = 1;", "int d = 1;", "d", "1", "d <= 13", "d", "13", "d++", "d++", "d", "{\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "{\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}", "if (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}", "!D.contains(d)", "D.contains(d)", "D.contains", "D", "d", "{\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\n\t\t\t\t\t\t\t}", "System.out.println(\"D \" + d)", "System.out.println", "System.out", "System", "System.out", "\"D \" + d", "\"D \"", "d", "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\t\tint amount = 0;\n\t\tint count = 0;\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\tList<Integer> H = new ArrayList<Integer>();\n\t\tList<Integer> C = new ArrayList<Integer>();\n\t\tList<Integer> D = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\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\t\tint amount = 0;\n\t\tint count = 0;\n\t\tList<Integer> S = new ArrayList<Integer>();\n\t\tList<Integer> H = new ArrayList<Integer>();\n\t\tList<Integer> C = new ArrayList<Integer>();\n\t\tList<Integer> D = new ArrayList<Integer>();\n\t\ttry {\n\t\t\twhile ((buffer = reader.readLine()) != null) {\n\t\t\t\tif (amount == 0) {\n\t\t\t\t\tamount = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t}\n\t\t\t\telse {\n\t\t\t\t\tString card = buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \"));\n\t\t\t\t\tbuffer = buffer.substring(buffer.indexOf(\" \") + 1);\n\t\t\t\t\tint number = Integer.valueOf(buffer.substring(0, buffer.indexOf(\" \") == -1 ? buffer.length() : buffer.indexOf(\" \")));\n\t\t\t\t\tswitch (card) {\n\t\t\t\t\tcase (\"S\") : {\n\t\t\t\t\t\tS.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"H\") : {\n\t\t\t\t\t\tH.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"C\") : {\n\t\t\t\t\t\tC.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tcase (\"D\") : {\n\t\t\t\t\t\tD.add(number);\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif (++count == amount) {\n\t\t\t\t\t\tfor (int s = 1; s <= 13; s++) {\n\t\t\t\t\t\t\tif (!S.contains(s)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"S \" + s);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int h = 1; h <= 13; h++) {\n\t\t\t\t\t\t\tif (!H.contains(h)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"H \" + h);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int c = 1; c <= 13; c++) {\n\t\t\t\t\t\t\tif (!C.contains(c)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"C \" + c);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t\tfor (int d = 1; d <= 13; d++) {\n\t\t\t\t\t\t\tif (!D.contains(d)) {\n\t\t\t\t\t\t\t\tSystem.out.println(\"D \" + d);\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}\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; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); String buffer; int amount = 0; int count = 0; List<Integer> S = new ArrayList<Integer>(); List<Integer> H = new ArrayList<Integer>(); List<Integer> C = new ArrayList<Integer>(); List<Integer> D = new ArrayList<Integer>(); try { while ((buffer = reader.readLine()) != null) { if (amount == 0) { amount = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" "))); } else { String card = buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" ")); buffer = buffer.substring(buffer.indexOf(" ") + 1); int number = Integer.valueOf(buffer.substring(0, buffer.indexOf(" ") == -1 ? buffer.length() : buffer.indexOf(" "))); switch (card) { case ("S") : { S.add(number); break; } case ("H") : { H.add(number); break; } case ("C") : { C.add(number); break; } case ("D") : { D.add(number); break; } } if (++count == amount) { for (int s = 1; s <= 13; s++) { if (!S.contains(s)) { System.out.println("S " + s); } } for (int h = 1; h <= 13; h++) { if (!H.contains(h)) { System.out.println("H " + h); } } for (int c = 1; c <= 13; c++) { if (!C.contains(c)) { System.out.println("C " + c); } } for (int d = 1; d <= 13; d++) { if (!D.contains(d)) { System.out.println("D " + d); } } } } } } catch (Exception ex) { ex.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 41, 13, 4, 18, 13, 40, 18, 13, 2, 13, 17, 14, 4, 18, 17, 13, 30, 41, 13, 4, 18, 13, 40, 18, 13, 2, 13, 17, 14, 4, 18, 17, 13, 30, 41, 13, 4, 18, 13, 40, 18, 13, 2, 13, 17, 14, 4, 18, 17, 13, 30, 41, 13, 4, 18, 13, 40, 18, 13, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 248, 5 ], [ 248, 6 ], [ 6, 7 ], [ 6, 8 ], [ 248, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 51, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 73, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 68, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 90, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 85, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 11, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 119, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 132, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 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 ], [ 163, 167 ], [ 162, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 176, 178 ], [ 11, 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 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 11, 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 ], [ 231, 232 ], [ 231, 233 ], [ 229, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 236, 238 ], [ 248, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 239, 245 ], [ 245, 246 ], [ 0, 247 ], [ 247, 248 ], [ 247, 249 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic static void main(String[] args){\n\t\t//TODO Auto-generated mathod stub\n\t\tnew Main().run();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic static void main(String[] args){\n\t\t//TODO Auto-generated mathod stub\n\t\tnew Main().run();\n\t}\n}", "Main", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "void run() {\n\t\tint n = scan.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t}", "run", "{\n\t\tint n = scan.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t}", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int[] S = new int[13];", "S", "new int[13]", "13", "int[] H = new int[13];", "H", "new int[13]", "13", "int[] C = new int[13];", "C", "new int[13]", "13", "int[] D = new int[13];", "D", "new int[13]", "13", "for(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\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 t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}", "{\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}", "String t = scan.next();", "t", "scan.next()", "scan.next", "scan", "if(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}", "\"S\".equals(t)", "\"S\".equals", "\"S\"", "t", "{\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t}", "int j = scan.nextInt();", "j", "scan.nextInt()", "scan.nextInt", "scan", "S[j-1]++", "S[j-1]", "S", "j-1", "j", "1", "if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}", "\"H\".equals(t)", "\"H\".equals", "\"H\"", "t", "{\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t}", "int j = scan.nextInt();", "j", "scan.nextInt()", "scan.nextInt", "scan", "H[j-1]++", "H[j-1]", "H", "j-1", "j", "1", "if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}", "\"C\".equals(t)", "\"C\".equals", "\"C\"", "t", "{\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t}", "int j = scan.nextInt();", "j", "scan.nextInt()", "scan.nextInt", "scan", "C[j-1]++", "C[j-1]", "C", "j-1", "j", "1", "if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}", "\"D\".equals(t)", "\"D\".equals", "\"D\"", "t", "{\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}", "int j = scan.nextInt();", "j", "scan.nextInt()", "scan.nextInt", "scan", "D[j-1]++", "D[j-1]", "D", "j-1", "j", "1", "for (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}", "if(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}", "S[i] == 0", "S[i]", "S", "i", "0", "{\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}", "System.out.println(\"S \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i+1)", "\"S \"", "(i+1)", "i", "1", "for (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}", "if(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}", "H[i] == 0", "H[i]", "H", "i", "0", "{\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}", "System.out.println(\"H \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i+1)", "\"H \"", "(i+1)", "i", "1", "for (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}", "if(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}", "C[i] == 0", "C[i]", "C", "i", "0", "{\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}", "System.out.println(\"C \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i+1)", "\"C \"", "(i+1)", "i", "1", "for (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}", "if(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}", "D[i] == 0", "D[i]", "D", "i", "0", "{\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}", "System.out.println(\"D \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i+1)", "\"D \"", "(i+1)", "i", "1", "public static void main(String[] args){\n\t\t//TODO Auto-generated mathod stub\n\t\tnew Main().run();\n\t}", "main", "{\n\t\t//TODO Auto-generated mathod stub\n\t\tnew Main().run();\n\t}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "public class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic static void main(String[] args){\n\t\t//TODO Auto-generated mathod stub\n\t\tnew Main().run();\n\t}\n}", "public class Main {\n\tScanner scan = new Scanner(System.in);\n\tvoid run() {\n\t\tint n = scan.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString t = scan.next();\n\t\t\tif(\"S\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tS[j-1]++;\n\t\t\t} else if(\"H\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tH[j-1]++;\n\t\t\t} else if(\"C\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tC[j-1]++;\n\t\t\t} else if(\"D\".equals(t)) {\n\t\t\t\tint j = scan.nextInt();\n\t\t\t\tD[j-1]++;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(S[i] == 0) {\n\t\t\t\tSystem.out.println(\"S \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(H[i] == 0) {\n\t\t\t\tSystem.out.println(\"H \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(C[i] == 0) {\n\t\t\t\tSystem.out.println(\"C \" + (i+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif(D[i] == 0) {\n\t\t\t\tSystem.out.println(\"D \" + (i+1));\n\t\t\t}\n\t\t}\n\t}\n\n\tpublic static void main(String[] args){\n\t\t//TODO Auto-generated mathod stub\n\t\tnew Main().run();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { Scanner scan = new Scanner(System.in); void run() { int n = scan.nextInt(); int[] S = new int[13]; int[] H = new int[13]; int[] C = new int[13]; int[] D = new int[13]; for(int i = 0; i < n; i++) { String t = scan.next(); if("S".equals(t)) { int j = scan.nextInt(); S[j-1]++; } else if("H".equals(t)) { int j = scan.nextInt(); H[j-1]++; } else if("C".equals(t)) { int j = scan.nextInt(); C[j-1]++; } else if("D".equals(t)) { int j = scan.nextInt(); D[j-1]++; } } for (int i = 0; i < 13; i++) { if(S[i] == 0) { System.out.println("S " + (i+1)); } } for (int i = 0; i < 13; i++) { if(H[i] == 0) { System.out.println("H " + (i+1)); } } for (int i = 0; i < 13; i++) { if(C[i] == 0) { System.out.println("C " + (i+1)); } } for (int i = 0; i < 13; i++) { if(D[i] == 0) { System.out.println("D " + (i+1)); } } } public static void main(String[] args){ //TODO Auto-generated mathod stub new Main().run(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 41, 13, 4, 18, 13, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 40, 18, 18, 13, 13, 40, 40, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 2, 13, 17, 2, 13, 17, 17, 30, 35, 2, 13, 17, 34, 17, 1, 4, 18, 18, 13, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 17, 3, 4, 18, 18, 13, 13, 2, 17, 2, 2, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 171, 5 ], [ 171, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 17, 27 ], [ 27, 28 ], [ 27, 29 ], [ 17, 30 ], [ 30, 31 ], [ 31, 32 ], [ 17, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 34, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 34, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 47, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 56, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 34, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 101, 107 ], [ 107, 108 ], [ 107, 109 ], [ 100, 110 ], [ 99, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 118, 125 ], [ 112, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 128, 135 ], [ 112, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 138, 145 ], [ 112, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 148, 155 ], [ 111, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 6, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int[][] ary = new int[4][13];\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }\n for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\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[][] ary = new int[4][13];\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }\n for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int[][] ary = new int[4][13];\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }\n for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }\n }", "main", "{\n Scanner scn = new Scanner(System.in);\n int[][] ary = new int[4][13];\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }\n for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }\n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int[][] ary = new int[4][13];", "ary", "new int[4][13]", "4", "13", "for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }", "int i = 0, n = scn.nextInt();", "int i = 0", "i", "0", "n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }", "{\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }", "String s = scn.next();", "s", "scn.next()", "scn.next", "scn", "int p", "p", "v = scn.nextInt();", "v", "scn.nextInt()", "scn.nextInt", "scn", "if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }", "s.equals(\"S\")", "s.equals", "s", "\"S\"", "{\n p = 0;\n }", "p = 0", "p", "0", "if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }", "s.equals(\"H\")", "s.equals", "s", "\"H\"", "{\n p = 1;\n }", "p = 1", "p", "1", "if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }", "s.equals(\"C\")", "s.equals", "s", "\"C\"", "{\n p = 2;\n }", "p = 2", "p", "2", "{\n p = 3;\n }", "p = 3", "p", "3", "ary[p][~-v]++", "ary[p][~-v]", "ary[p]", "ary", "p", "~-v", "-v", "v", "for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 52", "i", "52", "i++", "i++", "i", "{\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }", "{\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }", "if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }", "ary[i / 13][i % 13] < 1", "ary[i / 13][i % 13]", "ary[i / 13]", "ary", "i / 13", "i", "13", "i % 13", "i", "13", "1", "{\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }", "switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }", "i / 13", "i", "13", "case 0:", "0", "case 0:", "System.out.print(\"S\")", "System.out.print", "System.out", "System", "System.out", "\"S\"", "break;", "case 1:", "1", "case 1:", "System.out.print(\"H\")", "System.out.print", "System.out", "System", "System.out", "\"H\"", "break;", "case 2:", "2", "case 2:", "System.out.print(\"C\")", "System.out.print", "System.out", "System", "System.out", "\"C\"", "break;", "case 3:", "3", "case 3:", "System.out.print(\"D\")", "System.out.print", "System.out", "System", "System.out", "\"D\"", "break;", "System.out.println(\" \" + (i % 13 + 1))", "System.out.println", "System.out", "System", "System.out", "\" \" + (i % 13 + 1)", "\" \"", "(i % 13 + 1)", "i % 13", "i", "13", "1", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int[][] ary = new int[4][13];\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }\n for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scn = new Scanner(System.in);\n int[][] ary = new int[4][13];\n for(int i = 0, n = scn.nextInt(); i < n; i++) {\n String s = scn.next();\n int p, v = scn.nextInt();\n if(s.equals(\"S\")) {\n p = 0;\n } else if(s.equals(\"H\")) {\n p = 1;\n } else if(s.equals(\"C\")) {\n p = 2;\n } else {\n p = 3;\n }\n ary[p][~-v]++;\n }\n for(int i = 0; i < 52; i++) {\n if(ary[i / 13][i % 13] < 1) {\n switch(i / 13) {\n case 0:\n System.out.print(\"S\");\n break;\n case 1:\n System.out.print(\"H\");\n break;\n case 2:\n System.out.print(\"C\");\n break;\n case 3:\n System.out.print(\"D\");\n break;\n }\n System.out.println(\" \" + (i % 13 + 1));\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scn = new Scanner(System.in); int[][] ary = new int[4][13]; for(int i = 0, n = scn.nextInt(); i < n; i++) { String s = scn.next(); int p, v = scn.nextInt(); if(s.equals("S")) { p = 0; } else if(s.equals("H")) { p = 1; } else if(s.equals("C")) { p = 2; } else { p = 3; } ary[p][~-v]++; } for(int i = 0; i < 52; i++) { if(ary[i / 13][i % 13] < 1) { switch(i / 13) { case 0: System.out.print("S"); break; case 1: System.out.print("H"); break; case 2: System.out.print("C"); break; case 3: System.out.print("D"); break; } System.out.println(" " + (i % 13 + 1)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 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 ], [ 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 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 40, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 51, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 65, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 79, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 79, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 103, 105 ], [ 98, 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 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 135, 141 ], [ 134, 142 ], [ 142, 143 ], [ 142, 144 ], [ 133, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 153, 155 ], [ 133, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 158, 164 ], [ 157, 165 ], [ 165, 166 ], [ 165, 167 ], [ 156, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 176, 178 ], [ 156, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 181, 187 ], [ 180, 188 ], [ 188, 189 ], [ 188, 190 ], [ 179, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 199, 201 ], [ 179, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 204, 210 ], [ 203, 211 ], [ 211, 212 ], [ 211, 213 ], [ 202, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 222, 224 ], [ 6, 225 ], [ 225, 226 ], [ 0, 227 ], [ 227, 228 ], [ 227, 229 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint n,c;\n\t\tString b;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tint a[][]=new int[4][13];\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}\n\t\tfor(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\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\tint n,c;\n\t\tString b;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tint a[][]=new int[4][13];\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}\n\t\tfor(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t} \n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint n,c;\n\t\tString b;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tint a[][]=new int[4][13];\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}\n\t\tfor(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t} \n\t}", "main", "{\n\t\tint n,c;\n\t\tString b;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tint a[][]=new int[4][13];\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}\n\t\tfor(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t} \n\t}", "int n", "n", "c;", "c", "String b;", "b", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "n=scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "int a[][]=new int[4][13];", "a", "new int[4][13]", "4", "13", "for(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}", "{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}", "b=scan.next()", "b", "scan.next()", "scan.next", "scan", "c=scan.nextInt()", "c", "scan.nextInt()", "scan.nextInt", "scan", "if(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;", "b.equals(\"S\")", "b.equals", "b", "\"S\"", "a[0][c-1]=1", "a[0][c-1]", "a[0]", "a", "0", "c-1", "c", "1", "1", "if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;", "b.equals(\"H\")", "b.equals", "b", "\"H\"", "a[1][c-1]=1", "a[1][c-1]", "a[1]", "a", "1", "c-1", "c", "1", "1", "if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;", "b.equals(\"C\")", "b.equals", "b", "\"C\"", "a[2][c-1]=1", "a[2][c-1]", "a[2]", "a", "2", "c-1", "c", "1", "1", "if(b.equals(\"D\"))a[3][c-1]=1;", "b.equals(\"D\")", "b.equals", "b", "\"D\"", "a[3][c-1]=1", "a[3][c-1]", "a[3]", "a", "3", "c-1", "c", "1", "1", "for(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t}", "{\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t}", "for(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t }", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t }", "{\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t }", "if(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}", "a[i][j]==0 && i==0", "a[i][j]==0", "a[i][j]", "a[i]", "a", "i", "j", "0", "i==0", "i", "0", "{\n\t\tSystem.out.println(\"S \"+(j+1));}", "System.out.println(\"S \"+(j+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+(j+1)", "\"S \"", "(j+1)", "j", "1", "if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}", "a[i][j]==0 && i==1", "a[i][j]==0", "a[i][j]", "a[i]", "a", "i", "j", "0", "i==1", "i", "1", "{\n\t\tSystem.out.println(\"H \"+(j+1));}", "System.out.println(\"H \"+(j+1))", "System.out.println", "System.out", "System", "System.out", "\"H \"+(j+1)", "\"H \"", "(j+1)", "j", "1", "if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}", "a[i][j]==0 && i==2", "a[i][j]==0", "a[i][j]", "a[i]", "a", "i", "j", "0", "i==2", "i", "2", "{\n\t\tSystem.out.println(\"C \"+(j+1));}", "System.out.println(\"C \"+(j+1))", "System.out.println", "System.out", "System", "System.out", "\"C \"+(j+1)", "\"C \"", "(j+1)", "j", "1", "if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}", "a[i][j]==0 && i==3", "a[i][j]==0", "a[i][j]", "a[i]", "a", "i", "j", "0", "i==3", "i", "3", "{\n\t\tSystem.out.println(\"D \"+(j+1));}", "System.out.println(\"D \"+(j+1))", "System.out.println", "System.out", "System", "System.out", "\"D \"+(j+1)", "\"D \"", "(j+1)", "j", "1", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n,c;\n\t\tString b;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tint a[][]=new int[4][13];\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}\n\t\tfor(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t} \n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n,c;\n\t\tString b;\n\t\tScanner scan=new Scanner(System.in);\n\t\tn=scan.nextInt();\n\t\tint a[][]=new int[4][13];\n\t\tfor(int i=0;i<n;i++)\n\t\t{\n\t\tb=scan.next();\n\t\tc=scan.nextInt();\n\t\tif(b.equals(\"S\"))a[0][c-1]=1;\n\t\telse if(b.equals(\"H\"))a[1][c-1]=1;\n\t\telse if(b.equals(\"C\"))a[2][c-1]=1;\n\t\telse if(b.equals(\"D\"))a[3][c-1]=1;}\n\t\tfor(int i=0;i<4;i++) {\n\t\tfor(int j=0;j<13;j++){\n\t\tif(a[i][j]==0 && i==0){\n\t\tSystem.out.println(\"S \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==1){\n\t\tSystem.out.println(\"H \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==2){\n\t\tSystem.out.println(\"C \"+(j+1));}\n\t\telse if(a[i][j]==0 && i==3){\n\t\tSystem.out.println(\"D \"+(j+1));}\n\t\t } \n\t\t} \n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { int n,c; String b; Scanner scan=new Scanner(System.in); n=scan.nextInt(); int a[][]=new int[4][13]; for(int i=0;i<n;i++) { b=scan.next(); c=scan.nextInt(); if(b.equals("S"))a[0][c-1]=1; else if(b.equals("H"))a[1][c-1]=1; else if(b.equals("C"))a[2][c-1]=1; else if(b.equals("D"))a[3][c-1]=1;} for(int i=0;i<4;i++) { for(int j=0;j<13;j++){ if(a[i][j]==0 && i==0){ System.out.println("S "+(j+1));} else if(a[i][j]==0 && i==1){ System.out.println("H "+(j+1));} else if(a[i][j]==0 && i==2){ System.out.println("C "+(j+1));} else if(a[i][j]==0 && i==3){ System.out.println("D "+(j+1));} } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 48, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 63, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 78, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 8, 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 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 127 ], [ 128, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 129, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 149, 151 ], [ 137, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 164, 166 ], [ 152, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 179, 181 ], [ 167, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 190, 192 ], [ 6, 193 ], [ 193, 194 ] ]
[ "import java.util.Scanner;\n\nclass Main\n{\n\tpublic static void main ( String[] args ) {\n\t\t\n\t\tScanner sc = new Scanner ( System.in );\n\t\tStringBuilder str = new StringBuilder ();\n\t\t\n\t\tboolean [][] cards = new boolean[ 4 ][ 13 ];\n\t\t\n\t\tint n = sc.nextInt ();\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\tString art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\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{\n\tpublic static void main ( String[] args ) {\n\t\t\n\t\tScanner sc = new Scanner ( System.in );\n\t\tStringBuilder str = new StringBuilder ();\n\t\t\n\t\tboolean [][] cards = new boolean[ 4 ][ 13 ];\n\t\t\n\t\tint n = sc.nextInt ();\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\tString art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main ( String[] args ) {\n\t\t\n\t\tScanner sc = new Scanner ( System.in );\n\t\tStringBuilder str = new StringBuilder ();\n\t\t\n\t\tboolean [][] cards = new boolean[ 4 ][ 13 ];\n\t\t\n\t\tint n = sc.nextInt ();\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\tString art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t\n\t\tScanner sc = new Scanner ( System.in );\n\t\tStringBuilder str = new StringBuilder ();\n\t\t\n\t\tboolean [][] cards = new boolean[ 4 ][ 13 ];\n\t\t\n\t\tint n = sc.nextInt ();\n\t\t\n\t\tfor ( int i = 0; i < n; i++ ) {\n\t\t\tString art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\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 )", "StringBuilder str = new StringBuilder ();", "str", "new StringBuilder ()", "boolean [][] cards = new boolean[ 4 ][ 13 ];", "cards", "new boolean[ 4 ][ 13 ]", "4", "13", "int n = sc.nextInt ();", "n", "sc.nextInt ()", "sc.nextInt", "sc", "for ( int i = 0; i < n; i++ ) {\n\t\t\tString art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\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 art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}\n\t\t}", "{\n\t\t\tString art = sc.next ();\n\t\t\tint rank = sc.nextInt ();\n\t\t\t\n\t\t\tif ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}\n\t\t}", "String art = sc.next ();", "art", "sc.next ()", "sc.next", "sc", "int rank = sc.nextInt ();", "rank", "sc.nextInt ()", "sc.nextInt", "sc", "if ( art.equals ( \"S\" ) ) {\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}", "art.equals ( \"S\" )", "art.equals", "art", "\"S\"", "{\n\t\t\t\tcards[ 0 ][ rank - 1 ] = true;\n\t\t\t}", "cards[ 0 ][ rank - 1 ] = true", "cards[ 0 ][ rank - 1 ]", "cards[ 0 ]", "cards", "0", "rank - 1", "rank", "1", "true", "if ( art.equals ( \"H\" ) ) {\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t} else if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}", "art.equals ( \"H\" )", "art.equals", "art", "\"H\"", "{\n\t\t\t\tcards[ 1 ][ rank - 1 ] = true;\n\t\t\t}", "cards[ 1 ][ rank - 1 ] = true", "cards[ 1 ][ rank - 1 ]", "cards[ 1 ]", "cards", "1", "rank - 1", "rank", "1", "true", "if ( art.equals ( \"C\" ) ) {\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t} else {\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}", "art.equals ( \"C\" )", "art.equals", "art", "\"C\"", "{\n\t\t\t\tcards[ 2 ][ rank - 1 ] = true;\n\t\t\t}", "cards[ 2 ][ rank - 1 ] = true", "cards[ 2 ][ rank - 1 ]", "cards[ 2 ]", "cards", "2", "rank - 1", "rank", "1", "true", "{\n\t\t\t\tcards[ 3 ][ rank - 1 ] = true;\n\t\t\t}", "cards[ 3 ][ rank - 1 ] = true", "cards[ 3 ][ rank - 1 ]", "cards[ 3 ]", "cards", "3", "rank - 1", "rank", "1", "true", "for ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if ( !cards[ i ][ j ] ) {\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}", "!cards[ i ][ j ]", "cards[ i ][ j ]", "cards[ i ]", "cards", "i", "j", "{\n\t\t\t\t\tif ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}\n\t\t\t\t}", "if ( i == 0 ) {\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\t\t\tSystem.out.println ( \"S \" + ( j + 1 ) );\n\t\t\t\t\t}", "System.out.println ( \"S \" + ( j + 1 ) )", "System.out.println", "System.out", "System", "System.out", "\"S \" + ( j + 1 )", "\"S \"", "( j + 1 )", "j", "1", "if ( i == 1 ) {\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t} else if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}", "i == 1", "i", "1", "{\n\t\t\t\t\t\tSystem.out.println ( \"H \" + ( j + 1 ) );\n\t\t\t\t\t}", "System.out.println ( \"H \" + ( j + 1 ) )", "System.out.println", "System.out", "System", "System.out", "\"H \" + ( j + 1 )", "\"H \"", "( j + 1 )", "j", "1", "if ( i == 2 ) {\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t} else {\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}", "i == 2", "i", "2", "{\n\t\t\t\t\t\tSystem.out.println ( \"C \" + ( j + 1 ) );\n\t\t\t\t\t}", "System.out.println ( \"C \" + ( j + 1 ) )", "System.out.println", "System.out", "System", "System.out", "\"C \" + ( j + 1 )", "\"C \"", "( j + 1 )", "j", "1", "{\n\t\t\t\t\t\tSystem.out.println ( \"D \" + ( j + 1 ) );\n\t\t\t\t\t}", "System.out.println ( \"D \" + ( j + 1 ) )", "System.out.println", "System.out", "System", "System.out", "\"D \" + ( j + 1 )", "\"D \"", "( j + 1 )", "j", "1", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main ( String[] args ) { Scanner sc = new Scanner ( System.in ); StringBuilder str = new StringBuilder (); boolean [][] cards = new boolean[ 4 ][ 13 ]; int n = sc.nextInt (); for ( int i = 0; i < n; i++ ) { String art = sc.next (); int rank = sc.nextInt (); if ( art.equals ( "S" ) ) { cards[ 0 ][ rank - 1 ] = true; } else if ( art.equals ( "H" ) ) { cards[ 1 ][ rank - 1 ] = true; } else if ( art.equals ( "C" ) ) { cards[ 2 ][ rank - 1 ] = true; } else { cards[ 3 ][ rank - 1 ] = true; } } for ( int i = 0; i < 4; i++ ) { for ( int j = 0; j < 13; j++ ) { if ( !cards[ i ][ j ] ) { if ( i == 0 ) { System.out.println ( "S " + ( j + 1 ) ); } else if ( i == 1 ) { System.out.println ( "H " + ( j + 1 ) ); } else if ( i == 2 ) { System.out.println ( "C " + ( j + 1 ) ); } else { System.out.println ( "D " + ( j + 1 ) ); } } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 17, 2, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 30, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 314, 5 ], [ 314, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 41, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 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 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 72, 80 ], [ 80, 81 ], [ 81, 82 ], [ 72, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 113, 115 ], [ 8, 116 ], [ 116, 117 ], [ 116, 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 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 133, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 133, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 144, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 153, 155 ], [ 150, 156 ], [ 144, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 157, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 166, 168 ], [ 163, 169 ], [ 157, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 170, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 179, 181 ], [ 176, 182 ], [ 170, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 184, 190 ], [ 8, 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 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 206, 211 ], [ 204, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 8, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 221, 226 ], [ 226, 227 ], [ 226, 228 ], [ 221, 229 ], [ 229, 230 ], [ 230, 231 ], [ 221, 232 ], [ 233, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 236, 241 ], [ 234, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 243, 248 ], [ 248, 249 ], [ 248, 250 ], [ 8, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 251, 256 ], [ 256, 257 ], [ 256, 258 ], [ 251, 259 ], [ 259, 260 ], [ 260, 261 ], [ 251, 262 ], [ 263, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 266, 271 ], [ 264, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 273, 278 ], [ 278, 279 ], [ 278, 280 ], [ 8, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 281, 286 ], [ 286, 287 ], [ 286, 288 ], [ 281, 289 ], [ 289, 290 ], [ 290, 291 ], [ 281, 292 ], [ 293, 293 ], [ 293, 294 ], [ 294, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 296, 301 ], [ 294, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 305, 307 ], [ 303, 308 ], [ 308, 309 ], [ 308, 310 ], [ 6, 311 ], [ 311, 312 ], [ 0, 313 ], [ 313, 314 ], [ 313, 315 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String[] Spade = new String[13];\n String[] Heart = new String[13];\n String[] Club = new String[13];\n String[] Daiya = new String[13];\n for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }\n int maisu=scanner.nextInt();\n for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }\n for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String[] Spade = new String[13];\n String[] Heart = new String[13];\n String[] Club = new String[13];\n String[] Daiya = new String[13];\n for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }\n int maisu=scanner.nextInt();\n for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }\n for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String[] Spade = new String[13];\n String[] Heart = new String[13];\n String[] Club = new String[13];\n String[] Daiya = new String[13];\n for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }\n int maisu=scanner.nextInt();\n for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }\n for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n String[] Spade = new String[13];\n String[] Heart = new String[13];\n String[] Club = new String[13];\n String[] Daiya = new String[13];\n for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }\n int maisu=scanner.nextInt();\n for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }\n for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String[] Spade = new String[13];", "Spade", "new String[13]", "13", "String[] Heart = new String[13];", "Heart", "new String[13]", "13", "String[] Club = new String[13];", "Club", "new String[13]", "13", "String[] Daiya = new String[13];", "Daiya", "new String[13]", "13", "for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n Spade[i]=\"S \"+(i+1);\n }", "{\n Spade[i]=\"S \"+(i+1);\n }", "Spade[i]=\"S \"+(i+1)", "Spade[i]", "Spade", "i", "\"S \"+(i+1)", "\"S \"", "(i+1)", "i", "1", "for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n Heart[i]=\"H \"+(i+1);\n }", "{\n Heart[i]=\"H \"+(i+1);\n }", "Heart[i]=\"H \"+(i+1)", "Heart[i]", "Heart", "i", "\"H \"+(i+1)", "\"H \"", "(i+1)", "i", "1", "for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n Club[i]=\"C \"+(i+1);\n }", "{\n Club[i]=\"C \"+(i+1);\n }", "Club[i]=\"C \"+(i+1)", "Club[i]", "Club", "i", "\"C \"+(i+1)", "\"C \"", "(i+1)", "i", "1", "for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n Daiya[i]=\"D \"+(i+1);\n }", "{\n Daiya[i]=\"D \"+(i+1);\n }", "Daiya[i]=\"D \"+(i+1)", "Daiya[i]", "Daiya", "i", "\"D \"+(i+1)", "\"D \"", "(i+1)", "i", "1", "int maisu=scanner.nextInt();", "maisu", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }", "int i=0;", "int i=0;", "i", "0", "i<maisu", "i", "maisu", "i++", "i++", "i", "{\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }", "{\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }", "String shurui=scanner.next();", "shurui", "scanner.next()", "scanner.next", "scanner", "int kazu=scanner.nextInt();", "kazu", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n }", "shurui.equals(\"S\")", "shurui.equals", "shurui", "\"S\"", "{\n Spade[(kazu-1)]=\"0\";\n }", "Spade[(kazu-1)]=\"0\"", "Spade[(kazu-1)]", "Spade", "(kazu-1)", "kazu", "1", "\"0\"", "if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n }", "shurui.equals(\"H\")", "shurui.equals", "shurui", "\"H\"", "{\n Heart[(kazu-1)]=\"0\";\n }", "Heart[(kazu-1)]=\"0\"", "Heart[(kazu-1)]", "Heart", "(kazu-1)", "kazu", "1", "\"0\"", "if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n }", "shurui.equals(\"C\")", "shurui.equals", "shurui", "\"C\"", "{\n Club[(kazu-1)]=\"0\";\n }", "Club[(kazu-1)]=\"0\"", "Club[(kazu-1)]", "Club", "(kazu-1)", "kazu", "1", "\"0\"", "{\n Daiya[(kazu-1)]=\"0\";\n }", "Daiya[(kazu-1)]=\"0\"", "Daiya[(kazu-1)]", "Daiya", "(kazu-1)", "kazu", "1", "\"0\"", "for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }", "{\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }", "if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }", "!Spade[i].equals(\"0\")", "Spade[i].equals(\"0\")", "Spade[i].equals", "Spade[i]", "Spade", "i", "\"0\"", "{\n System.out.println(Spade[i]);\n }", "System.out.println(Spade[i])", "System.out.println", "System.out", "System", "System.out", "Spade[i]", "Spade", "i", "for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }", "{\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }", "if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }", "!Heart[i].equals(\"0\")", "Heart[i].equals(\"0\")", "Heart[i].equals", "Heart[i]", "Heart", "i", "\"0\"", "{\n System.out.println(Heart[i]);\n }", "System.out.println(Heart[i])", "System.out.println", "System.out", "System", "System.out", "Heart[i]", "Heart", "i", "for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }", "{\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }", "if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }", "!Club[i].equals(\"0\")", "Club[i].equals(\"0\")", "Club[i].equals", "Club[i]", "Club", "i", "\"0\"", "{\n System.out.println(Club[i]);\n }", "System.out.println(Club[i])", "System.out.println", "System.out", "System", "System.out", "Club[i]", "Club", "i", "for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }", "{\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }", "if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }", "!Daiya[i].equals(\"0\")", "Daiya[i].equals(\"0\")", "Daiya[i].equals", "Daiya[i]", "Daiya", "i", "\"0\"", "{\n System.out.println(Daiya[i]);\n }", "System.out.println(Daiya[i])", "System.out.println", "System.out", "System", "System.out", "Daiya[i]", "Daiya", "i", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String[] Spade = new String[13];\n String[] Heart = new String[13];\n String[] Club = new String[13];\n String[] Daiya = new String[13];\n for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }\n int maisu=scanner.nextInt();\n for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }\n for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n String[] Spade = new String[13];\n String[] Heart = new String[13];\n String[] Club = new String[13];\n String[] Daiya = new String[13];\n for (int i = 0; i < 13; i++) {\n Spade[i]=\"S \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Heart[i]=\"H \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Club[i]=\"C \"+(i+1);\n }\n for (int i = 0; i < 13; i++) {\n Daiya[i]=\"D \"+(i+1);\n }\n int maisu=scanner.nextInt();\n for(int i=0; i<maisu; i++){\n String shurui=scanner.next();\n int kazu=scanner.nextInt();\n if(shurui.equals(\"S\")){\n Spade[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"H\")){\n Heart[(kazu-1)]=\"0\";\n }\n else if(shurui.equals(\"C\")){\n Club[(kazu-1)]=\"0\";\n }\n else {\n Daiya[(kazu-1)]=\"0\";\n } \n }\n for(int i=0; i<13; i++){\n if(!Spade[i].equals(\"0\")){\n System.out.println(Spade[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Heart[i].equals(\"0\")){\n System.out.println(Heart[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Club[i].equals(\"0\")){\n System.out.println(Club[i]);\n }\n }\n for(int i=0; i<13; i++){\n if(!Daiya[i].equals(\"0\")){\n System.out.println(Daiya[i]);\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); String[] Spade = new String[13]; String[] Heart = new String[13]; String[] Club = new String[13]; String[] Daiya = new String[13]; for (int i = 0; i < 13; i++) { Spade[i]="S "+(i+1); } for (int i = 0; i < 13; i++) { Heart[i]="H "+(i+1); } for (int i = 0; i < 13; i++) { Club[i]="C "+(i+1); } for (int i = 0; i < 13; i++) { Daiya[i]="D "+(i+1); } int maisu=scanner.nextInt(); for(int i=0; i<maisu; i++){ String shurui=scanner.next(); int kazu=scanner.nextInt(); if(shurui.equals("S")){ Spade[(kazu-1)]="0"; } else if(shurui.equals("H")){ Heart[(kazu-1)]="0"; } else if(shurui.equals("C")){ Club[(kazu-1)]="0"; } else { Daiya[(kazu-1)]="0"; } } for(int i=0; i<13; i++){ if(!Spade[i].equals("0")){ System.out.println(Spade[i]); } } for(int i=0; i<13; i++){ if(!Heart[i].equals("0")){ System.out.println(Heart[i]); } } for(int i=0; i<13; i++){ if(!Club[i].equals("0")){ System.out.println(Club[i]); } } for(int i=0; i<13; i++){ if(!Daiya[i].equals("0")){ System.out.println(Daiya[i]); } } } }
[ 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, 15, 13, 17, 15, 13, 17, 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, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 2, 2, 2, 4, 13, 13, 17, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 41, 13, 2, 13, 17, 41, 13, 2, 2, 13, 17, 17, 4, 18, 13, 2, 2, 4, 13, 13, 17, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 4, 18, 17, 13, 29, 17, 14, 4, 18, 17, 13, 29, 17, 14, 4, 18, 17, 13, 29, 17, 29, 17, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 17, 29, 17, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 0, 18, 36, 13, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 17, 29, 17, 12, 13, 30, 14, 4, 13, 29, 18, 13, 40, 13, 29, 40, 17, 12, 13, 30, 29, 40, 2, 2, 13, 17, 2, 13, 17, 23, 13, 12, 13, 30, 42, 2, 4, 13, 4, 13, 18, 13, 13, 40, 13, 12, 13, 30, 4, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 20, 41, 13, 4, 13, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 2, 2, 2, 13, 17, 13, 17, 0, 13, 4, 13, 29, 8, 13, 40, 13, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 2, 2, 2, 13, 17, 13, 17, 0, 13, 4, 13, 29, 8, 13, 40, 13, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 20, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 4, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 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 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ], [ 0, 55 ], [ 590, 56 ], [ 590, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 590, 62 ], [ 62, 63 ], [ 62, 64 ], [ 590, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 590, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 590, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 77, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 77, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 94, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 109, 115 ], [ 108, 116 ], [ 77, 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 ], [ 133, 134 ], [ 132, 135 ], [ 130, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 136, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 136, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 153, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 153, 158 ], [ 77, 159 ], [ 159, 160 ], [ 160, 161 ], [ 75, 162 ], [ 162, 163 ], [ 590, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 167, 172 ], [ 172, 173 ], [ 167, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 174, 179 ], [ 179, 180 ], [ 174, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 181, 186 ], [ 186, 187 ], [ 181, 188 ], [ 188, 189 ], [ 164, 190 ], [ 190, 191 ], [ 590, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 195, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 205, 206 ], [ 201, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 207, 211 ], [ 211, 212 ], [ 207, 213 ], [ 213, 214 ], [ 192, 215 ], [ 215, 216 ], [ 590, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 217, 221 ], [ 221, 222 ], [ 221, 223 ], [ 217, 225 ], [ 225, 226 ], [ 217, 227 ], [ 227, 228 ], [ 217, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 231, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 229, 246 ], [ 246, 247 ], [ 217, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 251, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 255, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 259, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 269, 270 ], [ 268, 271 ], [ 255, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 272, 276 ], [ 276, 277 ], [ 250, 278 ], [ 278, 279 ], [ 217, 280 ], [ 280, 281 ], [ 280, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 283, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 283, 291 ], [ 291, 292 ], [ 292, 293 ], [ 217, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 299, 303 ], [ 303, 304 ], [ 303, 305 ], [ 294, 306 ], [ 306, 307 ], [ 217, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 311, 312 ], [ 312, 313 ], [ 313, 314 ], [ 312, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 317, 319 ], [ 311, 320 ], [ 320, 321 ], [ 217, 322 ], [ 322, 323 ], [ 322, 324 ], [ 324, 325 ], [ 325, 326 ], [ 324, 327 ], [ 327, 328 ], [ 328, 329 ], [ 217, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 333, 337 ], [ 337, 338 ], [ 332, 339 ], [ 339, 340 ], [ 339, 341 ], [ 332, 342 ], [ 342, 343 ], [ 342, 344 ], [ 344, 345 ], [ 332, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 346, 351 ], [ 351, 352 ], [ 352, 353 ], [ 353, 354 ], [ 352, 355 ], [ 351, 356 ], [ 356, 357 ], [ 356, 358 ], [ 358, 359 ], [ 332, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 217, 364 ], [ 364, 365 ], [ 364, 366 ], [ 366, 367 ], [ 367, 368 ], [ 368, 369 ], [ 369, 370 ], [ 367, 371 ], [ 371, 372 ], [ 366, 373 ], [ 373, 374 ], [ 373, 375 ], [ 375, 376 ], [ 366, 377 ], [ 377, 378 ], [ 378, 379 ], [ 378, 380 ], [ 377, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 366, 385 ], [ 385, 386 ], [ 385, 387 ], [ 366, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 388, 392 ], [ 392, 393 ], [ 393, 394 ], [ 393, 395 ], [ 392, 396 ], [ 396, 397 ], [ 396, 398 ], [ 398, 399 ], [ 366, 400 ], [ 400, 401 ], [ 400, 402 ], [ 366, 403 ], [ 403, 404 ], [ 404, 405 ], [ 405, 406 ], [ 405, 407 ], [ 403, 408 ], [ 408, 409 ], [ 409, 410 ], [ 410, 411 ], [ 411, 412 ], [ 411, 413 ], [ 410, 414 ], [ 414, 415 ], [ 414, 416 ], [ 409, 417 ], [ 417, 418 ], [ 408, 419 ], [ 419, 420 ], [ 419, 421 ], [ 421, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 422, 426 ], [ 421, 427 ], [ 408, 428 ], [ 428, 429 ], [ 428, 430 ], [ 430, 431 ], [ 366, 432 ], [ 432, 433 ], [ 433, 434 ], [ 433, 435 ], [ 435, 436 ], [ 433, 437 ], [ 217, 438 ], [ 438, 439 ], [ 438, 440 ], [ 440, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 441, 445 ], [ 445, 446 ], [ 440, 447 ], [ 447, 448 ], [ 447, 449 ], [ 449, 450 ], [ 440, 451 ], [ 451, 452 ], [ 452, 453 ], [ 452, 454 ], [ 451, 455 ], [ 455, 456 ], [ 455, 457 ], [ 457, 458 ], [ 440, 459 ], [ 459, 460 ], [ 459, 461 ], [ 440, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 462, 466 ], [ 466, 467 ], [ 467, 468 ], [ 467, 469 ], [ 466, 470 ], [ 470, 471 ], [ 470, 472 ], [ 472, 473 ], [ 440, 474 ], [ 474, 475 ], [ 474, 476 ], [ 440, 477 ], [ 477, 478 ], [ 478, 479 ], [ 479, 480 ], [ 479, 481 ], [ 477, 482 ], [ 482, 483 ], [ 483, 484 ], [ 484, 485 ], [ 485, 486 ], [ 485, 487 ], [ 484, 488 ], [ 488, 489 ], [ 488, 490 ], [ 483, 491 ], [ 491, 492 ], [ 482, 493 ], [ 493, 494 ], [ 493, 495 ], [ 495, 496 ], [ 496, 497 ], [ 497, 498 ], [ 497, 499 ], [ 496, 500 ], [ 495, 501 ], [ 482, 502 ], [ 502, 503 ], [ 502, 504 ], [ 504, 505 ], [ 440, 506 ], [ 506, 507 ], [ 507, 508 ], [ 507, 509 ], [ 509, 510 ], [ 507, 511 ], [ 217, 512 ], [ 512, 513 ], [ 512, 514 ], [ 514, 515 ], [ 515, 516 ], [ 516, 517 ], [ 517, 518 ], [ 516, 519 ], [ 519, 520 ], [ 217, 521 ], [ 521, 522 ], [ 521, 523 ], [ 523, 524 ], [ 524, 525 ], [ 217, 526 ], [ 526, 527 ], [ 526, 528 ], [ 528, 529 ], [ 529, 530 ], [ 529, 531 ], [ 528, 533 ], [ 533, 534 ], [ 534, 535 ], [ 535, 536 ], [ 535, 537 ], [ 533, 538 ], [ 538, 539 ], [ 538, 540 ], [ 533, 541 ], [ 541, 542 ], [ 542, 543 ], [ 533, 544 ], [ 544, 545 ], [ 545, 546 ], [ 546, 547 ], [ 546, 548 ], [ 545, 549 ], [ 549, 550 ], [ 528, 551 ], [ 551, 552 ], [ 526, 553 ], [ 553, 554 ], [ 217, 555 ], [ 555, 556 ], [ 555, 557 ], [ 557, 558 ], [ 558, 559 ], [ 558, 560 ], [ 557, 563 ], [ 563, 564 ], [ 564, 565 ], [ 565, 566 ], [ 565, 567 ], [ 563, 568 ], [ 568, 569 ], [ 568, 570 ], [ 563, 571 ], [ 571, 572 ], [ 572, 573 ], [ 563, 574 ], [ 574, 575 ], [ 575, 576 ], [ 576, 577 ], [ 576, 578 ], [ 575, 579 ], [ 579, 580 ], [ 580, 581 ], [ 581, 582 ], [ 557, 583 ], [ 583, 584 ], [ 555, 585 ], [ 585, 586 ], [ 555, 587 ], [ 587, 588 ], [ 0, 589 ], [ 589, 590 ], [ 589, 591 ] ]
[ "import java.io.InputStream;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.ArrayDeque;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.BitSet;\nimport java.util.Comparator;\nimport java.util.Deque;\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.InputMismatchException;\nimport java.util.Map;\nimport java.util.NoSuchElementException;\nimport java.util.PriorityQueue;\nimport java.util.TreeMap;\nimport java.math.BigDecimal;\nimport java.math.BigInteger;\n \npublic class Main{\n \nstatic final InputStream in=System.in;\nstatic final PrintWriter out=new PrintWriter(System.out);\nstatic final int INF=Integer.MAX_VALUE;\nstatic final long LINF=Long.MAX_VALUE;\n \npublic static void main(String[] args) throws IOException{\nInputReader ir=new InputReader(in);\nBitSet arr=new BitSet(52);\nint n=ir.nextInt();\nwhile(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}\nfor(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}\nout.flush();\n}\n\npublic static int markToInt(String mark){\n if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;\n}\n\npublic static String intToMark(int mark){\nif(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";\n}\n\nstatic class InputReader {\n private InputStream in;\n private byte[] buffer=new byte[1024];\n private int curbuf;\n private int lenbuf;\n \n public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;}\n \n public boolean hasNextByte() {\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }\n \n private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;}\n\n private boolean isSpaceChar(int c){return !(c>=33&&c<=126);}\n \n private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}\n\n public boolean hasNext(){skip(); return hasNextByte();}\n \n public String next(){\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }\n \n public int nextInt() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public long nextLong() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public double nextDouble(){return Double.parseDouble(next());}\n \n public BigInteger nextBigInteger(){return new BigInteger(next());}\n \n public int[] nextIntArray(int n){\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }\n \n public char[][] nextCharMap(int n,int m){\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }\n}\n}", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.ArrayDeque;", "ArrayDeque", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.BitSet;", "BitSet", "java.util", "import java.util.Comparator;", "Comparator", "java.util", "import java.util.Deque;", "Deque", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "import java.util.PriorityQueue;", "PriorityQueue", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.BigInteger;", "BigInteger", "java.math", "public class Main{\n \nstatic final InputStream in=System.in;\nstatic final PrintWriter out=new PrintWriter(System.out);\nstatic final int INF=Integer.MAX_VALUE;\nstatic final long LINF=Long.MAX_VALUE;\n \npublic static void main(String[] args) throws IOException{\nInputReader ir=new InputReader(in);\nBitSet arr=new BitSet(52);\nint n=ir.nextInt();\nwhile(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}\nfor(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}\nout.flush();\n}\n\npublic static int markToInt(String mark){\n if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;\n}\n\npublic static String intToMark(int mark){\nif(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";\n}\n\nstatic class InputReader {\n private InputStream in;\n private byte[] buffer=new byte[1024];\n private int curbuf;\n private int lenbuf;\n \n public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;}\n \n public boolean hasNextByte() {\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }\n \n private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;}\n\n private boolean isSpaceChar(int c){return !(c>=33&&c<=126);}\n \n private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}\n\n public boolean hasNext(){skip(); return hasNextByte();}\n \n public String next(){\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }\n \n public int nextInt() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public long nextLong() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public double nextDouble(){return Double.parseDouble(next());}\n \n public BigInteger nextBigInteger(){return new BigInteger(next());}\n \n public int[] nextIntArray(int n){\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }\n \n public char[][] nextCharMap(int n,int m){\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }\n}\n}", "Main", "static final InputStream in=System.in;", "in", "System.in", "System", "System.in", "static final PrintWriter out=new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static final int INF=Integer.MAX_VALUE;", "INF", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "static final long LINF=Long.MAX_VALUE;", "LINF", "Long.MAX_VALUE", "Long", "Long.MAX_VALUE", "public static void main(String[] args) throws IOException{\nInputReader ir=new InputReader(in);\nBitSet arr=new BitSet(52);\nint n=ir.nextInt();\nwhile(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}\nfor(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}\nout.flush();\n}", "main", "{\nInputReader ir=new InputReader(in);\nBitSet arr=new BitSet(52);\nint n=ir.nextInt();\nwhile(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}\nfor(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}\nout.flush();\n}", "InputReader ir=new InputReader(in);", "ir", "new InputReader(in)", "BitSet arr=new BitSet(52);", "arr", "new BitSet(52)", "int n=ir.nextInt();", "n", "ir.nextInt()", "ir.nextInt", "ir", "while(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}", "n-->0", "n--", "n", "0", "{\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}", "String mark=ir.next();", "mark", "ir.next()", "ir.next", "ir", "int num=ir.nextInt();", "num", "ir.nextInt()", "ir.nextInt", "ir", "arr.set(markToInt(mark)*13+num-1)", "arr.set", "arr", "markToInt(mark)*13+num-1", "markToInt(mark)*13+num", "markToInt(mark)*13", "markToInt(mark)", "markToInt", "mark", "13", "num", "1", "for(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}", "int i=0;", "int i=0;", "i", "0", "i<52", "i", "52", "i++", "i++", "i", "{\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}", "{\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}", "if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }", "!arr.get(i)", "arr.get(i)", "arr.get", "arr", "i", "{\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }", "int p=i/13;", "p", "i/13", "i", "13", "int q=i%13+1;", "q", "i%13+1", "i%13", "i", "13", "1", "out.println(intToMark(p)+\" \"+q)", "out.println", "out", "intToMark(p)+\" \"+q", "intToMark(p)+\" \"+q", "intToMark(p)", "intToMark", "p", "\" \"", "q", "out.flush()", "out.flush", "out", "String[] args", "args", "public static int markToInt(String mark){\n if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;\n}", "markToInt", "{\n if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;\n}", "if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;", "\"S\".equals(mark)", "\"S\".equals", "\"S\"", "mark", "return 0;", "0", "if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;", "\"H\".equals(mark)", "\"H\".equals", "\"H\"", "mark", "return 1;", "1", "if(\"C\".equals(mark)) return 2;\n else return 3;", "\"C\".equals(mark)", "\"C\".equals", "\"C\"", "mark", "return 2;", "2", "return 3;", "3", "String mark", "mark", "public static String intToMark(int mark){\nif(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";\n}", "intToMark", "{\nif(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";\n}", "if(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";", "mark==0", "mark", "0", "return \"S\";", "\"S\"", "if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";", "mark==1", "mark", "1", "return \"H\";", "\"H\"", "if(mark==2) return \"C\";\nelse return \"D\";", "mark==2", "mark", "2", "return \"C\";", "\"C\"", "return \"D\";", "\"D\"", "int mark", "mark", "static class InputReader {\n private InputStream in;\n private byte[] buffer=new byte[1024];\n private int curbuf;\n private int lenbuf;\n \n public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;}\n \n public boolean hasNextByte() {\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }\n \n private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;}\n\n private boolean isSpaceChar(int c){return !(c>=33&&c<=126);}\n \n private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}\n\n public boolean hasNext(){skip(); return hasNextByte();}\n \n public String next(){\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }\n \n public int nextInt() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public long nextLong() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public double nextDouble(){return Double.parseDouble(next());}\n \n public BigInteger nextBigInteger(){return new BigInteger(next());}\n \n public int[] nextIntArray(int n){\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }\n \n public char[][] nextCharMap(int n,int m){\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }\n}", "InputReader", "private InputStream in;", "in", "private byte[] buffer=new byte[1024];", "buffer", "new byte[1024]", "1024", "private int curbuf;", "curbuf", "private int lenbuf;", "lenbuf", "public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;}", "InputReader", "{this.in=in; this.curbuf=this.lenbuf=0;}", "this.in=in", "this.in", "this", "this.in", "in", "this.curbuf=this.lenbuf=0", "this.curbuf", "this", "this.curbuf", "this.lenbuf=0", "this.lenbuf", "this", "this.lenbuf", "0", "InputStream in", "in", "public boolean hasNextByte() {\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }", "hasNextByte", "{\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }", "if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }", "curbuf>=lenbuf", "curbuf", "lenbuf", "{\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }", "curbuf= 0", "curbuf", "0", "try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }", "catch(IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n lenbuf=in.read(buffer);\n }", "lenbuf=in.read(buffer)", "lenbuf", "in.read(buffer)", "in.read", "in", "buffer", "if(lenbuf<=0) return false;", "lenbuf<=0", "lenbuf", "0", "return false;", "false", "return true;", "true", "private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;}", "readByte", "{if(hasNextByte()) return buffer[curbuf++]; else return -1;}", "if(hasNextByte()) return buffer[curbuf++]; else return -1;", "hasNextByte()", "hasNextByte", "return buffer[curbuf++];", "buffer[curbuf++]", "buffer", "curbuf++", "curbuf", "return -1;", "-1", "1", "private boolean isSpaceChar(int c){return !(c>=33&&c<=126);}", "isSpaceChar", "{return !(c>=33&&c<=126);}", "return !(c>=33&&c<=126);", "!(c>=33&&c<=126)", "(c>=33&&c<=126)", "c>=33", "c", "33", "c<=126", "c", "126", "int c", "c", "private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}", "skip", "{while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}", "while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;", "hasNextByte()&&isSpaceChar(buffer[curbuf])", "hasNextByte()", "hasNextByte", "isSpaceChar(buffer[curbuf])", "isSpaceChar", "buffer[curbuf]", "buffer", "curbuf", "curbuf++", "curbuf", "public boolean hasNext(){skip(); return hasNextByte();}", "hasNext", "{skip(); return hasNextByte();}", "skip()", "skip", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next(){\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }", "next", "{\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }", "if(!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "StringBuilder sb=new StringBuilder();", "sb", "new StringBuilder()", "int b=readByte();", "b", "readByte()", "readByte", "while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }", "!isSpaceChar(b)", "isSpaceChar(b)", "isSpaceChar", "b", "{\n sb.appendCodePoint(b);\n b=readByte();\n }", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b=readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "public int nextInt() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }", "nextInt", "{\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }", "if(!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "int c=readByte();", "c", "readByte()", "readByte", "while (isSpaceChar(c)) c=readByte();", "isSpaceChar(c)", "isSpaceChar", "c", "c=readByte()", "c", "readByte()", "readByte", "boolean minus=false;", "minus", "false", "if (c=='-') {\n minus=true;\n c=readByte();\n }", "c=='-'", "c", "'-'", "{\n minus=true;\n c=readByte();\n }", "minus=true", "minus", "true", "c=readByte()", "c", "readByte()", "readByte", "int res=0;", "res", "0", "do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }", "if(c<'0'||c>'9') throw new InputMismatchException();", "c<'0'||c>'9'", "c<'0'", "c", "'0'", "c>'9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res=res*10+c-'0'", "res", "res*10+c-'0'", "res*10+c", "res*10", "res", "10", "c", "'0'", "c=readByte()", "c", "readByte()", "readByte", "return (minus)?-res:res;", "(minus)?-res:res", "(minus)", "-res", "res", "res", "public long nextLong() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }", "nextLong", "{\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }", "if(!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "int c=readByte();", "c", "readByte()", "readByte", "while (isSpaceChar(c)) c=readByte();", "isSpaceChar(c)", "isSpaceChar", "c", "c=readByte()", "c", "readByte()", "readByte", "boolean minus=false;", "minus", "false", "if (c=='-') {\n minus=true;\n c=readByte();\n }", "c=='-'", "c", "'-'", "{\n minus=true;\n c=readByte();\n }", "minus=true", "minus", "true", "c=readByte()", "c", "readByte()", "readByte", "long res = 0;", "res", "0", "do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }", "if(c<'0'||c>'9') throw new InputMismatchException();", "c<'0'||c>'9'", "c<'0'", "c", "'0'", "c>'9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res=res*10+c-'0'", "res", "res*10+c-'0'", "res*10+c", "res*10", "res", "10", "c", "'0'", "c=readByte()", "c", "readByte()", "readByte", "return (minus)?-res:res;", "(minus)?-res:res", "(minus)", "-res", "res", "res", "public double nextDouble(){return Double.parseDouble(next());}", "nextDouble", "{return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public BigInteger nextBigInteger(){return new BigInteger(next());}", "nextBigInteger", "{return new BigInteger(next());}", "return new BigInteger(next());", "new BigInteger(next())", "public int[] nextIntArray(int n){\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }", "int[] a=new int[n];", "a", "new int[n]", "n", "for(int i=0;i<n;i++) a[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextInt();", "a[i]=nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public char[][] nextCharMap(int n,int m){\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }", "nextCharMap", "{\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }", "char[][] map=new char[n][m];", "map", "new char[n][m]", "n", "m", "for(int i=0;i<n;i++) map[i]=next().toCharArray();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "map[i]=next().toCharArray();", "map[i]=next().toCharArray()", "map[i]", "map", "i", "next().toCharArray()", "next().toCharArray", "next()", "next", "return map;", "map", "int n", "n", "int m", "m", "public class Main{\n \nstatic final InputStream in=System.in;\nstatic final PrintWriter out=new PrintWriter(System.out);\nstatic final int INF=Integer.MAX_VALUE;\nstatic final long LINF=Long.MAX_VALUE;\n \npublic static void main(String[] args) throws IOException{\nInputReader ir=new InputReader(in);\nBitSet arr=new BitSet(52);\nint n=ir.nextInt();\nwhile(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}\nfor(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}\nout.flush();\n}\n\npublic static int markToInt(String mark){\n if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;\n}\n\npublic static String intToMark(int mark){\nif(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";\n}\n\nstatic class InputReader {\n private InputStream in;\n private byte[] buffer=new byte[1024];\n private int curbuf;\n private int lenbuf;\n \n public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;}\n \n public boolean hasNextByte() {\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }\n \n private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;}\n\n private boolean isSpaceChar(int c){return !(c>=33&&c<=126);}\n \n private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}\n\n public boolean hasNext(){skip(); return hasNextByte();}\n \n public String next(){\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }\n \n public int nextInt() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public long nextLong() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public double nextDouble(){return Double.parseDouble(next());}\n \n public BigInteger nextBigInteger(){return new BigInteger(next());}\n \n public int[] nextIntArray(int n){\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }\n \n public char[][] nextCharMap(int n,int m){\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }\n}\n}", "public class Main{\n \nstatic final InputStream in=System.in;\nstatic final PrintWriter out=new PrintWriter(System.out);\nstatic final int INF=Integer.MAX_VALUE;\nstatic final long LINF=Long.MAX_VALUE;\n \npublic static void main(String[] args) throws IOException{\nInputReader ir=new InputReader(in);\nBitSet arr=new BitSet(52);\nint n=ir.nextInt();\nwhile(n-->0){\n String mark=ir.next();\n int num=ir.nextInt();\n arr.set(markToInt(mark)*13+num-1);\n}\nfor(int i=0;i<52;i++){\n if(!arr.get(i)){\n int p=i/13;\n int q=i%13+1;\n out.println(intToMark(p)+\" \"+q);\n }\n}\nout.flush();\n}\n\npublic static int markToInt(String mark){\n if(\"S\".equals(mark)) return 0;\n else if(\"H\".equals(mark)) return 1;\n else if(\"C\".equals(mark)) return 2;\n else return 3;\n}\n\npublic static String intToMark(int mark){\nif(mark==0) return \"S\";\nelse if(mark==1) return \"H\";\nelse if(mark==2) return \"C\";\nelse return \"D\";\n}\n\nstatic class InputReader {\n private InputStream in;\n private byte[] buffer=new byte[1024];\n private int curbuf;\n private int lenbuf;\n \n public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;}\n \n public boolean hasNextByte() {\n if(curbuf>=lenbuf){\n curbuf= 0;\n try{\n lenbuf=in.read(buffer);\n }catch(IOException e) {\n throw new InputMismatchException();\n }\n if(lenbuf<=0) return false;\n }\n return true;\n }\n \n private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;}\n\n private boolean isSpaceChar(int c){return !(c>=33&&c<=126);}\n \n private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;}\n\n public boolean hasNext(){skip(); return hasNextByte();}\n \n public String next(){\n if(!hasNext()) throw new NoSuchElementException();\n StringBuilder sb=new StringBuilder();\n int b=readByte();\n while(!isSpaceChar(b)){\n sb.appendCodePoint(b);\n b=readByte();\n }\n return sb.toString();\n }\n \n public int nextInt() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n int res=0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public long nextLong() {\n if(!hasNext()) throw new NoSuchElementException();\n int c=readByte();\n while (isSpaceChar(c)) c=readByte();\n boolean minus=false;\n if (c=='-') {\n minus=true;\n c=readByte();\n }\n long res = 0;\n do{\n if(c<'0'||c>'9') throw new InputMismatchException();\n res=res*10+c-'0';\n c=readByte();\n }while(!isSpaceChar(c));\n return (minus)?-res:res;\n }\n \n public double nextDouble(){return Double.parseDouble(next());}\n \n public BigInteger nextBigInteger(){return new BigInteger(next());}\n \n public int[] nextIntArray(int n){\n int[] a=new int[n];\n for(int i=0;i<n;i++) a[i]=nextInt();\n return a;\n }\n \n public char[][] nextCharMap(int n,int m){\n char[][] map=new char[n][m];\n for(int i=0;i<n;i++) map[i]=next().toCharArray();\n return map;\n }\n}\n}", "Main" ]
import java.io.InputStream; import java.io.IOException; import java.io.PrintWriter; import java.util.ArrayDeque; import java.util.ArrayList; import java.util.Arrays; import java.util.BitSet; import java.util.Comparator; import java.util.Deque; import java.util.HashMap; import java.util.HashSet; import java.util.InputMismatchException; import java.util.Map; import java.util.NoSuchElementException; import java.util.PriorityQueue; import java.util.TreeMap; import java.math.BigDecimal; import java.math.BigInteger; public class Main{ static final InputStream in=System.in; static final PrintWriter out=new PrintWriter(System.out); static final int INF=Integer.MAX_VALUE; static final long LINF=Long.MAX_VALUE; public static void main(String[] args) throws IOException{ InputReader ir=new InputReader(in); BitSet arr=new BitSet(52); int n=ir.nextInt(); while(n-->0){ String mark=ir.next(); int num=ir.nextInt(); arr.set(markToInt(mark)*13+num-1); } for(int i=0;i<52;i++){ if(!arr.get(i)){ int p=i/13; int q=i%13+1; out.println(intToMark(p)+" "+q); } } out.flush(); } public static int markToInt(String mark){ if("S".equals(mark)) return 0; else if("H".equals(mark)) return 1; else if("C".equals(mark)) return 2; else return 3; } public static String intToMark(int mark){ if(mark==0) return "S"; else if(mark==1) return "H"; else if(mark==2) return "C"; else return "D"; } static class InputReader { private InputStream in; private byte[] buffer=new byte[1024]; private int curbuf; private int lenbuf; public InputReader(InputStream in) {this.in=in; this.curbuf=this.lenbuf=0;} public boolean hasNextByte() { if(curbuf>=lenbuf){ curbuf= 0; try{ lenbuf=in.read(buffer); }catch(IOException e) { throw new InputMismatchException(); } if(lenbuf<=0) return false; } return true; } private int readByte(){if(hasNextByte()) return buffer[curbuf++]; else return -1;} private boolean isSpaceChar(int c){return !(c>=33&&c<=126);} private void skip(){while(hasNextByte()&&isSpaceChar(buffer[curbuf])) curbuf++;} public boolean hasNext(){skip(); return hasNextByte();} public String next(){ if(!hasNext()) throw new NoSuchElementException(); StringBuilder sb=new StringBuilder(); int b=readByte(); while(!isSpaceChar(b)){ sb.appendCodePoint(b); b=readByte(); } return sb.toString(); } public int nextInt() { if(!hasNext()) throw new NoSuchElementException(); int c=readByte(); while (isSpaceChar(c)) c=readByte(); boolean minus=false; if (c=='-') { minus=true; c=readByte(); } int res=0; do{ if(c<'0'||c>'9') throw new InputMismatchException(); res=res*10+c-'0'; c=readByte(); }while(!isSpaceChar(c)); return (minus)?-res:res; } public long nextLong() { if(!hasNext()) throw new NoSuchElementException(); int c=readByte(); while (isSpaceChar(c)) c=readByte(); boolean minus=false; if (c=='-') { minus=true; c=readByte(); } long res = 0; do{ if(c<'0'||c>'9') throw new InputMismatchException(); res=res*10+c-'0'; c=readByte(); }while(!isSpaceChar(c)); return (minus)?-res:res; } public double nextDouble(){return Double.parseDouble(next());} public BigInteger nextBigInteger(){return new BigInteger(next());} public int[] nextIntArray(int n){ int[] a=new int[n]; for(int i=0;i<n;i++) a[i]=nextInt(); return a; } public char[][] nextCharMap(int n,int m){ char[][] map=new char[n][m]; for(int i=0;i<n;i++) map[i]=next().toCharArray(); return map; } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 165, 8 ], [ 165, 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 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 11, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 60, 62 ], [ 56, 63 ], [ 55, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 11, 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 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 86, 93 ], [ 85, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 11, 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 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 120, 122 ], [ 116, 123 ], [ 115, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 11, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 132, 143 ], [ 144, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 150, 151 ], [ 150, 152 ], [ 146, 153 ], [ 145, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 159, 161 ], [ 9, 162 ], [ 162, 163 ], [ 0, 164 ], [ 164, 165 ], [ 164, 166 ] ]
[ "import java.util.Scanner;\nimport java.util.ArrayList;\npublic class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tint n = sc.nextInt();\n\t\tfor(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tint n = sc.nextInt();\n\t\tfor(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tint n = sc.nextInt();\n\t\tfor(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tint n = sc.nextInt();\n\t\tfor(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayList<String> list = new ArrayList<>();", "list", "new ArrayList<>()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\tlist.add(sc.nextLine());\n\t\t}", "{\n\t\t\tlist.add(sc.nextLine());\n\t\t}", "list.add(sc.nextLine())", "list.add", "list", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}", "{\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}", "if(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);", "list.contains(\"S \"+i)==false", "list.contains(\"S \"+i)", "list.contains", "list", "\"S \"+i", "\"S \"", "i", "false", "System.out.println(\"S \"+i)", "System.out.println", "System.out", "System", "System.out", "\"S \"+i", "\"S \"", "i", "for(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}", "{\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}", "if(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);", "list.contains(\"H \"+i)==false", "list.contains(\"H \"+i)", "list.contains", "list", "\"H \"+i", "\"H \"", "i", "false", "System.out.println(\"H \"+i)", "System.out.println", "System.out", "System", "System.out", "\"H \"+i", "\"H \"", "i", "for(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}", "{\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}", "if(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);", "list.contains(\"C \"+i)==false", "list.contains(\"C \"+i)", "list.contains", "list", "\"C \"+i", "\"C \"", "i", "false", "System.out.println(\"C \"+i)", "System.out.println", "System.out", "System", "System.out", "\"C \"+i", "\"C \"", "i", "for(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}", "{\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}", "if(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);", "list.contains(\"D \"+i)==false", "list.contains(\"D \"+i)", "list.contains", "list", "\"D \"+i", "\"D \"", "i", "false", "System.out.println(\"D \"+i)", "System.out.println", "System.out", "System", "System.out", "\"D \"+i", "\"D \"", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tint n = sc.nextInt();\n\t\tfor(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception{\n\t\tScanner sc = new Scanner(System.in);\n\t\tArrayList<String> list = new ArrayList<>();\n\t\tint n = sc.nextInt();\n\t\tfor(int i=0;i<=n;i++){\n\t\t\tlist.add(sc.nextLine());\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"S \"+i)==false)\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"H \"+i)==false)\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"C \"+i)==false)\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(list.contains(\"D \"+i)==false)\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; import java.util.ArrayList; public class Main { public static void main(String[] args) throws Exception{ Scanner sc = new Scanner(System.in); ArrayList<String> list = new ArrayList<>(); int n = sc.nextInt(); for(int i=0;i<=n;i++){ list.add(sc.nextLine()); } for(int i=1;i<14;i++){ if(list.contains("S "+i)==false) System.out.println("S "+i); } for(int i=1;i<14;i++){ if(list.contains("H "+i)==false) System.out.println("H "+i); } for(int i=1;i<14;i++){ if(list.contains("C "+i)==false) System.out.println("C "+i); } for(int i=1;i<14;i++){ if(list.contains("D "+i)==false) System.out.println("D "+i); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 41, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 41, 13, 4, 18, 13, 0, 18, 18, 13, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 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 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 45, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 54, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 63, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 39, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 39, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 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 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 119, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 128, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 151, 152 ], [ 151, 153 ], [ 141, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 164, 166 ], [ 154, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 177, 178 ], [ 177, 179 ], [ 8, 180 ], [ 180, 181 ], [ 181, 182 ], [ 6, 183 ], [ 183, 184 ], [ 0, 185 ], [ 185, 186 ], [ 185, 187 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint abc[][] = new int[4][14];\n\t\tint i,x=0;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}\n\t\tfor(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tscan.close();\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint abc[][] = new int[4][14];\n\t\tint i,x=0;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}\n\t\tfor(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tscan.close();\n}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint abc[][] = new int[4][14];\n\t\tint i,x=0;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}\n\t\tfor(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tscan.close();\n}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint abc[][] = new int[4][14];\n\t\tint i,x=0;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}\n\t\tfor(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tscan.close();\n}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n=scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int abc[][] = new int[4][14];", "abc", "new int[4][14]", "4", "14", "int i", "i", "x=0;", "x", "0", "for(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}", "{\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}", "String str=scan.next();", "str", "scan.next()", "scan.next", "scan", "if(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}", "str.equals(\"S\")", "str.equals", "str", "\"S\"", "{\n\t\t\t\tx=0;\n\t\t\t}", "x=0", "x", "0", "if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}", "str.equals(\"H\")", "str.equals", "str", "\"H\"", "{\n\t\t\t\tx=1;\n\t\t\t}", "x=1", "x", "1", "if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}", "str.equals(\"C\")", "str.equals", "str", "\"C\"", "{\n\t\t\t\tx=2;\n\t\t\t}", "x=2", "x", "2", "if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}", "str.equals(\"D\")", "str.equals", "str", "\"D\"", "{\n\t\t\t\tx=3;\n\t\t\t}", "x=3", "x", "3", "int y=scan.nextInt();", "y", "scan.nextInt()", "scan.nextInt", "scan", "abc[x][y]=1", "abc[x][y]", "abc[x]", "abc", "x", "y", "1", "for(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}", "x=0;", "x=0", "x", "0", "x<4", "x", "4", "x++", "x++", "x", "{\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}", "for(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "int y=1;", "int y=1;", "y", "1", "y<14", "y", "14", "y++", "y++", "y", "{\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}", "if(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}", "abc[x][y] != 1", "abc[x][y]", "abc[x]", "abc", "x", "y", "1", "{\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}", "if(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}", "x==0", "x", "0", "{\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}", "System.out.println(\"S \"+y)", "System.out.println", "System.out", "System", "System.out", "\"S \"+y", "\"S \"", "y", "if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}", "x==1", "x", "1", "{\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}", "System.out.println(\"H \"+y)", "System.out.println", "System.out", "System", "System.out", "\"H \"+y", "\"H \"", "y", "if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}", "x==2", "x", "2", "{\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}", "System.out.println(\"C \"+y)", "System.out.println", "System.out", "System", "System.out", "\"C \"+y", "\"C \"", "y", "if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}", "x==3", "x", "3", "{\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}", "System.out.println(\"D \"+y)", "System.out.println", "System.out", "System", "System.out", "\"D \"+y", "\"D \"", "y", "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 abc[][] = new int[4][14];\n\t\tint i,x=0;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}\n\t\tfor(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tscan.close();\n}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint n=scan.nextInt();\n\t\tint abc[][] = new int[4][14];\n\t\tint i,x=0;\n\t\tfor(i=0;i<n;i++) {\n\t\t\tString str=scan.next();\n\t\t\tif(str.equals(\"S\")) {\n\t\t\t\tx=0;\n\t\t\t}\n\t\t\telse if(str.equals(\"H\")) {\n\t\t\t\tx=1;\n\t\t\t}\n\t\t\telse if(str.equals(\"C\")) {\n\t\t\t\tx=2;\n\t\t\t}\n\t\t\telse if(str.equals(\"D\")) {\n\t\t\t\tx=3;\n\t\t\t}\n\t\t\tint y=scan.nextInt();\n\t\t\tabc[x][y]=1;\n\t\t}\n\t\tfor(x=0;x<4;x++) {\n\t\t\tfor(int y=1;y<14;y++) {\n\t\t\t\tif(abc[x][y] != 1) {\n\t\t\t\t\tif(x==0) {\n\t\t\t\t\t\tSystem.out.println(\"S \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==1) {\n\t\t\t\t\t\tSystem.out.println(\"H \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==2) {\n\t\t\t\t\t\tSystem.out.println(\"C \"+y);\n\t\t\t\t\t}\n\t\t\t\t\telse if(x==3) {\n\t\t\t\t\t\tSystem.out.println(\"D \"+y);\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\t\n\t\t\t}\n\t\t}\n\t\tscan.close();\n}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int n=scan.nextInt(); int abc[][] = new int[4][14]; int i,x=0; for(i=0;i<n;i++) { String str=scan.next(); if(str.equals("S")) { x=0; } else if(str.equals("H")) { x=1; } else if(str.equals("C")) { x=2; } else if(str.equals("D")) { x=3; } int y=scan.nextInt(); abc[x][y]=1; } for(x=0;x<4;x++) { for(int y=1;y<14;y++) { if(abc[x][y] != 1) { if(x==0) { System.out.println("S "+y); } else if(x==1) { System.out.println("H "+y); } else if(x==2) { System.out.println("C "+y); } else if(x==3) { System.out.println("D "+y); } } } } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 29, 42, 2, 13, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 17, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 40, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 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 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 34, 39 ], [ 31, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 42, 46 ], [ 31, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 52, 58 ], [ 51, 59 ], [ 47, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 62, 70 ], [ 47, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 73, 81 ], [ 47, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 85, 91 ], [ 84, 92 ], [ 31, 93 ], [ 93, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 95, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 122, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 142, 144 ], [ 134, 145 ], [ 130, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 156, 158 ], [ 148, 159 ], [ 130, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 170, 172 ], [ 162, 173 ], [ 130, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 184, 186 ], [ 176, 187 ], [ 6, 188 ], [ 188, 189 ], [ 0, 190 ], [ 190, 191 ], [ 190, 192 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n boolean[][] cards = new boolean[4][13];\n int n = scan.nextInt();\n\n if (n == 52) return;\n while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\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 scan = new Scanner(System.in);\n boolean[][] cards = new boolean[4][13];\n int n = scan.nextInt();\n\n if (n == 52) return;\n while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n boolean[][] cards = new boolean[4][13];\n int n = scan.nextInt();\n\n if (n == 52) return;\n while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n boolean[][] cards = new boolean[4][13];\n int n = scan.nextInt();\n\n if (n == 52) return;\n while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "boolean[][] cards = new boolean[4][13];", "cards", "new boolean[4][13]", "4", "13", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "if (n == 52) return;", "n == 52", "n", "52", "return;", "while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }", "n != 0", "n", "0", "{\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }", "char image = scan.next().charAt(0);", "image", "scan.next().charAt(0)", "scan.next().charAt", "scan.next()", "scan.next", "scan", "0", "int num = scan.nextInt() - 1;", "num", "scan.nextInt() - 1", "scan.nextInt()", "scan.nextInt", "scan", "1", "switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }", "image", "case 'S':", "'S'", "case 'S':", "cards[0][num] = true", "cards[0][num]", "cards[0]", "cards", "0", "num", "true", "break;", "case 'H':", "'H'", "case 'H':", "cards[1][num] = true", "cards[1][num]", "cards[1]", "cards", "1", "num", "true", "break;", "case 'C':", "'C'", "case 'C':", "cards[2][num] = true", "cards[2][num]", "cards[2]", "cards", "2", "num", "true", "break;", "case 'D':", "'D'", "case 'D':", "cards[3][num] = true", "cards[3][num]", "cards[3]", "cards", "3", "num", "true", "break;", "n--", "n", "for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }", "{\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }", "for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }", "{\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }", "if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }", "cards[i][j] == false", "cards[i][j]", "cards[i]", "cards", "i", "j", "false", "{\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }", "switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }", "i", "case 0:", "0", "case 0:", "System.out.println(\"S \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (j + 1)", "\"S \"", "(j + 1)", "j", "1", "break;", "case 1:", "1", "case 1:", "System.out.println(\"H \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (j + 1)", "\"H \"", "(j + 1)", "j", "1", "break;", "case 2:", "2", "case 2:", "System.out.println(\"C \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (j + 1)", "\"C \"", "(j + 1)", "j", "1", "break;", "case 3:", "3", "case 3:", "System.out.println(\"D \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (j + 1)", "\"D \"", "(j + 1)", "j", "1", "break;", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n boolean[][] cards = new boolean[4][13];\n int n = scan.nextInt();\n\n if (n == 52) return;\n while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }\n }\n\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n boolean[][] cards = new boolean[4][13];\n int n = scan.nextInt();\n\n if (n == 52) return;\n while (n != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n cards[0][num] = true;\n break;\n case 'H':\n cards[1][num] = true;\n break;\n case 'C':\n cards[2][num] = true;\n break;\n case 'D':\n cards[3][num] = true;\n break;\n }\n n--;\n }\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false) {\n switch (i) {\n case 0:\n System.out.println(\"S \" + (j + 1));\n break;\n case 1:\n System.out.println(\"H \" + (j + 1));\n break;\n case 2:\n System.out.println(\"C \" + (j + 1));\n break;\n case 3:\n System.out.println(\"D \" + (j + 1));\n break;\n }\n }\n }\n }\n }\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); boolean[][] cards = new boolean[4][13]; int n = scan.nextInt(); if (n == 52) return; while (n != 0) { char image = scan.next().charAt(0); int num = scan.nextInt() - 1; switch (image) { case 'S': cards[0][num] = true; break; case 'H': cards[1][num] = true; break; case 'C': cards[2][num] = true; break; case 'D': cards[3][num] = true; break; } n--; } for (int i = 0; i < 4; i++) { for (int j = 0; j < 13; j++) { if (cards[i][j] == false) { switch (i) { case 0: System.out.println("S " + (j + 1)); break; case 1: System.out.println("H " + (j + 1)); break; case 2: System.out.println("C " + (j + 1)); break; case 3: System.out.println("D " + (j + 1)); break; } } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 35, 4, 18, 18, 13, 17, 17, 34, 17, 1, 0, 18, 13, 2, 4, 18, 13, 18, 13, 17, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 4, 18, 13, 18, 13, 17, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 4, 18, 13, 18, 13, 17, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 4, 18, 13, 18, 13, 17, 17, 17, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 14, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 51, 56 ], [ 48, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 57, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 70, 77 ], [ 67, 78 ], [ 66, 79 ], [ 57, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 86, 93 ], [ 83, 94 ], [ 82, 95 ], [ 57, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 102, 109 ], [ 99, 110 ], [ 98, 111 ], [ 57, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 122, 123 ], [ 122, 124 ], [ 118, 125 ], [ 115, 126 ], [ 114, 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 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 140, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 8, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 155, 163 ], [ 163, 164 ], [ 164, 165 ], [ 155, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 179, 181 ], [ 8, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 187, 188 ], [ 187, 189 ], [ 182, 190 ], [ 190, 191 ], [ 191, 192 ], [ 182, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 8, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 214, 215 ], [ 214, 216 ], [ 209, 217 ], [ 217, 218 ], [ 218, 219 ], [ 209, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 221, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 233, 235 ], [ 6, 236 ], [ 236, 237 ] ]
[ "import java.io.*;\n\nclass Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n for(int i=0;i<N;i++){\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }\n for(int i=0;i<13;i++) if(!S[i]) System.out.println(\"S \"+(i+1));\n for(int i=0;i<13;i++) if(!H[i]) System.out.println(\"H \"+(i+1));\n for(int i=0;i<13;i++) if(!C[i]) System.out.println(\"C \"+(i+1));\n for(int i=0;i<13;i++) if(!D[i]) System.out.println(\"D \"+(i+1));\n\t}\n}", "import java.io.*;", "io.*", "java", "class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n for(int i=0;i<N;i++){\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }\n for(int i=0;i<13;i++) if(!S[i]) System.out.println(\"S \"+(i+1));\n for(int i=0;i<13;i++) if(!H[i]) System.out.println(\"H \"+(i+1));\n for(int i=0;i<13;i++) if(!C[i]) System.out.println(\"C \"+(i+1));\n for(int i=0;i<13;i++) if(!D[i]) System.out.println(\"D \"+(i+1));\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n for(int i=0;i<N;i++){\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }\n for(int i=0;i<13;i++) if(!S[i]) System.out.println(\"S \"+(i+1));\n for(int i=0;i<13;i++) if(!H[i]) System.out.println(\"H \"+(i+1));\n for(int i=0;i<13;i++) if(!C[i]) System.out.println(\"C \"+(i+1));\n for(int i=0;i<13;i++) if(!D[i]) System.out.println(\"D \"+(i+1));\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(br.readLine());\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n for(int i=0;i<N;i++){\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }\n for(int i=0;i<13;i++) if(!S[i]) System.out.println(\"S \"+(i+1));\n for(int i=0;i<13;i++) if(!H[i]) System.out.println(\"H \"+(i+1));\n for(int i=0;i<13;i++) if(!C[i]) System.out.println(\"C \"+(i+1));\n for(int i=0;i<13;i++) if(!D[i]) System.out.println(\"D \"+(i+1));\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int N = Integer.parseInt(br.readLine());", "N", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "boolean[] S = new boolean[13];", "S", "new boolean[13]", "13", "boolean[] H = new boolean[13];", "H", "new boolean[13]", "13", "boolean[] C = new boolean[13];", "C", "new boolean[13]", "13", "boolean[] D = new boolean[13];", "D", "new boolean[13]", "13", "for(int i=0;i<N;i++){\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }", "{\n String[] a = br.readLine().split(\" \");\n \tswitch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}\n }", "String[] a = br.readLine().split(\" \");", "a", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "switch(a[0].charAt(0)){\n \tcase 'S':\n \t\tS[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'H':\n \t\tH[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'C':\n \t\tC[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \tcase 'D':\n \t\tD[Integer.parseInt(a[1])-1]=true;\n \t\tbreak;\n \t}", "a[0].charAt(0)", "a[0].charAt", "a[0]", "a", "0", "0", "case 'S':", "'S'", "case 'S':", "S[Integer.parseInt(a[1])-1]=true", "S[Integer.parseInt(a[1])-1]", "S", "Integer.parseInt(a[1])-1", "Integer.parseInt(a[1])", "Integer.parseInt", "Integer", "a[1]", "a", "1", "1", "true", "break;", "case 'H':", "'H'", "case 'H':", "H[Integer.parseInt(a[1])-1]=true", "H[Integer.parseInt(a[1])-1]", "H", "Integer.parseInt(a[1])-1", "Integer.parseInt(a[1])", "Integer.parseInt", "Integer", "a[1]", "a", "1", "1", "true", "break;", "case 'C':", "'C'", "case 'C':", "C[Integer.parseInt(a[1])-1]=true", "C[Integer.parseInt(a[1])-1]", "C", "Integer.parseInt(a[1])-1", "Integer.parseInt(a[1])", "Integer.parseInt", "Integer", "a[1]", "a", "1", "1", "true", "break;", "case 'D':", "'D'", "case 'D':", "D[Integer.parseInt(a[1])-1]=true", "D[Integer.parseInt(a[1])-1]", "D", "Integer.parseInt(a[1])-1", "Integer.parseInt(a[1])", "Integer.parseInt", "Integer", "a[1]", "a", "1", "1", "true", "break;", "for(int i=0;i<13;i++) if(!S[i]) System.out.println(\"S \"+(i+1));", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "if(!S[i]) System.out.println(\"S \"+(i+1));", "if(!S[i]) System.out.println(\"S \"+(i+1));", "!S[i]", "S[i]", "S", "i", "System.out.println(\"S \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+(i+1)", "\"S \"", "(i+1)", "i", "1", "for(int i=0;i<13;i++) if(!H[i]) System.out.println(\"H \"+(i+1));", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "if(!H[i]) System.out.println(\"H \"+(i+1));", "if(!H[i]) System.out.println(\"H \"+(i+1));", "!H[i]", "H[i]", "H", "i", "System.out.println(\"H \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"H \"+(i+1)", "\"H \"", "(i+1)", "i", "1", "for(int i=0;i<13;i++) if(!C[i]) System.out.println(\"C \"+(i+1));", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "if(!C[i]) System.out.println(\"C \"+(i+1));", "if(!C[i]) System.out.println(\"C \"+(i+1));", "!C[i]", "C[i]", "C", "i", "System.out.println(\"C \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"C \"+(i+1)", "\"C \"", "(i+1)", "i", "1", "for(int i=0;i<13;i++) if(!D[i]) System.out.println(\"D \"+(i+1));", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "if(!D[i]) System.out.println(\"D \"+(i+1));", "if(!D[i]) System.out.println(\"D \"+(i+1));", "!D[i]", "D[i]", "D", "i", "System.out.println(\"D \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \"+(i+1)", "\"D \"", "(i+1)", "i", "1", "String[] args", "args" ]
import java.io.*; class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(br.readLine()); boolean[] S = new boolean[13]; boolean[] H = new boolean[13]; boolean[] C = new boolean[13]; boolean[] D = new boolean[13]; for(int i=0;i<N;i++){ String[] a = br.readLine().split(" "); switch(a[0].charAt(0)){ case 'S': S[Integer.parseInt(a[1])-1]=true; break; case 'H': H[Integer.parseInt(a[1])-1]=true; break; case 'C': C[Integer.parseInt(a[1])-1]=true; break; case 'D': D[Integer.parseInt(a[1])-1]=true; break; } } for(int i=0;i<13;i++) if(!S[i]) System.out.println("S "+(i+1)); for(int i=0;i<13;i++) if(!H[i]) System.out.println("H "+(i+1)); for(int i=0;i<13;i++) if(!C[i]) System.out.println("C "+(i+1)); for(int i=0;i<13;i++) if(!D[i]) System.out.println("D "+(i+1)); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 4, 13, 4, 18, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 41, 13, 4, 13, 13, 4, 18, 18, 13, 13, 2, 2, 18, 13, 17, 17, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 29, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 18, 13, 17, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 18, 13, 17, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 18, 13, 17, 17, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 18, 13, 17, 17, 41, 13, 8, 2, 2, 13, 17, 17, 17, 2, 13, 17, 0, 18, 13, 17, 4, 18, 20, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 215, 5 ], [ 215, 6 ], [ 6, 7 ], [ 6, 8 ], [ 215, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 37, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 11, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 9, 85 ], [ 85, 86 ], [ 215, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 93, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 102, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 89, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 87, 124 ], [ 124, 125 ], [ 87, 126 ], [ 126, 127 ], [ 215, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 140, 141 ], [ 140, 142 ], [ 135, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 135, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 154, 156 ], [ 149, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 149, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 168, 170 ], [ 163, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 163, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 182, 183 ], [ 182, 184 ], [ 177, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 130, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 193, 199 ], [ 193, 200 ], [ 200, 201 ], [ 200, 202 ], [ 130, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 208, 209 ], [ 130, 210 ], [ 210, 211 ], [ 128, 212 ], [ 212, 213 ], [ 0, 214 ], [ 214, 215 ], [ 214, 216 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n boolean[] ary = new boolean[53];\n for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }\n \n for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }\n }\n \n public static int convert(String p, int n) {\n int res = 0;\n if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }\n \n return res + n;\n }\n \n public static String[] convert(int n) {\n String[] res = new String[2];\n if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }\n \n int i = (n%13 == 0) ? 13 : n%13;\n \n res[1] = new Integer(i).toString();\n return res;\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static Scanner sc = new Scanner(System.in);\n public static void main(String[] args) throws Exception {\n int n = sc.nextInt();\n boolean[] ary = new boolean[53];\n for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }\n \n for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }\n }\n \n public static int convert(String p, int n) {\n int res = 0;\n if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }\n \n return res + n;\n }\n \n public static String[] convert(int n) {\n String[] res = new String[2];\n if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }\n \n int i = (n%13 == 0) ? 13 : n%13;\n \n res[1] = new Integer(i).toString();\n return res;\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 boolean[] ary = new boolean[53];\n for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }\n \n for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }\n }", "main", "{\n int n = sc.nextInt();\n boolean[] ary = new boolean[53];\n for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }\n \n for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }\n }", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "boolean[] ary = new boolean[53];", "ary", "new boolean[53]", "53", "for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n ary[convert(sc.next(), sc.nextInt())] = true;\n }", "{\n ary[convert(sc.next(), sc.nextInt())] = true;\n }", "ary[convert(sc.next(), sc.nextInt())] = true", "ary[convert(sc.next(), sc.nextInt())]", "ary", "convert(sc.next(), sc.nextInt())", "convert", "sc.next()", "sc.next", "sc", "sc.nextInt()", "sc.nextInt", "sc", "true", "for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i < 53", "i", "53", "i++", "i++", "i", "{\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }", "{\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }", "if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }", "ary[i] == false", "ary[i]", "ary", "i", "false", "{\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }", "String[] s = convert(i);", "s", "convert(i)", "convert", "i", "System.out.println(s[0] + \" \" + s[1])", "System.out.println", "System.out", "System", "System.out", "s[0] + \" \" + s[1]", "s[0] + \" \" + s[1]", "s[0]", "s", "0", "\" \"", "s[1]", "s", "1", "String[] args", "args", "public static int convert(String p, int n) {\n int res = 0;\n if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }\n \n return res + n;\n }", "convert", "{\n int res = 0;\n if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }\n \n return res + n;\n }", "int res = 0;", "res", "0", "if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }", "p.equals(\"H\")", "p.equals", "p", "\"H\"", "{\n res += 13;\n }", "res += 13", "res", "13", "if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }", "p.equals(\"C\")", "p.equals", "p", "\"C\"", "{\n res += 26;\n }", "res += 26", "res", "26", "if (p.equals(\"D\")) {\n res += 39;\n }", "p.equals(\"D\")", "p.equals", "p", "\"D\"", "{\n res += 39;\n }", "res += 39", "res", "39", "return res + n;", "res + n", "res", "n", "String p", "p", "int n", "n", "public static String[] convert(int n) {\n String[] res = new String[2];\n if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }\n \n int i = (n%13 == 0) ? 13 : n%13;\n \n res[1] = new Integer(i).toString();\n return res;\n }", "convert", "{\n String[] res = new String[2];\n if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }\n \n int i = (n%13 == 0) ? 13 : n%13;\n \n res[1] = new Integer(i).toString();\n return res;\n }", "String[] res = new String[2];", "res", "new String[2]", "2", "if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }", "0 < n && n <= 13", "0 < n", "0", "n", "n <= 13", "n", "13", "{\n res[0] = \"S\";\n }", "res[0] = \"S\"", "res[0]", "res", "0", "\"S\"", "if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }", "13 < n && n <= 26", "13 < n", "13", "n", "n <= 26", "n", "26", "{\n res[0] = \"H\";\n }", "res[0] = \"H\"", "res[0]", "res", "0", "\"H\"", "if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }", "26 < n && n <= 39", "26 < n", "26", "n", "n <= 39", "n", "39", "{\n res[0] = \"C\";\n }", "res[0] = \"C\"", "res[0]", "res", "0", "\"C\"", "if (39 < n && n <= 52) {\n res[0] = \"D\";\n }", "39 < n && n <= 52", "39 < n", "39", "n", "n <= 52", "n", "52", "{\n res[0] = \"D\";\n }", "res[0] = \"D\"", "res[0]", "res", "0", "\"D\"", "int i = (n%13 == 0) ? 13 : n%13;", "i", "(n%13 == 0) ? 13 : n%13", "(n%13 == 0)", "n%13", "n", "13", "0", "13", "n%13", "n", "13", "res[1] = new Integer(i).toString()", "res[1]", "res", "1", "new Integer(i).toString()", "new Integer(i).toString", "new Integer(i)", "return res;", "res", "int 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 boolean[] ary = new boolean[53];\n for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }\n \n for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }\n }\n \n public static int convert(String p, int n) {\n int res = 0;\n if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }\n \n return res + n;\n }\n \n public static String[] convert(int n) {\n String[] res = new String[2];\n if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }\n \n int i = (n%13 == 0) ? 13 : n%13;\n \n res[1] = new Integer(i).toString();\n return res;\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 boolean[] ary = new boolean[53];\n for (int i = 0; i < n; i++) {\n ary[convert(sc.next(), sc.nextInt())] = true;\n }\n \n for (int i = 1; i < 53; i++) {\n if (ary[i] == false) {\n String[] s = convert(i);\n System.out.println(s[0] + \" \" + s[1]);\n }\n }\n }\n \n public static int convert(String p, int n) {\n int res = 0;\n if (p.equals(\"H\")) {\n res += 13;\n } else if (p.equals(\"C\")) {\n res += 26;\n } else if (p.equals(\"D\")) {\n res += 39;\n }\n \n return res + n;\n }\n \n public static String[] convert(int n) {\n String[] res = new String[2];\n if (0 < n && n <= 13) {\n res[0] = \"S\";\n } else if (13 < n && n <= 26) {\n res[0] = \"H\";\n } else if (26 < n && n <= 39) {\n res[0] = \"C\";\n } else if (39 < n && n <= 52) {\n res[0] = \"D\";\n }\n \n int i = (n%13 == 0) ? 13 : n%13;\n \n res[1] = new Integer(i).toString();\n return res;\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static Scanner sc = new Scanner(System.in); public static void main(String[] args) throws Exception { int n = sc.nextInt(); boolean[] ary = new boolean[53]; for (int i = 0; i < n; i++) { ary[convert(sc.next(), sc.nextInt())] = true; } for (int i = 1; i < 53; i++) { if (ary[i] == false) { String[] s = convert(i); System.out.println(s[0] + " " + s[1]); } } } public static int convert(String p, int n) { int res = 0; if (p.equals("H")) { res += 13; } else if (p.equals("C")) { res += 26; } else if (p.equals("D")) { res += 39; } return res + n; } public static String[] convert(int n) { String[] res = new String[2]; if (0 < n && n <= 13) { res[0] = "S"; } else if (13 < n && n <= 26) { res[0] = "H"; } else if (26 < n && n <= 39) { res[0] = "C"; } else if (39 < n && n <= 52) { res[0] = "D"; } int i = (n%13 == 0) ? 13 : n%13; res[1] = new Integer(i).toString(); return res; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 14, 2, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 246, 11 ], [ 246, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 14, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 44, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 59, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 59, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 59, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 59, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 59, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 59, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 14, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 92, 100 ], [ 100, 101 ], [ 101, 102 ], [ 92, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 104, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 116, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 115, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 104, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 135, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 134, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 144, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 104, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 154, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 153, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 163, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 104, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 173, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 172, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 183, 186 ], [ 182, 187 ], [ 187, 188 ], [ 188, 189 ], [ 187, 190 ], [ 14, 191 ], [ 191, 192 ], [ 191, 193 ], [ 191, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 14, 204 ], [ 204, 205 ], [ 204, 206 ], [ 204, 207 ], [ 208, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 214, 215 ], [ 214, 216 ], [ 14, 217 ], [ 217, 218 ], [ 217, 219 ], [ 217, 220 ], [ 221, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 222, 227 ], [ 227, 228 ], [ 227, 229 ], [ 14, 230 ], [ 230, 231 ], [ 230, 232 ], [ 230, 233 ], [ 234, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 235, 240 ], [ 240, 241 ], [ 240, 242 ], [ 12, 243 ], [ 243, 244 ], [ 0, 245 ], [ 245, 246 ], [ 245, 247 ] ]
[ "\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\n\t\tList<Integer> listCardLankS = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankH = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankC = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankD = new ArrayList<Integer>();\n\n\t\tList<String> listEgaraS = new ArrayList<String>();\n\t\tList<String> listEgaraH = new ArrayList<String>();\n\t\tList<String> listEgaraC = new ArrayList<String>();\n\t\tList<String> listEgaraD = new ArrayList<String>();\n\n\t\tfor(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}\n\t\tfor(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}\n\t\tfor(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}\n\t\tfor(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\n\t\tList<Integer> listCardLankS = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankH = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankC = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankD = new ArrayList<Integer>();\n\n\t\tList<String> listEgaraS = new ArrayList<String>();\n\t\tList<String> listEgaraH = new ArrayList<String>();\n\t\tList<String> listEgaraC = new ArrayList<String>();\n\t\tList<String> listEgaraD = new ArrayList<String>();\n\n\t\tfor(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}\n\t\tfor(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}\n\t\tfor(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}\n\t\tfor(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\n\t\tList<Integer> listCardLankS = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankH = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankC = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankD = new ArrayList<Integer>();\n\n\t\tList<String> listEgaraS = new ArrayList<String>();\n\t\tList<String> listEgaraH = new ArrayList<String>();\n\t\tList<String> listEgaraC = new ArrayList<String>();\n\t\tList<String> listEgaraD = new ArrayList<String>();\n\n\t\tfor(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}\n\t\tfor(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}\n\t\tfor(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}\n\t\tfor(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\n\t\tList<Integer> listCardLankS = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankH = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankC = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankD = new ArrayList<Integer>();\n\n\t\tList<String> listEgaraS = new ArrayList<String>();\n\t\tList<String> listEgaraH = new ArrayList<String>();\n\t\tList<String> listEgaraC = new ArrayList<String>();\n\t\tList<String> listEgaraD = new ArrayList<String>();\n\n\t\tfor(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}\n\t\tfor(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}\n\t\tfor(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}\n\t\tfor(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int A = sc.nextInt();", "A", "sc.nextInt()", "sc.nextInt", "sc", "List<Integer> listCardLankS = new ArrayList<Integer>();", "listCardLankS", "new ArrayList<Integer>()", "List<Integer> listCardLankH = new ArrayList<Integer>();", "listCardLankH", "new ArrayList<Integer>()", "List<Integer> listCardLankC = new ArrayList<Integer>();", "listCardLankC", "new ArrayList<Integer>()", "List<Integer> listCardLankD = new ArrayList<Integer>();", "listCardLankD", "new ArrayList<Integer>()", "List<String> listEgaraS = new ArrayList<String>();", "listEgaraS", "new ArrayList<String>()", "List<String> listEgaraH = new ArrayList<String>();", "listEgaraH", "new ArrayList<String>()", "List<String> listEgaraC = new ArrayList<String>();", "listEgaraC", "new ArrayList<String>()", "List<String> listEgaraD = new ArrayList<String>();", "listEgaraD", "new ArrayList<String>()", "for(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < 14", "i", "14", "i++", "i++", "i", "{\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}", "{\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}", "listCardLankS.add(i)", "listCardLankS.add", "listCardLankS", "i", "listCardLankH.add(i)", "listCardLankH.add", "listCardLankH", "i", "listCardLankC.add(i)", "listCardLankC.add", "listCardLankC", "i", "listCardLankD.add(i)", "listCardLankD.add", "listCardLankD", "i", "listEgaraS.add(\"S\")", "listEgaraS.add", "listEgaraS", "\"S\"", "listEgaraH.add(\"H\")", "listEgaraH.add", "listEgaraH", "\"H\"", "listEgaraC.add(\"C\")", "listEgaraC.add", "listEgaraC", "\"C\"", "listEgaraD.add(\"D\")", "listEgaraD.add", "listEgaraD", "\"D\"", "for(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < A", "i", "A", "i++", "i++", "i", "{\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}", "{\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}", "String strA = sc.next();", "strA", "sc.next()", "sc.next", "sc", "int intA = sc.nextInt();", "intA", "sc.nextInt()", "sc.nextInt", "sc", "if(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}", "listEgaraS.contains(strA) && listCardLankS.contains(intA)", "listEgaraS.contains(strA)", "listEgaraS.contains", "listEgaraS", "strA", "listCardLankS.contains(intA)", "listCardLankS.contains", "listCardLankS", "intA", "{\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}", "listEgaraS.remove(strA)", "listEgaraS.remove", "listEgaraS", "strA", "listCardLankS.remove((Integer)intA)", "listCardLankS.remove", "listCardLankS", "(Integer)intA", "if(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}", "listEgaraH.contains(strA) && listCardLankH.contains(intA)", "listEgaraH.contains(strA)", "listEgaraH.contains", "listEgaraH", "strA", "listCardLankH.contains(intA)", "listCardLankH.contains", "listCardLankH", "intA", "{\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}", "listEgaraH.remove(strA)", "listEgaraH.remove", "listEgaraH", "strA", "listCardLankH.remove((Integer)intA)", "listCardLankH.remove", "listCardLankH", "(Integer)intA", "if(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}", "listEgaraC.contains(strA) && listCardLankC.contains(intA)", "listEgaraC.contains(strA)", "listEgaraC.contains", "listEgaraC", "strA", "listCardLankC.contains(intA)", "listCardLankC.contains", "listCardLankC", "intA", "{\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}", "listEgaraC.remove(strA)", "listEgaraC.remove", "listEgaraC", "strA", "listCardLankC.remove((Integer)intA)", "listCardLankC.remove", "listCardLankC", "(Integer)intA", "if(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}", "listEgaraD.contains(strA) && listCardLankD.contains(intA)", "listEgaraD.contains(strA)", "listEgaraD.contains", "listEgaraD", "strA", "listCardLankD.contains(intA)", "listCardLankD.contains", "listCardLankD", "intA", "{\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}", "listEgaraD.remove(strA)", "listEgaraD.remove", "listEgaraD", "strA", "listCardLankD.remove((Integer)intA)", "listCardLankD.remove", "listCardLankD", "(Integer)intA", "for(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}", "int j", "listCardLankS", "{\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}", "{\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}", "System.out.println(\"S \"+j)", "System.out.println", "System.out", "System", "System.out", "\"S \"+j", "\"S \"", "j", "for(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}", "int j", "listCardLankH", "{\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}", "{\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}", "System.out.println(\"H \"+j)", "System.out.println", "System.out", "System", "System.out", "\"H \"+j", "\"H \"", "j", "for(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}", "int j", "listCardLankC", "{\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}", "{\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}", "System.out.println(\"C \"+j)", "System.out.println", "System.out", "System", "System.out", "\"C \"+j", "\"C \"", "j", "for(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}", "int j", "listCardLankD", "{\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}", "{\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}", "System.out.println(\"D \"+j)", "System.out.println", "System.out", "System", "System.out", "\"D \"+j", "\"D \"", "j", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint A = sc.nextInt();\n\n\t\tList<Integer> listCardLankS = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankH = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankC = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankD = new ArrayList<Integer>();\n\n\t\tList<String> listEgaraS = new ArrayList<String>();\n\t\tList<String> listEgaraH = new ArrayList<String>();\n\t\tList<String> listEgaraC = new ArrayList<String>();\n\t\tList<String> listEgaraD = new ArrayList<String>();\n\n\t\tfor(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}\n\t\tfor(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}\n\t\tfor(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}\n\t\tfor(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\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 A = sc.nextInt();\n\n\t\tList<Integer> listCardLankS = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankH = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankC = new ArrayList<Integer>();\n\t\tList<Integer> listCardLankD = new ArrayList<Integer>();\n\n\t\tList<String> listEgaraS = new ArrayList<String>();\n\t\tList<String> listEgaraH = new ArrayList<String>();\n\t\tList<String> listEgaraC = new ArrayList<String>();\n\t\tList<String> listEgaraD = new ArrayList<String>();\n\n\t\tfor(int i = 1; i < 14; i++) {\n\t\t\tlistCardLankS.add(i);\n\t\t\tlistCardLankH.add(i);\n\t\t\tlistCardLankC.add(i);\n\t\t\tlistCardLankD.add(i);\n\n\t\t\tlistEgaraS.add(\"S\");\n\t\t\tlistEgaraH.add(\"H\");\n\t\t\tlistEgaraC.add(\"C\");\n\t\t\tlistEgaraD.add(\"D\");\n\t\t}\n\n\t\tfor(int i = 0; i < A; i++) {\n\t\t\tString strA = sc.next();\n\t\t\tint intA = sc.nextInt();\n\n\t\t//\tSystem.out.println(\"?????? : \"+strA);\n\t\t//\tSystem.out.println(\"????????? : \"+intA);\n\t\t\tif(listEgaraS.contains(strA) && listCardLankS.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraS.remove(strA);\n\t\t\t\tlistCardLankS.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraH.contains(strA) && listCardLankH.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraH.remove(strA);\n\t\t\t\tlistCardLankH.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraC.contains(strA) && listCardLankC.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraC.remove(strA);\n\t\t\t\tlistCardLankC.remove((Integer)intA);\n\t\t\t}\n\t\t\tif(listEgaraD.contains(strA) && listCardLankD.contains(intA)) {\n\t\t//\t\tSystem.out.println(\"?????????????????????????????£?????????\");\n\t\t\t\tlistEgaraD.remove(strA);\n\t\t\t\tlistCardLankD.remove((Integer)intA);\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int j : listCardLankS) {\n\t\t\tSystem.out.println(\"S \"+j);\n\t\t}\n\t\tfor(int j : listCardLankH) {\n\t\t\tSystem.out.println(\"H \"+j);\n\t\t}\n\t\tfor(int j : listCardLankC) {\n\t\t\tSystem.out.println(\"C \"+j);\n\t\t}\n\t\tfor(int j : listCardLankD) {\n\t\t\tSystem.out.println(\"D \"+j);\n\t\t}\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = sc.nextInt(); List<Integer> listCardLankS = new ArrayList<Integer>(); List<Integer> listCardLankH = new ArrayList<Integer>(); List<Integer> listCardLankC = new ArrayList<Integer>(); List<Integer> listCardLankD = new ArrayList<Integer>(); List<String> listEgaraS = new ArrayList<String>(); List<String> listEgaraH = new ArrayList<String>(); List<String> listEgaraC = new ArrayList<String>(); List<String> listEgaraD = new ArrayList<String>(); for(int i = 1; i < 14; i++) { listCardLankS.add(i); listCardLankH.add(i); listCardLankC.add(i); listCardLankD.add(i); listEgaraS.add("S"); listEgaraH.add("H"); listEgaraC.add("C"); listEgaraD.add("D"); } for(int i = 0; i < A; i++) { String strA = sc.next(); int intA = sc.nextInt(); // System.out.println("?????? : "+strA); // System.out.println("????????? : "+intA); if(listEgaraS.contains(strA) && listCardLankS.contains(intA)) { // System.out.println("?????????????????????????????£?????????"); listEgaraS.remove(strA); listCardLankS.remove((Integer)intA); } if(listEgaraH.contains(strA) && listCardLankH.contains(intA)) { // System.out.println("?????????????????????????????£?????????"); listEgaraH.remove(strA); listCardLankH.remove((Integer)intA); } if(listEgaraC.contains(strA) && listCardLankC.contains(intA)) { // System.out.println("?????????????????????????????£?????????"); listEgaraC.remove(strA); listCardLankC.remove((Integer)intA); } if(listEgaraD.contains(strA) && listCardLankD.contains(intA)) { // System.out.println("?????????????????????????????£?????????"); listEgaraD.remove(strA); listCardLankD.remove((Integer)intA); } } for(int j : listCardLankS) { System.out.println("S "+j); } for(int j : listCardLankH) { System.out.println("H "+j); } for(int j : listCardLankC) { System.out.println("C "+j); } for(int j : listCardLankD) { System.out.println("D "+j); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 17, 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, 41, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 14, 2, 18, 18, 13, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 14, 2, 18, 18, 13, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 14, 2, 18, 18, 13, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 14, 2, 18, 18, 13, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 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 ], [ 53, 57 ], [ 52, 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 ], [ 71, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 82, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 93, 95 ], [ 88, 96 ], [ 82, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 97, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 97, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 112, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 112, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 127, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 138, 140 ], [ 133, 141 ], [ 8, 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 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 155, 163 ], [ 163, 164 ], [ 164, 165 ], [ 155, 166 ], [ 167, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 174, 180 ], [ 173, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 189, 191 ], [ 167, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 198, 204 ], [ 197, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 206, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 213, 215 ], [ 167, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 222, 228 ], [ 221, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 230, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 237, 239 ], [ 167, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 246, 252 ], [ 245, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 254, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 261, 263 ], [ 6, 264 ], [ 264, 265 ] ]
[ "import java.util.Scanner;\nclass Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint n = scanner.nextInt();\n\t\tint tate,yoko;\n\t\tint [][] box = new int [4][13];\n\n\t\t\tfor(tate = 0; tate < 4; tate++){\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(tate = 0; tate < n; tate++){ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}\t\n\n\t\t\tfor(tate = 0; tate < 4; tate++){ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint n = scanner.nextInt();\n\t\tint tate,yoko;\n\t\tint [][] box = new int [4][13];\n\n\t\t\tfor(tate = 0; tate < 4; tate++){\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(tate = 0; tate < n; tate++){ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}\t\n\n\t\t\tfor(tate = 0; tate < 4; tate++){ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint n = scanner.nextInt();\n\t\tint tate,yoko;\n\t\tint [][] box = new int [4][13];\n\n\t\t\tfor(tate = 0; tate < 4; tate++){\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(tate = 0; tate < n; tate++){ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}\t\n\n\t\t\tfor(tate = 0; tate < 4; tate++){ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint n = scanner.nextInt();\n\t\tint tate,yoko;\n\t\tint [][] box = new int [4][13];\n\n\t\t\tfor(tate = 0; tate < 4; tate++){\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(tate = 0; tate < n; tate++){ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}\t\n\n\t\t\tfor(tate = 0; tate < 4; tate++){ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\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 tate", "tate", "yoko;", "yoko", "int [][] box = new int [4][13];", "box", "new int [4][13]", "4", "13", "for(tate = 0; tate < 4; tate++){\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}", "tate = 0;", "tate = 0", "tate", "0", "tate < 4", "tate", "4", "tate++", "tate++", "tate", "{\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}\n\t\t\t}", "for(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}", "yoko = 0;", "yoko = 0", "yoko", "0", "yoko < 13", "yoko", "13", "yoko++", "yoko++", "yoko", "{\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}", "{\n\n\t\t\t\t//?????????1??¨?????§?????????\n\t\t\t\tbox[tate][yoko]=0;\n\t\t\t\t}", "box[tate][yoko]=0", "box[tate][yoko]", "box[tate]", "box", "tate", "yoko", "0", "for(tate = 0; tate < n; tate++){ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}", "tate = 0;", "tate = 0", "tate", "0", "tate < n", "tate", "n", "tate++", "tate++", "tate", "{ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}", "{ \n\n\t\t\t\t\tString str = scanner.next();\n\t\t\t\t\tyoko = scanner.nextInt();\n\t\t\t\t\t\n\n\t\t\t\t\tif(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t}", "String str = scanner.next();", "str", "scanner.next()", "scanner.next", "scanner", "yoko = scanner.nextInt()", "yoko", "scanner.nextInt()", "scanner.nextInt", "scanner", "if(str.equals(\"S\")){\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}", "str.equals(\"S\")", "str.equals", "str", "\"S\"", "{\n\t\t\t\t\tbox[0][yoko-1]=1;\n\t\t\t\t\t}", "box[0][yoko-1]=1", "box[0][yoko-1]", "box[0]", "box", "0", "yoko-1", "yoko", "1", "1", "if(str.equals(\"H\")){\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}", "str.equals(\"H\")", "str.equals", "str", "\"H\"", "{\n\t\t\t\t\tbox[1][yoko-1]=1;\n\t\t\t\t\t}", "box[1][yoko-1]=1", "box[1][yoko-1]", "box[1]", "box", "1", "yoko-1", "yoko", "1", "1", "if(str.equals(\"C\")){\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}\n\t\t\t\t\telse if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}", "str.equals(\"C\")", "str.equals", "str", "\"C\"", "{\n\t\t\t\t\tbox[2][yoko-1]=1;\n\t\t\t\t\t}", "box[2][yoko-1]=1", "box[2][yoko-1]", "box[2]", "box", "2", "yoko-1", "yoko", "1", "1", "if(str.equals(\"D\")){\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}", "str.equals(\"D\")", "str.equals", "str", "\"D\"", "{\n\t\t\t\t\tbox[3][yoko-1]=1;\n\t\t\t\t\t}", "box[3][yoko-1]=1", "box[3][yoko-1]", "box[3]", "box", "3", "yoko-1", "yoko", "1", "1", "for(tate = 0; tate < 4; tate++){ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "tate = 0;", "tate = 0", "tate", "0", "tate < 4", "tate", "4", "tate++", "tate++", "tate", "{ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "{ \n\n\t\t\t\tfor(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}\n\t\t\t}", "for(yoko = 0; yoko < 13; yoko++){\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}", "yoko = 0;", "yoko = 0", "yoko", "0", "yoko < 13", "yoko", "13", "yoko++", "yoko++", "yoko", "{\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}", "{\n\n\t\t\t\t\tif(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\tif(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}\n\t\t\t\t\t\n\t\t\t\t}", "if(tate == 0){\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "tate == 0", "tate", "0", "{\n\t\t\t\t\t\t\tif(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(box[0][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}", "box[0][yoko]==0", "box[0][yoko]", "box[0]", "box", "0", "yoko", "0", "{\n\t\t\t\t\t\t\tSystem.out.println(\"S \"+(yoko+1));\n\t\t\t\t\t\t}", "System.out.println(\"S \"+(yoko+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+(yoko+1)", "\"S \"", "(yoko+1)", "yoko", "1", "if(tate == 1){\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "tate == 1", "tate", "1", "{\n\t\t\t\t\t\tif(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(box[1][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}", "box[1][yoko]==0", "box[1][yoko]", "box[1]", "box", "1", "yoko", "0", "{\n\t\t\t\t\t\t\tSystem.out.println(\"H \"+(yoko+1));\n\t\t\t\t\t\t}", "System.out.println(\"H \"+(yoko+1))", "System.out.println", "System.out", "System", "System.out", "\"H \"+(yoko+1)", "\"H \"", "(yoko+1)", "yoko", "1", "if(tate == 2){\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "tate == 2", "tate", "2", "{\n\t\t\t\t\t\tif(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(box[2][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}", "box[2][yoko]==0", "box[2][yoko]", "box[2]", "box", "2", "yoko", "0", "{\n\t\t\t\t\t\t\tSystem.out.println(\"C \"+(yoko+1));\n\t\t\t\t\t\t}", "System.out.println(\"C \"+(yoko+1))", "System.out.println", "System.out", "System", "System.out", "\"C \"+(yoko+1)", "\"C \"", "(yoko+1)", "yoko", "1", "if(tate == 3){\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "tate == 3", "tate", "3", "{\n\t\t\t\t\t\tif(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}\n\t\t\t\t\t}", "if(box[3][yoko]==0){\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}", "box[3][yoko]==0", "box[3][yoko]", "box[3]", "box", "3", "yoko", "0", "{\n\t\t\t\t\t\t\tSystem.out.println(\"D \"+(yoko+1));\n\t\t\t\t\t\t}", "System.out.println(\"D \"+(yoko+1))", "System.out.println", "System.out", "System", "System.out", "\"D \"+(yoko+1)", "\"D \"", "(yoko+1)", "yoko", "1", "String[] args", "args" ]
import java.util.Scanner; class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); int tate,yoko; int [][] box = new int [4][13]; for(tate = 0; tate < 4; tate++){ for(yoko = 0; yoko < 13; yoko++){ //?????????1??¨?????§????????? box[tate][yoko]=0; } } for(tate = 0; tate < n; tate++){ String str = scanner.next(); yoko = scanner.nextInt(); if(str.equals("S")){ box[0][yoko-1]=1; } else if(str.equals("H")){ box[1][yoko-1]=1; } else if(str.equals("C")){ box[2][yoko-1]=1; } else if(str.equals("D")){ box[3][yoko-1]=1; } } for(tate = 0; tate < 4; tate++){ for(yoko = 0; yoko < 13; yoko++){ if(tate == 0){ if(box[0][yoko]==0){ System.out.println("S "+(yoko+1)); } } if(tate == 1){ if(box[1][yoko]==0){ System.out.println("H "+(yoko+1)); } } if(tate == 2){ if(box[2][yoko]==0){ System.out.println("C "+(yoko+1)); } } if(tate == 3){ if(box[3][yoko]==0){ System.out.println("D "+(yoko+1)); } } } } } }
[ 7, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 20, 17, 0, 13, 20, 17, 0, 13, 20, 17, 0, 13, 20, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 30, 0, 18, 13, 2, 13, 17, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 258, 2 ], [ 258, 3 ], [ 3, 4 ], [ 3, 5 ], [ 5, 6 ], [ 6, 7 ], [ 6, 8 ], [ 5, 9 ], [ 9, 10 ], [ 5, 11 ], [ 11, 12 ], [ 5, 13 ], [ 13, 14 ], [ 5, 15 ], [ 15, 16 ], [ 5, 17 ], [ 17, 18 ], [ 5, 19 ], [ 19, 20 ], [ 5, 21 ], [ 21, 22 ], [ 5, 23 ], [ 23, 24 ], [ 5, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 5, 30 ], [ 30, 31 ], [ 30, 32 ], [ 5, 34 ], [ 34, 35 ], [ 34, 36 ], [ 5, 38 ], [ 38, 39 ], [ 38, 40 ], [ 5, 42 ], [ 42, 43 ], [ 42, 44 ], [ 5, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 75, 81 ], [ 69, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 82, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 88, 94 ], [ 82, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 101, 107 ], [ 95, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 5, 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 ], [ 130, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 5, 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 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 166, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 5, 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 ], [ 190, 194 ], [ 189, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 203, 205 ], [ 5, 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 ], [ 220, 224 ], [ 219, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 233, 235 ], [ 5, 236 ], [ 236, 237 ], [ 237, 238 ], [ 3, 239 ], [ 239, 240 ], [ 3, 241 ], [ 241, 242 ], [ 258, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 246, 249 ], [ 249, 250 ], [ 249, 251 ], [ 246, 252 ], [ 252, 253 ], [ 252, 254 ], [ 243, 255 ], [ 255, 256 ], [ 0, 257 ], [ 257, 258 ], [ 257, 259 ] ]
[ "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] s, h, c, d;\n int i, a;\n String str;\n\n n = sc.nextInt();\n s = new int[13];\n h = new int[13];\n c = new int[13];\n d = new int[13];\n\n for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }\n\n for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] s, h, c, d;\n int i, a;\n String str;\n\n n = sc.nextInt();\n s = new int[13];\n h = new int[13];\n c = new int[13];\n d = new int[13];\n\n for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }\n\n for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n\n}", "Main", "public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] s, h, c, d;\n int i, a;\n String str;\n\n n = sc.nextInt();\n s = new int[13];\n h = new int[13];\n c = new int[13];\n d = new int[13];\n\n for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }\n\n for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }\n\n sc.close();\n }", "run", "{\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] s, h, c, d;\n int i, a;\n String str;\n\n n = sc.nextInt();\n s = new int[13];\n h = new int[13];\n c = new int[13];\n d = new int[13];\n\n for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }\n\n for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }\n\n sc.close();\n }", "java.util.Scanner sc = new java.util.Scanner(in);", "sc", "new java.util.Scanner(in)", "int n;", "n", "int[] s", "s", "h", "h", "c", "c", "d;", "d", "int i", "i", "a;", "a", "String str;", "str", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "s = new int[13]", "s", "new int[13]", "13", "h = new int[13]", "h", "new int[13]", "13", "c = new int[13]", "c", "new int[13]", "13", "d = new int[13]", "d", "new int[13]", "13", "for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }", "{\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }", "str = sc.next()", "str", "sc.next()", "sc.next", "sc", "a = sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }", "\"S\".equals(str)", "\"S\".equals", "\"S\"", "str", "{\n s[a - 1] = 1;\n }", "s[a - 1] = 1", "s[a - 1]", "s", "a - 1", "a", "1", "1", "if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }", "\"H\".equals(str)", "\"H\".equals", "\"H\"", "str", "{\n h[a - 1] = 1;\n }", "h[a - 1] = 1", "h[a - 1]", "h", "a - 1", "a", "1", "1", "if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }", "\"C\".equals(str)", "\"C\".equals", "\"C\"", "str", "{\n c[a - 1] = 1;\n }", "c[a - 1] = 1", "c[a - 1]", "c", "a - 1", "a", "1", "1", "{\n d[a - 1] = 1;\n }", "d[a - 1] = 1", "d[a - 1]", "d", "a - 1", "a", "1", "1", "for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }", "i = 0;", "i = 0", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }", "{\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }", "if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }", "s[i] != 1", "s[i]", "s", "i", "1", "{\n System.out.println(\"S \" + (i + 1));\n }", "System.out.println(\"S \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i + 1)", "\"S \"", "(i + 1)", "i", "1", "for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }", "i = 0;", "i = 0", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }", "{\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }", "if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }", "h[i] != 1", "h[i]", "h", "i", "1", "{\n System.out.println(\"H \" + (i + 1));\n }", "System.out.println(\"H \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i + 1)", "\"H \"", "(i + 1)", "i", "1", "for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }", "i = 0;", "i = 0", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }", "{\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }", "if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }", "c[i] != 1", "c[i]", "c", "i", "1", "{\n System.out.println(\"C \" + (i + 1));\n }", "System.out.println(\"C \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i + 1)", "\"C \"", "(i + 1)", "i", "1", "for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }", "i = 0;", "i = 0", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }", "{\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }", "if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }", "d[i] != 1", "d[i]", "d", "i", "1", "{\n System.out.println(\"D \" + (i + 1));\n }", "System.out.println(\"D \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i + 1)", "\"D \"", "(i + 1)", "i", "1", "sc.close()", "sc.close", "sc", "java.io.InputStream in", "in", "java.io.PrintStream out", "out", "public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }", "main", "{\n (new Main()).run(System.in, System.out);\n }", "(new Main()).run(System.in, System.out)", "(new Main()).run", "(new Main())", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] s, h, c, d;\n int i, a;\n String str;\n\n n = sc.nextInt();\n s = new int[13];\n h = new int[13];\n c = new int[13];\n d = new int[13];\n\n for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }\n\n for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n\n}", "public class Main{\n public void run(java.io.InputStream in, java.io.PrintStream out){\n java.util.Scanner sc = new java.util.Scanner(in);\n/*answer*/\n int n;\n int[] s, h, c, d;\n int i, a;\n String str;\n\n n = sc.nextInt();\n s = new int[13];\n h = new int[13];\n c = new int[13];\n d = new int[13];\n\n for(i = 0;i < n;i++){\n str = sc.next();\n a = sc.nextInt();\n if(\"S\".equals(str)){\n s[a - 1] = 1;\n }else if(\"H\".equals(str)){\n h[a - 1] = 1;\n }else if(\"C\".equals(str)){\n c[a - 1] = 1;\n }else{\n d[a - 1] = 1;\n }\n }\n\n for(i = 0;i < 13;i++){\n if(s[i] != 1){\n System.out.println(\"S \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(h[i] != 1){\n System.out.println(\"H \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(c[i] != 1){\n System.out.println(\"C \" + (i + 1));\n }\n }\n for(i = 0;i < 13;i++){\n if(d[i] != 1){\n System.out.println(\"D \" + (i + 1));\n }\n }\n\n sc.close();\n }\n public static void main(String[] args){\n (new Main()).run(System.in, System.out);\n }\n\n}", "Main" ]
public class Main{ public void run(java.io.InputStream in, java.io.PrintStream out){ java.util.Scanner sc = new java.util.Scanner(in); /*answer*/ int n; int[] s, h, c, d; int i, a; String str; n = sc.nextInt(); s = new int[13]; h = new int[13]; c = new int[13]; d = new int[13]; for(i = 0;i < n;i++){ str = sc.next(); a = sc.nextInt(); if("S".equals(str)){ s[a - 1] = 1; }else if("H".equals(str)){ h[a - 1] = 1; }else if("C".equals(str)){ c[a - 1] = 1; }else{ d[a - 1] = 1; } } for(i = 0;i < 13;i++){ if(s[i] != 1){ System.out.println("S " + (i + 1)); } } for(i = 0;i < 13;i++){ if(h[i] != 1){ System.out.println("H " + (i + 1)); } } for(i = 0;i < 13;i++){ if(c[i] != 1){ System.out.println("C " + (i + 1)); } } for(i = 0;i < 13;i++){ if(d[i] != 1){ System.out.println("D " + (i + 1)); } } 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, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 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, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 4, 18, 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 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 67, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 67, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 82, 92 ], [ 78, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 104 ], [ 95, 105 ], [ 78, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 114, 116 ], [ 109, 117 ], [ 108, 118 ], [ 78, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 127, 129 ], [ 122, 130 ], [ 8, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 131, 139 ], [ 139, 140 ], [ 140, 141 ], [ 131, 142 ], [ 143, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 144, 152 ], [ 152, 153 ], [ 153, 154 ], [ 144, 155 ], [ 156, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 158, 164 ], [ 157, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 178, 180 ], [ 170, 181 ], [ 166, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 192, 194 ], [ 184, 195 ], [ 166, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 199, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 206, 208 ], [ 198, 209 ], [ 166, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 220, 222 ], [ 8, 223 ], [ 223, 224 ], [ 224, 225 ], [ 6, 226 ], [ 226, 227 ], [ 0, 228 ], [ 228, 229 ], [ 228, 230 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint cards[][] = new int[4][13];\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}\n scan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint cards[][] = new int[4][13];\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}\n scan.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint cards[][] = new int[4][13];\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}\n scan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint cards[][] = new int[4][13];\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}\n 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 cards[][] = new int[4][13];", "cards", "new int[4][13]", "4", "13", "for(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}", "int cnt1 = 0;", "int cnt1 = 0;", "cnt1", "0", "cnt1 < 4", "cnt1", "4", "cnt1++", "cnt1++", "cnt1", "{//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}", "{//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}", "for(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}", "int cnt2 = 0;", "int cnt2 = 0;", "cnt2", "0", "cnt2 < 13", "cnt2", "13", "cnt2++", "cnt2++", "cnt2", "{\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}", "{\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}", "cards[cnt1][cnt2] = 0", "cards[cnt1][cnt2]", "cards[cnt1]", "cards", "cnt1", "cnt2", "0", "for(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}", "int cnt_card = 0;", "int cnt_card = 0;", "cnt_card", "0", "cnt_card < n", "cnt_card", "n", "cnt_card++", "cnt_card++", "cnt_card", "{//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}", "{//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}", "String mark = scan.next();", "mark", "scan.next()", "scan.next", "scan", "int val = scan.nextInt();", "val", "scan.nextInt()", "scan.nextInt", "scan", "switch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}", "mark", "case \"S\":", "\"S\"", "case \"S\":", "cards[0][val - 1] = 1", "cards[0][val - 1]", "cards[0]", "cards", "0", "val - 1", "val", "1", "1", "break;", "case \"H\":", "\"H\"", "case \"H\":", "cards[1][val - 1] = 1", "cards[1][val - 1]", "cards[1]", "cards", "1", "val - 1", "val", "1", "1", "break;", "case \"C\":", "\"C\"", "case \"C\":", "cards[2][val - 1] = 1", "cards[2][val - 1]", "cards[2]", "cards", "2", "val - 1", "val", "1", "1", "break;", "case \"D\":", "\"D\"", "case \"D\":", "cards[3][val - 1] = 1", "cards[3][val - 1]", "cards[3]", "cards", "3", "val - 1", "val", "1", "1", "for(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}", "int cnt1 = 0;", "int cnt1 = 0;", "cnt1", "0", "cnt1 < 4", "cnt1", "4", "cnt1++", "cnt1++", "cnt1", "{\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}", "{\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}", "for(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int cnt2 = 0;", "int cnt2 = 0;", "cnt2", "0", "cnt2 < 13", "cnt2", "13", "cnt2++", "cnt2++", "cnt2", "{\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}", "cards[cnt1][cnt2] == 0", "cards[cnt1][cnt2]", "cards[cnt1]", "cards", "cnt1", "cnt2", "0", "{//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}", "switch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}", "cnt1", "case 0:", "0", "case 0:", "System.out.println(\"S \" + (cnt2 + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (cnt2 + 1)", "\"S \"", "(cnt2 + 1)", "cnt2", "1", "break;", "case 1:", "1", "case 1:", "System.out.println(\"H \" + (cnt2 + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (cnt2 + 1)", "\"H \"", "(cnt2 + 1)", "cnt2", "1", "break;", "case 2:", "2", "case 2:", "System.out.println(\"C \" + (cnt2 + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (cnt2 + 1)", "\"C \"", "(cnt2 + 1)", "cnt2", "1", "break;", "case 3:", "3", "case 3:", "System.out.println(\"D \" + (cnt2 + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (cnt2 + 1)", "\"D \"", "(cnt2 + 1)", "cnt2", "1", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint cards[][] = new int[4][13];\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}\n scan.close();\n\t}\n}", "public class Main {\n\n\n public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();//n?????°????????????\n\t\tint cards[][] = new int[4][13];\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){//cards???????????????????????????\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tcards[cnt1][cnt2] = 0;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\\?????????\n\t\t\tString mark = scan.next();\n\t\t\tint val = scan.nextInt();\n\t\t\tswitch(mark){//cards?????????????????£??????????????????????????§????????????\n\t\t\t\tcase \"S\":\n\t\t\t\t\tcards[0][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"H\":\n\t\t\t\t\tcards[1][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"C\":\n\t\t\t\t\tcards[2][val - 1] = 1;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"D\":\n\t\t\t\t\tcards[3][val - 1] = 1;\n\t\t\t}\n\t\t}\n\t\tfor(int cnt1 = 0; cnt1 < 4; cnt1++){\n\t\t\tfor(int cnt2 = 0; cnt2 < 13; cnt2++){\n\t\t\t\tif(cards[cnt1][cnt2] == 0){//cards??????????????????????????????\n\t\t\t\t\tswitch(cnt1){//cnt1???????????????????¢??????????????????????\n\t\t\t\t\tcase 0:\n\t\t\t\t\t\tSystem.out.println(\"S \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 1:\n\t\t\t\t\t\tSystem.out.println(\"H \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 2:\n\t\t\t\t\t\tSystem.out.println(\"C \" + (cnt2 + 1));\n\t\t\t\t\t\tbreak;\n\t\t\t\t\tcase 3:\n\t\t\t\t\t\tSystem.out.println(\"D \" + (cnt2 + 1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t\t\t\t\n\t\t}\n scan.close();\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();//n?????°???????????? int cards[][] = new int[4][13]; for(int cnt1 = 0; cnt1 < 4; cnt1++){//cards??????????????????????????? for(int cnt2 = 0; cnt2 < 13; cnt2++){ cards[cnt1][cnt2] = 0; } } for(int cnt_card = 0; cnt_card < n; cnt_card++){//??°????????\????????? String mark = scan.next(); int val = scan.nextInt(); switch(mark){//cards?????????????????£??????????????????????????§???????????? case "S": cards[0][val - 1] = 1; break; case "H": cards[1][val - 1] = 1; break; case "C": cards[2][val - 1] = 1; break; case "D": cards[3][val - 1] = 1; } } for(int cnt1 = 0; cnt1 < 4; cnt1++){ for(int cnt2 = 0; cnt2 < 13; cnt2++){ if(cards[cnt1][cnt2] == 0){//cards?????????????????????????????? switch(cnt1){//cnt1???????????????????¢?????????????????????? case 0: System.out.println("S " + (cnt2 + 1)); break; case 1: System.out.println("H " + (cnt2 + 1)); break; case 2: System.out.println("C " + (cnt2 + 1)); break; case 3: System.out.println("D " + (cnt2 + 1)); } } } } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 41, 13, 4, 18, 13, 17, 41, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 17, 41, 13, 2, 4, 18, 13, 18, 13, 17, 17, 0, 18, 18, 13, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 17, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 41, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 204, 5 ], [ 204, 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, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 40, 52 ], [ 52, 53 ], [ 52, 54 ], [ 40, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 55, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 66, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 77, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 77, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 88, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 40, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 105, 106 ], [ 105, 107 ], [ 101, 108 ], [ 40, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 109, 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 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 146, 152 ], [ 145, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 154, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 162, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 170, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 153, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 153, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 197, 197 ], [ 197, 198 ], [ 197, 199 ], [ 197, 200 ], [ 6, 201 ], [ 201, 202 ], [ 0, 203 ], [ 203, 204 ], [ 203, 205 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n int[][] flag = new int[4][13];\n for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }\n\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\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 String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n int[][] flag = new int[4][13];\n for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }\n\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n int[][] flag = new int[4][13];\n for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }\n\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n int[][] flag = new int[4][13];\n for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }\n\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "int n = Integer.parseInt(line);", "n", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "int[][] flag = new int[4][13];", "flag", "new int[4][13]", "4", "13", "for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }", "{\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }", "line = sc.nextLine()", "line", "sc.nextLine()", "sc.nextLine", "sc", "String[] l = line.split(\" \");", "l", "line.split(\" \")", "line.split", "line", "\" \"", "int D = 0;", "D", "0", "if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }", "l[0].equals(\"S\")", "l[0].equals", "l[0]", "l", "0", "\"S\"", "{\n D = 0;\n }", "D = 0", "D", "0", "if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }", "l[0].equals(\"H\")", "l[0].equals", "l[0]", "l", "0", "\"H\"", "{\n D = 1;\n }", "D = 1", "D", "1", "if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }", "l[0].equals(\"C\")", "l[0].equals", "l[0]", "l", "0", "\"C\"", "{\n D = 2;\n }", "D = 2", "D", "2", "if(l[0].equals(\"D\")) {\n D = 3;\n }", "l[0].equals(\"D\")", "l[0].equals", "l[0]", "l", "0", "\"D\"", "{\n D = 3;\n }", "D = 3", "D", "3", "int N = Integer.parseInt(l[1]) - 1;", "N", "Integer.parseInt(l[1]) - 1", "Integer.parseInt(l[1])", "Integer.parseInt", "Integer", "l[1]", "l", "1", "1", "flag[D][N] = 1", "flag[D][N]", "flag[D]", "flag", "D", "N", "1", "for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }", "{\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }", "for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }", "{\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }", "String DD = \"\";", "DD", "\"\"", "if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }", "flag[i][j] != 1", "flag[i][j]", "flag[i]", "flag", "i", "j", "1", "{\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }", "if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }", "i == 0", "i", "0", "{\n DD = \"S\";\n }", "DD = \"S\"", "DD", "\"S\"", "if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }", "i == 1", "i", "1", "{\n DD = \"H\";\n }", "DD = \"H\"", "DD", "\"H\"", "if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }", "i == 2", "i", "2", "{\n DD = \"C\";\n }", "DD = \"C\"", "DD", "\"C\"", "if(i == 3) {\n DD = \"D\";\n }", "i == 3", "i", "3", "{\n DD = \"D\";\n }", "DD = \"D\"", "DD", "\"D\"", "int J = j + 1;", "J", "j + 1", "j", "1", "System.out.println(DD + \" \" + J)", "System.out.println", "System.out", "System", "System.out", "DD + \" \" + J", "DD + \" \" + J", "DD", "\" \"", "J", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n int[][] flag = new int[4][13];\n for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }\n\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n String line = sc.nextLine();\n int n = Integer.parseInt(line);\n\n int[][] flag = new int[4][13];\n for(int i = 0; i < n; i++) {\n line = sc.nextLine();\n String[] l = line.split(\" \");\n\n int D = 0;\n if(l[0].equals(\"S\")) {\n D = 0;\n } else if(l[0].equals(\"H\")) {\n D = 1;\n } else if(l[0].equals(\"C\")) {\n D = 2;\n } else if(l[0].equals(\"D\")) {\n D = 3;\n }\n\n int N = Integer.parseInt(l[1]) - 1;\n\n flag[D][N] = 1;\n }\n\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n\n String DD = \"\";\n if(flag[i][j] != 1) {\n\n if(i == 0) {\n DD = \"S\";\n } else if(i == 1) {\n DD = \"H\";\n } else if(i == 2) {\n DD = \"C\";\n } else if(i == 3) {\n DD = \"D\";\n }\n\n int J = j + 1;\n System.out.println(DD + \" \" + J);\n }\n }\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String line = sc.nextLine(); int n = Integer.parseInt(line); int[][] flag = new int[4][13]; for(int i = 0; i < n; i++) { line = sc.nextLine(); String[] l = line.split(" "); int D = 0; if(l[0].equals("S")) { D = 0; } else if(l[0].equals("H")) { D = 1; } else if(l[0].equals("C")) { D = 2; } else if(l[0].equals("D")) { D = 3; } int N = Integer.parseInt(l[1]) - 1; flag[D][N] = 1; } for(int i = 0; i < 4; i++) { for(int j = 0; j < 13; j++) { String DD = ""; if(flag[i][j] != 1) { if(i == 0) { DD = "S"; } else if(i == 1) { DD = "H"; } else if(i == 2) { DD = "C"; } else if(i == 3) { DD = "D"; } int J = j + 1; System.out.println(DD + " " + J); } } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 17, 0, 13, 4, 18, 13, 41, 13, 20, 17, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 17, 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, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 13, 17, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 13, 17, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 13, 17, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 13, 17, 13, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 30, 9, 12, 13, 30, 4, 18, 20, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 4, 8 ], [ 8, 9 ], [ 4, 10 ], [ 10, 11 ], [ 4, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 18, 21 ], [ 14, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 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 ], [ 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 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 94, 100 ], [ 88, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 101, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 101, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 114, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 120, 126 ], [ 114, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 127, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 133, 139 ], [ 14, 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 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 168, 174 ], [ 167, 175 ], [ 175, 176 ], [ 175, 177 ], [ 166, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 184, 185 ], [ 184, 186 ], [ 166, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 189, 195 ], [ 188, 196 ], [ 196, 197 ], [ 196, 198 ], [ 187, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 200, 205 ], [ 205, 206 ], [ 205, 207 ], [ 187, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 211, 215 ], [ 210, 216 ], [ 209, 217 ], [ 217, 218 ], [ 217, 219 ], [ 208, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 221, 226 ], [ 226, 227 ], [ 226, 228 ], [ 208, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 231, 237 ], [ 230, 238 ], [ 238, 239 ], [ 238, 240 ], [ 229, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 242, 247 ], [ 247, 248 ], [ 247, 249 ], [ 229, 250 ], [ 250, 251 ], [ 4, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 252, 258 ], [ 258, 259 ] ]
[ "import java.util.Scanner;\nclass Main{\n int n,x,y;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n n = sc.nextInt();\n int a[][] = new int [14][4];\n for(x = 0; x < 13; x++){\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }\n for(x = 0; x < n; x++){\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }\n for(y = 0; y < 4; y++){\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n int n,x,y;\n public void solve(){\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n n = sc.nextInt();\n int a[][] = new int [14][4];\n for(x = 0; x < 13; x++){\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }\n for(x = 0; x < n; x++){\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }\n for(y = 0; y < 4; y++){\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }\n }\n public static void main(String[] args){\n new Main().solve();\n }\n}", "Main", "int n", "n", "x", "x", "y;", "y", "public void solve(){\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n n = sc.nextInt();\n int a[][] = new int [14][4];\n for(x = 0; x < 13; x++){\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }\n for(x = 0; x < n; x++){\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }\n for(y = 0; y < 4; y++){\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }\n }", "solve", "{\n Scanner sc = new Scanner(System.in);\n sc.useDelimiter(\"\\\\s\");\n n = sc.nextInt();\n int a[][] = new int [14][4];\n for(x = 0; x < 13; x++){\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }\n for(x = 0; x < n; x++){\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }\n for(y = 0; y < 4; y++){\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "sc.useDelimiter(\"\\\\s\")", "sc.useDelimiter", "sc", "\"\\\\s\"", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "int a[][] = new int [14][4];", "a", "new int [14][4]", "14", "4", "for(x = 0; x < 13; x++){\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }", "x = 0;", "x = 0", "x", "0", "x < 13", "x", "13", "x++", "x++", "x", "{\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }", "{\n for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }\n }", "for(y = 0; y < 4; y++){\n a[x][y] = 0;\n }", "y = 0;", "y = 0", "y", "0", "y < 4", "y", "4", "y++", "y++", "y", "{\n a[x][y] = 0;\n }", "{\n a[x][y] = 0;\n }", "a[x][y] = 0", "a[x][y]", "a[x]", "a", "x", "y", "0", "for(x = 0; x < n; x++){\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }", "x = 0;", "x = 0", "x", "0", "x < n", "x", "n", "x++", "x++", "x", "{\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }", "{\n String b = sc.next();\n int c = sc.nextInt();\n if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }\n }", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "if(b.equals(\"S\")){\n a[c][0] = c;\n }else if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }", "b.equals(\"S\")", "b.equals", "b", "\"S\"", "{\n a[c][0] = c;\n }", "a[c][0] = c", "a[c][0]", "a[c]", "a", "c", "0", "c", "if(b.equals(\"H\")){\n a[c][1] = c;\n }else if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }", "b.equals(\"H\")", "b.equals", "b", "\"H\"", "{\n a[c][1] = c;\n }", "a[c][1] = c", "a[c][1]", "a[c]", "a", "c", "1", "c", "if(b.equals(\"C\")){\n a[c][2] = c;\n }else if(b.equals(\"D\")){\n a[c][3] = c;\n }", "b.equals(\"C\")", "b.equals", "b", "\"C\"", "{\n a[c][2] = c;\n }", "a[c][2] = c", "a[c][2]", "a[c]", "a", "c", "2", "c", "if(b.equals(\"D\")){\n a[c][3] = c;\n }", "b.equals(\"D\")", "b.equals", "b", "\"D\"", "{\n a[c][3] = c;\n }", "a[c][3] = c", "a[c][3]", "a[c]", "a", "c", "3", "c", "for(y = 0; y < 4; y++){\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }", "y = 0;", "y = 0", "y", "0", "y < 4", "y", "4", "y++", "y++", "y", "{\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }", "{\n for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }\n }", "for(x = 1; x < 14; x++){\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }", "x = 1;", "x = 1", "x", "1", "x < 14", "x", "14", "x++", "x++", "x", "{\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }", "{\n if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }\n }", "if(a[x][y] == 0 && y == 0){\n System.out.println(\"S \" + x);\n }else if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }", "a[x][y] == 0 && y == 0", "a[x][y] == 0", "a[x][y]", "a[x]", "a", "x", "y", "0", "y == 0", "y", "0", "{\n System.out.println(\"S \" + x);\n }", "System.out.println(\"S \" + x)", "System.out.println", "System.out", "System", "System.out", "\"S \" + x", "\"S \"", "x", "if(a[x][y] == 0 && y == 1){\n System.out.println(\"H \" + x);\n }else if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }", "a[x][y] == 0 && y == 1", "a[x][y] == 0", "a[x][y]", "a[x]", "a", "x", "y", "0", "y == 1", "y", "1", "{\n System.out.println(\"H \" + x);\n }", "System.out.println(\"H \" + x)", "System.out.println", "System.out", "System", "System.out", "\"H \" + x", "\"H \"", "x", "if(a[x][y] == 0 && y == 2){\n System.out.println(\"C \" + x);\n }else if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }", "a[x][y] == 0 && y == 2", "a[x][y] == 0", "a[x][y]", "a[x]", "a", "x", "y", "0", "y == 2", "y", "2", "{\n System.out.println(\"C \" + x);\n }", "System.out.println(\"C \" + x)", "System.out.println", "System.out", "System", "System.out", "\"C \" + x", "\"C \"", "x", "if(a[x][y] == 0 && y == 3){\n System.out.println(\"D \" + x);\n }else{\n continue;\n }", "a[x][y] == 0 && y == 3", "a[x][y] == 0", "a[x][y]", "a[x]", "a", "x", "y", "0", "y == 3", "y", "3", "{\n System.out.println(\"D \" + x);\n }", "System.out.println(\"D \" + x)", "System.out.println", "System.out", "System", "System.out", "\"D \" + x", "\"D \"", "x", "{\n continue;\n }", "continue;", "public static void main(String[] args){\n new Main().solve();\n }", "main", "{\n new Main().solve();\n }", "new Main().solve()", "new Main().solve", "new Main()", "String[] args", "args" ]
import java.util.Scanner; class Main{ int n,x,y; public void solve(){ Scanner sc = new Scanner(System.in); sc.useDelimiter("\\s"); n = sc.nextInt(); int a[][] = new int [14][4]; for(x = 0; x < 13; x++){ for(y = 0; y < 4; y++){ a[x][y] = 0; } } for(x = 0; x < n; x++){ String b = sc.next(); int c = sc.nextInt(); if(b.equals("S")){ a[c][0] = c; }else if(b.equals("H")){ a[c][1] = c; }else if(b.equals("C")){ a[c][2] = c; }else if(b.equals("D")){ a[c][3] = c; } } for(y = 0; y < 4; y++){ for(x = 1; x < 14; x++){ if(a[x][y] == 0 && y == 0){ System.out.println("S " + x); }else if(a[x][y] == 0 && y == 1){ System.out.println("H " + x); }else if(a[x][y] == 0 && y == 2){ System.out.println("C " + x); }else if(a[x][y] == 0 && y == 3){ System.out.println("D " + x); }else{ continue; } } } } public static void main(String[] args){ new Main().solve(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 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 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 66, 72 ], [ 60, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 73, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 92, 98 ], [ 86, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 105, 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 ], [ 126, 130 ], [ 125, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 8, 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 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 8, 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 ], [ 186, 190 ], [ 185, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 199, 201 ], [ 8, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 207, 208 ], [ 207, 209 ], [ 202, 210 ], [ 210, 211 ], [ 211, 212 ], [ 202, 213 ], [ 214, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 215, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 222, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 229, 231 ], [ 6, 232 ], [ 232, 233 ], [ 0, 234 ], [ 234, 235 ], [ 234, 236 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint a;\n\t\tString mark;\n\t\tint[] s = new int[13];int[] h = new int[13];\n\t\tint[] c = new int[13];int[] d = new int[13];\n\t\tfor (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}\n\t\tfor (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}\n\t\tfor (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}\n\t\tfor (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint a;\n\t\tString mark;\n\t\tint[] s = new int[13];int[] h = new int[13];\n\t\tint[] c = new int[13];int[] d = new int[13];\n\t\tfor (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}\n\t\tfor (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}\n\t\tfor (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}\n\t\tfor (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\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\tint n=sc.nextInt();\n\t\tint a;\n\t\tString mark;\n\t\tint[] s = new int[13];int[] h = new int[13];\n\t\tint[] c = new int[13];int[] d = new int[13];\n\t\tfor (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}\n\t\tfor (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}\n\t\tfor (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}\n\t\tfor (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint a;\n\t\tString mark;\n\t\tint[] s = new int[13];int[] h = new int[13];\n\t\tint[] c = new int[13];int[] d = new int[13];\n\t\tfor (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}\n\t\tfor (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}\n\t\tfor (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}\n\t\tfor (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\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 a;", "a", "String mark;", "mark", "int[] s = new int[13];", "s", "new int[13]", "13", "int[] h = new int[13];", "h", "new int[13]", "13", "int[] c = new int[13];", "c", "new int[13]", "13", "int[] d = new int[13];", "d", "new int[13]", "13", "for (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}", "int b=0;", "int b=0;", "b", "0", "b<n", "b", "n", "b++", "b++", "b", "{\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}", "{\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}", "mark=sc.next()", "mark", "sc.next()", "sc.next", "sc", "a=sc.nextInt()", "a", "sc.nextInt()", "sc.nextInt", "sc", "if (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}", "mark.equals(\"S\")", "mark.equals", "mark", "\"S\"", "{\n\t\t\t\ts[a-1]=1;\n\t\t\t}", "s[a-1]=1", "s[a-1]", "s", "a-1", "a", "1", "1", "if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}", "mark.equals(\"H\")", "mark.equals", "mark", "\"H\"", "{\n\t\t\t\th[a-1]=1;\n\t\t\t}", "h[a-1]=1", "h[a-1]", "h", "a-1", "a", "1", "1", "if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}", "mark.equals(\"C\")", "mark.equals", "mark", "\"C\"", "{\n\t\t\t\tc[a-1]=1;\n\t\t\t}", "c[a-1]=1", "c[a-1]", "c", "a-1", "a", "1", "1", "if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}", "mark.equals(\"D\")", "mark.equals", "mark", "\"D\"", "{\n\t\t\t\td[a-1]=1;\n\t\t\t}", "d[a-1]=1", "d[a-1]", "d", "a-1", "a", "1", "1", "for (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}", "int e=0;", "int e=0;", "e", "0", "e<13", "e", "13", "e++", "e++", "e", "{\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}", "if (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}", "s[e]==0", "s[e]", "s", "e", "0", "{\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}", "System.out.println(\"S \"+(e+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+(e+1)", "\"S \"", "(e+1)", "e", "1", "for (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}", "int f=0;", "int f=0;", "f", "0", "f<13", "f", "13", "f++", "f++", "f", "{\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}", "if (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}", "h[f]==0", "h[f]", "h", "f", "0", "{\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}", "System.out.println(\"H \"+(f+1))", "System.out.println", "System.out", "System", "System.out", "\"H \"+(f+1)", "\"H \"", "(f+1)", "f", "1", "for (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}", "int g=0;", "int g=0;", "g", "0", "g<13", "g", "13", "g++", "g++", "g", "{\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}", "{\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}", "if (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}", "c[g]==0", "c[g]", "c", "g", "0", "{\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}", "System.out.println(\"C \"+(g+1))", "System.out.println", "System.out", "System", "System.out", "\"C \"+(g+1)", "\"C \"", "(g+1)", "g", "1", "for (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}\n\t\t}", "if (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}", "d[i]==0", "d[i]", "d", "i", "0", "{\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}", "System.out.println(\"D \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \"+(i+1)", "\"D \"", "(i+1)", "i", "1", "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 a;\n\t\tString mark;\n\t\tint[] s = new int[13];int[] h = new int[13];\n\t\tint[] c = new int[13];int[] d = new int[13];\n\t\tfor (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}\n\t\tfor (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}\n\t\tfor (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}\n\t\tfor (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tint a;\n\t\tString mark;\n\t\tint[] s = new int[13];int[] h = new int[13];\n\t\tint[] c = new int[13];int[] d = new int[13];\n\t\tfor (int b=0;b<n;b++){\n\t\t\tmark=sc.next();\n\t\t\ta=sc.nextInt();\n\t\t\tif (mark.equals(\"S\")){\n\t\t\t\ts[a-1]=1;\n\t\t\t}else if (mark.equals(\"H\")){\n\t\t\t\th[a-1]=1;\n\t\t\t}else if (mark.equals(\"C\")){\n\t\t\t\tc[a-1]=1;\n\t\t\t}else if (mark.equals(\"D\")){\n\t\t\t\td[a-1]=1;\n\t\t\t}\n\t\t}\n\t\tfor (int e=0;e<13;e++){\n\t\t\tif (s[e]==0){\n\t\t\t\tSystem.out.println(\"S \"+(e+1));\n\t\t\t}\n\t\t}\n\t\tfor (int f=0;f<13;f++){\n\t\t\tif (h[f]==0){\n\t\t\t\tSystem.out.println(\"H \"+(f+1));\n\t\t\t}\n\t\t}\n\t\tfor (int g=0;g<13;g++){\n\t\tif (c[g]==0){\n\t\t\tSystem.out.println(\"C \"+(g+1));\n\t\t\t}\n\t\t}\n\t\tfor (int i=0;i<13;i++){\n\t\t\tif (d[i]==0){\n\t\t\t\tSystem.out.println(\"D \"+(i+1));\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 a; String mark; int[] s = new int[13];int[] h = new int[13]; int[] c = new int[13];int[] d = new int[13]; for (int b=0;b<n;b++){ mark=sc.next(); a=sc.nextInt(); if (mark.equals("S")){ s[a-1]=1; }else if (mark.equals("H")){ h[a-1]=1; }else if (mark.equals("C")){ c[a-1]=1; }else if (mark.equals("D")){ d[a-1]=1; } } for (int e=0;e<13;e++){ if (s[e]==0){ System.out.println("S "+(e+1)); } } for (int f=0;f<13;f++){ if (h[f]==0){ System.out.println("H "+(f+1)); } } for (int g=0;g<13;g++){ if (c[g]==0){ System.out.println("C "+(g+1)); } } for (int i=0;i<13;i++){ if (d[i]==0){ System.out.println("D "+(i+1)); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 4, 18, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 4, 18, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 4, 18, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 63, 67 ], [ 60, 68 ], [ 54, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 78, 82 ], [ 75, 83 ], [ 69, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 93, 97 ], [ 90, 98 ], [ 84, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 108, 112 ], [ 105, 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 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 8, 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 ], [ 156, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 169, 171 ], [ 8, 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 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 198, 200 ], [ 8, 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 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 227, 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\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intNum = scan.nextInt();\n\t\tboolean[] isS = new boolean[13];\n\t\tboolean[] isH = new boolean[13];\n\t\tboolean[] isC = new boolean[13];\n\t\tboolean[] isD = new boolean[13];\n\t\tString strPic = \"\";\n\t\tfor(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tscan.close();\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 intNum = scan.nextInt();\n\t\tboolean[] isS = new boolean[13];\n\t\tboolean[] isH = new boolean[13];\n\t\tboolean[] isC = new boolean[13];\n\t\tboolean[] isD = new boolean[13];\n\t\tString strPic = \"\";\n\t\tfor(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intNum = scan.nextInt();\n\t\tboolean[] isS = new boolean[13];\n\t\tboolean[] isH = new boolean[13];\n\t\tboolean[] isC = new boolean[13];\n\t\tboolean[] isD = new boolean[13];\n\t\tString strPic = \"\";\n\t\tfor(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intNum = scan.nextInt();\n\t\tboolean[] isS = new boolean[13];\n\t\tboolean[] isH = new boolean[13];\n\t\tboolean[] isC = new boolean[13];\n\t\tboolean[] isD = new boolean[13];\n\t\tString strPic = \"\";\n\t\tfor(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int intNum = scan.nextInt();", "intNum", "scan.nextInt()", "scan.nextInt", "scan", "boolean[] isS = new boolean[13];", "isS", "new boolean[13]", "13", "boolean[] isH = new boolean[13];", "isH", "new boolean[13]", "13", "boolean[] isC = new boolean[13];", "isC", "new boolean[13]", "13", "boolean[] isD = new boolean[13];", "isD", "new boolean[13]", "13", "String strPic = \"\";", "strPic", "\"\"", "for(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intNum", "i", "intNum", "i++", "i++", "i", "{\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}", "{\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}", "strPic = scan.next()", "strPic", "scan.next()", "scan.next", "scan", "if(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}", "\"S\".equals(strPic)", "\"S\".equals", "\"S\"", "strPic", "{\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}", "isS[scan.nextInt()-1] = true", "isS[scan.nextInt()-1]", "isS", "scan.nextInt()-1", "scan.nextInt()", "scan.nextInt", "scan", "1", "true", "if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}", "\"H\".equals(strPic)", "\"H\".equals", "\"H\"", "strPic", "{\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}", "isH[scan.nextInt()-1] = true", "isH[scan.nextInt()-1]", "isH", "scan.nextInt()-1", "scan.nextInt()", "scan.nextInt", "scan", "1", "true", "if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}", "\"C\".equals(strPic)", "\"C\".equals", "\"C\"", "strPic", "{\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}", "isC[scan.nextInt()-1] = true", "isC[scan.nextInt()-1]", "isC", "scan.nextInt()-1", "scan.nextInt()", "scan.nextInt", "scan", "1", "true", "if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}", "\"D\".equals(strPic)", "\"D\".equals", "\"D\"", "strPic", "{\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}", "isD[scan.nextInt()-1] = true", "isD[scan.nextInt()-1]", "isD", "scan.nextInt()-1", "scan.nextInt()", "scan.nextInt", "scan", "1", "true", "for(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}", "if(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}", "!isS[i]", "isS[i]", "isS", "i", "{\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}", "System.out.println(\"S \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i + 1)", "\"S \"", "(i + 1)", "i", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}", "if(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}", "!isH[i]", "isH[i]", "isH", "i", "{\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}", "System.out.println(\"H \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i + 1)", "\"H \"", "(i + 1)", "i", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}", "if(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}", "!isC[i]", "isC[i]", "isC", "i", "{\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}", "System.out.println(\"C \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i + 1)", "\"C \"", "(i + 1)", "i", "1", "for(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}", "if(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}", "!isD[i]", "isD[i]", "isD", "i", "{\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}", "System.out.println(\"D \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i + 1)", "\"D \"", "(i + 1)", "i", "1", "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 intNum = scan.nextInt();\n\t\tboolean[] isS = new boolean[13];\n\t\tboolean[] isH = new boolean[13];\n\t\tboolean[] isC = new boolean[13];\n\t\tboolean[] isD = new boolean[13];\n\t\tString strPic = \"\";\n\t\tfor(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner scan = new Scanner(System.in);\n\t\tint intNum = scan.nextInt();\n\t\tboolean[] isS = new boolean[13];\n\t\tboolean[] isH = new boolean[13];\n\t\tboolean[] isC = new boolean[13];\n\t\tboolean[] isD = new boolean[13];\n\t\tString strPic = \"\";\n\t\tfor(int i = 0; i < intNum; i++){\n\t\t\tstrPic = scan.next();\n\t\t\tif(\"S\".equals(strPic)){\n\t\t\t\tisS[scan.nextInt()-1] = true;\n\t\t\t}else if(\"H\".equals(strPic)){\n\t\t\t\tisH[scan.nextInt()-1] = true;\n\t\t\t}else if(\"C\".equals(strPic)){\n\t\t\t\tisC[scan.nextInt()-1] = true;\n\t\t\t}else if(\"D\".equals(strPic)){\n\t\t\t\tisD[scan.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isS[i]){\n\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isH[i]){\n\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isC[i]){\n\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tfor(int i = 0; i < 13; i++){\n\t\t\tif(!isD[i]){\n\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t}\n\t\t}\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int intNum = scan.nextInt(); boolean[] isS = new boolean[13]; boolean[] isH = new boolean[13]; boolean[] isC = new boolean[13]; boolean[] isD = new boolean[13]; String strPic = ""; for(int i = 0; i < intNum; i++){ strPic = scan.next(); if("S".equals(strPic)){ isS[scan.nextInt()-1] = true; }else if("H".equals(strPic)){ isH[scan.nextInt()-1] = true; }else if("C".equals(strPic)){ isC[scan.nextInt()-1] = true; }else if("D".equals(strPic)){ isD[scan.nextInt()-1] = true; } } for(int i = 0; i < 13; i++){ if(!isS[i]){ System.out.println("S " + (i + 1)); } } for(int i = 0; i < 13; i++){ if(!isH[i]){ System.out.println("H " + (i + 1)); } } for(int i = 0; i < 13; i++){ if(!isC[i]){ System.out.println("C " + (i + 1)); } } for(int i = 0; i < 13; i++){ if(!isD[i]){ System.out.println("D " + (i + 1)); } } scan.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 20, 13, 41, 13, 20, 13, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 41, 13, 17, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 13, 40, 13, 14, 2, 13, 13, 30, 4, 18, 13, 3, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 17, 14, 2, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 17, 14, 2, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 17, 14, 2, 18, 13, 13, 17, 30, 4, 18, 13, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 377, 8 ], [ 377, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 43 ], [ 43, 44 ], [ 43, 45 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 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 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 63, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 11, 84 ], [ 84, 85 ], [ 84, 86 ], [ 11, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 91, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 108, 114 ], [ 102, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 115, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 121, 127 ], [ 115, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 128, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 137, 139 ], [ 134, 140 ], [ 128, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 141, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 147, 153 ], [ 91, 154 ], [ 154, 155 ], [ 91, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 160, 164 ], [ 11, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 165, 173 ], [ 173, 174 ], [ 174, 175 ], [ 165, 176 ], [ 177, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 178, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 188, 189 ], [ 188, 190 ], [ 177, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 191, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 201, 202 ], [ 201, 203 ], [ 177, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 204, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 214, 215 ], [ 214, 216 ], [ 177, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 217, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 224, 227 ], [ 227, 228 ], [ 227, 229 ], [ 11, 230 ], [ 230, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 230, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 238, 239 ], [ 230, 240 ], [ 240, 241 ], [ 241, 242 ], [ 230, 243 ], [ 244, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 245, 250 ], [ 244, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 251, 256 ], [ 256, 257 ], [ 257, 258 ], [ 256, 259 ], [ 244, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 260, 265 ], [ 11, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 266, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 266, 276 ], [ 276, 277 ], [ 277, 278 ], [ 266, 279 ], [ 280, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 283, 285 ], [ 281, 286 ], [ 280, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 287, 292 ], [ 292, 293 ], [ 293, 294 ], [ 292, 295 ], [ 280, 296 ], [ 296, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 296, 301 ], [ 11, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 302, 307 ], [ 307, 308 ], [ 307, 309 ], [ 309, 310 ], [ 310, 311 ], [ 302, 312 ], [ 312, 313 ], [ 313, 314 ], [ 302, 315 ], [ 316, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 319, 321 ], [ 317, 322 ], [ 316, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 325, 327 ], [ 323, 328 ], [ 328, 329 ], [ 329, 330 ], [ 328, 331 ], [ 316, 332 ], [ 332, 333 ], [ 333, 334 ], [ 334, 335 ], [ 334, 336 ], [ 332, 337 ], [ 11, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 340, 342 ], [ 338, 343 ], [ 343, 344 ], [ 343, 345 ], [ 345, 346 ], [ 346, 347 ], [ 338, 348 ], [ 348, 349 ], [ 349, 350 ], [ 338, 351 ], [ 352, 352 ], [ 352, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 353, 358 ], [ 352, 359 ], [ 359, 360 ], [ 360, 361 ], [ 361, 362 ], [ 361, 363 ], [ 359, 364 ], [ 364, 365 ], [ 365, 366 ], [ 364, 367 ], [ 352, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 368, 373 ], [ 9, 374 ], [ 374, 375 ], [ 0, 376 ], [ 376, 377 ], [ 376, 378 ] ]
[ "import java.util.ArrayList;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//?????°???????????????\n\t\tint n = scan.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\t\tint intCardVal = 13;\n\t\tint[] sAry = new int[intCardVal];\n\t\tint[] hAry = new int[intCardVal];\n\t\tint[] cAry = new int[intCardVal];\n\t\tint[] dAry = new int[intCardVal];\n\t\tfor(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}\n\n\t\tint intCount = 0;\n\n\t\twhile(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\n\t\t//????????????????????£???????????°?????????????????°??????list???????´?\n\t\tfor(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}\n\n\n\t\t//??????????????????\n\t\tfor(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//?????°???????????????\n\t\tint n = scan.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\t\tint intCardVal = 13;\n\t\tint[] sAry = new int[intCardVal];\n\t\tint[] hAry = new int[intCardVal];\n\t\tint[] cAry = new int[intCardVal];\n\t\tint[] dAry = new int[intCardVal];\n\t\tfor(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}\n\n\t\tint intCount = 0;\n\n\t\twhile(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\n\t\t//????????????????????£???????????°?????????????????°??????list???????´?\n\t\tfor(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}\n\n\n\t\t//??????????????????\n\t\tfor(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//?????°???????????????\n\t\tint n = scan.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\t\tint intCardVal = 13;\n\t\tint[] sAry = new int[intCardVal];\n\t\tint[] hAry = new int[intCardVal];\n\t\tint[] cAry = new int[intCardVal];\n\t\tint[] dAry = new int[intCardVal];\n\t\tfor(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}\n\n\t\tint intCount = 0;\n\n\t\twhile(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\n\t\t//????????????????????£???????????°?????????????????°??????list???????´?\n\t\tfor(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}\n\n\n\t\t//??????????????????\n\t\tfor(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//?????°???????????????\n\t\tint n = scan.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\t\tint intCardVal = 13;\n\t\tint[] sAry = new int[intCardVal];\n\t\tint[] hAry = new int[intCardVal];\n\t\tint[] cAry = new int[intCardVal];\n\t\tint[] dAry = new int[intCardVal];\n\t\tfor(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}\n\n\t\tint intCount = 0;\n\n\t\twhile(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\n\t\t//????????????????????£???????????°?????????????????°??????list???????´?\n\t\tfor(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}\n\n\n\t\t//??????????????????\n\t\tfor(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "ArrayList<Integer> sList = new ArrayList<Integer>();", "sList", "new ArrayList<Integer>()", "ArrayList<Integer> hList = new ArrayList<Integer>();", "hList", "new ArrayList<Integer>()", "ArrayList<Integer> cList = new ArrayList<Integer>();", "cList", "new ArrayList<Integer>()", "ArrayList<Integer> dList = new ArrayList<Integer>();", "dList", "new ArrayList<Integer>()", "int intCardVal = 13;", "intCardVal", "13", "int[] sAry = new int[intCardVal];", "sAry", "new int[intCardVal]", "intCardVal", "int[] hAry = new int[intCardVal];", "hAry", "new int[intCardVal]", "intCardVal", "int[] cAry = new int[intCardVal];", "cAry", "new int[intCardVal]", "intCardVal", "int[] dAry = new int[intCardVal];", "dAry", "new int[intCardVal]", "intCardVal", "for(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intCardVal", "i", "intCardVal", "i++", "i++", "i", "{\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}", "{\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}", "sAry[i] = 0", "sAry[i]", "sAry", "i", "0", "hAry[i] = 0", "hAry[i]", "hAry", "i", "0", "cAry[i] = 0", "cAry[i]", "cAry", "i", "0", "dAry[i] = 0", "dAry[i]", "dAry", "i", "0", "int intCount = 0;", "intCount", "0", "while(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}", "scan.hasNextLine()", "scan.hasNextLine", "scan", "{\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}", "String strMark = scan.next();", "strMark", "scan.next()", "scan.next", "scan", "int intNum = scan.nextInt();", "intNum", "scan.nextInt()", "scan.nextInt", "scan", "if(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}", "\"S\".equals(strMark)", "\"S\".equals", "\"S\"", "strMark", "{\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}", "sAry[intNum - 1] = intNum", "sAry[intNum - 1]", "sAry", "intNum - 1", "intNum", "1", "intNum", "if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}", "\"H\".equals(strMark)", "\"H\".equals", "\"H\"", "strMark", "{\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}", "hAry[intNum - 1] = intNum", "hAry[intNum - 1]", "hAry", "intNum - 1", "intNum", "1", "intNum", "if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}", "\"C\".equals(strMark)", "\"C\".equals", "\"C\"", "strMark", "{\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}", "cAry[intNum - 1] = intNum", "cAry[intNum - 1]", "cAry", "intNum - 1", "intNum", "1", "intNum", "if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}", "\"D\".equals(strMark)", "\"D\".equals", "\"D\"", "strMark", "{\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}", "dAry[intNum - 1] = intNum", "dAry[intNum - 1]", "dAry", "intNum - 1", "intNum", "1", "intNum", "intCount++", "intCount", "if(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}", "intCount == n", "intCount", "n", "{\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}", "scan.close()", "scan.close", "scan", "break;", "for(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intCardVal", "i", "intCardVal", "i++", "i++", "i", "{\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}", "{\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}", "if(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}", "sAry[i] == 0", "sAry[i]", "sAry", "i", "0", "{\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}", "sList.add( i + 1)", "sList.add", "sList", "i + 1", "i", "1", "if(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}", "hAry[i] == 0", "hAry[i]", "hAry", "i", "0", "{\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}", "hList.add(i + 1)", "hList.add", "hList", "i + 1", "i", "1", "if(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}", "cAry[i] == 0", "cAry[i]", "cAry", "i", "0", "{\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}", "cList.add(i + 1)", "cList.add", "cList", "i + 1", "i", "1", "if(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}", "dAry[i] == 0", "dAry[i]", "dAry", "i", "0", "{\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}", "dList.add(i + 1)", "dList.add", "dList", "i + 1", "i", "1", "for(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < sList.size()", "i", "sList.size()", "sList.size", "sList", "i++", "i++", "i", "{\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "System.out.print(\"S \")", "System.out.print", "System.out", "System", "System.out", "\"S \"", "System.out.print(sList.get(i))", "System.out.print", "System.out", "System", "System.out", "sList.get(i)", "sList.get", "sList", "i", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "for(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < hList.size()", "i", "hList.size()", "hList.size", "hList", "i++", "i++", "i", "{\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "System.out.print(\"H \")", "System.out.print", "System.out", "System", "System.out", "\"H \"", "System.out.print(hList.get(i))", "System.out.print", "System.out", "System", "System.out", "hList.get(i)", "hList.get", "hList", "i", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "for(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < cList.size()", "i", "cList.size()", "cList.size", "cList", "i++", "i++", "i", "{\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "System.out.print(\"C \")", "System.out.print", "System.out", "System", "System.out", "\"C \"", "System.out.print(cList.get(i))", "System.out.print", "System.out", "System", "System.out", "cList.get(i)", "cList.get", "cList", "i", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "for(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < dList.size()", "i", "dList.size()", "dList.size", "dList", "i++", "i++", "i", "{\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "{\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}", "System.out.print(\"D \")", "System.out.print", "System.out", "System", "System.out", "\"D \"", "System.out.print(dList.get(i))", "System.out.print", "System.out", "System", "System.out", "dList.get(i)", "dList.get", "dList", "i", "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\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//?????°???????????????\n\t\tint n = scan.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\t\tint intCardVal = 13;\n\t\tint[] sAry = new int[intCardVal];\n\t\tint[] hAry = new int[intCardVal];\n\t\tint[] cAry = new int[intCardVal];\n\t\tint[] dAry = new int[intCardVal];\n\t\tfor(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}\n\n\t\tint intCount = 0;\n\n\t\twhile(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\n\t\t//????????????????????£???????????°?????????????????°??????list???????´?\n\t\tfor(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}\n\n\n\t\t//??????????????????\n\t\tfor(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\n\t\t//Scanner????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\t\t//?????°???????????????\n\t\tint n = scan.nextInt();\n\n\t\tArrayList<Integer> sList = new ArrayList<Integer>();\n\t\tArrayList<Integer> hList = new ArrayList<Integer>();\n\t\tArrayList<Integer> cList = new ArrayList<Integer>();\n\t\tArrayList<Integer> dList = new ArrayList<Integer>();\n\t\tint intCardVal = 13;\n\t\tint[] sAry = new int[intCardVal];\n\t\tint[] hAry = new int[intCardVal];\n\t\tint[] cAry = new int[intCardVal];\n\t\tint[] dAry = new int[intCardVal];\n\t\tfor(int i = 0; i < intCardVal; i++){\n\t\t\tsAry[i] = 0;\n\t\t\thAry[i] = 0;\n\t\t\tcAry[i] = 0;\n\t\t\tdAry[i] = 0;\n\t\t}\n\n\t\tint intCount = 0;\n\n\t\twhile(scan.hasNextLine()){\n\n\t\t\tString strMark = scan.next();\n\t\t\tint intNum = scan.nextInt();\n\n\t\t\tif(\"S\".equals(strMark)){\n\n\t\t\t\tsAry[intNum - 1] = intNum;\n\n\t\t\t}else if(\"H\".equals(strMark)){\n\n\t\t\t\thAry[intNum - 1] = intNum;\n\t\t\t}else if(\"C\".equals(strMark)){\n\n\t\t\t\tcAry[intNum - 1] = intNum;\n\t\t\t}else if(\"D\".equals(strMark)){\n\n\t\t\t\tdAry[intNum - 1] = intNum;\n\t\t\t}\n\n\t\t\tintCount++;\n\t\t\tif(intCount == n){\n\t\t\t\tscan.close();\n\t\t\t\tbreak;\n\n\t\t\t}\n\t\t}\n\n\n\t\t//????????????????????£???????????°?????????????????°??????list???????´?\n\t\tfor(int i = 0; i < intCardVal; i++ ){\n\n\t\t\tif(sAry[i] == 0 ){\n\n\t\t\t\tsList.add( i + 1);\n\t\t\t}\n\t\t\tif(hAry[i] == 0){\n\n\t\t\t\thList.add(i + 1);\n\t\t\t}\n\t\t\tif(cAry[i] == 0){\n\n\t\t\t\tcList.add(i + 1);\n\t\t\t}\n\t\t\tif(dAry[i] == 0){\n\n\t\t\t\tdList.add(i + 1);\n\t\t\t}\n\t\t}\n\n\n\t\t//??????????????????\n\t\tfor(int i = 0; i < sList.size(); i++){\n\n\t\t\tSystem.out.print(\"S \");\n\t\t\tSystem.out.print(sList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < hList.size(); i++){\n\n\t\t\tSystem.out.print(\"H \");\n\t\t\tSystem.out.print(hList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < cList.size(); i++){\n\n\t\t\tSystem.out.print(\"C \");\n\t\t\tSystem.out.print(cList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t\t//???????????????\n\t\tfor(int i = 0; i < dList.size(); i++){\n\n\t\t\tSystem.out.print(\"D \");\n\t\t\tSystem.out.print(dList.get(i));\n\t\t\tSystem.out.println(\"\");\n\t\t}\n\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? //Scanner???????????????????????? Scanner scan = new Scanner(System.in); //?????°??????????????? int n = scan.nextInt(); ArrayList<Integer> sList = new ArrayList<Integer>(); ArrayList<Integer> hList = new ArrayList<Integer>(); ArrayList<Integer> cList = new ArrayList<Integer>(); ArrayList<Integer> dList = new ArrayList<Integer>(); int intCardVal = 13; int[] sAry = new int[intCardVal]; int[] hAry = new int[intCardVal]; int[] cAry = new int[intCardVal]; int[] dAry = new int[intCardVal]; for(int i = 0; i < intCardVal; i++){ sAry[i] = 0; hAry[i] = 0; cAry[i] = 0; dAry[i] = 0; } int intCount = 0; while(scan.hasNextLine()){ String strMark = scan.next(); int intNum = scan.nextInt(); if("S".equals(strMark)){ sAry[intNum - 1] = intNum; }else if("H".equals(strMark)){ hAry[intNum - 1] = intNum; }else if("C".equals(strMark)){ cAry[intNum - 1] = intNum; }else if("D".equals(strMark)){ dAry[intNum - 1] = intNum; } intCount++; if(intCount == n){ scan.close(); break; } } //????????????????????£???????????°?????????????????°??????list???????´? for(int i = 0; i < intCardVal; i++ ){ if(sAry[i] == 0 ){ sList.add( i + 1); } if(hAry[i] == 0){ hList.add(i + 1); } if(cAry[i] == 0){ cList.add(i + 1); } if(dAry[i] == 0){ dList.add(i + 1); } } //?????????????????? for(int i = 0; i < sList.size(); i++){ System.out.print("S "); System.out.print(sList.get(i)); System.out.println(""); } //??????????????? for(int i = 0; i < hList.size(); i++){ System.out.print("H "); System.out.print(hList.get(i)); System.out.println(""); } //??????????????? for(int i = 0; i < cList.size(); i++){ System.out.print("C "); System.out.print(cList.get(i)); System.out.println(""); } //??????????????? for(int i = 0; i < dList.size(); i++){ System.out.print("D "); System.out.print(dList.get(i)); System.out.println(""); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 0, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 41, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 3, 14, 2, 2, 13, 17, 2, 17, 13, 3, 40, 13, 0, 18, 18, 13, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 211, 5 ], [ 211, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 16 ], [ 16, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 16, 24 ], [ 24, 25 ], [ 25, 26 ], [ 16, 27 ], [ 28, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 42, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 62, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 62, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 62, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 62, 117 ], [ 117, 118 ], [ 62, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 8, 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 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 139, 150 ], [ 151, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 152, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 159, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 159, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 159, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 159, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 200, 205 ], [ 205, 206 ], [ 205, 207 ], [ 6, 208 ], [ 208, 209 ], [ 0, 210 ], [ 210, 211 ], [ 210, 212 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n boolean cards[][];\n cards=new boolean[4][13];\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }\n\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n boolean cards[][];\n cards=new boolean[4][13];\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }\n\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args){\n boolean cards[][];\n cards=new boolean[4][13];\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }\n\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }\n }", "main", "{\n boolean cards[][];\n cards=new boolean[4][13];\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }\n\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }\n }", "boolean cards[][];", "cards", "cards=new boolean[4][13]", "cards", "new boolean[4][13]", "4", "13", "for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }", "{\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }", "for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n cards[i][j]=false;\n }", "{\n cards[i][j]=false;\n }", "cards[i][j]=false", "cards[i][j]", "cards[i]", "cards", "i", "j", "false", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }", "n-->0", "n--", "n", "0", "{\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }", "int tmp;", "tmp", "String str=sc.next();", "str", "sc.next()", "sc.next", "sc", "int rank=sc.nextInt();", "rank", "sc.nextInt()", "sc.nextInt", "sc", "if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;", "str.equals(\"S\")", "str.equals", "str", "\"S\"", "tmp=0", "tmp", "0", "if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;", "str.equals(\"H\")", "str.equals", "str", "\"H\"", "tmp=1", "tmp", "1", "if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;", "str.equals(\"C\")", "str.equals", "str", "\"C\"", "tmp=2", "tmp", "2", "if(str.equals(\"D\"))tmp=3;\n else break;", "str.equals(\"D\")", "str.equals", "str", "\"D\"", "tmp=3", "tmp", "3", "break;", "if(rank<1&&13<rank)break;", "rank<1&&13<rank", "rank<1", "rank", "1", "13<rank", "13", "rank", "break;", "rank--", "rank", "cards[tmp][rank]=true", "cards[tmp][rank]", "cards[tmp]", "cards", "tmp", "rank", "true", "for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }", "{\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }", "for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }", "{\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }", "if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }", "!cards[i][j]", "cards[i][j]", "cards[i]", "cards", "i", "j", "{\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }", "if(i==0)System.out.print(\"S \");", "i==0", "i", "0", "System.out.print(\"S \")", "System.out.print", "System.out", "System", "System.out", "\"S \"", "if(i==1)System.out.print(\"H \");", "i==1", "i", "1", "System.out.print(\"H \")", "System.out.print", "System.out", "System", "System.out", "\"H \"", "if(i==2)System.out.print(\"C \");", "i==2", "i", "2", "System.out.print(\"C \")", "System.out.print", "System.out", "System", "System.out", "\"C \"", "if(i==3)System.out.print(\"D \");", "i==3", "i", "3", "System.out.print(\"D \")", "System.out.print", "System.out", "System", "System.out", "\"D \"", "System.out.println(j+1)", "System.out.println", "System.out", "System", "System.out", "j+1", "j", "1", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n boolean cards[][];\n cards=new boolean[4][13];\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }\n\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args){\n boolean cards[][];\n cards=new boolean[4][13];\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n cards[i][j]=false;\n }\n }\n\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n while(n-->0){\n int tmp;\n String str=sc.next();\n int rank=sc.nextInt();\n if(str.equals(\"S\"))tmp=0;\n else if(str.equals(\"H\"))tmp=1;\n else if(str.equals(\"C\"))tmp=2;\n else if(str.equals(\"D\"))tmp=3;\n else break;\n if(rank<1&&13<rank)break;\n rank--;\n cards[tmp][rank]=true;\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 13; j++) {\n if(!cards[i][j]){\n if(i==0)System.out.print(\"S \");\n if(i==1)System.out.print(\"H \");\n if(i==2)System.out.print(\"C \");\n if(i==3)System.out.print(\"D \");\n System.out.println(j+1);\n }\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ boolean cards[][]; cards=new boolean[4][13]; for(int i=0;i<4;i++) { for (int j = 0; j < 13; j++) { cards[i][j]=false; } } Scanner sc = new Scanner(System.in); int n=sc.nextInt(); while(n-->0){ int tmp; String str=sc.next(); int rank=sc.nextInt(); if(str.equals("S"))tmp=0; else if(str.equals("H"))tmp=1; else if(str.equals("C"))tmp=2; else if(str.equals("D"))tmp=3; else break; if(rank<1&&13<rank)break; rank--; cards[tmp][rank]=true; } for(int i=0;i<4;i++) { for (int j = 0; j < 13; j++) { if(!cards[i][j]){ if(i==0)System.out.print("S "); if(i==1)System.out.print("H "); if(i==2)System.out.print("C "); if(i==3)System.out.print("D "); System.out.println(j+1); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 18, 13, 17, 35, 18, 13, 17, 34, 17, 1, 4, 18, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 40, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 40, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 40, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 40, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 236, 14 ], [ 236, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 38 ], [ 38, 39 ], [ 38, 40 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 45 ], [ 45, 46 ], [ 45, 47 ], [ 17, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 63, 68 ], [ 60, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 60, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 77, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 77, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 77, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 17, 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 ], [ 129, 130 ], [ 128, 131 ], [ 127, 132 ], [ 132, 133 ], [ 126, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 17, 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 ], [ 159, 160 ], [ 158, 161 ], [ 157, 162 ], [ 162, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 17, 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 ], [ 189, 190 ], [ 188, 191 ], [ 187, 192 ], [ 192, 193 ], [ 186, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 17, 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 ], [ 219, 220 ], [ 218, 221 ], [ 217, 222 ], [ 222, 223 ], [ 216, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 230, 231 ], [ 230, 232 ], [ 15, 233 ], [ 233, 234 ], [ 0, 235 ], [ 235, 236 ], [ 235, 237 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n//\t\t???????????????????????°???????????????\n\t\tArrayList<Integer> Scd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Hcd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Ccd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Dcd = new ArrayList<Integer>();\n//\t\tS,H,C,D????????????????????¨???\n\n\t\tString[] buf = new String[2];\n\t\tint tmp = 0;\n\t\tfor(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n//\t\t???????????????????????????????????????????????§?????°???????´¢????????????\n//\t\t?????¨??????????????°???????????°??¨????????????\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\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.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n//\t\t???????????????????????°???????????????\n\t\tArrayList<Integer> Scd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Hcd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Ccd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Dcd = new ArrayList<Integer>();\n//\t\tS,H,C,D????????????????????¨???\n\n\t\tString[] buf = new String[2];\n\t\tint tmp = 0;\n\t\tfor(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n//\t\t???????????????????????????????????????????????§?????°???????´¢????????????\n//\t\t?????¨??????????????°???????????°??¨????????????\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n//\t\t???????????????????????°???????????????\n\t\tArrayList<Integer> Scd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Hcd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Ccd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Dcd = new ArrayList<Integer>();\n//\t\tS,H,C,D????????????????????¨???\n\n\t\tString[] buf = new String[2];\n\t\tint tmp = 0;\n\t\tfor(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n//\t\t???????????????????????????????????????????????§?????°???????´¢????????????\n//\t\t?????¨??????????????°???????????°??¨????????????\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n//\t\t???????????????????????°???????????????\n\t\tArrayList<Integer> Scd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Hcd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Ccd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Dcd = new ArrayList<Integer>();\n//\t\tS,H,C,D????????????????????¨???\n\n\t\tString[] buf = new String[2];\n\t\tint tmp = 0;\n\t\tfor(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n//\t\t???????????????????????????????????????????????§?????°???????´¢????????????\n//\t\t?????¨??????????????°???????????°??¨????????????\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int num = Integer.parseInt(br.readLine());", "num", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "ArrayList<Integer> Scd = new ArrayList<Integer>();", "Scd", "new ArrayList<Integer>()", "ArrayList<Integer> Hcd = new ArrayList<Integer>();", "Hcd", "new ArrayList<Integer>()", "ArrayList<Integer> Ccd = new ArrayList<Integer>();", "Ccd", "new ArrayList<Integer>()", "ArrayList<Integer> Dcd = new ArrayList<Integer>();", "Dcd", "new ArrayList<Integer>()", "String[] buf = new String[2];", "buf", "new String[2]", "2", "int tmp = 0;", "tmp", "0", "for(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "buf = br.readLine().split(\" \")", "buf", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "tmp = Integer.parseInt(buf[1])", "tmp", "Integer.parseInt(buf[1])", "Integer.parseInt", "Integer", "buf[1]", "buf", "1", "switch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}", "buf[0]", "buf", "0", "case \"S\":", "\"S\"", "case \"S\":", "Scd.add(tmp)", "Scd.add", "Scd", "tmp", "break;", "case \"H\":", "\"H\"", "case \"H\":", "Hcd.add(tmp)", "Hcd.add", "Hcd", "tmp", "break;", "case \"C\":", "\"C\"", "case \"C\":", "Ccd.add(tmp)", "Ccd.add", "Ccd", "tmp", "break;", "case \"D\":", "\"D\"", "case \"D\":", "Dcd.add(tmp)", "Dcd.add", "Dcd", "tmp", "break;", "for(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}", "if(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}", "Scd.indexOf(i)==-1", "Scd.indexOf(i)", "Scd.indexOf", "Scd", "i", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}", "System.out.println(\"S \" + i)", "System.out.println", "System.out", "System", "System.out", "\"S \" + i", "\"S \"", "i", "for(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}", "if(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}", "Hcd.indexOf(i)==-1", "Hcd.indexOf(i)", "Hcd.indexOf", "Hcd", "i", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}", "System.out.println(\"H \" + i)", "System.out.println", "System.out", "System", "System.out", "\"H \" + i", "\"H \"", "i", "for(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}", "if(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}", "Ccd.indexOf(i)==-1", "Ccd.indexOf(i)", "Ccd.indexOf", "Ccd", "i", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}", "System.out.println(\"C \" + i)", "System.out.println", "System.out", "System", "System.out", "\"C \" + i", "\"C \"", "i", "for(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}", "if(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}", "Dcd.indexOf(i)==-1", "Dcd.indexOf(i)", "Dcd.indexOf", "Dcd", "i", "-1", "1", "{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}", "System.out.println(\"D \" + i)", "System.out.println", "System.out", "System", "System.out", "\"D \" + i", "\"D \"", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n//\t\t???????????????????????°???????????????\n\t\tArrayList<Integer> Scd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Hcd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Ccd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Dcd = new ArrayList<Integer>();\n//\t\tS,H,C,D????????????????????¨???\n\n\t\tString[] buf = new String[2];\n\t\tint tmp = 0;\n\t\tfor(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n//\t\t???????????????????????????????????????????????§?????°???????´¢????????????\n//\t\t?????¨??????????????°???????????°??¨????????????\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException\n\t{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint num = Integer.parseInt(br.readLine());\n//\t\t???????????????????????°???????????????\n\t\tArrayList<Integer> Scd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Hcd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Ccd = new ArrayList<Integer>();\n\t\tArrayList<Integer> Dcd = new ArrayList<Integer>();\n//\t\tS,H,C,D????????????????????¨???\n\n\t\tString[] buf = new String[2];\n\t\tint tmp = 0;\n\t\tfor(int i=0; i<num; i++)\n\t\t{\n\t\t\tbuf = br.readLine().split(\" \");\n\t\t\ttmp = Integer.parseInt(buf[1]);\n//\t\t\t????????\\?????????????????????????????????????´?\n\t\t\tswitch(buf[0])\n\t\t\t{\n\t\t\tcase \"S\":\n\t\t\t\tScd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tHcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tCcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tDcd.add(tmp);\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Scd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n//\t\t???????????????????????????????????????????????§?????°???????´¢????????????\n//\t\t?????¨??????????????°???????????°??¨????????????\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Hcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Ccd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1; i<=13; i++)\n\t\t{\n\t\t\tif(Dcd.indexOf(i)==-1)\n\t\t\t{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int num = Integer.parseInt(br.readLine()); // ???????????????????????°??????????????? ArrayList<Integer> Scd = new ArrayList<Integer>(); ArrayList<Integer> Hcd = new ArrayList<Integer>(); ArrayList<Integer> Ccd = new ArrayList<Integer>(); ArrayList<Integer> Dcd = new ArrayList<Integer>(); // S,H,C,D????????????????????¨??? String[] buf = new String[2]; int tmp = 0; for(int i=0; i<num; i++) { buf = br.readLine().split(" "); tmp = Integer.parseInt(buf[1]); // ????????\?????????????????????????????????????´? switch(buf[0]) { case "S": Scd.add(tmp); break; case "H": Hcd.add(tmp); break; case "C": Ccd.add(tmp); break; case "D": Dcd.add(tmp); break; } } for(int i=1; i<=13; i++) { if(Scd.indexOf(i)==-1) { System.out.println("S " + i); } } // ???????????????????????????????????????????????§?????°???????´¢???????????? // ?????¨??????????????°???????????°??¨???????????? for(int i=1; i<=13; i++) { if(Hcd.indexOf(i)==-1) { System.out.println("H " + i); } } for(int i=1; i<=13; i++) { if(Ccd.indexOf(i)==-1) { System.out.println("C " + i); } } for(int i=1; i<=13; i++) { if(Dcd.indexOf(i)==-1) { System.out.println("D " + i); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 0, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 17, 35, 18, 13, 17, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 0, 18, 18, 13, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 166, 14 ], [ 166, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 34, 38 ], [ 17, 39 ], [ 39, 40 ], [ 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 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 61, 66 ], [ 58, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 58, 75 ], [ 75, 76 ], [ 75, 77 ], [ 58, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 78, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 78, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 78, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 58, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 17, 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 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 144, 150 ], [ 143, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 151, 156 ], [ 157, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 157, 162 ], [ 15, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.lang.*;\nimport java.math.*;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString suit[]={\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean card[][];\n\t\tcard=new boolean[4][14]; //S:0 H:1 C:2 D 3\n\t\tfor(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "import java.math.*;", "math.*", "java", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString suit[]={\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean card[][];\n\t\tcard=new boolean[4][14]; //S:0 H:1 C:2 D 3\n\t\tfor(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString suit[]={\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean card[][];\n\t\tcard=new boolean[4][14]; //S:0 H:1 C:2 D 3\n\t\tfor(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString suit[]={\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean card[][];\n\t\tcard=new boolean[4][14]; //S:0 H:1 C:2 D 3\n\t\tfor(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}\n\t}", "Scanner stdIn=new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n=Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String suit[]={\"S\",\"H\",\"C\",\"D\"};", "suit", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "boolean card[][];", "card", "card=new boolean[4][14]", "card", "new boolean[4][14]", "4", "14", "for(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}", "{\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}", "String[] s=br.readLine().split(\" \");", "s", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int rank=Integer.parseInt(s[1]);", "rank", "Integer.parseInt(s[1])", "Integer.parseInt", "Integer", "s[1]", "s", "1", "int tmp=0;", "tmp", "0", "switch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}", "s[0]", "s", "0", "case \"S\":", "\"S\"", "case \"S\":", "tmp=0", "tmp", "0", "break;", "case \"H\":", "\"H\"", "case \"H\":", "tmp=1", "tmp", "1", "break;", "case \"C\":", "\"C\"", "case \"C\":", "tmp=2", "tmp", "2", "break;", "case \"D\":", "\"D\"", "case \"D\":", "tmp=3", "tmp", "3", "break;", "card[tmp][rank]=true", "card[tmp][rank]", "card[tmp]", "card", "tmp", "rank", "true", "for(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}", "for(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}", "int j=1;", "int j=1;", "j", "1", "j<=13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}", "{\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}", "if(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);", "card[i][j]==false", "card[i][j]", "card[i]", "card", "i", "j", "false", "System.out.println(suit[i]+\" \"+j)", "System.out.println", "System.out", "System", "System.out", "suit[i]+\" \"+j", "suit[i]+\" \"+j", "suit[i]", "suit", "i", "\" \"", "j", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString suit[]={\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean card[][];\n\t\tcard=new boolean[4][14]; //S:0 H:1 C:2 D 3\n\t\tfor(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tScanner stdIn=new Scanner(System.in);\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tint n=Integer.parseInt(br.readLine());\n\t\tString suit[]={\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean card[][];\n\t\tcard=new boolean[4][14]; //S:0 H:1 C:2 D 3\n\t\tfor(int i=0;i<n;i++){\n\t\t\tString[] s=br.readLine().split(\" \");\n\t\t\tint rank=Integer.parseInt(s[1]);\n\t\t\tint tmp=0;\n\t\t\tswitch(s[0]){\n\t\t\tcase \"S\":tmp=0;break;\n\t\t\tcase \"H\":tmp=1;break;\n\t\t\tcase \"C\":tmp=2;break;\n\t\t\tcase \"D\":tmp=3;break;\n\t\t\t}\n\t\t\tcard[tmp][rank]=true;\n\t\t}\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=1;j<=13;j++){\n\t\t\t\tif(card[i][j]==false)\n\t\t\t\t\tSystem.out.println(suit[i]+\" \"+j);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; import java.io.*; import java.lang.*; import java.math.*; public class Main{ public static void main(String[] args) throws IOException{ Scanner stdIn=new Scanner(System.in); BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); int n=Integer.parseInt(br.readLine()); String suit[]={"S","H","C","D"}; boolean card[][]; card=new boolean[4][14]; //S:0 H:1 C:2 D 3 for(int i=0;i<n;i++){ String[] s=br.readLine().split(" "); int rank=Integer.parseInt(s[1]); int tmp=0; switch(s[0]){ case "S":tmp=0;break; case "H":tmp=1;break; case "C":tmp=2;break; case "D":tmp=3;break; } card[tmp][rank]=true; } for(int i=0;i<4;i++){ for(int j=1;j<=13;j++){ if(card[i][j]==false) System.out.println(suit[i]+" "+j); } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 40, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 192, 5 ], [ 192, 6 ], [ 6, 7 ], [ 192, 8 ], [ 8, 9 ], [ 8, 10 ], [ 10, 11 ], [ 11, 12 ], [ 11, 13 ], [ 10, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 10, 19 ], [ 19, 20 ], [ 19, 21 ], [ 10, 24 ], [ 24, 25 ], [ 24, 26 ], [ 10, 27 ], [ 27, 28 ], [ 27, 29 ], [ 10, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 42, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 53, 54 ], [ 42, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 62, 66 ], [ 61, 67 ], [ 55, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 74, 80 ], [ 68, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 87, 93 ], [ 81, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 94, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 10, 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 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 134, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 142, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 150, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 158, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 141, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 176, 178 ], [ 141, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 185, 185 ], [ 185, 186 ], [ 185, 187 ], [ 185, 188 ], [ 8, 189 ], [ 189, 190 ], [ 0, 191 ], [ 191, 192 ], [ 191, 193 ] ]
[ "import java.util.Scanner;\n\n/**\n * Finding Missing Cards\n */\npublic class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n // 絵柄:スペード、ハート、クラブ、ダイヤ\n // ランク:1-13\n int[][] card = new int[4][13];\n String mark = \"\";\n int lank = 0;\n for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n // 絵柄:スペード、ハート、クラブ、ダイヤ\n // ランク:1-13\n int[][] card = new int[4][13];\n String mark = \"\";\n int lank = 0;\n for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }\n }\n}", "Main", "private static Scanner scan;", "scan", "public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n // 絵柄:スペード、ハート、クラブ、ダイヤ\n // ランク:1-13\n int[][] card = new int[4][13];\n String mark = \"\";\n int lank = 0;\n for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }\n }", "main", "{\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n // 絵柄:スペード、ハート、クラブ、ダイヤ\n // ランク:1-13\n int[][] card = new int[4][13];\n String mark = \"\";\n int lank = 0;\n for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }\n }", "scan = new Scanner(System.in)", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int[][] card = new int[4][13];", "card", "new int[4][13]", "4", "13", "String mark = \"\";", "mark", "\"\"", "int lank = 0;", "lank", "0", "for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }", "{\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }", "mark = scan.next()", "mark", "scan.next()", "scan.next", "scan", "lank = scan.nextInt()", "lank", "scan.nextInt()", "scan.nextInt", "scan", "lank --", "lank", "if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }", "mark.equals(\"S\")", "mark.equals", "mark", "\"S\"", "{\n card[0][lank] = 1;\n }", "card[0][lank] = 1", "card[0][lank]", "card[0]", "card", "0", "lank", "1", "if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }", "mark.equals(\"H\")", "mark.equals", "mark", "\"H\"", "{\n card[1][lank] = 1;\n }", "card[1][lank] = 1", "card[1][lank]", "card[1]", "card", "1", "lank", "1", "if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }", "mark.equals(\"C\")", "mark.equals", "mark", "\"C\"", "{\n card[2][lank] = 1;\n }", "card[2][lank] = 1", "card[2][lank]", "card[2]", "card", "2", "lank", "1", "if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }", "mark.equals(\"D\")", "mark.equals", "mark", "\"D\"", "{\n card[3][lank] = 1;\n }", "card[3][lank] = 1", "card[3][lank]", "card[3]", "card", "3", "lank", "1", "for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }", "{\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }", "for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }", "int p = 0;", "int p = 0;", "p", "0", "p < 13", "p", "13", "p++", "p++", "p", "{\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }", "{\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }", "if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }", "card[i][p] == 0", "card[i][p]", "card[i]", "card", "i", "p", "0", "{\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }", "if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }", "i == 0", "i", "0", "{\n mark = \"S\";\n }", "mark = \"S\"", "mark", "\"S\"", "if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }", "i == 1", "i", "1", "{\n mark = \"H\";\n }", "mark = \"H\"", "mark", "\"H\"", "if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }", "i == 2", "i", "2", "{\n mark = \"C\";\n }", "mark = \"C\"", "mark", "\"C\"", "if (i == 3) {\n mark = \"D\";\n }", "i == 3", "i", "3", "{\n mark = \"D\";\n }", "mark = \"D\"", "mark", "\"D\"", "lank = p + 1", "lank", "p + 1", "p", "1", "System.out.println(mark + \" \" + lank)", "System.out.println", "System.out", "System", "System.out", "mark + \" \" + lank", "mark + \" \" + lank", "mark", "\" \"", "lank", "String[] args", "args", "public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n // 絵柄:スペード、ハート、クラブ、ダイヤ\n // ランク:1-13\n int[][] card = new int[4][13];\n String mark = \"\";\n int lank = 0;\n for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }\n }\n}", "public class Main {\n private static Scanner scan;\n\n public static void main(String[] args) {\n scan = new Scanner(System.in);\n\n int n = scan.nextInt();\n // 絵柄:スペード、ハート、クラブ、ダイヤ\n // ランク:1-13\n int[][] card = new int[4][13];\n String mark = \"\";\n int lank = 0;\n for (int i = 0; i < n; i++) {\n mark = scan.next();\n lank = scan.nextInt();\n lank --;\n if (mark.equals(\"S\")) {\n card[0][lank] = 1;\n } else if (mark.equals(\"H\")) {\n card[1][lank] = 1;\n } else if (mark.equals(\"C\")) {\n card[2][lank] = 1;\n } else if (mark.equals(\"D\")) {\n card[3][lank] = 1;\n }\n }\n for (int i = 0; i < 4; i++) {\n for (int p = 0; p < 13; p++) {\n if (card[i][p] == 0) {\n if (i == 0) {\n mark = \"S\";\n } else if (i == 1) {\n mark = \"H\";\n } else if (i == 2) {\n mark = \"C\";\n } else if (i == 3) {\n mark = \"D\";\n }\n lank = p + 1;\n System.out.println(mark + \" \" + lank);\n }\n }\n }\n }\n}", "Main" ]
import java.util.Scanner; /** * Finding Missing Cards */ public class Main { private static Scanner scan; public static void main(String[] args) { scan = new Scanner(System.in); int n = scan.nextInt(); // 絵柄:スペード、ハート、クラブ、ダイヤ // ランク:1-13 int[][] card = new int[4][13]; String mark = ""; int lank = 0; for (int i = 0; i < n; i++) { mark = scan.next(); lank = scan.nextInt(); lank --; if (mark.equals("S")) { card[0][lank] = 1; } else if (mark.equals("H")) { card[1][lank] = 1; } else if (mark.equals("C")) { card[2][lank] = 1; } else if (mark.equals("D")) { card[3][lank] = 1; } } for (int i = 0; i < 4; i++) { for (int p = 0; p < 13; p++) { if (card[i][p] == 0) { if (i == 0) { mark = "S"; } else if (i == 1) { mark = "H"; } else if (i == 2) { mark = "C"; } else if (i == 3) { mark = "D"; } lank = p + 1; System.out.println(mark + " " + lank); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 29, 42, 2, 13, 17, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 2, 4, 18, 13, 17, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 40, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 4, 18, 4, 18, 4, 18, 13, 17, 17, 2, 13, 17, 17, 3, 34, 17, 1, 4, 18, 4, 18, 4, 18, 4, 18, 13, 17, 17, 2, 13, 17, 17, 3, 34, 17, 1, 4, 18, 4, 18, 4, 18, 4, 18, 13, 17, 17, 2, 13, 17, 17, 3, 34, 17, 1, 4, 18, 4, 18, 4, 18, 4, 18, 13, 17, 17, 2, 13, 17, 17, 3, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 38, 43 ], [ 35, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 46, 50 ], [ 35, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 56, 62 ], [ 55, 63 ], [ 51, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 68, 72 ], [ 67, 73 ], [ 66, 74 ], [ 51, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 78, 84 ], [ 77, 85 ], [ 51, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 88, 96 ], [ 35, 97 ], [ 97, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 99, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 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 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 125, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 143, 149 ], [ 141, 150 ], [ 150, 151 ], [ 150, 152 ], [ 139, 153 ], [ 138, 154 ], [ 134, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 162, 168 ], [ 160, 169 ], [ 169, 170 ], [ 169, 171 ], [ 158, 172 ], [ 157, 173 ], [ 134, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 183, 186 ], [ 181, 187 ], [ 179, 188 ], [ 188, 189 ], [ 188, 190 ], [ 177, 191 ], [ 176, 192 ], [ 134, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 202, 205 ], [ 200, 206 ], [ 198, 207 ], [ 207, 208 ], [ 207, 209 ], [ 196, 210 ], [ 195, 211 ], [ 8, 212 ], [ 212, 213 ], [ 213, 214 ], [ 212, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 215, 219 ], [ 212, 220 ], [ 220, 221 ], [ 221, 222 ], [ 8, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 223, 228 ], [ 6, 229 ], [ 229, 230 ] ]
[ "import java.util.Scanner;\n\n\nclass Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n boolean[][] card = new boolean[4][13];\n int number = scan.nextInt();\n\n if (number == 52) {\n return;\n }\n while(number != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }\n number--;\n }\n for (int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n boolean[][] card = new boolean[4][13];\n int number = scan.nextInt();\n\n if (number == 52) {\n return;\n }\n while(number != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }\n number--;\n }\n for (int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }\n}", "Main", "public static void main(String args[]) {\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n boolean[][] card = new boolean[4][13];\n int number = scan.nextInt();\n\n if (number == 52) {\n return;\n }\n while(number != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }\n number--;\n }\n for (int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n StringBuilder sb = new StringBuilder();\n boolean[][] card = new boolean[4][13];\n int number = scan.nextInt();\n\n if (number == 52) {\n return;\n }\n while(number != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }\n number--;\n }\n for (int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }\n sb.delete(sb.length() - 1, sb.length());\n System.out.println(sb);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "boolean[][] card = new boolean[4][13];", "card", "new boolean[4][13]", "4", "13", "int number = scan.nextInt();", "number", "scan.nextInt()", "scan.nextInt", "scan", "if (number == 52) {\n return;\n }", "number == 52", "number", "52", "{\n return;\n }", "return;", "while(number != 0) {\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }\n number--;\n }", "number != 0", "number", "0", "{\n char image = scan.next().charAt(0);\n int num = scan.nextInt() - 1;\n\n switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }\n number--;\n }", "char image = scan.next().charAt(0);", "image", "scan.next().charAt(0)", "scan.next().charAt", "scan.next()", "scan.next", "scan", "0", "int num = scan.nextInt() - 1;", "num", "scan.nextInt() - 1", "scan.nextInt()", "scan.nextInt", "scan", "1", "switch (image) {\n case 'S':\n card[0][num] = true;\n break;\n case 'H':\n card[1][num] = true;\n break;\n case 'C':\n card[2][num] = true;\n break;\n case 'D':\n card[3][num] = true;\n break;\n }", "image", "case 'S':", "'S'", "case 'S':", "card[0][num] = true", "card[0][num]", "card[0]", "card", "0", "num", "true", "break;", "case 'H':", "'H'", "case 'H':", "card[1][num] = true", "card[1][num]", "card[1]", "card", "1", "num", "true", "break;", "case 'C':", "'C'", "case 'C':", "card[2][num] = true", "card[2][num]", "card[2]", "card", "2", "num", "true", "break;", "case 'D':", "'D'", "case 'D':", "card[3][num] = true", "card[3][num]", "card[3]", "card", "3", "num", "true", "break;", "number--", "number", "for (int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }", "{\n for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }\n }", "for(int j = 0; j < 13; j++) {\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }", "{\n if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }\n }", "if (card[i][j] == false) {\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }", "card[i][j] == false", "card[i][j]", "card[i]", "card", "i", "j", "false", "{\n switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }\n }", "switch(i) {\n case 0:\n sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 1:\n sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 2:\n sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n case 3:\n sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\");\n break;\n }", "i", "case 0:", "0", "case 0:", "sb.append(\"S\").append(\" \").append(j + 1).append(\"\\n\")", "sb.append(\"S\").append(\" \").append(j + 1).append", "sb.append(\"S\").append(\" \").append(j + 1)", "sb.append(\"S\").append(\" \").append", "sb.append(\"S\").append(\" \")", "sb.append(\"S\").append", "sb.append(\"S\")", "sb.append", "sb", "\"S\"", "\" \"", "j + 1", "j", "1", "\"\\n\"", "break;", "case 1:", "1", "case 1:", "sb.append(\"H\").append(\" \").append(j + 1).append(\"\\n\")", "sb.append(\"H\").append(\" \").append(j + 1).append", "sb.append(\"H\").append(\" \").append(j + 1)", "sb.append(\"H\").append(\" \").append", "sb.append(\"H\").append(\" \")", "sb.append(\"H\").append", "sb.append(\"H\")", "sb.append", "sb", "\"H\"", "\" \"", "j + 1", "j", "1", "\"\\n\"", "break;", "case 2:", "2", "case 2:", "sb.append(\"C\").append(\" \").append(j + 1).append(\"\\n\")", "sb.append(\"C\").append(\" \").append(j + 1).append", "sb.append(\"C\").append(\" \").append(j + 1)", "sb.append(\"C\").append(\" \").append", "sb.append(\"C\").append(\" \")", "sb.append(\"C\").append", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "\" \"", "j + 1", "j", "1", "\"\\n\"", "break;", "case 3:", "3", "case 3:", "sb.append(\"D\").append(\" \").append(j + 1).append(\"\\n\")", "sb.append(\"D\").append(\" \").append(j + 1).append", "sb.append(\"D\").append(\" \").append(j + 1)", "sb.append(\"D\").append(\" \").append", "sb.append(\"D\").append(\" \")", "sb.append(\"D\").append", "sb.append(\"D\")", "sb.append", "sb", "\"D\"", "\" \"", "j + 1", "j", "1", "\"\\n\"", "break;", "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" ]
import java.util.Scanner; class Main { public static void main(String args[]) { Scanner scan = new Scanner(System.in); StringBuilder sb = new StringBuilder(); boolean[][] card = new boolean[4][13]; int number = scan.nextInt(); if (number == 52) { return; } while(number != 0) { char image = scan.next().charAt(0); int num = scan.nextInt() - 1; switch (image) { case 'S': card[0][num] = true; break; case 'H': card[1][num] = true; break; case 'C': card[2][num] = true; break; case 'D': card[3][num] = true; break; } number--; } for (int i = 0; i < 4; i++) { for(int j = 0; j < 13; j++) { if (card[i][j] == false) { switch(i) { case 0: sb.append("S").append(" ").append(j + 1).append("\n"); break; case 1: sb.append("H").append(" ").append(j + 1).append("\n"); break; case 2: sb.append("C").append(" ").append(j + 1).append("\n"); break; case 3: sb.append("D").append(" ").append(j + 1).append("\n"); break; } } } } sb.delete(sb.length() - 1, sb.length()); System.out.println(sb); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 2, 17, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 178, 11 ], [ 178, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 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 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 65, 72 ], [ 64, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 14, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 100, 102 ], [ 96, 103 ], [ 95, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 14, 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 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 131, 133 ], [ 127, 134 ], [ 126, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 14, 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 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 162, 164 ], [ 158, 165 ], [ 157, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 167, 172 ], [ 172, 173 ], [ 172, 174 ], [ 12, 175 ], [ 175, 176 ], [ 0, 177 ], [ 177, 178 ], [ 177, 179 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line = br.readLine();\n int num = Integer.parseInt(line);\n \n ArrayList<String> list = new ArrayList<String>();\n \n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line = br.readLine();\n int num = Integer.parseInt(line);\n \n ArrayList<String> list = new ArrayList<String>();\n \n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line = br.readLine();\n int num = Integer.parseInt(line);\n \n ArrayList<String> list = new ArrayList<String>();\n \n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line = br.readLine();\n int num = Integer.parseInt(line);\n \n ArrayList<String> list = new ArrayList<String>();\n \n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int num = Integer.parseInt(line);", "num", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n list.add(br.readLine());\n }", "{\n list.add(br.readLine());\n }", "list.add(br.readLine())", "list.add", "list", "br.readLine()", "br.readLine", "br", "for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }", "{\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }", "if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }", "list.contains(\"S \" + i) == false", "list.contains(\"S \" + i)", "list.contains", "list", "\"S \" + i", "\"S \"", "i", "false", "{\n System.out.println(\"S \" + i);\n }", "System.out.println(\"S \" + i)", "System.out.println", "System.out", "System", "System.out", "\"S \" + i", "\"S \"", "i", "for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }", "{\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }", "if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }", "list.contains(\"H \" + i) == false", "list.contains(\"H \" + i)", "list.contains", "list", "\"H \" + i", "\"H \"", "i", "false", "{\n System.out.println(\"H \" + i);\n }", "System.out.println(\"H \" + i)", "System.out.println", "System.out", "System", "System.out", "\"H \" + i", "\"H \"", "i", "for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }", "{\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }", "if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }", "list.contains(\"C \" + i) == false", "list.contains(\"C \" + i)", "list.contains", "list", "\"C \" + i", "\"C \"", "i", "false", "{\n System.out.println(\"C \" + i);\n }", "System.out.println(\"C \" + i)", "System.out.println", "System.out", "System", "System.out", "\"C \" + i", "\"C \"", "i", "for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }", "{\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }", "if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }", "list.contains(\"D \" + i) == false", "list.contains(\"D \" + i)", "list.contains", "list", "\"D \" + i", "\"D \"", "i", "false", "{\n System.out.println(\"D \" + i);\n }", "System.out.println(\"D \" + i)", "System.out.println", "System.out", "System", "System.out", "\"D \" + i", "\"D \"", "i", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line = br.readLine();\n int num = Integer.parseInt(line);\n \n ArrayList<String> list = new ArrayList<String>();\n \n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n String line = br.readLine();\n int num = Integer.parseInt(line);\n \n ArrayList<String> list = new ArrayList<String>();\n \n for (int i = 0; i < num; i++) {\n list.add(br.readLine());\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"S \" + i) == false){\n System.out.println(\"S \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"H \" + i) == false){\n System.out.println(\"H \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"C \" + i) == false){\n System.out.println(\"C \" + i);\n }\n }\n \n for (int i = 1; i <= 13; i++) {\n if(list.contains(\"D \" + i) == false){\n System.out.println(\"D \" + i);\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String line = br.readLine(); int num = Integer.parseInt(line); ArrayList<String> list = new ArrayList<String>(); for (int i = 0; i < num; i++) { list.add(br.readLine()); } for (int i = 1; i <= 13; i++) { if(list.contains("S " + i) == false){ System.out.println("S " + i); } } for (int i = 1; i <= 13; i++) { if(list.contains("H " + i) == false){ System.out.println("H " + i); } } for (int i = 1; i <= 13; i++) { if(list.contains("C " + i) == false){ System.out.println("C " + i); } } for (int i = 1; i <= 13; i++) { if(list.contains("D " + i) == false){ System.out.println("D " + i); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 17, 13, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 211, 5 ], [ 211, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 51, 55 ], [ 46, 56 ], [ 40, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 68, 72 ], [ 63, 73 ], [ 57, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 85, 89 ], [ 80, 90 ], [ 74, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 102, 106 ], [ 97, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 115, 117 ], [ 108, 118 ], [ 118, 119 ], [ 119, 120 ], [ 108, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 123, 135 ], [ 135, 136 ], [ 136, 137 ], [ 123, 138 ], [ 139, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 140, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 160, 162 ], [ 148, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 175, 177 ], [ 163, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 190, 192 ], [ 178, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 205, 207 ], [ 6, 208 ], [ 208, 209 ], [ 0, 210 ], [ 210, 211 ], [ 210, 212 ] ]
[ "\n\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??????????????£?¨?\n\t\tboolean [][] cards = new boolean[4][13];\n\t\t//???????????????????????? ???????????????????????????\n\t\t//String mark = new String();\n\t\t//????????????????????°\n\t\tint num =sc.nextInt();\n\t\t//??\\????????????????????????????????°????????????\n\t\tfor(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\t//?????????????????????????????¨???\n\t\tfor(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\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\t\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??????????????£?¨?\n\t\tboolean [][] cards = new boolean[4][13];\n\t\t//???????????????????????? ???????????????????????????\n\t\t//String mark = new String();\n\t\t//????????????????????°\n\t\tint num =sc.nextInt();\n\t\t//??\\????????????????????????????????°????????????\n\t\tfor(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\t//?????????????????????????????¨???\n\t\tfor(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n}", "Main", "public static void main(String[] args){\n\t\t\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??????????????£?¨?\n\t\tboolean [][] cards = new boolean[4][13];\n\t\t//???????????????????????? ???????????????????????????\n\t\t//String mark = new String();\n\t\t//????????????????????°\n\t\tint num =sc.nextInt();\n\t\t//??\\????????????????????????????????°????????????\n\t\tfor(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\t//?????????????????????????????¨???\n\t\tfor(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "main", "{\n\t\t\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??????????????£?¨?\n\t\tboolean [][] cards = new boolean[4][13];\n\t\t//???????????????????????? ???????????????????????????\n\t\t//String mark = new String();\n\t\t//????????????????????°\n\t\tint num =sc.nextInt();\n\t\t//??\\????????????????????????????????°????????????\n\t\tfor(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\t//?????????????????????????????¨???\n\t\tfor(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "boolean [][] cards = new boolean[4][13];", "cards", "new boolean[4][13]", "4", "13", "int num =sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}", "{\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}", "String mark = sc.next();", "mark", "sc.next()", "sc.next", "sc", "if(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}", "mark.equals(\"S\")", "mark.equals", "mark", "\"S\"", "{\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}", "cards[0][sc.nextInt()-1] = true", "cards[0][sc.nextInt()-1]", "cards[0]", "cards", "0", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "true", "if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}", "mark.equals(\"H\")", "mark.equals", "mark", "\"H\"", "{\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}", "cards[1][sc.nextInt()-1] = true", "cards[1][sc.nextInt()-1]", "cards[1]", "cards", "1", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "true", "if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}", "mark.equals(\"C\")", "mark.equals", "mark", "\"C\"", "{\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}", "cards[2][sc.nextInt()-1 ]= true", "cards[2][sc.nextInt()-1 ]", "cards[2]", "cards", "2", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "true", "if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}", "mark.equals(\"D\")", "mark.equals", "mark", "\"D\"", "{\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}", "cards[3][sc.nextInt()-1] = true", "cards[3][sc.nextInt()-1]", "cards[3]", "cards", "3", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "true", "for(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i< cards.length", "i", "cards.length", "cards", "cards.length", "i++", "i++", "i", "{\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j< cards[0].length", "j", "cards[0].length", "cards[0]", "cards", "0", "cards[0].length", "j++", "j++", "j", "{\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}", "!cards[i][j]", "cards[i][j]", "cards[i]", "cards", "i", "j", "{\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}", "if(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}", "System.out.println(\"S \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (j+1)", "\"S \"", "(j+1)", "j", "1", "if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}", "i == 1", "i", "1", "{\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}", "System.out.println(\"H \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (j+1)", "\"H \"", "(j+1)", "j", "1", "if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}", "i == 2", "i", "2", "{\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}", "System.out.println(\"C \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (j+1)", "\"C \"", "(j+1)", "j", "1", "if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}", "i == 3", "i", "3", "{\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}", "System.out.println(\"D \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (j+1)", "\"D \"", "(j+1)", "j", "1", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??????????????£?¨?\n\t\tboolean [][] cards = new boolean[4][13];\n\t\t//???????????????????????? ???????????????????????????\n\t\t//String mark = new String();\n\t\t//????????????????????°\n\t\tint num =sc.nextInt();\n\t\t//??\\????????????????????????????????°????????????\n\t\tfor(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\t//?????????????????????????????¨???\n\t\tfor(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\t\n\t\t//????????£????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//??????????????£?¨?\n\t\tboolean [][] cards = new boolean[4][13];\n\t\t//???????????????????????? ???????????????????????????\n\t\t//String mark = new String();\n\t\t//????????????????????°\n\t\tint num =sc.nextInt();\n\t\t//??\\????????????????????????????????°????????????\n\t\tfor(int i=0; i < num; i++){\n\t\t\t//????????????????????????\n\t\t\tString mark = sc.next();\n\t\t\t//??????????????????????????°????????\\?????????????????????true\n\t\t\tif(mark.equals(\"S\")){\n\t\t\t\tcards[0][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"H\")){\n\t\t\t\tcards[1][sc.nextInt()-1] = true;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tcards[2][sc.nextInt()-1 ]= true; \n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\tcards[3][sc.nextInt()-1] = true;\n\t\t\t}\n\t\t}\n\t\t//?????????????????????????????¨???\n\t\tfor(int i = 0; i< cards.length;i++){\n\t\t\tfor(int j=0; j< cards[0].length;j++){\n\t\t\t\t//true??§????????????????????¨???\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\tif(i == 0){\n\t\t\t\t\t\tSystem.out.println(\"S \" + (j+1));\n\t\t\t\t\t}else if(i == 1 ){\n\t\t\t\t\t\tSystem.out.println(\"H \" + (j+1));\n\t\t\t\t\t}else if(i == 2){\n\t\t\t\t\t\tSystem.out.println(\"C \" + (j+1));\n\t\t\t\t\t}else if(i == 3){\n\t\t\t\t\t\tSystem.out.println(\"D \" + (j+1));\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\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); //??????????????£?¨? boolean [][] cards = new boolean[4][13]; //???????????????????????? ??????????????????????????? //String mark = new String(); //????????????????????° int num =sc.nextInt(); //??\????????????????????????????????°???????????? for(int i=0; i < num; i++){ //???????????????????????? String mark = sc.next(); //??????????????????????????°????????\?????????????????????true if(mark.equals("S")){ cards[0][sc.nextInt()-1] = true; }else if(mark.equals("H")){ cards[1][sc.nextInt()-1] = true; }else if(mark.equals("C")){ cards[2][sc.nextInt()-1 ]= true; }else if(mark.equals("D")){ cards[3][sc.nextInt()-1] = true; } } //?????????????????????????????¨??? for(int i = 0; i< cards.length;i++){ for(int j=0; j< cards[0].length;j++){ //true??§????????????????????¨??? if(!cards[i][j]){ if(i == 0){ System.out.println("S " + (j+1)); }else if(i == 1 ){ System.out.println("H " + (j+1)); }else if(i == 2){ System.out.println("C " + (j+1)); }else if(i == 3){ System.out.println("D " + (j+1)); } } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 41, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 13, 4, 18, 13, 40, 18, 18, 13, 17, 2, 13, 17, 9, 34, 17, 1, 0, 13, 4, 18, 13, 40, 18, 18, 13, 17, 2, 13, 17, 9, 34, 17, 1, 0, 13, 4, 18, 13, 40, 18, 18, 13, 17, 2, 13, 17, 9, 34, 17, 1, 0, 13, 4, 18, 13, 40, 18, 18, 13, 17, 2, 13, 17, 9, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 17, 2, 13, 17, 9, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 17, 2, 13, 17, 9, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 17, 2, 13, 17, 9, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 17, 2, 13, 17, 9, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 250, 5 ], [ 250, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 48, 54 ], [ 8, 55 ], [ 55, 56 ], [ 8, 57 ], [ 57, 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 ], [ 71, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 92, 94 ], [ 81, 95 ], [ 77, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 98, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 109, 110 ], [ 109, 111 ], [ 98, 112 ], [ 77, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 126, 128 ], [ 115, 129 ], [ 77, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 132, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 143, 145 ], [ 132, 146 ], [ 8, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 147, 155 ], [ 155, 156 ], [ 156, 157 ], [ 147, 158 ], [ 159, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 160, 171 ], [ 172, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 174, 180 ], [ 173, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 187, 195 ], [ 195, 196 ], [ 195, 197 ], [ 186, 198 ], [ 182, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 202, 207 ], [ 207, 208 ], [ 207, 209 ], [ 202, 210 ], [ 210, 211 ], [ 210, 212 ], [ 201, 213 ], [ 182, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 217, 222 ], [ 222, 223 ], [ 222, 224 ], [ 217, 225 ], [ 225, 226 ], [ 225, 227 ], [ 216, 228 ], [ 182, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 237, 238 ], [ 237, 239 ], [ 232, 240 ], [ 240, 241 ], [ 240, 242 ], [ 231, 243 ], [ 8, 244 ], [ 244, 245 ], [ 245, 246 ], [ 6, 247 ], [ 247, 248 ], [ 0, 249 ], [ 249, 250 ], [ 249, 251 ] ]
[ "//????¶???????????????????????????¢????????????\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint n=kb.nextInt();\n\t\t\n\t\t/*??????????????????*/\n\t\tint count[][]=new int[4][13];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}\n\t\t/*???????????§*/\n\n\t\tString mark;\n\t\tint nowCard;\n\t\tfor(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tkb.close();\n\t}\t\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 kb=new Scanner(System.in);\n\t\tint n=kb.nextInt();\n\t\t\n\t\t/*??????????????????*/\n\t\tint count[][]=new int[4][13];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}\n\t\t/*???????????§*/\n\n\t\tString mark;\n\t\tint nowCard;\n\t\tfor(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tkb.close();\n\t}\t\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint n=kb.nextInt();\n\t\t\n\t\t/*??????????????????*/\n\t\tint count[][]=new int[4][13];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}\n\t\t/*???????????§*/\n\n\t\tString mark;\n\t\tint nowCard;\n\t\tfor(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tkb.close();\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint n=kb.nextInt();\n\t\t\n\t\t/*??????????????????*/\n\t\tint count[][]=new int[4][13];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}\n\t\t/*???????????§*/\n\n\t\tString mark;\n\t\tint nowCard;\n\t\tfor(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tkb.close();\n\t}", "Scanner kb=new Scanner(System.in);", "kb", "new Scanner(System.in)", "int n=kb.nextInt();", "n", "kb.nextInt()", "kb.nextInt", "kb", "int count[][]=new int[4][13];", "count", "new int[4][13]", "4", "13", "for(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}", "for(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tcount[i][j]=0;\n\t\t\t}", "{\n\t\t\t\tcount[i][j]=0;\n\t\t\t}", "count[i][j]=0", "count[i][j]", "count[i]", "count", "i", "j", "0", "String mark;", "mark", "int nowCard;", "nowCard", "for(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\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\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}", "{//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}", "mark=kb.next()", "mark", "kb.next()", "kb.next", "kb", "switch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}", "mark", "case \"S\":", "\"S\"", "case \"S\":", "nowCard=kb.nextInt()", "nowCard", "kb.nextInt()", "kb.nextInt", "kb", "count[0][nowCard-1]++", "count[0][nowCard-1]", "count[0]", "count", "0", "nowCard-1", "nowCard", "1", "continue;", "case \"H\":", "\"H\"", "case \"H\":", "nowCard=kb.nextInt()", "nowCard", "kb.nextInt()", "kb.nextInt", "kb", "count[1][nowCard-1]++", "count[1][nowCard-1]", "count[1]", "count", "1", "nowCard-1", "nowCard", "1", "continue;", "case \"C\":", "\"C\"", "case \"C\":", "nowCard=kb.nextInt()", "nowCard", "kb.nextInt()", "kb.nextInt", "kb", "count[2][nowCard-1]++", "count[2][nowCard-1]", "count[2]", "count", "2", "nowCard-1", "nowCard", "1", "continue;", "case \"D\":", "\"D\"", "case \"D\":", "nowCard=kb.nextInt()", "nowCard", "kb.nextInt()", "kb.nextInt", "kb", "count[3][nowCard-1]++", "count[3][nowCard-1]", "count[3]", "count", "3", "nowCard-1", "nowCard", "1", "continue;", "for(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}", "count[i][j]==0", "count[i][j]", "count[i]", "count", "i", "j", "0", "{//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}", "switch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}", "i", "case 0:", "0", "case 0:", "System.out.printf(\"S\"+\" %d\\n\",j+1)", "System.out.printf", "System.out", "System", "System.out", "\"S\"+\" %d\\n\"", "\"S\"", "\" %d\\n\"", "j+1", "j", "1", "continue;", "case 1:", "1", "case 1:", "System.out.printf(\"H\"+\" %d\\n\",j+1)", "System.out.printf", "System.out", "System", "System.out", "\"H\"+\" %d\\n\"", "\"H\"", "\" %d\\n\"", "j+1", "j", "1", "continue;", "case 2:", "2", "case 2:", "System.out.printf(\"C\"+\" %d\\n\",j+1)", "System.out.printf", "System.out", "System", "System.out", "\"C\"+\" %d\\n\"", "\"C\"", "\" %d\\n\"", "j+1", "j", "1", "continue;", "case 3:", "3", "case 3:", "System.out.printf(\"D\"+\" %d\\n\",j+1)", "System.out.printf", "System.out", "System", "System.out", "\"D\"+\" %d\\n\"", "\"D\"", "\" %d\\n\"", "j+1", "j", "1", "continue;", "kb.close()", "kb.close", "kb", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint n=kb.nextInt();\n\t\t\n\t\t/*??????????????????*/\n\t\tint count[][]=new int[4][13];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}\n\t\t/*???????????§*/\n\n\t\tString mark;\n\t\tint nowCard;\n\t\tfor(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tkb.close();\n\t}\t\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner kb=new Scanner(System.in);\n\t\tint n=kb.nextInt();\n\t\t\n\t\t/*??????????????????*/\n\t\tint count[][]=new int[4][13];\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tcount[i][j]=0;\n\t\t\t}\n\t\t}\n\t\t/*???????????§*/\n\n\t\tString mark;\n\t\tint nowCard;\n\t\tfor(int i=0;i<n;i++){//??????????????????\n\t\t\tmark=kb.next();\n\t\t\tswitch(mark){\n\t\t\tcase \"S\":nowCard=kb.nextInt();\n\t\t\tcount[0][nowCard-1]++;\n\t\t\tcontinue;\n\t\t\t\n\t\t\tcase \"H\":nowCard=kb.nextInt();\n\t\t\tcount[1][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"C\":nowCard=kb.nextInt();\n\t\t\tcount[2][nowCard-1]++;continue;\n\t\t\t\n\t\t\tcase \"D\":nowCard=kb.nextInt();\n\t\t\tcount[3][nowCard-1]++;continue;\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=0;i<4;i++){\n\t\t\tfor(int j=0;j<13;j++){\n\t\t\t\tif(count[i][j]==0){//\n\t\t\t\t\tswitch(i){\n\t\t\t\t\tcase 0:System.out.printf(\"S\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 1:System.out.printf(\"H\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 2:System.out.printf(\"C\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\tcase 3:System.out.printf(\"D\"+\" %d\\n\",j+1);continue;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tkb.close();\n\t}\t\n}", "Main" ]
//????¶???????????????????????????¢???????????? import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner kb=new Scanner(System.in); int n=kb.nextInt(); /*??????????????????*/ int count[][]=new int[4][13]; for(int i=0;i<4;i++){ for(int j=0;j<13;j++){ count[i][j]=0; } } /*???????????§*/ String mark; int nowCard; for(int i=0;i<n;i++){//?????????????????? mark=kb.next(); switch(mark){ case "S":nowCard=kb.nextInt(); count[0][nowCard-1]++; continue; case "H":nowCard=kb.nextInt(); count[1][nowCard-1]++;continue; case "C":nowCard=kb.nextInt(); count[2][nowCard-1]++;continue; case "D":nowCard=kb.nextInt(); count[3][nowCard-1]++;continue; } } for(int i=0;i<4;i++){ for(int j=0;j<13;j++){ if(count[i][j]==0){// switch(i){ case 0:System.out.printf("S"+" %d\n",j+1);continue; case 1:System.out.printf("H"+" %d\n",j+1);continue; case 2:System.out.printf("C"+" %d\n",j+1);continue; case 3:System.out.printf("D"+" %d\n",j+1);continue; } } } } kb.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 0, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 14, 2, 13, 17, 30, 0, 18, 13, 13, 2, 2, 17, 17, 2, 2, 13, 17, 17, 14, 2, 13, 17, 30, 0, 18, 13, 13, 2, 2, 17, 17, 2, 2, 13, 17, 17, 30, 0, 18, 13, 13, 2, 2, 17, 17, 2, 2, 13, 17, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 30, 0, 18, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 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 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 48, 48 ], [ 48, 49 ], [ 48, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 38, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 64, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 54, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 82, 82 ], [ 82, 83 ], [ 82, 84 ], [ 82, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 72, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 96, 96 ], [ 96, 97 ], [ 96, 98 ], [ 96, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 8, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 104, 112 ], [ 112, 113 ], [ 113, 114 ], [ 104, 115 ], [ 116, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 116, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 116, 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 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 147, 147 ], [ 147, 148 ], [ 147, 149 ], [ 147, 150 ], [ 140, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 8, 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 ], [ 171, 175 ], [ 170, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 6, 185 ], [ 185, 186 ], [ 0, 187 ], [ 187, 188 ], [ 187, 189 ] ]
[ "import java.util.Scanner;\n\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tString array[] = new String[52];\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tString array[] = new String[52];\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tString array[] = new String[52];\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tString array[] = new String[52];\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int i;", "i", "int j;", "j", "String array[] = new String[52];", "array", "new String[52]", "52", "for(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < 52", "i", "52", "i++", "i++", "i", "{\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}", "{\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}", "if(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}", "i < 13", "i", "13", "{\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t}", "array[i] = \"S\" + \" \" + (i + 1)", "array[i]", "array", "i", "\"S\" + \" \" + (i + 1)", "\"S\" + \" \" + (i + 1)", "\"S\"", "\" \"", "(i + 1)", "i", "1", "if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}", "i < 26", "i", "26", "{\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t}", "array[i] = \"H\" + \" \" + (i + 1 - 13)", "array[i]", "array", "i", "\"H\" + \" \" + (i + 1 - 13)", "\"H\" + \" \" + (i + 1 - 13)", "\"H\"", "\" \"", "(i + 1 - 13)", "i + 1", "i", "1", "13", "if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}", "i < 39", "i", "39", "{\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t}", "array[i] = \"C\" + \" \" + (i + 1 - 26)", "array[i]", "array", "i", "\"C\" + \" \" + (i + 1 - 26)", "\"C\" + \" \" + (i + 1 - 26)", "\"C\"", "\" \"", "(i + 1 - 26)", "i + 1", "i", "1", "26", "{\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}", "array[i] = \"D\" + \" \" + (i + 1 - 39)", "array[i]", "array", "i", "\"D\" + \" \" + (i + 1 - 39)", "\"D\" + \" \" + (i + 1 - 39)", "\"D\"", "\" \"", "(i + 1 - 39)", "i + 1", "i", "1", "39", "for(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "String b = sc.next();", "b", "sc.next()", "sc.next", "sc", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "for(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}", "j = 0;", "j = 0", "j", "0", "j < 52", "j", "52", "j++", "j++", "j", "{\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}", "if(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}", "array[j].equals(b + \" \" + a)", "array[j].equals", "array[j]", "array", "j", "b + \" \" + a", "b + \" \" + a", "b", "\" \"", "a", "{\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}", "array[j] = \"1\"", "array[j]", "array", "j", "\"1\"", "for(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}", "i = 0;", "i = 0", "i", "0", "i < 52", "i", "52", "i++", "i++", "i", "{\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}", "if(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}", "array[i] != \"1\"", "array[i]", "array", "i", "\"1\"", "{\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}", "System.out.println(array[i])", "System.out.println", "System.out", "System", "System.out", "array[i]", "array", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tString array[] = new String[52];\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t\tint n = sc.nextInt();\n\t\t\tint i;\n\t\t\tint j;\n\n\t\t\tString array[] = new String[52];\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\n\t\t\t\tif(i < 13) {\n\t\t\t\t\tarray[i] = \"S\" + \" \" + (i + 1);\n\t\t\t\t} else if(i < 26) {\n\t\t\t\t\tarray[i] = \"H\" + \" \" + (i + 1 - 13);\n\t\t\t\t} else if(i < 39) {\n\t\t\t\t\tarray[i] = \"C\" + \" \" + (i + 1 - 26);\n\t\t\t\t} else {\n\t\t\t\t\tarray[i] = \"D\" + \" \" + (i + 1 - 39);\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\tfor(i = 0; i < n; i++) {\n\n\t\t\t\tString b = sc.next();\n\t\t\t\tint a = sc.nextInt();\n\n\t\t\t\tfor(j = 0; j < 52; j++) {\n\t\t\t\t\tif(array[j].equals(b + \" \" + a)) {\n\t\t\t\t\t\tarray[j] = \"1\";\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor(i = 0; i < 52; i++) {\n\t\t\t\tif(array[i] != \"1\") {\n\t\t\t\t\tSystem.out.println(array[i]);\n\t\t\t\t}\n\t\t\t}\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int i; int j; String array[] = new String[52]; for(i = 0; i < 52; i++) { if(i < 13) { array[i] = "S" + " " + (i + 1); } else if(i < 26) { array[i] = "H" + " " + (i + 1 - 13); } else if(i < 39) { array[i] = "C" + " " + (i + 1 - 26); } else { array[i] = "D" + " " + (i + 1 - 39); } } for(i = 0; i < n; i++) { String b = sc.next(); int a = sc.nextInt(); for(j = 0; j < 52; j++) { if(array[j].equals(b + " " + a)) { array[j] = "1"; } } } for(i = 0; i < 52; i++) { if(array[i] != "1") { System.out.println(array[i]); } } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 17, 17, 41, 13, 39, 17, 17, 17, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 2, 13, 17, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 14, 4, 18, 18, 13, 17, 18, 13, 17, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 18, 13, 17, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 18, 13, 17, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 18, 13, 17, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 17, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 218, 5 ], [ 218, 6 ], [ 6, 7 ], [ 6, 8 ], [ 218, 11 ], [ 11, 12 ], [ 11, 13 ], [ 13, 14 ], [ 13, 15 ], [ 13, 16 ], [ 13, 17 ], [ 218, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 21, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 31, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 67, 72 ], [ 64, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 73, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 87, 94 ], [ 82, 95 ], [ 73, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 96, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 110, 117 ], [ 105, 118 ], [ 96, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 119, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 134, 137 ], [ 137, 138 ], [ 137, 139 ], [ 133, 140 ], [ 128, 141 ], [ 119, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 142, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 160, 161 ], [ 160, 162 ], [ 156, 163 ], [ 151, 164 ], [ 142, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 51, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 174, 175 ], [ 174, 176 ], [ 169, 177 ], [ 177, 178 ], [ 178, 179 ], [ 169, 180 ], [ 181, 181 ], [ 181, 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 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 196, 202 ], [ 195, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 203, 209 ], [ 209, 210 ], [ 209, 211 ], [ 203, 212 ], [ 212, 213 ], [ 212, 214 ], [ 18, 215 ], [ 215, 216 ], [ 0, 217 ], [ 217, 218 ], [ 217, 219 ] ]
[ "// ITP1_6_B Finding Missing Cards\nimport java.io.*;\n\npublic class Main {\n private static boolean[][] cards = new boolean[4][13];\n private static String[] suit = {\"S\", \"H\", \"C\", \"D\"};\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n private static boolean[][] cards = new boolean[4][13];\n private static String[] suit = {\"S\", \"H\", \"C\", \"D\"};\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "Main", "private static boolean[][] cards = new boolean[4][13];", "cards", "new boolean[4][13]", "4", "13", "private static String[] suit = {\"S\", \"H\", \"C\", \"D\"};", "suit", "{\"S\", \"H\", \"C\", \"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }\n }", "main", "{\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }\n }", "try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }", "catch (Exception e) {\n System.out.println(e);\n }", "Exception e", "{\n System.out.println(e);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }", "n <= 52 && n >= 0", "n <= 52", "n", "52", "n >= 0", "n", "0", "{\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }", "for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }", "{\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }", "String str[] = (br.readLine()).split(\" \");", "str", "(br.readLine()).split(\" \")", "(br.readLine()).split", "(br.readLine())", "br.readLine", "br", "\" \"", "if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);", "str[0].equals(suit[0])", "str[0].equals", "str[0]", "str", "0", "suit[0]", "suit", "0", "cards[0][Integer.parseInt(str[1]) - 1] = true", "cards[0][Integer.parseInt(str[1]) - 1]", "cards[0]", "cards", "0", "Integer.parseInt(str[1]) - 1", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "1", "true", "if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);", "str[0].equals(suit[1])", "str[0].equals", "str[0]", "str", "0", "suit[1]", "suit", "1", "cards[1][Integer.parseInt(str[1]) - 1] = true", "cards[1][Integer.parseInt(str[1]) - 1]", "cards[1]", "cards", "1", "Integer.parseInt(str[1]) - 1", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "1", "true", "if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);", "str[0].equals(suit[2])", "str[0].equals", "str[0]", "str", "0", "suit[2]", "suit", "2", "cards[2][Integer.parseInt(str[1]) - 1] = true", "cards[2][Integer.parseInt(str[1]) - 1]", "cards[2]", "cards", "2", "Integer.parseInt(str[1]) - 1", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "1", "true", "if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);", "str[0].equals(suit[3])", "str[0].equals", "str[0]", "str", "0", "suit[3]", "suit", "3", "cards[3][Integer.parseInt(str[1]) - 1] = true", "cards[3][Integer.parseInt(str[1]) - 1]", "cards[3]", "cards", "3", "Integer.parseInt(str[1]) - 1", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "1", "true", "System.exit(1)", "System.exit", "System", "1", "for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }", "{\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }", "for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }", "{\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }", "if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);", "cards[i][j] == false", "cards[i][j]", "cards[i]", "cards", "i", "j", "false", "System.out.printf(\"%s %d\\n\", suit[i], j + 1)", "System.out.printf", "System.out", "System", "System.out", "\"%s %d\\n\"", "suit[i]", "suit", "i", "j + 1", "j", "1", "String[] args", "args", "public class Main {\n private static boolean[][] cards = new boolean[4][13];\n private static String[] suit = {\"S\", \"H\", \"C\", \"D\"};\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "public class Main {\n private static boolean[][] cards = new boolean[4][13];\n private static String[] suit = {\"S\", \"H\", \"C\", \"D\"};\n\n public static void main(String[] args) {\n try {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n if (n <= 52 && n >= 0) {\n for (int i = 0; i < n; i++) {\n String str[] = (br.readLine()).split(\" \");\n\n if (str[0].equals(suit[0]))\n cards[0][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[1]))\n cards[1][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[2]))\n cards[2][Integer.parseInt(str[1]) - 1] = true;\n else if (str[0].equals(suit[3]))\n cards[3][Integer.parseInt(str[1]) - 1] = true;\n else\n System.exit(1);\n }\n\n for (int i = 0; i < 4; i++) {\n for (int j = 0; j < 13; j++) {\n if (cards[i][j] == false)\n System.out.printf(\"%s %d\\n\", suit[i], j + 1);\n }\n }\n }\n }\n catch (Exception e) {\n System.out.println(e);\n }\n }\n}", "Main" ]
// ITP1_6_B Finding Missing Cards import java.io.*; public class Main { private static boolean[][] cards = new boolean[4][13]; private static String[] suit = {"S", "H", "C", "D"}; public static void main(String[] args) { try { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); if (n <= 52 && n >= 0) { for (int i = 0; i < n; i++) { String str[] = (br.readLine()).split(" "); if (str[0].equals(suit[0])) cards[0][Integer.parseInt(str[1]) - 1] = true; else if (str[0].equals(suit[1])) cards[1][Integer.parseInt(str[1]) - 1] = true; else if (str[0].equals(suit[2])) cards[2][Integer.parseInt(str[1]) - 1] = true; else if (str[0].equals(suit[3])) cards[3][Integer.parseInt(str[1]) - 1] = true; else System.exit(1); } for (int i = 0; i < 4; i++) { for (int j = 0; j < 13; j++) { if (cards[i][j] == false) System.out.printf("%s %d\n", suit[i], j + 1); } } } } catch (Exception e) { System.out.println(e); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 35, 4, 18, 18, 13, 17, 17, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 41, 13, 17, 42, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 35, 13, 34, 17, 1, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 3, 34, 17, 1, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 3, 34, 17, 1, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 3, 34, 17, 1, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 3, 40, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 267, 5 ], [ 267, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 34 ], [ 34, 35 ], [ 34, 36 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 50, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 50, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 86, 91 ], [ 83, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 83, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 100, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 113, 115 ], [ 110, 116 ], [ 109, 117 ], [ 100, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 121, 127 ], [ 120, 128 ], [ 100, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 132, 138 ], [ 131, 139 ], [ 100, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 146, 148 ], [ 143, 149 ], [ 142, 150 ], [ 8, 151 ], [ 151, 152 ], [ 151, 153 ], [ 8, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 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 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 177, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 189, 189 ], [ 189, 190 ], [ 189, 191 ], [ 189, 192 ], [ 192, 193 ], [ 192, 194 ], [ 176, 195 ], [ 172, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 199, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 205, 210 ], [ 211, 211 ], [ 211, 212 ], [ 211, 213 ], [ 211, 214 ], [ 214, 215 ], [ 214, 216 ], [ 198, 217 ], [ 172, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 221, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 227, 232 ], [ 233, 233 ], [ 233, 234 ], [ 233, 235 ], [ 233, 236 ], [ 236, 237 ], [ 236, 238 ], [ 220, 239 ], [ 172, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 244, 248 ], [ 243, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 249, 254 ], [ 255, 255 ], [ 255, 256 ], [ 255, 257 ], [ 255, 258 ], [ 258, 259 ], [ 258, 260 ], [ 242, 261 ], [ 158, 262 ], [ 262, 263 ], [ 6, 264 ], [ 264, 265 ], [ 0, 266 ], [ 266, 267 ], [ 266, 268 ] ]
[ "import java.io.*;\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\t\n\t\tint n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\\????????????\n\t String[] cards ;\n\t \n //??¨???????????????????¨????????????¶?????????????????????????????????.\n\t Boolean[] S = new Boolean[13];\n\t Boolean[] H = new Boolean[13];\n\t Boolean[] C = new Boolean[13];\n\t Boolean[] D = new Boolean[13];\n\t \n\t for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }\n\t\n\t//?????£??????????????????????????¨???????????????????¨?????????\\???????????????????????????\n\t for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }\n\t \n\t//4?¨???????????????????????????£???????????????????????????????????????????????????????????? \n\t int j = 0 ;\n\t while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }\n\t \n\t}\n}", "import java.io.*;", "io.*", "java", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tBufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\\????????????\n\t String[] cards ;\n\t \n //??¨???????????????????¨????????????¶?????????????????????????????????.\n\t Boolean[] S = new Boolean[13];\n\t Boolean[] H = new Boolean[13];\n\t Boolean[] C = new Boolean[13];\n\t Boolean[] D = new Boolean[13];\n\t \n\t for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }\n\t\n\t//?????£??????????????????????????¨???????????????????¨?????????\\???????????????????????????\n\t for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }\n\t \n\t//4?¨???????????????????????????£???????????????????????????????????????????????????????????? \n\t int j = 0 ;\n\t while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }\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\t\n\t\tint n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\\????????????\n\t String[] cards ;\n\t \n //??¨???????????????????¨????????????¶?????????????????????????????????.\n\t Boolean[] S = new Boolean[13];\n\t Boolean[] H = new Boolean[13];\n\t Boolean[] C = new Boolean[13];\n\t Boolean[] D = new Boolean[13];\n\t \n\t for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }\n\t\n\t//?????£??????????????????????????¨???????????????????¨?????????\\???????????????????????????\n\t for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }\n\t \n\t//4?¨???????????????????????????£???????????????????????????????????????????????????????????? \n\t int j = 0 ;\n\t while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }\n\t \n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader (new InputStreamReader(System.in));\n\t\t\n\t\tint n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\\????????????\n\t String[] cards ;\n\t \n //??¨???????????????????¨????????????¶?????????????????????????????????.\n\t Boolean[] S = new Boolean[13];\n\t Boolean[] H = new Boolean[13];\n\t Boolean[] C = new Boolean[13];\n\t Boolean[] D = new Boolean[13];\n\t \n\t for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }\n\t\n\t//?????£??????????????????????????¨???????????????????¨?????????\\???????????????????????????\n\t for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }\n\t \n\t//4?¨???????????????????????????£???????????????????????????????????????????????????????????? \n\t int j = 0 ;\n\t while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }\n\t \n\t}", "BufferedReader br = new BufferedReader (new InputStreamReader(System.in));", "br", "new BufferedReader (new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] cards ;", "cards", "Boolean[] S = new Boolean[13];", "S", "new Boolean[13]", "13", "Boolean[] H = new Boolean[13];", "H", "new Boolean[13]", "13", "Boolean[] C = new Boolean[13];", "C", "new Boolean[13]", "13", "Boolean[] D = new Boolean[13];", "D", "new Boolean[13]", "13", "for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }", "{\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }", "S[i] = false", "S[i]", "S", "i", "false", "H[i] = false", "H[i]", "H", "i", "false", "C[i] = false", "C[i]", "C", "i", "false", "D[i] = false", "D[i]", "D", "i", "false", "for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < n", "j", "n", "j ++", "j ++", "j", "{\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }", "{\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }", "cards = br.readLine().split(\" \")", "cards", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int x = Integer.parseInt(cards[1]);", "x", "Integer.parseInt(cards[1])", "Integer.parseInt", "Integer", "cards[1]", "cards", "1", "switch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}", "cards[0].charAt(0)", "cards[0].charAt", "cards[0]", "cards", "0", "0", "case 'S' :", "'S'", "case 'S' :", "S[x-1] = true", "S[x-1]", "S", "x-1", "x", "1", "true", "break ;", "case 'H' :", "'H'", "case 'H' :", "H[x-1] = true", "H[x-1]", "H", "x-1", "x", "1", "true", "break ;", "case 'C' :", "'C'", "case 'C' :", "C[x-1] = true", "C[x-1]", "C", "x-1", "x", "1", "true", "break ;", "case 'D' :", "'D'", "case 'D' :", "D[x-1] = true", "D[x-1]", "D", "x-1", "x", "1", "true", "break ;", "int j = 0 ;", "j", "0", "while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }", "j < 4", "j", "4", "{\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }", "for(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}", "{\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}", "switch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}", "j", "case 0 :", "0", "case 0 :", "if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1));", "S[i] == false", "S[i]", "S", "i", "false", "System.out.println(\"S\" + \" \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"S\" + \" \" + (i+1)", "\"S\" + \" \" + (i+1)", "\"S\"", "\" \"", "(i+1)", "i", "1", "break ;", "case 1 :", "1", "case 1 :", "if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1));", "H[i] == false", "H[i]", "H", "i", "false", "System.out.println(\"H\" + \" \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"H\" + \" \" + (i+1)", "\"H\" + \" \" + (i+1)", "\"H\"", "\" \"", "(i+1)", "i", "1", "break ;", "case 2 :", "2", "case 2 :", "if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1));", "C[i] == false", "C[i]", "C", "i", "false", "System.out.println(\"C\" + \" \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"C\" + \" \" + (i+1)", "\"C\" + \" \" + (i+1)", "\"C\"", "\" \"", "(i+1)", "i", "1", "break ;", "case 3 :", "3", "case 3 :", "if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1));", "D[i] == false", "D[i]", "D", "i", "false", "System.out.println(\"D\" + \" \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"D\" + \" \" + (i+1)", "\"D\" + \" \" + (i+1)", "\"D\"", "\" \"", "(i+1)", "i", "1", "break ;", "j++", "j", "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\t\n\t\tint n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\\????????????\n\t String[] cards ;\n\t \n //??¨???????????????????¨????????????¶?????????????????????????????????.\n\t Boolean[] S = new Boolean[13];\n\t Boolean[] H = new Boolean[13];\n\t Boolean[] C = new Boolean[13];\n\t Boolean[] D = new Boolean[13];\n\t \n\t for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }\n\t\n\t//?????£??????????????????????????¨???????????????????¨?????????\\???????????????????????????\n\t for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }\n\t \n\t//4?¨???????????????????????????£???????????????????????????????????????????????????????????? \n\t int j = 0 ;\n\t while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }\n\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\t\n\t\tint n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\\????????????\n\t String[] cards ;\n\t \n //??¨???????????????????¨????????????¶?????????????????????????????????.\n\t Boolean[] S = new Boolean[13];\n\t Boolean[] H = new Boolean[13];\n\t Boolean[] C = new Boolean[13];\n\t Boolean[] D = new Boolean[13];\n\t \n\t for(int i = 0; i < 13 ; i++) {\n\t \tS[i] = false ;\n\t \tH[i] = false ;\n\t \tC[i] = false ;\n\t \tD[i] = false ;\n\t }\n\t\n\t//?????£??????????????????????????¨???????????????????¨?????????\\???????????????????????????\n\t for(int j = 0 ; j < n ; j ++) {\n\t \tcards = br.readLine().split(\" \");\n\t \tint x = Integer.parseInt(cards[1]);\n\t \t\n\t//??????????????¶???????????????????????? \t\n\t \tswitch(cards[0].charAt(0)){\n\t \t case 'S' : S[x-1] = true ; break ;\n\t \t case 'H' : H[x-1] = true ; break ;\n\t \t case 'C' : C[x-1] = true ; break ;\n\t \t case 'D' : D[x-1] = true ; break ;\n\t \t}\n\t }\n\t \n\t//4?¨???????????????????????????£???????????????????????????????????????????????????????????? \n\t int j = 0 ;\n\t while( j < 4) {\n\t \tfor(int i = 0; i < 13 ; i++) {\n\t \t\tswitch(j) {\n\t \t\t case 0 : if( S[i] == false ) \n\t \t\t System.out.println(\"S\" + \" \" + (i+1)); break ;\n\t \t\t case 1 : if( H[i] == false ) \n \t\t \t System.out.println(\"H\" + \" \" + (i+1)); break ;\n\t \t\t case 2 : if( C[i] == false ) \n \t\t \t System.out.println(\"C\" + \" \" + (i+1)); break ;\n\t \t\t case 3 : if( D[i] == false ) \n \t\t \t System.out.println(\"D\" + \" \" + (i+1)); break ;\n\t \t\t}\n\t \t}\n\t \tj++;\n\t }\n\t \n\t}\n}", "Main" ]
import java.io.*; public class Main { public static void main(String[] args)throws IOException { BufferedReader br = new BufferedReader (new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); //?????£??????????????????????????°?????\???????????? String[] cards ; //??¨???????????????????¨????????????¶?????????????????????????????????. Boolean[] S = new Boolean[13]; Boolean[] H = new Boolean[13]; Boolean[] C = new Boolean[13]; Boolean[] D = new Boolean[13]; for(int i = 0; i < 13 ; i++) { S[i] = false ; H[i] = false ; C[i] = false ; D[i] = false ; } //?????£??????????????????????????¨???????????????????¨?????????\??????????????????????????? for(int j = 0 ; j < n ; j ++) { cards = br.readLine().split(" "); int x = Integer.parseInt(cards[1]); //??????????????¶???????????????????????? switch(cards[0].charAt(0)){ case 'S' : S[x-1] = true ; break ; case 'H' : H[x-1] = true ; break ; case 'C' : C[x-1] = true ; break ; case 'D' : D[x-1] = true ; break ; } } //4?¨???????????????????????????£???????????????????????????????????????????????????????????? int j = 0 ; while( j < 4) { for(int i = 0; i < 13 ; i++) { switch(j) { case 0 : if( S[i] == false ) System.out.println("S" + " " + (i+1)); break ; case 1 : if( H[i] == false ) System.out.println("H" + " " + (i+1)); break ; case 2 : if( C[i] == false ) System.out.println("C" + " " + (i+1)); break ; case 3 : if( D[i] == false ) System.out.println("D" + " " + (i+1)); break ; } } j++; } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 13, 41, 13, 20, 13, 2, 13, 17, 12, 13, 30, 4, 13, 0, 13, 4, 13, 4, 13, 13, 4, 13, 4, 13, 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, 2, 13, 17, 1, 40, 13, 30, 30, 4, 13, 13, 13, 12, 13, 30, 14, 40, 2, 2, 17, 13, 2, 13, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 17, 14, 4, 18, 13, 30, 0, 13, 4, 18, 13, 30, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 29, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 14, 4, 18, 13, 30, 0, 13, 4, 18, 4, 18, 13, 17, 14, 4, 18, 13, 30, 0, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 18, 13, 13, 13, 13, 3, 34, 17, 1, 0, 18, 18, 13, 13, 13, 13, 3, 34, 17, 1, 0, 18, 18, 13, 13, 13, 13, 3, 34, 17, 1, 0, 18, 18, 13, 13, 13, 13, 3, 34, 1, 4, 18, 18, 13, 13, 17, 4, 18, 13, 17, 12, 13, 30, 41, 13, 17, 42, 2, 13, 13, 30, 4, 13, 40, 13, 12, 13, 30, 14, 2, 18, 18, 13, 13, 13, 13, 30, 30, 4, 18, 18, 13, 13, 17, 4, 13, 13, 13, 23, 13, 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, 13, 12, 13, 30, 35, 13, 34, 13, 1, 29, 17, 34, 13, 1, 29, 17, 34, 13, 1, 29, 17, 34, 13, 1, 29, 17, 34, 1, 29, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 353, 5 ], [ 353, 6 ], [ 6, 7 ], [ 6, 8 ], [ 353, 9 ], [ 9, 10 ], [ 9, 11 ], [ 353, 12 ], [ 12, 13 ], [ 12, 14 ], [ 353, 15 ], [ 15, 16 ], [ 15, 17 ], [ 353, 18 ], [ 18, 19 ], [ 18, 20 ], [ 353, 21 ], [ 21, 22 ], [ 21, 23 ], [ 353, 24 ], [ 24, 25 ], [ 24, 26 ], [ 353, 27 ], [ 27, 28 ], [ 27, 29 ], [ 353, 30 ], [ 30, 31 ], [ 30, 32 ], [ 353, 33 ], [ 33, 34 ], [ 33, 35 ], [ 353, 36 ], [ 36, 37 ], [ 36, 38 ], [ 353, 39 ], [ 39, 40 ], [ 39, 41 ], [ 43, 44 ], [ 43, 45 ], [ 353, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 48, 55 ], [ 55, 56 ], [ 55, 57 ], [ 48, 58 ], [ 58, 59 ], [ 48, 60 ], [ 60, 61 ], [ 46, 62 ], [ 62, 63 ], [ 353, 64 ], [ 64, 65 ], [ 64, 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 ], [ 87, 88 ], [ 87, 89 ], [ 80, 90 ], [ 90, 91 ], [ 91, 92 ], [ 80, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 95, 98 ], [ 353, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 108, 110 ], [ 102, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 99, 122 ], [ 122, 123 ], [ 353, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 130, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 140, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 126, 151 ], [ 151, 152 ], [ 353, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 159, 161 ], [ 155, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 162, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 169, 174 ], [ 155, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 155, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 190, 196 ], [ 189, 197 ], [ 185, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 202, 206 ], [ 201, 207 ], [ 200, 208 ], [ 185, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 212, 218 ], [ 211, 219 ], [ 185, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 223, 229 ], [ 222, 230 ], [ 185, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 233, 238 ], [ 232, 239 ], [ 239, 240 ], [ 240, 241 ], [ 239, 242 ], [ 353, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 253, 256 ], [ 256, 257 ], [ 353, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 262, 268 ], [ 261, 269 ], [ 261, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 273, 275 ], [ 271, 276 ], [ 271, 277 ], [ 277, 278 ], [ 277, 279 ], [ 271, 280 ], [ 258, 281 ], [ 281, 282 ], [ 258, 283 ], [ 283, 284 ], [ 353, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 288, 293 ], [ 293, 294 ], [ 293, 295 ], [ 288, 296 ], [ 296, 297 ], [ 297, 298 ], [ 288, 299 ], [ 300, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 301, 306 ], [ 306, 307 ], [ 306, 308 ], [ 301, 309 ], [ 309, 310 ], [ 310, 311 ], [ 301, 312 ], [ 313, 313 ], [ 313, 314 ], [ 314, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 319 ], [ 314, 320 ], [ 353, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 326, 328 ], [ 328, 329 ], [ 329, 330 ], [ 324, 331 ], [ 331, 332 ], [ 331, 333 ], [ 333, 334 ], [ 334, 335 ], [ 324, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 339, 340 ], [ 324, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 344, 345 ], [ 324, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 321, 350 ], [ 350, 351 ], [ 0, 352 ], [ 352, 353 ], [ 352, 354 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tprivate static final int MAX_CARDS = 52;\n\tprivate static final int NUM_SUIT = 4;\n\tprivate static final int MAX_CARD_NUMBER = 13;\n\t\n\tprivate static final int SPADE = 0;\n\tprivate static final int HEART = 1;\n\tprivate static final int CLUB = 2;\n\tprivate static final int DIA = 3;\n\t\n\tprivate static final int EXIST = 1;\n\tprivate static final int MISSING = 0;\n\t\n\tprivate static Scanner sc = new Scanner(System.in);\n\t\n\tprivate static int numCards = MAX_CARDS;\n\tprivate static int[][] cards = new int[NUM_SUIT][MAX_CARD_NUMBER + 1];\n\t\n\tpublic static void main(String[] args) {\n\t\tinitializeCardsState();\n\t\tnumCards = getNumCards();\n\t\tcheckNumCards(numCards);\n\t\tsetAllCardsExist();\n\t\tprintMissingCards();\n\t}\n\t\n\tprivate static void printMissingCards(){\t\t\n\t\t//???????????????????????????????????????\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static void checkNumCards(int n){\n\t\tif(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static int getNumCards(){\n\t\tint n = 0;\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\treturn n;\n\t}\n\t\n\tprivate static void setCardExist(){\n\t\tchar suit = 'a';\n\t\tint n = 0;\n\t\t\n\t\tif(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}\n\t\t\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\t\n\t\tswitch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static void setAllCardsExist(){\n\t\t//???????????????????????????card????????§??¨?????????\n\t\tint i = 0;\n\t\twhile(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}\n\t}\n\t\n\tprivate static void printMissingCard(int i, int j){\n\t\tif(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}\n\t}\n\t\n\tprivate static void initializeCardsState(){\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static char getSuit(int n){\n\t\tswitch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tprivate static final int MAX_CARDS = 52;\n\tprivate static final int NUM_SUIT = 4;\n\tprivate static final int MAX_CARD_NUMBER = 13;\n\t\n\tprivate static final int SPADE = 0;\n\tprivate static final int HEART = 1;\n\tprivate static final int CLUB = 2;\n\tprivate static final int DIA = 3;\n\t\n\tprivate static final int EXIST = 1;\n\tprivate static final int MISSING = 0;\n\t\n\tprivate static Scanner sc = new Scanner(System.in);\n\t\n\tprivate static int numCards = MAX_CARDS;\n\tprivate static int[][] cards = new int[NUM_SUIT][MAX_CARD_NUMBER + 1];\n\t\n\tpublic static void main(String[] args) {\n\t\tinitializeCardsState();\n\t\tnumCards = getNumCards();\n\t\tcheckNumCards(numCards);\n\t\tsetAllCardsExist();\n\t\tprintMissingCards();\n\t}\n\t\n\tprivate static void printMissingCards(){\t\t\n\t\t//???????????????????????????????????????\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static void checkNumCards(int n){\n\t\tif(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static int getNumCards(){\n\t\tint n = 0;\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\treturn n;\n\t}\n\t\n\tprivate static void setCardExist(){\n\t\tchar suit = 'a';\n\t\tint n = 0;\n\t\t\n\t\tif(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}\n\t\t\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\t\n\t\tswitch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static void setAllCardsExist(){\n\t\t//???????????????????????????card????????§??¨?????????\n\t\tint i = 0;\n\t\twhile(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}\n\t}\n\t\n\tprivate static void printMissingCard(int i, int j){\n\t\tif(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}\n\t}\n\t\n\tprivate static void initializeCardsState(){\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static char getSuit(int n){\n\t\tswitch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}\n\t}\n}", "Main", "private static final int MAX_CARDS = 52;", "MAX_CARDS", "52", "private static final int NUM_SUIT = 4;", "NUM_SUIT", "4", "private static final int MAX_CARD_NUMBER = 13;", "MAX_CARD_NUMBER", "13", "private static final int SPADE = 0;", "SPADE", "0", "private static final int HEART = 1;", "HEART", "1", "private static final int CLUB = 2;", "CLUB", "2", "private static final int DIA = 3;", "DIA", "3", "private static final int EXIST = 1;", "EXIST", "1", "private static final int MISSING = 0;", "MISSING", "0", "private static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "private static int numCards = MAX_CARDS;", "numCards", "MAX_CARDS", "private static int[][] cards = new int[NUM_SUIT][MAX_CARD_NUMBER + 1];", "cards", "new int[NUM_SUIT][MAX_CARD_NUMBER + 1]", "NUM_SUIT", "MAX_CARD_NUMBER + 1", "MAX_CARD_NUMBER", "1", "public static void main(String[] args) {\n\t\tinitializeCardsState();\n\t\tnumCards = getNumCards();\n\t\tcheckNumCards(numCards);\n\t\tsetAllCardsExist();\n\t\tprintMissingCards();\n\t}", "main", "{\n\t\tinitializeCardsState();\n\t\tnumCards = getNumCards();\n\t\tcheckNumCards(numCards);\n\t\tsetAllCardsExist();\n\t\tprintMissingCards();\n\t}", "initializeCardsState()", "initializeCardsState", "numCards = getNumCards()", "numCards", "getNumCards()", "getNumCards", "checkNumCards(numCards)", "checkNumCards", "numCards", "setAllCardsExist()", "setAllCardsExist", "printMissingCards()", "printMissingCards", "String[] args", "args", "private static void printMissingCards(){\t\t\n\t\t//???????????????????????????????????????\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}\n\t}", "printMissingCards", "{\t\t\n\t\t//???????????????????????????????????????\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}\n\t}", "for(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < NUM_SUIT", "i", "NUM_SUIT", "i++", "i++", "i", "{\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}", "for(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}", "int j = 1;", "int j = 1;", "j", "1", "j < MAX_CARD_NUMBER + 1", "j", "MAX_CARD_NUMBER + 1", "MAX_CARD_NUMBER", "1", "j++", "j++", "j", "{\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}", "{\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}", "printMissingCard(i, j)", "printMissingCard", "i", "j", "private static void checkNumCards(int n){\n\t\tif(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "checkNumCards", "{\n\t\tif(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "if(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}", "!(0 < n && n <= MAX_CARDS )", "(0 < n && n <= MAX_CARDS )", "0 < n", "0", "n", "n <= MAX_CARDS", "n", "MAX_CARDS", "{\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}", "System.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\")", "System.out.println", "System.out", "System", "System.out", "\"?????????????????§????????¶??°?????\\?????????????????????\"", "System.exit(0)", "System.exit", "System", "0", "int n", "n", "private static int getNumCards(){\n\t\tint n = 0;\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\treturn n;\n\t}", "getNumCards", "{\n\t\tint n = 0;\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\treturn n;\n\t}", "int n = 0;", "n", "0", "if(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}", "sc.hasNextInt()", "sc.hasNextInt", "sc", "{\n\t\t\tn = sc.nextInt();\n\t\t}", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}", "System.out.println(\"?????¶??°??\\????????\\?????????????????????\")", "System.out.println", "System.out", "System", "System.out", "\"?????¶??°??\\????????\\?????????????????????\"", "System.exit(0)", "System.exit", "System", "0", "return n;", "n", "private static void setCardExist(){\n\t\tchar suit = 'a';\n\t\tint n = 0;\n\t\t\n\t\tif(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}\n\t\t\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\t\n\t\tswitch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "setCardExist", "{\n\t\tchar suit = 'a';\n\t\tint n = 0;\n\t\t\n\t\tif(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}\n\t\t\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\t\n\t\tswitch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}", "char suit = 'a';", "suit", "'a'", "int n = 0;", "n", "0", "if(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}", "suit = sc.next().charAt(0)", "suit", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "if(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}", "sc.hasNextInt()", "sc.hasNextInt", "sc", "{\n\t\t\tn = sc.nextInt();\n\t\t}", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "switch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}", "suit", "case 'S':", "'S'", "case 'S':", "cards[SPADE][n] = EXIST", "cards[SPADE][n]", "cards[SPADE]", "cards", "SPADE", "n", "EXIST", "break;", "case 'H':", "'H'", "case 'H':", "cards[HEART][n] = EXIST", "cards[HEART][n]", "cards[HEART]", "cards", "HEART", "n", "EXIST", "break;", "case 'C':", "'C'", "case 'C':", "cards[CLUB][n] = EXIST", "cards[CLUB][n]", "cards[CLUB]", "cards", "CLUB", "n", "EXIST", "break;", "case 'D':", "'D'", "case 'D':", "cards[DIA][n] = EXIST", "cards[DIA][n]", "cards[DIA]", "cards", "DIA", "n", "EXIST", "break;", "default:", "default:", "System.out.println(\"S, H, C, D????????????????????\\?????????????????????\")", "System.out.println", "System.out", "System", "System.out", "\"S, H, C, D????????????????????\\?????????????????????\"", "System.exit(0)", "System.exit", "System", "0", "private static void setAllCardsExist(){\n\t\t//???????????????????????????card????????§??¨?????????\n\t\tint i = 0;\n\t\twhile(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}\n\t}", "setAllCardsExist", "{\n\t\t//???????????????????????????card????????§??¨?????????\n\t\tint i = 0;\n\t\twhile(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}\n\t}", "int i = 0;", "i", "0", "while(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}", "i < numCards", "i", "numCards", "{\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}", "setCardExist()", "setCardExist", "i++", "i", "private static void printMissingCard(int i, int j){\n\t\tif(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}\n\t}", "printMissingCard", "{\n\t\tif(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}\n\t}", "if(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}", "cards[i][j] == EXIST", "cards[i][j]", "cards[i]", "cards", "i", "j", "EXIST", "{\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}", "{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}", "System.out.printf(\"%s %d\\n\", getSuit(i), j)", "System.out.printf", "System.out", "System", "System.out", "\"%s %d\\n\"", "getSuit(i)", "getSuit", "i", "j", "int i", "i", "int j", "j", "private static void initializeCardsState(){\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}\n\t}", "initializeCardsState", "{\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}\n\t}", "for(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < NUM_SUIT", "i", "NUM_SUIT", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}", "for(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < MAX_CARD_NUMBER", "j", "MAX_CARD_NUMBER", "j++", "j++", "j", "{\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}", "{\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}", "cards[i][j] = MISSING", "cards[i][j]", "cards[i]", "cards", "i", "j", "MISSING", "private static char getSuit(int n){\n\t\tswitch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}\n\t}", "getSuit", "{\n\t\tswitch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}\n\t}", "switch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}", "n", "case SPADE:", "SPADE", "case SPADE:", "return 'S';", "'S'", "case HEART:", "HEART", "case HEART:", "return 'H';", "'H'", "case CLUB:", "CLUB", "case CLUB:", "return 'C';", "'C'", "case DIA:", "DIA", "case DIA:", "return 'D';", "'D'", "default:", "default:", "return ' ';", "' '", "int n", "n", "public class Main{\n\tprivate static final int MAX_CARDS = 52;\n\tprivate static final int NUM_SUIT = 4;\n\tprivate static final int MAX_CARD_NUMBER = 13;\n\t\n\tprivate static final int SPADE = 0;\n\tprivate static final int HEART = 1;\n\tprivate static final int CLUB = 2;\n\tprivate static final int DIA = 3;\n\t\n\tprivate static final int EXIST = 1;\n\tprivate static final int MISSING = 0;\n\t\n\tprivate static Scanner sc = new Scanner(System.in);\n\t\n\tprivate static int numCards = MAX_CARDS;\n\tprivate static int[][] cards = new int[NUM_SUIT][MAX_CARD_NUMBER + 1];\n\t\n\tpublic static void main(String[] args) {\n\t\tinitializeCardsState();\n\t\tnumCards = getNumCards();\n\t\tcheckNumCards(numCards);\n\t\tsetAllCardsExist();\n\t\tprintMissingCards();\n\t}\n\t\n\tprivate static void printMissingCards(){\t\t\n\t\t//???????????????????????????????????????\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static void checkNumCards(int n){\n\t\tif(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static int getNumCards(){\n\t\tint n = 0;\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\treturn n;\n\t}\n\t\n\tprivate static void setCardExist(){\n\t\tchar suit = 'a';\n\t\tint n = 0;\n\t\t\n\t\tif(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}\n\t\t\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\t\n\t\tswitch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static void setAllCardsExist(){\n\t\t//???????????????????????????card????????§??¨?????????\n\t\tint i = 0;\n\t\twhile(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}\n\t}\n\t\n\tprivate static void printMissingCard(int i, int j){\n\t\tif(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}\n\t}\n\t\n\tprivate static void initializeCardsState(){\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static char getSuit(int n){\n\t\tswitch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}\n\t}\n}", "public class Main{\n\tprivate static final int MAX_CARDS = 52;\n\tprivate static final int NUM_SUIT = 4;\n\tprivate static final int MAX_CARD_NUMBER = 13;\n\t\n\tprivate static final int SPADE = 0;\n\tprivate static final int HEART = 1;\n\tprivate static final int CLUB = 2;\n\tprivate static final int DIA = 3;\n\t\n\tprivate static final int EXIST = 1;\n\tprivate static final int MISSING = 0;\n\t\n\tprivate static Scanner sc = new Scanner(System.in);\n\t\n\tprivate static int numCards = MAX_CARDS;\n\tprivate static int[][] cards = new int[NUM_SUIT][MAX_CARD_NUMBER + 1];\n\t\n\tpublic static void main(String[] args) {\n\t\tinitializeCardsState();\n\t\tnumCards = getNumCards();\n\t\tcheckNumCards(numCards);\n\t\tsetAllCardsExist();\n\t\tprintMissingCards();\n\t}\n\t\n\tprivate static void printMissingCards(){\t\t\n\t\t//???????????????????????????????????????\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 1; j < MAX_CARD_NUMBER + 1; j++){\n\t\t\t\tprintMissingCard(i, j);\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static void checkNumCards(int n){\n\t\tif(!(0 < n && n <= MAX_CARDS )){\n\t\t\tSystem.out.println(\"?????????????????§????????¶??°?????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static int getNumCards(){\n\t\tint n = 0;\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"?????¶??°??\\????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t\t\n\t\treturn n;\n\t}\n\t\n\tprivate static void setCardExist(){\n\t\tchar suit = 'a';\n\t\tint n = 0;\n\t\t\n\t\tif(sc.hasNext()){\n\t\t\tsuit = sc.next().charAt(0);\n\t\t}\n\t\t\n\t\tif(sc.hasNextInt()){\n\t\t\tn = sc.nextInt();\n\t\t}\n\t\t\n\t\tswitch(suit){\n\t\tcase 'S':\n\t\t\tcards[SPADE][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'H':\n\t\t\tcards[HEART][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'C':\n\t\t\tcards[CLUB][n] = EXIST;\n\t\t\tbreak;\n\t\tcase 'D':\n\t\t\tcards[DIA][n] = EXIST;\n\t\t\tbreak;\n\t\tdefault:\n\t\t\tSystem.out.println(\"S, H, C, D????????????????????\\?????????????????????\");\n\t\t\tSystem.exit(0);\n\t\t}\n\t}\n\t\n\tprivate static void setAllCardsExist(){\n\t\t//???????????????????????????card????????§??¨?????????\n\t\tint i = 0;\n\t\twhile(i < numCards){\n\t\t\t//??\\????????????????????????????????????????????????\n\t\t\tsetCardExist();\n\t\t\ti++;\n\t\t}\n\t}\n\t\n\tprivate static void printMissingCard(int i, int j){\n\t\tif(cards[i][j] == EXIST){\n\t\t\t//?????????????????¨????????´???????????????????????????\n\t\t}\n\t\telse{\n\t\t\tSystem.out.printf(\"%s %d\\n\", getSuit(i), j);\n\t\t}\n\t}\n\t\n\tprivate static void initializeCardsState(){\n\t\tfor(int i = 0; i < NUM_SUIT; i++){\n\t\t\tfor(int j = 0; j < MAX_CARD_NUMBER; j++){\n\t\t\t\tcards[i][j] = MISSING;\n\t\t\t}\n\t\t}\n\t}\n\t\n\tprivate static char getSuit(int n){\n\t\tswitch(n){\n\t\tcase SPADE:\n\t\t\treturn 'S';\n\t\tcase HEART:\n\t\t\treturn 'H';\n\t\tcase CLUB:\n\t\t\treturn 'C';\n\t\tcase DIA: \n\t\t\treturn 'D';\n\t\tdefault:\n\t\t\treturn ' ';\n\t\t}\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ private static final int MAX_CARDS = 52; private static final int NUM_SUIT = 4; private static final int MAX_CARD_NUMBER = 13; private static final int SPADE = 0; private static final int HEART = 1; private static final int CLUB = 2; private static final int DIA = 3; private static final int EXIST = 1; private static final int MISSING = 0; private static Scanner sc = new Scanner(System.in); private static int numCards = MAX_CARDS; private static int[][] cards = new int[NUM_SUIT][MAX_CARD_NUMBER + 1]; public static void main(String[] args) { initializeCardsState(); numCards = getNumCards(); checkNumCards(numCards); setAllCardsExist(); printMissingCards(); } private static void printMissingCards(){ //??????????????????????????????????????? for(int i = 0; i < NUM_SUIT; i++){ for(int j = 1; j < MAX_CARD_NUMBER + 1; j++){ printMissingCard(i, j); } } } private static void checkNumCards(int n){ if(!(0 < n && n <= MAX_CARDS )){ System.out.println("?????????????????§????????¶??°?????\?????????????????????"); System.exit(0); } } private static int getNumCards(){ int n = 0; if(sc.hasNextInt()){ n = sc.nextInt(); } else{ System.out.println("?????¶??°??\????????\?????????????????????"); System.exit(0); } return n; } private static void setCardExist(){ char suit = 'a'; int n = 0; if(sc.hasNext()){ suit = sc.next().charAt(0); } if(sc.hasNextInt()){ n = sc.nextInt(); } switch(suit){ case 'S': cards[SPADE][n] = EXIST; break; case 'H': cards[HEART][n] = EXIST; break; case 'C': cards[CLUB][n] = EXIST; break; case 'D': cards[DIA][n] = EXIST; break; default: System.out.println("S, H, C, D????????????????????\?????????????????????"); System.exit(0); } } private static void setAllCardsExist(){ //???????????????????????????card????????§??¨????????? int i = 0; while(i < numCards){ //??\???????????????????????????????????????????????? setCardExist(); i++; } } private static void printMissingCard(int i, int j){ if(cards[i][j] == EXIST){ //?????????????????¨????????´??????????????????????????? } else{ System.out.printf("%s %d\n", getSuit(i), j); } } private static void initializeCardsState(){ for(int i = 0; i < NUM_SUIT; i++){ for(int j = 0; j < MAX_CARD_NUMBER; j++){ cards[i][j] = MISSING; } } } private static char getSuit(int n){ switch(n){ case SPADE: return 'S'; case HEART: return 'H'; case CLUB: return 'C'; case DIA: return 'D'; default: return ' '; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 203, 5 ], [ 203, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 34, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 34, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 34, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 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 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 132, 138 ], [ 131, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 152, 154 ], [ 139, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 167, 169 ], [ 139, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 139, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 190, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 197, 199 ], [ 6, 200 ], [ 200, 201 ], [ 0, 202 ], [ 202, 203 ], [ 202, 204 ] ]
[ "import java.util.Scanner;\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\tboolean[][] ar = new boolean[4][13];\n\t\tfor ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tboolean[][] ar = new boolean[4][13];\n\t\tfor ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\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\t\tint n = scan.nextInt();\n\t\tboolean[][] ar = new boolean[4][13];\n\t\tfor ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tboolean[][] ar = new boolean[4][13];\n\t\tfor ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\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)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "boolean[][] ar = new boolean[4][13];", "ar", "new boolean[4][13]", "4", "13", "for ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}", "{\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}", "String suit = scan.next();", "suit", "scan.next()", "scan.next", "scan", "int rank = scan.nextInt();", "rank", "scan.nextInt()", "scan.nextInt", "scan", "if ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}", "suit.equals(\"S\")", "suit.equals", "suit", "\"S\"", "{ar[0][rank-1] = true;}", "ar[0][rank-1] = true", "ar[0][rank-1]", "ar[0]", "ar", "0", "rank-1", "rank", "1", "true", "if ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}", "suit.equals(\"H\")", "suit.equals", "suit", "\"H\"", "{ar[1][rank-1] = true;}", "ar[1][rank-1] = true", "ar[1][rank-1]", "ar[1]", "ar", "1", "rank-1", "rank", "1", "true", "if ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}", "suit.equals(\"C\")", "suit.equals", "suit", "\"C\"", "{ar[2][rank-1] = true;}", "ar[2][rank-1] = true", "ar[2][rank-1]", "ar[2]", "ar", "2", "rank-1", "rank", "1", "true", "if ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}", "suit.equals(\"D\")", "suit.equals", "suit", "\"D\"", "{ar[3][rank-1] = true;}", "ar[3][rank-1] = true", "ar[3][rank-1]", "ar[3]", "ar", "3", "rank-1", "rank", "1", "true", "for ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}\n\t\t}", "{\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}\n\t\t}", "for ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}", "{\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}\n \t\t\t}", "if ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}", "ar[i][j] == false", "ar[i][j]", "ar[i]", "ar", "i", "j", "false", "{\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\n\t\t\t\t}", "if ( i == 0 ) { System.out.println(\"S \" + (j+1));}", "i == 0", "i", "0", "{ System.out.println(\"S \" + (j+1));}", "System.out.println(\"S \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (j+1)", "\"S \"", "(j+1)", "j", "1", "if ( i == 1 ) { System.out.println(\"H \" + (j+1));}", "i == 1", "i", "1", "{ System.out.println(\"H \" + (j+1));}", "System.out.println(\"H \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (j+1)", "\"H \"", "(j+1)", "j", "1", "if ( i == 2 ) { System.out.println(\"C \" + (j+1));}", "i == 2", "i", "2", "{ System.out.println(\"C \" + (j+1));}", "System.out.println(\"C \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (j+1)", "\"C \"", "(j+1)", "j", "1", "if ( i == 3 ) { System.out.println(\"D \" + (j+1));}", "i == 3", "i", "3", "{ System.out.println(\"D \" + (j+1));}", "System.out.println(\"D \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (j+1)", "\"D \"", "(j+1)", "j", "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();\n\t\tboolean[][] ar = new boolean[4][13];\n\t\tfor ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\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) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tboolean[][] ar = new boolean[4][13];\n\t\tfor ( int i = 1; i <= n; i++ ) {\n\t\t\tString suit = scan.next();\n\t\t\tint rank = scan.nextInt();\n\t\t\tif ( suit.equals(\"S\") ) {ar[0][rank-1] = true;}\n\t\t\tif ( suit.equals(\"H\") ) {ar[1][rank-1] = true;}\n\t\t\tif ( suit.equals(\"C\") ) {ar[2][rank-1] = true;}\n\t\t\tif ( suit.equals(\"D\") ) {ar[3][rank-1] = true;}\n\t\t}\n\t\tfor ( int i = 0; i < 4; i++ ) {\n\t\t\tfor ( int j = 0; j < 13; j++ ) {\n\t\t\t\tif ( ar[i][j] == false ) {\n\t\t\t\t\tif ( i == 0 ) { System.out.println(\"S \" + (j+1));}\n\t\t\t\t\tif ( i == 1 ) { System.out.println(\"H \" + (j+1));}\n\t\t\t\t\tif ( i == 2 ) { System.out.println(\"C \" + (j+1));}\n\t\t\t\t\tif ( i == 3 ) { System.out.println(\"D \" + (j+1));}\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 scan = new Scanner(System.in); int n = scan.nextInt(); boolean[][] ar = new boolean[4][13]; for ( int i = 1; i <= n; i++ ) { String suit = scan.next(); int rank = scan.nextInt(); if ( suit.equals("S") ) {ar[0][rank-1] = true;} if ( suit.equals("H") ) {ar[1][rank-1] = true;} if ( suit.equals("C") ) {ar[2][rank-1] = true;} if ( suit.equals("D") ) {ar[3][rank-1] = true;} } for ( int i = 0; i < 4; i++ ) { for ( int j = 0; j < 13; j++ ) { if ( ar[i][j] == false ) { if ( i == 0 ) { System.out.println("S " + (j+1));} if ( i == 1 ) { System.out.println("H " + (j+1));} if ( i == 2 ) { System.out.println("C " + (j+1));} if ( i == 3 ) { System.out.println("D " + (j+1));} } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 2, 17, 13, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 18, 26 ], [ 26, 27 ], [ 27, 28 ], [ 18, 29 ], [ 30, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 34, 36 ], [ 11, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 11, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 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 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 11, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 99, 100 ], [ 100, 101 ], [ 11, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 121, 122 ], [ 114, 123 ], [ 123, 124 ], [ 124, 125 ], [ 123, 126 ], [ 11, 127 ], [ 127, 128 ], [ 127, 129 ], [ 127, 130 ], [ 131, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 9, 138 ], [ 138, 139 ] ]
[ "import java.io.*;\nimport java.util.*;\n\nclass Main{\n\tpublic static void main(String args[])throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\n\t\t//??¨????????????????????????\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"S \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"H \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"C \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"D \" + i);\n\t\t}\n\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i=0; i<num; i++){\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}\n\n\t\tfor(String card: list){\n\t\t\tSystem.out.println(card);\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String args[])throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\n\t\t//??¨????????????????????????\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"S \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"H \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"C \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"D \" + i);\n\t\t}\n\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i=0; i<num; i++){\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}\n\n\t\tfor(String card: list){\n\t\t\tSystem.out.println(card);\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\tList<String> list = new ArrayList<String>();\n\n\t\t//??¨????????????????????????\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"S \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"H \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"C \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"D \" + i);\n\t\t}\n\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i=0; i<num; i++){\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}\n\n\t\tfor(String card: list){\n\t\t\tSystem.out.println(card);\n\t\t}\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tList<String> list = new ArrayList<String>();\n\n\t\t//??¨????????????????????????\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"S \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"H \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"C \" + i);\n\t\t}\n\t\tfor(int i=1; i<=13; i++){\n\t\t\tlist.add(\"D \" + i);\n\t\t}\n\n\t\tint num = Integer.parseInt(br.readLine());\n\t\tfor(int i=0; i<num; i++){\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}\n\n\t\tfor(String card: list){\n\t\t\tSystem.out.println(card);\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for(int i=1; i<=13; i++){\n\t\t\tlist.add(\"S \" + i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tlist.add(\"S \" + i);\n\t\t}", "{\n\t\t\tlist.add(\"S \" + i);\n\t\t}", "list.add(\"S \" + i)", "list.add", "list", "\"S \" + i", "\"S \"", "i", "for(int i=1; i<=13; i++){\n\t\t\tlist.add(\"H \" + i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tlist.add(\"H \" + i);\n\t\t}", "{\n\t\t\tlist.add(\"H \" + i);\n\t\t}", "list.add(\"H \" + i)", "list.add", "list", "\"H \" + i", "\"H \"", "i", "for(int i=1; i<=13; i++){\n\t\t\tlist.add(\"C \" + i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tlist.add(\"C \" + i);\n\t\t}", "{\n\t\t\tlist.add(\"C \" + i);\n\t\t}", "list.add(\"C \" + i)", "list.add", "list", "\"C \" + i", "\"C \"", "i", "for(int i=1; i<=13; i++){\n\t\t\tlist.add(\"D \" + i);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tlist.add(\"D \" + i);\n\t\t}", "{\n\t\t\tlist.add(\"D \" + i);\n\t\t}", "list.add(\"D \" + i)", "list.add", "list", "\"D \" + i", "\"D \"", "i", "int num = Integer.parseInt(br.readLine());", "num", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0; i<num; i++){\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}", "{\n\t\t\tint a = list.indexOf(br.readLine());\n\t\t\tlist.remove(a);\n\t\t}", "int a = list.indexOf(br.readLine());", "a", "list.indexOf(br.readLine())", "list.indexOf", "list", "br.readLine()", "br.readLine", "br", "list.remove(a)", "list.remove", "list", "a", "for(String card: list){\n\t\t\tSystem.out.println(card);\n\t\t}", "String card", "list", "{\n\t\t\tSystem.out.println(card);\n\t\t}", "{\n\t\t\tSystem.out.println(card);\n\t\t}", "System.out.println(card)", "System.out.println", "System.out", "System", "System.out", "card", "String args[]", "args" ]
import java.io.*; import java.util.*; class Main{ public static void main(String args[])throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); List<String> list = new ArrayList<String>(); //??¨???????????????????????? for(int i=1; i<=13; i++){ list.add("S " + i); } for(int i=1; i<=13; i++){ list.add("H " + i); } for(int i=1; i<=13; i++){ list.add("C " + i); } for(int i=1; i<=13; i++){ list.add("D " + i); } int num = Integer.parseInt(br.readLine()); for(int i=0; i<num; i++){ int a = list.indexOf(br.readLine()); list.remove(a); } for(String card: list){ System.out.println(card); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 2, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 229, 5 ], [ 229, 6 ], [ 6, 7 ], [ 6, 8 ], [ 229, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 53, 57 ], [ 45, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 58, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 11, 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 ], [ 112, 116 ], [ 111, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 124, 124 ], [ 124, 125 ], [ 124, 126 ], [ 124, 127 ], [ 127, 128 ], [ 127, 129 ], [ 11, 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 ], [ 144, 148 ], [ 143, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 150, 155 ], [ 156, 156 ], [ 156, 157 ], [ 156, 158 ], [ 156, 159 ], [ 159, 160 ], [ 159, 161 ], [ 11, 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 ], [ 176, 180 ], [ 175, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 182, 187 ], [ 188, 188 ], [ 188, 189 ], [ 188, 190 ], [ 188, 191 ], [ 191, 192 ], [ 191, 193 ], [ 11, 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 ], [ 209, 210 ], [ 209, 211 ], [ 208, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 220, 220 ], [ 220, 221 ], [ 220, 222 ], [ 220, 223 ], [ 223, 224 ], [ 223, 225 ], [ 9, 226 ], [ 226, 227 ], [ 0, 228 ], [ 228, 229 ], [ 228, 230 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint n = sc.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint n = sc.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}\n\t}\n}", "Main", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "public static void main(String[] args) {\n\t\tint n = sc.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}\n\t}", "main", "{\n\t\tint n = sc.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}\n\t}", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] S = new int[13];", "S", "new int[13]", "13", "int[] H = new int[13];", "H", "new int[13]", "13", "int[] C = new int[13];", "C", "new int[13]", "13", "int[] D = new int[13];", "D", "new int[13]", "13", "for (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}", "{\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}", "String temp_s = sc.next();", "temp_s", "sc.next()", "sc.next", "sc", "int temp_i = sc.nextInt()-1;", "temp_i", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "if (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}", "temp_s.equals(\"S\")", "temp_s.equals", "temp_s", "\"S\"", "{S[temp_i]++;}", "S[temp_i]++", "S[temp_i]", "S", "temp_i", "if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}", "temp_s.equals(\"H\")", "temp_s.equals", "temp_s", "\"H\"", "{H[temp_i]++;}", "H[temp_i]++", "H[temp_i]", "H", "temp_i", "if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}", "temp_s.equals(\"C\")", "temp_s.equals", "temp_s", "\"C\"", "{C[temp_i]++;}", "C[temp_i]++", "C[temp_i]", "C", "temp_i", "if (temp_s.equals(\"D\")) {D[temp_i]++;}", "temp_s.equals(\"D\")", "temp_s.equals", "temp_s", "\"D\"", "{D[temp_i]++;}", "D[temp_i]++", "D[temp_i]", "D", "temp_i", "for (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}", "{\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}", "if (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}", "S[i]==0", "S[i]", "S", "i", "0", "{System.out.println(\"S\"+\" \"+(i+1));}", "System.out.println(\"S\"+\" \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"S\"+\" \"+(i+1)", "\"S\"+\" \"+(i+1)", "\"S\"", "\" \"", "(i+1)", "i", "1", "for (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}", "{\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}", "if (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}", "H[i]==0", "H[i]", "H", "i", "0", "{System.out.println(\"H\"+\" \"+(i+1));}", "System.out.println(\"H\"+\" \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"H\"+\" \"+(i+1)", "\"H\"+\" \"+(i+1)", "\"H\"", "\" \"", "(i+1)", "i", "1", "for (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}", "{\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}", "if (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}", "C[i]==0", "C[i]", "C", "i", "0", "{System.out.println(\"C\"+\" \"+(i+1));}", "System.out.println(\"C\"+\" \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"C\"+\" \"+(i+1)", "\"C\"+\" \"+(i+1)", "\"C\"", "\" \"", "(i+1)", "i", "1", "for (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}", "{\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}", "if (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}", "D[i]==0", "D[i]", "D", "i", "0", "{System.out.println(\"D\"+\" \"+(i+1));}", "System.out.println(\"D\"+\" \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"D\"+\" \"+(i+1)", "\"D\"+\" \"+(i+1)", "\"D\"", "\" \"", "(i+1)", "i", "1", "String[] args", "args", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint n = sc.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}\n\t}\n}", "public class Main {\n\tstatic Scanner sc = new Scanner(System.in);\n\tpublic static void main(String[] args) {\n\t\tint n = sc.nextInt();\n\t\tint[] S = new int[13];\n\t\tint[] H = new int[13];\n\t\tint[] C = new int[13];\n\t\tint[] D = new int[13];\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString temp_s = sc.next();\n\t\t\tint temp_i = sc.nextInt()-1;\n\t\t\tif (temp_s.equals(\"S\")) {S[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"H\")) {H[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"C\")) {C[temp_i]++;}\n\t\t\telse if (temp_s.equals(\"D\")) {D[temp_i]++;}\n\t\t}\n\t\t\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (S[i]==0) {System.out.println(\"S\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (H[i]==0) {System.out.println(\"H\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (C[i]==0) {System.out.println(\"C\"+\" \"+(i+1));}\n\t\t}\n\t\tfor (int i=0; i<13; i++) {\n\t\t\tif (D[i]==0) {System.out.println(\"D\"+\" \"+(i+1));}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { static Scanner sc = new Scanner(System.in); public static void main(String[] args) { int n = sc.nextInt(); int[] S = new int[13]; int[] H = new int[13]; int[] C = new int[13]; int[] D = new int[13]; for (int i=0; i<n; i++) { String temp_s = sc.next(); int temp_i = sc.nextInt()-1; if (temp_s.equals("S")) {S[temp_i]++;} else if (temp_s.equals("H")) {H[temp_i]++;} else if (temp_s.equals("C")) {C[temp_i]++;} else if (temp_s.equals("D")) {D[temp_i]++;} } for (int i=0; i<13; i++) { if (S[i]==0) {System.out.println("S"+" "+(i+1));} } for (int i=0; i<13; i++) { if (H[i]==0) {System.out.println("H"+" "+(i+1));} } for (int i=0; i<13; i++) { if (C[i]==0) {System.out.println("C"+" "+(i+1));} } for (int i=0; i<13; i++) { if (D[i]==0) {System.out.println("D"+" "+(i+1));} } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 0, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 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, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 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 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 50, 56 ], [ 8, 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 ], [ 69, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 69, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 69, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 110, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 69, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 136, 138 ], [ 131, 139 ], [ 8, 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 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 166, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 180, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 174, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 202, 204 ], [ 174, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 210, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 217, 219 ], [ 174, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 232, 234 ], [ 6, 235 ], [ 235, 236 ] ]
[ "import java.util.Scanner;\n\nclass Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int c = sc.nextInt();\n\n int card[][];\n card = new int[4][13];\n for(int i=0;i<4;i++){\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }\n\n for(int k=1;k<=c;k++){\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }\n\n for(int x=0;x<4;x++){\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int c = sc.nextInt();\n\n int card[][];\n card = new int[4][13];\n for(int i=0;i<4;i++){\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }\n\n for(int k=1;k<=c;k++){\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }\n\n for(int x=0;x<4;x++){\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int c = sc.nextInt();\n\n int card[][];\n card = new int[4][13];\n for(int i=0;i<4;i++){\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }\n\n for(int k=1;k<=c;k++){\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }\n\n for(int x=0;x<4;x++){\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int c = sc.nextInt();\n\n int card[][];\n card = new int[4][13];\n for(int i=0;i<4;i++){\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }\n\n for(int k=1;k<=c;k++){\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }\n\n for(int x=0;x<4;x++){\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int c = sc.nextInt();", "c", "sc.nextInt()", "sc.nextInt", "sc", "int card[][];", "card", "card = new int[4][13]", "card", "new int[4][13]", "4", "13", "for(int i=0;i<4;i++){\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }", "{\n for(int j=0;j<13;j++){\n card[i][j] = 0;\n }\n }", "for(int j=0;j<13;j++){\n card[i][j] = 0;\n }", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n card[i][j] = 0;\n }", "{\n card[i][j] = 0;\n }", "card[i][j] = 0", "card[i][j]", "card[i]", "card", "i", "j", "0", "for(int k=1;k<=c;k++){\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }", "int k=1;", "int k=1;", "k", "1", "k<=c", "k", "c", "k++", "k++", "k", "{\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }", "{\n String m = sc.next();\n int n = sc.nextInt();\n if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }\n if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }\n if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }\n if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }\n }", "String m = sc.next();", "m", "sc.next()", "sc.next", "sc", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "if (m.equals(\"S\")){\n card[0][n-1] = 1;\n }", "m.equals(\"S\")", "m.equals", "m", "\"S\"", "{\n card[0][n-1] = 1;\n }", "card[0][n-1] = 1", "card[0][n-1]", "card[0]", "card", "0", "n-1", "n", "1", "1", "if (m.equals(\"H\")){\n card[1][n-1] = 1;\n }", "m.equals(\"H\")", "m.equals", "m", "\"H\"", "{\n card[1][n-1] = 1;\n }", "card[1][n-1] = 1", "card[1][n-1]", "card[1]", "card", "1", "n-1", "n", "1", "1", "if (m.equals(\"C\")){\n card[2][n-1] = 1;\n }", "m.equals(\"C\")", "m.equals", "m", "\"C\"", "{\n card[2][n-1] = 1;\n }", "card[2][n-1] = 1", "card[2][n-1]", "card[2]", "card", "2", "n-1", "n", "1", "1", "if (m.equals(\"D\")){\n card[3][n-1] = 1;\n }", "m.equals(\"D\")", "m.equals", "m", "\"D\"", "{\n card[3][n-1] = 1;\n }", "card[3][n-1] = 1", "card[3][n-1]", "card[3]", "card", "3", "n-1", "n", "1", "1", "for(int x=0;x<4;x++){\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }", "int x=0;", "int x=0;", "x", "0", "x<4", "x", "4", "x++", "x++", "x", "{\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }", "{\n for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }\n }", "for(int y=0;y<13;y++){\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }", "int y=0;", "int y=0;", "y", "0", "y<13", "y", "13", "y++", "y++", "y", "{\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }", "{\n if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }\n }", "if (card[x][y] == 0){\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }", "card[x][y] == 0", "card[x][y]", "card[x]", "card", "x", "y", "0", "{\n if (x==0){\n System.out.println(\"S \" + (y+1));\n }\n if (x==1){\n System.out.println(\"H \" + (y+1));\n }\n if (x==2){\n System.out.println(\"C \" + (y+1));\n }\n if (x==3){\n System.out.println(\"D \" + (y+1));\n }\n }", "if (x==0){\n System.out.println(\"S \" + (y+1));\n }", "x==0", "x", "0", "{\n System.out.println(\"S \" + (y+1));\n }", "System.out.println(\"S \" + (y+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (y+1)", "\"S \"", "(y+1)", "y", "1", "if (x==1){\n System.out.println(\"H \" + (y+1));\n }", "x==1", "x", "1", "{\n System.out.println(\"H \" + (y+1));\n }", "System.out.println(\"H \" + (y+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (y+1)", "\"H \"", "(y+1)", "y", "1", "if (x==2){\n System.out.println(\"C \" + (y+1));\n }", "x==2", "x", "2", "{\n System.out.println(\"C \" + (y+1));\n }", "System.out.println(\"C \" + (y+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (y+1)", "\"C \"", "(y+1)", "y", "1", "if (x==3){\n System.out.println(\"D \" + (y+1));\n }", "x==3", "x", "3", "{\n System.out.println(\"D \" + (y+1));\n }", "System.out.println(\"D \" + (y+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (y+1)", "\"D \"", "(y+1)", "y", "1", "String[] args", "args" ]
import java.util.Scanner; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int c = sc.nextInt(); int card[][]; card = new int[4][13]; for(int i=0;i<4;i++){ for(int j=0;j<13;j++){ card[i][j] = 0; } } for(int k=1;k<=c;k++){ String m = sc.next(); int n = sc.nextInt(); if (m.equals("S")){ card[0][n-1] = 1; } if (m.equals("H")){ card[1][n-1] = 1; } if (m.equals("C")){ card[2][n-1] = 1; } if (m.equals("D")){ card[3][n-1] = 1; } } for(int x=0;x<4;x++){ for(int y=0;y<13;y++){ if (card[x][y] == 0){ if (x==0){ System.out.println("S " + (y+1)); } if (x==1){ System.out.println("H " + (y+1)); } if (x==2){ System.out.println("C " + (y+1)); } if (x==3){ System.out.println("D " + (y+1)); } } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 17, 14, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 4, 18, 4, 18, 13, 17, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 218, 5 ], [ 218, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 43, 48 ], [ 40, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 54, 56 ], [ 40, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 57, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 57, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 74, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 74, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 91, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 99, 107 ], [ 91, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 108, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 116, 124 ], [ 108, 125 ], [ 8, 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 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 139, 150 ], [ 151, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 153, 159 ], [ 152, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 161, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 170, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 184, 187 ], [ 179, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 160, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 199, 205 ], [ 205, 206 ], [ 205, 207 ], [ 197, 208 ], [ 8, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 6, 215 ], [ 215, 216 ], [ 0, 217 ], [ 217, 218 ], [ 217, 219 ] ]
[ "import java.io.*;\n\npublic class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[][] card = new int[4][13];\n\n int sheets = Integer.parseInt(br.readLine());\n for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }\n\n for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }\n System.out.print(sb);\n\n }\n}", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[][] card = new int[4][13];\n\n int sheets = Integer.parseInt(br.readLine());\n for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }\n\n for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }\n System.out.print(sb);\n\n }\n}", "Main", "public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[][] card = new int[4][13];\n\n int sheets = Integer.parseInt(br.readLine());\n for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }\n\n for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }\n System.out.print(sb);\n\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[][] card = new int[4][13];\n\n int sheets = Integer.parseInt(br.readLine());\n for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }\n\n for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }\n System.out.print(sb);\n\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int[][] card = new int[4][13];", "card", "new int[4][13]", "4", "13", "int sheets = Integer.parseInt(br.readLine());", "sheets", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }", "int i=0;", "int i=0;", "i", "0", "i<sheets", "i", "sheets", "i++", "i++", "i", "{\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }", "{\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }", "String[] str = br.readLine().split(\" \");", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int num = Integer.parseInt(str[1]);", "num", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;", "str[0].equals(\"S\")", "str[0].equals", "str[0]", "str", "0", "\"S\"", "{\n card[0][num-1] = 1;\n }", "card[0][num-1] = 1", "card[0][num-1]", "card[0]", "card", "0", "num-1", "num", "1", "1", "if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;", "str[0].equals(\"H\")", "str[0].equals", "str[0]", "str", "0", "\"H\"", "{\n card[1][num-1] = 1;\n }", "card[1][num-1] = 1", "card[1][num-1]", "card[1]", "card", "1", "num-1", "num", "1", "1", "if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;", "str[0].equals(\"C\")", "str[0].equals", "str[0]", "str", "0", "\"C\"", "{\n card[2][num-1] = 1;\n }", "card[2][num-1] = 1", "card[2][num-1]", "card[2]", "card", "2", "num-1", "num", "1", "1", "if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;", "str[0].equals(\"D\")", "str[0].equals", "str[0]", "str", "0", "\"D\"", "{\n card[3][num-1] = 1;\n }", "card[3][num-1] = 1", "card[3][num-1]", "card[3]", "card", "3", "num-1", "num", "1", "1", "break;", "for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }", "{\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }", "for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }", "{\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }", "if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }", "card[i][j] == 0", "card[i][j]", "card[i]", "card", "i", "j", "0", "{\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }", "if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }", "i == 0", "i", "0", "{\n sb.append(\"S\");\n }", "sb.append(\"S\")", "sb.append", "sb", "\"S\"", "if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }", "i == 1", "i", "1", "{\n sb.append(\"H\");\n }", "sb.append(\"H\")", "sb.append", "sb", "\"H\"", "if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }", "i == 2", "i", "2", "{\n sb.append(\"C\");\n }", "sb.append(\"C\")", "sb.append", "sb", "\"C\"", "if(i == 3){\n sb.append(\"D\");\n }", "i == 3", "i", "3", "{\n sb.append(\"D\");\n }", "sb.append(\"D\")", "sb.append", "sb", "\"D\"", "sb.append(\" \").append(j+1).append(\"\\n\")", "sb.append(\" \").append(j+1).append", "sb.append(\" \").append(j+1)", "sb.append(\" \").append", "sb.append(\" \")", "sb.append", "sb", "\" \"", "j+1", "j", "1", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[]args", "args", "public class Main{\n public static void main(String[]args)throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n StringBuilder sb = new StringBuilder();\n int[][] card = new int[4][13];\n\n int sheets = Integer.parseInt(br.readLine());\n for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }\n\n for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }\n System.out.print(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 StringBuilder sb = new StringBuilder();\n int[][] card = new int[4][13];\n\n int sheets = Integer.parseInt(br.readLine());\n for(int i=0; i<sheets; i++){\n String[] str = br.readLine().split(\" \");\n int num = Integer.parseInt(str[1]);\n if(str[0].equals(\"S\")){\n card[0][num-1] = 1;\n }else if(str[0].equals(\"H\")){\n card[1][num-1] = 1;\n }else if(str[0].equals(\"C\")){\n card[2][num-1] = 1;\n }else if(str[0].equals(\"D\")){\n card[3][num-1] = 1;\n }else break;\n }\n\n for(int i=0; i<4; i++){\n for(int j=0; j<13; j++){\n if( card[i][j] == 0){\n if(i == 0){\n sb.append(\"S\");\n }else if(i == 1){\n sb.append(\"H\");\n }else if(i == 2){\n sb.append(\"C\");\n }else if(i == 3){\n sb.append(\"D\");\n }\n sb.append(\" \").append(j+1).append(\"\\n\");\n }\n }\n }\n System.out.print(sb);\n\n }\n}", "Main" ]
import java.io.*; public class Main{ public static void main(String[]args)throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int[][] card = new int[4][13]; int sheets = Integer.parseInt(br.readLine()); for(int i=0; i<sheets; i++){ String[] str = br.readLine().split(" "); int num = Integer.parseInt(str[1]); if(str[0].equals("S")){ card[0][num-1] = 1; }else if(str[0].equals("H")){ card[1][num-1] = 1; }else if(str[0].equals("C")){ card[2][num-1] = 1; }else if(str[0].equals("D")){ card[3][num-1] = 1; }else break; } for(int i=0; i<4; i++){ for(int j=0; j<13; j++){ if( card[i][j] == 0){ if(i == 0){ sb.append("S"); }else if(i == 1){ sb.append("H"); }else if(i == 2){ sb.append("C"); }else if(i == 3){ sb.append("D"); } sb.append(" ").append(j+1).append("\n"); } } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 13, 2, 2, 2, 13, 17, 2, 13, 17, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 13, 17, 17, 3, 4, 13, 17, 13, 4, 13, 17, 13, 4, 13, 17, 13, 4, 13, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 171, 5 ], [ 171, 6 ], [ 6, 7 ], [ 6, 8 ], [ 171, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 12, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 12, 22 ], [ 22, 23 ], [ 23, 24 ], [ 12, 25 ], [ 26, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 27, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 39, 38 ], [ 42, 39 ], [ 39, 40 ], [ 39, 41 ], [ 42, 42 ], [ 42, 43 ], [ 42, 44 ], [ 39, 45 ], [ 9, 46 ], [ 46, 47 ], [ 9, 48 ], [ 48, 49 ], [ 171, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 52, 61 ], [ 61, 62 ], [ 61, 63 ], [ 52, 65 ], [ 65, 66 ], [ 65, 67 ], [ 52, 69 ], [ 69, 70 ], [ 69, 71 ], [ 52, 73 ], [ 73, 74 ], [ 73, 75 ], [ 52, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 77, 85 ], [ 85, 86 ], [ 86, 87 ], [ 77, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 89, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 89, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 105, 111 ], [ 104, 112 ], [ 100, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 116, 122 ], [ 115, 123 ], [ 100, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 130, 132 ], [ 127, 133 ], [ 126, 134 ], [ 100, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 141, 143 ], [ 138, 144 ], [ 137, 145 ], [ 52, 146 ], [ 146, 147 ], [ 146, 148 ], [ 146, 149 ], [ 52, 150 ], [ 150, 151 ], [ 150, 152 ], [ 150, 153 ], [ 52, 154 ], [ 154, 155 ], [ 154, 156 ], [ 154, 157 ], [ 52, 158 ], [ 158, 159 ], [ 158, 160 ], [ 158, 161 ], [ 52, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 50, 168 ], [ 168, 169 ], [ 0, 170 ], [ 170, 171 ], [ 170, 172 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n static StringBuilder sb = new StringBuilder();\n \n static void printCard(char c, int[] array){\n for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }\n }\n \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int[] s = new int[13];\n int[] h = new int[13];\n int[] c = new int[13];\n int[] d = new int[13];\n \n for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }\n \n printCard('S', s);\n printCard('H', h);\n printCard('C', c);\n printCard('D', d);\n \n System.out.print(sb);\n \n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n static StringBuilder sb = new StringBuilder();\n \n static void printCard(char c, int[] array){\n for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }\n }\n \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int[] s = new int[13];\n int[] h = new int[13];\n int[] c = new int[13];\n int[] d = new int[13];\n \n for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }\n \n printCard('S', s);\n printCard('H', h);\n printCard('C', c);\n printCard('D', d);\n \n System.out.print(sb);\n \n }\n}", "Main", "static StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "static void printCard(char c, int[] array){\n for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }\n }", "printCard", "{\n for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }\n }", "for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }", "{\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }", "if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }", "array[i] == 0", "array[i]", "array", "i", "0", "{\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }", "sb.append(c + \" \" + (i + 1) + \"\\n\")", "sb.append", "sb", "c + \" \" + (i + 1) + \"\\n\"", "(i + 1)", "c + \" \" + (i + 1) + \"\\n\"", "c", "\" \"", "(i + 1)", "i", "1", "\"\\n\"", "char c", "c", "int[] array", "array", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int[] s = new int[13];\n int[] h = new int[13];\n int[] c = new int[13];\n int[] d = new int[13];\n \n for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }\n \n printCard('S', s);\n printCard('H', h);\n printCard('C', c);\n printCard('D', d);\n \n System.out.print(sb);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int[] s = new int[13];\n int[] h = new int[13];\n int[] c = new int[13];\n int[] d = new int[13];\n \n for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }\n \n printCard('S', s);\n printCard('H', h);\n printCard('C', c);\n printCard('D', d);\n \n System.out.print(sb);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "int[] s = new int[13];", "s", "new int[13]", "13", "int[] h = new int[13];", "h", "new int[13]", "13", "int[] c = new int[13];", "c", "new int[13]", "13", "int[] d = new int[13];", "d", "new int[13]", "13", "for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }", "{\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }", "String simbol = sc.next();", "simbol", "sc.next()", "sc.next", "sc", "int cardNum = sc.nextInt();", "cardNum", "sc.nextInt()", "sc.nextInt", "sc", "switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }", "simbol", "case \"S\":", "\"S\"", "case \"S\":", "s[cardNum - 1] = 1", "s[cardNum - 1]", "s", "cardNum - 1", "cardNum", "1", "1", "break;", "case \"H\":", "\"H\"", "case \"H\":", "h[cardNum - 1] = 1", "h[cardNum - 1]", "h", "cardNum - 1", "cardNum", "1", "1", "break;", "case \"C\":", "\"C\"", "case \"C\":", "c[cardNum - 1] = 1", "c[cardNum - 1]", "c", "cardNum - 1", "cardNum", "1", "1", "break;", "case \"D\":", "\"D\"", "case \"D\":", "d[cardNum - 1] = 1", "d[cardNum - 1]", "d", "cardNum - 1", "cardNum", "1", "1", "break;", "printCard('S', s)", "printCard", "'S'", "s", "printCard('H', h)", "printCard", "'H'", "h", "printCard('C', c)", "printCard", "'C'", "c", "printCard('D', d)", "printCard", "'D'", "d", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main{\n static StringBuilder sb = new StringBuilder();\n \n static void printCard(char c, int[] array){\n for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }\n }\n \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int[] s = new int[13];\n int[] h = new int[13];\n int[] c = new int[13];\n int[] d = new int[13];\n \n for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }\n \n printCard('S', s);\n printCard('H', h);\n printCard('C', c);\n printCard('D', d);\n \n System.out.print(sb);\n \n }\n}", "public class Main{\n static StringBuilder sb = new StringBuilder();\n \n static void printCard(char c, int[] array){\n for(int i = 0; i < array.length; i++){\n if(array[i] == 0){\n sb.append(c + \" \" + (i + 1) + \"\\n\");\n }\n }\n }\n \n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int[] s = new int[13];\n int[] h = new int[13];\n int[] c = new int[13];\n int[] d = new int[13];\n \n for(int i = 0; i < num; i++){\n String simbol = sc.next();\n int cardNum = sc.nextInt();\n switch(simbol){\n case \"S\": s[cardNum - 1] = 1 ; break;\n case \"H\": h[cardNum - 1] = 1 ; break;\n case \"C\": c[cardNum - 1] = 1 ; break;\n case \"D\": d[cardNum - 1] = 1 ; break;\n }\n }\n \n printCard('S', s);\n printCard('H', h);\n printCard('C', c);\n printCard('D', d);\n \n System.out.print(sb);\n \n }\n}", "Main" ]
import java.util.Scanner; public class Main{ static StringBuilder sb = new StringBuilder(); static void printCard(char c, int[] array){ for(int i = 0; i < array.length; i++){ if(array[i] == 0){ sb.append(c + " " + (i + 1) + "\n"); } } } public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int[] s = new int[13]; int[] h = new int[13]; int[] c = new int[13]; int[] d = new int[13]; for(int i = 0; i < num; i++){ String simbol = sc.next(); int cardNum = sc.nextInt(); switch(simbol){ case "S": s[cardNum - 1] = 1 ; break; case "H": h[cardNum - 1] = 1 ; break; case "C": c[cardNum - 1] = 1 ; break; case "D": d[cardNum - 1] = 1 ; break; } } printCard('S', s); printCard('H', h); printCard('C', c); printCard('D', d); System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 39, 17, 17, 17, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 13, 30, 0, 13, 17, 3, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 131, 5 ], [ 131, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 11, 14 ], [ 11, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 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 ], [ 77, 79 ], [ 76, 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 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 100, 105 ], [ 93, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 76, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 122, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 122, 127 ], [ 6, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tfinal String[] suits = {\"S\", \"H\", \"C\", \"D\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString[] cards = new String[n];\n\t\tsc.nextLine();\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\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\tfinal String[] suits = {\"S\", \"H\", \"C\", \"D\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString[] cards = new String[n];\n\t\tsc.nextLine();\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tfinal String[] suits = {\"S\", \"H\", \"C\", \"D\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString[] cards = new String[n];\n\t\tsc.nextLine();\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "main", "{\n\t\tfinal String[] suits = {\"S\", \"H\", \"C\", \"D\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString[] cards = new String[n];\n\t\tsc.nextLine();\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}", "final String[] suits = {\"S\", \"H\", \"C\", \"D\"};", "suits", "{\"S\", \"H\", \"C\", \"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] cards = new String[n];", "cards", "new String[n]", "n", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tcards[i] = sc.nextLine();\n\t\t}", "{\n\t\t\tcards[i] = sc.nextLine();\n\t\t}", "cards[i] = sc.nextLine()", "cards[i]", "cards", "i", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}", "int j=1;", "int j=1;", "j", "1", "j<=13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}", "boolean flag_found = false;", "flag_found", "false", "for(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<n", "k", "n", "k++", "k++", "k", "{\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "{\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}", "if(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "cards[k].equals(suits[i] + \" \" + j)", "cards[k].equals", "cards[k]", "cards", "k", "suits[i] + \" \" + j", "suits[i] + \" \" + j", "suits[i]", "suits", "i", "\" \"", "j", "{\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "flag_found = true", "flag_found", "true", "break;", "if(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}", "flag_found == false", "flag_found", "false", "{\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}", "System.out.println(suits[i] + \" \" + j)", "System.out.println", "System.out", "System", "System.out", "suits[i] + \" \" + j", "suits[i] + \" \" + j", "suits[i]", "suits", "i", "\" \"", "j", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tfinal String[] suits = {\"S\", \"H\", \"C\", \"D\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString[] cards = new String[n];\n\t\tsc.nextLine();\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tfinal String[] suits = {\"S\", \"H\", \"C\", \"D\"};\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString[] cards = new String[n];\n\t\tsc.nextLine();\n\t\tfor(int i=0; i<n; i++){\n\t\t\tcards[i] = sc.nextLine();\n\t\t}\n\t\t\n\t\tfor(int i=0; i<4; i++){\n\t\t\tfor(int j=1; j<=13; j++){\n\t\t\t\tboolean flag_found = false;\n\t\t\t\tfor(int k=0; k<n; k++){\n\t\t\t\t\tif(cards[k].equals(suits[i] + \" \" + j)){\n\t\t\t\t\t\tflag_found = true;\n\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\tif(flag_found == false){\n\t\t\t\t\tSystem.out.println(suits[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { final String[] suits = {"S", "H", "C", "D"}; Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] cards = new String[n]; sc.nextLine(); for(int i=0; i<n; i++){ cards[i] = sc.nextLine(); } for(int i=0; i<4; i++){ for(int j=1; j<=13; j++){ boolean flag_found = false; for(int k=0; k<n; k++){ if(cards[k].equals(suits[i] + " " + j)){ flag_found = true; break; } } if(flag_found == false){ System.out.println(suits[i] + " " + j); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 18, 13, 17, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 17, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 13, 17, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 13, 17, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 2, 13, 17, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 222, 5 ], [ 222, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 22, 27 ], [ 27, 28 ], [ 27, 29 ], [ 22, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 45, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 60, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 86, 88 ], [ 81, 89 ], [ 75, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 96, 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 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 131, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 131, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 153, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 172, 174 ], [ 153, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 175, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 194, 196 ], [ 175, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 197, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 216, 218 ], [ 6, 219 ], [ 219, 220 ], [ 0, 221 ], [ 221, 222 ], [ 221, 223 ] ]
[ "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\tboolean num[][] = new boolean[4][13];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\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\t\tint n = sc.nextInt();\n\t\tboolean num[][] = new boolean[4][13];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tboolean num[][] = new boolean[4][13];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tboolean num[][] = new boolean[4][13];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\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", "boolean num[][] = new boolean[4][13];", "num", "new boolean[4][13]", "4", "13", "for (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\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 tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}", "{\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}", "String tempSuit = sc.next();", "tempSuit", "sc.next()", "sc.next", "sc", "int tempNum = sc.nextInt();", "tempNum", "sc.nextInt()", "sc.nextInt", "sc", "if (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}", "tempSuit.equals(\"S\")", "tempSuit.equals", "tempSuit", "\"S\"", "{\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t}", "num[0][tempNum - 1] = true", "num[0][tempNum - 1]", "num[0]", "num", "0", "tempNum - 1", "tempNum", "1", "true", "if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}", "tempSuit.equals(\"H\")", "tempSuit.equals", "tempSuit", "\"H\"", "{\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t}", "num[1][tempNum - 1] = true", "num[1][tempNum - 1]", "num[1]", "num", "1", "tempNum - 1", "tempNum", "1", "true", "if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}", "tempSuit.equals(\"C\")", "tempSuit.equals", "tempSuit", "\"C\"", "{\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t}", "num[2][tempNum - 1] = true", "num[2][tempNum - 1]", "num[2]", "num", "2", "tempNum - 1", "tempNum", "1", "true", "if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}", "tempSuit.equals(\"D\")", "tempSuit.equals", "tempSuit", "\"D\"", "{\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}", "num[3][tempNum - 1] = true", "num[3][tempNum - 1]", "num[3]", "num", "3", "tempNum - 1", "tempNum", "1", "true", "for (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "if (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}", "i == 0 && !num[i][j]", "i == 0", "i", "0", "!num[i][j]", "num[i][j]", "num[i]", "num", "i", "j", "{\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t}", "System.out.println(\"S \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (j + 1)", "\"S \"", "(j + 1)", "j", "1", "if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}", "i == 1 && !num[i][j]", "i == 1", "i", "1", "!num[i][j]", "num[i][j]", "num[i]", "num", "i", "j", "{\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t}", "System.out.println(\"H \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (j + 1)", "\"H \"", "(j + 1)", "j", "1", "if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}", "i == 2 && !num[i][j]", "i == 2", "i", "2", "!num[i][j]", "num[i][j]", "num[i]", "num", "i", "j", "{\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t}", "System.out.println(\"C \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (j + 1)", "\"C \"", "(j + 1)", "j", "1", "if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}", "i == 3 && !num[i][j]", "i == 3", "i", "3", "!num[i][j]", "num[i][j]", "num[i]", "num", "i", "j", "{\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}", "System.out.println(\"D \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (j + 1)", "\"D \"", "(j + 1)", "j", "1", "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\tboolean num[][] = new boolean[4][13];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tboolean num[][] = new boolean[4][13];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString tempSuit = sc.next();\n\t\t\tint tempNum = sc.nextInt();\n\t\t\tif (tempSuit.equals(\"S\")) {\n\t\t\t\tnum[0][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"H\")) {\n\t\t\t\tnum[1][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"C\")) {\n\t\t\t\tnum[2][tempNum - 1] = true;\n\t\t\t} else if (tempSuit.equals(\"D\")) {\n\t\t\t\tnum[3][tempNum - 1] = true;\n\t\t\t}\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 13; j++) {\n\t\t\t\tif (i == 0 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"S \" + (j + 1));\n\t\t\t\t} else if (i == 1 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"H \" + (j + 1));\n\t\t\t\t} else if (i == 2 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"C \" + (j + 1));\n\t\t\t\t} else if (i == 3 && !num[i][j]) {\n\t\t\t\t\tSystem.out.println(\"D \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean num[][] = new boolean[4][13]; for (int i = 0; i < n; i++) { String tempSuit = sc.next(); int tempNum = sc.nextInt(); if (tempSuit.equals("S")) { num[0][tempNum - 1] = true; } else if (tempSuit.equals("H")) { num[1][tempNum - 1] = true; } else if (tempSuit.equals("C")) { num[2][tempNum - 1] = true; } else if (tempSuit.equals("D")) { num[3][tempNum - 1] = true; } } for (int i = 0; i < 4; i++) { for (int j = 0; j < 13; j++) { if (i == 0 && !num[i][j]) { System.out.println("S " + (j + 1)); } else if (i == 1 && !num[i][j]) { System.out.println("H " + (j + 1)); } else if (i == 2 && !num[i][j]) { System.out.println("C " + (j + 1)); } else if (i == 3 && !num[i][j]) { System.out.println("D " + (j + 1)); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 39, 17, 17, 17, 17, 41, 13, 20, 17, 4, 18, 13, 17, 13, 41, 13, 20, 17, 4, 18, 13, 17, 13, 41, 13, 20, 17, 4, 18, 13, 17, 13, 41, 13, 20, 17, 4, 18, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 18, 4, 18, 13, 13, 2, 13, 17, 40, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 4, 18, 13, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 158, 8 ], [ 158, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 25, 28 ], [ 25, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 34, 38 ], [ 11, 39 ], [ 39, 40 ], [ 39, 41 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 43, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 11, 57 ], [ 57, 58 ], [ 57, 59 ], [ 11, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 61, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 78, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 78, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 89, 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 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 132, 133 ], [ 132, 134 ], [ 128, 135 ], [ 127, 136 ], [ 126, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 138, 143 ], [ 144, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 144, 149 ], [ 149, 150 ], [ 149, 151 ], [ 11, 152 ], [ 152, 153 ], [ 153, 154 ], [ 9, 155 ], [ 155, 156 ], [ 0, 157 ], [ 157, 158 ], [ 157, 159 ] ]
[ "import java.util.Hashtable;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tHashtable<String, int[]> card = new Hashtable<String, int[]>();\n\n\t\tString[] priority = {\"S\", \"H\", \"C\", \"D\"};\n\n\t\tint[] s = new int[13];\n\t\tcard.put(\"S\", s);\n\t\tint[] h = new int[13];\n\t\tcard.put(\"H\", h);\n\t\tint[] c = new int[13];\n\t\tcard.put(\"C\", c);\n\t\tint[] d = new int[13];\n\t\tcard.put(\"D\", d);\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}\n\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "import java.util.Hashtable;", "Hashtable", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tHashtable<String, int[]> card = new Hashtable<String, int[]>();\n\n\t\tString[] priority = {\"S\", \"H\", \"C\", \"D\"};\n\n\t\tint[] s = new int[13];\n\t\tcard.put(\"S\", s);\n\t\tint[] h = new int[13];\n\t\tcard.put(\"H\", h);\n\t\tint[] c = new int[13];\n\t\tcard.put(\"C\", c);\n\t\tint[] d = new int[13];\n\t\tcard.put(\"D\", d);\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}\n\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tHashtable<String, int[]> card = new Hashtable<String, int[]>();\n\n\t\tString[] priority = {\"S\", \"H\", \"C\", \"D\"};\n\n\t\tint[] s = new int[13];\n\t\tcard.put(\"S\", s);\n\t\tint[] h = new int[13];\n\t\tcard.put(\"H\", h);\n\t\tint[] c = new int[13];\n\t\tcard.put(\"C\", c);\n\t\tint[] d = new int[13];\n\t\tcard.put(\"D\", d);\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}\n\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tHashtable<String, int[]> card = new Hashtable<String, int[]>();\n\n\t\tString[] priority = {\"S\", \"H\", \"C\", \"D\"};\n\n\t\tint[] s = new int[13];\n\t\tcard.put(\"S\", s);\n\t\tint[] h = new int[13];\n\t\tcard.put(\"H\", h);\n\t\tint[] c = new int[13];\n\t\tcard.put(\"C\", c);\n\t\tint[] d = new int[13];\n\t\tcard.put(\"D\", d);\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}\n\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "Hashtable<String, int[]> card = new Hashtable<String, int[]>();", "card", "new Hashtable<String, int[]>()", "String[] priority = {\"S\", \"H\", \"C\", \"D\"};", "priority", "{\"S\", \"H\", \"C\", \"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "int[] s = new int[13];", "s", "new int[13]", "13", "card.put(\"S\", s)", "card.put", "card", "\"S\"", "s", "int[] h = new int[13];", "h", "new int[13]", "13", "card.put(\"H\", h)", "card.put", "card", "\"H\"", "h", "int[] c = new int[13];", "c", "new int[13]", "13", "card.put(\"C\", c)", "card.put", "card", "\"C\"", "c", "int[] d = new int[13];", "d", "new int[13]", "13", "card.put(\"D\", d)", "card.put", "card", "\"D\"", "d", "for(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}", "{\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}", "String name = scan.next();", "name", "scan.next()", "scan.next", "scan", "int value = scan.nextInt();", "value", "scan.nextInt()", "scan.nextInt", "scan", "card.get(name)[value - 1] = -1", "card.get(name)[value - 1]", "card.get(name)", "card.get", "card", "name", "value - 1", "value", "1", "-1", "1", "for(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "if(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}", "card.get(priority[i])[j] == 0", "card.get(priority[i])[j]", "card.get(priority[i])", "card.get", "card", "priority[i]", "priority", "i", "j", "0", "{\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}", "System.out.println(priority[i] + \" \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "priority[i] + \" \" + (j + 1)", "priority[i] + \" \" + (j + 1)", "priority[i]", "priority", "i", "\" \"", "(j + 1)", "j", "1", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tHashtable<String, int[]> card = new Hashtable<String, int[]>();\n\n\t\tString[] priority = {\"S\", \"H\", \"C\", \"D\"};\n\n\t\tint[] s = new int[13];\n\t\tcard.put(\"S\", s);\n\t\tint[] h = new int[13];\n\t\tcard.put(\"H\", h);\n\t\tint[] c = new int[13];\n\t\tcard.put(\"C\", c);\n\t\tint[] d = new int[13];\n\t\tcard.put(\"D\", d);\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}\n\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\n\t\tHashtable<String, int[]> card = new Hashtable<String, int[]>();\n\n\t\tString[] priority = {\"S\", \"H\", \"C\", \"D\"};\n\n\t\tint[] s = new int[13];\n\t\tcard.put(\"S\", s);\n\t\tint[] h = new int[13];\n\t\tcard.put(\"H\", h);\n\t\tint[] c = new int[13];\n\t\tcard.put(\"C\", c);\n\t\tint[] d = new int[13];\n\t\tcard.put(\"D\", d);\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tString name = scan.next();\n\t\t\tint value = scan.nextInt();\n\t\t\tcard.get(name)[value - 1] = -1;\n\t\t}\n\n\t\tfor(int i = 0; i < 4; i++) {\n\t\t\tfor(int j = 0; j < 13; j++) {\n\t\t\t\tif(card.get(priority[i])[j] == 0) {\n\t\t\t\t\tSystem.out.println(priority[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Hashtable; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); Hashtable<String, int[]> card = new Hashtable<String, int[]>(); String[] priority = {"S", "H", "C", "D"}; int[] s = new int[13]; card.put("S", s); int[] h = new int[13]; card.put("H", h); int[] c = new int[13]; card.put("C", c); int[] d = new int[13]; card.put("D", d); for(int i = 0; i < n; i++) { String name = scan.next(); int value = scan.nextInt(); card.get(name)[value - 1] = -1; } for(int i = 0; i < 4; i++) { for(int j = 0; j < 13; j++) { if(card.get(priority[i])[j] == 0) { System.out.println(priority[i] + " " + (j + 1)); } } } scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 2, 4, 18, 13, 17, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 30, 0, 13, 17, 14, 13, 30, 0, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 40, 13, 14, 2, 13, 17, 30, 0, 13, 17, 14, 2, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 144, 5 ], [ 144, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 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 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 74, 85 ], [ 86, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 94, 94 ], [ 94, 95 ], [ 94, 96 ], [ 94, 97 ], [ 87, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 73, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 102, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 115, 115 ], [ 115, 116 ], [ 115, 117 ], [ 115, 118 ], [ 60, 119 ], [ 119, 120 ], [ 60, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 121, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 129, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 6, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.Scanner;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String[] a = new String[n];\n for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }\n String rank = \"S\";\n int ranks = 1;\n boolean have = false;\n while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\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 scan = new Scanner(System.in);\n int n = scan.nextInt();\n String[] a = new String[n];\n for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }\n String rank = \"S\";\n int ranks = 1;\n boolean have = false;\n while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }\n\n\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String[] a = new String[n];\n for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }\n String rank = \"S\";\n int ranks = 1;\n boolean have = false;\n while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }\n\n\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String[] a = new String[n];\n for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }\n String rank = \"S\";\n int ranks = 1;\n boolean have = false;\n while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }\n\n\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "String[] a = new String[n];", "a", "new String[n]", "n", "for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }", "int x = 0;", "int x = 0;", "x", "0", "x < n", "x", "n", "x++", "x++", "x", "{\n a[x] = scan.next() + \" \" + scan.nextInt();\n }", "{\n a[x] = scan.next() + \" \" + scan.nextInt();\n }", "a[x] = scan.next() + \" \" + scan.nextInt()", "a[x]", "a", "x", "scan.next() + \" \" + scan.nextInt()", "scan.next() + \" \" + scan.nextInt()", "scan.next()", "scan.next", "scan", "\" \"", "scan.nextInt()", "scan.nextInt", "scan", "String rank = \"S\";", "rank", "\"S\"", "int ranks = 1;", "ranks", "1", "boolean have = false;", "have", "false", "while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }", "ranks < 5", "ranks", "5", "{\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }", "for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }", "int card = 1;", "int card = 1;", "card", "1", "card < 14", "card", "14", "card++", "card++", "card", "{\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }", "{\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }", "for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }", "int x = 0;", "int x = 0;", "x", "0", "x < n", "x", "n", "x++", "x++", "x", "{\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }", "{\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }", "if(a[x].equals(rank + \" \" + card)){\n have = true;\n }", "a[x].equals(rank + \" \" + card)", "a[x].equals", "a[x]", "a", "x", "rank + \" \" + card", "rank + \" \" + card", "rank", "\" \"", "card", "{\n have = true;\n }", "have = true", "have", "true", "if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }", "have", "{\n have = false;\n }", "have = false", "have", "false", "{\n System.out.println(rank + \" \" + card);\n }", "System.out.println(rank + \" \" + card)", "System.out.println", "System.out", "System", "System.out", "rank + \" \" + card", "rank + \" \" + card", "rank", "\" \"", "card", "ranks++", "ranks", "if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }", "ranks == 2", "ranks", "2", "{\n rank = \"H\";\n }", "rank = \"H\"", "rank", "\"H\"", "if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }", "ranks == 3", "ranks", "3", "{\n rank = \"C\";\n }", "rank = \"C\"", "rank", "\"C\"", "{\n rank = \"D\";\n }", "rank = \"D\"", "rank", "\"D\"", "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 String[] a = new String[n];\n for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }\n String rank = \"S\";\n int ranks = 1;\n boolean have = false;\n while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }\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 String[] a = new String[n];\n for(int x = 0; x < n; x++){\n a[x] = scan.next() + \" \" + scan.nextInt();\n }\n String rank = \"S\";\n int ranks = 1;\n boolean have = false;\n while(ranks < 5) {\n for (int card = 1; card < 14; card++){\n for(int x = 0; x < n; x++){\n if(a[x].equals(rank + \" \" + card)){\n have = true;\n }\n }\n if (have){\n have = false;\n }\n else{\n System.out.println(rank + \" \" + card);\n }\n }\n ranks++;\n if(ranks == 2){\n rank = \"H\";\n }\n else if(ranks == 3){\n rank = \"C\";\n }\n else{\n rank = \"D\";\n }\n }\n\n\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(); String[] a = new String[n]; for(int x = 0; x < n; x++){ a[x] = scan.next() + " " + scan.nextInt(); } String rank = "S"; int ranks = 1; boolean have = false; while(ranks < 5) { for (int card = 1; card < 14; card++){ for(int x = 0; x < n; x++){ if(a[x].equals(rank + " " + card)){ have = true; } } if (have){ have = false; } else{ System.out.println(rank + " " + card); } } ranks++; if(ranks == 2){ rank = "H"; } else if(ranks == 3){ rank = "C"; } else{ rank = "D"; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 20, 17, 0, 18, 13, 17, 17, 0, 18, 13, 17, 17, 0, 18, 13, 17, 17, 0, 18, 13, 17, 17, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 13, 2, 2, 18, 13, 13, 17, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 305, 20 ], [ 305, 21 ], [ 21, 22 ], [ 305, 23 ], [ 23, 24 ], [ 305, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 40, 41 ], [ 41, 42 ], [ 25, 43 ], [ 43, 44 ], [ 305, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 49, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 49, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 49, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 49, 79 ], [ 79, 80 ], [ 79, 81 ], [ 49, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 96, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 99, 104 ], [ 96, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 96, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 115, 121 ], [ 114, 122 ], [ 110, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 126, 132 ], [ 125, 133 ], [ 110, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 138, 142 ], [ 137, 143 ], [ 136, 144 ], [ 110, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 149, 153 ], [ 148, 154 ], [ 147, 155 ], [ 49, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 156, 164 ], [ 164, 165 ], [ 165, 166 ], [ 156, 167 ], [ 168, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 174, 175 ], [ 174, 176 ], [ 169, 177 ], [ 177, 178 ], [ 178, 179 ], [ 169, 180 ], [ 181, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 183, 189 ], [ 182, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 191, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 195, 200 ], [ 305, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 201, 205 ], [ 205, 206 ], [ 201, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 207, 213 ], [ 213, 214 ], [ 201, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 218, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 217, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 232, 235 ], [ 235, 236 ], [ 236, 237 ], [ 201, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 241, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 240, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 255, 258 ], [ 258, 259 ], [ 259, 260 ], [ 201, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 265, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 264, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 263, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 201, 281 ], [ 281, 282 ], [ 281, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 286, 287 ], [ 286, 288 ], [ 285, 289 ], [ 289, 290 ], [ 290, 291 ], [ 291, 292 ], [ 284, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 283, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 298, 301 ], [ 301, 302 ], [ 302, 303 ], [ 0, 304 ], [ 304, 305 ], [ 304, 306 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n \n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n \n }\n\n}", "Main", "static InputReader in;", "in", "static PrintWriter out;", "out", "public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "main", "{\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}", "in = new InputReader(System.in)", "in", "new InputReader(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "Solution solver = new Solution();", "solver", "new Solution()", "solver.solve()", "solver.solve", "solver", "out.close()", "out.close", "out", "String[] args", "args", "static class Solution {\n void solve() throws IOException {\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }\n// End Solution\n}", "Solution", "void solve() throws IOException {\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }", "solve", "{\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }", "char[] suit = new char[5];", "suit", "new char[5]", "5", "suit[1] = 'S'", "suit[1]", "suit", "1", "'S'", "suit[2] = 'H'", "suit[2]", "suit", "2", "'H'", "suit[3] = 'C'", "suit[3]", "suit", "3", "'C'", "suit[4] = 'D'", "suit[4]", "suit", "4", "'D'", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int[][] card = new int[5][14];", "card", "new int[5][14]", "5", "14", "for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }", "{\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }", "char tmpsuit = in.next().charAt(0);", "tmpsuit", "in.next().charAt(0)", "in.next().charAt", "in.next()", "in.next", "in", "0", "int num = in.nextInt();", "num", "in.nextInt()", "in.nextInt", "in", "switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }", "tmpsuit", "case 'S':", "'S'", "case 'S':", "card[1][num] = 1", "card[1][num]", "card[1]", "card", "1", "num", "1", "break;", "case 'H':", "'H'", "case 'H':", "card[2][num] = 1", "card[2][num]", "card[2]", "card", "2", "num", "1", "break;", "case 'C':", "'C'", "case 'C':", "card[3][num] = 1", "card[3][num]", "card[3]", "card", "3", "num", "1", "break;", "case 'D':", "'D'", "case 'D':", "card[4][num] = 1", "card[4][num]", "card[4]", "card", "4", "num", "1", "break;", "for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 4", "i", "4", "i++", "i++", "i", "{\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }", "{\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }", "for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }", "int j = 1;", "int j = 1;", "j", "1", "j <= 13", "j", "13", "j++", "j++", "j", "{\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }", "{\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }", "if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }", "card[i][j] != 1", "card[i][j]", "card[i]", "card", "i", "j", "1", "{\n out.println(suit[i]+\" \"+j);\n }", "out.println(suit[i]+\" \"+j)", "out.println", "out", "suit[i]+\" \"+j", "suit[i]+\" \"+j", "suit[i]", "suit", "i", "\" \"", "j", "static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n \n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream));\n }", "br = new BufferedReader(new InputStreamReader(stream))", "br", "new BufferedReader(new InputStreamReader(stream))", "InputStream stream", "stream", "public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "nextInt", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Integer.parseInt(st.nextToken());", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "nextLong", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Long.parseLong(st.nextToken());", "Long.parseLong(st.nextToken())", "Long.parseLong", "Long", "st.nextToken()", "st.nextToken", "st", "public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "nextDouble", "{\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }", "while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return Double.parseDouble(st.nextToken());", "Double.parseDouble(st.nextToken())", "Double.parseDouble", "Double", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n \n }\n\n}", "public class Main {\n static InputReader in;\n static PrintWriter out;\n\n static class Solution {\n void solve() throws IOException {\n char[] suit = new char[5];\n suit[1] = 'S';\n suit[2] = 'H';\n suit[3] = 'C';\n suit[4] = 'D';\n int n = in.nextInt();\n \n int[][] card = new int[5][14];\n for (int i = 1; i <= n; i++) {\n char tmpsuit = in.next().charAt(0);\n int num = in.nextInt();\n \n switch (tmpsuit) {\n case 'S':\n card[1][num] = 1;\n break;\n case 'H':\n card[2][num] = 1;\n break;\n case 'C':\n card[3][num] = 1;\n break;\n case 'D':\n card[4][num] = 1;\n break;\n }\n \n }\n \n for (int i = 1; i <= 4; i++) {\n for (int j = 1; j <= 13; j++) {\n if (card[i][j] != 1) {\n out.println(suit[i]+\" \"+j);\n }\n }\n }\n// End solve()\n }\n// End Solution\n}\n\n public static void main(String[] args) throws IOException {\n in = new InputReader(System.in);\n out = new PrintWriter(System.out);\n Solution solver = new Solution();\n solver.solve();\n out.close();\n}\n\n static class InputReader {\n public BufferedReader br;\n public StringTokenizer st;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream));\n }\n\n public int nextInt() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Integer.parseInt(st.nextToken());\n }\n\n public long nextLong() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Long.parseLong(st.nextToken());\n }\n\n public String next() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return st.nextToken();\n }\n\n public double nextDouble() throws IOException {\n while (st == null || !st.hasMoreTokens()) {\n st = new StringTokenizer(br.readLine());\n }\n return Double.parseDouble(st.nextToken());\n }\n\n \n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { static InputReader in; static PrintWriter out; static class Solution { void solve() throws IOException { char[] suit = new char[5]; suit[1] = 'S'; suit[2] = 'H'; suit[3] = 'C'; suit[4] = 'D'; int n = in.nextInt(); int[][] card = new int[5][14]; for (int i = 1; i <= n; i++) { char tmpsuit = in.next().charAt(0); int num = in.nextInt(); switch (tmpsuit) { case 'S': card[1][num] = 1; break; case 'H': card[2][num] = 1; break; case 'C': card[3][num] = 1; break; case 'D': card[4][num] = 1; break; } } for (int i = 1; i <= 4; i++) { for (int j = 1; j <= 13; j++) { if (card[i][j] != 1) { out.println(suit[i]+" "+j); } } } // End solve() } // End Solution } public static void main(String[] args) throws IOException { in = new InputReader(System.in); out = new PrintWriter(System.out); Solution solver = new Solution(); solver.solve(); out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer st; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream)); } public int nextInt() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Integer.parseInt(st.nextToken()); } public long nextLong() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Long.parseLong(st.nextToken()); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return st.nextToken(); } public double nextDouble() throws IOException { while (st == null || !st.hasMoreTokens()) { st = new StringTokenizer(br.readLine()); } return Double.parseDouble(st.nextToken()); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 38, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 17, 41, 13, 39, 17, 17, 17, 17, 28, 13, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 2, 2, 13, 17, 13, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 114, 17 ], [ 114, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 20, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 63, 66 ], [ 63, 67 ], [ 20, 68 ], [ 68, 69 ], [ 68, 70 ], [ 68, 71 ], [ 72, 72 ], [ 72, 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 ], [ 89, 89 ], [ 89, 90 ], [ 89, 91 ], [ 89, 92 ], [ 85, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 94, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 107, 107 ], [ 107, 108 ], [ 107, 109 ], [ 107, 110 ], [ 18, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String, Integer> card = new HashMap<>();\n try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }\n String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};\n for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String, Integer> card = new HashMap<>();\n try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }\n String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};\n for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String, Integer> card = new HashMap<>();\n try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }\n String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};\n for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String, Integer> card = new HashMap<>();\n try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }\n String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};\n for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Map<String, Integer> card = new HashMap<>();", "card", "new HashMap<>()", "try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }", "{\n br.close();\n }", "br.close()", "br.close", "br", "{\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n }", "int count = Integer.parseInt(br.readLine());", "count", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n card.put(br.readLine(), 1);\n }", "{\n card.put(br.readLine(), 1);\n }", "card.put(br.readLine(), 1)", "card.put", "card", "br.readLine()", "br.readLine", "br", "1", "String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};", "suitArr", "{\"S\", \"H\", \"C\", \"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }", "String suit", "suitArr", "{\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }", "{\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }", "for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }", "{\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }", "String temp = suit+\" \"+i;", "temp", "suit+\" \"+i", "suit+\" \"+i", "suit", "\" \"", "i", "if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }", "card.get(temp) == null", "card.get(temp)", "card.get", "card", "temp", "null", "{\n System.out.println(suit+\" \"+i);\n }", "System.out.println(suit+\" \"+i)", "System.out.println", "System.out", "System", "System.out", "suit+\" \"+i", "suit+\" \"+i", "suit", "\" \"", "i", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String, Integer> card = new HashMap<>();\n try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }\n String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};\n for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String, Integer> card = new HashMap<>();\n try {\n int count = Integer.parseInt(br.readLine());\n for (int i = 0; i < count; i++) {\n card.put(br.readLine(), 1);\n }\n } finally {\n br.close();\n }\n String[] suitArr = {\"S\", \"H\", \"C\", \"D\"};\n for (String suit : suitArr) {\n for (int i = 1; i <= 13; i++) {\n String temp = suit+\" \"+i;\n if (card.get(temp) == null) {\n System.out.println(suit+\" \"+i);\n }\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Map<String, Integer> card = new HashMap<>(); try { int count = Integer.parseInt(br.readLine()); for (int i = 0; i < count; i++) { card.put(br.readLine(), 1); } } finally { br.close(); } String[] suitArr = {"S", "H", "C", "D"}; for (String suit : suitArr) { for (int i = 1; i <= 13; i++) { String temp = suit+" "+i; if (card.get(temp) == null) { System.out.println(suit+" "+i); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 4, 18, 13, 14, 2, 13, 17, 0, 18, 13, 13, 17, 14, 2, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 2, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 2, 13, 17, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 14, 2, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 166, 5 ], [ 166, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 40, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 37, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 37, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 64, 70 ], [ 37, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 75, 81 ], [ 37, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 86, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 113, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 125, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 139, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 160, 162 ], [ 6, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "import java.util.*;\npublic class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint d;\n\t\tchar ch;\n\t\tint[] s = new int[66];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}\n\t\tfor(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint d;\n\t\tchar ch;\n\t\tint[] s = new int[66];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}\n\t\tfor(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint d;\n\t\tchar ch;\n\t\tint[] s = new int[66];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}\n\t\tfor(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint d;\n\t\tchar ch;\n\t\tint[] s = new int[66];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}\n\t\tfor(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}\n\t}", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "int d;", "d", "char ch;", "ch", "int[] s = new int[66];", "s", "new int[66]", "66", "for(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}", "{\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}", "ch = input.next().charAt(0)", "ch", "input.next().charAt(0)", "input.next().charAt", "input.next()", "input.next", "input", "0", "d = input.nextInt()", "d", "input.nextInt()", "input.nextInt", "input", "if (ch == 'S')s[d] = 1;", "ch == 'S'", "ch", "'S'", "s[d] = 1", "s[d]", "s", "d", "1", "if (ch == 'H')s[d+13] = 1;", "ch == 'H'", "ch", "'H'", "s[d+13] = 1", "s[d+13]", "s", "d+13", "d", "13", "1", "if (ch == 'C')s[d+26] = 1;", "ch == 'C'", "ch", "'C'", "s[d+26] = 1", "s[d+26]", "s", "d+26", "d", "26", "1", "if (ch == 'D')s[d+39] = 1;", "ch == 'D'", "ch", "'D'", "s[d+39] = 1", "s[d+39]", "s", "d+39", "d", "39", "1", "for(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 52", "i", "52", "i++", "i++", "i", "{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}", "if(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}", "s[i] == 0", "s[i]", "s", "i", "0", "{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}", "if (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));", "i < 14", "i", "14", "System.out.println(\"S \" + i)", "System.out.println", "System.out", "System", "System.out", "\"S \" + i", "\"S \"", "i", "if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));", "i < 27", "i", "27", "System.out.println(\"H \" + (i-13))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i-13)", "\"H \"", "(i-13)", "i", "13", "if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));", "i < 40", "i", "40", "System.out.println(\"C \" + (i-26))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i-26)", "\"C \"", "(i-26)", "i", "26", "System.out.println(\"D \" + (i-39))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i-39)", "\"D \"", "(i-39)", "i", "39", "String args[]", "args", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint d;\n\t\tchar ch;\n\t\tint[] s = new int[66];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}\n\t\tfor(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main\n{\n\tpublic static void main(String args[])\n\t{\n\t\tScanner input = new Scanner(System.in);\n\t\tint n = input.nextInt();\n\t\tint d;\n\t\tchar ch;\n\t\tint[] s = new int[66];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tch = input.next().charAt(0);\n\t\t\td = input.nextInt();\n\t\t\tif (ch == 'S')s[d] = 1;\n\t\t\tif (ch == 'H')s[d+13] = 1;\n\t\t\tif (ch == 'C')s[d+26] = 1;\n\t\t\tif (ch == 'D')s[d+39] = 1;\n\t\t}\n\t\tfor(int i = 1; i <= 52; i++)\n\t\t{\n\t\t\tif(s[i] == 0) \n\t\t\t{\n\t\t\t\tif (i < 14)System.out.println(\"S \" + i);\n\t\t\t\telse if (i < 27)System.out.println(\"H \" + (i-13));\n\t\t\t\telse if (i < 40)System.out.println(\"C \" + (i-26));\n\t\t\t\telse System.out.println(\"D \" + (i-39));\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner input = new Scanner(System.in); int n = input.nextInt(); int d; char ch; int[] s = new int[66]; for(int i = 0; i < n; i++){ ch = input.next().charAt(0); d = input.nextInt(); if (ch == 'S')s[d] = 1; if (ch == 'H')s[d+13] = 1; if (ch == 'C')s[d+26] = 1; if (ch == 'D')s[d+39] = 1; } for(int i = 1; i <= 52; i++) { if(s[i] == 0) { if (i < 14)System.out.println("S " + i); else if (i < 27)System.out.println("H " + (i-13)); else if (i < 40)System.out.println("C " + (i-26)); else System.out.println("D " + (i-39)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 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, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 18, 18, 13, 17, 2, 4, 18, 13, 18, 13, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 18, 18, 13, 13, 13, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 239, 11 ], [ 239, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 33, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 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 ], [ 70, 72 ], [ 14, 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 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 110, 117 ], [ 105, 118 ], [ 85, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 119, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 136, 138 ], [ 132, 139 ], [ 127, 140 ], [ 85, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 141, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 155, 158 ], [ 158, 159 ], [ 158, 160 ], [ 154, 161 ], [ 149, 162 ], [ 85, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 163, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 180, 181 ], [ 180, 182 ], [ 176, 183 ], [ 171, 184 ], [ 14, 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 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 198, 206 ], [ 206, 207 ], [ 207, 208 ], [ 198, 209 ], [ 210, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 212, 218 ], [ 211, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 220, 225 ], [ 226, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 226, 232 ], [ 226, 233 ], [ 233, 234 ], [ 233, 235 ], [ 12, 236 ], [ 236, 237 ], [ 0, 238 ], [ 238, 239 ], [ 238, 240 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int cardCount = Integer.parseInt(reader.readLine());\n String[][] card = new String[4][13];\n String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};\n\n for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }\n \n for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }\n \n for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int cardCount = Integer.parseInt(reader.readLine());\n String[][] card = new String[4][13];\n String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};\n\n for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }\n \n for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }\n \n for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int cardCount = Integer.parseInt(reader.readLine());\n String[][] card = new String[4][13];\n String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};\n\n for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }\n \n for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }\n \n for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }\n }", "main", "{\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int cardCount = Integer.parseInt(reader.readLine());\n String[][] card = new String[4][13];\n String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};\n\n for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }\n \n for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }\n \n for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }\n }", "BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));", "reader", "new BufferedReader(new InputStreamReader(System.in))", "int cardCount = Integer.parseInt(reader.readLine());", "cardCount", "Integer.parseInt(reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "String[][] card = new String[4][13];", "card", "new String[4][13]", "4", "13", "String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};", "CardPic", "{ \"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }", "int xx = 0 ;", "int xx = 0 ;", "xx", "0", "xx <= 3", "xx", "3", "xx++", "xx++", "xx", "{\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }", "{\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }", "for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }", "int yy = 0 ;", "int yy = 0 ;", "yy", "0", "yy <= 12", "yy", "12", "yy++", "yy++", "yy", "{\n card[xx][yy] = CardPic[xx];\n }", "{\n card[xx][yy] = CardPic[xx];\n }", "card[xx][yy] = CardPic[xx]", "card[xx][yy]", "card[xx]", "card", "xx", "yy", "CardPic[xx]", "CardPic", "xx", "for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < cardCount", "i", "cardCount", "i++", "i++", "i", "{\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }", "{\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }", "String line = reader.readLine();", "line", "reader.readLine()", "reader.readLine", "reader", "String column[] = line.split(\" \");", "column", "line.split(\" \")", "line.split", "line", "\" \"", "if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }", "column[0].equals(\"S\")", "column[0].equals", "column[0]", "column", "0", "\"S\"", "{\n card[0][Integer.parseInt(column[1])-1] = null;\n }", "card[0][Integer.parseInt(column[1])-1] = null", "card[0][Integer.parseInt(column[1])-1]", "card[0]", "card", "0", "Integer.parseInt(column[1])-1", "Integer.parseInt(column[1])", "Integer.parseInt", "Integer", "column[1]", "column", "1", "1", "null", "if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }", "column[0].equals(\"H\")", "column[0].equals", "column[0]", "column", "0", "\"H\"", "{\n card[1][Integer.parseInt(column[1])-1] = null;\n }", "card[1][Integer.parseInt(column[1])-1] = null", "card[1][Integer.parseInt(column[1])-1]", "card[1]", "card", "1", "Integer.parseInt(column[1])-1", "Integer.parseInt(column[1])", "Integer.parseInt", "Integer", "column[1]", "column", "1", "1", "null", "if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }", "column[0].equals(\"C\")", "column[0].equals", "column[0]", "column", "0", "\"C\"", "{\n card[2][Integer.parseInt(column[1])-1] = null;\n }", "card[2][Integer.parseInt(column[1])-1] = null", "card[2][Integer.parseInt(column[1])-1]", "card[2]", "card", "2", "Integer.parseInt(column[1])-1", "Integer.parseInt(column[1])", "Integer.parseInt", "Integer", "column[1]", "column", "1", "1", "null", "if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }", "column[0].equals(\"D\")", "column[0].equals", "column[0]", "column", "0", "\"D\"", "{\n card[3][Integer.parseInt(column[1])-1] = null;\n }", "card[3][Integer.parseInt(column[1])-1] = null", "card[3][Integer.parseInt(column[1])-1]", "card[3]", "card", "3", "Integer.parseInt(column[1])-1", "Integer.parseInt(column[1])", "Integer.parseInt", "Integer", "column[1]", "column", "1", "1", "null", "for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }", "int x = 0;", "int x = 0;", "x", "0", "x <= 3", "x", "3", "x++", "x++", "x", "{\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }", "{\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }", "for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }", "int y = 0;", "int y = 0;", "y", "0", "y <= 12", "y", "12", "y++", "y++", "y", "{\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }", "{\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }", "if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }", "card[x][y] != null", "card[x][y]", "card[x]", "card", "x", "y", "null", "{\n System.out.println(card[x][y] + \" \" + (y+1));\n }", "System.out.println(card[x][y] + \" \" + (y+1))", "System.out.println", "System.out", "System", "System.out", "card[x][y] + \" \" + (y+1)", "card[x][y] + \" \" + (y+1)", "card[x][y]", "card[x]", "card", "x", "y", "\" \"", "(y+1)", "y", "1", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int cardCount = Integer.parseInt(reader.readLine());\n String[][] card = new String[4][13];\n String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};\n\n for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }\n \n for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }\n \n for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));\n\n int cardCount = Integer.parseInt(reader.readLine());\n String[][] card = new String[4][13];\n String[] CardPic = { \"S\",\"H\",\"C\",\"D\"};\n\n for ( int xx = 0 ; xx <= 3 ; xx++ ) {\n for ( int yy = 0 ; yy <= 12 ; yy++ ) {\n card[xx][yy] = CardPic[xx];\n }\n }\n \n for (int i = 0; i < cardCount; i++) {\n String line = reader.readLine();\n String column[] = line.split(\" \");\n if (column[0].equals(\"S\")) {\n card[0][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"H\")) {\n card[1][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"C\")) {\n card[2][Integer.parseInt(column[1])-1] = null;\n }\n if (column[0].equals(\"D\")) {\n card[3][Integer.parseInt(column[1])-1] = null;\n }\n }\n \n for (int x = 0; x <= 3; x++) {\n for (int y = 0; y <= 12; y++) {\n if (card[x][y] != null) {\n System.out.println(card[x][y] + \" \" + (y+1));\n }\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader reader = new BufferedReader(new InputStreamReader(System.in)); int cardCount = Integer.parseInt(reader.readLine()); String[][] card = new String[4][13]; String[] CardPic = { "S","H","C","D"}; for ( int xx = 0 ; xx <= 3 ; xx++ ) { for ( int yy = 0 ; yy <= 12 ; yy++ ) { card[xx][yy] = CardPic[xx]; } } for (int i = 0; i < cardCount; i++) { String line = reader.readLine(); String column[] = line.split(" "); if (column[0].equals("S")) { card[0][Integer.parseInt(column[1])-1] = null; } if (column[0].equals("H")) { card[1][Integer.parseInt(column[1])-1] = null; } if (column[0].equals("C")) { card[2][Integer.parseInt(column[1])-1] = null; } if (column[0].equals("D")) { card[3][Integer.parseInt(column[1])-1] = null; } } for (int x = 0; x <= 3; x++) { for (int y = 0; y <= 12; y++) { if (card[x][y] != null) { System.out.println(card[x][y] + " " + (y+1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 17, 17, 41, 13, 39, 17, 17, 17, 17, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 13, 40, 18, 18, 13, 13, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 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 ], [ 16, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 26, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 72, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 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 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 100, 108 ], [ 108, 109 ], [ 109, 110 ], [ 100, 111 ], [ 112, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 114, 120 ], [ 113, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 6, 135 ], [ 135, 136 ] ]
[ "\nimport java.util.*;\n\nclass Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint n;\nString a;\nint b = 0;\nint[][]kard = new int[4][13];\nString []mark = {\"S\",\"H\",\"C\",\"D\"};\nn = sc.nextInt();\nfor(int i=0; i<n; i++){ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}\nfor(int c=0; c<4; c++){\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}\n}\n}", "import java.util.*;", "util.*", "java", "class Main{\npublic static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint n;\nString a;\nint b = 0;\nint[][]kard = new int[4][13];\nString []mark = {\"S\",\"H\",\"C\",\"D\"};\nn = sc.nextInt();\nfor(int i=0; i<n; i++){ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}\nfor(int c=0; c<4; c++){\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}\n}\n}", "Main", "public static void main(String[] args){\nScanner sc = new Scanner(System.in);\nint n;\nString a;\nint b = 0;\nint[][]kard = new int[4][13];\nString []mark = {\"S\",\"H\",\"C\",\"D\"};\nn = sc.nextInt();\nfor(int i=0; i<n; i++){ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}\nfor(int c=0; c<4; c++){\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}\n}", "main", "{\nScanner sc = new Scanner(System.in);\nint n;\nString a;\nint b = 0;\nint[][]kard = new int[4][13];\nString []mark = {\"S\",\"H\",\"C\",\"D\"};\nn = sc.nextInt();\nfor(int i=0; i<n; i++){ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}\nfor(int c=0; c<4; c++){\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}\n}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n;", "n", "String a;", "a", "int b = 0;", "b", "0", "int[][]kard = new int[4][13];", "kard", "new int[4][13]", "4", "13", "String []mark = {\"S\",\"H\",\"C\",\"D\"};", "mark", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0; i<n; i++){ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}", "{ \na = sc.next();\nb = sc.nextInt();\nfor(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}\n}", "a = sc.next()", "a", "sc.next()", "sc.next", "sc", "b = sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "for(int d=0; d<4; d++){\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}", "int d=0;", "int d=0;", "d", "0", "d<4", "d", "4", "d++", "d++", "d", "{\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}", "{\nif(mark[d].equals(a))\nkard[d][b-1]++;\n}", "if(mark[d].equals(a))\nkard[d][b-1]++;", "mark[d].equals(a)", "mark[d].equals", "mark[d]", "mark", "d", "a", "kard[d][b-1]++", "kard[d][b-1]", "kard[d]", "kard", "d", "b-1", "b", "1", "for(int c=0; c<4; c++){\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}", "int c=0;", "int c=0;", "c", "0", "c<4", "c", "4", "c++", "c++", "c", "{\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}", "{\n\tfor(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}\n}", "for(int d=0; d<13; d++){\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}", "int d=0;", "int d=0;", "d", "0", "d<13", "d", "13", "d++", "d++", "d", "{\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}", "{\n\t\tif( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1)); \n\t}", "if( kard[c][d]==0) System.out.println(mark[c]+\" \"+(d+1));", "kard[c][d]==0", "kard[c][d]", "kard[c]", "kard", "c", "d", "0", "System.out.println(mark[c]+\" \"+(d+1))", "System.out.println", "System.out", "System", "System.out", "mark[c]+\" \"+(d+1)", "mark[c]+\" \"+(d+1)", "mark[c]", "mark", "c", "\" \"", "(d+1)", "d", "1", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n; String a; int b = 0; int[][]kard = new int[4][13]; String []mark = {"S","H","C","D"}; n = sc.nextInt(); for(int i=0; i<n; i++){ a = sc.next(); b = sc.nextInt(); for(int d=0; d<4; d++){ if(mark[d].equals(a)) kard[d][b-1]++; } } for(int c=0; c<4; c++){ for(int d=0; d<13; d++){ if( kard[c][d]==0) System.out.println(mark[c]+" "+(d+1)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 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, 0, 18, 18, 13, 4, 18, 13, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 28, 30 ], [ 11, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 38, 40 ], [ 31, 41 ], [ 41, 42 ], [ 42, 43 ], [ 31, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 49, 51 ], [ 46, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 65, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 65, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 77, 84 ], [ 84, 85 ], [ 84, 86 ], [ 76, 87 ], [ 11, 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 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 114, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 127, 132 ], [ 132, 133 ], [ 132, 134 ], [ 9, 135 ], [ 135, 136 ] ]
[ "import java.util.*;\nimport java.text.*;\n\nclass Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n boolean [][] has = new boolean[4][13];\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n String [] ss = new String [] {\"S\", \"H\", \"C\", \"D\"};\n for(int i = 0; i < ss.length; i++) {\n map.put(ss[i], i);\n }\n for(int i = 0; i < n; i++) {\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }\n for(int i = 0; i < 4; i++) {\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.text.*;", "text.*", "java", "class Main {\n public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n boolean [][] has = new boolean[4][13];\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n String [] ss = new String [] {\"S\", \"H\", \"C\", \"D\"};\n for(int i = 0; i < ss.length; i++) {\n map.put(ss[i], i);\n }\n for(int i = 0; i < n; i++) {\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }\n for(int i = 0; i < 4; i++) {\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }\n }\n}", "Main", "public static void main(String[]args)throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n boolean [][] has = new boolean[4][13];\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n String [] ss = new String [] {\"S\", \"H\", \"C\", \"D\"};\n for(int i = 0; i < ss.length; i++) {\n map.put(ss[i], i);\n }\n for(int i = 0; i < n; i++) {\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }\n for(int i = 0; i < 4; i++) {\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n boolean [][] has = new boolean[4][13];\n HashMap<String, Integer> map = new HashMap<String, Integer>();\n String [] ss = new String [] {\"S\", \"H\", \"C\", \"D\"};\n for(int i = 0; i < ss.length; i++) {\n map.put(ss[i], i);\n }\n for(int i = 0; i < n; i++) {\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }\n for(int i = 0; i < 4; i++) {\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "boolean [][] has = new boolean[4][13];", "has", "new boolean[4][13]", "4", "13", "HashMap<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "String [] ss = new String [] {\"S\", \"H\", \"C\", \"D\"};", "ss", "new String [] {\"S\", \"H\", \"C\", \"D\"}", "for(int i = 0; i < ss.length; i++) {\n map.put(ss[i], i);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < ss.length", "i", "ss.length", "ss", "ss.length", "i++", "i++", "i", "{\n map.put(ss[i], i);\n }", "{\n map.put(ss[i], i);\n }", "map.put(ss[i], i)", "map.put", "map", "ss[i]", "ss", "i", "i", "for(int i = 0; i < n; i++) {\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }", "{\n String s = sc.next();\n int k = sc.nextInt();\n has[map.get(s)][k-1] = true;\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "int k = sc.nextInt();", "k", "sc.nextInt()", "sc.nextInt", "sc", "has[map.get(s)][k-1] = true", "has[map.get(s)][k-1]", "has[map.get(s)]", "has", "map.get(s)", "map.get", "map", "s", "k-1", "k", "1", "true", "for(int i = 0; i < 4; i++) {\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }", "{\n for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }\n }", "for(int k = 0; k < 13; k++) {\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }", "int k = 0;", "int k = 0;", "k", "0", "k < 13", "k", "13", "k++", "k++", "k", "{\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }", "{\n if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));\n }", "if(!has[i][k]) System.out.println(ss[i] + \" \" + (k+1));", "!has[i][k]", "has[i][k]", "has[i]", "has", "i", "k", "System.out.println(ss[i] + \" \" + (k+1))", "System.out.println", "System.out", "System", "System.out", "ss[i] + \" \" + (k+1)", "ss[i] + \" \" + (k+1)", "ss[i]", "ss", "i", "\" \"", "(k+1)", "k", "1", "String[]args", "args" ]
import java.util.*; import java.text.*; class Main { public static void main(String[]args)throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); boolean [][] has = new boolean[4][13]; HashMap<String, Integer> map = new HashMap<String, Integer>(); String [] ss = new String [] {"S", "H", "C", "D"}; for(int i = 0; i < ss.length; i++) { map.put(ss[i], i); } for(int i = 0; i < n; i++) { String s = sc.next(); int k = sc.nextInt(); has[map.get(s)][k-1] = true; } for(int i = 0; i < 4; i++) { for(int k = 0; k < 13; k++) { if(!has[i][k]) System.out.println(ss[i] + " " + (k+1)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 17, 17, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 12, 13, 30, 0, 18, 18, 13, 13, 2, 13, 17, 17, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 13, 13, 13, 12, 13, 30, 35, 13, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 34, 17, 1, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 3, 23, 13, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 4, 18, 13, 4, 18, 13, 40, 17, 30, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 17, 42, 2, 0, 13, 4, 18, 13, 17, 30, 14, 2, 13, 17, 30, 4, 13, 0, 13, 4, 18, 13, 13, 40, 13, 9, 41, 13, 4, 18, 13, 17, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 13, 17, 13, 14, 4, 18, 13, 17, 30, 4, 13, 17, 13, 14, 4, 18, 13, 17, 30, 4, 13, 17, 13, 14, 4, 18, 13, 17, 30, 4, 13, 17, 13, 40, 13, 14, 2, 13, 2, 13, 17, 30, 4, 13, 0, 13, 17, 9, 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 ], [ 315, 11 ], [ 315, 12 ], [ 12, 13 ], [ 12, 14 ], [ 315, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 47, 51 ], [ 46, 52 ], [ 315, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 53, 65 ], [ 65, 66 ], [ 53, 67 ], [ 67, 68 ], [ 315, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 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 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 99, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 107, 110 ], [ 315, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 118, 129 ], [ 114, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 132, 143 ], [ 114, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 146, 157 ], [ 114, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 161, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 168, 170 ], [ 160, 171 ], [ 111, 172 ], [ 172, 173 ], [ 111, 174 ], [ 174, 175 ], [ 315, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 182, 189 ], [ 189, 190 ], [ 190, 191 ], [ 182, 192 ], [ 192, 193 ], [ 193, 194 ], [ 192, 195 ], [ 195, 196 ], [ 179, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 197, 201 ], [ 201, 202 ], [ 197, 203 ], [ 203, 204 ], [ 203, 205 ], [ 197, 206 ], [ 206, 207 ], [ 206, 208 ], [ 197, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 213, 214 ], [ 214, 215 ], [ 210, 216 ], [ 209, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 222, 231 ], [ 231, 232 ], [ 222, 233 ], [ 217, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 236, 239 ], [ 236, 240 ], [ 217, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 243, 245 ], [ 217, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 248, 251 ], [ 251, 252 ], [ 251, 253 ], [ 217, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 255, 258 ], [ 254, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 260, 263 ], [ 217, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 265, 268 ], [ 264, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 270, 273 ], [ 217, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 275, 278 ], [ 274, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 280, 283 ], [ 217, 284 ], [ 284, 285 ], [ 285, 286 ], [ 286, 287 ], [ 285, 288 ], [ 284, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 290, 293 ], [ 217, 294 ], [ 294, 295 ], [ 217, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 299, 301 ], [ 296, 302 ], [ 302, 303 ], [ 303, 304 ], [ 302, 305 ], [ 305, 306 ], [ 305, 307 ], [ 302, 308 ], [ 197, 309 ], [ 309, 310 ], [ 310, 311 ], [ 176, 312 ], [ 312, 313 ], [ 0, 314 ], [ 314, 315 ], [ 314, 316 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.lang.Math;\n\npublic class Main {\n // ?????????????????? ???????????????\n private static boolean[][] card = new boolean[4][13];\n \n // ?????????\n private static void initCards() {\n // ?????????????????????false (??????) ??§?????????\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }\n }\n \n // ???????????????????????????????????????\n public static void findCard(int suit, int number) {\n card[suit][number-1] = true;\n }\n \n // ????????????????????¨?????????\n public static void showNothingCard() {\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }\n }\n \n // ?????????????¨???\\??????????????¨?????????\n public static void showCardKind(int suit, int number) {\n switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }\n }\n \n public static void main(String[] args) {\n try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.lang.Math;", "Math", "java.lang", "public class Main {\n // ?????????????????? ???????????????\n private static boolean[][] card = new boolean[4][13];\n \n // ?????????\n private static void initCards() {\n // ?????????????????????false (??????) ??§?????????\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }\n }\n \n // ???????????????????????????????????????\n public static void findCard(int suit, int number) {\n card[suit][number-1] = true;\n }\n \n // ????????????????????¨?????????\n public static void showNothingCard() {\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }\n }\n \n // ?????????????¨???\\??????????????¨?????????\n public static void showCardKind(int suit, int number) {\n switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }\n }\n \n public static void main(String[] args) {\n try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "Main", "// ?????????????????? ???????????????\n private static boolean[][] card = new boolean[4][13];", "card", "new boolean[4][13]", "4", "13", "// ?????????\n private static void initCards() {\n // ?????????????????????false (??????) ??§?????????\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }\n }", "initCards", "{\n // ?????????????????????false (??????) ??§?????????\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }\n }", "for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }", "{\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }", "for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n card[i][j] = false;\n }", "{\n card[i][j] = false;\n }", "card[i][j] = false", "card[i][j]", "card[i]", "card", "i", "j", "false", "// ???????????????????????????????????????\n public static void findCard(int suit, int number) {\n card[suit][number-1] = true;\n }", "findCard", "{\n card[suit][number-1] = true;\n }", "card[suit][number-1] = true", "card[suit][number-1]", "card[suit]", "card", "suit", "number-1", "number", "1", "true", "int suit", "suit", "int number", "number", "// ????????????????????¨?????????\n public static void showNothingCard() {\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }\n }", "showNothingCard", "{\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }\n }", "for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }", "{\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }", "for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }", "{\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }", "if(card[i][j] == false) {\n showCardKind(i, j);\n }", "card[i][j] == false", "card[i][j]", "card[i]", "card", "i", "j", "false", "{\n showCardKind(i, j);\n }", "showCardKind(i, j)", "showCardKind", "i", "j", "// ?????????????¨???\\??????????????¨?????????\n public static void showCardKind(int suit, int number) {\n switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }\n }", "showCardKind", "{\n switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }\n }", "switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }", "suit", "case 0:", "0", "case 0:", "System.out.println(\"S \" + (number+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (number+1)", "\"S \"", "(number+1)", "number", "1", "break;", "case 1:", "1", "case 1:", "System.out.println(\"H \" + (number+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (number+1)", "\"H \"", "(number+1)", "number", "1", "break;", "case 2:", "2", "case 2:", "System.out.println(\"C \" + (number+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (number+1)", "\"C \"", "(number+1)", "number", "1", "break;", "case 3 :", "3", "case 3 :", "System.out.println(\"D \" + (number+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (number+1)", "\"D \"", "(number+1)", "number", "1", "break;", "int suit", "suit", "int number", "number", "public static void main(String[] args) {\n try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }", "main", "{\n try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }", "try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }", "catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }", "Exception e", "{\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "e.getStackTrace()", "e.getStackTrace", "e", "System.exit(-1)", "System.exit", "System", "-1", "1", "{\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n }", "BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));", "stdReader", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "int count = 0;", "count", "0", "int cardCount = 0;", "cardCount", "0", "while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }", "(line = stdReader.readLine()) != null", "(line = stdReader.readLine())", "line", "stdReader.readLine()", "stdReader.readLine", "stdReader", "null", "{\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }", "if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }", "count == 0", "count", "0", "{\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }", "initCards()", "initCards", "cardCount = Integer.parseInt(line)", "cardCount", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "count++", "count", "continue;", "String[] card = line.split(\" \", 0);", "card", "line.split(\" \", 0)", "line.split", "line", "\" \"", "0", "String suit = card[0];", "suit", "card[0]", "card", "0", "int number = Integer.parseInt(card[1]);", "number", "Integer.parseInt(card[1])", "Integer.parseInt", "Integer", "card[1]", "card", "1", "if(suit.equals(\"S\")) {\n findCard(0, number);\n }", "suit.equals(\"S\")", "suit.equals", "suit", "\"S\"", "{\n findCard(0, number);\n }", "findCard(0, number)", "findCard", "0", "number", "if(suit.equals(\"H\")) {\n findCard(1, number);\n }", "suit.equals(\"H\")", "suit.equals", "suit", "\"H\"", "{\n findCard(1, number);\n }", "findCard(1, number)", "findCard", "1", "number", "if(suit.equals(\"C\")) {\n findCard(2, number);\n }", "suit.equals(\"C\")", "suit.equals", "suit", "\"C\"", "{\n findCard(2, number);\n }", "findCard(2, number)", "findCard", "2", "number", "if(suit.equals(\"D\")) {\n findCard(3, number);\n }", "suit.equals(\"D\")", "suit.equals", "suit", "\"D\"", "{\n findCard(3, number);\n }", "findCard(3, number)", "findCard", "3", "number", "count++", "count", "if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }", "count == cardCount+1", "count", "cardCount+1", "cardCount", "1", "{\n showNothingCard();\n \n count = 0;\n continue;\n }", "showNothingCard()", "showNothingCard", "count = 0", "count", "0", "continue;", "stdReader.close()", "stdReader.close", "stdReader", "String[] args", "args", "public class Main {\n // ?????????????????? ???????????????\n private static boolean[][] card = new boolean[4][13];\n \n // ?????????\n private static void initCards() {\n // ?????????????????????false (??????) ??§?????????\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }\n }\n \n // ???????????????????????????????????????\n public static void findCard(int suit, int number) {\n card[suit][number-1] = true;\n }\n \n // ????????????????????¨?????????\n public static void showNothingCard() {\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }\n }\n \n // ?????????????¨???\\??????????????¨?????????\n public static void showCardKind(int suit, int number) {\n switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }\n }\n \n public static void main(String[] args) {\n try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "public class Main {\n // ?????????????????? ???????????????\n private static boolean[][] card = new boolean[4][13];\n \n // ?????????\n private static void initCards() {\n // ?????????????????????false (??????) ??§?????????\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n card[i][j] = false;\n }\n }\n }\n \n // ???????????????????????????????????????\n public static void findCard(int suit, int number) {\n card[suit][number-1] = true;\n }\n \n // ????????????????????¨?????????\n public static void showNothingCard() {\n for(int i = 0; i < 4; i++) {\n for(int j = 0; j < 13; j++) {\n if(card[i][j] == false) {\n showCardKind(i, j);\n }\n }\n }\n }\n \n // ?????????????¨???\\??????????????¨?????????\n public static void showCardKind(int suit, int number) {\n switch(suit) {\n case 0:\n // 0???????????????\n System.out.println(\"S \" + (number+1));\n break;\n case 1:\n // 1????????????\n System.out.println(\"H \" + (number+1));\n break;\n case 2:\n // 2????????????\n System.out.println(\"C \" + (number+1));\n break;\n case 3 :\n // 3????????????\n System.out.println(\"D \" + (number+1));\n break;\n }\n }\n \n public static void main(String[] args) {\n try {\n \n BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in));\n \n String line;\n int count = 0;\n int cardCount = 0;\n while((line = stdReader.readLine()) != null) {\n // ?????????????????°?????????\n if(count == 0) {\n initCards();\n cardCount = Integer.parseInt(line);\n count++;\n continue;\n }\n // ???????????\\????????????????¨?????????????\n String[] card = line.split(\" \", 0);\n String suit = card[0];\n int number = Integer.parseInt(card[1]);\n \n if(suit.equals(\"S\")) {\n findCard(0, number);\n }\n if(suit.equals(\"H\")) {\n findCard(1, number);\n }\n if(suit.equals(\"C\")) {\n findCard(2, number);\n }\n if(suit.equals(\"D\")) {\n findCard(3, number);\n }\n \n count++;\n \n // ?????°?????°????????£??????????????°???????????????\n if(count == cardCount+1) {\n showNothingCard();\n \n count = 0;\n continue;\n }\n }\n stdReader.close();\n } catch(Exception e) {\n System.out.println(e);\n e.getStackTrace();\n System.exit(-1);\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.lang.Math; public class Main { // ?????????????????? ??????????????? private static boolean[][] card = new boolean[4][13]; // ????????? private static void initCards() { // ?????????????????????false (??????) ??§????????? for(int i = 0; i < 4; i++) { for(int j = 0; j < 13; j++) { card[i][j] = false; } } } // ??????????????????????????????????????? public static void findCard(int suit, int number) { card[suit][number-1] = true; } // ????????????????????¨????????? public static void showNothingCard() { for(int i = 0; i < 4; i++) { for(int j = 0; j < 13; j++) { if(card[i][j] == false) { showCardKind(i, j); } } } } // ?????????????¨???\??????????????¨????????? public static void showCardKind(int suit, int number) { switch(suit) { case 0: // 0??????????????? System.out.println("S " + (number+1)); break; case 1: // 1???????????? System.out.println("H " + (number+1)); break; case 2: // 2???????????? System.out.println("C " + (number+1)); break; case 3 : // 3???????????? System.out.println("D " + (number+1)); break; } } public static void main(String[] args) { try { BufferedReader stdReader = new BufferedReader(new InputStreamReader(System.in)); String line; int count = 0; int cardCount = 0; while((line = stdReader.readLine()) != null) { // ?????????????????°????????? if(count == 0) { initCards(); cardCount = Integer.parseInt(line); count++; continue; } // ???????????\????????????????¨????????????? String[] card = line.split(" ", 0); String suit = card[0]; int number = Integer.parseInt(card[1]); if(suit.equals("S")) { findCard(0, number); } if(suit.equals("H")) { findCard(1, number); } if(suit.equals("C")) { findCard(2, number); } if(suit.equals("D")) { findCard(3, number); } count++; // ?????°?????°????????£??????????????°??????????????? if(count == cardCount+1) { showNothingCard(); count = 0; continue; } } stdReader.close(); } catch(Exception e) { System.out.println(e); e.getStackTrace(); System.exit(-1); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 4, 18, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 4, 18, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 4, 18, 13, 20, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 4, 18, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 28, 13, 13, 30, 30, 14, 2, 4, 18, 18, 13, 13, 13, 2, 18, 13, 13, 13, 30, 0, 18, 13, 13, 17, 28, 13, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 13, 17, 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 ], [ 193, 11 ], [ 193, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 14, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 14, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 14, 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 ], [ 81, 84 ], [ 14, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 14, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 102, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 113, 114 ], [ 113, 115 ], [ 113, 116 ], [ 117, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 119, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 118, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 14, 137 ], [ 137, 138 ], [ 137, 139 ], [ 137, 140 ], [ 141, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 154, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 154, 159 ], [ 159, 160 ], [ 159, 161 ], [ 12, 162 ], [ 162, 163 ], [ 193, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 164, 168 ], [ 168, 169 ], [ 164, 170 ], [ 170, 171 ], [ 164, 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 ], [ 174, 185 ], [ 185, 186 ], [ 185, 187 ], [ 172, 188 ], [ 188, 189 ], [ 172, 190 ], [ 190, 191 ], [ 0, 192 ], [ 192, 193 ], [ 192, 194 ] ]
[ "\n\n\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\n\n\n\npublic class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n List<Index> pie = new ArrayList<>();\n \n for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));\n \n int n = sc.nextInt();\n \n \n for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}\n for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }\n }\n \n public static class Index {\n \n boolean exist;\n String x;\n int y;\n \n Index(String x, int y){\n this.x = x;\n this.y = y;\n exist = false;\n \n }\n }\n}\n\n\n\n \n \n\n \n\n \n\n", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n List<Index> pie = new ArrayList<>();\n \n for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));\n \n int n = sc.nextInt();\n \n \n for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}\n for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }\n }\n \n public static class Index {\n \n boolean exist;\n String x;\n int y;\n \n Index(String x, int y){\n this.x = x;\n this.y = y;\n exist = false;\n \n }\n }\n}", "Main", "public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n List<Index> pie = new ArrayList<>();\n \n for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));\n \n int n = sc.nextInt();\n \n \n for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}\n for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }\n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n \n List<Index> pie = new ArrayList<>();\n \n for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));\n \n int n = sc.nextInt();\n \n \n for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}\n for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "List<Index> pie = new ArrayList<>();", "pie", "new ArrayList<>()", "for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "pie.add(new Index(\"S\",i));", "pie.add(new Index(\"S\",i))", "pie.add", "pie", "new Index(\"S\",i)", "for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "pie.add(new Index(\"H\",i));", "pie.add(new Index(\"H\",i))", "pie.add", "pie", "new Index(\"H\",i)", "for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "pie.add(new Index(\"C\",i));", "pie.add(new Index(\"C\",i))", "pie.add", "pie", "new Index(\"C\",i)", "for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "pie.add(new Index(\"D\",i));", "pie.add(new Index(\"D\",i))", "pie.add", "pie", "new Index(\"D\",i)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}", "int j=0;", "int j=0;", "j", "0", "j<n", "j", "n", "j++", "j++", "j", "{\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}", "{\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}", "String mo = sc.next();", "mo", "sc.next()", "sc.next", "sc", "int bu = sc.nextInt();", "bu", "sc.nextInt()", "sc.nextInt", "sc", "for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}", "Index ewq", "pie", "{\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}", "{\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}", "if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }", "ewq.x.equals( mo ) && ewq.y == bu", "ewq.x.equals( mo )", "ewq.x.equals", "ewq.x", "ewq", "ewq.x", "mo", "ewq.y == bu", "ewq.y", "ewq", "ewq.y", "bu", "{\n ewq.exist = true;\n }", "ewq.exist = true", "ewq.exist", "ewq", "ewq.exist", "true", "for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }", "Index ewq", "pie", "{\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }", "{\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }", "if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }", "!ewq.exist", "ewq.exist", "ewq", "ewq.exist", "{\n System.out.println(ewq.x +\" \"+ ewq.y);\n }", "System.out.println(ewq.x +\" \"+ ewq.y)", "System.out.println", "System.out", "System", "System.out", "ewq.x +\" \"+ ewq.y", "ewq.x +\" \"+ ewq.y", "ewq.x", "ewq", "ewq.x", "\" \"", "ewq.y", "ewq", "ewq.y", "String[] args", "args", "public static class Index {\n \n boolean exist;\n String x;\n int y;\n \n Index(String x, int y){\n this.x = x;\n this.y = y;\n exist = false;\n \n }\n }", "Index", "boolean exist;", "exist", "String x;", "x", "int y;", "y", "Index(String x, int y){\n this.x = x;\n this.y = y;\n exist = false;\n \n }", "Index", "{\n this.x = x;\n this.y = y;\n exist = false;\n \n }", "this.x = x", "this.x", "this", "this.x", "x", "this.y = y", "this.y", "this", "this.y", "y", "exist = false", "exist", "false", "String x", "x", "int y", "y", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n List<Index> pie = new ArrayList<>();\n \n for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));\n \n int n = sc.nextInt();\n \n \n for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}\n for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }\n }\n \n public static class Index {\n \n boolean exist;\n String x;\n int y;\n \n Index(String x, int y){\n this.x = x;\n this.y = y;\n exist = false;\n \n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n \n Scanner sc = new Scanner(System.in);\n \n List<Index> pie = new ArrayList<>();\n \n for(int i=1; i<=13; i++) pie.add(new Index(\"S\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"H\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"C\",i));\n for(int i=1; i<=13; i++) pie.add(new Index(\"D\",i));\n \n int n = sc.nextInt();\n \n \n for(int j=0; j<n; j++){\n String mo = sc.next();\n int bu = sc.nextInt();\n for(Index ewq : pie){\n if(ewq.x.equals( mo ) && ewq.y == bu){\n ewq.exist = true;\n }}}\n for(Index ewq : pie){\n if(!ewq.exist){\n System.out.println(ewq.x +\" \"+ ewq.y);\n }\n }\n }\n \n public static class Index {\n \n boolean exist;\n String x;\n int y;\n \n Index(String x, int y){\n this.x = x;\n this.y = y;\n exist = false;\n \n }\n }\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); List<Index> pie = new ArrayList<>(); for(int i=1; i<=13; i++) pie.add(new Index("S",i)); for(int i=1; i<=13; i++) pie.add(new Index("H",i)); for(int i=1; i<=13; i++) pie.add(new Index("C",i)); for(int i=1; i<=13; i++) pie.add(new Index("D",i)); int n = sc.nextInt(); for(int j=0; j<n; j++){ String mo = sc.next(); int bu = sc.nextInt(); for(Index ewq : pie){ if(ewq.x.equals( mo ) && ewq.y == bu){ ewq.exist = true; }}} for(Index ewq : pie){ if(!ewq.exist){ System.out.println(ewq.x +" "+ ewq.y); } } } public static class Index { boolean exist; String x; int y; Index(String x, int y){ this.x = x; this.y = y; exist = false; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 13, 17, 0, 18, 13, 13, 2, 13, 17, 0, 18, 13, 13, 2, 13, 17, 0, 18, 13, 13, 2, 13, 17, 41, 13, 4, 18, 13, 41, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 17, 13, 30, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 4, 18, 13, 2, 2, 17, 17, 2, 13, 17, 17, 14, 2, 18, 13, 13, 17, 30, 4, 18, 4, 18, 13, 2, 2, 17, 17, 2, 13, 17, 17, 14, 2, 18, 13, 13, 17, 30, 4, 18, 4, 18, 13, 2, 2, 17, 17, 2, 13, 17, 17, 14, 2, 18, 13, 13, 17, 30, 4, 18, 4, 18, 13, 2, 2, 17, 17, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 285, 5 ], [ 285, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 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 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 64, 66 ], [ 52, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 71, 73 ], [ 52, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 8, 88 ], [ 88, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 90, 98 ], [ 98, 99 ], [ 99, 100 ], [ 90, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 102, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 102, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 113, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 122, 124 ], [ 119, 125 ], [ 102, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 126, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 135, 137 ], [ 132, 138 ], [ 102, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 139, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 145, 151 ], [ 102, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 152, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 161, 163 ], [ 158, 164 ], [ 8, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 165, 173 ], [ 173, 174 ], [ 174, 175 ], [ 165, 176 ], [ 177, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 178, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 187, 190 ], [ 191, 191 ], [ 191, 192 ], [ 191, 193 ], [ 191, 194 ], [ 194, 195 ], [ 194, 196 ], [ 185, 197 ], [ 177, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 198, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 207, 210 ], [ 211, 211 ], [ 211, 212 ], [ 211, 213 ], [ 211, 214 ], [ 214, 215 ], [ 214, 216 ], [ 205, 217 ], [ 177, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 218, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 231, 231 ], [ 231, 232 ], [ 231, 233 ], [ 231, 234 ], [ 234, 235 ], [ 234, 236 ], [ 225, 237 ], [ 177, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 238, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 247, 250 ], [ 251, 251 ], [ 251, 252 ], [ 251, 253 ], [ 251, 254 ], [ 254, 255 ], [ 254, 256 ], [ 245, 257 ], [ 8, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 258, 263 ], [ 8, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 264, 269 ], [ 8, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 270, 275 ], [ 8, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 276, 281 ], [ 6, 282 ], [ 282, 283 ], [ 0, 284 ], [ 284, 285 ], [ 284, 286 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t// 出力用(カードの種類ごとに用意)\n\t\tStringBuilder output_s = new StringBuilder();\n\t\tStringBuilder output_h = new StringBuilder();\n\t\tStringBuilder output_c = new StringBuilder();\n\t\tStringBuilder output_d = new StringBuilder();\n\t\t// 種類ごとに全部の数字を配列で用意\n\t\tint[] spades = new int[13];\n\t\tint[] hearts = new int[13];\n\t\tint[] clubs = new int[13];\n\t\tint[] diamonds = new int[13];\n\t\t\n\t\t// 初期化\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}\n\t\t\n\t\tint amount = scan.nextInt();\n\t\tString mark;\n\t\tint number;\n\t\t// 持っているカードのところを0で上書き\n\t\tfor (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 0ではない要素(足りてないカード)を出力用のやつにくっつける\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 出力\n\t\tSystem.out.print(output_s);\n\t\tSystem.out.print(output_h);\n\t\tSystem.out.print(output_c);\n\t\tSystem.out.print(output_d);\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t// 出力用(カードの種類ごとに用意)\n\t\tStringBuilder output_s = new StringBuilder();\n\t\tStringBuilder output_h = new StringBuilder();\n\t\tStringBuilder output_c = new StringBuilder();\n\t\tStringBuilder output_d = new StringBuilder();\n\t\t// 種類ごとに全部の数字を配列で用意\n\t\tint[] spades = new int[13];\n\t\tint[] hearts = new int[13];\n\t\tint[] clubs = new int[13];\n\t\tint[] diamonds = new int[13];\n\t\t\n\t\t// 初期化\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}\n\t\t\n\t\tint amount = scan.nextInt();\n\t\tString mark;\n\t\tint number;\n\t\t// 持っているカードのところを0で上書き\n\t\tfor (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 0ではない要素(足りてないカード)を出力用のやつにくっつける\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 出力\n\t\tSystem.out.print(output_s);\n\t\tSystem.out.print(output_h);\n\t\tSystem.out.print(output_c);\n\t\tSystem.out.print(output_d);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t// 出力用(カードの種類ごとに用意)\n\t\tStringBuilder output_s = new StringBuilder();\n\t\tStringBuilder output_h = new StringBuilder();\n\t\tStringBuilder output_c = new StringBuilder();\n\t\tStringBuilder output_d = new StringBuilder();\n\t\t// 種類ごとに全部の数字を配列で用意\n\t\tint[] spades = new int[13];\n\t\tint[] hearts = new int[13];\n\t\tint[] clubs = new int[13];\n\t\tint[] diamonds = new int[13];\n\t\t\n\t\t// 初期化\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}\n\t\t\n\t\tint amount = scan.nextInt();\n\t\tString mark;\n\t\tint number;\n\t\t// 持っているカードのところを0で上書き\n\t\tfor (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 0ではない要素(足りてないカード)を出力用のやつにくっつける\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 出力\n\t\tSystem.out.print(output_s);\n\t\tSystem.out.print(output_h);\n\t\tSystem.out.print(output_c);\n\t\tSystem.out.print(output_d);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\t// 出力用(カードの種類ごとに用意)\n\t\tStringBuilder output_s = new StringBuilder();\n\t\tStringBuilder output_h = new StringBuilder();\n\t\tStringBuilder output_c = new StringBuilder();\n\t\tStringBuilder output_d = new StringBuilder();\n\t\t// 種類ごとに全部の数字を配列で用意\n\t\tint[] spades = new int[13];\n\t\tint[] hearts = new int[13];\n\t\tint[] clubs = new int[13];\n\t\tint[] diamonds = new int[13];\n\t\t\n\t\t// 初期化\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}\n\t\t\n\t\tint amount = scan.nextInt();\n\t\tString mark;\n\t\tint number;\n\t\t// 持っているカードのところを0で上書き\n\t\tfor (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 0ではない要素(足りてないカード)を出力用のやつにくっつける\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 出力\n\t\tSystem.out.print(output_s);\n\t\tSystem.out.print(output_h);\n\t\tSystem.out.print(output_c);\n\t\tSystem.out.print(output_d);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "StringBuilder output_s = new StringBuilder();", "output_s", "new StringBuilder()", "StringBuilder output_h = new StringBuilder();", "output_h", "new StringBuilder()", "StringBuilder output_c = new StringBuilder();", "output_c", "new StringBuilder()", "StringBuilder output_d = new StringBuilder();", "output_d", "new StringBuilder()", "int[] spades = new int[13];", "spades", "new int[13]", "13", "int[] hearts = new int[13];", "hearts", "new int[13]", "13", "int[] clubs = new int[13];", "clubs", "new int[13]", "13", "int[] diamonds = new int[13];", "diamonds", "new int[13]", "13", "for (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}", "{\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}", "spades[i] = i + 1", "spades[i]", "spades", "i", "i + 1", "i", "1", "hearts[i] = i + 1", "hearts[i]", "hearts", "i", "i + 1", "i", "1", "clubs[i] = i + 1", "clubs[i]", "clubs", "i", "i + 1", "i", "1", "diamonds[i] = i + 1", "diamonds[i]", "diamonds", "i", "i + 1", "i", "1", "int amount = scan.nextInt();", "amount", "scan.nextInt()", "scan.nextInt", "scan", "String mark;", "mark", "int number;", "number", "for (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < amount", "j", "amount", "j++", "j++", "j", "{\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}", "{\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}", "mark = scan.next()", "mark", "scan.next()", "scan.next", "scan", "number = scan.nextInt()", "number", "scan.nextInt()", "scan.nextInt", "scan", "if (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}", "\"S\".equals(mark)", "\"S\".equals", "\"S\"", "mark", "{\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}", "spades[number - 1] = 0", "spades[number - 1]", "spades", "number - 1", "number", "1", "0", "if (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}", "\"H\".equals(mark)", "\"H\".equals", "\"H\"", "mark", "{\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}", "hearts[number - 1] = 0", "hearts[number - 1]", "hearts", "number - 1", "number", "1", "0", "if (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}", "\"C\".equals(mark)", "\"C\".equals", "\"C\"", "mark", "{\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}", "clubs[number - 1] = 0", "clubs[number - 1]", "clubs", "number - 1", "number", "1", "0", "if (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}", "\"D\".equals(mark)", "\"D\".equals", "\"D\"", "mark", "{\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}", "diamonds[number - 1] = 0", "diamonds[number - 1]", "diamonds", "number - 1", "number", "1", "0", "for (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}", "{\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}", "if (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "spades[i] != 0", "spades[i]", "spades", "i", "0", "{\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "output_s.append(\"S\" + \" \" + (i + 1)).append('\\n')", "output_s.append(\"S\" + \" \" + (i + 1)).append", "output_s.append(\"S\" + \" \" + (i + 1))", "output_s.append", "output_s", "\"S\" + \" \" + (i + 1)", "\"S\" + \" \" + (i + 1)", "\"S\"", "\" \"", "(i + 1)", "i", "1", "'\\n'", "if (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "hearts[i] != 0", "hearts[i]", "hearts", "i", "0", "{\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "output_h.append(\"H\" + \" \" + (i + 1)).append('\\n')", "output_h.append(\"H\" + \" \" + (i + 1)).append", "output_h.append(\"H\" + \" \" + (i + 1))", "output_h.append", "output_h", "\"H\" + \" \" + (i + 1)", "\"H\" + \" \" + (i + 1)", "\"H\"", "\" \"", "(i + 1)", "i", "1", "'\\n'", "if (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "clubs[i] != 0", "clubs[i]", "clubs", "i", "0", "{\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "output_c.append(\"C\" + \" \" + (i + 1)).append('\\n')", "output_c.append(\"C\" + \" \" + (i + 1)).append", "output_c.append(\"C\" + \" \" + (i + 1))", "output_c.append", "output_c", "\"C\" + \" \" + (i + 1)", "\"C\" + \" \" + (i + 1)", "\"C\"", "\" \"", "(i + 1)", "i", "1", "'\\n'", "if (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "diamonds[i] != 0", "diamonds[i]", "diamonds", "i", "0", "{\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}", "output_d.append(\"D\" + \" \" + (i + 1)).append('\\n')", "output_d.append(\"D\" + \" \" + (i + 1)).append", "output_d.append(\"D\" + \" \" + (i + 1))", "output_d.append", "output_d", "\"D\" + \" \" + (i + 1)", "\"D\" + \" \" + (i + 1)", "\"D\"", "\" \"", "(i + 1)", "i", "1", "'\\n'", "System.out.print(output_s)", "System.out.print", "System.out", "System", "System.out", "output_s", "System.out.print(output_h)", "System.out.print", "System.out", "System", "System.out", "output_h", "System.out.print(output_c)", "System.out.print", "System.out", "System", "System.out", "output_c", "System.out.print(output_d)", "System.out.print", "System.out", "System", "System.out", "output_d", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t// 出力用(カードの種類ごとに用意)\n\t\tStringBuilder output_s = new StringBuilder();\n\t\tStringBuilder output_h = new StringBuilder();\n\t\tStringBuilder output_c = new StringBuilder();\n\t\tStringBuilder output_d = new StringBuilder();\n\t\t// 種類ごとに全部の数字を配列で用意\n\t\tint[] spades = new int[13];\n\t\tint[] hearts = new int[13];\n\t\tint[] clubs = new int[13];\n\t\tint[] diamonds = new int[13];\n\t\t\n\t\t// 初期化\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}\n\t\t\n\t\tint amount = scan.nextInt();\n\t\tString mark;\n\t\tint number;\n\t\t// 持っているカードのところを0で上書き\n\t\tfor (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 0ではない要素(足りてないカード)を出力用のやつにくっつける\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 出力\n\t\tSystem.out.print(output_s);\n\t\tSystem.out.print(output_h);\n\t\tSystem.out.print(output_c);\n\t\tSystem.out.print(output_d);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\t// 出力用(カードの種類ごとに用意)\n\t\tStringBuilder output_s = new StringBuilder();\n\t\tStringBuilder output_h = new StringBuilder();\n\t\tStringBuilder output_c = new StringBuilder();\n\t\tStringBuilder output_d = new StringBuilder();\n\t\t// 種類ごとに全部の数字を配列で用意\n\t\tint[] spades = new int[13];\n\t\tint[] hearts = new int[13];\n\t\tint[] clubs = new int[13];\n\t\tint[] diamonds = new int[13];\n\t\t\n\t\t// 初期化\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tspades[i] = i + 1;\n\t\t\thearts[i] = i + 1;\n\t\t\tclubs[i] = i + 1;\n\t\t\tdiamonds[i] = i + 1;\n\t\t}\n\t\t\n\t\tint amount = scan.nextInt();\n\t\tString mark;\n\t\tint number;\n\t\t// 持っているカードのところを0で上書き\n\t\tfor (int j = 0; j < amount; j++) {\n\t\t\tmark = scan.next();\n\t\t\tnumber = scan.nextInt();\n\t\t\tif (\"S\".equals(mark)) {\n\t\t\t\tspades[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"H\".equals(mark)) {\n\t\t\t\thearts[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"C\".equals(mark)) {\n\t\t\t\tclubs[number - 1] = 0;\n\t\t\t}\n\t\t\tif (\"D\".equals(mark)) {\n\t\t\t\tdiamonds[number - 1] = 0;\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 0ではない要素(足りてないカード)を出力用のやつにくっつける\n\t\tfor (int i = 0; i < 13; i++) {\n\t\t\tif (spades[i] != 0) {\n\t\t\t\toutput_s.append(\"S\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (hearts[i] != 0) {\n\t\t\t\toutput_h.append(\"H\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (clubs[i] != 0) {\n\t\t\t\toutput_c.append(\"C\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t\tif (diamonds[i] != 0) {\n\t\t\t\toutput_d.append(\"D\" + \" \" + (i + 1)).append('\\n');\n\t\t\t}\n\t\t}\n\t\t\n\t\t// 出力\n\t\tSystem.out.print(output_s);\n\t\tSystem.out.print(output_h);\n\t\tSystem.out.print(output_c);\n\t\tSystem.out.print(output_d);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); // 出力用(カードの種類ごとに用意) StringBuilder output_s = new StringBuilder(); StringBuilder output_h = new StringBuilder(); StringBuilder output_c = new StringBuilder(); StringBuilder output_d = new StringBuilder(); // 種類ごとに全部の数字を配列で用意 int[] spades = new int[13]; int[] hearts = new int[13]; int[] clubs = new int[13]; int[] diamonds = new int[13]; // 初期化 for (int i = 0; i < 13; i++) { spades[i] = i + 1; hearts[i] = i + 1; clubs[i] = i + 1; diamonds[i] = i + 1; } int amount = scan.nextInt(); String mark; int number; // 持っているカードのところを0で上書き for (int j = 0; j < amount; j++) { mark = scan.next(); number = scan.nextInt(); if ("S".equals(mark)) { spades[number - 1] = 0; } if ("H".equals(mark)) { hearts[number - 1] = 0; } if ("C".equals(mark)) { clubs[number - 1] = 0; } if ("D".equals(mark)) { diamonds[number - 1] = 0; } } // 0ではない要素(足りてないカード)を出力用のやつにくっつける for (int i = 0; i < 13; i++) { if (spades[i] != 0) { output_s.append("S" + " " + (i + 1)).append('\n'); } if (hearts[i] != 0) { output_h.append("H" + " " + (i + 1)).append('\n'); } if (clubs[i] != 0) { output_c.append("C" + " " + (i + 1)).append('\n'); } if (diamonds[i] != 0) { output_d.append("D" + " " + (i + 1)).append('\n'); } } // 出力 System.out.print(output_s); System.out.print(output_h); System.out.print(output_c); System.out.print(output_d); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 226, 5 ], [ 226, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 37 ], [ 37, 38 ], [ 37, 39 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 65, 71 ], [ 59, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 78, 84 ], [ 72, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 91, 97 ], [ 85, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 98, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 104, 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 ], [ 125, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 8, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 139, 150 ], [ 151, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 152, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 164, 165 ], [ 164, 166 ], [ 8, 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 ], [ 181, 185 ], [ 180, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 187, 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 ], [ 209, 213 ], [ 208, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 215, 220 ], [ 220, 221 ], [ 220, 222 ], [ 6, 223 ], [ 223, 224 ], [ 0, 225 ], [ 225, 226 ], [ 225, 227 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint H, S, D, C;\n\t\tint h[] = new int[14];\n\t\tint s[] = new int[14];\n\t\tint d[] = new int[14];\n\t\tint c[] = new int[14];\n\t\t\n\t\tfor(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}\n}\n\t\n\t", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint H, S, D, C;\n\t\tint h[] = new int[14];\n\t\tint s[] = new int[14];\n\t\tint d[] = new int[14];\n\t\tint c[] = new int[14];\n\t\t\n\t\tfor(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\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\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint H, S, D, C;\n\t\tint h[] = new int[14];\n\t\tint s[] = new int[14];\n\t\tint d[] = new int[14];\n\t\tint c[] = new int[14];\n\t\t\n\t\tfor(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint H, S, D, C;\n\t\tint h[] = new int[14];\n\t\tint s[] = new int[14];\n\t\tint d[] = new int[14];\n\t\tint c[] = new int[14];\n\t\t\n\t\tfor(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\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 H", "H", "S", "S", "D", "D", "C;", "C", "int h[] = new int[14];", "h", "new int[14]", "14", "int s[] = new int[14];", "s", "new int[14]", "14", "int d[] = new int[14];", "d", "new int[14]", "14", "int c[] = new int[14];", "c", "new int[14]", "14", "for(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}", "{\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}", "String mark = scan.next();", "mark", "scan.next()", "scan.next", "scan", "if(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}", "mark.equals(\"H\")", "mark.equals", "mark", "\"H\"", "{\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}", "h[scan.nextInt()] = 1", "h[scan.nextInt()]", "h", "scan.nextInt()", "scan.nextInt", "scan", "1", "if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}", "mark.equals(\"S\")", "mark.equals", "mark", "\"S\"", "{\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}", "s[scan.nextInt()] = 1", "s[scan.nextInt()]", "s", "scan.nextInt()", "scan.nextInt", "scan", "1", "if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}", "mark.equals(\"D\")", "mark.equals", "mark", "\"D\"", "{\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}", "d[scan.nextInt()] = 1", "d[scan.nextInt()]", "d", "scan.nextInt()", "scan.nextInt", "scan", "1", "if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}", "mark.equals(\"C\")", "mark.equals", "mark", "\"C\"", "{\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}", "c[scan.nextInt()] = 1", "c[scan.nextInt()]", "c", "scan.nextInt()", "scan.nextInt", "scan", "1", "for(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}", "if(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}", "s[i] != 1", "s[i]", "s", "i", "1", "{\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}", "System.out.println(\"S \" + i)", "System.out.println", "System.out", "System", "System.out", "\"S \" + i", "\"S \"", "i", "for(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}", "if(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}", "h[i] != 1", "h[i]", "h", "i", "1", "{\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}", "System.out.println(\"H \" + i)", "System.out.println", "System.out", "System", "System.out", "\"H \" + i", "\"H \"", "i", "for(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}", "if(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}", "c[i] != 1", "c[i]", "c", "i", "1", "{\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}", "System.out.println(\"C \" + i)", "System.out.println", "System.out", "System", "System.out", "\"C \" + i", "\"C \"", "i", "for(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}", "if(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}", "d[i] != 1", "d[i]", "d", "i", "1", "{\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}", "System.out.println(\"D \" + i)", "System.out.println", "System.out", "System", "System.out", "\"D \" + i", "\"D \"", "i", "String args[]", "args", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint H, S, D, C;\n\t\tint h[] = new int[14];\n\t\tint s[] = new int[14];\n\t\tint d[] = new int[14];\n\t\tint c[] = new int[14];\n\t\t\n\t\tfor(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String args[]){\n\t\tScanner scan = new Scanner(System.in); \n\t\t\n\t\tint n = scan.nextInt();\n\t\t\n\t\tint H, S, D, C;\n\t\tint h[] = new int[14];\n\t\tint s[] = new int[14];\n\t\tint d[] = new int[14];\n\t\tint c[] = new int[14];\n\t\t\n\t\tfor(int i = 1; i <= n; i++){\n\t\t\tString mark = scan.next();\n\t\t\tif(mark.equals(\"H\")){\n\t\t\t\th[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"S\")){\n\t\t\t\ts[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"D\")){\n\t\t\t\td[scan.nextInt()] = 1;\n\t\t\t}else if(mark.equals(\"C\")){\n\t\t\t\tc[scan.nextInt()] = 1;\n\t\t\t}\n\t\t}\n\t\t\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(s[i] != 1){\n\t\t\t\tSystem.out.println(\"S \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(h[i] != 1){\n\t\t\t\tSystem.out.println(\"H \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(c[i] != 1){\n\t\t\t\tSystem.out.println(\"C \" + i);\n\t\t\t}\n\t\t}\n\t\tfor(int i = 1; i <= 13; i++){\n\t\t\tif(d[i] != 1){\n\t\t\t\tSystem.out.println(\"D \" + i);\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 scan = new Scanner(System.in); int n = scan.nextInt(); int H, S, D, C; int h[] = new int[14]; int s[] = new int[14]; int d[] = new int[14]; int c[] = new int[14]; for(int i = 1; i <= n; i++){ String mark = scan.next(); if(mark.equals("H")){ h[scan.nextInt()] = 1; }else if(mark.equals("S")){ s[scan.nextInt()] = 1; }else if(mark.equals("D")){ d[scan.nextInt()] = 1; }else if(mark.equals("C")){ c[scan.nextInt()] = 1; } } for(int i = 1; i <= 13; i++){ if(s[i] != 1){ System.out.println("S " + i); } } for(int i = 1; i <= 13; i++){ if(h[i] != 1){ System.out.println("H " + i); } } for(int i = 1; i <= 13; i++){ if(c[i] != 1){ System.out.println("C " + i); } } for(int i = 1; i <= 13; i++){ if(d[i] != 1){ System.out.println("D " + i); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 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, 0, 13, 4, 18, 13, 18, 13, 17, 35, 18, 13, 17, 34, 17, 1, 0, 18, 13, 13, 17, 3, 34, 17, 1, 0, 18, 13, 13, 17, 3, 34, 17, 1, 0, 18, 13, 13, 17, 3, 34, 17, 1, 0, 18, 13, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 232, 11 ], [ 232, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 19 ], [ 19, 20 ], [ 19, 21 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 63, 68 ], [ 60, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 60, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 77, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 92, 98 ], [ 77, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 101, 107 ], [ 77, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 14, 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 ], [ 131, 135 ], [ 130, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 142, 144 ], [ 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 ], [ 159, 163 ], [ 158, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 14, 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 ], [ 187, 191 ], [ 186, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 198, 199 ], [ 198, 200 ], [ 14, 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 ], [ 215, 219 ], [ 214, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 221, 226 ], [ 226, 227 ], [ 226, 228 ], [ 12, 229 ], [ 229, 230 ], [ 0, 231 ], [ 231, 232 ], [ 231, 233 ] ]
[ "\n\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tboolean[] S = new boolean[14];\n\t\tboolean[] H = new boolean[14];\n\t\tboolean[] C = new boolean[14];\n\t\tboolean[] D = new boolean[14];\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint num = Integer.parseInt(input);\n\t\tint n=0;\n\n\t\tfor(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tboolean[] S = new boolean[14];\n\t\tboolean[] H = new boolean[14];\n\t\tboolean[] C = new boolean[14];\n\t\tboolean[] D = new boolean[14];\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint num = Integer.parseInt(input);\n\t\tint n=0;\n\n\t\tfor(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException{\n\n\t\tboolean[] S = new boolean[14];\n\t\tboolean[] H = new boolean[14];\n\t\tboolean[] C = new boolean[14];\n\t\tboolean[] D = new boolean[14];\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint num = Integer.parseInt(input);\n\t\tint n=0;\n\n\t\tfor(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tboolean[] S = new boolean[14];\n\t\tboolean[] H = new boolean[14];\n\t\tboolean[] C = new boolean[14];\n\t\tboolean[] D = new boolean[14];\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint num = Integer.parseInt(input);\n\t\tint n=0;\n\n\t\tfor(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}", "boolean[] S = new boolean[14];", "S", "new boolean[14]", "14", "boolean[] H = new boolean[14];", "H", "new boolean[14]", "14", "boolean[] C = new boolean[14];", "C", "new boolean[14]", "14", "boolean[] D = new boolean[14];", "D", "new boolean[14]", "14", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "String input = br.readLine();", "input", "br.readLine()", "br.readLine", "br", "int num = Integer.parseInt(input);", "num", "Integer.parseInt(input)", "Integer.parseInt", "Integer", "input", "int n=0;", "n", "0", "for(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}", "{\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}", "String[] rank = br.readLine().split(\" \");", "rank", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "n=Integer.parseInt(rank[1])", "n", "Integer.parseInt(rank[1])", "Integer.parseInt", "Integer", "rank[1]", "rank", "1", "switch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}", "rank[0]", "rank", "0", "case \"S\":", "\"S\"", "case \"S\":", "S[n]=true", "S[n]", "S", "n", "true", "break;", "case \"H\":", "\"H\"", "case \"H\":", "H[n]=true", "H[n]", "H", "n", "true", "break;", "case \"C\":", "\"C\"", "case \"C\":", "C[n]=true", "C[n]", "C", "n", "true", "break;", "case \"D\":", "\"D\"", "case \"D\":", "D[n]=true", "D[n]", "D", "n", "true", "break;", "for(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}", "if(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}", "S[i]==false", "S[i]", "S", "i", "false", "{\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}", "System.out.println(\"S \"+i)", "System.out.println", "System.out", "System", "System.out", "\"S \"+i", "\"S \"", "i", "for(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}", "if(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}", "H[i]==false", "H[i]", "H", "i", "false", "{\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}", "System.out.println(\"H \"+i)", "System.out.println", "System.out", "System", "System.out", "\"H \"+i", "\"H \"", "i", "for(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}", "if(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}", "C[i]==false", "C[i]", "C", "i", "false", "{\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}", "System.out.println(\"C \"+i)", "System.out.println", "System.out", "System", "System.out", "\"C \"+i", "\"C \"", "i", "for(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<14", "i", "14", "i++", "i++", "i", "{\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}", "if(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}", "D[i]==false", "D[i]", "D", "i", "false", "{\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}", "System.out.println(\"D \"+i)", "System.out.println", "System.out", "System", "System.out", "\"D \"+i", "\"D \"", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tboolean[] S = new boolean[14];\n\t\tboolean[] H = new boolean[14];\n\t\tboolean[] C = new boolean[14];\n\t\tboolean[] D = new boolean[14];\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint num = Integer.parseInt(input);\n\t\tint n=0;\n\n\t\tfor(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException{\n\n\t\tboolean[] S = new boolean[14];\n\t\tboolean[] H = new boolean[14];\n\t\tboolean[] C = new boolean[14];\n\t\tboolean[] D = new boolean[14];\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tString input = br.readLine();\n\t\tint num = Integer.parseInt(input);\n\t\tint n=0;\n\n\t\tfor(int i = 0;i<num;i++){\n\n\n\t\t\tString[] rank = br.readLine().split(\" \");\n\n\t\t\tn=Integer.parseInt(rank[1]);\n\n\t\t\tswitch(rank[0]){\n\t\t\tcase \"S\":\n\t\t\t\tS[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"H\":\n\t\t\t\tH[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"C\":\n\t\t\t\tC[n]=true;\n\t\t\t\tbreak;\n\t\t\tcase \"D\":\n\t\t\t\tD[n]=true;\n\t\t\t\tbreak;\n\t\t\t}\n\n\n\t\t}\n\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(S[i]==false){\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(H[i]==false){\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(C[i]==false){\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<14;i++){\n\t\t\tif(D[i]==false){\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\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) throws IOException{ boolean[] S = new boolean[14]; boolean[] H = new boolean[14]; boolean[] C = new boolean[14]; boolean[] D = new boolean[14]; BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); String input = br.readLine(); int num = Integer.parseInt(input); int n=0; for(int i = 0;i<num;i++){ String[] rank = br.readLine().split(" "); n=Integer.parseInt(rank[1]); switch(rank[0]){ case "S": S[n]=true; break; case "H": H[n]=true; break; case "C": C[n]=true; break; case "D": D[n]=true; break; } } for(int i=1;i<14;i++){ if(S[i]==false){ System.out.println("S "+i); } } for(int i=1;i<14;i++){ if(H[i]==false){ System.out.println("H "+i); } } for(int i=1;i<14;i++){ if(C[i]==false){ System.out.println("C "+i); } } for(int i=1;i<14;i++){ if(D[i]==false){ System.out.println("D "+i); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 17, 38, 5, 13, 30, 4, 18, 18, 13, 13, 13, 5, 13, 30, 4, 18, 18, 13, 13, 17, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 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, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 18, 13, 17, 17, 30, 0, 13, 4, 18, 13, 18, 13, 17, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 312, 11 ], [ 312, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 19 ], [ 19, 20 ], [ 19, 21 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 34, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 34, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 53, 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 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 89, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 96, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 105, 111 ], [ 89, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 112, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 125, 126 ], [ 125, 127 ], [ 119, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 131, 133 ], [ 128, 134 ], [ 112, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 135, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 148, 149 ], [ 148, 150 ], [ 142, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 151, 157 ], [ 135, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 159, 164 ], [ 158, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 171, 173 ], [ 165, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 177, 179 ], [ 174, 180 ], [ 53, 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 ], [ 197, 201 ], [ 196, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 210, 212 ], [ 53, 213 ], [ 213, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 213, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 220, 222 ], [ 213, 223 ], [ 223, 224 ], [ 224, 225 ], [ 213, 226 ], [ 227, 227 ], [ 227, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 233 ], [ 228, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 237, 239 ], [ 235, 240 ], [ 240, 241 ], [ 240, 242 ], [ 242, 243 ], [ 242, 244 ], [ 53, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 245, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 252, 254 ], [ 245, 255 ], [ 255, 256 ], [ 256, 257 ], [ 245, 258 ], [ 259, 259 ], [ 259, 260 ], [ 260, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 261, 265 ], [ 260, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 269, 271 ], [ 267, 272 ], [ 272, 273 ], [ 272, 274 ], [ 274, 275 ], [ 274, 276 ], [ 53, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 277, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 284, 286 ], [ 277, 287 ], [ 287, 288 ], [ 288, 289 ], [ 277, 290 ], [ 291, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 293, 297 ], [ 292, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 299, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 306, 308 ], [ 12, 309 ], [ 309, 310 ], [ 0, 311 ], [ 311, 312 ], [ 311, 313 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\n/**\n * Lesson6B 太郎が花子と一緒にトランプ遊びをしようとしたところ 52枚あるはずのカードが n 枚のカードしか手元にありません。 これらの n\n * 枚のカードを入力として、足りないカードを出力するプログラム\n *\n * @author Internship\n *\n */\npublic class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// スペード\n\t\tint[] intMarkS = new int[13];\n\n\t\t// ハート\n\t\tint[] intMarkH = new int[13];\n\n\t\t// クローバー\n\t\tint[] intMarkC = new int[13];\n\n\t\t// ダイヤ\n\t\tint[] intMarkD = new int[13];\n\n\t\t// カードの数字\n\t\tint intNum = 0;\n\n\t\t// 1行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// スペード\n\t\tint[] intMarkS = new int[13];\n\n\t\t// ハート\n\t\tint[] intMarkH = new int[13];\n\n\t\t// クローバー\n\t\tint[] intMarkC = new int[13];\n\n\t\t// ダイヤ\n\t\tint[] intMarkD = new int[13];\n\n\t\t// カードの数字\n\t\tint intNum = 0;\n\n\t\t// 1行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "Main", "/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// スペード\n\t\tint[] intMarkS = new int[13];\n\n\t\t// ハート\n\t\tint[] intMarkH = new int[13];\n\n\t\t// クローバー\n\t\tint[] intMarkC = new int[13];\n\n\t\t// ダイヤ\n\t\tint[] intMarkD = new int[13];\n\n\t\t// カードの数字\n\t\tint intNum = 0;\n\n\t\t// 1行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}", "main", "{\n\n\t\t// スペード\n\t\tint[] intMarkS = new int[13];\n\n\t\t// ハート\n\t\tint[] intMarkH = new int[13];\n\n\t\t// クローバー\n\t\tint[] intMarkC = new int[13];\n\n\t\t// ダイヤ\n\t\tint[] intMarkD = new int[13];\n\n\t\t// カードの数字\n\t\tint intNum = 0;\n\n\t\t// 1行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}", "int[] intMarkS = new int[13];", "intMarkS", "new int[13]", "13", "int[] intMarkH = new int[13];", "intMarkH", "new int[13]", "13", "int[] intMarkC = new int[13];", "intMarkC", "new int[13]", "13", "int[] intMarkD = new int[13];", "intMarkD", "new int[13]", "13", "int intNum = 0;", "intNum", "0", "try {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}", "catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t}", "IOException e", "{\n\t\t\tSystem.out.println(e);\n\t\t}", "System.out.println(e)", "System.out.println", "System.out", "System", "System.out", "e", "catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}", "NumberFormatException e", "{\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}", "System.out.println(\"数字で入力して下さい\")", "System.out.println", "System.out", "System", "System.out", "\"数字で入力して下さい\"", "{\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t}", "BufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));", "insBR", "new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in))", "int intFirstLine = Integer.parseInt(insBR.readLine());", "intFirstLine", "Integer.parseInt(insBR.readLine())", "Integer.parseInt", "Integer", "insBR.readLine()", "insBR.readLine", "insBR", "for (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intFirstLine", "i", "intFirstLine", "i++", "i++", "i", "{\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}", "{\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}", "String strLine = insBR.readLine();", "strLine", "insBR.readLine()", "insBR.readLine", "insBR", "String[] strAry = strLine.split(\" \");", "strAry", "strLine.split(\" \")", "strLine.split", "strLine", "\" \"", "if (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}", "strAry[0].equals(\"S\")", "strAry[0].equals", "strAry[0]", "strAry", "0", "\"S\"", "{\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t}", "intNum = Integer.parseInt(strAry[1])", "intNum", "Integer.parseInt(strAry[1])", "Integer.parseInt", "Integer", "strAry[1]", "strAry", "1", "intMarkS[intNum - 1] = 1", "intMarkS[intNum - 1]", "intMarkS", "intNum - 1", "intNum", "1", "1", "if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}", "strAry[0].equals(\"H\")", "strAry[0].equals", "strAry[0]", "strAry", "0", "\"H\"", "{\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t}", "intNum = Integer.parseInt(strAry[1])", "intNum", "Integer.parseInt(strAry[1])", "Integer.parseInt", "Integer", "strAry[1]", "strAry", "1", "intMarkH[intNum - 1] = 1", "intMarkH[intNum - 1]", "intMarkH", "intNum - 1", "intNum", "1", "1", "if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}", "strAry[0].equals(\"C\")", "strAry[0].equals", "strAry[0]", "strAry", "0", "\"C\"", "{\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t}", "intNum = Integer.parseInt(strAry[1])", "intNum", "Integer.parseInt(strAry[1])", "Integer.parseInt", "Integer", "strAry[1]", "strAry", "1", "intMarkC[intNum - 1] = 1", "intMarkC[intNum - 1]", "intMarkC", "intNum - 1", "intNum", "1", "1", "if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}", "strAry[0].equals(\"D\")", "strAry[0].equals", "strAry[0]", "strAry", "0", "\"D\"", "{\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}", "intNum = Integer.parseInt(strAry[1])", "intNum", "Integer.parseInt(strAry[1])", "Integer.parseInt", "Integer", "strAry[1]", "strAry", "1", "intMarkD[intNum - 1] = 1", "intMarkD[intNum - 1]", "intMarkD", "intNum - 1", "intNum", "1", "1", "for (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intMarkS.length", "i", "intMarkS.length", "intMarkS", "intMarkS.length", "i++", "i++", "i", "{\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "if (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}", "intMarkS[i] == 0", "intMarkS[i]", "intMarkS", "i", "0", "{\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}", "System.out.println(\"S \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i + 1)", "\"S \"", "(i + 1)", "i", "1", "for (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intMarkH.length", "i", "intMarkH.length", "intMarkH", "intMarkH.length", "i++", "i++", "i", "{\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "if (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}", "intMarkH[i] == 0", "intMarkH[i]", "intMarkH", "i", "0", "{\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}", "System.out.println(\"H \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i + 1)", "\"H \"", "(i + 1)", "i", "1", "for (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intMarkC.length", "i", "intMarkC.length", "intMarkC", "intMarkC.length", "i++", "i++", "i", "{\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "if (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}", "intMarkC[i] == 0", "intMarkC[i]", "intMarkC", "i", "0", "{\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}", "System.out.println(\"C \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i + 1)", "\"C \"", "(i + 1)", "i", "1", "for (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < intMarkD.length", "i", "intMarkD.length", "intMarkD", "intMarkD.length", "i++", "i++", "i", "{\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}", "if (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}", "intMarkD[i] == 0", "intMarkD[i]", "intMarkD", "i", "0", "{\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}", "System.out.println(\"D \" + (i + 1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i + 1)", "\"D \"", "(i + 1)", "i", "1", "String[] args", "args", "public class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// スペード\n\t\tint[] intMarkS = new int[13];\n\n\t\t// ハート\n\t\tint[] intMarkH = new int[13];\n\n\t\t// クローバー\n\t\tint[] intMarkC = new int[13];\n\n\t\t// ダイヤ\n\t\tint[] intMarkD = new int[13];\n\n\t\t// カードの数字\n\t\tint intNum = 0;\n\n\t\t// 1行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "public class Main{\n\n\t/**\n\t * プログラムのエントリポイント\n\t *\n\t * @param args\n\t */\n\tpublic static void main(String[] args) {\n\n\t\t// スペード\n\t\tint[] intMarkS = new int[13];\n\n\t\t// ハート\n\t\tint[] intMarkH = new int[13];\n\n\t\t// クローバー\n\t\tint[] intMarkC = new int[13];\n\n\t\t// ダイヤ\n\t\tint[] intMarkD = new int[13];\n\n\t\t// カードの数字\n\t\tint intNum = 0;\n\n\t\t// 1行目を読み込む\n\t\ttry {\n\t\t\tBufferedReader insBR = new BufferedReader(new InputStreamReader(\n\t\t\t\t\tSystem.in));\n\n\t\t\tint intFirstLine = Integer.parseInt(insBR.readLine());\n\n\t\t\t// 2行目以降を読み込む\n\t\t\tfor (int i = 0; i < intFirstLine; i++) {\n\t\t\t\tString strLine = insBR.readLine();\n\n\t\t\t\t// 分解する\n\t\t\t\tString[] strAry = strLine.split(\" \");\n\n\t\t\t\t// S 1\n\t\t\t\t// H 3\n\t\t\t\t// H 7\n\t\t\t\t// C 12\n\t\t\t\t// D 8\n\n\t\t\t\t// 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる\n\t\t\t\t// 例 スペードの5 → intMarkS[5] = 1\n\t\t\t\t// 最後にないカードの数字枠には0が入っていることになる\n\n\t\t\t\t// スペード\n\t\t\t\tif (strAry[0].equals(\"S\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkS[intNum - 1] = 1;\n\n\t\t\t\t\t// ハート\n\t\t\t\t} else if (strAry[0].equals(\"H\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkH[intNum - 1] = 1;\n\n\t\t\t\t\t// クローバー\n\t\t\t\t} else if (strAry[0].equals(\"C\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkC[intNum - 1] = 1;\n\n\t\t\t\t\t// ダイヤ\n\t\t\t\t} else if (strAry[0].equals(\"D\")) {\n\t\t\t\t\tintNum = Integer.parseInt(strAry[1]);\n\n\t\t\t\t\tintMarkD[intNum - 1] = 1;\n\t\t\t\t}\n\n\t\t\t}\n\n\t\t\t// 出力\n\t\t\tfor (int i = 0; i < intMarkS.length; i++) {\n\t\t\t\tif (intMarkS[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"S \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkH.length; i++) {\n\t\t\t\tif (intMarkH[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"H \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkC.length; i++) {\n\t\t\t\tif (intMarkC[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"C \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t\tfor (int i = 0; i < intMarkD.length; i++) {\n\t\t\t\tif (intMarkD[i] == 0) {\n\t\t\t\t\tSystem.out.println(\"D \" + (i + 1));\n\t\t\t\t}\n\t\t\t}\n\n\t\t} catch (IOException e) {\n\t\t\tSystem.out.println(e);\n\t\t} catch (NumberFormatException e) {\n\t\t\tSystem.out.println(\"数字で入力して下さい\");\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; /** * Lesson6B 太郎が花子と一緒にトランプ遊びをしようとしたところ 52枚あるはずのカードが n 枚のカードしか手元にありません。 これらの n * 枚のカードを入力として、足りないカードを出力するプログラム * * @author Internship * */ public class Main{ /** * プログラムのエントリポイント * * @param args */ public static void main(String[] args) { // スペード int[] intMarkS = new int[13]; // ハート int[] intMarkH = new int[13]; // クローバー int[] intMarkC = new int[13]; // ダイヤ int[] intMarkD = new int[13]; // カードの数字 int intNum = 0; // 1行目を読み込む try { BufferedReader insBR = new BufferedReader(new InputStreamReader( System.in)); int intFirstLine = Integer.parseInt(insBR.readLine()); // 2行目以降を読み込む for (int i = 0; i < intFirstLine; i++) { String strLine = insBR.readLine(); // 分解する String[] strAry = strLine.split(" "); // S 1 // H 3 // H 7 // C 12 // D 8 // 配列に格納する そのカードがあったら、そのカードの数字枠に1を入れる // 例 スペードの5 → intMarkS[5] = 1 // 最後にないカードの数字枠には0が入っていることになる // スペード if (strAry[0].equals("S")) { intNum = Integer.parseInt(strAry[1]); intMarkS[intNum - 1] = 1; // ハート } else if (strAry[0].equals("H")) { intNum = Integer.parseInt(strAry[1]); intMarkH[intNum - 1] = 1; // クローバー } else if (strAry[0].equals("C")) { intNum = Integer.parseInt(strAry[1]); intMarkC[intNum - 1] = 1; // ダイヤ } else if (strAry[0].equals("D")) { intNum = Integer.parseInt(strAry[1]); intMarkD[intNum - 1] = 1; } } // 出力 for (int i = 0; i < intMarkS.length; i++) { if (intMarkS[i] == 0) { System.out.println("S " + (i + 1)); } } for (int i = 0; i < intMarkH.length; i++) { if (intMarkH[i] == 0) { System.out.println("H " + (i + 1)); } } for (int i = 0; i < intMarkC.length; i++) { if (intMarkC[i] == 0) { System.out.println("C " + (i + 1)); } } for (int i = 0; i < intMarkD.length; i++) { if (intMarkD[i] == 0) { System.out.println("D " + (i + 1)); } } } catch (IOException e) { System.out.println(e); } catch (NumberFormatException e) { 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, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 13, 14, 4, 18, 13, 17, 30, 0, 13, 13, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 238, 11 ], [ 238, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 25 ], [ 25, 26 ], [ 25, 27 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 33 ], [ 33, 34 ], [ 33, 35 ], [ 14, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 65, 66 ], [ 65, 67 ], [ 54, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 54, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 54, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 54, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 54, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 104, 110 ], [ 14, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 111, 121 ], [ 121, 122 ], [ 122, 123 ], [ 111, 124 ], [ 125, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 14, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 142, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 149, 151 ], [ 142, 152 ], [ 152, 153 ], [ 153, 154 ], [ 142, 155 ], [ 156, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 157, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 168, 169 ], [ 168, 170 ], [ 170, 171 ], [ 170, 172 ], [ 14, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 180, 182 ], [ 173, 183 ], [ 183, 184 ], [ 184, 185 ], [ 173, 186 ], [ 187, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 188, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 201, 203 ], [ 14, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 211, 213 ], [ 204, 214 ], [ 214, 215 ], [ 215, 216 ], [ 204, 217 ], [ 218, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 219, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 225, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 232, 234 ], [ 12, 235 ], [ 235, 236 ], [ 0, 237 ], [ 237, 238 ], [ 237, 239 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main{\npublic static void main(String[] args) {\n\tScanner stdin = new Scanner(System.in);\n\tList<String> output = new ArrayList<String>();\n\n\tboolean[] spade=new boolean[13];\n\tboolean[] dia =new boolean[13];\n\tboolean[] club =new boolean[13];\n\tboolean[] heart =new boolean[13];\n\t\n\tint n=stdin.nextInt();\nfor(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}\n\tfor(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}\n\tfor(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}\n\tfor(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}\n\tfor(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}\n}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\npublic static void main(String[] args) {\n\tScanner stdin = new Scanner(System.in);\n\tList<String> output = new ArrayList<String>();\n\n\tboolean[] spade=new boolean[13];\n\tboolean[] dia =new boolean[13];\n\tboolean[] club =new boolean[13];\n\tboolean[] heart =new boolean[13];\n\t\n\tint n=stdin.nextInt();\nfor(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}\n\tfor(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}\n\tfor(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}\n\tfor(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}\n\tfor(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}\n}\n}", "Main", "public static void main(String[] args) {\n\tScanner stdin = new Scanner(System.in);\n\tList<String> output = new ArrayList<String>();\n\n\tboolean[] spade=new boolean[13];\n\tboolean[] dia =new boolean[13];\n\tboolean[] club =new boolean[13];\n\tboolean[] heart =new boolean[13];\n\t\n\tint n=stdin.nextInt();\nfor(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}\n\tfor(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}\n\tfor(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}\n\tfor(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}\n\tfor(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}\n}", "main", "{\n\tScanner stdin = new Scanner(System.in);\n\tList<String> output = new ArrayList<String>();\n\n\tboolean[] spade=new boolean[13];\n\tboolean[] dia =new boolean[13];\n\tboolean[] club =new boolean[13];\n\tboolean[] heart =new boolean[13];\n\t\n\tint n=stdin.nextInt();\nfor(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}\n\tfor(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}\n\tfor(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}\n\tfor(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}\n\tfor(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}\n}", "Scanner stdin = new Scanner(System.in);", "stdin", "new Scanner(System.in)", "List<String> output = new ArrayList<String>();", "output", "new ArrayList<String>()", "boolean[] spade=new boolean[13];", "spade", "new boolean[13]", "13", "boolean[] dia =new boolean[13];", "dia", "new boolean[13]", "13", "boolean[] club =new boolean[13];", "club", "new boolean[13]", "13", "boolean[] heart =new boolean[13];", "heart", "new boolean[13]", "13", "int n=stdin.nextInt();", "n", "stdin.nextInt()", "stdin.nextInt", "stdin", "for(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "++i", "++i", "i", "{\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}", "{\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}", "String markChar = stdin.next();", "markChar", "stdin.next()", "stdin.next", "stdin", "int number = stdin.nextInt();", "number", "stdin.nextInt()", "stdin.nextInt", "stdin", "boolean[] mark=null;", "mark", "null", "if(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}", "markChar.equals(\"S\")", "markChar.equals", "markChar", "\"S\"", "{\n\t\t\tmark=spade;\n\t\t}", "mark=spade", "mark", "spade", "if(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}", "markChar.equals(\"H\")", "markChar.equals", "markChar", "\"H\"", "{\n\t\t\tmark=heart;\n\t\t}", "mark=heart", "mark", "heart", "if(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}", "markChar.equals(\"C\")", "markChar.equals", "markChar", "\"C\"", "{\n\t\t\tmark=club;\n\t\t}", "mark=club", "mark", "club", "if(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}", "markChar.equals(\"D\")", "markChar.equals", "markChar", "\"D\"", "{\n\t\t\tmark=dia;\n\t\t}", "mark=dia", "mark", "dia", "mark[number-1]=true", "mark[number-1]", "mark", "number-1", "number", "1", "true", "for(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}", "int i=0;", "int i=0;", "i", "0", "i<spade.length", "i", "spade.length", "spade", "spade.length", "++i", "++i", "i", "{\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}", "{\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}", "if(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}", "!spade[i]", "spade[i]", "spade", "i", "{\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}", "System.out.println(\"S \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+(i+1)", "\"S \"", "(i+1)", "i", "1", "for(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}", "int i=0;", "int i=0;", "i", "0", "i<heart.length", "i", "heart.length", "heart", "heart.length", "++i", "++i", "i", "{\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}", "{\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}", "if(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}", "!heart[i]", "heart[i]", "heart", "i", "{\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}", "System.out.println(\"H \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"H \"+(i+1)", "\"H \"", "(i+1)", "i", "1", "for(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}", "int i=0;", "int i=0;", "i", "0", "i<club.length", "i", "club.length", "club", "club.length", "++i", "++i", "i", "{\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}", "{\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}", "if(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}", "!club[i]", "club[i]", "club", "i", "{\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}", "System.out.println(\"C \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"C \"+(i+1)", "\"C \"", "(i+1)", "i", "1", "for(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}", "int i=0;", "int i=0;", "i", "0", "i<dia.length", "i", "dia.length", "dia", "dia.length", "++i", "++i", "i", "{\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}", "{\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}", "if(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}", "!dia[i]", "dia[i]", "dia", "i", "{\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}", "System.out.println(\"D \"+(i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \"+(i+1)", "\"D \"", "(i+1)", "i", "1", "String[] args", "args", "public class Main{\npublic static void main(String[] args) {\n\tScanner stdin = new Scanner(System.in);\n\tList<String> output = new ArrayList<String>();\n\n\tboolean[] spade=new boolean[13];\n\tboolean[] dia =new boolean[13];\n\tboolean[] club =new boolean[13];\n\tboolean[] heart =new boolean[13];\n\t\n\tint n=stdin.nextInt();\nfor(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}\n\tfor(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}\n\tfor(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}\n\tfor(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}\n\tfor(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}\n}\n}", "public class Main{\npublic static void main(String[] args) {\n\tScanner stdin = new Scanner(System.in);\n\tList<String> output = new ArrayList<String>();\n\n\tboolean[] spade=new boolean[13];\n\tboolean[] dia =new boolean[13];\n\tboolean[] club =new boolean[13];\n\tboolean[] heart =new boolean[13];\n\t\n\tint n=stdin.nextInt();\nfor(int i=0;i<n;++i) {\n\t\tString markChar = stdin.next();\n\t\tint number = stdin.nextInt();\t\t\n\t\tboolean[] mark=null;\n\t\tif(markChar.equals(\"S\")) {\n\t\t\tmark=spade;\n\t\t}\n\t\tif(markChar.equals(\"H\")) {\n\t\t\tmark=heart;\n\t\t}\n\t\tif(markChar.equals(\"C\")) {\n\t\t\tmark=club;\n\t\t}\n\t\tif(markChar.equals(\"D\")) {\n\t\t\tmark=dia;\n\t\t}\n\t\tmark[number-1]=true;\n\t}\n\tfor(int i=0;i<spade.length;++i) {\n\tif(!spade[i]) {\n\t\tSystem.out.println(\"S \"+(i+1));\n\t}\t\t\n\t}\n\tfor(int i=0;i<heart.length;++i) {\n\t\tif(!heart[i]) {\n\t\t\tSystem.out.println(\"H \"+(i+1));\n\t\t}\n\t}\n\tfor(int i=0;i<club.length;++i) {\n\t\tif(!club[i]) {\n\t\t\tSystem.out.println(\"C \"+(i+1));\n\t\t}\t\n\t}\n\tfor(int i=0;i<dia.length;++i) {\n\t\tif(!dia[i]) {\n\t\t\tSystem.out.println(\"D \"+(i+1));\n\t\t}\t\n\t}\n}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main{ public static void main(String[] args) { Scanner stdin = new Scanner(System.in); List<String> output = new ArrayList<String>(); boolean[] spade=new boolean[13]; boolean[] dia =new boolean[13]; boolean[] club =new boolean[13]; boolean[] heart =new boolean[13]; int n=stdin.nextInt(); for(int i=0;i<n;++i) { String markChar = stdin.next(); int number = stdin.nextInt(); boolean[] mark=null; if(markChar.equals("S")) { mark=spade; } if(markChar.equals("H")) { mark=heart; } if(markChar.equals("C")) { mark=club; } if(markChar.equals("D")) { mark=dia; } mark[number-1]=true; } for(int i=0;i<spade.length;++i) { if(!spade[i]) { System.out.println("S "+(i+1)); } } for(int i=0;i<heart.length;++i) { if(!heart[i]) { System.out.println("H "+(i+1)); } } for(int i=0;i<club.length;++i) { if(!club[i]) { System.out.println("C "+(i+1)); } } for(int i=0;i<dia.length;++i) { if(!dia[i]) { System.out.println("D "+(i+1)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 4, 18, 13, 13, 14, 2, 13, 17, 30, 4, 18, 13, 13, 14, 2, 13, 17, 30, 4, 18, 13, 13, 14, 2, 13, 17, 30, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 212, 11 ], [ 212, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 50, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 47, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 61, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 70, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 79, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 110, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 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 ], [ 125, 136 ], [ 137, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 138, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 14, 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 ], [ 169, 170 ], [ 168, 171 ], [ 166, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 14, 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 ], [ 197, 198 ], [ 196, 199 ], [ 194, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 201, 206 ], [ 206, 207 ], [ 206, 208 ], [ 12, 209 ], [ 209, 210 ], [ 0, 211 ], [ 211, 212 ], [ 211, 213 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint total = sc.nextInt();\n\t\tList<Integer> spade = new ArrayList<Integer>();\n\t\tList<Integer> heart = new ArrayList<Integer>();\n\t\tList<Integer> club = new ArrayList<Integer>();\n\t\tList<Integer> diamond = new ArrayList<Integer>();\n\n\t\tfor(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n}\n", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint total = sc.nextInt();\n\t\tList<Integer> spade = new ArrayList<Integer>();\n\t\tList<Integer> heart = new ArrayList<Integer>();\n\t\tList<Integer> club = new ArrayList<Integer>();\n\t\tList<Integer> diamond = new ArrayList<Integer>();\n\n\t\tfor(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint total = sc.nextInt();\n\t\tList<Integer> spade = new ArrayList<Integer>();\n\t\tList<Integer> heart = new ArrayList<Integer>();\n\t\tList<Integer> club = new ArrayList<Integer>();\n\t\tList<Integer> diamond = new ArrayList<Integer>();\n\n\t\tfor(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint total = sc.nextInt();\n\t\tList<Integer> spade = new ArrayList<Integer>();\n\t\tList<Integer> heart = new ArrayList<Integer>();\n\t\tList<Integer> club = new ArrayList<Integer>();\n\t\tList<Integer> diamond = new ArrayList<Integer>();\n\n\t\tfor(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int total = sc.nextInt();", "total", "sc.nextInt()", "sc.nextInt", "sc", "List<Integer> spade = new ArrayList<Integer>();", "spade", "new ArrayList<Integer>()", "List<Integer> heart = new ArrayList<Integer>();", "heart", "new ArrayList<Integer>()", "List<Integer> club = new ArrayList<Integer>();", "club", "new ArrayList<Integer>()", "List<Integer> diamond = new ArrayList<Integer>();", "diamond", "new ArrayList<Integer>()", "for(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<total", "i", "total", "i++", "i++", "i", "{\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}", "{\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}", "char symbol = sc.next().charAt(0);", "symbol", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "int number = sc.nextInt();", "number", "sc.nextInt()", "sc.nextInt", "sc", "if(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}", "symbol=='S'", "symbol", "'S'", "{\n\t\t\t\tspade.add(number);\n\t\t\t}", "spade.add(number)", "spade.add", "spade", "number", "if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}", "symbol=='H'", "symbol", "'H'", "{\n\t\t\t\theart.add(number);\n\t\t\t}", "heart.add(number)", "heart.add", "heart", "number", "if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}", "symbol=='C'", "symbol", "'C'", "{\n\t\t\t\tclub.add(number);\n\t\t\t}", "club.add(number)", "club.add", "club", "number", "if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}", "symbol=='D'", "symbol", "'D'", "{\n\t\t\t\tdiamond.add(number);\n\t\t\t}", "diamond.add(number)", "diamond.add", "diamond", "number", "for(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}", "if(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}", "!(spade.contains(i))", "(spade.contains(i))", "spade.contains", "spade", "i", "{\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}", "System.out.println(\"S \"+i)", "System.out.println", "System.out", "System", "System.out", "\"S \"+i", "\"S \"", "i", "for(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}", "if(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}", "!(heart.contains(i))", "(heart.contains(i))", "heart.contains", "heart", "i", "{\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}", "System.out.println(\"H \"+i)", "System.out.println", "System.out", "System", "System.out", "\"H \"+i", "\"H \"", "i", "for(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}", "if(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}", "!(club.contains(i))", "(club.contains(i))", "club.contains", "club", "i", "{\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}", "System.out.println(\"C \"+i)", "System.out.println", "System.out", "System", "System.out", "\"C \"+i", "\"C \"", "i", "for(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=13", "i", "13", "i++", "i++", "i", "{\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}", "if(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}", "!(diamond.contains(i))", "(diamond.contains(i))", "diamond.contains", "diamond", "i", "{\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}", "System.out.println(\"D \"+i)", "System.out.println", "System.out", "System", "System.out", "\"D \"+i", "\"D \"", "i", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint total = sc.nextInt();\n\t\tList<Integer> spade = new ArrayList<Integer>();\n\t\tList<Integer> heart = new ArrayList<Integer>();\n\t\tList<Integer> club = new ArrayList<Integer>();\n\t\tList<Integer> diamond = new ArrayList<Integer>();\n\n\t\tfor(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint total = sc.nextInt();\n\t\tList<Integer> spade = new ArrayList<Integer>();\n\t\tList<Integer> heart = new ArrayList<Integer>();\n\t\tList<Integer> club = new ArrayList<Integer>();\n\t\tList<Integer> diamond = new ArrayList<Integer>();\n\n\t\tfor(int i=0;i<total;i++) {\n\t\t\tchar symbol = sc.next().charAt(0);\n\t\t\tint number = sc.nextInt();\n\n\t\t\tif(symbol=='S') {\n\t\t\t\tspade.add(number);\n\t\t\t}else if(symbol=='H') {\n\t\t\t\theart.add(number);\n\t\t\t}else if(symbol=='C') {\n\t\t\t\tclub.add(number);\n\t\t\t}else if(symbol=='D') {\n\t\t\t\tdiamond.add(number);\n\t\t\t}\n\t\t}\n\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(spade.contains(i))) {\n\t\t\t\tSystem.out.println(\"S \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(heart.contains(i))) {\n\t\t\t\tSystem.out.println(\"H \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(club.contains(i))) {\n\t\t\t\tSystem.out.println(\"C \"+i);\n\t\t\t}\n\t\t}\n\t\tfor(int i=1;i<=13;i++) {\n\t\t\tif(!(diamond.contains(i))) {\n\t\t\t\tSystem.out.println(\"D \"+i);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int total = sc.nextInt(); List<Integer> spade = new ArrayList<Integer>(); List<Integer> heart = new ArrayList<Integer>(); List<Integer> club = new ArrayList<Integer>(); List<Integer> diamond = new ArrayList<Integer>(); for(int i=0;i<total;i++) { char symbol = sc.next().charAt(0); int number = sc.nextInt(); if(symbol=='S') { spade.add(number); }else if(symbol=='H') { heart.add(number); }else if(symbol=='C') { club.add(number); }else if(symbol=='D') { diamond.add(number); } } for(int i=1;i<=13;i++) { if(!(spade.contains(i))) { System.out.println("S "+i); } } for(int i=1;i<=13;i++) { if(!(heart.contains(i))) { System.out.println("H "+i); } } for(int i=1;i<=13;i++) { if(!(club.contains(i))) { System.out.println("C "+i); } } for(int i=1;i<=13;i++) { if(!(diamond.contains(i))) { System.out.println("D "+i); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 13, 2, 4, 18, 13, 17, 4, 18, 13, 13, 11, 1, 41, 13, 17, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 14, 2, 2, 13, 13, 2, 18, 13, 13, 2, 17, 13, 30, 40, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 30, 14, 2, 2, 13, 13, 2, 18, 13, 13, 2, 2, 17, 13, 17, 30, 40, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 14, 2, 13, 17, 30, 14, 2, 2, 13, 13, 2, 18, 13, 13, 2, 2, 17, 13, 17, 30, 40, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 30, 14, 2, 2, 13, 13, 2, 18, 13, 13, 2, 2, 17, 13, 17, 30, 40, 13, 30, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 249, 8 ], [ 249, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 52, 56 ], [ 42, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 67, 71 ], [ 57, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 82, 86 ], [ 72, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 97, 101 ], [ 11, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 11, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 111, 113 ], [ 106, 114 ], [ 114, 115 ], [ 114, 116 ], [ 106, 117 ], [ 117, 118 ], [ 118, 119 ], [ 106, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 136, 138 ], [ 127, 139 ], [ 139, 140 ], [ 140, 141 ], [ 127, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 122, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 156, 170 ], [ 170, 171 ], [ 171, 172 ], [ 156, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 181, 183 ], [ 151, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 190, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 194, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 189, 203 ], [ 203, 204 ], [ 204, 205 ], [ 189, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 207, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 214, 216 ], [ 184, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 218, 232 ], [ 232, 233 ], [ 233, 234 ], [ 218, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 236, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 243, 245 ], [ 9, 246 ], [ 246, 247 ], [ 0, 248 ], [ 248, 249 ], [ 248, 250 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }\n Arrays.sort(a);\n for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }\n }\n }\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }\n Arrays.sort(a);\n for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\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[] a = new int[n];\n for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }\n Arrays.sort(a);\n for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[n];\n for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }\n Arrays.sort(a);\n for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\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[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }", "{\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }", "String type = sc.next();", "type", "sc.next()", "sc.next", "sc", "if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }", "type.equals(\"S\")", "type.equals", "type", "\"S\"", "{\n a[i] = sc.nextInt() + 100;\n }", "a[i] = sc.nextInt() + 100", "a[i]", "a", "i", "sc.nextInt() + 100", "sc.nextInt()", "sc.nextInt", "sc", "100", "if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }", "type.equals(\"H\")", "type.equals", "type", "\"H\"", "{\n a[i] = sc.nextInt() + 200;\n }", "a[i] = sc.nextInt() + 200", "a[i]", "a", "i", "sc.nextInt() + 200", "sc.nextInt()", "sc.nextInt", "sc", "200", "if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }", "type.equals(\"C\")", "type.equals", "type", "\"C\"", "{\n a[i] = sc.nextInt() + 300;\n }", "a[i] = sc.nextInt() + 300", "a[i]", "a", "i", "sc.nextInt() + 300", "sc.nextInt()", "sc.nextInt", "sc", "300", "if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }", "type.equals(\"D\")", "type.equals", "type", "\"D\"", "{\n a[i] = sc.nextInt() + 400;\n }", "a[i] = sc.nextInt() + 400", "a[i]", "a", "i", "sc.nextInt() + 400", "sc.nextInt()", "sc.nextInt", "sc", "400", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }\n }", "int i = 1, j = 0;", "int i = 1", "i", "1", "j = 0;", "j", "0", "i <= 52", "i", "52", "i++", "i++", "i", "{\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }\n }", "{\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }\n }", "if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }", "i <= 13", "i", "13", "{ //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n }", "if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }", "n > j && a[j] == 100 + i", "n > j", "n", "j", "a[j] == 100 + i", "a[j]", "a", "j", "100 + i", "100", "i", "{\n j++;\n }", "j++", "j", "{\n System.out.println(\"S \" + i);\n }", "System.out.println(\"S \" + i)", "System.out.println", "System.out", "System", "System.out", "\"S \" + i", "\"S \"", "i", "if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }", "i <= 26", "i", "26", "{ //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n }", "if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }", "n > j && a[j] == 200 + i - 13", "n > j", "n", "j", "a[j] == 200 + i - 13", "a[j]", "a", "j", "200 + i - 13", "200 + i", "200", "i", "13", "{\n j++;\n }", "j++", "j", "{\n System.out.println(\"H \" + (i - 13));\n }", "System.out.println(\"H \" + (i - 13))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i - 13)", "\"H \"", "(i - 13)", "i", "13", "if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }", "i <= 39", "i", "39", "{ //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n }", "if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }", "n > j && a[j] == 300 + i - 26", "n > j", "n", "j", "a[j] == 300 + i - 26", "a[j]", "a", "j", "300 + i - 26", "300 + i", "300", "i", "26", "{\n j++;\n }", "j++", "j", "{\n System.out.println(\"C \" + (i - 26));\n }", "System.out.println(\"C \" + (i - 26))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i - 26)", "\"C \"", "(i - 26)", "i", "26", "{ //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }", "if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }", "n > j && a[j] == 400 + i - 39", "n > j", "n", "j", "a[j] == 400 + i - 39", "a[j]", "a", "j", "400 + i - 39", "400 + i", "400", "i", "39", "{\n j++;\n }", "j++", "j", "{\n System.out.println(\"D \" + (i - 39));\n }", "System.out.println(\"D \" + (i - 39))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i - 39)", "\"D \"", "(i - 39)", "i", "39", "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[] a = new int[n];\n for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }\n Arrays.sort(a);\n for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\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[] a = new int[n];\n for (int i = 0; i < n; i++) {\n String type = sc.next();\n if (type.equals(\"S\")) {\n a[i] = sc.nextInt() + 100;\n } else if (type.equals(\"H\")) {\n a[i] = sc.nextInt() + 200;\n } else if (type.equals(\"C\")) {\n a[i] = sc.nextInt() + 300;\n } else if (type.equals(\"D\")) {\n a[i] = sc.nextInt() + 400;\n }\n }\n Arrays.sort(a);\n for (int i = 1, j = 0; i <= 52; i++) {\n if (i <= 13) { //spade\n if (n > j && a[j] == 100 + i) {\n j++;\n } else {\n System.out.println(\"S \" + i);\n }\n } else if (i <= 26) { //heart\n if (n > j && a[j] == 200 + i - 13) {\n j++;\n } else {\n System.out.println(\"H \" + (i - 13));\n }\n } else if (i <= 39) { //club\n if (n > j && a[j] == 300 + i - 26) {\n j++;\n } else {\n System.out.println(\"C \" + (i - 26));\n }\n } else { //dia\n if (n > j && a[j] == 400 + i - 39) {\n j++;\n } else {\n System.out.println(\"D \" + (i - 39));\n }\n }\n }\n }\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[n]; for (int i = 0; i < n; i++) { String type = sc.next(); if (type.equals("S")) { a[i] = sc.nextInt() + 100; } else if (type.equals("H")) { a[i] = sc.nextInt() + 200; } else if (type.equals("C")) { a[i] = sc.nextInt() + 300; } else if (type.equals("D")) { a[i] = sc.nextInt() + 400; } } Arrays.sort(a); for (int i = 1, j = 0; i <= 52; i++) { if (i <= 13) { //spade if (n > j && a[j] == 100 + i) { j++; } else { System.out.println("S " + i); } } else if (i <= 26) { //heart if (n > j && a[j] == 200 + i - 13) { j++; } else { System.out.println("H " + (i - 13)); } } else if (i <= 39) { //club if (n > j && a[j] == 300 + i - 26) { j++; } else { System.out.println("C " + (i - 26)); } } else { //dia if (n > j && a[j] == 400 + i - 39) { j++; } else { System.out.println("D " + (i - 39)); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 273, 11 ], [ 273, 12 ], [ 12, 13 ], [ 12, 14 ], [ 273, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 17, 34 ], [ 34, 35 ], [ 34, 36 ], [ 17, 37 ], [ 37, 38 ], [ 37, 39 ], [ 17, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 42, 47 ], [ 17, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 17, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 71, 76 ], [ 68, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 68, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 68, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 90, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 96, 102 ], [ 90, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 103, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 109, 115 ], [ 103, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 116, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 125, 127 ], [ 122, 128 ], [ 116, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 129, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 138, 140 ], [ 135, 141 ], [ 17, 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 ], [ 164, 165 ], [ 164, 166 ], [ 162, 167 ], [ 168, 168 ], [ 168, 169 ], [ 168, 170 ], [ 168, 171 ], [ 171, 172 ], [ 171, 173 ], [ 17, 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 ], [ 188, 192 ], [ 187, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 194, 199 ], [ 200, 200 ], [ 200, 201 ], [ 200, 202 ], [ 200, 203 ], [ 203, 204 ], [ 203, 205 ], [ 17, 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 ], [ 220, 224 ], [ 219, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 232, 232 ], [ 232, 233 ], [ 232, 234 ], [ 232, 235 ], [ 235, 236 ], [ 235, 237 ], [ 17, 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 ], [ 252, 256 ], [ 251, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 258, 263 ], [ 264, 264 ], [ 264, 265 ], [ 264, 266 ], [ 264, 267 ], [ 267, 268 ], [ 267, 269 ], [ 15, 270 ], [ 270, 271 ], [ 0, 272 ], [ 272, 273 ], [ 272, 274 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\tpublic void maain(){\n\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????¨?????????£?¨?\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\t//1???????????\\????????¢\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\????????¢\n for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }\n\n //?????£?????????????????????????????¢?????¨???????????????\n \tfor(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\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", "public class Main {\n\tpublic void maain(){\n\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????¨?????????£?¨?\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\t//1???????????\\????????¢\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\????????¢\n for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }\n\n //?????£?????????????????????????????¢?????¨???????????????\n \tfor(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}\n\t}\n}", "Main", "public void maain(){\n\n\t}", "maain", "{\n\n\t}", "public static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????¨?????????£?¨?\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\t//1???????????\\????????¢\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\????????¢\n for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }\n\n //?????£?????????????????????????????¢?????¨???????????????\n \tfor(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????¨?????????£?¨?\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\t//1???????????\\????????¢\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\????????¢\n for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }\n\n //?????£?????????????????????????????¢?????¨???????????????\n \tfor(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}\n\t}", "boolean[] S = new boolean[13];", "S", "new boolean[13]", "13", "boolean[] H = new boolean[13];", "H", "new boolean[13]", "13", "boolean[] C = new boolean[13];", "C", "new boolean[13]", "13", "boolean[] D = new boolean[13];", "D", "new boolean[13]", "13", "InputStreamReader isr = new InputStreamReader(System.in);", "isr", "new InputStreamReader(System.in)", "BufferedReader br = new BufferedReader(isr);", "br", "new BufferedReader(isr)", "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", "for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }", "int set = 0;", "int set = 0;", "set", "0", "set < n", "set", "n", "set++", "set++", "set", "{\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }", "{\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }", "String[] input2 = br.readLine().split(\" \");", "input2", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "String mark = input2[0];", "mark", "input2[0]", "input2", "0", "int num = Integer.parseInt(input2[1]);", "num", "Integer.parseInt(input2[1])", "Integer.parseInt", "Integer", "input2[1]", "input2", "1", "if(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}", "mark.equals(\"S\")", "mark.equals", "mark", "\"S\"", "{\n \t\tS[num - 1] = true;\n \t}", "S[num - 1] = true", "S[num - 1]", "S", "num - 1", "num", "1", "true", "if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}", "mark.equals(\"H\")", "mark.equals", "mark", "\"H\"", "{\n \t\tH[num - 1] = true;\n \t}", "H[num - 1] = true", "H[num - 1]", "H", "num - 1", "num", "1", "true", "if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}", "mark.equals(\"C\")", "mark.equals", "mark", "\"C\"", "{\n \t\tC[num - 1] = true;\n \t}", "C[num - 1] = true", "C[num - 1]", "C", "num - 1", "num", "1", "true", "if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}", "mark.equals(\"D\")", "mark.equals", "mark", "\"D\"", "{\n \t\tD[num - 1] = true;\n \t\t}", "D[num - 1] = true", "D[num - 1]", "D", "num - 1", "num", "1", "true", "for(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}", "int set = 0;", "int set = 0;", "set", "0", "set < 13", "set", "13", "set++", "set++", "set", "{\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}", "{\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}", "if(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}", "S[set] == false", "S[set]", "S", "set", "false", "{\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}", "System.out.println(\"S\" + \" \" + (set + 1))", "System.out.println", "System.out", "System", "System.out", "\"S\" + \" \" + (set + 1)", "\"S\" + \" \" + (set + 1)", "\"S\"", "\" \"", "(set + 1)", "set", "1", "for(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}", "int set = 0;", "int set = 0;", "set", "0", "set < 13", "set", "13", "set++", "set++", "set", "{\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}", "{\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}", "if(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}", "H[set] == false", "H[set]", "H", "set", "false", "{\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}", "System.out.println(\"H\" + \" \" + (set + 1))", "System.out.println", "System.out", "System", "System.out", "\"H\" + \" \" + (set + 1)", "\"H\" + \" \" + (set + 1)", "\"H\"", "\" \"", "(set + 1)", "set", "1", "for(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}", "int set = 0;", "int set = 0;", "set", "0", "set < 13", "set", "13", "set++", "set++", "set", "{\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}", "{\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}", "if(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}", "C[set] == false", "C[set]", "C", "set", "false", "{\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}", "System.out.println(\"C\" + \" \" + (set + 1))", "System.out.println", "System.out", "System", "System.out", "\"C\" + \" \" + (set + 1)", "\"C\" + \" \" + (set + 1)", "\"C\"", "\" \"", "(set + 1)", "set", "1", "for(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}", "int set = 0;", "int set = 0;", "set", "0", "set < 13", "set", "13", "set++", "set++", "set", "{\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}", "{\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}", "if(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}", "D[set] == false", "D[set]", "D", "set", "false", "{\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}", "System.out.println(\"D\" + \" \" + (set + 1))", "System.out.println", "System.out", "System", "System.out", "\"D\" + \" \" + (set + 1)", "\"D\" + \" \" + (set + 1)", "\"D\"", "\" \"", "(set + 1)", "set", "1", "String[] args", "args", "public class Main {\n\tpublic void maain(){\n\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????¨?????????£?¨?\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\t//1???????????\\????????¢\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\????????¢\n for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }\n\n //?????£?????????????????????????????¢?????¨???????????????\n \tfor(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}\n\t}\n}", "public class Main {\n\tpublic void maain(){\n\n\t}\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t// TODO ?????????????????????????????????????????????\n\t\t//?????????????¨?????????£?¨?\n\t\tboolean[] S = new boolean[13];\n\t\tboolean[] H = new boolean[13];\n\t\tboolean[] C = new boolean[13];\n\t\tboolean[] D = new boolean[13];\n\n\t\t//1???????????\\????????¢\n\t\tInputStreamReader isr = new InputStreamReader(System.in);\n BufferedReader br = new BufferedReader(isr);\n\n String[] input = br.readLine().split(\" \");\n int n = Integer.parseInt(input[0]);\n\n //2???????????\\????????¢\n for(int set = 0;set < n; set++ ){\n \tString[] input2 = br.readLine().split(\" \");\n \tString mark = input2[0];\n \tint num = Integer.parseInt(input2[1]);\n\n \t//?????£?????????????????????true???????????????\n \tif(mark.equals(\"S\")){\n \t\tS[num - 1] = true;\n \t}else if(mark.equals(\"H\")){\n \t\tH[num - 1] = true;\n \t}else if(mark.equals(\"C\")){\n \t\tC[num - 1] = true;\n \t}else if(mark.equals(\"D\")){\n \t\tD[num - 1] = true;\n \t\t}\n }\n\n //?????£?????????????????????????????¢?????¨???????????????\n \tfor(int set = 0;set < 13; set++){\n \t\tif(S[set] == false){\n \t\t\tSystem.out.println(\"S\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(H[set] == false){\n \t\t\tSystem.out.println(\"H\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(C[set] == false){\n \t\t\tSystem.out.println(\"C\" + \" \" + (set + 1));\n \t\t}\n \t}\n \tfor(int set = 0;set < 13; set++){\n \t\tif(D[set] == false){\n \t\t\tSystem.out.println(\"D\" + \" \" + (set + 1));\n \t\t}\n \t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public void maain(){ } public static void main(String[] args) throws IOException { // TODO ????????????????????????????????????????????? //?????????????¨?????????£?¨? boolean[] S = new boolean[13]; boolean[] H = new boolean[13]; boolean[] C = new boolean[13]; boolean[] D = new boolean[13]; //1???????????\????????¢ InputStreamReader isr = new InputStreamReader(System.in); BufferedReader br = new BufferedReader(isr); String[] input = br.readLine().split(" "); int n = Integer.parseInt(input[0]); //2???????????\????????¢ for(int set = 0;set < n; set++ ){ String[] input2 = br.readLine().split(" "); String mark = input2[0]; int num = Integer.parseInt(input2[1]); //?????£?????????????????????true??????????????? if(mark.equals("S")){ S[num - 1] = true; }else if(mark.equals("H")){ H[num - 1] = true; }else if(mark.equals("C")){ C[num - 1] = true; }else if(mark.equals("D")){ D[num - 1] = true; } } //?????£?????????????????????????????¢?????¨??????????????? for(int set = 0;set < 13; set++){ if(S[set] == false){ System.out.println("S" + " " + (set + 1)); } } for(int set = 0;set < 13; set++){ if(H[set] == false){ System.out.println("H" + " " + (set + 1)); } } for(int set = 0;set < 13; set++){ if(C[set] == false){ System.out.println("C" + " " + (set + 1)); } } for(int set = 0;set < 13; set++){ if(D[set] == false){ System.out.println("D" + " " + (set + 1)); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 2, 2, 2, 13, 17, 13, 17, 2, 2, 18, 13, 13, 17, 13, 0, 18, 13, 2, 2, 2, 13, 17, 13, 17, 17, 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, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 0, 18, 13, 13, 17, 3, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 174, 8 ], [ 174, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 11, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 33, 37 ], [ 11, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 38, 48 ], [ 48, 49 ], [ 49, 50 ], [ 38, 51 ], [ 52, 52 ], [ 52, 53 ], [ 53, 54 ], [ 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 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 66, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 77, 82 ], [ 65, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 86, 92 ], [ 83, 93 ], [ 11, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 94, 102 ], [ 102, 103 ], [ 103, 104 ], [ 94, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 106, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 112, 122 ], [ 122, 123 ], [ 123, 124 ], [ 112, 125 ], [ 126, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 131, 132 ], [ 131, 133 ], [ 127, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 134, 140 ], [ 11, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 141, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 148, 150 ], [ 141, 151 ], [ 151, 152 ], [ 152, 153 ], [ 141, 154 ], [ 155, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 163, 168 ], [ 168, 169 ], [ 168, 170 ], [ 9, 171 ], [ 171, 172 ], [ 0, 173 ], [ 173, 174 ], [ 173, 175 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint maisu = Integer.parseInt(br.readLine());\n\n\t\t// ??????????????¨?????°??????????????????\n\t\tString[] cards = new String[52];\n\n\t\t// ??????????????????????????§????????????boolean???????????????\n\t\tboolean[] cardsCheck = new boolean[52];\n\n\t\t// 13??§?????????????????????????????????????????????\n\t\tString[] suit = { \"S\", \"H\", \"C\", \"D\" };\n\n\t\t// ???????????????????????????????????¨??°????????\\??????\n\t\t// ??°?????????????????¨????????±??????????????? + \" \" + ??°??? ??§???????????\\??????\n\t\t// ?????????boolean????????¨??¨?????????false?????????\n\t\tfor (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}\n\t\t// ??\\???????????????????????¨??°??????????????????boolean???true?????????\n\t\t// ???????????£??????break?????§?????????????¬????????????????????´¢?????????\n\t\tfor (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// false?????????????????¨?????????\n\t\tfor(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint maisu = Integer.parseInt(br.readLine());\n\n\t\t// ??????????????¨?????°??????????????????\n\t\tString[] cards = new String[52];\n\n\t\t// ??????????????????????????§????????????boolean???????????????\n\t\tboolean[] cardsCheck = new boolean[52];\n\n\t\t// 13??§?????????????????????????????????????????????\n\t\tString[] suit = { \"S\", \"H\", \"C\", \"D\" };\n\n\t\t// ???????????????????????????????????¨??°????????\\??????\n\t\t// ??°?????????????????¨????????±??????????????? + \" \" + ??°??? ??§???????????\\??????\n\t\t// ?????????boolean????????¨??¨?????????false?????????\n\t\tfor (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}\n\t\t// ??\\???????????????????????¨??°??????????????????boolean???true?????????\n\t\t// ???????????£??????break?????§?????????????¬????????????????????´¢?????????\n\t\tfor (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// false?????????????????¨?????????\n\t\tfor(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint maisu = Integer.parseInt(br.readLine());\n\n\t\t// ??????????????¨?????°??????????????????\n\t\tString[] cards = new String[52];\n\n\t\t// ??????????????????????????§????????????boolean???????????????\n\t\tboolean[] cardsCheck = new boolean[52];\n\n\t\t// 13??§?????????????????????????????????????????????\n\t\tString[] suit = { \"S\", \"H\", \"C\", \"D\" };\n\n\t\t// ???????????????????????????????????¨??°????????\\??????\n\t\t// ??°?????????????????¨????????±??????????????? + \" \" + ??°??? ??§???????????\\??????\n\t\t// ?????????boolean????????¨??¨?????????false?????????\n\t\tfor (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}\n\t\t// ??\\???????????????????????¨??°??????????????????boolean???true?????????\n\t\t// ???????????£??????break?????§?????????????¬????????????????????´¢?????????\n\t\tfor (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// false?????????????????¨?????????\n\t\tfor(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint maisu = Integer.parseInt(br.readLine());\n\n\t\t// ??????????????¨?????°??????????????????\n\t\tString[] cards = new String[52];\n\n\t\t// ??????????????????????????§????????????boolean???????????????\n\t\tboolean[] cardsCheck = new boolean[52];\n\n\t\t// 13??§?????????????????????????????????????????????\n\t\tString[] suit = { \"S\", \"H\", \"C\", \"D\" };\n\n\t\t// ???????????????????????????????????¨??°????????\\??????\n\t\t// ??°?????????????????¨????????±??????????????? + \" \" + ??°??? ??§???????????\\??????\n\t\t// ?????????boolean????????¨??¨?????????false?????????\n\t\tfor (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}\n\t\t// ??\\???????????????????????¨??°??????????????????boolean???true?????????\n\t\t// ???????????£??????break?????§?????????????¬????????????????????´¢?????????\n\t\tfor (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// false?????????????????¨?????????\n\t\tfor(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int maisu = Integer.parseInt(br.readLine());", "maisu", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] cards = new String[52];", "cards", "new String[52]", "52", "boolean[] cardsCheck = new boolean[52];", "cardsCheck", "new boolean[52]", "52", "String[] suit = { \"S\", \"H\", \"C\", \"D\" };", "suit", "{ \"S\", \"H\", \"C\", \"D\" }", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "for (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}", "int a = 0;", "int a = 0;", "a", "0", "a < suit.length", "a", "suit.length", "suit", "suit.length", "a++", "a++", "a", "{\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}", "for (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}", "int b = 1;", "int b = 1;", "b", "1", "b <= 13", "b", "13", "b++", "b++", "b", "{\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}", "{\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}", "cards[a * 13 + b - 1] = suit[a] + \" \" + b", "cards[a * 13 + b - 1]", "cards", "a * 13 + b - 1", "a * 13 + b", "a * 13", "a", "13", "b", "1", "suit[a] + \" \" + b", "suit[a] + \" \" + b", "suit[a]", "suit", "a", "\" \"", "b", "cardsCheck[a * 13 + b - 1] = false", "cardsCheck[a * 13 + b - 1]", "cardsCheck", "a * 13 + b - 1", "a * 13 + b", "a * 13", "a", "13", "b", "1", "false", "for (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int c = 0;", "int c = 0;", "c", "0", "c < maisu", "c", "maisu", "c++", "c++", "c", "{\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "String nyuryokuCard = br.readLine();", "nyuryokuCard", "br.readLine()", "br.readLine", "br", "for(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "int d = 0;", "int d = 0;", "d", "0", "d < cards.length", "d", "cards.length", "cards", "cards.length", "d++", "d++", "d", "{\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "if(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}", "nyuryokuCard.equals(cards[d])", "nyuryokuCard.equals", "nyuryokuCard", "cards[d]", "cards", "d", "{\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}", "cardsCheck[d] = true", "cardsCheck[d]", "cardsCheck", "d", "true", "break;", "for(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}", "int e = 0;", "int e = 0;", "e", "0", "e < cards.length", "e", "cards.length", "cards", "cards.length", "e++", "e++", "e", "{\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}", "{\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}", "if(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}", "cardsCheck[e] == false", "cardsCheck[e]", "cardsCheck", "e", "false", "{\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}", "System.out.println(cards[e])", "System.out.println", "System.out", "System", "System.out", "cards[e]", "cards", "e", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint maisu = Integer.parseInt(br.readLine());\n\n\t\t// ??????????????¨?????°??????????????????\n\t\tString[] cards = new String[52];\n\n\t\t// ??????????????????????????§????????????boolean???????????????\n\t\tboolean[] cardsCheck = new boolean[52];\n\n\t\t// 13??§?????????????????????????????????????????????\n\t\tString[] suit = { \"S\", \"H\", \"C\", \"D\" };\n\n\t\t// ???????????????????????????????????¨??°????????\\??????\n\t\t// ??°?????????????????¨????????±??????????????? + \" \" + ??°??? ??§???????????\\??????\n\t\t// ?????????boolean????????¨??¨?????????false?????????\n\t\tfor (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}\n\t\t// ??\\???????????????????????¨??°??????????????????boolean???true?????????\n\t\t// ???????????£??????break?????§?????????????¬????????????????????´¢?????????\n\t\tfor (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// false?????????????????¨?????????\n\t\tfor(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) throws Exception {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint maisu = Integer.parseInt(br.readLine());\n\n\t\t// ??????????????¨?????°??????????????????\n\t\tString[] cards = new String[52];\n\n\t\t// ??????????????????????????§????????????boolean???????????????\n\t\tboolean[] cardsCheck = new boolean[52];\n\n\t\t// 13??§?????????????????????????????????????????????\n\t\tString[] suit = { \"S\", \"H\", \"C\", \"D\" };\n\n\t\t// ???????????????????????????????????¨??°????????\\??????\n\t\t// ??°?????????????????¨????????±??????????????? + \" \" + ??°??? ??§???????????\\??????\n\t\t// ?????????boolean????????¨??¨?????????false?????????\n\t\tfor (int a = 0; a < suit.length; a++) {\n\t\t\tfor (int b = 1; b <= 13; b++) {\n\t\t\t\tcards[a * 13 + b - 1] = suit[a] + \" \" + b;\n\t\t\t\tcardsCheck[a * 13 + b - 1] = false;\n\t\t\t}\n\t\t}\n\t\t// ??\\???????????????????????¨??°??????????????????boolean???true?????????\n\t\t// ???????????£??????break?????§?????????????¬????????????????????´¢?????????\n\t\tfor (int c = 0; c < maisu; c++) {\n\t\t\tString nyuryokuCard = br.readLine();\n\t\t\tfor(int d = 0; d < cards.length; d++){\n\t\t\t\tif(nyuryokuCard.equals(cards[d])){\n\t\t\t\t\tcardsCheck[d] = true;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\t// false?????????????????¨?????????\n\t\tfor(int e = 0; e < cards.length; e++){\n\t\t\tif(cardsCheck[e] == false){\n\t\t\t\tSystem.out.println(cards[e]);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws Exception { // TODO ????????????????????????????????????????????? BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int maisu = Integer.parseInt(br.readLine()); // ??????????????¨?????°?????????????????? String[] cards = new String[52]; // ??????????????????????????§????????????boolean??????????????? boolean[] cardsCheck = new boolean[52]; // 13??§????????????????????????????????????????????? String[] suit = { "S", "H", "C", "D" }; // ???????????????????????????????????¨??°????????\?????? // ??°?????????????????¨????????±??????????????? + " " + ??°??? ??§???????????\?????? // ?????????boolean????????¨??¨?????????false????????? for (int a = 0; a < suit.length; a++) { for (int b = 1; b <= 13; b++) { cards[a * 13 + b - 1] = suit[a] + " " + b; cardsCheck[a * 13 + b - 1] = false; } } // ??\???????????????????????¨??°??????????????????boolean???true????????? // ???????????£??????break?????§?????????????¬????????????????????´¢????????? for (int c = 0; c < maisu; c++) { String nyuryokuCard = br.readLine(); for(int d = 0; d < cards.length; d++){ if(nyuryokuCard.equals(cards[d])){ cardsCheck[d] = true; break; } } } // false?????????????????¨????????? for(int e = 0; e < cards.length; e++){ if(cardsCheck[e] == false){ System.out.println(cards[e]); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 39, 17, 17, 17, 17, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 41, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 18, 13, 17, 30, 0, 13, 17, 0, 18, 18, 13, 13, 2, 13, 17, 17, 14, 4, 18, 13, 18, 13, 17, 30, 0, 13, 17, 0, 18, 18, 13, 13, 2, 13, 17, 17, 14, 4, 18, 13, 18, 13, 17, 30, 0, 13, 17, 0, 18, 18, 13, 13, 2, 13, 17, 17, 14, 4, 18, 13, 18, 13, 17, 30, 0, 13, 17, 0, 18, 18, 13, 13, 2, 13, 17, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 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 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 19, 22 ], [ 19, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 8, 33 ], [ 33, 34 ], [ 8, 35 ], [ 35, 36 ], [ 8, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 49, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 60, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 60, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 80, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 104, 105 ], [ 104, 106 ], [ 100, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 116, 118 ], [ 111, 119 ], [ 100, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 124, 126 ], [ 120, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 136, 138 ], [ 131, 139 ], [ 8, 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 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 167, 173 ], [ 166, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 181, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 6, 189 ], [ 189, 190 ], [ 0, 191 ], [ 191, 192 ], [ 191, 193 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t int [][] ali = new int[4][13];\n\t String Card[]= {\"S\",\"H\",\"C\",\"D\"};\n\n\t int yy = scan.nextInt();\n\t String kk ;\n\t int zz;\n\t int i;\n\t int q;\n\t for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }\n\n\n\n\t for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}\n\t }\n\n\t}", "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 scan = new Scanner(System.in);\n\n\t\t int [][] ali = new int[4][13];\n\t String Card[]= {\"S\",\"H\",\"C\",\"D\"};\n\n\t int yy = scan.nextInt();\n\t String kk ;\n\t int zz;\n\t int i;\n\t int q;\n\t for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }\n\n\n\n\t for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}\n\t }\n\n\t}", "Main", "public static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t int [][] ali = new int[4][13];\n\t String Card[]= {\"S\",\"H\",\"C\",\"D\"};\n\n\t int yy = scan.nextInt();\n\t String kk ;\n\t int zz;\n\t int i;\n\t int q;\n\t for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }\n\n\n\n\t for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}\n\t }", "main", "{\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t int [][] ali = new int[4][13];\n\t String Card[]= {\"S\",\"H\",\"C\",\"D\"};\n\n\t int yy = scan.nextInt();\n\t String kk ;\n\t int zz;\n\t int i;\n\t int q;\n\t for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }\n\n\n\n\t for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}\n\t }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int [][] ali = new int[4][13];", "ali", "new int[4][13]", "4", "13", "String Card[]= {\"S\",\"H\",\"C\",\"D\"};", "Card", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "int yy = scan.nextInt();", "yy", "scan.nextInt()", "scan.nextInt", "scan", "String kk ;", "kk", "int zz;", "zz", "int i;", "i", "int q;", "q", "for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }", "i = 0;", "i = 0", "i", "0", "i < yy", "i", "yy", "i++", "i++", "i", "{\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }", "{\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }", "kk= scan.next()", "kk", "scan.next()", "scan.next", "scan", "zz= scan.nextInt()", "zz", "scan.nextInt()", "scan.nextInt", "scan", "if(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "kk.equals(Card[0])", "kk.equals", "kk", "Card[0]", "Card", "0", "{\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "q=0", "q", "0", "ali[q][zz-1]=213", "ali[q][zz-1]", "ali[q]", "ali", "q", "zz-1", "zz", "1", "213", "if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "kk.equals(Card[1])", "kk.equals", "kk", "Card[1]", "Card", "1", "{\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "q=1", "q", "1", "ali[q][zz-1]=213", "ali[q][zz-1]", "ali[q]", "ali", "q", "zz-1", "zz", "1", "213", "if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "kk.equals(Card[2])", "kk.equals", "kk", "Card[2]", "Card", "2", "{\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "q=2", "q", "2", "ali[q][zz-1]=213", "ali[q][zz-1]", "ali[q]", "ali", "q", "zz-1", "zz", "1", "213", "if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "kk.equals(Card[3])", "kk.equals", "kk", "Card[3]", "Card", "3", "{\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}", "q=3", "q", "3", "ali[q][zz-1]=213", "ali[q][zz-1]", "ali[q]", "ali", "q", "zz-1", "zz", "1", "213", "for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}", "i= 0;", "i= 0", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}", "{\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}", "for (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "j++", "j++", "j", "{\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}", "{\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}", "if (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}", "ali[i][j]!= 213", "ali[i][j]", "ali[i]", "ali", "i", "j", "213", "{\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}", "System.out.println(Card[i]+ \" \" + (j +1))", "System.out.println", "System.out", "System", "System.out", "Card[i]+ \" \" + (j +1)", "Card[i]+ \" \" + (j +1)", "Card[i]", "Card", "i", "\" \"", "(j +1)", "j", "1", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t int [][] ali = new int[4][13];\n\t String Card[]= {\"S\",\"H\",\"C\",\"D\"};\n\n\t int yy = scan.nextInt();\n\t String kk ;\n\t int zz;\n\t int i;\n\t int q;\n\t for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }\n\n\n\n\t for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}\n\t }\n\n\t}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO ?????????????????????????????????????????????\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t int [][] ali = new int[4][13];\n\t String Card[]= {\"S\",\"H\",\"C\",\"D\"};\n\n\t int yy = scan.nextInt();\n\t String kk ;\n\t int zz;\n\t int i;\n\t int q;\n\t for(i = 0; i < yy ; i++){\n\t \tkk= scan.next();\n\t \tzz= scan.nextInt();\n\t \tif(kk.equals(Card[0])){\n\t \t\tq=0;\n\t \t\tali[q][zz-1]=213;\n\t \t}else if(kk.equals(Card[1])){\n\t \t\tq=1;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[2])){\n\t \t\tq=2;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\t \telse if(kk.equals(Card[3])){\n\t \t\tq=3;\n\t \t\tali[q][zz-1]=213;\n\t \t}\n\n\t }\n\n\n\n\t for ( i= 0; i<4; i++){\n\t \tfor (int j=0; j<13;j++){\n\t \t\tif (ali[i][j]!= 213){\n\t \t\t\tSystem.out.println(Card[i]+ \" \" + (j +1));\n\t \t\t}\n\t \t\t}\n\t \t}\n\t }\n\n\t}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO ????????????????????????????????????????????? Scanner scan = new Scanner(System.in); int [][] ali = new int[4][13]; String Card[]= {"S","H","C","D"}; int yy = scan.nextInt(); String kk ; int zz; int i; int q; for(i = 0; i < yy ; i++){ kk= scan.next(); zz= scan.nextInt(); if(kk.equals(Card[0])){ q=0; ali[q][zz-1]=213; }else if(kk.equals(Card[1])){ q=1; ali[q][zz-1]=213; } else if(kk.equals(Card[2])){ q=2; ali[q][zz-1]=213; } else if(kk.equals(Card[3])){ q=3; ali[q][zz-1]=213; } } for ( i= 0; i<4; i++){ for (int j=0; j<13;j++){ if (ali[i][j]!= 213){ System.out.println(Card[i]+ " " + (j +1)); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 2, 2, 18, 13, 13, 17, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 115, 17 ], [ 115, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 34, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 20, 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 ], [ 55, 58 ], [ 58, 59 ], [ 59, 60 ], [ 20, 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 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 74, 85 ], [ 86, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 93, 98 ], [ 87, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 106, 111 ], [ 18, 112 ], [ 112, 113 ], [ 0, 114 ], [ 114, 115 ], [ 114, 116 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.Set;\n\npublic class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] suit={\"S\",\"H\",\"C\",\"D\"};\n Set<String> list = new HashSet<String>();\n for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }\n for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] suit={\"S\",\"H\",\"C\",\"D\"};\n Set<String> list = new HashSet<String>();\n for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }\n for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] suit={\"S\",\"H\",\"C\",\"D\"};\n Set<String> list = new HashSet<String>();\n for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }\n for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] suit={\"S\",\"H\",\"C\",\"D\"};\n Set<String> list = new HashSet<String>();\n for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }\n for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] suit={\"S\",\"H\",\"C\",\"D\"};", "suit", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "Set<String> list = new HashSet<String>();", "list", "new HashSet<String>()", "for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n list.add(br.readLine());\n }", "{\n list.add(br.readLine());\n }", "list.add(br.readLine())", "list.add", "list", "br.readLine()", "br.readLine", "br", "for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }", "{\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }", "for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }", "int j=1;", "int j=1;", "j", "1", "j<=13", "j", "13", "j++", "j++", "j", "{\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }", "{\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }", "if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }", "!list.contains(suit[i]+\" \"+j)", "list.contains(suit[i]+\" \"+j)", "list.contains", "list", "suit[i]+\" \"+j", "suit[i]+\" \"+j", "suit[i]", "suit", "i", "\" \"", "j", "{\n System.out.println(suit[i]+\" \"+j);\n }", "System.out.println(suit[i]+\" \"+j)", "System.out.println", "System.out", "System", "System.out", "suit[i]+\" \"+j", "suit[i]+\" \"+j", "suit[i]", "suit", "i", "\" \"", "j", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] suit={\"S\",\"H\",\"C\",\"D\"};\n Set<String> list = new HashSet<String>();\n for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }\n for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n String[] suit={\"S\",\"H\",\"C\",\"D\"};\n Set<String> list = new HashSet<String>();\n for (int i = 0; i < n; i++) {\n list.add(br.readLine());\n }\n for (int i=0;i<4;i++) {\n for(int j=1;j<=13;j++){\n if(!list.contains(suit[i]+\" \"+j)){\n System.out.println(suit[i]+\" \"+j);\n }\n }\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); String[] suit={"S","H","C","D"}; Set<String> list = new HashSet<String>(); for (int i = 0; i < n; i++) { list.add(br.readLine()); } for (int i=0;i<4;i++) { for(int j=1;j<=13;j++){ if(!list.contains(suit[i]+" "+j)){ System.out.println(suit[i]+" "+j); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 4, 13, 13, 17, 4, 13, 13, 17, 4, 13, 13, 17, 4, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 17, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 4, 18, 13, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 2, 2, 13, 17, 2, 13, 17, 23, 13, 23, 13, 12, 13, 30, 4, 18, 13, 2, 2, 13, 17, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 140, 11 ], [ 140, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 14, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 14, 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 ], [ 57, 59 ], [ 57, 60 ], [ 60, 61 ], [ 61, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 14, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 73, 75 ], [ 66, 76 ], [ 76, 77 ], [ 77, 78 ], [ 66, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 12, 90 ], [ 90, 91 ], [ 140, 92 ], [ 92, 93 ], [ 92, 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 ], [ 108, 111 ], [ 112, 112 ], [ 112, 113 ], [ 112, 114 ], [ 112, 115 ], [ 115, 116 ], [ 115, 117 ], [ 92, 118 ], [ 118, 119 ], [ 92, 120 ], [ 120, 121 ], [ 140, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 129, 129 ], [ 129, 130 ], [ 129, 131 ], [ 129, 132 ], [ 122, 133 ], [ 133, 134 ], [ 122, 135 ], [ 135, 136 ], [ 122, 137 ], [ 137, 138 ], [ 0, 139 ], [ 139, 140 ], [ 139, 141 ] ]
[ "import java.io.*;\nimport java.util.Scanner;\nimport java.util.ArrayList;\n\n\npublic class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<String> cards = new ArrayList<String>();\n trumpAdd(cards, \"S\");\n trumpAdd(cards, \"H\");\n trumpAdd(cards, \"C\");\n trumpAdd(cards, \"D\");\n for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }\n for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }\n }\n \n public static void trumpAdd(ArrayList<String> sample, String mark){\n for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }\n }\n \n public static void trumpRemove(ArrayList<String> sample, String marks, int number){\n sample.remove(marks + \" \" + number);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<String> cards = new ArrayList<String>();\n trumpAdd(cards, \"S\");\n trumpAdd(cards, \"H\");\n trumpAdd(cards, \"C\");\n trumpAdd(cards, \"D\");\n for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }\n for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }\n }\n \n public static void trumpAdd(ArrayList<String> sample, String mark){\n for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }\n }\n \n public static void trumpRemove(ArrayList<String> sample, String marks, int number){\n sample.remove(marks + \" \" + number);\n }\n}", "Main", "public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<String> cards = new ArrayList<String>();\n trumpAdd(cards, \"S\");\n trumpAdd(cards, \"H\");\n trumpAdd(cards, \"C\");\n trumpAdd(cards, \"D\");\n for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }\n for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<String> cards = new ArrayList<String>();\n trumpAdd(cards, \"S\");\n trumpAdd(cards, \"H\");\n trumpAdd(cards, \"C\");\n trumpAdd(cards, \"D\");\n for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }\n for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "ArrayList<String> cards = new ArrayList<String>();", "cards", "new ArrayList<String>()", "trumpAdd(cards, \"S\")", "trumpAdd", "cards", "\"S\"", "trumpAdd(cards, \"H\")", "trumpAdd", "cards", "\"H\"", "trumpAdd(cards, \"C\")", "trumpAdd", "cards", "\"C\"", "trumpAdd(cards, \"D\")", "trumpAdd", "cards", "\"D\"", "for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }", "int I = 0;", "int I = 0;", "I", "0", "I <= n - 1", "I", "n - 1", "n", "1", "I++", "I++", "I", "{\n trumpRemove(cards, scan.next(),scan.nextInt());\n }", "{\n trumpRemove(cards, scan.next(),scan.nextInt());\n }", "trumpRemove(cards, scan.next(),scan.nextInt())", "trumpRemove", "cards", "scan.next()", "scan.next", "scan", "scan.nextInt()", "scan.nextInt", "scan", "for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }", "int j = 0;", "int j = 0;", "j", "0", "j <= 51 - n", "j", "51 - n", "51", "n", "j++", "j++", "j", "{\n System.out.println(cards.get(j));\n }", "{\n System.out.println(cards.get(j));\n }", "System.out.println(cards.get(j))", "System.out.println", "System.out", "System", "System.out", "cards.get(j)", "cards.get", "cards", "j", "String[] args", "args", "public static void trumpAdd(ArrayList<String> sample, String mark){\n for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }\n }", "trumpAdd", "{\n for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }\n }", "for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= 12", "i", "12", "i++", "i++", "i", "{\n sample.add(mark + \" \" + (i + 1));\n }", "{\n sample.add(mark + \" \" + (i + 1));\n }", "sample.add(mark + \" \" + (i + 1))", "sample.add", "sample", "mark + \" \" + (i + 1)", "mark + \" \" + (i + 1)", "mark", "\" \"", "(i + 1)", "i", "1", "ArrayList<String> sample", "sample", "String mark", "mark", "public static void trumpRemove(ArrayList<String> sample, String marks, int number){\n sample.remove(marks + \" \" + number);\n }", "trumpRemove", "{\n sample.remove(marks + \" \" + number);\n }", "sample.remove(marks + \" \" + number)", "sample.remove", "sample", "marks + \" \" + number", "marks + \" \" + number", "marks", "\" \"", "number", "ArrayList<String> sample", "sample", "String marks", "marks", "int number", "number", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<String> cards = new ArrayList<String>();\n trumpAdd(cards, \"S\");\n trumpAdd(cards, \"H\");\n trumpAdd(cards, \"C\");\n trumpAdd(cards, \"D\");\n for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }\n for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }\n }\n \n public static void trumpAdd(ArrayList<String> sample, String mark){\n for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }\n }\n \n public static void trumpRemove(ArrayList<String> sample, String marks, int number){\n sample.remove(marks + \" \" + number);\n }\n}", "public class Main {\n public static void main(String[] args)throws Exception{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n ArrayList<String> cards = new ArrayList<String>();\n trumpAdd(cards, \"S\");\n trumpAdd(cards, \"H\");\n trumpAdd(cards, \"C\");\n trumpAdd(cards, \"D\");\n for(int I = 0;I <= n - 1;I++){\n trumpRemove(cards, scan.next(),scan.nextInt());\n }\n for(int j = 0;j <= 51 - n;j++){\n System.out.println(cards.get(j));\n }\n }\n \n public static void trumpAdd(ArrayList<String> sample, String mark){\n for(int i = 0;i <= 12;i++){\n sample.add(mark + \" \" + (i + 1));\n }\n }\n \n public static void trumpRemove(ArrayList<String> sample, String marks, int number){\n sample.remove(marks + \" \" + number);\n }\n}", "Main" ]
import java.io.*; import java.util.Scanner; import java.util.ArrayList; public class Main { public static void main(String[] args)throws Exception{ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); ArrayList<String> cards = new ArrayList<String>(); trumpAdd(cards, "S"); trumpAdd(cards, "H"); trumpAdd(cards, "C"); trumpAdd(cards, "D"); for(int I = 0;I <= n - 1;I++){ trumpRemove(cards, scan.next(),scan.nextInt()); } for(int j = 0;j <= 51 - n;j++){ System.out.println(cards.get(j)); } } public static void trumpAdd(ArrayList<String> sample, String mark){ for(int i = 0;i <= 12;i++){ sample.add(mark + " " + (i + 1)); } } public static void trumpRemove(ArrayList<String> sample, String marks, int number){ sample.remove(marks + " " + number); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 18, 13, 17, 40, 13, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 18, 13, 17, 40, 13, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 18, 13, 17, 40, 13, 17, 14, 4, 18, 18, 13, 17, 17, 0, 18, 18, 13, 17, 40, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 35, 13, 34, 17, 1, 4, 18, 13, 17, 3, 34, 17, 1, 4, 18, 13, 17, 3, 34, 17, 1, 4, 18, 13, 17, 3, 34, 17, 1, 4, 18, 13, 17, 3, 4, 18, 4, 18, 13, 2, 13, 17, 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 ], [ 213, 11 ], [ 213, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 52, 57 ], [ 49, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 49, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 73, 80 ], [ 49, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 81, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 88, 95 ], [ 49, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 108, 109 ], [ 103, 110 ], [ 49, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 118, 125 ], [ 14, 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 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 139, 150 ], [ 151, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 153, 159 ], [ 152, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 165, 170 ], [ 161, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 173, 178 ], [ 161, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 181, 186 ], [ 161, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 190, 193 ], [ 189, 194 ], [ 160, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 197, 200 ], [ 200, 201 ], [ 200, 202 ], [ 195, 203 ], [ 14, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 12, 210 ], [ 210, 211 ], [ 0, 212 ], [ 212, 213 ], [ 212, 214 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.io.IOException;\npublic class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n int n = Integer.parseInt(lineN);\n\t\tint[][] c = new int[4][13];\n for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n System.out.print(sb);\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n int n = Integer.parseInt(lineN);\n\t\tint[][] c = new int[4][13];\n for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n System.out.print(sb);\n\t}\n}", "Main", "public static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n int n = Integer.parseInt(lineN);\n\t\tint[][] c = new int[4][13];\n for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n System.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n int n = Integer.parseInt(lineN);\n\t\tint[][] c = new int[4][13];\n for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n System.out.print(sb);\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "String lineN = br.readLine();", "lineN", "br.readLine()", "br.readLine", "br", "int n = Integer.parseInt(lineN);", "n", "Integer.parseInt(lineN)", "Integer.parseInt", "Integer", "lineN", "int[][] c = new int[4][13];", "c", "new int[4][13]", "4", "13", "for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }", "{\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }", "String[] lineA = br.readLine().split(\" \");", "lineA", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "int num = Integer.parseInt(lineA[1]);", "num", "Integer.parseInt(lineA[1])", "Integer.parseInt", "Integer", "lineA[1]", "lineA", "1", "if( lineA[0].equals(\"S\") ) c[0][--num] =1;", "lineA[0].equals(\"S\")", "lineA[0].equals", "lineA[0]", "lineA", "0", "\"S\"", "c[0][--num] =1", "c[0][--num]", "c[0]", "c", "0", "--num", "num", "1", "if( lineA[0].equals(\"H\") ) c[1][--num] =1;", "lineA[0].equals(\"H\")", "lineA[0].equals", "lineA[0]", "lineA", "0", "\"H\"", "c[1][--num] =1", "c[1][--num]", "c[1]", "c", "1", "--num", "num", "1", "if( lineA[0].equals(\"C\") ) c[2][--num] =1;", "lineA[0].equals(\"C\")", "lineA[0].equals", "lineA[0]", "lineA", "0", "\"C\"", "c[2][--num] =1", "c[2][--num]", "c[2]", "c", "2", "--num", "num", "1", "if( lineA[0].equals(\"D\") ) c[3][--num] =1;", "lineA[0].equals(\"D\")", "lineA[0].equals", "lineA[0]", "lineA", "0", "\"D\"", "c[3][--num] =1", "c[3][--num]", "c[3]", "c", "3", "--num", "num", "1", "for(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}", "if( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}", "c[i][j] == 0", "c[i][j]", "c[i]", "c", "i", "j", "0", "{\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}", "switch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}", "i", "case 0:", "0", "case 0:", "sb.append(\"S \")", "sb.append", "sb", "\"S \"", "break;", "case 1:", "1", "case 1:", "sb.append(\"H \")", "sb.append", "sb", "\"H \"", "break;", "case 2:", "2", "case 2:", "sb.append(\"C \")", "sb.append", "sb", "\"C \"", "break;", "case 3:", "3", "case 3:", "sb.append(\"D \")", "sb.append", "sb", "\"D \"", "break;", "sb.append(j+1).append(\"\\n\")", "sb.append(j+1).append", "sb.append(j+1)", "sb.append", "sb", "j+1", "j", "1", "\"\\n\"", "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 br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n int n = Integer.parseInt(lineN);\n\t\tint[][] c = new int[4][13];\n for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n System.out.print(sb);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws IOException{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb = new StringBuilder();\n\t\tString lineN = br.readLine();\n int n = Integer.parseInt(lineN);\n\t\tint[][] c = new int[4][13];\n for(int i = 0; i < n; i++){\n String[] lineA = br.readLine().split(\" \");\n int num = Integer.parseInt(lineA[1]);\n if( lineA[0].equals(\"S\") ) c[0][--num] =1;\n if( lineA[0].equals(\"H\") ) c[1][--num] =1;\n if( lineA[0].equals(\"C\") ) c[2][--num] =1;\n if( lineA[0].equals(\"D\") ) c[3][--num] =1;\n }\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 0; j < 13; j++){\n\t\t\t\tif( c[i][j] == 0 ){\n\t\t\t\t\tswitch(i){\n\t\t\t\t\t\tcase 0:\n\t\t\t\t\t\t\tsb.append(\"S \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 1:\n\t\t\t\t\t\t\tsb.append(\"H \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 2:\n\t\t\t\t\t\t\tsb.append(\"C \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t\tcase 3:\n\t\t\t\t\t\t\tsb.append(\"D \");\n\t\t\t\t\t\t\tbreak;\n\t\t\t\t\t}\n\t\t\t\t\tsb.append(j+1).append(\"\\n\");\n\t\t\t\t}\n\t\t\t}\n\t\t}\n System.out.print(sb);\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.io.IOException; public class Main{ public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); String lineN = br.readLine(); int n = Integer.parseInt(lineN); int[][] c = new int[4][13]; for(int i = 0; i < n; i++){ String[] lineA = br.readLine().split(" "); int num = Integer.parseInt(lineA[1]); if( lineA[0].equals("S") ) c[0][--num] =1; if( lineA[0].equals("H") ) c[1][--num] =1; if( lineA[0].equals("C") ) c[2][--num] =1; if( lineA[0].equals("D") ) c[3][--num] =1; } for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ if( c[i][j] == 0 ){ switch(i){ case 0: sb.append("S "); break; case 1: sb.append("H "); break; case 2: sb.append("C "); break; case 3: sb.append("D "); break; } sb.append(j+1).append("\n"); } } } System.out.print(sb); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 39, 17, 17, 17, 17, 28, 13, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 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, 28, 13, 18, 13, 13, 30, 30, 14, 2, 18, 13, 13, 4, 18, 18, 13, 17, 17, 30, 9, 14, 2, 18, 13, 13, 4, 18, 13, 18, 13, 17, 30, 0, 18, 13, 13, 17, 28, 13, 18, 13, 13, 30, 30, 14, 40, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 20, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 183, 17 ], [ 183, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 23, 26 ], [ 23, 27 ], [ 20, 28 ], [ 28, 29 ], [ 28, 30 ], [ 28, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 20, 52 ], [ 52, 53 ], [ 52, 54 ], [ 20, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 61, 62 ], [ 20, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 63, 74 ], [ 75, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 75, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 75, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 93, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 94, 105 ], [ 105, 106 ], [ 93, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 115, 116 ], [ 115, 117 ], [ 107, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 20, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 130, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 143, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 18, 151 ], [ 151, 152 ], [ 0, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 153, 157 ], [ 157, 158 ], [ 153, 159 ], [ 159, 160 ], [ 159, 161 ], [ 153, 162 ], [ 162, 163 ], [ 162, 164 ], [ 153, 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 ], [ 165, 178 ], [ 178, 179 ], [ 165, 180 ], [ 180, 181 ], [ 0, 182 ], [ 182, 183 ], [ 182, 184 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.List;\n\npublic class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tchar[] marks = {'S', 'H', 'C', 'D'};\n\n\t\tfor(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}\n\t}\n}\n\nclass Card {\n\tchar mark;\n\tint rank;\n\tboolean have = false;\n\tstatic List<Card> allCards = new ArrayList<Card>();\n\n\tCard(char mark, int rank) {\n\t\tthis.mark = mark;\n\t\tthis.rank = rank;\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tchar[] marks = {'S', 'H', 'C', 'D'};\n\n\t\tfor(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws IOException {\n\t\tchar[] marks = {'S', 'H', 'C', 'D'};\n\n\t\tfor(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\tchar[] marks = {'S', 'H', 'C', 'D'};\n\n\t\tfor(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}\n\t}", "char[] marks = {'S', 'H', 'C', 'D'};", "marks", "{'S', 'H', 'C', 'D'}", "'S'", "'H'", "'C'", "'D'", "for(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}", "char mark", "marks", "{\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}", "for (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= 13", "i", "13", "i++", "i++", "i", "{\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}", "{\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}", "Card.allCards.add(new Card(mark, i))", "Card.allCards.add", "Card.allCards", "Card", "Card.allCards", "new Card(mark, i)", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\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\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "String[] arr = str.split(\" \");", "arr", "str.split(\" \")", "str.split", "str", "\" \"", "for (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}", "Card card", "Card.allCards", "Card", "Card.allCards", "{\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}", "if (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}", "card.mark != arr[0].charAt(0)", "card.mark", "card", "card.mark", "arr[0].charAt(0)", "arr[0].charAt", "arr[0]", "arr", "0", "0", "{\n\t\t\t\t\tcontinue;\n\t\t\t\t}", "continue;", "if (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}", "card.rank == Integer.parseInt(arr[1])", "card.rank", "card", "card.rank", "Integer.parseInt(arr[1])", "Integer.parseInt", "Integer", "arr[1]", "arr", "1", "{\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}", "card.have = true", "card.have", "card", "card.have", "true", "for (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}", "Card card", "Card.allCards", "Card", "Card.allCards", "{\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}", "if (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}", "!card.have", "card.have", "card", "card.have", "{\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}", "System.out.println(card.mark + \" \" + card.rank)", "System.out.println", "System.out", "System", "System.out", "card.mark + \" \" + card.rank", "card.mark + \" \" + card.rank", "card.mark", "card", "card.mark", "\" \"", "card.rank", "card", "card.rank", "String[] args", "args", "class Card {\n\tchar mark;\n\tint rank;\n\tboolean have = false;\n\tstatic List<Card> allCards = new ArrayList<Card>();\n\n\tCard(char mark, int rank) {\n\t\tthis.mark = mark;\n\t\tthis.rank = rank;\n\t}\n}", "Card", "char mark;", "mark", "int rank;", "rank", "boolean have = false;", "have", "false", "static List<Card> allCards = new ArrayList<Card>();", "allCards", "new ArrayList<Card>()", "Card(char mark, int rank) {\n\t\tthis.mark = mark;\n\t\tthis.rank = rank;\n\t}", "Card", "{\n\t\tthis.mark = mark;\n\t\tthis.rank = rank;\n\t}", "this.mark = mark", "this.mark", "this", "this.mark", "mark", "this.rank = rank", "this.rank", "this", "this.rank", "rank", "char mark", "mark", "int rank", "rank", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tchar[] marks = {'S', 'H', 'C', 'D'};\n\n\t\tfor(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws IOException {\n\t\tchar[] marks = {'S', 'H', 'C', 'D'};\n\n\t\tfor(char mark : marks) {\n\t\t\tfor (int i = 1; i <= 13; i++) {\n\t\t\t\tCard.allCards.add(new Card(mark, i));\n\t\t\t}\n\t\t}\n\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tint n = Integer.parseInt(br.readLine());\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString str = br.readLine();\n\t\t\tString[] arr = str.split(\" \");\n\t\t\tfor (Card card : Card.allCards) {\n\t\t\t\tif (card.mark != arr[0].charAt(0)) {\n\t\t\t\t\tcontinue;\n\t\t\t\t}\n\t\t\t\tif (card.rank == Integer.parseInt(arr[1])) {\n\t\t\t\t\tcard.have = true;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\tfor (Card card : Card.allCards) {\n\t\t\tif (!card.have) {\n\t\t\t\tSystem.out.println(card.mark + \" \" + card.rank);\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.List; public class Main { public static void main(String[] args) throws IOException { char[] marks = {'S', 'H', 'C', 'D'}; for(char mark : marks) { for (int i = 1; i <= 13; i++) { Card.allCards.add(new Card(mark, i)); } } BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); for (int i = 0; i < n; i++) { String str = br.readLine(); String[] arr = str.split(" "); for (Card card : Card.allCards) { if (card.mark != arr[0].charAt(0)) { continue; } if (card.rank == Integer.parseInt(arr[1])) { card.have = true; } } } for (Card card : Card.allCards) { if (!card.have) { System.out.println(card.mark + " " + card.rank); } } } } class Card { char mark; int rank; boolean have = false; static List<Card> allCards = new ArrayList<Card>(); Card(char mark, int rank) { this.mark = mark; this.rank = rank; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 0, 18, 18, 13, 4, 18, 13, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 4, 18, 13, 13, 17, 2, 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 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 40, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 37, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 52, 59 ], [ 59, 60 ], [ 59, 61 ], [ 51, 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 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 90, 96 ], [ 89, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 104, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 104, 110 ], [ 110, 111 ], [ 110, 112 ], [ 6, 113 ], [ 113, 114 ] ]
[ "import 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 String gara = \"SHCD\";\n int [][] card = new int[4][13];\n \n for(int i = 0; i < n; i++){\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }\n \n for(int i = 0 ; i < 4 ; i++ ){\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\n }\n \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 String gara = \"SHCD\";\n int [][] card = new int[4][13];\n \n for(int i = 0; i < n; i++){\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }\n \n for(int i = 0 ; i < 4 ; i++ ){\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\n }\n \n \n }\n}", "Main", "public static void main(String [] args){\n \tScanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n String gara = \"SHCD\";\n int [][] card = new int[4][13];\n \n for(int i = 0; i < n; i++){\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }\n \n for(int i = 0 ; i < 4 ; i++ ){\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\n }\n \n \n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n String gara = \"SHCD\";\n int [][] card = new int[4][13];\n \n for(int i = 0; i < n; i++){\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }\n \n for(int i = 0 ; i < 4 ; i++ ){\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\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", "String gara = \"SHCD\";", "gara", "\"SHCD\"", "int [][] card = new int[4][13];", "card", "new int[4][13]", "4", "13", "for(int i = 0; i < n; i++){\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }", "{\n \t\n char inputgara = sc.next().charAt(0);\n int cardnum = sc.nextInt();\n \n card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0??????????????????\n \n }", "char inputgara = sc.next().charAt(0);", "inputgara", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "int cardnum = sc.nextInt();", "cardnum", "sc.nextInt()", "sc.nextInt", "sc", "card[gara.indexOf(inputgara)][cardnum - 1] = 1", "card[gara.indexOf(inputgara)][cardnum - 1]", "card[gara.indexOf(inputgara)]", "card", "gara.indexOf(inputgara)", "gara.indexOf", "gara", "inputgara", "cardnum - 1", "cardnum", "1", "1", "for(int i = 0 ; i < 4 ; i++ ){\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\n }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\n }", "{\n \tfor(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}\n \t\t\n }", "for(int j = 0 ; j < 13 ; j++ ){\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}", "{\n \t\tif(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}\n \t}", "if(card[i][j] != 1){\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}", "card[i][j] != 1", "card[i][j]", "card[i]", "card", "i", "j", "1", "{\n \t\t\tSystem.out.println( gara.charAt(i) + \" \" + (j+1));\n \t\t}", "System.out.println( gara.charAt(i) + \" \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "gara.charAt(i) + \" \" + (j+1)", "gara.charAt(i) + \" \" + (j+1)", "gara.charAt(i)", "gara.charAt", "gara", "i", "\" \"", "(j+1)", "j", "1", "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(); String gara = "SHCD"; int [][] card = new int[4][13]; for(int i = 0; i < n; i++){ char inputgara = sc.next().charAt(0); int cardnum = sc.nextInt(); card[gara.indexOf(inputgara)][cardnum - 1] = 1;// 1???????????? 0?????????????????? } for(int i = 0 ; i < 4 ; i++ ){ for(int j = 0 ; j < 13 ; j++ ){ if(card[i][j] != 1){ System.out.println( gara.charAt(i) + " " + (j+1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 41, 13, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 0, 13, 4, 18, 13, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 1, 9, 0, 18, 13, 13, 17, 11, 1, 0, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 30, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 2, 13, 17, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 2, 13, 17, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 2, 13, 17, 17, 14, 2, 2, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 17, 2, 2, 13, 17, 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 ], [ 8, 14 ], [ 14, 15 ], [ 8, 16 ], [ 16, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 59, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 59, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 70, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 70, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 70, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 70, 100 ], [ 100, 101 ], [ 101, 102 ], [ 59, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 108, 116 ], [ 116, 117 ], [ 117, 118 ], [ 108, 119 ], [ 120, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 128, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 147, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 147, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 166, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 166, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 185, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 6, 204 ], [ 204, 205 ], [ 0, 206 ], [ 206, 207 ], [ 206, 208 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int i,n,card;\n int array[]=new int[52];\n String s;\n for(i=0;i<52;i++){\n \tarray[i]=0;\n }\n n=scan.nextInt();\n for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }\n for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int i,n,card;\n int array[]=new int[52];\n String s;\n for(i=0;i<52;i++){\n \tarray[i]=0;\n }\n n=scan.nextInt();\n for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }\n for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int i,n,card;\n int array[]=new int[52];\n String s;\n for(i=0;i<52;i++){\n \tarray[i]=0;\n }\n n=scan.nextInt();\n for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }\n for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }\n }", "main", "{\n Scanner scan=new Scanner(System.in);\n int i,n,card;\n int array[]=new int[52];\n String s;\n for(i=0;i<52;i++){\n \tarray[i]=0;\n }\n n=scan.nextInt();\n for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }\n for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }\n }", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int i", "i", "n", "n", "card;", "card", "int array[]=new int[52];", "array", "new int[52]", "52", "String s;", "s", "for(i=0;i<52;i++){\n \tarray[i]=0;\n }", "i=0;", "i=0", "i", "0", "i<52", "i", "52", "i++", "i++", "i", "{\n \tarray[i]=0;\n }", "{\n \tarray[i]=0;\n }", "array[i]=0", "array[i]", "array", "i", "0", "n=scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }", "{\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }", "s=scan.next()", "s", "scan.next()", "scan.next", "scan", "card=scan.nextInt()", "card", "scan.nextInt()", "scan.nextInt", "scan", "switch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}", "s", "case\"S\":", "\"S\"", "case\"S\":", "card-=1", "card", "1", "break;", "case\"H\":", "\"H\"", "case\"H\":", "card+=12", "card", "12", "break;", "case\"C\":", "\"C\"", "case\"C\":", "card+=25", "card", "25", "break;", "case\"D\":", "\"D\"", "case\"D\":", "card+=38", "card", "38", "break;", "default:", "default:", "continue;", "array[card]=1", "array[card]", "array", "card", "1", "for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }", "i=0;", "i=0", "i", "0", "i<52", "i", "52", "i++", "i++", "i", "{\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }", "{\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }", "if(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}", "array[i]==0", "array[i]", "array", "i", "0", "{\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}", "if(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}", "i/13==0", "i/13", "i", "13", "0", "{\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}", "System.out.println(\"S \"+ (i%13+1))", "System.out.println", "System.out", "System", "System.out", "\"S \"+ (i%13+1)", "\"S \"", "(i%13+1)", "i%13", "i", "13", "1", "if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}", "i/13==1", "i/13", "i", "13", "1", "{\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}", "System.out.println(\"H \"+ (i%13+1))", "System.out.println", "System.out", "System", "System.out", "\"H \"+ (i%13+1)", "\"H \"", "(i%13+1)", "i%13", "i", "13", "1", "if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}", "i/13==2", "i/13", "i", "13", "2", "{\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}", "System.out.println(\"C \"+ (i%13+1))", "System.out.println", "System.out", "System", "System.out", "\"C \"+ (i%13+1)", "\"C \"", "(i%13+1)", "i%13", "i", "13", "1", "if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}", "i/13==3", "i/13", "i", "13", "3", "{\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}", "System.out.println(\"D \"+ (i%13+1))", "System.out.println", "System.out", "System", "System.out", "\"D \"+ (i%13+1)", "\"D \"", "(i%13+1)", "i%13", "i", "13", "1", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int i,n,card;\n int array[]=new int[52];\n String s;\n for(i=0;i<52;i++){\n \tarray[i]=0;\n }\n n=scan.nextInt();\n for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }\n for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner scan=new Scanner(System.in);\n int i,n,card;\n int array[]=new int[52];\n String s;\n for(i=0;i<52;i++){\n \tarray[i]=0;\n }\n n=scan.nextInt();\n for(i=0;i<n;i++){\n \ts=scan.next();\n \tcard=scan.nextInt();\n \tswitch(s){\n \t\tcase\"S\":\n \t\t\tcard-=1;\n \t\t\tbreak;\n \t\tcase\"H\":\n \t\t\tcard+=12;\n \t\t\tbreak;\n \t\tcase\"C\":\n \t\t\tcard+=25;\n \t\t\tbreak;\n \t\tcase\"D\":\n \t\t\tcard+=38;\n \t\t\tbreak;\n \t\tdefault:\n \t\t\tcontinue;\n \t}\n \tarray[card]=1;\n }\n for(i=0;i<52;i++){\n \tif(array[i]==0){\n \t\tif(i/13==0){\n \t\t\tSystem.out.println(\"S \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==1){\n \t\t\tSystem.out.println(\"H \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==2){\n \t\t\tSystem.out.println(\"C \"+ (i%13+1));\n \t\t}\n \t\telse if(i/13==3){\n \t\t\tSystem.out.println(\"D \"+ (i%13+1));\n \t\t}\n \t}\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int i,n,card; int array[]=new int[52]; String s; for(i=0;i<52;i++){ array[i]=0; } n=scan.nextInt(); for(i=0;i<n;i++){ s=scan.next(); card=scan.nextInt(); switch(s){ case"S": card-=1; break; case"H": card+=12; break; case"C": card+=25; break; case"D": card+=38; break; default: continue; } array[card]=1; } for(i=0;i<52;i++){ if(array[i]==0){ if(i/13==0){ System.out.println("S "+ (i%13+1)); } else if(i/13==1){ System.out.println("H "+ (i%13+1)); } else if(i/13==2){ System.out.println("C "+ (i%13+1)); } else if(i/13==3){ System.out.println("D "+ (i%13+1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 41, 13, 39, 17, 17, 17, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 166, 5 ], [ 166, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 19, 22 ], [ 19, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 44, 49 ], [ 41, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 55, 56 ], [ 56, 57 ], [ 41, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 62, 72 ], [ 58, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 81, 83 ], [ 76, 84 ], [ 75, 85 ], [ 58, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 94, 96 ], [ 89, 97 ], [ 88, 98 ], [ 58, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 107, 109 ], [ 102, 110 ], [ 101, 111 ], [ 8, 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 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 141, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 149, 154 ], [ 155, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 6, 163 ], [ 163, 164 ], [ 0, 165 ], [ 165, 166 ], [ 165, 167 ] ]
[ "\nimport java.util.Scanner;\n\n\npublic class Main {\n public static void main(String[] args) {\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//boolean型で2次元配列を作成\n\t\tboolean[][] cards = new boolean[4][13];\n\n\t\t//char型でmarkの配列を作成\n\t\t//※char型は''(シングルクォーテーション)で指定\n\t\t//表示用にのみ使う予定\n\t\tchar[] mark = {'S','H','C','D'};\n\n\t\t//入力した枚数\n\t\tint n = scan.nextInt();\n\n\t\tfor (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}\n\t\t//Scannerを閉じることで黄色い注意マークが消える?\n\t\tscan.close();\n\n\t\t/*for文\n\t\t * 二重for文でiでマーク数を、jで値を回して\n\t\t * cardsの[0][0]から[12][12]まで調べて\n\t\t * ないものを逆論理で見つけて表示している\n\t\t */\n\t\tfor (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//boolean型で2次元配列を作成\n\t\tboolean[][] cards = new boolean[4][13];\n\n\t\t//char型でmarkの配列を作成\n\t\t//※char型は''(シングルクォーテーション)で指定\n\t\t//表示用にのみ使う予定\n\t\tchar[] mark = {'S','H','C','D'};\n\n\t\t//入力した枚数\n\t\tint n = scan.nextInt();\n\n\t\tfor (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}\n\t\t//Scannerを閉じることで黄色い注意マークが消える?\n\t\tscan.close();\n\n\t\t/*for文\n\t\t * 二重for文でiでマーク数を、jで値を回して\n\t\t * cardsの[0][0]から[12][12]まで調べて\n\t\t * ないものを逆論理で見つけて表示している\n\t\t */\n\t\tfor (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "Main", "public static void main(String[] args) {\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//boolean型で2次元配列を作成\n\t\tboolean[][] cards = new boolean[4][13];\n\n\t\t//char型でmarkの配列を作成\n\t\t//※char型は''(シングルクォーテーション)で指定\n\t\t//表示用にのみ使う予定\n\t\tchar[] mark = {'S','H','C','D'};\n\n\t\t//入力した枚数\n\t\tint n = scan.nextInt();\n\n\t\tfor (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}\n\t\t//Scannerを閉じることで黄色い注意マークが消える?\n\t\tscan.close();\n\n\t\t/*for文\n\t\t * 二重for文でiでマーク数を、jで値を回して\n\t\t * cardsの[0][0]から[12][12]まで調べて\n\t\t * ないものを逆論理で見つけて表示している\n\t\t */\n\t\tfor (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }", "main", "{\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//boolean型で2次元配列を作成\n\t\tboolean[][] cards = new boolean[4][13];\n\n\t\t//char型でmarkの配列を作成\n\t\t//※char型は''(シングルクォーテーション)で指定\n\t\t//表示用にのみ使う予定\n\t\tchar[] mark = {'S','H','C','D'};\n\n\t\t//入力した枚数\n\t\tint n = scan.nextInt();\n\n\t\tfor (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}\n\t\t//Scannerを閉じることで黄色い注意マークが消える?\n\t\tscan.close();\n\n\t\t/*for文\n\t\t * 二重for文でiでマーク数を、jで値を回して\n\t\t * cardsの[0][0]から[12][12]まで調べて\n\t\t * ないものを逆論理で見つけて表示している\n\t\t */\n\t\tfor (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "boolean[][] cards = new boolean[4][13];", "cards", "new boolean[4][13]", "4", "13", "char[] mark = {'S','H','C','D'};", "mark", "{'S','H','C','D'}", "'S'", "'H'", "'C'", "'D'", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "for (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\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/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}", "{\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}", "char ch = scan.next().charAt(0);", "ch", "scan.next().charAt(0)", "scan.next().charAt", "scan.next()", "scan.next", "scan", "0", "int num = Integer.parseInt(scan.next());", "num", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "switch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}", "ch", "case 'S':", "'S'", "case 'S':", "cards[0][num-1] = true", "cards[0][num-1]", "cards[0]", "cards", "0", "num-1", "num", "1", "true", "break;", "case 'H':", "'H'", "case 'H':", "cards[1][num-1] = true", "cards[1][num-1]", "cards[1]", "cards", "1", "num-1", "num", "1", "true", "break;", "case 'C':", "'C'", "case 'C':", "cards[2][num-1] = true", "cards[2][num-1]", "cards[2]", "cards", "2", "num-1", "num", "1", "true", "break;", "case 'D':", "'D'", "case 'D':", "cards[3][num-1] = true", "cards[3][num-1]", "cards[3]", "cards", "3", "num-1", "num", "1", "true", "break;", "scan.close()", "scan.close", "scan", "for (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "int j =0;", "int j =0;", "j", "0", "j < 13", "j", "13", "j ++", "j ++", "j", "{\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}", "if(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}", "!cards[i][j]", "cards[i][j]", "cards[i]", "cards", "i", "j", "{\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}", "System.out.println(mark[i] + \" \" + (j + 1))", "System.out.println", "System.out", "System", "System.out", "mark[i] + \" \" + (j + 1)", "mark[i] + \" \" + (j + 1)", "mark[i]", "mark", "i", "\" \"", "(j + 1)", "j", "1", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//boolean型で2次元配列を作成\n\t\tboolean[][] cards = new boolean[4][13];\n\n\t\t//char型でmarkの配列を作成\n\t\t//※char型は''(シングルクォーテーション)で指定\n\t\t//表示用にのみ使う予定\n\t\tchar[] mark = {'S','H','C','D'};\n\n\t\t//入力した枚数\n\t\tint n = scan.nextInt();\n\n\t\tfor (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}\n\t\t//Scannerを閉じることで黄色い注意マークが消える?\n\t\tscan.close();\n\n\t\t/*for文\n\t\t * 二重for文でiでマーク数を、jで値を回して\n\t\t * cardsの[0][0]から[12][12]まで調べて\n\t\t * ないものを逆論理で見つけて表示している\n\t\t */\n\t\tfor (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "public class Main {\n public static void main(String[] args) {\n \t/*Scanner = テキスト入力を扱うためのクラス\n\t\t *キーボードからの入力を受けつける場合は\n\t\t *System.inを使って下記のように記述\n\t\t */\n\t\tScanner scan = new Scanner(System.in);\n\n\t\t//boolean型で2次元配列を作成\n\t\tboolean[][] cards = new boolean[4][13];\n\n\t\t//char型でmarkの配列を作成\n\t\t//※char型は''(シングルクォーテーション)で指定\n\t\t//表示用にのみ使う予定\n\t\tchar[] mark = {'S','H','C','D'};\n\n\t\t//入力した枚数\n\t\tint n = scan.nextInt();\n\n\t\tfor (int i=0; i < n; i++){\n\t\t\t/* scan.next().charAt(0)\n\t\t\t * next()で文字を読み込み\n\t\t\t * charAt(0)で0番目を取得\n\t\t\t */\n\t\t\tchar ch = scan.next().charAt(0);\n\t\t\t/* nextで指定することでD 8等のものが\n\t\t\t * ↑の.nextにDが、↓の.nextに8を別々に入れられる\n\t\t\t */\n\t\t\tint num = Integer.parseInt(scan.next());\n\n\t\t\t/* switch文の出番\n\t\t\t * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う\n\t\t\t * これを各cardsのマークの種類分行う\n\t\t\t */\n\n\t\t\tswitch (ch){\n\t\t\tcase 'S': cards[0][num-1] = true; break;\n\t\t\tcase 'H': cards[1][num-1] = true; break;\n\t\t\tcase 'C': cards[2][num-1] = true; break;\n\t\t\tcase 'D': cards[3][num-1] = true; break;\n\t\t\t}\n\t\t}\n\t\t//Scannerを閉じることで黄色い注意マークが消える?\n\t\tscan.close();\n\n\t\t/*for文\n\t\t * 二重for文でiでマーク数を、jで値を回して\n\t\t * cardsの[0][0]から[12][12]まで調べて\n\t\t * ないものを逆論理で見つけて表示している\n\t\t */\n\t\tfor (int i=0; i < 4; i++){\n\t\t\tfor (int j =0; j < 13; j ++){\n\t\t\t\tif(!cards[i][j]){\n\t\t\t\t\t//※jに+1しているのは配列が0から始まるため\n\t\t\t\t\t//トランプに0はないのと全数値がずれてしまうため\n\t\t\t\t\t//markの[i]番目を指定するため、問題の指定通り\n\t\t\t\t\t//S,H,C,Dの順番で表示される\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + (j + 1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { /*Scanner = テキスト入力を扱うためのクラス *キーボードからの入力を受けつける場合は *System.inを使って下記のように記述 */ Scanner scan = new Scanner(System.in); //boolean型で2次元配列を作成 boolean[][] cards = new boolean[4][13]; //char型でmarkの配列を作成 //※char型は''(シングルクォーテーション)で指定 //表示用にのみ使う予定 char[] mark = {'S','H','C','D'}; //入力した枚数 int n = scan.nextInt(); for (int i=0; i < n; i++){ /* scan.next().charAt(0) * next()で文字を読み込み * charAt(0)で0番目を取得 */ char ch = scan.next().charAt(0); /* nextで指定することでD 8等のものが * ↑の.nextにDが、↓の.nextに8を別々に入れられる */ int num = Integer.parseInt(scan.next()); /* switch文の出番 * chがcaseと一緒ならcardsの[0](つまりS)にnum-1を行う * これを各cardsのマークの種類分行う */ switch (ch){ case 'S': cards[0][num-1] = true; break; case 'H': cards[1][num-1] = true; break; case 'C': cards[2][num-1] = true; break; case 'D': cards[3][num-1] = true; break; } } //Scannerを閉じることで黄色い注意マークが消える? scan.close(); /*for文 * 二重for文でiでマーク数を、jで値を回して * cardsの[0][0]から[12][12]まで調べて * ないものを逆論理で見つけて表示している */ for (int i=0; i < 4; i++){ for (int j =0; j < 13; j ++){ if(!cards[i][j]){ //※jに+1しているのは配列が0から始まるため //トランプに0はないのと全数値がずれてしまうため //markの[i]番目を指定するため、問題の指定通り //S,H,C,Dの順番で表示される System.out.println(mark[i] + " " + (j + 1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 0, 18, 13, 13, 17, 41, 13, 20, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 35, 18, 13, 13, 34, 17, 1, 0, 18, 13, 2, 18, 13, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 18, 13, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 18, 13, 13, 17, 17, 3, 34, 17, 1, 0, 18, 13, 2, 18, 13, 13, 17, 17, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 289, 5 ], [ 289, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 45, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 45, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 45, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 8, 66 ], [ 66, 67 ], [ 66, 68 ], [ 8, 70 ], [ 70, 71 ], [ 70, 72 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 74, 82 ], [ 82, 83 ], [ 83, 84 ], [ 74, 85 ], [ 86, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 8, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 101, 109 ], [ 109, 110 ], [ 110, 111 ], [ 101, 112 ], [ 113, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 121, 129 ], [ 120, 130 ], [ 114, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 134, 142 ], [ 133, 143 ], [ 114, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 147, 155 ], [ 146, 156 ], [ 114, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 163, 167 ], [ 160, 168 ], [ 159, 169 ], [ 8, 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 ], [ 184, 188 ], [ 183, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 191, 193 ], [ 189, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 196, 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 ], [ 213, 217 ], [ 212, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 218, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 225, 227 ], [ 8, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 228, 233 ], [ 233, 234 ], [ 233, 235 ], [ 228, 236 ], [ 236, 237 ], [ 237, 238 ], [ 228, 239 ], [ 240, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 241, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 247, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 254, 256 ], [ 8, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 257, 262 ], [ 262, 263 ], [ 262, 264 ], [ 257, 265 ], [ 265, 266 ], [ 266, 267 ], [ 257, 268 ], [ 269, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 270, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 276, 281 ], [ 281, 282 ], [ 281, 283 ], [ 283, 284 ], [ 283, 285 ], [ 6, 286 ], [ 286, 287 ], [ 0, 288 ], [ 288, 289 ], [ 288, 290 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\n\t\tfor(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}\n\n\t\tString[] deleteMark = new String[n];\n\t\tint[] deleteRank = new int[n];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}\n\n\t}\n\n}\n\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\n\t\tfor(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}\n\n\t\tString[] deleteMark = new String[n];\n\t\tint[] deleteRank = new int[n];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}\n\n\t}\n\n}", "Main", "public static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\n\t\tfor(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}\n\n\t\tString[] deleteMark = new String[n];\n\t\tint[] deleteRank = new int[n];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\n\t\tfor(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}\n\n\t\tString[] deleteMark = new String[n];\n\t\tint[] deleteRank = new int[n];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] s = new int[13];", "s", "new int[13]", "13", "int[] h = new int[13];", "h", "new int[13]", "13", "int[] c = new int[13];", "c", "new int[13]", "13", "int[] d = new int[13];", "d", "new int[13]", "13", "for(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}", "{\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}", "s[i] = 1", "s[i]", "s", "i", "1", "h[i] = 1", "h[i]", "h", "i", "1", "c[i] = 1", "c[i]", "c", "i", "1", "d[i] = 1", "d[i]", "d", "i", "1", "String[] deleteMark = new String[n];", "deleteMark", "new String[n]", "n", "int[] deleteRank = new int[n];", "deleteRank", "new int[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}", "{\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}", "deleteMark[i] = sc.next()", "deleteMark[i]", "deleteMark", "i", "sc.next()", "sc.next", "sc", "deleteRank[i] = sc.nextInt()", "deleteRank[i]", "deleteRank", "i", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\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\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}", "{\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}", "switch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}", "deleteMark[i]", "deleteMark", "i", "case (\"S\"):", "(\"S\")", "case (\"S\"):", "s[deleteRank[i]-1] = 0", "s[deleteRank[i]-1]", "s", "deleteRank[i]-1", "deleteRank[i]", "deleteRank", "i", "1", "0", "break;", "case (\"H\"):", "(\"H\")", "case (\"H\"):", "h[deleteRank[i]-1] = 0", "h[deleteRank[i]-1]", "h", "deleteRank[i]-1", "deleteRank[i]", "deleteRank", "i", "1", "0", "break;", "case (\"C\"):", "(\"C\")", "case (\"C\"):", "c[deleteRank[i]-1] = 0", "c[deleteRank[i]-1]", "c", "deleteRank[i]-1", "deleteRank[i]", "deleteRank", "i", "1", "0", "break;", "case (\"D\"):", "(\"D\")", "case (\"D\"):", "d[deleteRank[i]-1] = 0", "d[deleteRank[i]-1]", "d", "deleteRank[i]-1", "deleteRank[i]", "deleteRank", "i", "1", "0", "break;", "for(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}", "{\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}", "if(s[i] == 1) System.out.println(\"S \" + (i+1));", "s[i] == 1", "s[i]", "s", "i", "1", "System.out.println(\"S \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"S \" + (i+1)", "\"S \"", "(i+1)", "i", "1", "for(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}", "{\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}", "if(h[i] == 1) System.out.println(\"H \" + (i+1));", "h[i] == 1", "h[i]", "h", "i", "1", "System.out.println(\"H \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"H \" + (i+1)", "\"H \"", "(i+1)", "i", "1", "for(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}", "{\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}", "if(c[i] == 1) System.out.println(\"C \" + (i+1));", "c[i] == 1", "c[i]", "c", "i", "1", "System.out.println(\"C \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"C \" + (i+1)", "\"C \"", "(i+1)", "i", "1", "for(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 13", "i", "13", "i++", "i++", "i", "{\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}", "{\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}", "if(d[i] == 1) System.out.println(\"D \" + (i+1));", "d[i] == 1", "d[i]", "d", "i", "1", "System.out.println(\"D \" + (i+1))", "System.out.println", "System.out", "System", "System.out", "\"D \" + (i+1)", "\"D \"", "(i+1)", "i", "1", "String[] args", "args", "public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\n\t\tfor(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}\n\n\t\tString[] deleteMark = new String[n];\n\t\tint[] deleteRank = new int[n];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main (String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint[] s = new int[13];\n\t\tint[] h = new int[13];\n\t\tint[] c = new int[13];\n\t\tint[] d = new int[13];\n\n\t\tfor(int i = 0; i < 13; i++) {\n\t\t\ts[i] = 1;\n\t\t\th[i] = 1;\n\t\t\tc[i] = 1;\n\t\t\td[i] = 1;\n\t\t}\n\n\t\tString[] deleteMark = new String[n];\n\t\tint[] deleteRank = new int[n];\n\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\tdeleteMark[i] = sc.next();\n\t\t\tdeleteRank[i] = sc.nextInt();\n\t\t}\n\n\t\tfor(int i = 0; i < n; i++) {\n\n\t\t\tswitch (deleteMark[i]) {\n\n\t\t\tcase (\"S\"):\n\t\t\t\ts[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"H\"):\n\t\t\t\th[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"C\"):\n\t\t\t\tc[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\tcase (\"D\"):\n\t\t\t\td[deleteRank[i]-1] = 0;\n\t\t\tbreak;\n\n\t\t\t}\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(s[i] == 1) System.out.println(\"S \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(h[i] == 1) System.out.println(\"H \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(c[i] == 1) System.out.println(\"C \" + (i+1));\n\n\t\t}\n\n\t\tfor(int i = 0; i < 13; i++) {\n\n\t\t\tif(d[i] == 1) System.out.println(\"D \" + (i+1));\n\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] s = new int[13]; int[] h = new int[13]; int[] c = new int[13]; int[] d = new int[13]; for(int i = 0; i < 13; i++) { s[i] = 1; h[i] = 1; c[i] = 1; d[i] = 1; } String[] deleteMark = new String[n]; int[] deleteRank = new int[n]; for(int i = 0; i < n; i++) { deleteMark[i] = sc.next(); deleteRank[i] = sc.nextInt(); } for(int i = 0; i < n; i++) { switch (deleteMark[i]) { case ("S"): s[deleteRank[i]-1] = 0; break; case ("H"): h[deleteRank[i]-1] = 0; break; case ("C"): c[deleteRank[i]-1] = 0; break; case ("D"): d[deleteRank[i]-1] = 0; break; } } for(int i = 0; i < 13; i++) { if(s[i] == 1) System.out.println("S " + (i+1)); } for(int i = 0; i < 13; i++) { if(h[i] == 1) System.out.println("H " + (i+1)); } for(int i = 0; i < 13; i++) { if(c[i] == 1) System.out.println("C " + (i+1)); } for(int i = 0; i < 13; i++) { if(d[i] == 1) System.out.println("D " + (i+1)); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 28, 13, 13, 30, 30, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 101, 5 ], [ 101, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 14, 16 ], [ 14, 17 ], [ 14, 18 ], [ 8, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 19, 24 ], [ 24, 25 ], [ 24, 26 ], [ 19, 27 ], [ 27, 28 ], [ 28, 29 ], [ 19, 30 ], [ 31, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 66, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 68, 79 ], [ 80, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 85, 86 ], [ 8, 87 ], [ 87, 88 ], [ 87, 89 ], [ 87, 90 ], [ 91, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 6, 98 ], [ 98, 99 ], [ 0, 100 ], [ 100, 101 ], [ 100, 102 ] ]
[ "import java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n List<String> list = new ArrayList<String>();\n String[] mark = {\"S\", \"H\", \"C\", \"D\"};\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }\n\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.nextLine());\n\n for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }\n\n for(String str : list){\n System.out.println(str);\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n List<String> list = new ArrayList<String>();\n String[] mark = {\"S\", \"H\", \"C\", \"D\"};\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }\n\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.nextLine());\n\n for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }\n\n for(String str : list){\n System.out.println(str);\n }\n }\n}", "Main", "public static void main(String[] args) {\n List<String> list = new ArrayList<String>();\n String[] mark = {\"S\", \"H\", \"C\", \"D\"};\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }\n\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.nextLine());\n\n for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }\n\n for(String str : list){\n System.out.println(str);\n }\n }", "main", "{\n List<String> list = new ArrayList<String>();\n String[] mark = {\"S\", \"H\", \"C\", \"D\"};\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }\n\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.nextLine());\n\n for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }\n\n for(String str : list){\n System.out.println(str);\n }\n }", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "String[] mark = {\"S\", \"H\", \"C\", \"D\"};", "mark", "{\"S\", \"H\", \"C\", \"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }", "{\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }", "for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n list.add(mark[i] + \" \" + (j + 1));\n }", "{\n list.add(mark[i] + \" \" + (j + 1));\n }", "list.add(mark[i] + \" \" + (j + 1))", "list.add", "list", "mark[i] + \" \" + (j + 1)", "mark[i] + \" \" + (j + 1)", "mark[i]", "mark", "i", "\" \"", "(j + 1)", "j", "1", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = Integer.parseInt(sc.nextLine());", "n", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n list.remove(sc.nextLine());\n }", "{\n list.remove(sc.nextLine());\n }", "list.remove(sc.nextLine())", "list.remove", "list", "sc.nextLine()", "sc.nextLine", "sc", "for(String str : list){\n System.out.println(str);\n }", "String str", "list", "{\n System.out.println(str);\n }", "{\n System.out.println(str);\n }", "System.out.println(str)", "System.out.println", "System.out", "System", "System.out", "str", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n List<String> list = new ArrayList<String>();\n String[] mark = {\"S\", \"H\", \"C\", \"D\"};\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }\n\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.nextLine());\n\n for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }\n\n for(String str : list){\n System.out.println(str);\n }\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n List<String> list = new ArrayList<String>();\n String[] mark = {\"S\", \"H\", \"C\", \"D\"};\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 13; j++){\n list.add(mark[i] + \" \" + (j + 1));\n }\n }\n\n Scanner sc = new Scanner(System.in);\n\n int n = Integer.parseInt(sc.nextLine());\n\n for(int i = 0; i < n; i++){\n list.remove(sc.nextLine());\n }\n\n for(String str : list){\n System.out.println(str);\n }\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { List<String> list = new ArrayList<String>(); String[] mark = {"S", "H", "C", "D"}; for(int i = 0; i < 4; i++){ for(int j = 0; j < 13; j++){ list.add(mark[i] + " " + (j + 1)); } } Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); for(int i = 0; i < n; i++){ list.remove(sc.nextLine()); } for(String str : list){ System.out.println(str); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 34, 17, 1, 0, 18, 18, 13, 17, 2, 13, 17, 17, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 156, 5 ], [ 156, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 40, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 37, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 57, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 55, 65 ], [ 51, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 68, 78 ], [ 51, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 87, 89 ], [ 82, 90 ], [ 81, 91 ], [ 51, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 94, 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 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 131, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 145, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 6, 153 ], [ 153, 154 ], [ 0, 155 ], [ 155, 156 ], [ 155, 157 ] ]
[ "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 int a = sc.nextInt();\n boolean[][] l = new boolean[4][13];\n char[] card = new char[] {'S', 'H', 'C', 'D'};\n\n for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }\n\n for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \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\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n boolean[][] l = new boolean[4][13];\n char[] card = new char[] {'S', 'H', 'C', 'D'};\n\n for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }\n\n for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n boolean[][] l = new boolean[4][13];\n char[] card = new char[] {'S', 'H', 'C', 'D'};\n\n for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }\n\n for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n boolean[][] l = new boolean[4][13];\n char[] card = new char[] {'S', 'H', 'C', 'D'};\n\n for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }\n\n for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "boolean[][] l = new boolean[4][13];", "l", "new boolean[4][13]", "4", "13", "char[] card = new char[] {'S', 'H', 'C', 'D'};", "card", "new char[] {'S', 'H', 'C', 'D'}", "for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }", "{\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }", "char cardType = sc.next().charAt(0);", "cardType", "sc.next().charAt(0)", "sc.next().charAt", "sc.next()", "sc.next", "sc", "0", "int cardNum = sc.nextInt();", "cardNum", "sc.nextInt()", "sc.nextInt", "sc", "switch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}", "cardType", "case 'S':", "'S'", "case 'S':", "l[0][cardNum-1] = true", "l[0][cardNum-1]", "l[0]", "l", "0", "cardNum-1", "cardNum", "1", "true", "break;", "case 'H':", "'H'", "case 'H':", "l[1][cardNum-1] = true", "l[1][cardNum-1]", "l[1]", "l", "1", "cardNum-1", "cardNum", "1", "true", "break;", "case 'C':", "'C'", "case 'C':", "l[2][cardNum-1] = true", "l[2][cardNum-1]", "l[2]", "l", "2", "cardNum-1", "cardNum", "1", "true", "break;", "case 'D':", "'D'", "case 'D':", "l[3][cardNum-1] = true", "l[3][cardNum-1]", "l[3]", "l", "3", "cardNum-1", "cardNum", "1", "true", "break;", "for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }", "{\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }", "for(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}", "int j = 0;", "int j = 0;", "j", "0", "j < 13", "j", "13", "j++", "j++", "j", "{\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}", "{\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}", "if(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}", "!l[i][j]", "l[i][j]", "l[i]", "l", "i", "j", "{\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}", "System.out.println(card[i] + \" \" + (j+1))", "System.out.println", "System.out", "System", "System.out", "card[i] + \" \" + (j+1)", "card[i] + \" \" + (j+1)", "card[i]", "card", "i", "\" \"", "(j+1)", "j", "1", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n boolean[][] l = new boolean[4][13];\n char[] card = new char[] {'S', 'H', 'C', 'D'};\n\n for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }\n\n for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n boolean[][] l = new boolean[4][13];\n char[] card = new char[] {'S', 'H', 'C', 'D'};\n\n for(int i = 0; i < a; i++) {\n \tchar cardType = sc.next().charAt(0);\n \tint cardNum = sc.nextInt();\n\n \tswitch(cardType) {\n \tcase 'S':\n \t\tl[0][cardNum-1] = true;\n \t\tbreak;\n \tcase 'H':\n \t\tl[1][cardNum-1] = true;\n \t\tbreak;\n \tcase 'C':\n \t\tl[2][cardNum-1] = true;\n \t\tbreak;\n \tcase 'D':\n \t\tl[3][cardNum-1] = true;\n \t\tbreak;\n \t}\n }\n\n for(int i = 0; i < 4; i++) {\n\n \tfor(int j = 0; j < 13; j++) {\n\n \t\tif(!l[i][j]) {\n \t\t\tSystem.out.println(card[i] + \" \" + (j+1));\n \t\t}\n \t}\n }\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); boolean[][] l = new boolean[4][13]; char[] card = new char[] {'S', 'H', 'C', 'D'}; for(int i = 0; i < a; i++) { char cardType = sc.next().charAt(0); int cardNum = sc.nextInt(); switch(cardType) { case 'S': l[0][cardNum-1] = true; break; case 'H': l[1][cardNum-1] = true; break; case 'C': l[2][cardNum-1] = true; break; case 'D': l[3][cardNum-1] = true; break; } } for(int i = 0; i < 4; i++) { for(int j = 0; j < 13; j++) { if(!l[i][j]) { System.out.println(card[i] + " " + (j+1)); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 20, 17, 2, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 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, 41, 13, 4, 18, 4, 18, 13, 17, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 0, 18, 18, 13, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 18, 13, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 189, 17 ], [ 189, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 34, 38 ], [ 20, 39 ], [ 39, 40 ], [ 39, 41 ], [ 43, 44 ], [ 43, 45 ], [ 20, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 59, 65 ], [ 20, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 66, 77 ], [ 78, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 81, 86 ], [ 78, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 78, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 97, 98 ], [ 97, 99 ], [ 78, 100 ], [ 100, 101 ], [ 78, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 102, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 102, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 111, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 120, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 78, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 133, 139 ], [ 20, 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 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 166, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 180, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 180, 185 ], [ 18, 186 ], [ 186, 187 ], [ 0, 188 ], [ 188, 189 ], [ 188, 190 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.Arrays;\nimport java.util.HashMap;\n\n\npublic class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n\t\t//HashMap<String, Boolean> cards = new HashMap<String, Boolean>();\n\t\tString[] mark = {\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean[][] exist = new boolean[4][13+1];\n\t\tfor(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}\n\n\t\t//String[] tmpArray = br.readLine().split(\" \");\n\t\t//int[] input = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\t\n//\t\tSystem.out.print(input[0]);\n//\t\tfor(int i = 1 ; i < n; i++){\n//\t\t\tSystem.out.print(\" \"+ input[i]);\n//\t\t}\n//\t\tSystem.out.println();\n////\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\t\tif(a == 0 && b == 0){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\t\n//\t\t\tfor(int i = 0; i < a; i++){\n//\t\t\t\tfor(int j = 0; j < b; j++){\n//\t\t\t\t\tif((i + j)%2 == 1){\n//\t\t\t\t\t\tSystem.out.print(\".\");\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tSystem.out.println();\n//\t\t\t}\n//\t\t\tSystem.out.println();\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n\t\t//HashMap<String, Boolean> cards = new HashMap<String, Boolean>();\n\t\tString[] mark = {\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean[][] exist = new boolean[4][13+1];\n\t\tfor(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}\n\n\t\t//String[] tmpArray = br.readLine().split(\" \");\n\t\t//int[] input = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\t\n//\t\tSystem.out.print(input[0]);\n//\t\tfor(int i = 1 ; i < n; i++){\n//\t\t\tSystem.out.print(\" \"+ input[i]);\n//\t\t}\n//\t\tSystem.out.println();\n////\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\t\tif(a == 0 && b == 0){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\t\n//\t\t\tfor(int i = 0; i < a; i++){\n//\t\t\t\tfor(int j = 0; j < b; j++){\n//\t\t\t\t\tif((i + j)%2 == 1){\n//\t\t\t\t\t\tSystem.out.print(\".\");\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tSystem.out.println();\n//\t\t\t}\n//\t\t\tSystem.out.println();\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "Main", "/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n\t\t//HashMap<String, Boolean> cards = new HashMap<String, Boolean>();\n\t\tString[] mark = {\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean[][] exist = new boolean[4][13+1];\n\t\tfor(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}\n\n\t\t//String[] tmpArray = br.readLine().split(\" \");\n\t\t//int[] input = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\t\n//\t\tSystem.out.print(input[0]);\n//\t\tfor(int i = 1 ; i < n; i++){\n//\t\t\tSystem.out.print(\" \"+ input[i]);\n//\t\t}\n//\t\tSystem.out.println();\n////\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\t\tif(a == 0 && b == 0){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\t\n//\t\t\tfor(int i = 0; i < a; i++){\n//\t\t\t\tfor(int j = 0; j < b; j++){\n//\t\t\t\t\tif((i + j)%2 == 1){\n//\t\t\t\t\t\tSystem.out.print(\".\");\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tSystem.out.println();\n//\t\t\t}\n//\t\t\tSystem.out.println();\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n\t\t//HashMap<String, Boolean> cards = new HashMap<String, Boolean>();\n\t\tString[] mark = {\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean[][] exist = new boolean[4][13+1];\n\t\tfor(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}\n\n\t\t//String[] tmpArray = br.readLine().split(\" \");\n\t\t//int[] input = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\t\n//\t\tSystem.out.print(input[0]);\n//\t\tfor(int i = 1 ; i < n; i++){\n//\t\t\tSystem.out.print(\" \"+ input[i]);\n//\t\t}\n//\t\tSystem.out.println();\n////\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\t\tif(a == 0 && b == 0){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\t\n//\t\t\tfor(int i = 0; i < a; i++){\n//\t\t\t\tfor(int j = 0; j < b; j++){\n//\t\t\t\t\tif((i + j)%2 == 1){\n//\t\t\t\t\t\tSystem.out.print(\".\");\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tSystem.out.println();\n//\t\t\t}\n//\t\t\tSystem.out.println();\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] mark = {\"S\",\"H\",\"C\",\"D\"};", "mark", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "boolean[][] exist = new boolean[4][13+1];", "exist", "new boolean[4][13+1]", "4", "13+1", "13", "1", "for(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tArrays.fill(exist[i], false);\n\t\t}", "{\n\t\t\tArrays.fill(exist[i], false);\n\t\t}", "Arrays.fill(exist[i], false)", "Arrays.fill", "Arrays", "exist[i]", "exist", "i", "false", "for(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}", "{\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}", "String[] tmpArray = br.readLine().split(\" \");", "tmpArray", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "String tmpmark = tmpArray[0];", "tmpmark", "tmpArray[0]", "tmpArray", "0", "int number = Integer.parseInt(tmpArray[1]);", "number", "Integer.parseInt(tmpArray[1])", "Integer.parseInt", "Integer", "tmpArray[1]", "tmpArray", "1", "int markIndex;", "markIndex", "if(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}", "tmpmark.equals(\"S\")", "tmpmark.equals", "tmpmark", "\"S\"", "{\n\t\t\t\tmarkIndex = 0;\n\t\t\t}", "markIndex = 0", "markIndex", "0", "if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}", "tmpmark.equals(\"H\")", "tmpmark.equals", "tmpmark", "\"H\"", "{\n\t\t\t\tmarkIndex = 1;\n\t\t\t}", "markIndex = 1", "markIndex", "1", "if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}", "tmpmark.equals(\"C\")", "tmpmark.equals", "tmpmark", "\"C\"", "{\n\t\t\t\tmarkIndex = 2;\n\t\t\t}", "markIndex = 2", "markIndex", "2", "{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}", "markIndex = 3", "markIndex", "3", "exist[markIndex][number] = true", "exist[markIndex][number]", "exist[markIndex]", "exist", "markIndex", "number", "true", "for(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}", "int j = 1;", "int j = 1;", "j", "1", "j <= 13", "j", "13", "j++", "j++", "j", "{\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}", "if(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}", "!exist[i][j]", "exist[i][j]", "exist[i]", "exist", "i", "j", "{\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}", "System.out.println(mark[i] + \" \" + j)", "System.out.println", "System.out", "System", "System.out", "mark[i] + \" \" + j", "mark[i] + \" \" + j", "mark[i]", "mark", "i", "\" \"", "j", "String[] args", "args", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n\t\t//HashMap<String, Boolean> cards = new HashMap<String, Boolean>();\n\t\tString[] mark = {\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean[][] exist = new boolean[4][13+1];\n\t\tfor(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}\n\n\t\t//String[] tmpArray = br.readLine().split(\" \");\n\t\t//int[] input = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\t\n//\t\tSystem.out.print(input[0]);\n//\t\tfor(int i = 1 ; i < n; i++){\n//\t\t\tSystem.out.print(\" \"+ input[i]);\n//\t\t}\n//\t\tSystem.out.println();\n////\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\t\tif(a == 0 && b == 0){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\t\n//\t\t\tfor(int i = 0; i < a; i++){\n//\t\t\t\tfor(int j = 0; j < b; j++){\n//\t\t\t\t\tif((i + j)%2 == 1){\n//\t\t\t\t\t\tSystem.out.print(\".\");\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tSystem.out.println();\n//\t\t\t}\n//\t\t\tSystem.out.println();\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "public class Main {\n\n\t/**\n\t * @param args\n\t * @throws IOException \n\t * @throws NumberFormatException \n\t */\n\tpublic static void main(String[] args) throws NumberFormatException, IOException {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\t\n//\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\tint n = Integer.parseInt(br.readLine());\n//\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\tint c = Integer.parseInt(tmpArray[2]);\n//\t\tint y = Integer.parseInt(tmpArray[3]);\n//\t\tint r = Integer.parseInt(tmpArray[4]);\n\n\t\t//HashMap<String, Boolean> cards = new HashMap<String, Boolean>();\n\t\tString[] mark = {\"S\",\"H\",\"C\",\"D\"};\n\t\tboolean[][] exist = new boolean[4][13+1];\n\t\tfor(int i = 0;i < 4; i++){\n\t\t\tArrays.fill(exist[i], false);\n\t\t}\n\n\t\t//String[] tmpArray = br.readLine().split(\" \");\n\t\t//int[] input = new int[n];\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString[] tmpArray = br.readLine().split(\" \");\n\t\t\tString tmpmark = tmpArray[0];\n\t\t\tint number = Integer.parseInt(tmpArray[1]);\n\t\t\tint markIndex;\n\t\t\tif(tmpmark.equals(\"S\")){\n\t\t\t\tmarkIndex = 0;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"H\")){\n\t\t\t\tmarkIndex = 1;\n\t\t\t}\n\t\t\telse if(tmpmark.equals(\"C\")){\n\t\t\t\tmarkIndex = 2;\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmarkIndex = 3;\n\t\t\t}\n\t\t\texist[markIndex][number] = true;\n\t\t}\n\t\t\n\t\tfor(int i = 0; i < 4; i++){\n\t\t\tfor(int j = 1; j <= 13; j++){\n\t\t\t\tif(!exist[i][j]){\n\t\t\t\t\tSystem.out.println(mark[i] + \" \" + j);\n\t\t\t\t}\n\t\t\t}\n\t\t}\n//\t\t\n//\t\tSystem.out.print(input[0]);\n//\t\tfor(int i = 1 ; i < n; i++){\n//\t\t\tSystem.out.print(\" \"+ input[i]);\n//\t\t}\n//\t\tSystem.out.println();\n////\t\t\n//\t\tArrays.sort(input);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", input[0], input[input.length - 1], sum);\n//\t\t\n//\t\twhile(true){\n//\t\t\tString[] tmpArray = br.readLine().split(\" \");\n//\t\t\tint a = Integer.parseInt(tmpArray[0]);\n//\t\t\tint b = Integer.parseInt(tmpArray[1]);\n//\t\t\tif(a == 0 && b == 0){\n//\t\t\t\tbreak;\n//\t\t\t}\n//\t\t\t\n//\t\t\tfor(int i = 0; i < a; i++){\n//\t\t\t\tfor(int j = 0; j < b; j++){\n//\t\t\t\t\tif((i + j)%2 == 1){\n//\t\t\t\t\t\tSystem.out.print(\".\");\n//\t\t\t\t\t}\n//\t\t\t\t\telse{\n//\t\t\t\t\t\tSystem.out.print(\"#\");\n//\t\t\t\t\t}\n//\t\t\t\t}\n//\t\t\t\tSystem.out.println();\n//\t\t\t}\n//\t\t\tSystem.out.println();\n//\t\t}\n\n\t\t//\t\tint[] array = new int[3];\n//\t\tarray[0] = a; array[1] = b; array[2] = c;\n//\n//\t\tArrays.sort(array);\n//\t\tSystem.out.printf(\"%d %d %d\\n\", array[0], array[1], array[2]);\n\t\t/*\n\t\tif(a < b && b < c){\n\t\t\tSystem.out.println(\"Yes\");\n\t\t}\n\t\telse{\n\t\t\tSystem.out.println(\"No\");\n\t\t}*/\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.Arrays; import java.util.HashMap; public class Main { /** * @param args * @throws IOException * @throws NumberFormatException */ public static void main(String[] args) throws NumberFormatException, IOException { // TODO Auto-generated method stub BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); // String[] tmpArray = br.readLine().split(" "); int n = Integer.parseInt(br.readLine()); // int b = Integer.parseInt(tmpArray[1]); // int c = Integer.parseInt(tmpArray[2]); // int y = Integer.parseInt(tmpArray[3]); // int r = Integer.parseInt(tmpArray[4]); //HashMap<String, Boolean> cards = new HashMap<String, Boolean>(); String[] mark = {"S","H","C","D"}; boolean[][] exist = new boolean[4][13+1]; for(int i = 0;i < 4; i++){ Arrays.fill(exist[i], false); } //String[] tmpArray = br.readLine().split(" "); //int[] input = new int[n]; for(int i = 0; i < n; i++){ String[] tmpArray = br.readLine().split(" "); String tmpmark = tmpArray[0]; int number = Integer.parseInt(tmpArray[1]); int markIndex; if(tmpmark.equals("S")){ markIndex = 0; } else if(tmpmark.equals("H")){ markIndex = 1; } else if(tmpmark.equals("C")){ markIndex = 2; } else{ markIndex = 3; } exist[markIndex][number] = true; } for(int i = 0; i < 4; i++){ for(int j = 1; j <= 13; j++){ if(!exist[i][j]){ System.out.println(mark[i] + " " + j); } } } // // System.out.print(input[0]); // for(int i = 1 ; i < n; i++){ // System.out.print(" "+ input[i]); // } // System.out.println(); //// // Arrays.sort(input); // System.out.printf("%d %d %d\n", input[0], input[input.length - 1], sum); // // while(true){ // String[] tmpArray = br.readLine().split(" "); // int a = Integer.parseInt(tmpArray[0]); // int b = Integer.parseInt(tmpArray[1]); // if(a == 0 && b == 0){ // break; // } // // for(int i = 0; i < a; i++){ // for(int j = 0; j < b; j++){ // if((i + j)%2 == 1){ // System.out.print("."); // } // else{ // System.out.print("#"); // } // } // System.out.println(); // } // System.out.println(); // } // int[] array = new int[3]; // array[0] = a; array[1] = b; array[2] = c; // // Arrays.sort(array); // System.out.printf("%d %d %d\n", array[0], array[1], array[2]); /* if(a < b && b < c){ System.out.println("Yes"); } else{ System.out.println("No"); }*/ } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 14, 2, 4, 18, 13, 2, 17, 2, 13, 17, 17, 30, 4, 18, 4, 18, 4, 18, 13, 17, 2, 13, 17, 17, 14, 2, 13, 17, 30, 14, 2, 4, 18, 13, 2, 17, 2, 13, 17, 17, 30, 4, 18, 4, 18, 4, 18, 13, 17, 2, 13, 17, 17, 14, 2, 13, 17, 30, 14, 2, 4, 18, 13, 2, 17, 2, 13, 17, 17, 30, 4, 18, 4, 18, 4, 18, 13, 17, 2, 13, 17, 17, 14, 2, 13, 17, 30, 14, 2, 4, 18, 13, 2, 17, 2, 13, 17, 17, 30, 4, 18, 4, 18, 4, 18, 13, 17, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 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 ], [ 25, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 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 ], [ 78, 80 ], [ 77, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 83, 92 ], [ 82, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 96, 102 ], [ 102, 103 ], [ 102, 104 ], [ 94, 105 ], [ 77, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 112, 121 ], [ 111, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 125, 131 ], [ 131, 132 ], [ 131, 133 ], [ 123, 134 ], [ 106, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 147, 149 ], [ 141, 150 ], [ 140, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 154, 160 ], [ 160, 161 ], [ 160, 162 ], [ 152, 163 ], [ 135, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 176, 178 ], [ 170, 179 ], [ 169, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 185, 188 ], [ 183, 189 ], [ 189, 190 ], [ 189, 191 ], [ 181, 192 ], [ 11, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 9, 199 ], [ 199, 200 ] ]
[ "import java.io.*;\nimport java.util.ArrayList;\nclass Main{\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\t\n\t\tString str=br.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\t\n\t\tArrayList<String>list=new ArrayList<>();\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tlist.add(br.readLine());\n\t\t}\n\t\tfor(int j=0;j<4;j++){\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "class Main{\n\tpublic static void main(String[]args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\t\n\t\tString str=br.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\t\n\t\tArrayList<String>list=new ArrayList<>();\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tlist.add(br.readLine());\n\t\t}\n\t\tfor(int j=0;j<4;j++){\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main(String[]args)throws IOException{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\t\n\t\tString str=br.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\t\n\t\tArrayList<String>list=new ArrayList<>();\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tlist.add(br.readLine());\n\t\t}\n\t\tfor(int j=0;j<4;j++){\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tBufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n\t\tStringBuilder sb=new StringBuilder();\n\t\t\n\t\tString str=br.readLine();\n\t\tint n=Integer.parseInt(str);\n\t\t\n\t\tArrayList<String>list=new ArrayList<>();\n\t\t\n\t\tfor(int i=0;i<n;i++){\n\t\t\tlist.add(br.readLine());\n\t\t}\n\t\tfor(int j=0;j<4;j++){\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringBuilder sb=new StringBuilder();", "sb", "new StringBuilder()", "String str=br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int n=Integer.parseInt(str);", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "ArrayList<String>list=new ArrayList<>();", "list", "new ArrayList<>()", "for(int i=0;i<n;i++){\n\t\t\tlist.add(br.readLine());\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tlist.add(br.readLine());\n\t\t}", "{\n\t\t\tlist.add(br.readLine());\n\t\t}", "list.add(br.readLine())", "list.add", "list", "br.readLine()", "br.readLine", "br", "for(int j=0;j<4;j++){\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int j=0;", "int j=0;", "j", "0", "j<4", "j", "4", "j++", "j++", "j", "{\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int k=0;k<13;k++){\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "int k=0;", "int k=0;", "k", "0", "k<13", "k", "13", "k++", "k++", "k", "{\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t}", "if(j==0){\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "j==0", "j", "0", "{\n\t\t\t\t\tif (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "if (list.contains(\"S \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "list.contains(\"S \" +(k+1)) == false", "list.contains(\"S \" +(k+1))", "list.contains", "list", "\"S \" +(k+1)", "\"S \"", "(k+1)", "k", "1", "false", "{\n\t\t\t\t\t\tsb.append(\"S \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "sb.append(\"S \").append(k+1).append(\"\\n\")", "sb.append(\"S \").append(k+1).append", "sb.append(\"S \").append(k+1)", "sb.append(\"S \").append", "sb.append(\"S \")", "sb.append", "sb", "\"S \"", "k+1", "k", "1", "\"\\n\"", "if(j==1){\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "j==1", "j", "1", "{\n\t\t\t\t\tif (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "if (list.contains(\"H \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "list.contains(\"H \" +(k+1)) == false", "list.contains(\"H \" +(k+1))", "list.contains", "list", "\"H \" +(k+1)", "\"H \"", "(k+1)", "k", "1", "false", "{\n\t\t\t\t\t\tsb.append(\"H \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "sb.append(\"H \").append(k+1).append(\"\\n\")", "sb.append(\"H \").append(k+1).append", "sb.append(\"H \").append(k+1)", "sb.append(\"H \").append", "sb.append(\"H \")", "sb.append", "sb", "\"H \"", "k+1", "k", "1", "\"\\n\"", "if(j==2){\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}\n\t\t\t\telse if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "j==2", "j", "2", "{\n\t\t\t\t\tif (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "if (list.contains(\"C \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "list.contains(\"C \" +(k+1)) == false", "list.contains(\"C \" +(k+1))", "list.contains", "list", "\"C \" +(k+1)", "\"C \"", "(k+1)", "k", "1", "false", "{\n\t\t\t\t\t\tsb.append(\"C \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "sb.append(\"C \").append(k+1).append(\"\\n\")", "sb.append(\"C \").append(k+1).append", "sb.append(\"C \").append(k+1)", "sb.append(\"C \").append", "sb.append(\"C \")", "sb.append", "sb", "\"C \"", "k+1", "k", "1", "\"\\n\"", "if(j==3){\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "j==3", "j", "3", "{\n\t\t\t\t\tif (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}\n\t\t\t\t}", "if (list.contains(\"D \" +(k+1)) == false) {\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "list.contains(\"D \" +(k+1)) == false", "list.contains(\"D \" +(k+1))", "list.contains", "list", "\"D \" +(k+1)", "\"D \"", "(k+1)", "k", "1", "false", "{\n\t\t\t\t\t\tsb.append(\"D \").append(k+1).append(\"\\n\");\n\t\t\t\t\t}", "sb.append(\"D \").append(k+1).append(\"\\n\")", "sb.append(\"D \").append(k+1).append", "sb.append(\"D \").append(k+1)", "sb.append(\"D \").append", "sb.append(\"D \")", "sb.append", "sb", "\"D \"", "k+1", "k", "1", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[]args", "args" ]
import java.io.*; import java.util.ArrayList; class Main{ public static void main(String[]args)throws IOException{ BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb=new StringBuilder(); String str=br.readLine(); int n=Integer.parseInt(str); ArrayList<String>list=new ArrayList<>(); for(int i=0;i<n;i++){ list.add(br.readLine()); } for(int j=0;j<4;j++){ for(int k=0;k<13;k++){ if(j==0){ if (list.contains("S " +(k+1)) == false) { sb.append("S ").append(k+1).append("\n"); } } else if(j==1){ if (list.contains("H " +(k+1)) == false) { sb.append("H ").append(k+1).append("\n"); } } else if(j==2){ if (list.contains("C " +(k+1)) == false) { sb.append("C ").append(k+1).append("\n"); } } else if(j==3){ if (list.contains("D " +(k+1)) == false) { sb.append("D ").append(k+1).append("\n"); } } } } System.out.print(sb); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 17, 41, 13, 4, 18, 13, 41, 13, 41, 13, 17, 41, 13, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 0, 13, 4, 18, 13, 0, 18, 18, 13, 13, 2, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 18, 18, 13, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 185, 5 ], [ 185, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 22, 23 ], [ 22, 24 ], [ 17, 25 ], [ 25, 26 ], [ 26, 27 ], [ 17, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 43, 49 ], [ 8, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 8, 55 ], [ 55, 56 ], [ 8, 57 ], [ 57, 58 ], [ 57, 59 ], [ 8, 60 ], [ 60, 61 ], [ 8, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 64, 67 ], [ 64, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 81, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 81, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 81, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 81, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 81, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 129, 130 ], [ 129, 131 ], [ 124, 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 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 160, 166 ], [ 159, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 168, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 174, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 6, 182 ], [ 182, 183 ], [ 0, 184 ], [ 184, 185 ], [ 184, 186 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\n\t\tboolean inhand[][]= new boolean[4][13];\n\t\tfor (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint n= sc.nextInt();\n\t\tString suit;\n\t\tint s=0;\n\t\tint rank;\n\n\t\tString suitnum[]={\"S\",\"H\",\"C\",\"D\"};\n\n\t\tfor(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}\n\t\tfor (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String args[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\n\t\tboolean inhand[][]= new boolean[4][13];\n\t\tfor (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint n= sc.nextInt();\n\t\tString suit;\n\t\tint s=0;\n\t\tint rank;\n\n\t\tString suitnum[]={\"S\",\"H\",\"C\",\"D\"};\n\n\t\tfor(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}\n\t\tfor (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}\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\tboolean inhand[][]= new boolean[4][13];\n\t\tfor (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint n= sc.nextInt();\n\t\tString suit;\n\t\tint s=0;\n\t\tint rank;\n\n\t\tString suitnum[]={\"S\",\"H\",\"C\",\"D\"};\n\n\t\tfor(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}\n\t\tfor (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner (System.in);\n\n\t\tboolean inhand[][]= new boolean[4][13];\n\t\tfor (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint n= sc.nextInt();\n\t\tString suit;\n\t\tint s=0;\n\t\tint rank;\n\n\t\tString suitnum[]={\"S\",\"H\",\"C\",\"D\"};\n\n\t\tfor(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}\n\t\tfor (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\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)", "boolean inhand[][]= new boolean[4][13];", "inhand", "new boolean[4][13]", "4", "13", "for (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "++i", "++i", "i", "{\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}", "for (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "++j", "++j", "j", "{\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}", "{\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}", "inhand[i][j] = false", "inhand[i][j]", "inhand[i]", "inhand", "i", "j", "false", "int n= sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String suit;", "suit", "int s=0;", "s", "0", "int rank;", "rank", "String suitnum[]={\"S\",\"H\",\"C\",\"D\"};", "suitnum", "{\"S\",\"H\",\"C\",\"D\"}", "\"S\"", "\"H\"", "\"C\"", "\"D\"", "for(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "++i", "++i", "i", "{\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}", "{\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}", "suit = sc.next()", "suit", "sc.next()", "sc.next", "sc", "if (suit.equals(\"S\")) s = 0;", "suit.equals(\"S\")", "suit.equals", "suit", "\"S\"", "s = 0", "s", "0", "if (suit.equals( \"H\")) s = 1;", "suit.equals( \"H\")", "suit.equals", "suit", "\"H\"", "s = 1", "s", "1", "if (suit.equals(\"C\")) s =2;", "suit.equals(\"C\")", "suit.equals", "suit", "\"C\"", "s =2", "s", "2", "if (suit.equals( \"D\")) s =3;", "suit.equals( \"D\")", "suit.equals", "suit", "\"D\"", "s =3", "s", "3", "rank = sc.nextInt()", "rank", "sc.nextInt()", "sc.nextInt", "sc", "inhand[s][rank-1] = true", "inhand[s][rank-1]", "inhand[s]", "inhand", "s", "rank-1", "rank", "1", "true", "for (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "++i", "++i", "i", "{\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<13", "j", "13", "++j", "++j", "j", "{\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}\n\t\t\t}", "if (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}", "inhand[i][j] == false", "inhand[i][j]", "inhand[i]", "inhand", "i", "j", "false", "{\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\n\t\t\t\t}", "System.out.println(suitnum[i]+\" \"+(j+1))", "System.out.println", "System.out", "System", "System.out", "suitnum[i]+\" \"+(j+1)", "suitnum[i]+\" \"+(j+1)", "suitnum[i]", "suitnum", "i", "\" \"", "(j+1)", "j", "1", "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\tboolean inhand[][]= new boolean[4][13];\n\t\tfor (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint n= sc.nextInt();\n\t\tString suit;\n\t\tint s=0;\n\t\tint rank;\n\n\t\tString suitnum[]={\"S\",\"H\",\"C\",\"D\"};\n\n\t\tfor(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}\n\t\tfor (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\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[]){\n\n\t\tScanner sc = new Scanner (System.in);\n\n\t\tboolean inhand[][]= new boolean[4][13];\n\t\tfor (int i=0; i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tinhand[i][j] = false;\n\t\t\t}\n\t\t}\n\t\tint n= sc.nextInt();\n\t\tString suit;\n\t\tint s=0;\n\t\tint rank;\n\n\t\tString suitnum[]={\"S\",\"H\",\"C\",\"D\"};\n\n\t\tfor(int i=0; i<n;++i){\n\t\t\tsuit = sc.next();\n\t\t\tif (suit.equals(\"S\")) s = 0;\n\t\t\tif (suit.equals( \"H\")) s = 1;\n\t\t\tif (suit.equals(\"C\")) s =2;\n\t\t\tif (suit.equals( \"D\")) s =3;\n\t\t\trank = sc.nextInt();\n\t\t\tinhand[s][rank-1] = true;\n\t\t}\n\t\tfor (int i=0;i<4;++i){\n\t\t\tfor (int j=0;j<13;++j){\n\t\t\t\tif (inhand[i][j] == false){\n\t\t\t\t\tSystem.out.println(suitnum[i]+\" \"+(j+1));\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); boolean inhand[][]= new boolean[4][13]; for (int i=0; i<4;++i){ for (int j=0;j<13;++j){ inhand[i][j] = false; } } int n= sc.nextInt(); String suit; int s=0; int rank; String suitnum[]={"S","H","C","D"}; for(int i=0; i<n;++i){ suit = sc.next(); if (suit.equals("S")) s = 0; if (suit.equals( "H")) s = 1; if (suit.equals("C")) s =2; if (suit.equals( "D")) s =3; rank = sc.nextInt(); inhand[s][rank-1] = true; } for (int i=0;i<4;++i){ for (int j=0;j<13;++j){ if (inhand[i][j] == false){ System.out.println(suitnum[i]+" "+(j+1)); } } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 17, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 41, 13, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 30, 0, 13, 2, 13, 17, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 18, 13, 13, 30, 41, 13, 41, 13, 0, 13, 2, 13, 17, 0, 13, 2, 2, 13, 17, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 13, 30, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 204, 5 ], [ 204, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 18, 21 ], [ 21, 22 ], [ 22, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 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 ], [ 54, 57 ], [ 57, 58 ], [ 54, 59 ], [ 59, 60 ], [ 54, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 54, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 72, 73 ], [ 54, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 85, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 96, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 96, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 110, 112 ], [ 54, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 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 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 136, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 136, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 153, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 158, 163 ], [ 163, 164 ], [ 163, 165 ], [ 153, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 166, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 171, 176 ], [ 176, 177 ], [ 176, 178 ], [ 166, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 179, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 184, 189 ], [ 189, 190 ], [ 189, 191 ], [ 179, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 195, 197 ], [ 193, 198 ], [ 198, 199 ], [ 198, 200 ], [ 6, 201 ], [ 201, 202 ], [ 0, 203 ], [ 203, 204 ], [ 203, 205 ] ]
[ "import java.util.Scanner;\n\n/***\n * 0S1 - 13... 0 - 12 ... + -1\n * 1H1 - 13... 13 - 25 ... + 12\n * 2C1 - 13... 26 - 38 ... + 25\n * 3D1 - 13... 39 - 51 ... + 38\n */\n\npublic class Main {\n public static void main(String[] args) {\n boolean[] findedCard = new boolean[52];\n Scanner scan = new Scanner(System.in);\n int num = Integer.parseInt(scan.next());\n\n for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }\n\n for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }\n\n for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }\n\n }\n}\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n boolean[] findedCard = new boolean[52];\n Scanner scan = new Scanner(System.in);\n int num = Integer.parseInt(scan.next());\n\n for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }\n\n for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }\n\n for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n boolean[] findedCard = new boolean[52];\n Scanner scan = new Scanner(System.in);\n int num = Integer.parseInt(scan.next());\n\n for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }\n\n for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }\n\n for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }\n\n }", "main", "{\n boolean[] findedCard = new boolean[52];\n Scanner scan = new Scanner(System.in);\n int num = Integer.parseInt(scan.next());\n\n for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }\n\n for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }\n\n for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }\n\n }", "boolean[] findedCard = new boolean[52];", "findedCard", "new boolean[52]", "52", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int num = Integer.parseInt(scan.next());", "num", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 52", "i", "52", "i++", "i++", "i", "{\n findedCard[i] = false;\n }", "{\n findedCard[i] = false;\n }", "findedCard[i] = false", "findedCard[i]", "findedCard", "i", "false", "for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }", "{\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }", "String suit;", "suit", "int buf1", "buf1", "buf2;", "buf2", "suit = scan.next()", "suit", "scan.next()", "scan.next", "scan", "buf1 = Integer.parseInt(scan.next())", "buf1", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }", "suit.equals(\"S\")", "suit.equals", "suit", "\"S\"", "{\n buf2 = buf1 - 1;\n }", "buf2 = buf1 - 1", "buf2", "buf1 - 1", "buf1", "1", "if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }", "suit.equals(\"H\")", "suit.equals", "suit", "\"H\"", "{\n buf2 = buf1 + 12;\n }", "buf2 = buf1 + 12", "buf2", "buf1 + 12", "buf1", "12", "if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }", "suit.equals(\"C\")", "suit.equals", "suit", "\"C\"", "{\n buf2 = buf1 + 25;\n }", "buf2 = buf1 + 25", "buf2", "buf1 + 25", "buf1", "25", "{\n buf2 = buf1 + 38;\n }", "buf2 = buf1 + 38", "buf2", "buf1 + 38", "buf1", "38", "findedCard[buf2] = true", "findedCard[buf2]", "findedCard", "buf2", "true", "for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 52", "i", "52", "i++", "i++", "i", "{\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }", "{\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }", "if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }", "!findedCard[i]", "findedCard[i]", "findedCard", "i", "{\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }", "int div", "div", "mod;", "mod", "div = i / 13", "div", "i / 13", "i", "13", "mod = i % 13 + 1", "mod", "i % 13 + 1", "i % 13", "i", "13", "1", "if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }", "div == 0", "div", "0", "{\n System.out.println(\"S \" + mod);\n }", "System.out.println(\"S \" + mod)", "System.out.println", "System.out", "System", "System.out", "\"S \" + mod", "\"S \"", "mod", "if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }", "div == 1", "div", "1", "{\n System.out.println(\"H \" + mod);\n }", "System.out.println(\"H \" + mod)", "System.out.println", "System.out", "System", "System.out", "\"H \" + mod", "\"H \"", "mod", "if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }", "div == 2", "div", "2", "{\n System.out.println(\"C \" + mod);\n }", "System.out.println(\"C \" + mod)", "System.out.println", "System.out", "System", "System.out", "\"C \" + mod", "\"C \"", "mod", "{\n System.out.println(\"D \" + mod);\n }", "System.out.println(\"D \" + mod)", "System.out.println", "System.out", "System", "System.out", "\"D \" + mod", "\"D \"", "mod", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n boolean[] findedCard = new boolean[52];\n Scanner scan = new Scanner(System.in);\n int num = Integer.parseInt(scan.next());\n\n for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }\n\n for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }\n\n for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n boolean[] findedCard = new boolean[52];\n Scanner scan = new Scanner(System.in);\n int num = Integer.parseInt(scan.next());\n\n for (int i = 0; i < 52; i++) {\n findedCard[i] = false;\n }\n\n for (int i = 0; i < num; i++) {\n String suit;\n int buf1, buf2;\n\n suit = scan.next();\n buf1 = Integer.parseInt(scan.next());\n\n if (suit.equals(\"S\")) {\n buf2 = buf1 - 1;\n } else if (suit.equals(\"H\")) {\n buf2 = buf1 + 12;\n } else if (suit.equals(\"C\")) {\n buf2 = buf1 + 25;\n } else {\n buf2 = buf1 + 38;\n }\n findedCard[buf2] = true;\n }\n\n for (int i = 0; i < 52; i++) {\n if (!findedCard[i]) {\n int div, mod;\n div = i / 13;\n mod = i % 13 + 1;\n if (div == 0) {\n System.out.println(\"S \" + mod);\n } else if (div == 1) {\n System.out.println(\"H \" + mod);\n } else if (div == 2) {\n System.out.println(\"C \" + mod);\n } else {\n System.out.println(\"D \" + mod);\n }\n }\n }\n\n }\n}", "Main" ]
import java.util.Scanner; /*** * 0S1 - 13... 0 - 12 ... + -1 * 1H1 - 13... 13 - 25 ... + 12 * 2C1 - 13... 26 - 38 ... + 25 * 3D1 - 13... 39 - 51 ... + 38 */ public class Main { public static void main(String[] args) { boolean[] findedCard = new boolean[52]; Scanner scan = new Scanner(System.in); int num = Integer.parseInt(scan.next()); for (int i = 0; i < 52; i++) { findedCard[i] = false; } for (int i = 0; i < num; i++) { String suit; int buf1, buf2; suit = scan.next(); buf1 = Integer.parseInt(scan.next()); if (suit.equals("S")) { buf2 = buf1 - 1; } else if (suit.equals("H")) { buf2 = buf1 + 12; } else if (suit.equals("C")) { buf2 = buf1 + 25; } else { buf2 = buf1 + 38; } findedCard[buf2] = true; } for (int i = 0; i < 52; i++) { if (!findedCard[i]) { int div, mod; div = i / 13; mod = i % 13 + 1; if (div == 0) { System.out.println("S " + mod); } else if (div == 1) { System.out.println("H " + mod); } else if (div == 2) { System.out.println("C " + mod); } else { System.out.println("D " + mod); } } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 20, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 0, 18, 18, 18, 13, 13, 13, 13, 13, 41, 13, 18, 18, 18, 13, 13, 13, 13, 14, 2, 13, 17, 0, 13, 17, 14, 2, 13, 17, 0, 13, 17, 0, 18, 18, 18, 13, 13, 13, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 184, 8 ], [ 184, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 11, 22 ], [ 22, 23 ], [ 11, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 11, 30 ], [ 30, 31 ], [ 30, 32 ], [ 11, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 48, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 48, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 70, 76 ], [ 69, 77 ], [ 48, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 80, 86 ], [ 48, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 91, 93 ], [ 87, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 98, 100 ], [ 48, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 102, 108 ], [ 101, 109 ], [ 11, 110 ], [ 110, 111 ], [ 111, 112 ], [ 11, 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 ], [ 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 ], [ 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 ], [ 152, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 159, 165 ], [ 138, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 125, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 9, 181 ], [ 181, 182 ], [ 0, 183 ], [ 183, 184 ], [ 183, 185 ] ]
[ "import java.io.IOException;\nimport java.util.Scanner;\n\n\npublic class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//File fi=new File(\"file.txt\");\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\t String type;\n\t\t int b,f,r,v;\n\t\t int[][][] tp=new int[5][4][11];\n\t\tfor(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}sc.close();\n\t\tfor(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "import java.io.IOException;", "IOException", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//File fi=new File(\"file.txt\");\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\t String type;\n\t\t int b,f,r,v;\n\t\t int[][][] tp=new int[5][4][11];\n\t\tfor(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}sc.close();\n\t\tfor(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "Main", "public static void main(String[] args) throws IOException {\n\t\t//File fi=new File(\"file.txt\");\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\t String type;\n\t\t int b,f,r,v;\n\t\t int[][][] tp=new int[5][4][11];\n\t\tfor(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}sc.close();\n\t\tfor(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}\n\t\t}", "main", "{\n\t\t//File fi=new File(\"file.txt\");\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\t String type;\n\t\t int b,f,r,v;\n\t\t int[][][] tp=new int[5][4][11];\n\t\tfor(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}sc.close();\n\t\tfor(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}\n\t\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int t=sc.nextInt();", "t", "sc.nextInt()", "sc.nextInt", "sc", "String type;", "type", "int b", "b", "f", "f", "r", "r", "v;", "v", "int[][][] tp=new int[5][4][11];", "tp", "new int[5][4][11]", "5", "4", "11", "for(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<t", "i", "t", "i++", "i++", "i", "{\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}", "{\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}", "b=sc.nextInt()", "b", "sc.nextInt()", "sc.nextInt", "sc", "f=sc.nextInt()", "f", "sc.nextInt()", "sc.nextInt", "sc", "r=sc.nextInt()", "r", "sc.nextInt()", "sc.nextInt", "sc", "v=sc.nextInt()", "v", "sc.nextInt()", "sc.nextInt", "sc", "tp[b][f][r]+=v", "tp[b][f][r]", "tp[b][f]", "tp[b]", "tp", "b", "f", "r", "v", "int x=tp[b][f][r];", "x", "tp[b][f][r]", "tp[b][f]", "tp[b]", "tp", "b", "f", "r", "if(x<0)x=0;\n\t\t\telse if(x>10)x=9;", "x<0", "x", "0", "x=0", "x", "0", "if(x>10)x=9;", "x>10", "x", "10", "x=9", "x", "9", "tp[b][f][r]=x", "tp[b][f][r]", "tp[b][f]", "tp[b]", "tp", "b", "f", "r", "x", "sc.close()", "sc.close", "sc", "for(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}", "int i=1;", "int i=1;", "i", "1", "i<5", "i", "5", "i++", "i++", "i", "{\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}", "{\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}", "for(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}", "int l = 1;", "int l = 1;", "l", "1", "l<4", "l", "4", "l++", "l++", "l", "{\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}", "{\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}", "for(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}", "int m=1;", "int m=1;", "m", "1", "m<11", "m", "11", "m++", "m++", "m", "{\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}", "System.out.print(\" \"+tp[i][l][m])", "System.out.print", "System.out", "System", "System.out", "\" \"+tp[i][l][m]", "\" \"", "tp[i][l][m]", "tp[i][l]", "tp[i]", "tp", "i", "l", "m", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "if(i!=4)System.out.println(\"####################\");", "i!=4", "i", "4", "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//File fi=new File(\"file.txt\");\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\t String type;\n\t\t int b,f,r,v;\n\t\t int[][][] tp=new int[5][4][11];\n\t\tfor(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}sc.close();\n\t\tfor(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "public class Main {\n\n\tpublic static void main(String[] args) throws IOException {\n\t\t//File fi=new File(\"file.txt\");\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\t String type;\n\t\t int b,f,r,v;\n\t\t int[][][] tp=new int[5][4][11];\n\t\tfor(int i=0;i<t;i++){\n\t\t\tb=sc.nextInt();\n\t\t\tf=sc.nextInt();\n\t\t\tr=sc.nextInt();\n\t\t\tv=sc.nextInt();\n\t\t\ttp[b][f][r]+=v;\n\t\t\tint x=tp[b][f][r];\n\t\t\tif(x<0)x=0;\n\t\t\telse if(x>10)x=9;\n\t\t\ttp[b][f][r]=x;\n\t\t\t}sc.close();\n\t\tfor(int i=1;i<5;i++){\n\t\t\tfor(int l = 1;l<4;l++){\n\t\t\t\tfor(int m=1;m<11;m++){\n\t\t\t\t\tSystem.out.print(\" \"+tp[i][l][m]);\n\t\t\t\t}System.out.println();\t\t\t\t\n\t\t\t\t}if(i!=4)System.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t\t\n\t\t\n\t}", "Main" ]
import java.io.IOException; import java.util.Scanner; public class Main { public static void main(String[] args) throws IOException { //File fi=new File("file.txt"); Scanner sc=new Scanner(System.in); int t=sc.nextInt(); String type; int b,f,r,v; int[][][] tp=new int[5][4][11]; for(int i=0;i<t;i++){ b=sc.nextInt(); f=sc.nextInt(); r=sc.nextInt(); v=sc.nextInt(); tp[b][f][r]+=v; int x=tp[b][f][r]; if(x<0)x=0; else if(x>10)x=9; tp[b][f][r]=x; }sc.close(); for(int i=1;i<5;i++){ for(int l = 1;l<4;l++){ for(int m=1;m<11;m++){ System.out.print(" "+tp[i][l][m]); }System.out.println(); }if(i!=4)System.out.println("####################"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 17, 17, 11, 1, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 17, 0, 13, 2, 4, 18, 13, 17, 0, 13, 2, 4, 18, 13, 17, 0, 13, 4, 18, 13, 0, 18, 18, 18, 13, 13, 13, 13, 13, 4, 18, 13, 41, 13, 20, 41, 13, 17, 28, 13, 13, 30, 30, 14, 13, 0, 13, 17, 4, 18, 13, 17, 28, 13, 13, 30, 30, 28, 13, 13, 30, 30, 4, 18, 4, 18, 13, 17, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 132, 5 ], [ 132, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 27, 28 ], [ 24, 29 ], [ 29, 30 ], [ 24, 31 ], [ 31, 32 ], [ 24, 33 ], [ 33, 34 ], [ 33, 35 ], [ 23, 36 ], [ 36, 37 ], [ 36, 38 ], [ 23, 39 ], [ 39, 40 ], [ 40, 41 ], [ 23, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 46, 50 ], [ 43, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 53, 57 ], [ 43, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 60, 64 ], [ 43, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 43, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 71, 77 ], [ 70, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 8, 82 ], [ 82, 83 ], [ 82, 84 ], [ 8, 85 ], [ 85, 86 ], [ 85, 87 ], [ 8, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 92, 102 ], [ 102, 103 ], [ 102, 104 ], [ 102, 105 ], [ 106, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 107, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 112, 118 ], [ 106, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 8, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 6, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// [house] [floor] [room]\n\t\tint[][][] bldgs = new int[4][3][10];\n\n\t\tfor (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}\n\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean flag = true;;\n\t\t\n\t\tfor (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// [house] [floor] [room]\n\t\tint[][][] bldgs = new int[4][3][10];\n\n\t\tfor (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}\n\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean flag = true;;\n\t\t\n\t\tfor (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\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\n\t\t// [house] [floor] [room]\n\t\tint[][][] bldgs = new int[4][3][10];\n\n\t\tfor (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}\n\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean flag = true;;\n\t\t\n\t\tfor (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// [house] [floor] [room]\n\t\tint[][][] bldgs = new int[4][3][10];\n\n\t\tfor (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}\n\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean flag = true;;\n\t\t\n\t\tfor (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[][][] bldgs = new int[4][3][10];", "bldgs", "new int[4][3][10]", "4", "3", "10", "for (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}", "int b, f, r, v, i = 0;", "int b", "b", "f", "f", "r", "r", "v", "v", "i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}", "{\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}", "b = sc.nextInt() - 1", "b", "sc.nextInt() - 1", "sc.nextInt()", "sc.nextInt", "sc", "1", "f = sc.nextInt() - 1", "f", "sc.nextInt() - 1", "sc.nextInt()", "sc.nextInt", "sc", "1", "r = sc.nextInt() - 1", "r", "sc.nextInt() - 1", "sc.nextInt()", "sc.nextInt", "sc", "1", "v = sc.nextInt()", "v", "sc.nextInt()", "sc.nextInt", "sc", "bldgs[b][f][r] += v", "bldgs[b][f][r]", "bldgs[b][f]", "bldgs[b]", "bldgs", "b", "f", "r", "v", "sc.close()", "sc.close", "sc", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "boolean flag = true;", "flag", "true", "for (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}", "int[][] f", "bldgs", "{\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}", "{\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}", "if (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");", "flag", "flag = false", "flag", "false", "sb.append(\"####################\\n\")", "sb.append", "sb", "\"####################\\n\"", "for (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "int[] r", "f", "{\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "{\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}", "for (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}", "int v", "r", "{\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}", "{\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}", "sb.append(\" \").append(v)", "sb.append(\" \").append", "sb.append(\" \")", "sb.append", "sb", "\" \"", "v", "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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// [house] [floor] [room]\n\t\tint[][][] bldgs = new int[4][3][10];\n\n\t\tfor (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}\n\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean flag = true;;\n\t\t\n\t\tfor (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\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\n\t\t// [house] [floor] [room]\n\t\tint[][][] bldgs = new int[4][3][10];\n\n\t\tfor (int b, f, r, v, i = 0; i < n; i++) {\n\t\t\tb = sc.nextInt() - 1;\n\t\t\tf = sc.nextInt() - 1;\n\t\t\tr = sc.nextInt() - 1;\n\t\t\tv = sc.nextInt();\n\t\t\tbldgs[b][f][r] += v;\n\t\t}\n\n\t\tsc.close();\n\n\t\tStringBuilder sb = new StringBuilder();\n\t\tboolean flag = true;;\n\t\t\n\t\tfor (int[][] f : bldgs) {\n\t\t\tif (flag) flag = false;\n\t\t\telse sb.append(\"####################\\n\");\n\t\t\t\n\t\t\tfor (int[] r : f) {\n\t\t\t\tfor (int v : r) {\n\t\t\t\t\tsb.append(\" \").append(v);\n\t\t\t\t}\n\t\t\t\tsb.append(\"\\n\");\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(sb);\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(); // [house] [floor] [room] int[][][] bldgs = new int[4][3][10]; for (int b, f, r, v, i = 0; i < n; i++) { b = sc.nextInt() - 1; f = sc.nextInt() - 1; r = sc.nextInt() - 1; v = sc.nextInt(); bldgs[b][f][r] += v; } sc.close(); StringBuilder sb = new StringBuilder(); boolean flag = true;; for (int[][] f : bldgs) { if (flag) flag = false; else sb.append("####################\n"); for (int[] r : f) { for (int v : r) { sb.append(" ").append(v); } 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, 20, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 0, 18, 18, 18, 13, 13, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 18, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 13, 17, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 194, 5 ], [ 194, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 63, 69 ], [ 62, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 83, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 83, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 83, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 83, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 106, 112 ], [ 112, 113 ], [ 112, 114 ], [ 105, 115 ], [ 115, 116 ], [ 115, 117 ], [ 104, 118 ], [ 8, 119 ], [ 119, 120 ], [ 120, 121 ], [ 8, 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 ], [ 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 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 168, 174 ], [ 147, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 175, 180 ], [ 134, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 185, 190 ], [ 6, 191 ], [ 191, 192 ], [ 0, 193 ], [ 193, 194 ], [ 193, 195 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// 入居者管理用配列\n\t\tint dorm[][][] = new int[4][3][10];\n\t\t// 全ての部屋人数に0を設定\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 情報入力\n\t\tfor(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}\n\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\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\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// 入居者管理用配列\n\t\tint dorm[][][] = new int[4][3][10];\n\t\t// 全ての部屋人数に0を設定\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 情報入力\n\t\tfor(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}\n\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// 入居者管理用配列\n\t\tint dorm[][][] = new int[4][3][10];\n\t\t// 全ての部屋人数に0を設定\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 情報入力\n\t\tfor(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}\n\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// 入居者管理用配列\n\t\tint dorm[][][] = new int[4][3][10];\n\t\t// 全ての部屋人数に0を設定\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 情報入力\n\t\tfor(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}\n\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int dorm[][][] = new int[4][3][10];", "dorm", "new int[4][3][10]", "4", "3", "10", "for(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int b=0;", "int b=0;", "b", "0", "b<4", "b", "4", "b++", "b++", "b", "{\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}", "int f=0;", "int f=0;", "f", "0", "f<3", "f", "3", "f++", "f++", "f", "{\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}", "for(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}", "int r=0;", "int r=0;", "r", "0", "r<10", "r", "10", "r++", "r++", "r", "{\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}", "{\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}", "dorm[b][f][r] = 0", "dorm[b][f][r]", "dorm[b][f]", "dorm[b]", "dorm", "b", "f", "r", "0", "for(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}", "{\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}", "int building = sc.nextInt();", "building", "sc.nextInt()", "sc.nextInt", "sc", "int floor = sc.nextInt();", "floor", "sc.nextInt()", "sc.nextInt", "sc", "int room = sc.nextInt();", "room", "sc.nextInt()", "sc.nextInt", "sc", "int count = sc.nextInt();", "count", "sc.nextInt()", "sc.nextInt", "sc", "dorm[building-1][floor-1][room-1] += count", "dorm[building-1][floor-1][room-1]", "dorm[building-1][floor-1]", "dorm[building-1]", "dorm", "building-1", "building", "1", "floor-1", "floor", "1", "room-1", "room", "1", "count", "sc.close()", "sc.close", "sc", "for(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}", "int b=0;", "int b=0;", "b", "0", "b<4", "b", "4", "b++", "b++", "b", "{\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}", "{\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}", "for(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}", "int f=0;", "int f=0;", "f", "0", "f<3", "f", "3", "f++", "f++", "f", "{\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}", "{\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}", "for(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}", "int r=0;", "int r=0;", "r", "0", "r<10", "r", "10", "r++", "r++", "r", "{\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}", "System.out.print(\" \" + dorm[b][f][r])", "System.out.print", "System.out", "System", "System.out", "\" \" + dorm[b][f][r]", "\" \"", "dorm[b][f][r]", "dorm[b][f]", "dorm[b]", "dorm", "b", "f", "r", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "if(b!=3) System.out.println(\"####################\");", "b!=3", "b", "3", "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\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// 入居者管理用配列\n\t\tint dorm[][][] = new int[4][3][10];\n\t\t// 全ての部屋人数に0を設定\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 情報入力\n\t\tfor(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}\n\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\t// 入居者管理用配列\n\t\tint dorm[][][] = new int[4][3][10];\n\t\t// 全ての部屋人数に0を設定\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tdorm[b][f][r] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\n\t\t// 情報入力\n\t\tfor(int i=0; i<n; i++){\n\t\t\tint building = sc.nextInt();\n\t\t\tint floor = sc.nextInt();\n\t\t\tint room = sc.nextInt();\n\t\t\tint count = sc.nextInt();\n\n\t\t\t// 指定部屋の人数を増減\n\t\t\tdorm[building-1][floor-1][room-1] += count;\n\t\t}\n\n\t\tsc.close();\n\n\t\t// 出力\n\t\tfor(int b=0; b<4; b++) {\n\t\t\tfor(int f=0; f<3; f++) {\n\t\t\t\tfor(int r=0; r<10; r++) {\n\t\t\t\t\tSystem.out.print(\" \" + dorm[b][f][r]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\t\t\tif(b!=3) System.out.println(\"####################\");\n\t\t}\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); // 入居者管理用配列 int dorm[][][] = new int[4][3][10]; // 全ての部屋人数に0を設定 for(int b=0; b<4; b++) { for(int f=0; f<3; f++) { for(int r=0; r<10; r++) { dorm[b][f][r] = 0; } } } // 情報入力 for(int i=0; i<n; i++){ int building = sc.nextInt(); int floor = sc.nextInt(); int room = sc.nextInt(); int count = sc.nextInt(); // 指定部屋の人数を増減 dorm[building-1][floor-1][room-1] += count; } sc.close(); // 出力 for(int b=0; b<4; b++) { for(int f=0; f<3; f++) { for(int r=0; r<10; r++) { System.out.print(" " + dorm[b][f][r]); } System.out.println(""); } if(b!=3) 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, 13, 41, 13, 20, 17, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 4, 18, 13, 17, 0, 13, 2, 4, 18, 13, 17, 0, 13, 2, 4, 18, 13, 17, 0, 13, 4, 18, 13, 0, 18, 18, 18, 13, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 156, 11 ], [ 156, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 14, 33 ], [ 33, 34 ], [ 14, 35 ], [ 35, 36 ], [ 14, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 52, 56 ], [ 49, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 59, 63 ], [ 49, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 66, 70 ], [ 49, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 49, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 76, 84 ], [ 14, 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 ], [ 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 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 131, 137 ], [ 110, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 97, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 12, 153 ], [ 153, 154 ], [ 0, 155 ], [ 155, 156 ], [ 155, 157 ] ]
[ "import java.text.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint num[][][] = new int[4][3][10];\n\t\tint b,f,r,v;\n\t\t\n\t\tfor(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}\n\t\tfor(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}\n\t}\n}", "import java.text.*;", "text.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint num[][][] = new int[4][3][10];\n\t\tint b,f,r,v;\n\t\t\n\t\tfor(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}\n\t\tfor(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.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\tint kazu = scan.nextInt();\n\t\tint num[][][] = new int[4][3][10];\n\t\tint b,f,r,v;\n\t\t\n\t\tfor(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}\n\t\tfor(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint num[][][] = new int[4][3][10];\n\t\tint b,f,r,v;\n\t\t\n\t\tfor(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}\n\t\tfor(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int kazu = scan.nextInt();", "kazu", "scan.nextInt()", "scan.nextInt", "scan", "int num[][][] = new int[4][3][10];", "num", "new int[4][3][10]", "4", "3", "10", "int b", "b", "f", "f", "r", "r", "v;", "v", "for(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < kazu", "i", "kazu", "i++", "i++", "i", "{\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}", "{\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}", "b = scan.nextInt() - 1", "b", "scan.nextInt() - 1", "scan.nextInt()", "scan.nextInt", "scan", "1", "f = scan.nextInt() - 1", "f", "scan.nextInt() - 1", "scan.nextInt()", "scan.nextInt", "scan", "1", "r = scan.nextInt() - 1", "r", "scan.nextInt() - 1", "scan.nextInt()", "scan.nextInt", "scan", "1", "v = scan.nextInt()", "v", "scan.nextInt()", "scan.nextInt", "scan", "num[b][f][r] += v", "num[b][f][r]", "num[b][f]", "num[b]", "num", "b", "f", "r", "v", "for(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}", "int i0 = 0;", "int i0 = 0;", "i0", "0", "i0 < 4", "i0", "4", "i0++", "i0++", "i0", "{\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}", "{\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}", "for(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "int i1 = 0;", "int i1 = 0;", "i1", "0", "i1 < 3", "i1", "3", "i1++", "i1++", "i1", "{\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "{\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}", "for(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}", "int i2 = 0;", "int i2 = 0;", "i2", "0", "i2 < 10", "i2", "10", "i2++", "i2++", "i2", "{\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}", "System.out.print(\" \" + num[i0][i1][i2])", "System.out.print", "System.out", "System", "System.out", "\" \" + num[i0][i1][i2]", "\" \"", "num[i0][i1][i2]", "num[i0][i1]", "num[i0]", "num", "i0", "i1", "i2", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "if(i0 < 3) System.out.println(\"####################\");", "i0 < 3", "i0", "3", "System.out.println(\"####################\")", "System.out.println", "System.out", "System", "System.out", "\"####################\"", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint num[][][] = new int[4][3][10];\n\t\tint b,f,r,v;\n\t\t\n\t\tfor(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}\n\t\tfor(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint kazu = scan.nextInt();\n\t\tint num[][][] = new int[4][3][10];\n\t\tint b,f,r,v;\n\t\t\n\t\tfor(int i = 0; i < kazu; i++) {\n\t\t\tb = scan.nextInt() - 1;\n\t\t\tf = scan.nextInt() - 1;\n\t\t\tr = scan.nextInt() - 1;\n\t\t\tv = scan.nextInt();\n\t\t\tnum[b][f][r] += v;\n\t\t}\n\t\tfor(int i0 = 0; i0 < 4; i0++ ) {\n\t\t\tfor(int i1 = 0; i1 < 3; i1++) {\n\t\t\t\tfor(int i2 = 0; i2 < 10; i2++) {\n\t\t\t\t\tSystem.out.print(\" \" + num[i0][i1][i2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println();\n\t\t\t}\n\t\t\tif(i0 < 3) System.out.println(\"####################\");\n\t\t}\n\t}\n}", "Main" ]
import java.text.*; import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int kazu = scan.nextInt(); int num[][][] = new int[4][3][10]; int b,f,r,v; for(int i = 0; i < kazu; i++) { b = scan.nextInt() - 1; f = scan.nextInt() - 1; r = scan.nextInt() - 1; v = scan.nextInt(); num[b][f][r] += v; } for(int i0 = 0; i0 < 4; i0++ ) { for(int i1 = 0; i1 < 3; i1++) { for(int i2 = 0; i2 < 10; i2++) { System.out.print(" " + num[i0][i1][i2]); } System.out.println(); } if(i0 < 3) System.out.println("####################"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 18, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 18, 18, 18, 13, 13, 13, 13, 30, 4, 18, 18, 13, 13, 17, 18, 18, 18, 13, 13, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 156, 5 ], [ 156, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 35, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 35, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 96, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 105, 106 ], [ 106, 107 ], [ 97, 108 ], [ 109, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 122, 126 ], [ 121, 127 ], [ 110, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 136, 140 ], [ 135, 141 ], [ 83, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 6, 153 ], [ 153, 154 ], [ 0, 155 ], [ 155, 156 ], [ 155, 157 ] ]
[ "import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int[][][] hito = new int[4][3][10];\n \n int n = sc.nextInt();\n \n for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }\n \n for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int[][][] hito = new int[4][3][10];\n \n int n = sc.nextInt();\n \n for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }\n \n for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\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[][][] hito = new int[4][3][10];\n \n int n = sc.nextInt();\n \n for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }\n \n for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int[][][] hito = new int[4][3][10];\n \n int n = sc.nextInt();\n \n for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }\n \n for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[][][] hito = new int[4][3][10];", "hito", "new int[4][3][10]", "4", "3", "10", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }", "{\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }", "int b = sc.nextInt();", "b", "sc.nextInt()", "sc.nextInt", "sc", "int f = sc.nextInt();", "f", "sc.nextInt()", "sc.nextInt", "sc", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "int v = sc.nextInt();", "v", "sc.nextInt()", "sc.nextInt", "sc", "hito[b-1][f-1][r-1] += v", "hito[b-1][f-1][r-1]", "hito[b-1][f-1]", "hito[b-1]", "hito", "b-1", "b", "1", "f-1", "f", "1", "r-1", "r", "1", "v", "for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }", "{\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }", "for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }", "int j = 0 ;", "int j = 0 ;", "j", "0", "j < 3", "j", "3", "j++", "j++", "j", "{\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }", "{\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }", "for (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }", "int k = 0 ;", "int k = 0 ;", "k", "0", "k < 10", "k", "10", "k++", "k++", "k", "{\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }", "{\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }", "if (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}", "k != 9", "k", "9", "{\n System.out.printf(\" %d\", hito[i][j][k]);\n }", "System.out.printf(\" %d\", hito[i][j][k])", "System.out.printf", "System.out", "System", "System.out", "\" %d\"", "hito[i][j][k]", "hito[i][j]", "hito[i]", "hito", "i", "j", "k", "{\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}", "System.out.printf(\" %d\\n\", hito[i][j][k])", "System.out.printf", "System.out", "System", "System.out", "\" %d\\n\"", "hito[i][j][k]", "hito[i][j]", "hito[i]", "hito", "i", "j", "k", "if (i != 3) {\n System.out.println(\"####################\");\n }", "i != 3", "i", "3", "{\n System.out.println(\"####################\");\n }", "System.out.println(\"####################\")", "System.out.println", "System.out", "System", "System.out", "\"####################\"", "String[] args", "args", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int[][][] hito = new int[4][3][10];\n \n int n = sc.nextInt();\n \n for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }\n \n for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\n System.out.println(\"####################\");\n }\n }\n }\n}", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n \n int[][][] hito = new int[4][3][10];\n \n int n = sc.nextInt();\n \n for (int i = 0; i < n; i++) {\n \tint b = sc.nextInt();\n int f = sc.nextInt();\n int r = sc.nextInt();\n int v = sc.nextInt();\n \n hito[b-1][f-1][r-1] += v;\n \n \n }\n \n for (int i = 0; i < 4; i++) {\n for (int j = 0 ; j < 3; j++) {\n \tfor (int k = 0 ; k < 10; k++) {\n \t\tif (k != 9) {\n System.out.printf(\" %d\", hito[i][j][k]);\n }\n else {\n System.out.printf(\" %d\\n\", hito[i][j][k]);\n \t}\n }\n }\n if (i != 3) {\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[][][] hito = new int[4][3][10]; int n = sc.nextInt(); for (int i = 0; i < n; i++) { int b = sc.nextInt(); int f = sc.nextInt(); int r = sc.nextInt(); int v = sc.nextInt(); hito[b-1][f-1][r-1] += v; } for (int i = 0; i < 4; i++) { for (int j = 0 ; j < 3; j++) { for (int k = 0 ; k < 10; k++) { if (k != 9) { System.out.printf(" %d", hito[i][j][k]); } else { System.out.printf(" %d\n", hito[i][j][k]); } } } if (i != 3) { 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, 13, 41, 13, 20, 13, 41, 13, 20, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 17, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 18, 18, 13, 17, 13, 1, 40, 13, 30, 30, 0, 18, 18, 18, 13, 13, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 4, 18, 18, 13, 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, 0, 18, 18, 18, 13, 2, 18, 13, 17, 17, 2, 18, 13, 17, 17, 2, 18, 13, 17, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 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 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 33, 43 ], [ 43, 44 ], [ 44, 45 ], [ 33, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 48, 60 ], [ 60, 61 ], [ 61, 62 ], [ 48, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 65, 77 ], [ 77, 78 ], [ 78, 79 ], [ 65, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 82, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 91, 101 ], [ 101, 102 ], [ 102, 103 ], [ 91, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 110, 111 ], [ 111, 112 ], [ 105, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 105, 121 ], [ 121, 122 ], [ 121, 123 ], [ 105, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 132, 134 ], [ 125, 135 ], [ 135, 136 ], [ 136, 137 ], [ 125, 138 ], [ 139, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 147, 148 ], [ 147, 149 ], [ 105, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 152, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 151, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 165, 169 ], [ 150, 170 ], [ 170, 171 ], [ 170, 172 ], [ 8, 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 ], [ 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 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 219, 225 ], [ 198, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 185, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 232, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 237, 242 ], [ 6, 243 ], [ 243, 244 ], [ 0, 245 ], [ 245, 246 ], [ 245, 247 ] ]
[ "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\tint dartenc = Integer.parseInt(line);\n\t\tString[] k = new String[dartenc];\n\t\tint[][][] darten = new int[4][3][10];\n\n\t\tfor (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\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\tpublic static void main(String[] arges) {\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint dartenc = Integer.parseInt(line);\n\t\tString[] k = new String[dartenc];\n\t\tint[][][] darten = new int[4][3][10];\n\n\t\tfor (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}\n\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\tint dartenc = Integer.parseInt(line);\n\t\tString[] k = new String[dartenc];\n\t\tint[][][] darten = new int[4][3][10];\n\n\t\tfor (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\t\tString line = sc.nextLine();\n\t\tint dartenc = Integer.parseInt(line);\n\t\tString[] k = new String[dartenc];\n\t\tint[][][] darten = new int[4][3][10];\n\n\t\tfor (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "int dartenc = Integer.parseInt(line);", "dartenc", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "String[] k = new String[dartenc];", "k", "new String[dartenc]", "dartenc", "int[][][] darten = new int[4][3][10];", "darten", "new int[4][3][10]", "4", "3", "10", "for (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < darten.length", "i", "darten.length", "darten", "darten.length", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "{\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}", "for (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < darten[1].length", "j", "darten[1].length", "darten[1]", "darten", "1", "darten[1].length", "j++", "j++", "j", "{\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}", "for (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}", "int j2 = 0;", "int j2 = 0;", "j2", "0", "j2 < darten[0].length", "j2", "darten[0].length", "darten[0]", "darten", "0", "darten[0].length", "j2++", "j2++", "j2", "{\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}", "{\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}", "darten[i][j][j2] = 0", "darten[i][j][j2]", "darten[i][j]", "darten[i]", "darten", "i", "j", "j2", "0", "for (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < k.length", "i", "k.length", "k", "k.length", "i++", "i++", "i", "{\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}", "{\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}", "k[i] = sc.nextLine()", "k[i]", "k", "i", "sc.nextLine()", "sc.nextLine", "sc", "String[] v = k[i].split(\" \");", "v", "k[i].split(\" \")", "k[i].split", "k[i]", "k", "i", "\" \"", "int[] a = new int[4];", "a", "new int[4]", "4", "for (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < a.length", "j", "a.length", "a", "a.length", "j++", "j++", "j", "{\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}", "{\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}", "a[j] = Integer.parseInt(v[j])", "a[j]", "a", "j", "Integer.parseInt(v[j])", "Integer.parseInt", "Integer", "v[j]", "v", "j", "darten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3]", "darten[a[0] - 1][a[1] - 1][a[2] - 1]", "darten[a[0] - 1][a[1] - 1]", "darten[a[0] - 1]", "darten", "a[0] - 1", "a[0]", "a", "0", "1", "a[1] - 1", "a[1]", "a", "1", "1", "a[2] - 1", "a[2]", "a", "2", "1", "a[3]", "a", "3", "for (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "{\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}", "for (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < 3", "j", "3", "j++", "j++", "j", "{\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}", "{\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}", "for (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}", "int j2 = 0;", "int j2 = 0;", "j2", "0", "j2 < 10", "j2", "10", "j2++", "j2++", "j2", "{\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}", "System.out.print(\" \"+darten[i][j][j2])", "System.out.print", "System.out", "System", "System.out", "\" \"+darten[i][j][j2]", "\" \"", "darten[i][j][j2]", "darten[i][j]", "darten[i]", "darten", "i", "j", "j2", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}", "i!=3", "i", "3", "{\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}", "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\tint dartenc = Integer.parseInt(line);\n\t\tString[] k = new String[dartenc];\n\t\tint[][][] darten = new int[4][3][10];\n\n\t\tfor (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}\n\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\tint dartenc = Integer.parseInt(line);\n\t\tString[] k = new String[dartenc];\n\t\tint[][][] darten = new int[4][3][10];\n\n\t\tfor (int i = 0; i < darten.length; i++) {\n\t\t\tfor (int j = 0; j < darten[1].length; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < darten[0].length; j2++) {\n\t\t\t\t\tdarten[i][j][j2] = 0;\n\t\t\t\t}\n\t\t\t}\n\t\t}\n\t\tfor (int i = 0; i < k.length; i++) {\n\t\t\tk[i] = sc.nextLine();\n\t\t\tString[] v = k[i].split(\" \");\n\t\t\tint[] a = new int[4];\n\t\t\tfor (int j = 0; j < a.length; j++) {\n\t\t\t\ta[j] = Integer.parseInt(v[j]);\n\t\t\t}\n\t\t\tdarten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\\???\n\n\t\t}\n\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tfor (int j = 0; j < 3; j++) {\n\t\t\t\tfor (int j2 = 0; j2 < 10; j2++) {\n\t\t\t\t\tSystem.out.print(\" \"+darten[i][j][j2]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t\t\n\t\t\t}if (i!=3) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t\n\t\t\t}\n\t\t\t\n\t\t}\n\n\t}\n\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(); int dartenc = Integer.parseInt(line); String[] k = new String[dartenc]; int[][][] darten = new int[4][3][10]; for (int i = 0; i < darten.length; i++) { for (int j = 0; j < darten[1].length; j++) { for (int j2 = 0; j2 < darten[0].length; j2++) { darten[i][j][j2] = 0; } } } for (int i = 0; i < k.length; i++) { k[i] = sc.nextLine(); String[] v = k[i].split(" "); int[] a = new int[4]; for (int j = 0; j < a.length; j++) { a[j] = Integer.parseInt(v[j]); } darten[a[0] - 1][a[1] - 1][a[2] - 1] += a[3];// ?????¢...b?£?f??????r?????????????????§??\??? } for (int i = 0; i < 4; i++) { for (int j = 0; j < 3; j++) { for (int j2 = 0; j2 < 10; j2++) { System.out.print(" "+darten[i][j][j2]); } System.out.println(""); }if (i!=3) { System.out.println("####################"); } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 18, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 144, 5 ], [ 144, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 32, 33 ], [ 23, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 35, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 35, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 35, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 84, 92 ], [ 92, 93 ], [ 93, 94 ], [ 84, 95 ], [ 96, 96 ], [ 96, 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 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 117, 123 ], [ 96, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 83, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 6, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//\n\t\tint[][][] intRoom = new int[4][3][10];\n\t\t//n??¶????????±?????????\n\t\tint n = sc.nextInt();\n\n\t\t//2????????\\????????????\n\t\tfor(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}\n\t\t//??????\n\t\tfor(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//\n\t\tint[][][] intRoom = new int[4][3][10];\n\t\t//n??¶????????±?????????\n\t\tint n = sc.nextInt();\n\n\t\t//2????????\\????????????\n\t\tfor(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}\n\t\t//??????\n\t\tfor(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//\n\t\tint[][][] intRoom = new int[4][3][10];\n\t\t//n??¶????????±?????????\n\t\tint n = sc.nextInt();\n\n\t\t//2????????\\????????????\n\t\tfor(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}\n\t\t//??????\n\t\tfor(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}", "main", "{\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//\n\t\tint[][][] intRoom = new int[4][3][10];\n\t\t//n??¶????????±?????????\n\t\tint n = sc.nextInt();\n\n\t\t//2????????\\????????????\n\t\tfor(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}\n\t\t//??????\n\t\tfor(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[][][] intRoom = new int[4][3][10];", "intRoom", "new int[4][3][10]", "4", "3", "10", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}", "{\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}", "int intBuilding = sc.nextInt();", "intBuilding", "sc.nextInt()", "sc.nextInt", "sc", "int intFloor = sc.nextInt();", "intFloor", "sc.nextInt()", "sc.nextInt", "sc", "int intRoomFirst = sc.nextInt();", "intRoomFirst", "sc.nextInt()", "sc.nextInt", "sc", "int intPeople = sc.nextInt();", "intPeople", "sc.nextInt()", "sc.nextInt", "sc", "intRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople", "intRoom[intBuilding - 1][intFloor -1][intRoomFirst -1]", "intRoom[intBuilding - 1][intFloor -1]", "intRoom[intBuilding - 1]", "intRoom", "intBuilding - 1", "intBuilding", "1", "intFloor -1", "intFloor", "1", "intRoomFirst -1", "intRoomFirst", "1", "intPeople", "for(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i< 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}", "for(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j<3", "j", "3", "j++", "j++", "j", "{\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}", "{\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}", "for(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}", "int k = 0;", "int k = 0;", "k", "0", "k< 10", "k", "10", "k++", "k++", "k", "{\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}", "{\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}", "System.out.print(\" \" + intRoom[i][j][k])", "System.out.print", "System.out", "System", "System.out", "\" \" + intRoom[i][j][k]", "\" \"", "intRoom[i][j][k]", "intRoom[i][j]", "intRoom[i]", "intRoom", "i", "j", "k", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "if(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}", "i != 3", "i", "3", "{\n\t\t\t\tSystem.out.println(\"####################\");\n\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){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//\n\t\tint[][][] intRoom = new int[4][3][10];\n\t\t//n??¶????????±?????????\n\t\tint n = sc.nextInt();\n\n\t\t//2????????\\????????????\n\t\tfor(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}\n\t\t//??????\n\t\tfor(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\t//????????£?????????????????????\n\t\tScanner sc = new Scanner(System.in);\n\t\t//\n\t\tint[][][] intRoom = new int[4][3][10];\n\t\t//n??¶????????±?????????\n\t\tint n = sc.nextInt();\n\n\t\t//2????????\\????????????\n\t\tfor(int i = 0; i < n; i++){\n\t\t\t//??´ b\n\t\t\tint intBuilding = sc.nextInt();\n\t\t\t//??? f\n\t\t\tint intFloor = sc.nextInt();\n\t\t\t//??¨?±? r\n\t\t\tint intRoomFirst = sc.nextInt();\n\t\t\t//?????° v\n\t\t\tint intPeople = sc.nextInt();\n\t\t\t//??\\??????????????????????´?\n\t\t\tintRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople;\n\t\t}\n\t\t//??????\n\t\tfor(int i = 0; i< 4; i++){\n\t\t\tfor(int j = 0; j<3; j++){\n\t\t\t\tfor(int k = 0; k< 10; k++){\n\t\t\t\t\tSystem.out.print(\" \" + intRoom[i][j][k]);\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\"); //??????\n\t\t\t}\n\t\t\tif(i != 3){\n\t\t\t\tSystem.out.println(\"####################\");\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[][][] intRoom = new int[4][3][10]; //n??¶????????±????????? int n = sc.nextInt(); //2????????\???????????? for(int i = 0; i < n; i++){ //??´ b int intBuilding = sc.nextInt(); //??? f int intFloor = sc.nextInt(); //??¨?±? r int intRoomFirst = sc.nextInt(); //?????° v int intPeople = sc.nextInt(); //??\??????????????????????´? intRoom[intBuilding - 1][intFloor -1][intRoomFirst -1] += intPeople; } //?????? for(int i = 0; i< 4; i++){ for(int j = 0; j<3; j++){ for(int k = 0; k< 10; k++){ System.out.print(" " + intRoom[i][j][k]); } System.out.println(""); //?????? } if(i != 3){ System.out.println("####################"); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 13, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 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, 4, 18, 13, 18, 4, 18, 13, 17, 17, 4, 18, 13, 13, 13, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 20, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 18, 36, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 18, 36, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 4, 18, 18, 13, 13, 17, 14, 2, 13, 2, 4, 18, 18, 36, 13, 17, 30, 4, 18, 18, 13, 13, 17, 12, 13, 30, 41, 13, 4, 18, 18, 36, 13, 2, 13, 17, 41, 13, 4, 18, 13, 2, 13, 17, 41, 13, 4, 18, 13, 2, 13, 17, 4, 18, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 20, 23, 13, 12, 13, 30, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 18, 36, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 20, 23, 13, 12, 13, 30, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 18, 36, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 29, 13, 12, 13, 30, 0, 18, 36, 13, 13, 14, 2, 18, 36, 13, 17, 30, 0, 18, 36, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 505, 11 ], [ 505, 12 ], [ 12, 13 ], [ 505, 14 ], [ 14, 15 ], [ 14, 16 ], [ 505, 17 ], [ 17, 18 ], [ 17, 19 ], [ 505, 20 ], [ 20, 21 ], [ 20, 22 ], [ 505, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 25, 29 ], [ 29, 30 ], [ 29, 31 ], [ 25, 32 ], [ 32, 33 ], [ 33, 34 ], [ 25, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 25, 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 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 55, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 55, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 88, 93 ], [ 55, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 55, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 105, 109 ], [ 105, 110 ], [ 105, 111 ], [ 25, 112 ], [ 112, 113 ], [ 113, 114 ], [ 23, 115 ], [ 115, 116 ], [ 505, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 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 ], [ 138, 141 ], [ 505, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 145, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 145, 157 ], [ 157, 158 ], [ 158, 159 ], [ 145, 160 ], [ 161, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 161, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 170, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 170, 180 ], [ 180, 181 ], [ 181, 182 ], [ 170, 183 ], [ 184, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 187, 190 ], [ 184, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 191, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 191, 201 ], [ 201, 202 ], [ 202, 203 ], [ 191, 204 ], [ 205, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 208, 211 ], [ 205, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 212, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 184, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 222, 227 ], [ 161, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 231, 237 ], [ 228, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 239, 244 ], [ 505, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 250, 255 ], [ 255, 256 ], [ 255, 257 ], [ 247, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 261, 262 ], [ 260, 263 ], [ 263, 264 ], [ 263, 265 ], [ 247, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 269, 270 ], [ 268, 271 ], [ 271, 272 ], [ 271, 273 ], [ 247, 274 ], [ 274, 275 ], [ 275, 276 ], [ 274, 277 ], [ 245, 278 ], [ 278, 279 ], [ 245, 280 ], [ 280, 281 ], [ 245, 282 ], [ 282, 283 ], [ 245, 284 ], [ 284, 285 ], [ 505, 286 ], [ 286, 287 ], [ 286, 288 ], [ 288, 289 ], [ 286, 290 ], [ 290, 291 ], [ 286, 292 ], [ 292, 293 ], [ 292, 294 ], [ 294, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 295, 299 ], [ 294, 300 ], [ 300, 301 ], [ 300, 302 ], [ 294, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 305, 307 ], [ 303, 308 ], [ 308, 309 ], [ 308, 310 ], [ 303, 311 ], [ 311, 312 ], [ 312, 313 ], [ 303, 314 ], [ 315, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 316, 319 ], [ 292, 320 ], [ 320, 321 ], [ 286, 322 ], [ 322, 323 ], [ 322, 324 ], [ 324, 325 ], [ 325, 326 ], [ 286, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 330, 331 ], [ 331, 332 ], [ 331, 333 ], [ 330, 334 ], [ 327, 335 ], [ 335, 336 ], [ 286, 337 ], [ 337, 338 ], [ 337, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 343, 344 ], [ 343, 345 ], [ 286, 346 ], [ 346, 347 ], [ 346, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 351, 352 ], [ 350, 353 ], [ 346, 354 ], [ 354, 355 ], [ 286, 356 ], [ 356, 357 ], [ 356, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 359, 363 ], [ 356, 364 ], [ 364, 365 ], [ 505, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 366, 370 ], [ 370, 371 ], [ 366, 372 ], [ 372, 373 ], [ 372, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 376, 378 ], [ 375, 379 ], [ 374, 380 ], [ 380, 381 ], [ 380, 382 ], [ 374, 383 ], [ 383, 384 ], [ 384, 385 ], [ 385, 386 ], [ 385, 387 ], [ 383, 388 ], [ 388, 389 ], [ 388, 390 ], [ 383, 391 ], [ 391, 392 ], [ 392, 393 ], [ 383, 394 ], [ 395, 395 ], [ 395, 396 ], [ 396, 397 ], [ 397, 398 ], [ 396, 399 ], [ 372, 400 ], [ 400, 401 ], [ 366, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 366, 407 ], [ 407, 408 ], [ 407, 409 ], [ 409, 410 ], [ 410, 411 ], [ 411, 412 ], [ 411, 413 ], [ 410, 414 ], [ 407, 415 ], [ 415, 416 ], [ 366, 417 ], [ 417, 418 ], [ 417, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 422, 423 ], [ 421, 424 ], [ 417, 425 ], [ 425, 426 ], [ 366, 427 ], [ 427, 428 ], [ 427, 429 ], [ 429, 430 ], [ 430, 431 ], [ 431, 432 ], [ 431, 433 ], [ 430, 434 ], [ 427, 435 ], [ 435, 436 ], [ 366, 437 ], [ 437, 438 ], [ 437, 439 ], [ 439, 440 ], [ 440, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 443, 445 ], [ 505, 446 ], [ 446, 447 ], [ 446, 448 ], [ 448, 449 ], [ 446, 450 ], [ 450, 451 ], [ 446, 452 ], [ 452, 453 ], [ 452, 454 ], [ 454, 455 ], [ 455, 456 ], [ 456, 457 ], [ 456, 458 ], [ 455, 459 ], [ 452, 460 ], [ 460, 461 ], [ 446, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 465, 466 ], [ 446, 467 ], [ 467, 468 ], [ 467, 469 ], [ 469, 470 ], [ 470, 471 ], [ 471, 472 ], [ 471, 473 ], [ 470, 474 ], [ 467, 475 ], [ 475, 476 ], [ 446, 477 ], [ 477, 478 ], [ 477, 479 ], [ 479, 480 ], [ 480, 481 ], [ 446, 482 ], [ 482, 483 ], [ 482, 484 ], [ 484, 485 ], [ 485, 486 ], [ 486, 487 ], [ 486, 488 ], [ 485, 489 ], [ 484, 490 ], [ 490, 491 ], [ 491, 492 ], [ 492, 493 ], [ 492, 494 ], [ 491, 495 ], [ 490, 496 ], [ 496, 497 ], [ 497, 498 ], [ 498, 499 ], [ 498, 500 ], [ 497, 501 ], [ 482, 502 ], [ 502, 503 ], [ 0, 504 ], [ 504, 505 ], [ 504, 506 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\n\npublic class Main {\n\tprivate ArrayList<Building> building;\n\n\tfinal int BUILDING = 4;\n\tfinal int FLOOR = 3;\n\tfinal int ROOM = 10;\n\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t Main main = new Main();\n\t main.init();\n\n\t int n = Integer.parseInt(br.readLine());\n\n\t for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }\n\t main.disp();\n\t}\n\n\tprivate void init() {\n\t\tthis.building = new ArrayList<Building>();\n\n\t\tfor (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}\n\t}\n\n\tprivate void disp() {\n\t\tfor (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate void movePeople(int b, int f, int r, int v) {\n\t\tBuilding building = this.building.get(b - 1);\n\t\tFloor floor = building.getFloor(f - 1);\n\t\tRoom room = floor.getRoom(r - 1);\n\n\t\troom.setNinzu(v);\n\t}\n\n\tclass Building {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Floor> floor;\n\n\t\tBuilding(int buildingNo) {\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getFloorCount() {\n\t\t\treturn this.floor.size();\n\t\t}\n\n\t\tpublic Floor getFloor(int floorNo) {\n\t\t\treturn floor.get(floorNo);\n\t\t}\n\n\t\tpublic void setFloor(ArrayList<Floor> floor) {\n\t\t\tthis.floor = floor;\n\t\t}\n\t}\n\n\tclass Floor {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Room> room;\n\n\t\tFloor(int floorNo) {\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic Room getRoom(int roomNo) {\n\t\t\treturn room.get(roomNo);\n\t\t}\n\n\t\tpublic void setRoom(ArrayList<Room> room) {\n\t\t\tthis.room = room;\n\t\t}\n\n\t\tpublic int getRoomCount() {\n\t\t\treturn this.room.size();\n\t\t}\n\t}\n\n\tclass Room {\n\t\tprivate int num;\n\n\t\tprivate int ninzu;\n\n\t\tRoom(int roomNo) {\n\t\t\tthis.num = roomNo;\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getNinzu() {\n\t\t\treturn ninzu;\n\t\t}\n\n\t\tpublic void setNinzu(int ninzu) {\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "public class Main {\n\tprivate ArrayList<Building> building;\n\n\tfinal int BUILDING = 4;\n\tfinal int FLOOR = 3;\n\tfinal int ROOM = 10;\n\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t Main main = new Main();\n\t main.init();\n\n\t int n = Integer.parseInt(br.readLine());\n\n\t for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }\n\t main.disp();\n\t}\n\n\tprivate void init() {\n\t\tthis.building = new ArrayList<Building>();\n\n\t\tfor (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}\n\t}\n\n\tprivate void disp() {\n\t\tfor (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate void movePeople(int b, int f, int r, int v) {\n\t\tBuilding building = this.building.get(b - 1);\n\t\tFloor floor = building.getFloor(f - 1);\n\t\tRoom room = floor.getRoom(r - 1);\n\n\t\troom.setNinzu(v);\n\t}\n\n\tclass Building {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Floor> floor;\n\n\t\tBuilding(int buildingNo) {\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getFloorCount() {\n\t\t\treturn this.floor.size();\n\t\t}\n\n\t\tpublic Floor getFloor(int floorNo) {\n\t\t\treturn floor.get(floorNo);\n\t\t}\n\n\t\tpublic void setFloor(ArrayList<Floor> floor) {\n\t\t\tthis.floor = floor;\n\t\t}\n\t}\n\n\tclass Floor {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Room> room;\n\n\t\tFloor(int floorNo) {\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic Room getRoom(int roomNo) {\n\t\t\treturn room.get(roomNo);\n\t\t}\n\n\t\tpublic void setRoom(ArrayList<Room> room) {\n\t\t\tthis.room = room;\n\t\t}\n\n\t\tpublic int getRoomCount() {\n\t\t\treturn this.room.size();\n\t\t}\n\t}\n\n\tclass Room {\n\t\tprivate int num;\n\n\t\tprivate int ninzu;\n\n\t\tRoom(int roomNo) {\n\t\t\tthis.num = roomNo;\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getNinzu() {\n\t\t\treturn ninzu;\n\t\t}\n\n\t\tpublic void setNinzu(int ninzu) {\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}\n\t}\n}", "Main", "private ArrayList<Building> building;", "building", "final int BUILDING = 4;", "BUILDING", "4", "final int FLOOR = 3;", "FLOOR", "3", "final int ROOM = 10;", "ROOM", "10", "public static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t Main main = new Main();\n\t main.init();\n\n\t int n = Integer.parseInt(br.readLine());\n\n\t for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }\n\t main.disp();\n\t}", "main", "{\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t Main main = new Main();\n\t main.init();\n\n\t int n = Integer.parseInt(br.readLine());\n\n\t for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }\n\t main.disp();\n\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Main main = new Main();", "main", "new Main()", "main.init()", "main.init", "main", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }", "{\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }", "String line = br.readLine();", "line", "br.readLine()", "br.readLine", "br", "int b = Integer.parseInt(line.split(\" \")[0]);", "b", "Integer.parseInt(line.split(\" \")[0])", "Integer.parseInt", "Integer", "line.split(\" \")[0]", "line.split(\" \")", "line.split", "line", "\" \"", "0", "int f = Integer.parseInt(line.split(\" \")[1]);", "f", "Integer.parseInt(line.split(\" \")[1])", "Integer.parseInt", "Integer", "line.split(\" \")[1]", "line.split(\" \")", "line.split", "line", "\" \"", "1", "int r = Integer.parseInt(line.split(\" \")[2]);", "r", "Integer.parseInt(line.split(\" \")[2])", "Integer.parseInt", "Integer", "line.split(\" \")[2]", "line.split(\" \")", "line.split", "line", "\" \"", "2", "int v = Integer.parseInt(line.split(\" \")[3]);", "v", "Integer.parseInt(line.split(\" \")[3])", "Integer.parseInt", "Integer", "line.split(\" \")[3]", "line.split(\" \")", "line.split", "line", "\" \"", "3", "main.movePeople(b, f, r, v)", "main.movePeople", "main", "b", "f", "r", "v", "main.disp()", "main.disp", "main", "String[] args", "args", "private void init() {\n\t\tthis.building = new ArrayList<Building>();\n\n\t\tfor (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}\n\t}", "init", "{\n\t\tthis.building = new ArrayList<Building>();\n\n\t\tfor (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}\n\t}", "this.building = new ArrayList<Building>()", "this.building", "this", "this.building", "new ArrayList<Building>()", "for (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= BUILDING", "i", "BUILDING", "i++", "i++", "i", "{\n\t\t\tbuilding.add(new Building(i));\n\t\t}", "{\n\t\t\tbuilding.add(new Building(i));\n\t\t}", "building.add(new Building(i))", "building.add", "building", "new Building(i)", "private void disp() {\n\t\tfor (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}", "disp", "{\n\t\tfor (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}", "for (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}", "int b = 0;", "int b = 0;", "b", "0", "b < this.building.size()", "b", "this.building.size()", "this.building.size", "this.building", "this", "this.building", "b++", "b++", "b", "{\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}", "{\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}", "Building building = this.building.get(b);", "building", "this.building.get(b)", "this.building.get", "this.building", "this", "this.building", "b", "for (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}", "int f = 0;", "int f = 0;", "f", "0", "f < building.getFloorCount()", "f", "building.getFloorCount()", "building.getFloorCount", "building", "f++", "f++", "f", "{\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}", "{\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}", "Floor floor = building.getFloor(f);", "floor", "building.getFloor(f)", "building.getFloor", "building", "f", "for (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}", "int r = 0;", "int r = 0;", "r", "0", "r < floor.getRoomCount()", "r", "floor.getRoomCount()", "floor.getRoomCount", "floor", "r++", "r++", "r", "{\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}", "{\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}", "Room room = floor.getRoom(r);", "room", "floor.getRoom(r)", "floor.getRoom", "floor", "r", "System.out.print(\" \" + room.getNinzu())", "System.out.print", "System.out", "System", "System.out", "\" \" + room.getNinzu()", "\" \"", "room.getNinzu()", "room.getNinzu", "room", "System.out.println(\"\")", "System.out.println", "System.out", "System", "System.out", "\"\"", "if (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}", "b != this.building.size() - 1", "b", "this.building.size() - 1", "this.building.size()", "this.building.size", "this.building", "this", "this.building", "1", "{\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}", "System.out.println(\"####################\")", "System.out.println", "System.out", "System", "System.out", "\"####################\"", "private void movePeople(int b, int f, int r, int v) {\n\t\tBuilding building = this.building.get(b - 1);\n\t\tFloor floor = building.getFloor(f - 1);\n\t\tRoom room = floor.getRoom(r - 1);\n\n\t\troom.setNinzu(v);\n\t}", "movePeople", "{\n\t\tBuilding building = this.building.get(b - 1);\n\t\tFloor floor = building.getFloor(f - 1);\n\t\tRoom room = floor.getRoom(r - 1);\n\n\t\troom.setNinzu(v);\n\t}", "Building building = this.building.get(b - 1);", "building", "this.building.get(b - 1)", "this.building.get", "this.building", "this", "this.building", "b - 1", "b", "1", "Floor floor = building.getFloor(f - 1);", "floor", "building.getFloor(f - 1)", "building.getFloor", "building", "f - 1", "f", "1", "Room room = floor.getRoom(r - 1);", "room", "floor.getRoom(r - 1)", "floor.getRoom", "floor", "r - 1", "r", "1", "room.setNinzu(v)", "room.setNinzu", "room", "v", "int b", "b", "int f", "f", "int r", "r", "int v", "v", "class Building {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Floor> floor;\n\n\t\tBuilding(int buildingNo) {\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getFloorCount() {\n\t\t\treturn this.floor.size();\n\t\t}\n\n\t\tpublic Floor getFloor(int floorNo) {\n\t\t\treturn floor.get(floorNo);\n\t\t}\n\n\t\tpublic void setFloor(ArrayList<Floor> floor) {\n\t\t\tthis.floor = floor;\n\t\t}\n\t}", "Building", "private int num;", "num", "private ArrayList<Floor> floor;", "floor", "Building(int buildingNo) {\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}", "Building", "{\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}", "this.num = buildingNo", "this.num", "this", "this.num", "buildingNo", "floor = new ArrayList<Floor>()", "floor", "new ArrayList<Floor>()", "for (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= FLOOR", "i", "FLOOR", "i++", "i++", "i", "{\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}", "{\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}", "floor.add(new Floor(i))", "floor.add", "floor", "new Floor(i)", "int buildingNo", "buildingNo", "public int getNum() {\n\t\t\treturn num;\n\t\t}", "getNum", "{\n\t\t\treturn num;\n\t\t}", "return num;", "num", "public void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}", "setNum", "{\n\t\t\tthis.num = num;\n\t\t}", "this.num = num", "this.num", "this", "this.num", "num", "int num", "num", "public int getFloorCount() {\n\t\t\treturn this.floor.size();\n\t\t}", "getFloorCount", "{\n\t\t\treturn this.floor.size();\n\t\t}", "return this.floor.size();", "this.floor.size()", "this.floor.size", "this.floor", "this", "this.floor", "public Floor getFloor(int floorNo) {\n\t\t\treturn floor.get(floorNo);\n\t\t}", "getFloor", "{\n\t\t\treturn floor.get(floorNo);\n\t\t}", "return floor.get(floorNo);", "floor.get(floorNo)", "floor.get", "floor", "floorNo", "int floorNo", "floorNo", "public void setFloor(ArrayList<Floor> floor) {\n\t\t\tthis.floor = floor;\n\t\t}", "setFloor", "{\n\t\t\tthis.floor = floor;\n\t\t}", "this.floor = floor", "this.floor", "this", "this.floor", "floor", "ArrayList<Floor> floor", "floor", "class Floor {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Room> room;\n\n\t\tFloor(int floorNo) {\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic Room getRoom(int roomNo) {\n\t\t\treturn room.get(roomNo);\n\t\t}\n\n\t\tpublic void setRoom(ArrayList<Room> room) {\n\t\t\tthis.room = room;\n\t\t}\n\n\t\tpublic int getRoomCount() {\n\t\t\treturn this.room.size();\n\t\t}\n\t}", "Floor", "private int num;", "num", "private ArrayList<Room> room;", "room", "Floor(int floorNo) {\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}", "Floor", "{\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}", "this.num = floorNo", "this.num", "this", "this.num", "floorNo", "room = new ArrayList<Room>()", "room", "new ArrayList<Room>()", "for (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i <= ROOM", "i", "ROOM", "i++", "i++", "i", "{\n\t\t\t\troom.add(new Room(i));\n\t\t\t}", "{\n\t\t\t\troom.add(new Room(i));\n\t\t\t}", "room.add(new Room(i))", "room.add", "room", "new Room(i)", "int floorNo", "floorNo", "public int getNum() {\n\t\t\treturn num;\n\t\t}", "getNum", "{\n\t\t\treturn num;\n\t\t}", "return num;", "num", "public void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}", "setNum", "{\n\t\t\tthis.num = num;\n\t\t}", "this.num = num", "this.num", "this", "this.num", "num", "int num", "num", "public Room getRoom(int roomNo) {\n\t\t\treturn room.get(roomNo);\n\t\t}", "getRoom", "{\n\t\t\treturn room.get(roomNo);\n\t\t}", "return room.get(roomNo);", "room.get(roomNo)", "room.get", "room", "roomNo", "int roomNo", "roomNo", "public void setRoom(ArrayList<Room> room) {\n\t\t\tthis.room = room;\n\t\t}", "setRoom", "{\n\t\t\tthis.room = room;\n\t\t}", "this.room = room", "this.room", "this", "this.room", "room", "ArrayList<Room> room", "room", "public int getRoomCount() {\n\t\t\treturn this.room.size();\n\t\t}", "getRoomCount", "{\n\t\t\treturn this.room.size();\n\t\t}", "return this.room.size();", "this.room.size()", "this.room.size", "this.room", "this", "this.room", "class Room {\n\t\tprivate int num;\n\n\t\tprivate int ninzu;\n\n\t\tRoom(int roomNo) {\n\t\t\tthis.num = roomNo;\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getNinzu() {\n\t\t\treturn ninzu;\n\t\t}\n\n\t\tpublic void setNinzu(int ninzu) {\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}\n\t}", "Room", "private int num;", "num", "private int ninzu;", "ninzu", "Room(int roomNo) {\n\t\t\tthis.num = roomNo;\n\t\t}", "Room", "{\n\t\t\tthis.num = roomNo;\n\t\t}", "this.num = roomNo", "this.num", "this", "this.num", "roomNo", "int roomNo", "roomNo", "public int getNum() {\n\t\t\treturn num;\n\t\t}", "getNum", "{\n\t\t\treturn num;\n\t\t}", "return num;", "num", "public void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}", "setNum", "{\n\t\t\tthis.num = num;\n\t\t}", "this.num = num", "this.num", "this", "this.num", "num", "int num", "num", "public int getNinzu() {\n\t\t\treturn ninzu;\n\t\t}", "getNinzu", "{\n\t\t\treturn ninzu;\n\t\t}", "return ninzu;", "ninzu", "public void setNinzu(int ninzu) {\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}", "setNinzu", "{\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}", "this.ninzu += ninzu", "this.ninzu", "this", "this.ninzu", "ninzu", "if (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}", "this.ninzu < 0", "this.ninzu", "this", "this.ninzu", "0", "{\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}", "this.ninzu = 0", "this.ninzu", "this", "this.ninzu", "0", "int ninzu", "ninzu", "public class Main {\n\tprivate ArrayList<Building> building;\n\n\tfinal int BUILDING = 4;\n\tfinal int FLOOR = 3;\n\tfinal int ROOM = 10;\n\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t Main main = new Main();\n\t main.init();\n\n\t int n = Integer.parseInt(br.readLine());\n\n\t for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }\n\t main.disp();\n\t}\n\n\tprivate void init() {\n\t\tthis.building = new ArrayList<Building>();\n\n\t\tfor (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}\n\t}\n\n\tprivate void disp() {\n\t\tfor (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate void movePeople(int b, int f, int r, int v) {\n\t\tBuilding building = this.building.get(b - 1);\n\t\tFloor floor = building.getFloor(f - 1);\n\t\tRoom room = floor.getRoom(r - 1);\n\n\t\troom.setNinzu(v);\n\t}\n\n\tclass Building {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Floor> floor;\n\n\t\tBuilding(int buildingNo) {\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getFloorCount() {\n\t\t\treturn this.floor.size();\n\t\t}\n\n\t\tpublic Floor getFloor(int floorNo) {\n\t\t\treturn floor.get(floorNo);\n\t\t}\n\n\t\tpublic void setFloor(ArrayList<Floor> floor) {\n\t\t\tthis.floor = floor;\n\t\t}\n\t}\n\n\tclass Floor {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Room> room;\n\n\t\tFloor(int floorNo) {\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic Room getRoom(int roomNo) {\n\t\t\treturn room.get(roomNo);\n\t\t}\n\n\t\tpublic void setRoom(ArrayList<Room> room) {\n\t\t\tthis.room = room;\n\t\t}\n\n\t\tpublic int getRoomCount() {\n\t\t\treturn this.room.size();\n\t\t}\n\t}\n\n\tclass Room {\n\t\tprivate int num;\n\n\t\tprivate int ninzu;\n\n\t\tRoom(int roomNo) {\n\t\t\tthis.num = roomNo;\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getNinzu() {\n\t\t\treturn ninzu;\n\t\t}\n\n\t\tpublic void setNinzu(int ninzu) {\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}\n\t}\n}", "public class Main {\n\tprivate ArrayList<Building> building;\n\n\tfinal int BUILDING = 4;\n\tfinal int FLOOR = 3;\n\tfinal int ROOM = 10;\n\n\tpublic static void main(String[] args) throws Exception {\n\t BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n\t Main main = new Main();\n\t main.init();\n\n\t int n = Integer.parseInt(br.readLine());\n\n\t for (int i = 0; i < n; i++) {\n\t\t String line = br.readLine();\n\t\t // ?£?\n\t\t int b = Integer.parseInt(line.split(\" \")[0]);\n\t\t // ???\n\t\t int f = Integer.parseInt(line.split(\" \")[1]);\n\t\t // ??¨?±???????\n\t\t int r = Integer.parseInt(line.split(\" \")[2]);\n\t\t // ?¢?????????°\n\t\t int v = Integer.parseInt(line.split(\" \")[3]);\n\n\t\t main.movePeople(b, f, r, v);\n\t }\n\t main.disp();\n\t}\n\n\tprivate void init() {\n\t\tthis.building = new ArrayList<Building>();\n\n\t\tfor (int i = 1; i <= BUILDING; i++) {\n\t\t\tbuilding.add(new Building(i));\n\t\t}\n\t}\n\n\tprivate void disp() {\n\t\tfor (int b = 0; b < this.building.size(); b++) {\n\n\t\t\tBuilding building = this.building.get(b);\n\t\t\tfor (int f = 0; f < building.getFloorCount(); f++) {\n\n\t\t\t\tFloor floor = building.getFloor(f);\n\t\t\t\tfor (int r = 0; r < floor.getRoomCount(); r++) {\n\t\t\t\t\tRoom room = floor.getRoom(r);\n\t\t\t\t\tSystem.out.print(\" \" + room.getNinzu());\n\t\t\t\t}\n\t\t\t\tSystem.out.println(\"\");\n\t\t\t}\n\n\t\t\tif (b != this.building.size() - 1) {\n\t\t\t\tSystem.out.println(\"####################\");\n\t\t\t}\n\t\t}\n\t}\n\n\tprivate void movePeople(int b, int f, int r, int v) {\n\t\tBuilding building = this.building.get(b - 1);\n\t\tFloor floor = building.getFloor(f - 1);\n\t\tRoom room = floor.getRoom(r - 1);\n\n\t\troom.setNinzu(v);\n\t}\n\n\tclass Building {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Floor> floor;\n\n\t\tBuilding(int buildingNo) {\n\t\t\tthis.num = buildingNo;\n\n\t\t\tfloor = new ArrayList<Floor>();\n\t\t\tfor (int i = 1; i <= FLOOR; i++) {\n\t\t\t\tfloor.add(new Floor(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getFloorCount() {\n\t\t\treturn this.floor.size();\n\t\t}\n\n\t\tpublic Floor getFloor(int floorNo) {\n\t\t\treturn floor.get(floorNo);\n\t\t}\n\n\t\tpublic void setFloor(ArrayList<Floor> floor) {\n\t\t\tthis.floor = floor;\n\t\t}\n\t}\n\n\tclass Floor {\n\t\tprivate int num;\n\n\t\tprivate ArrayList<Room> room;\n\n\t\tFloor(int floorNo) {\n\t\t\tthis.num = floorNo;\n\n\t\t\troom = new ArrayList<Room>();\n\t\t\tfor (int i = 1; i <= ROOM; i++) {\n\t\t\t\troom.add(new Room(i));\n\t\t\t}\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic Room getRoom(int roomNo) {\n\t\t\treturn room.get(roomNo);\n\t\t}\n\n\t\tpublic void setRoom(ArrayList<Room> room) {\n\t\t\tthis.room = room;\n\t\t}\n\n\t\tpublic int getRoomCount() {\n\t\t\treturn this.room.size();\n\t\t}\n\t}\n\n\tclass Room {\n\t\tprivate int num;\n\n\t\tprivate int ninzu;\n\n\t\tRoom(int roomNo) {\n\t\t\tthis.num = roomNo;\n\t\t}\n\n\t\tpublic int getNum() {\n\t\t\treturn num;\n\t\t}\n\n\t\tpublic void setNum(int num) {\n\t\t\tthis.num = num;\n\t\t}\n\n\t\tpublic int getNinzu() {\n\t\t\treturn ninzu;\n\t\t}\n\n\t\tpublic void setNinzu(int ninzu) {\n\t\t\tthis.ninzu += ninzu;\n\n\t\t\tif (this.ninzu < 0) {\n\t\t\t\tthis.ninzu = 0;\n\t\t\t}\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; public class Main { private ArrayList<Building> building; final int BUILDING = 4; final int FLOOR = 3; final int ROOM = 10; public static void main(String[] args) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Main main = new Main(); main.init(); int n = Integer.parseInt(br.readLine()); for (int i = 0; i < n; i++) { String line = br.readLine(); // ?£? int b = Integer.parseInt(line.split(" ")[0]); // ??? int f = Integer.parseInt(line.split(" ")[1]); // ??¨?±??????? int r = Integer.parseInt(line.split(" ")[2]); // ?¢?????????° int v = Integer.parseInt(line.split(" ")[3]); main.movePeople(b, f, r, v); } main.disp(); } private void init() { this.building = new ArrayList<Building>(); for (int i = 1; i <= BUILDING; i++) { building.add(new Building(i)); } } private void disp() { for (int b = 0; b < this.building.size(); b++) { Building building = this.building.get(b); for (int f = 0; f < building.getFloorCount(); f++) { Floor floor = building.getFloor(f); for (int r = 0; r < floor.getRoomCount(); r++) { Room room = floor.getRoom(r); System.out.print(" " + room.getNinzu()); } System.out.println(""); } if (b != this.building.size() - 1) { System.out.println("####################"); } } } private void movePeople(int b, int f, int r, int v) { Building building = this.building.get(b - 1); Floor floor = building.getFloor(f - 1); Room room = floor.getRoom(r - 1); room.setNinzu(v); } class Building { private int num; private ArrayList<Floor> floor; Building(int buildingNo) { this.num = buildingNo; floor = new ArrayList<Floor>(); for (int i = 1; i <= FLOOR; i++) { floor.add(new Floor(i)); } } public int getNum() { return num; } public void setNum(int num) { this.num = num; } public int getFloorCount() { return this.floor.size(); } public Floor getFloor(int floorNo) { return floor.get(floorNo); } public void setFloor(ArrayList<Floor> floor) { this.floor = floor; } } class Floor { private int num; private ArrayList<Room> room; Floor(int floorNo) { this.num = floorNo; room = new ArrayList<Room>(); for (int i = 1; i <= ROOM; i++) { room.add(new Room(i)); } } public int getNum() { return num; } public void setNum(int num) { this.num = num; } public Room getRoom(int roomNo) { return room.get(roomNo); } public void setRoom(ArrayList<Room> room) { this.room = room; } public int getRoomCount() { return this.room.size(); } } class Room { private int num; private int ninzu; Room(int roomNo) { this.num = roomNo; } public int getNum() { return num; } public void setNum(int num) { this.num = num; } public int getNinzu() { return ninzu; } public void setNinzu(int ninzu) { this.ninzu += ninzu; if (this.ninzu < 0) { this.ninzu = 0; } } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 0, 13, 20, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 0, 18, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 17, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 144, 5 ], [ 144, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 25 ], [ 25, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 25, 30 ], [ 30, 31 ], [ 30, 32 ], [ 25, 33 ], [ 33, 34 ], [ 34, 35 ], [ 25, 36 ], [ 37, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 37, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 37, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 60, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 69, 71 ], [ 58, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 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 ], [ 112, 117 ], [ 112, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 118, 124 ], [ 98, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 85, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 6, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n int count = scn.nextInt();\n\n int[][][] array;\n array = new int[4][3][10];\n\n for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }\n\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\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 scn = new Scanner(System.in);\n int count = scn.nextInt();\n\n int[][][] array;\n array = new int[4][3][10];\n\n for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }\n\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n int count = scn.nextInt();\n\n int[][][] array;\n array = new int[4][3][10];\n\n for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }\n\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }\n\n }", "main", "{\n\n Scanner scn = new Scanner(System.in);\n int count = scn.nextInt();\n\n int[][][] array;\n array = new int[4][3][10];\n\n for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }\n\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }\n\n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int count = scn.nextInt();", "count", "scn.nextInt()", "scn.nextInt", "scn", "int[][][] array;", "array", "array = new int[4][3][10]", "array", "new int[4][3][10]", "4", "3", "10", "for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }", "{\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }", "int b = scn.nextInt();", "b", "scn.nextInt()", "scn.nextInt", "scn", "int f = scn.nextInt();", "f", "scn.nextInt()", "scn.nextInt", "scn", "int r = scn.nextInt();", "r", "scn.nextInt()", "scn.nextInt", "scn", "int v = scn.nextInt();", "v", "scn.nextInt()", "scn.nextInt", "scn", "array[b - 1][f -1][r -1] += v", "array[b - 1][f -1][r -1]", "array[b - 1][f -1]", "array[b - 1]", "array", "b - 1", "b", "1", "f -1", "f", "1", "r -1", "r", "1", "v", "for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }", "{\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }", "for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 3", "j", "3", "j++", "j++", "j", "{\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }", "{\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }", "for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }", "int k = 0;", "int k = 0;", "k", "0", "k < 10", "k", "10", "k++", "k++", "k", "{\n System.out.printf(\" %d\",array[i][j][k]);\n }", "{\n System.out.printf(\" %d\",array[i][j][k]);\n }", "System.out.printf(\" %d\",array[i][j][k])", "System.out.printf", "System.out", "System", "System.out", "\" %d\"", "array[i][j][k]", "array[i][j]", "array[i]", "array", "i", "j", "k", "System.out.printf(\"\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"\\n\"", "if(i != 3) System.out.printf(\"####################\\n\");", "i != 3", "i", "3", "System.out.printf(\"####################\\n\")", "System.out.printf", "System.out", "System", "System.out", "\"####################\\n\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n int count = scn.nextInt();\n\n int[][][] array;\n array = new int[4][3][10];\n\n for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }\n\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\n\");\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner scn = new Scanner(System.in);\n int count = scn.nextInt();\n\n int[][][] array;\n array = new int[4][3][10];\n\n for(int i = 0; i < count; i++){\n int b = scn.nextInt();\n int f = scn.nextInt();\n int r = scn.nextInt();\n int v = scn.nextInt();\n array[b - 1][f -1][r -1] += v;\n }\n\n\n for(int i = 0; i < 4; i++){\n for(int j = 0; j < 3; j++){\n for(int k = 0; k < 10; k++){\n System.out.printf(\" %d\",array[i][j][k]);\n }\n System.out.printf(\"\\n\");\n }\n if(i != 3) System.out.printf(\"####################\\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 count = scn.nextInt(); int[][][] array; array = new int[4][3][10]; for(int i = 0; i < count; i++){ int b = scn.nextInt(); int f = scn.nextInt(); int r = scn.nextInt(); int v = scn.nextInt(); array[b - 1][f -1][r -1] += v; } for(int i = 0; i < 4; i++){ for(int j = 0; j < 3; j++){ for(int k = 0; k < 10; k++){ System.out.printf(" %d",array[i][j][k]); } System.out.printf("\n"); } if(i != 3) System.out.printf("####################\n"); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 42, 2, 40, 13, 17, 30, 0, 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, 4, 18, 13, 18, 13, 17, 0, 18, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 18, 18, 18, 13, 2, 13, 17, 2, 13, 17, 2, 13, 17, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 14, 2, 13, 17, 4, 18, 18, 13, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 188, 11 ], [ 188, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 32 ], [ 32, 33 ], [ 14, 34 ], [ 34, 35 ], [ 14, 36 ], [ 36, 37 ], [ 14, 38 ], [ 38, 39 ], [ 14, 40 ], [ 40, 41 ], [ 14, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 50, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 47, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 47, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 77, 78 ], [ 77, 79 ], [ 47, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 82, 85 ], [ 85, 86 ], [ 85, 87 ], [ 47, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 90, 96 ], [ 96, 97 ], [ 96, 98 ], [ 89, 99 ], [ 99, 100 ], [ 99, 101 ], [ 88, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 104, 110 ], [ 110, 111 ], [ 110, 112 ], [ 103, 113 ], [ 113, 114 ], [ 113, 115 ], [ 102, 116 ], [ 14, 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 ], [ 156, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 163, 169 ], [ 142, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 129, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 175, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 12, 185 ], [ 185, 186 ], [ 0, 187 ], [ 187, 188 ], [ 187, 189 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int a[][][] = new int[4][3][10]; \n String str[];\n int b,f,r,v;\n while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }\n for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int a[][][] = new int[4][3][10]; \n String str[];\n int b,f,r,v;\n while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }\n for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) 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 int n = Integer.parseInt(br.readLine());\n int a[][][] = new int[4][3][10]; \n String str[];\n int b,f,r,v;\n while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }\n for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int a[][][] = new int[4][3][10]; \n String str[];\n int b,f,r,v;\n while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }\n for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int a[][][] = new int[4][3][10];", "a", "new int[4][3][10]", "4", "3", "10", "String str[];", "str", "int b", "b", "f", "f", "r", "r", "v;", "v", "while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }", "n-->0", "n--", "n", "0", "{\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }", "str = br.readLine().split(\" \")", "str", "br.readLine().split(\" \")", "br.readLine().split", "br.readLine()", "br.readLine", "br", "\" \"", "b = Integer.parseInt(str[0])", "b", "Integer.parseInt(str[0])", "Integer.parseInt", "Integer", "str[0]", "str", "0", "f = Integer.parseInt(str[1])", "f", "Integer.parseInt(str[1])", "Integer.parseInt", "Integer", "str[1]", "str", "1", "r = Integer.parseInt(str[2])", "r", "Integer.parseInt(str[2])", "Integer.parseInt", "Integer", "str[2]", "str", "2", "v = Integer.parseInt(str[3])", "v", "Integer.parseInt(str[3])", "Integer.parseInt", "Integer", "str[3]", "str", "3", "a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v", "a[b-1][f-1][r-1]", "a[b-1][f-1]", "a[b-1]", "a", "b-1", "b", "1", "f-1", "f", "1", "r-1", "r", "1", "a[b-1][f-1][r-1] + v", "a[b-1][f-1][r-1]", "a[b-1][f-1]", "a[b-1]", "a", "b-1", "b", "1", "f-1", "f", "1", "r-1", "r", "1", "v", "for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }", "{\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }", "for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }", "int j=0;", "int j=0;", "j", "0", "j<3", "j", "3", "j++", "j++", "j", "{\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }", "{\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }", "for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }", "int k=0;", "int k=0;", "k", "0", "k<10", "k", "10", "k++", "k++", "k", "{\n System.out.print(\" \"+a[i][j][k]);\n }", "{\n System.out.print(\" \"+a[i][j][k]);\n }", "System.out.print(\" \"+a[i][j][k])", "System.out.print", "System.out", "System", "System.out", "\" \"+a[i][j][k]", "\" \"", "a[i][j][k]", "a[i][j]", "a[i]", "a", "i", "j", "k", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "if(i!=3) System.out.println(\"####################\");", "i!=3", "i", "3", "System.out.println(\"####################\")", "System.out.println", "System.out", "System", "System.out", "\"####################\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int a[][][] = new int[4][3][10]; \n String str[];\n int b,f,r,v;\n while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }\n for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\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 int n = Integer.parseInt(br.readLine());\n int a[][][] = new int[4][3][10]; \n String str[];\n int b,f,r,v;\n while(n-->0){\n str = br.readLine().split(\" \");\n b = Integer.parseInt(str[0]);\n f = Integer.parseInt(str[1]);\n r = Integer.parseInt(str[2]);\n v = Integer.parseInt(str[3]);\n a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v;\n }\n for(int i=0;i<4;i++){\n for(int j=0;j<3;j++){\n for(int k=0;k<10;k++){\n System.out.print(\" \"+a[i][j][k]);\n }\n System.out.println();\n }\n if(i!=3) System.out.println(\"####################\");\n }\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int a[][][] = new int[4][3][10]; String str[]; int b,f,r,v; while(n-->0){ str = br.readLine().split(" "); b = Integer.parseInt(str[0]); f = Integer.parseInt(str[1]); r = Integer.parseInt(str[2]); v = Integer.parseInt(str[3]); a[b-1][f-1][r-1] = a[b-1][f-1][r-1] + v; } for(int i=0;i<4;i++){ for(int j=0;j<3;j++){ for(int k=0;k<10;k++){ System.out.print(" "+a[i][j][k]); } System.out.println(); } if(i!=3) System.out.println("####################"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 17, 17, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 0, 18, 18, 18, 13, 2, 4, 18, 13, 17, 2, 4, 18, 13, 17, 2, 4, 18, 13, 17, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 17, 18, 18, 18, 13, 13, 13, 13, 4, 18, 18, 13, 13, 14, 2, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 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 ], [ 141, 5 ], [ 141, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 23, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 34, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 39, 43 ], [ 30, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 44, 48 ], [ 29, 49 ], [ 49, 50 ], [ 50, 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 ], [ 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 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 98, 104 ], [ 77, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 64, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 115, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 114, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 6, 138 ], [ 138, 139 ], [ 0, 140 ], [ 140, 141 ], [ 140, 142 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int building[][][]= new int[4][3][10];\n int n=sc.nextInt();\n while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\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 building[][][]= new int[4][3][10];\n int n=sc.nextInt();\n while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }\n }\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int building[][][]= new int[4][3][10];\n int n=sc.nextInt();\n while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int building[][][]= new int[4][3][10];\n int n=sc.nextInt();\n while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int building[][][]= new int[4][3][10];", "building", "new int[4][3][10]", "4", "3", "10", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }", "n-->0", "n--", "n", "0", "{\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }", "building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt()", "building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]", "building[sc.nextInt()-1][sc.nextInt()-1]", "building[sc.nextInt()-1]", "building", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "sc.nextInt()-1", "sc.nextInt()", "sc.nextInt", "sc", "1", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }\n }", "{\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }\n }", "for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 3", "j", "3", "j++", "j++", "j", "{\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }", "{\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }", "for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }", "int k = 0;", "int k = 0;", "k", "0", "k < 10", "k", "10", "k++", "k++", "k", "{\n System.out.print(\" \"+building[i][j][k]);\n }", "{\n System.out.print(\" \"+building[i][j][k]);\n }", "System.out.print(\" \"+building[i][j][k])", "System.out.print", "System.out", "System", "System.out", "\" \"+building[i][j][k]", "\" \"", "building[i][j][k]", "building[i][j]", "building[i]", "building", "i", "j", "k", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }", "i<3", "i", "3", "{\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n System.out.println();\n }", "for (int k = 0; k < 20; k++)System.out.print(\"#\");", "int k = 0;", "int k = 0;", "k", "0", "k < 20", "k", "20", "k++", "k++", "k", "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", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int building[][][]= new int[4][3][10];\n int n=sc.nextInt();\n while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\n 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 building[][][]= new int[4][3][10];\n int n=sc.nextInt();\n while(n-->0){\n building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt();\n }\n for(int i=0;i<4;i++) {\n for (int j = 0; j < 3; j++) {\n for (int k = 0; k < 10; k++) {\n System.out.print(\" \"+building[i][j][k]);\n }\n System.out.println();\n }\n if(i<3){\n for (int k = 0; k < 20; k++)System.out.print(\"#\");\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 building[][][]= new int[4][3][10]; int n=sc.nextInt(); while(n-->0){ building[sc.nextInt()-1][sc.nextInt()-1][sc.nextInt()-1]+=sc.nextInt(); } for(int i=0;i<4;i++) { for (int j = 0; j < 3; j++) { for (int k = 0; k < 10; k++) { System.out.print(" "+building[i][j][k]); } System.out.println(); } if(i<3){ for (int k = 0; k < 20; k++)System.out.print("#"); System.out.println(); } } } }