node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 29, 4, 18, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 221, 23 ], [ 221, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 26, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 26, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 24, 58 ], [ 58, 59 ], [ 221, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 74, 76 ], [ 68, 77 ], [ 77, 78 ], [ 60, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 82, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 92, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 81, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 60, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 110, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 109, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 119, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 108, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 60, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 139, 142 ], [ 142, 143 ], [ 60, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 151, 152 ], [ 60, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 160, 161 ], [ 60, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 169, 174 ], [ 174, 175 ], [ 174, 176 ], [ 169, 177 ], [ 177, 178 ], [ 178, 179 ], [ 169, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 185, 186 ], [ 164, 187 ], [ 187, 188 ], [ 162, 189 ], [ 189, 190 ], [ 60, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 198, 206 ], [ 206, 207 ], [ 207, 208 ], [ 198, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 210, 214 ], [ 214, 215 ], [ 193, 216 ], [ 216, 217 ], [ 191, 218 ], [ 218, 219 ], [ 0, 220 ], [ 220, 221 ], [ 220, 222 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.Set;\nimport java.util.StringTokenizer;\n\npublic class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n while (n-- > 0) {\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Set;", "Set", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n while (n-- > 0) {\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n while (n-- > 0) {\n set.add(sc.next());\n }\n System.out.println(set.size());\n }", "main", "{\n FastScanner sc = new FastScanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n while (n-- > 0) {\n set.add(sc.next());\n }\n System.out.println(set.size());\n }", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "while (n-- > 0) {\n set.add(sc.next());\n }", "n-- > 0", "n--", "n", "0", "{\n set.add(sc.next());\n }", "set.add(sc.next())", "set.add", "set", "sc.next()", "sc.next", "sc", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }", "FastScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "FastScanner", "{\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "nextLine", "{\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n return reader.readLine();\n }", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "return tokenizer.nextToken(\"\\n\");", "tokenizer.nextToken(\"\\n\")", "tokenizer.nextToken", "tokenizer", "\"\\n\"", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n 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 long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "nextLongArray", "{\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n while (n-- > 0) {\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "public class Main {\n private static class FastScanner {\n private BufferedReader reader = null;\n private StringTokenizer tokenizer = null;\n\n public FastScanner(InputStream in) {\n reader = new BufferedReader(new InputStreamReader(in));\n tokenizer = null;\n }\n\n public String next() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public String nextLine() {\n if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n return reader.readLine();\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n return tokenizer.nextToken(\"\\n\");\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n public long[] nextLongArray(int n) {\n long[] a = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = nextLong();\n return a;\n }\n }\n\n public static void main(String[] args) {\n FastScanner sc = new FastScanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n while (n-- > 0) {\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; import java.util.StringTokenizer; public class Main { private static class FastScanner { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public String nextLine() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { return reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken("\n"); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public int[] nextIntArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } } public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); int n = sc.nextInt(); Set<String> set = new HashSet<>(); while (n-- > 0) { set.add(sc.next()); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 56, 5 ], [ 56, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 6, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int kosuu = sc.nextInt();\n List<String> syouhin = new ArrayList();\n for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));\n System.out.println(listB.size());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int kosuu = sc.nextInt();\n List<String> syouhin = new ArrayList();\n for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));\n System.out.println(listB.size());\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int kosuu = sc.nextInt();\n List<String> syouhin = new ArrayList();\n for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));\n System.out.println(listB.size());\n }", "main", "{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int kosuu = sc.nextInt();\n List<String> syouhin = new ArrayList();\n for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));\n System.out.println(listB.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int kosuu = sc.nextInt();", "kosuu", "sc.nextInt()", "sc.nextInt", "sc", "List<String> syouhin = new ArrayList();", "syouhin", "new ArrayList()", "for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < kosuu", "i", "kosuu", "i++", "i++", "i", "{\n String k = sc.next();\n syouhin.add(k);\n }", "{\n String k = sc.next();\n syouhin.add(k);\n }", "String k = sc.next();", "k", "sc.next()", "sc.next", "sc", "syouhin.add(k)", "syouhin.add", "syouhin", "k", "List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));", "listB", "new ArrayList<String>(new HashSet<>(syouhin))", "System.out.println(listB.size())", "System.out.println", "System.out", "System", "System.out", "listB.size()", "listB.size", "listB", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int kosuu = sc.nextInt();\n List<String> syouhin = new ArrayList();\n for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));\n System.out.println(listB.size());\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int kosuu = sc.nextInt();\n List<String> syouhin = new ArrayList();\n for(int i = 0;i < kosuu;i++){\n String k = sc.next();\n syouhin.add(k);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(syouhin));\n System.out.println(listB.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner sc = new Scanner(System.in); int kosuu = sc.nextInt(); List<String> syouhin = new ArrayList(); for(int i = 0;i < kosuu;i++){ String k = sc.next(); syouhin.add(k); } List<String> listB = new ArrayList<String>(new HashSet<>(syouhin)); System.out.println(listB.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n Set<String> set = new HashSet<String>();\n int n = scan.nextInt();\n String[] s = new String[n];\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n Set<String> set = new HashSet<String>();\n int n = scan.nextInt();\n String[] s = new String[n];\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n Set<String> set = new HashSet<String>();\n int n = scan.nextInt();\n String[] s = new String[n];\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }\n System.out.println(set.size());\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n Set<String> set = new HashSet<String>();\n int n = scan.nextInt();\n String[] s = new String[n];\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }\n System.out.println(set.size());\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "Set<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "String[] s = new String[n];", "s", "new String[n]", "n", "for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n s[i] = scan.next();\n set.add(s[i]);\n }", "{\n s[i] = scan.next();\n set.add(s[i]);\n }", "s[i] = scan.next()", "s[i]", "s", "i", "scan.next()", "scan.next", "scan", "set.add(s[i])", "set.add", "set", "s[i]", "s", "i", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n Set<String> set = new HashSet<String>();\n int n = scan.nextInt();\n String[] s = new String[n];\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n Set<String> set = new HashSet<String>();\n int n = scan.nextInt();\n String[] s = new String[n];\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); Set<String> set = new HashSet<String>(); int n = scan.nextInt(); String[] s = new String[n]; for(int i = 0; i < n; i++){ s[i] = scan.next(); set.add(s[i]); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 41, 13, 20, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 52, 5 ], [ 52, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 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 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 6, 49 ], [ 49, 50 ], [ 0, 51 ], [ 51, 52 ], [ 51, 53 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Long n;\n HashSet<String> sName = new HashSet<String>(); \n Scanner sc = new Scanner(System.in);\n n = sc.nextLong();\n for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }\n System.out.println(sName.size());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Long n;\n HashSet<String> sName = new HashSet<String>(); \n Scanner sc = new Scanner(System.in);\n n = sc.nextLong();\n for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }\n System.out.println(sName.size());\n }\n}", "Main", "public static void main(String[] args) {\n Long n;\n HashSet<String> sName = new HashSet<String>(); \n Scanner sc = new Scanner(System.in);\n n = sc.nextLong();\n for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }\n System.out.println(sName.size());\n }", "main", "{\n Long n;\n HashSet<String> sName = new HashSet<String>(); \n Scanner sc = new Scanner(System.in);\n n = sc.nextLong();\n for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }\n System.out.println(sName.size());\n }", "Long n;", "n", "HashSet<String> sName = new HashSet<String>();", "sName", "new HashSet<String>()", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "n = sc.nextLong()", "n", "sc.nextLong()", "sc.nextLong", "sc", "for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n sName.add(sc.next());\n }", "{\n sName.add(sc.next());\n }", "sName.add(sc.next())", "sName.add", "sName", "sc.next()", "sc.next", "sc", "System.out.println(sName.size())", "System.out.println", "System.out", "System", "System.out", "sName.size()", "sName.size", "sName", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Long n;\n HashSet<String> sName = new HashSet<String>(); \n Scanner sc = new Scanner(System.in);\n n = sc.nextLong();\n for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }\n System.out.println(sName.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Long n;\n HashSet<String> sName = new HashSet<String>(); \n Scanner sc = new Scanner(System.in);\n n = sc.nextLong();\n for(int i = 0; i < n; i++){\n sName.add(sc.next());\n }\n System.out.println(sName.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Long n; HashSet<String> sName = new HashSet<String>(); Scanner sc = new Scanner(System.in); n = sc.nextLong(); for(int i = 0; i < n; i++){ sName.add(sc.next()); } System.out.println(sName.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 46, 5 ], [ 46, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 6, 43 ], [ 43, 44 ], [ 0, 45 ], [ 45, 46 ], [ 45, 47 ] ]
[ "import java.util.*;\npublic class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t HashSet<String> ss = new HashSet<String>();\n\t\twhile(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}\n\t\tSystem.out.println(ss.size());\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t HashSet<String> ss = new HashSet<String>();\n\t\twhile(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}\n\t\tSystem.out.println(ss.size());\n\t}\n\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t HashSet<String> ss = new HashSet<String>();\n\t\twhile(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}\n\t\tSystem.out.println(ss.size());\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t HashSet<String> ss = new HashSet<String>();\n\t\twhile(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}\n\t\tSystem.out.println(ss.size());\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long s =sc.nextLong();", "s", "sc.nextLong()", "sc.nextLong", "sc", "HashSet<String> ss = new HashSet<String>();", "ss", "new HashSet<String>()", "while(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}", "s-->0", "s--", "s", "0", "{\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}", "String as = sc.next();", "as", "sc.next()", "sc.next", "sc", "ss.add(as)", "ss.add", "ss", "as", "System.out.println(ss.size())", "System.out.println", "System.out", "System", "System.out", "ss.size()", "ss.size", "ss", "String[] args", "args", "public class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t HashSet<String> ss = new HashSet<String>();\n\t\twhile(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}\n\t\tSystem.out.println(ss.size());\n\t}\n\n}", "public class Main{\n\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong s =sc.nextLong();\n\t HashSet<String> ss = new HashSet<String>();\n\t\twhile(s-->0) {\n\t\t\tString as = sc.next();\n\t\t\tss.add(as);\n\t\t}\n\t\tSystem.out.println(ss.size());\n\t}\n\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long s =sc.nextLong(); HashSet<String> ss = new HashSet<String>(); while(s-->0) { String as = sc.next(); ss.add(as); } System.out.println(ss.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 41, 13, 20, 0, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 83, 8 ], [ 83, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 11, 14 ], [ 14, 15 ], [ 14, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 51, 61 ], [ 61, 62 ], [ 62, 63 ], [ 51, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 69, 71 ], [ 11, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 9, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.util.Scanner;\nimport java.util.TreeSet;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tint n;\n\t\tTreeSet<String> ts = new TreeSet<>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\n\t\tString[] array = new String[n];\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}\n\n\t\tSystem.out.println(ts.size());\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.TreeSet;", "TreeSet", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n;\n\t\tTreeSet<String> ts = new TreeSet<>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\n\t\tString[] array = new String[n];\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}\n\n\t\tSystem.out.println(ts.size());\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint n;\n\t\tTreeSet<String> ts = new TreeSet<>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\n\t\tString[] array = new String[n];\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}\n\n\t\tSystem.out.println(ts.size());\n\t}", "main", "{\n\t\tint n;\n\t\tTreeSet<String> ts = new TreeSet<>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\n\t\tString[] array = new String[n];\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}\n\n\t\tSystem.out.println(ts.size());\n\t}", "int n;", "n", "TreeSet<String> ts = new TreeSet<>();", "ts", "new TreeSet<>()", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "n = scan.nextInt()", "n", "scan.nextInt()", "scan.nextInt", "scan", "String[] array = new String[n];", "array", "new String[n]", "n", "for(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\tarray[i] = scan.next();\n\t\t}", "{\n\t\t\tarray[i] = scan.next();\n\t\t}", "array[i] = scan.next()", "array[i]", "array", "i", "scan.next()", "scan.next", "scan", "for(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\tts.add(array[i]);\n\t\t}", "{\n\t\t\tts.add(array[i]);\n\t\t}", "ts.add(array[i])", "ts.add", "ts", "array[i]", "array", "i", "System.out.println(ts.size())", "System.out.println", "System.out", "System", "System.out", "ts.size()", "ts.size", "ts", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n;\n\t\tTreeSet<String> ts = new TreeSet<>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\n\t\tString[] array = new String[n];\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}\n\n\t\tSystem.out.println(ts.size());\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tint n;\n\t\tTreeSet<String> ts = new TreeSet<>();\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tn = scan.nextInt();\n\n\t\tString[] array = new String[n];\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tfor(int i = 0; i < array.length; i++) {\n\t\t\tts.add(array[i]);\n\t\t}\n\n\t\tSystem.out.println(ts.size());\n\t}\n}", "Main" ]
import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String[] args) { int n; TreeSet<String> ts = new TreeSet<>(); Scanner scan = new Scanner(System.in); n = scan.nextInt(); String[] array = new String[n]; for(int i = 0; i < array.length; i++) { array[i] = scan.next(); } for(int i = 0; i < array.length; i++) { ts.add(array[i]); } System.out.println(ts.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 0, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 53, 5 ], [ 53, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 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 ], [ 36, 39 ], [ 39, 40 ], [ 40, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 6, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n int N = 0;\n N = sc.nextInt();\n Set<String> tempSet = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }\n System.out.println(tempSet.size()); \n}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n int N = 0;\n N = sc.nextInt();\n Set<String> tempSet = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }\n System.out.println(tempSet.size()); \n}\n}", "Main", "public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n int N = 0;\n N = sc.nextInt();\n Set<String> tempSet = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }\n System.out.println(tempSet.size()); \n}", "main", "{\n final Scanner sc = new Scanner(System.in);\n int N = 0;\n N = sc.nextInt();\n Set<String> tempSet = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }\n System.out.println(tempSet.size()); \n}", "final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = 0;", "N", "0", "N = sc.nextInt()", "N", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> tempSet = new HashSet<String>();", "tempSet", "new HashSet<String>()", "for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n tempSet.add(sc.next());\n }", "{\n tempSet.add(sc.next());\n }", "tempSet.add(sc.next())", "tempSet.add", "tempSet", "sc.next()", "sc.next", "sc", "System.out.println(tempSet.size())", "System.out.println", "System.out", "System", "System.out", "tempSet.size()", "tempSet.size", "tempSet", "final String[] args", "args", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n int N = 0;\n N = sc.nextInt();\n Set<String> tempSet = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }\n System.out.println(tempSet.size()); \n}\n}", "public class Main {\n public static void main(final String[] args) {\n final Scanner sc = new Scanner(System.in);\n int N = 0;\n N = sc.nextInt();\n Set<String> tempSet = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n tempSet.add(sc.next());\n }\n System.out.println(tempSet.size()); \n}\n}", "Main" ]
import java.util.*; public class Main { public static void main(final String[] args) { final Scanner sc = new Scanner(System.in); int N = 0; N = sc.nextInt(); Set<String> tempSet = new HashSet<String>(); for(int i=0;i<N;i++){ tempSet.add(sc.next()); } System.out.println(tempSet.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 55, 5 ], [ 55, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 55, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.*;\n\npublic class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n TreeSet<String> s = new TreeSet<>();\n for(int i = 0; i < n; i++) s.add(scan.next());\n System.out.println(s.size());\n }\n \n public static void main(String[] args){\n new Main().solve();\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n TreeSet<String> s = new TreeSet<>();\n for(int i = 0; i < n; i++) s.add(scan.next());\n System.out.println(s.size());\n }\n \n public static void main(String[] args){\n new Main().solve();\n }\n}", "Main", "void solve(){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n TreeSet<String> s = new TreeSet<>();\n for(int i = 0; i < n; i++) s.add(scan.next());\n System.out.println(s.size());\n }", "solve", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n TreeSet<String> s = new TreeSet<>();\n for(int i = 0; i < n; i++) s.add(scan.next());\n System.out.println(s.size());\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "TreeSet<String> s = new TreeSet<>();", "s", "new TreeSet<>()", "for(int i = 0; i < n; i++) s.add(scan.next());", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "s.add(scan.next());", "s.add(scan.next())", "s.add", "s", "scan.next()", "scan.next", "scan", "System.out.println(s.size())", "System.out.println", "System.out", "System", "System.out", "s.size()", "s.size", "s", "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", "public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n TreeSet<String> s = new TreeSet<>();\n for(int i = 0; i < n; i++) s.add(scan.next());\n System.out.println(s.size());\n }\n \n public static void main(String[] args){\n new Main().solve();\n }\n}", "public class Main{\n void solve(){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n TreeSet<String> s = new TreeSet<>();\n for(int i = 0; i < n; i++) s.add(scan.next());\n System.out.println(s.size());\n }\n \n public static void main(String[] args){\n new Main().solve();\n }\n}", "Main" ]
import java.util.*; public class Main{ void solve(){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); TreeSet<String> s = new TreeSet<>(); for(int i = 0; i < n; i++) s.add(scan.next()); System.out.println(s.size()); } public static void main(String[] args){ new Main().solve(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 53, 8 ], [ 53, 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 ], [ 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 ], [ 48, 49 ], [ 9, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.HashSet;\nimport 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 HashSet<String> set = new HashSet<>();\n for(int i = 0; i < n; i++){\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i = 0; i < n; i++){\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i = 0; i < n; i++){\n set.add(sc.next());\n }\n System.out.println(set.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i = 0; i < n; i++){\n set.add(sc.next());\n }\n System.out.println(set.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "for(int i = 0; i < n; i++){\n set.add(sc.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n set.add(sc.next());\n }", "{\n set.add(sc.next());\n }", "set.add(sc.next())", "set.add", "set", "sc.next()", "sc.next", "sc", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "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 HashSet<String> set = new HashSet<>();\n for(int i = 0; i < n; i++){\n set.add(sc.next());\n }\n System.out.println(set.size());\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 HashSet<String> set = new HashSet<>();\n for(int i = 0; i < n; i++){\n set.add(sc.next());\n }\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashSet<String> set = new HashSet<>(); for(int i = 0; i < n; i++){ set.add(sc.next()); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 62, 11 ], [ 62, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 45 ], [ 45, 46 ], [ 45, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 14, 56 ], [ 56, 57 ], [ 57, 58 ], [ 12, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\t\t//くじn回引く\n\n\t\tArrayList<String>array=new ArrayList<String>();\n\n\t\tfor(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}\n\t\t\n\t\tHashSet<String>keihin=new HashSet<String>(array);\n\t\t\n\t\tSystem.out.println(keihin.size());\n\t\tsc.close();\n\t}\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashSet;", "HashSet", "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\n\t\tint n=sc.nextInt();\t\t//くじn回引く\n\n\t\tArrayList<String>array=new ArrayList<String>();\n\n\t\tfor(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}\n\t\t\n\t\tHashSet<String>keihin=new HashSet<String>(array);\n\t\t\n\t\tSystem.out.println(keihin.size());\n\t\tsc.close();\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\t\t//くじn回引く\n\n\t\tArrayList<String>array=new ArrayList<String>();\n\n\t\tfor(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}\n\t\t\n\t\tHashSet<String>keihin=new HashSet<String>(array);\n\t\t\n\t\tSystem.out.println(keihin.size());\n\t\tsc.close();\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\t\t//くじn回引く\n\n\t\tArrayList<String>array=new ArrayList<String>();\n\n\t\tfor(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}\n\t\t\n\t\tHashSet<String>keihin=new HashSet<String>(array);\n\t\t\n\t\tSystem.out.println(keihin.size());\n\t\tsc.close();\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<String>array=new ArrayList<String>();", "array", "new ArrayList<String>()", "for(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}", "{\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}", "array.add(sc.next())", "array.add", "array", "sc.next()", "sc.next", "sc", "HashSet<String>keihin=new HashSet<String>(array);", "keihin", "new HashSet<String>(array)", "System.out.println(keihin.size())", "System.out.println", "System.out", "System", "System.out", "keihin.size()", "keihin.size", "keihin", "sc.close()", "sc.close", "sc", "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\n\t\tint n=sc.nextInt();\t\t//くじn回引く\n\n\t\tArrayList<String>array=new ArrayList<String>();\n\n\t\tfor(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}\n\t\t\n\t\tHashSet<String>keihin=new HashSet<String>(array);\n\t\t\n\t\tSystem.out.println(keihin.size());\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc=new Scanner(System.in);\n\n\t\tint n=sc.nextInt();\t\t//くじn回引く\n\n\t\tArrayList<String>array=new ArrayList<String>();\n\n\t\tfor(int i=0;i<n;i++) {\t\t//くじの回数分回す\n\t\t\tarray.add(sc.next());\n\t\t}\n\t\t\n\t\tHashSet<String>keihin=new HashSet<String>(array);\n\t\t\n\t\tSystem.out.println(keihin.size());\n\t\tsc.close();\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); //くじn回引く ArrayList<String>array=new ArrayList<String>(); for(int i=0;i<n;i++) { //くじの回数分回す array.add(sc.next()); } HashSet<String>keihin=new HashSet<String>(array); System.out.println(keihin.size()); sc.close(); } }
[ 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, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 12, 52 ], [ 52, 53 ] ]
[ "//package Codes;\n\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n\nclass Main {\n public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int t=Integer.parseInt(br.readLine());\n HashSet<String> hs=new HashSet<>();\n \n while(t-- > 0)\n {\n \tString s=br.readLine();\n \ths.add(s);\n }\n System.out.println(hs.size());\n }\n}\n/*\n * package NomuraContest2020;\n\nimport java.util.*;\nimport java.io.*;\nimport java.math.*;\n\n\nclass C {\n public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n //Start here:\n String input[]=br.readLine().split(\" \");\n \n int h1=Integer.parseInt(input[0]);\n int m1=Integer.parseInt(input[1]);\n int h2=Integer.parseInt(input[2]);\n int m2=Integer.parseInt(input[3]);\n \n int time=Integer.parseInt(input[4]);\n \n int t=(h2-h1)*60+(m2-m1);\n \n int ans=t-time;\n if(ans<0)\n {\n \tSystem.out.println(-1);\n }\n else\n {\n \tSystem.out.println(ans);\n }\n \n \n\n }\n}*/", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "class Main {\n public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int t=Integer.parseInt(br.readLine());\n HashSet<String> hs=new HashSet<>();\n \n while(t-- > 0)\n {\n \tString s=br.readLine();\n \ths.add(s);\n }\n System.out.println(hs.size());\n }\n}", "Main", "public static void main(String args[] ) throws Exception {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int t=Integer.parseInt(br.readLine());\n HashSet<String> hs=new HashSet<>();\n \n while(t-- > 0)\n {\n \tString s=br.readLine();\n \ths.add(s);\n }\n System.out.println(hs.size());\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n \n int t=Integer.parseInt(br.readLine());\n HashSet<String> hs=new HashSet<>();\n \n while(t-- > 0)\n {\n \tString s=br.readLine();\n \ths.add(s);\n }\n System.out.println(hs.size());\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int t=Integer.parseInt(br.readLine());", "t", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "HashSet<String> hs=new HashSet<>();", "hs", "new HashSet<>()", "while(t-- > 0)\n {\n \tString s=br.readLine();\n \ths.add(s);\n }", "t-- > 0", "t--", "t", "0", "{\n \tString s=br.readLine();\n \ths.add(s);\n }", "String s=br.readLine();", "s", "br.readLine()", "br.readLine", "br", "hs.add(s)", "hs.add", "hs", "s", "System.out.println(hs.size())", "System.out.println", "System.out", "System", "System.out", "hs.size()", "hs.size", "hs", "String args[]", "args" ]
//package Codes; import java.util.*; import java.io.*; import java.math.*; class Main { public static void main(String args[] ) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int t=Integer.parseInt(br.readLine()); HashSet<String> hs=new HashSet<>(); while(t-- > 0) { String s=br.readLine(); hs.add(s); } System.out.println(hs.size()); } } /* * package NomuraContest2020; import java.util.*; import java.io.*; import java.math.*; class C { public static void main(String args[] ) throws Exception { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); //Start here: String input[]=br.readLine().split(" "); int h1=Integer.parseInt(input[0]); int m1=Integer.parseInt(input[1]); int h2=Integer.parseInt(input[2]); int m2=Integer.parseInt(input[3]); int time=Integer.parseInt(input[4]); int t=(h2-h1)*60+(m2-m1); int ans=t-time; if(ans<0) { System.out.println(-1); } else { System.out.println(ans); } } }*/
[ 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 59, 11 ], [ 59, 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 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 12, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.io.File;\nimport java.util.Scanner;\nimport java.util.TreeSet;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t//task b battle\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); sc.nextLine();\n\t\tTreeSet<String> vals = new TreeSet<>();\n\t\tfor(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}\n\t\tSystem.out.println(vals.size());\n\n\t}\n}", "import java.io.File;", "File", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.TreeSet;", "TreeSet", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t//task b battle\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); sc.nextLine();\n\t\tTreeSet<String> vals = new TreeSet<>();\n\t\tfor(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}\n\t\tSystem.out.println(vals.size());\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t//task b battle\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); sc.nextLine();\n\t\tTreeSet<String> vals = new TreeSet<>();\n\t\tfor(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}\n\t\tSystem.out.println(vals.size());\n\n\t}", "main", "{\n\t\t//task b battle\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); sc.nextLine();\n\t\tTreeSet<String> vals = new TreeSet<>();\n\t\tfor(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}\n\t\tSystem.out.println(vals.size());\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextLine()", "sc.nextLine", "sc", "TreeSet<String> vals = new TreeSet<>();", "vals", "new TreeSet<>()", "for(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i< n", "i", "n", "i++", "i++", "i", "{\n\t\t\tvals.add(sc.nextLine());\n\t\t}", "{\n\t\t\tvals.add(sc.nextLine());\n\t\t}", "vals.add(sc.nextLine())", "vals.add", "vals", "sc.nextLine()", "sc.nextLine", "sc", "System.out.println(vals.size())", "System.out.println", "System.out", "System", "System.out", "vals.size()", "vals.size", "vals", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t//task b battle\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); sc.nextLine();\n\t\tTreeSet<String> vals = new TreeSet<>();\n\t\tfor(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}\n\t\tSystem.out.println(vals.size());\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t//task b battle\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt(); sc.nextLine();\n\t\tTreeSet<String> vals = new TreeSet<>();\n\t\tfor(int i = 0; i< n; i++){\n\t\t\tvals.add(sc.nextLine());\n\t\t}\n\t\tSystem.out.println(vals.size());\n\n\t}\n}", "Main" ]
import java.io.File; import java.util.Scanner; import java.util.TreeSet; public class Main { public static void main(String[] args) { //task b battle Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.nextLine(); TreeSet<String> vals = new TreeSet<>(); for(int i = 0; i< n; i++){ vals.add(sc.nextLine()); } System.out.println(vals.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 56, 8 ], [ 56, 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 ], [ 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 ], [ 48, 49 ], [ 11, 50 ], [ 50, 51 ], [ 51, 52 ], [ 9, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//重複を許さないHashSetを宣言\n\t\t//くじの結果を入れる\n\t\tHashSet<String> kuji = new HashSet<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\t\tSystem.out.print(kuji.size());\n\t\tsc.close();\n\t}\n}", "import java.util.HashSet;", "HashSet", "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 times = sc.nextInt(); //くじ引きを行った回数\n\t\t//重複を許さないHashSetを宣言\n\t\t//くじの結果を入れる\n\t\tHashSet<String> kuji = new HashSet<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\t\tSystem.out.print(kuji.size());\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//重複を許さないHashSetを宣言\n\t\t//くじの結果を入れる\n\t\tHashSet<String> kuji = new HashSet<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\t\tSystem.out.print(kuji.size());\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//重複を許さないHashSetを宣言\n\t\t//くじの結果を入れる\n\t\tHashSet<String> kuji = new HashSet<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\t\tSystem.out.print(kuji.size());\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int times = sc.nextInt();", "times", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String> kuji = new HashSet<String>();", "kuji", "new HashSet<String>()", "for(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}", "int i=0 ;", "int i=0 ;", "i", "0", "i<times", "i", "times", "i++", "i++", "i", "{\n\t\t\tkuji.add(sc.next());\n\t\t}", "{\n\t\t\tkuji.add(sc.next());\n\t\t}", "kuji.add(sc.next())", "kuji.add", "kuji", "sc.next()", "sc.next", "sc", "System.out.print(kuji.size())", "System.out.print", "System.out", "System", "System.out", "kuji.size()", "kuji.size", "kuji", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//重複を許さないHashSetを宣言\n\t\t//くじの結果を入れる\n\t\tHashSet<String> kuji = new HashSet<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\t\tSystem.out.print(kuji.size());\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//重複を許さないHashSetを宣言\n\t\t//くじの結果を入れる\n\t\tHashSet<String> kuji = new HashSet<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\t\tSystem.out.print(kuji.size());\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int times = sc.nextInt(); //くじ引きを行った回数 //重複を許さないHashSetを宣言 //くじの結果を入れる HashSet<String> kuji = new HashSet<String>(); //くじを行う回数分、結果をkujiに入力する for(int i=0 ; i<times ; i++) { kuji.add(sc.next()); } System.out.print(kuji.size()); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 4, 18, 13, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 13, 13, 17, 9, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 2, 13, 2, 4, 18, 13, 17, 17, 17, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 40, 17, 14, 2, 13, 17, 30, 29, 13, 41, 13, 18, 13, 13, 28, 13, 13, 30, 30, 41, 13, 4, 13, 2, 13, 13, 13, 2, 13, 17, 14, 2, 13, 40, 17, 30, 9, 14, 2, 13, 13, 30, 0, 13, 13, 14, 2, 13, 18, 13, 13, 30, 29, 40, 17, 29, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 13, 0, 13, 20, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 0, 13, 20, 17, 29, 13, 12, 13, 30, 41, 13, 41, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 41, 13, 20, 17, 29, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 29, 4, 18, 13, 13, 29, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 13, 29, 13, 29, 20, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 4, 18, 13, 29, 4, 18, 13, 13, 29, 17, 12, 13, 30, 41, 13, 41, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 4, 18, 13, 17, 0, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 41, 13, 20, 17, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 414, 14 ], [ 414, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 17, 23 ], [ 23, 24 ], [ 23, 25 ], [ 17, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 26, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 39, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 46, 52 ], [ 31, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 17, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 15, 71 ], [ 71, 72 ], [ 414, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 79, 85 ], [ 73, 86 ], [ 86, 87 ], [ 414, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 90, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 90, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 108, 110 ], [ 90, 111 ], [ 111, 112 ], [ 111, 113 ], [ 111, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 118, 124 ], [ 124, 125 ], [ 124, 126 ], [ 115, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 127, 132 ], [ 132, 133 ], [ 115, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 90, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 142, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 90, 152 ], [ 152, 153 ], [ 88, 154 ], [ 154, 155 ], [ 88, 156 ], [ 156, 157 ], [ 88, 158 ], [ 158, 159 ], [ 0, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 170, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 177, 182 ], [ 182, 183 ], [ 182, 184 ], [ 185, 186 ], [ 186, 187 ], [ 177, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 188, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 188, 198 ], [ 198, 199 ], [ 199, 200 ], [ 188, 201 ], [ 202, 202 ], [ 202, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 208, 209 ], [ 207, 210 ], [ 177, 211 ], [ 211, 212 ], [ 167, 213 ], [ 213, 214 ], [ 213, 215 ], [ 167, 217 ], [ 217, 218 ], [ 160, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 224, 225 ], [ 221, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 230, 231 ], [ 231, 232 ], [ 226, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 236, 241 ], [ 233, 242 ], [ 242, 243 ], [ 242, 244 ], [ 245, 246 ], [ 245, 247 ], [ 233, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 248, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 255, 257 ], [ 248, 258 ], [ 258, 259 ], [ 259, 260 ], [ 248, 261 ], [ 262, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 263, 267 ], [ 267, 268 ], [ 268, 269 ], [ 267, 270 ], [ 270, 271 ], [ 270, 272 ], [ 233, 273 ], [ 273, 274 ], [ 221, 275 ], [ 275, 276 ], [ 275, 277 ], [ 221, 279 ], [ 279, 280 ], [ 160, 281 ], [ 281, 282 ], [ 281, 283 ], [ 283, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 284, 291 ], [ 291, 292 ], [ 292, 293 ], [ 292, 294 ], [ 294, 295 ], [ 295, 296 ], [ 291, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 298, 301 ], [ 283, 302 ], [ 302, 303 ], [ 160, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 311, 312 ], [ 312, 313 ], [ 307, 314 ], [ 314, 315 ], [ 315, 316 ], [ 315, 317 ], [ 314, 318 ], [ 318, 319 ], [ 319, 320 ], [ 318, 321 ], [ 321, 322 ], [ 322, 323 ], [ 314, 324 ], [ 324, 325 ], [ 306, 326 ], [ 326, 327 ], [ 160, 328 ], [ 328, 329 ], [ 328, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 331, 338 ], [ 338, 339 ], [ 339, 340 ], [ 339, 341 ], [ 341, 342 ], [ 342, 343 ], [ 338, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 345, 348 ], [ 330, 349 ], [ 349, 350 ], [ 160, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 354, 355 ], [ 353, 356 ], [ 356, 357 ], [ 353, 358 ], [ 358, 359 ], [ 359, 360 ], [ 359, 361 ], [ 361, 362 ], [ 362, 363 ], [ 363, 364 ], [ 358, 365 ], [ 365, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 371, 372 ], [ 368, 373 ], [ 365, 374 ], [ 374, 375 ], [ 374, 376 ], [ 377, 378 ], [ 377, 379 ], [ 365, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 382, 384 ], [ 380, 385 ], [ 385, 386 ], [ 385, 387 ], [ 387, 388 ], [ 387, 389 ], [ 380, 390 ], [ 390, 391 ], [ 391, 392 ], [ 380, 393 ], [ 394, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 396, 398 ], [ 395, 399 ], [ 399, 400 ], [ 400, 401 ], [ 399, 402 ], [ 402, 403 ], [ 402, 404 ], [ 365, 405 ], [ 405, 406 ], [ 353, 407 ], [ 407, 408 ], [ 407, 409 ], [ 353, 411 ], [ 411, 412 ], [ 0, 413 ], [ 413, 414 ], [ 413, 415 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashMap;\n\npublic class Main {\n\n public static void main(String[] args) {\n int n = GetInput.getInt();\n HashMap<String , Integer> hashMap = new HashMap<>();\n while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }\n System.out.println(hashMap.size());\n }\n\n\n private static long ff(long combinationSum) {\n return (long) (combinationSum%(Math.pow(10,9)+7));\n }\n\n private static int combinationSum(long n, int[] coins, int l) {\n if (n<0){\n return -1;\n }\n if (n==0){\n return l;\n }\n\n int coinCount = Integer.MAX_VALUE;\n for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }\n if (coinCount == Integer.MAX_VALUE){\n return -1;\n }\n return coinCount;\n }\n}\n\nclass GetInput {\n static BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\n static char[] getCharArray() {\n char[] charArray;\n try {\n StringBuilder string = getInputString();\n charArray = new char[string.length()];\n for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }\n return charArray;\n } catch (Exception e) {\n e.printStackTrace();\n }\n charArray = new char[0];\n return charArray;\n }\n\n static int[] getArrayInt() {\n String[] string;\n int[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new int[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n int[] arra = new int[2];\n return arra;\n }\n\n static int getInt() {\n try {\n String string = bufferedReader.readLine();\n return Integer.parseInt(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }\n\n static StringBuilder getInputString() {\n try {\n StringBuilder string = new StringBuilder();\n string.append(bufferedReader.readLine());\n return string;\n } catch (IOException e) {\n e.printStackTrace();\n }\n return new StringBuilder();\n }\n\n static long getLongInput() {\n try {\n String string = bufferedReader.readLine();\n return Long.parseLong(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }\n\n static long[] getLongArrayInput() {\n String[] string;\n long[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new long[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n long[] arra = new long[2];\n return arra;\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", "public class Main {\n\n public static void main(String[] args) {\n int n = GetInput.getInt();\n HashMap<String , Integer> hashMap = new HashMap<>();\n while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }\n System.out.println(hashMap.size());\n }\n\n\n private static long ff(long combinationSum) {\n return (long) (combinationSum%(Math.pow(10,9)+7));\n }\n\n private static int combinationSum(long n, int[] coins, int l) {\n if (n<0){\n return -1;\n }\n if (n==0){\n return l;\n }\n\n int coinCount = Integer.MAX_VALUE;\n for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }\n if (coinCount == Integer.MAX_VALUE){\n return -1;\n }\n return coinCount;\n }\n}", "Main", "public static void main(String[] args) {\n int n = GetInput.getInt();\n HashMap<String , Integer> hashMap = new HashMap<>();\n while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }\n System.out.println(hashMap.size());\n }", "main", "{\n int n = GetInput.getInt();\n HashMap<String , Integer> hashMap = new HashMap<>();\n while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }\n System.out.println(hashMap.size());\n }", "int n = GetInput.getInt();", "n", "GetInput.getInt()", "GetInput.getInt", "GetInput", "HashMap<String , Integer> hashMap = new HashMap<>();", "hashMap", "new HashMap<>()", "while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }", "n-->0", "n--", "n", "0", "{\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }", "String key = GetInput.getInputString().toString();", "key", "GetInput.getInputString().toString()", "GetInput.getInputString().toString", "GetInput.getInputString()", "GetInput.getInputString", "GetInput", "if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }", "hashMap.get(key) == null", "hashMap.get(key)", "hashMap.get", "hashMap", "key", "null", "{\n hashMap.put(key, 1);\n continue;\n }", "hashMap.put(key, 1)", "hashMap.put", "hashMap", "key", "1", "continue;", "hashMap.replace(key, hashMap.get(key)+1)", "hashMap.replace", "hashMap", "key", "hashMap.get(key)+1", "hashMap.get(key)", "hashMap.get", "hashMap", "key", "1", "System.out.println(hashMap.size())", "System.out.println", "System.out", "System", "System.out", "hashMap.size()", "hashMap.size", "hashMap", "String[] args", "args", "private static long ff(long combinationSum) {\n return (long) (combinationSum%(Math.pow(10,9)+7));\n }", "ff", "{\n return (long) (combinationSum%(Math.pow(10,9)+7));\n }", "return (long) (combinationSum%(Math.pow(10,9)+7));", "(long) (combinationSum%(Math.pow(10,9)+7))", "combinationSum", "(Math.pow(10,9)+7)", "Math.pow(10,9)", "Math.pow", "Math", "10", "9", "7", "long combinationSum", "combinationSum", "private static int combinationSum(long n, int[] coins, int l) {\n if (n<0){\n return -1;\n }\n if (n==0){\n return l;\n }\n\n int coinCount = Integer.MAX_VALUE;\n for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }\n if (coinCount == Integer.MAX_VALUE){\n return -1;\n }\n return coinCount;\n }", "combinationSum", "{\n if (n<0){\n return -1;\n }\n if (n==0){\n return l;\n }\n\n int coinCount = Integer.MAX_VALUE;\n for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }\n if (coinCount == Integer.MAX_VALUE){\n return -1;\n }\n return coinCount;\n }", "if (n<0){\n return -1;\n }", "n<0", "n", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "if (n==0){\n return l;\n }", "n==0", "n", "0", "{\n return l;\n }", "return l;", "l", "int coinCount = Integer.MAX_VALUE;", "coinCount", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }", "int coin", "coins", "{\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }", "{\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }", "int currCoin = combinationSum(n - coin, coins, l+1);", "currCoin", "combinationSum(n - coin, coins, l+1)", "combinationSum", "n - coin", "n", "coin", "coins", "l+1", "l", "1", "if (currCoin == -1) {\n continue;\n }", "currCoin == -1", "currCoin", "-1", "1", "{\n continue;\n }", "continue;", "if (currCoin < coinCount) {\n coinCount = currCoin;\n }", "currCoin < coinCount", "currCoin", "coinCount", "{\n coinCount = currCoin;\n }", "coinCount = currCoin", "coinCount", "currCoin", "if (coinCount == Integer.MAX_VALUE){\n return -1;\n }", "coinCount == Integer.MAX_VALUE", "coinCount", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "{\n return -1;\n }", "return -1;", "-1", "1", "return coinCount;", "coinCount", "long n", "n", "int[] coins", "coins", "int l", "l", "class GetInput {\n static BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));\n\n static char[] getCharArray() {\n char[] charArray;\n try {\n StringBuilder string = getInputString();\n charArray = new char[string.length()];\n for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }\n return charArray;\n } catch (Exception e) {\n e.printStackTrace();\n }\n charArray = new char[0];\n return charArray;\n }\n\n static int[] getArrayInt() {\n String[] string;\n int[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new int[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n int[] arra = new int[2];\n return arra;\n }\n\n static int getInt() {\n try {\n String string = bufferedReader.readLine();\n return Integer.parseInt(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }\n\n static StringBuilder getInputString() {\n try {\n StringBuilder string = new StringBuilder();\n string.append(bufferedReader.readLine());\n return string;\n } catch (IOException e) {\n e.printStackTrace();\n }\n return new StringBuilder();\n }\n\n static long getLongInput() {\n try {\n String string = bufferedReader.readLine();\n return Long.parseLong(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }\n\n static long[] getLongArrayInput() {\n String[] string;\n long[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new long[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n long[] arra = new long[2];\n return arra;\n }\n}", "GetInput", "static BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in));", "bufferedReader", "new BufferedReader(new InputStreamReader(System.in))", "static char[] getCharArray() {\n char[] charArray;\n try {\n StringBuilder string = getInputString();\n charArray = new char[string.length()];\n for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }\n return charArray;\n } catch (Exception e) {\n e.printStackTrace();\n }\n charArray = new char[0];\n return charArray;\n }", "getCharArray", "{\n char[] charArray;\n try {\n StringBuilder string = getInputString();\n charArray = new char[string.length()];\n for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }\n return charArray;\n } catch (Exception e) {\n e.printStackTrace();\n }\n charArray = new char[0];\n return charArray;\n }", "char[] charArray;", "charArray", "try {\n StringBuilder string = getInputString();\n charArray = new char[string.length()];\n for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }\n return charArray;\n } catch (Exception e) {\n e.printStackTrace();\n }", "catch (Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder string = getInputString();\n charArray = new char[string.length()];\n for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }\n return charArray;\n }", "StringBuilder string = getInputString();", "string", "getInputString()", "getInputString", "charArray = new char[string.length()]", "charArray", "new char[string.length()]", "string.length()", "string.length", "string", "for (int i = 0; i < string.length(); i++) {\n charArray[i] = string.charAt(i);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < string.length()", "i", "string.length()", "string.length", "string", "i++", "i++", "i", "{\n charArray[i] = string.charAt(i);\n }", "{\n charArray[i] = string.charAt(i);\n }", "charArray[i] = string.charAt(i)", "charArray[i]", "charArray", "i", "string.charAt(i)", "string.charAt", "string", "i", "return charArray;", "charArray", "charArray = new char[0]", "charArray", "new char[0]", "0", "return charArray;", "charArray", "static int[] getArrayInt() {\n String[] string;\n int[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new int[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n int[] arra = new int[2];\n return arra;\n }", "getArrayInt", "{\n String[] string;\n int[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new int[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n int[] arra = new int[2];\n return arra;\n }", "String[] string;", "string", "int[] array;", "array", "try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new int[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new int[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }\n return array;\n }", "string = bufferedReader.readLine().split(\"\\\\s+\")", "string", "bufferedReader.readLine().split(\"\\\\s+\")", "bufferedReader.readLine().split", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "\"\\\\s+\"", "array = new int[string.length]", "array", "new int[string.length]", "string.length", "string", "string.length", "for (int i = 0; i < string.length; i++) {\n array[i] = Integer.parseInt(string[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < string.length", "i", "string.length", "string", "string.length", "i++", "i++", "i", "{\n array[i] = Integer.parseInt(string[i]);\n }", "{\n array[i] = Integer.parseInt(string[i]);\n }", "array[i] = Integer.parseInt(string[i])", "array[i]", "array", "i", "Integer.parseInt(string[i])", "Integer.parseInt", "Integer", "string[i]", "string", "i", "return array;", "array", "int[] arra = new int[2];", "arra", "new int[2]", "2", "return arra;", "arra", "static int getInt() {\n try {\n String string = bufferedReader.readLine();\n return Integer.parseInt(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }", "getInt", "{\n try {\n String string = bufferedReader.readLine();\n return Integer.parseInt(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }", "try {\n String string = bufferedReader.readLine();\n return Integer.parseInt(string);\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n String string = bufferedReader.readLine();\n return Integer.parseInt(string);\n }", "String string = bufferedReader.readLine();", "string", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "return Integer.parseInt(string);", "Integer.parseInt(string)", "Integer.parseInt", "Integer", "string", "return 0;", "0", "static StringBuilder getInputString() {\n try {\n StringBuilder string = new StringBuilder();\n string.append(bufferedReader.readLine());\n return string;\n } catch (IOException e) {\n e.printStackTrace();\n }\n return new StringBuilder();\n }", "getInputString", "{\n try {\n StringBuilder string = new StringBuilder();\n string.append(bufferedReader.readLine());\n return string;\n } catch (IOException e) {\n e.printStackTrace();\n }\n return new StringBuilder();\n }", "try {\n StringBuilder string = new StringBuilder();\n string.append(bufferedReader.readLine());\n return string;\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n StringBuilder string = new StringBuilder();\n string.append(bufferedReader.readLine());\n return string;\n }", "StringBuilder string = new StringBuilder();", "string", "new StringBuilder()", "string.append(bufferedReader.readLine())", "string.append", "string", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "return string;", "string", "return new StringBuilder();", "new StringBuilder()", "static long getLongInput() {\n try {\n String string = bufferedReader.readLine();\n return Long.parseLong(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }", "getLongInput", "{\n try {\n String string = bufferedReader.readLine();\n return Long.parseLong(string);\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n return 0;\n }", "try {\n String string = bufferedReader.readLine();\n return Long.parseLong(string);\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n String string = bufferedReader.readLine();\n return Long.parseLong(string);\n }", "String string = bufferedReader.readLine();", "string", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "return Long.parseLong(string);", "Long.parseLong(string)", "Long.parseLong", "Long", "string", "return 0;", "0", "static long[] getLongArrayInput() {\n String[] string;\n long[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new long[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n long[] arra = new long[2];\n return arra;\n }", "getLongArrayInput", "{\n String[] string;\n long[] array;\n try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new long[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }\n\n long[] arra = new long[2];\n return arra;\n }", "String[] string;", "string", "long[] array;", "array", "try {\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new long[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }\n return array;\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n string = bufferedReader.readLine().split(\"\\\\s+\");\n array = new long[string.length];\n for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }\n return array;\n }", "string = bufferedReader.readLine().split(\"\\\\s+\")", "string", "bufferedReader.readLine().split(\"\\\\s+\")", "bufferedReader.readLine().split", "bufferedReader.readLine()", "bufferedReader.readLine", "bufferedReader", "\"\\\\s+\"", "array = new long[string.length]", "array", "new long[string.length]", "string.length", "string", "string.length", "for (int i = 0; i < string.length; i++) {\n array[i] = Long.parseLong(string[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < string.length", "i", "string.length", "string", "string.length", "i++", "i++", "i", "{\n array[i] = Long.parseLong(string[i]);\n }", "{\n array[i] = Long.parseLong(string[i]);\n }", "array[i] = Long.parseLong(string[i])", "array[i]", "array", "i", "Long.parseLong(string[i])", "Long.parseLong", "Long", "string[i]", "string", "i", "return array;", "array", "long[] arra = new long[2];", "arra", "new long[2]", "2", "return arra;", "arra", "public class Main {\n\n public static void main(String[] args) {\n int n = GetInput.getInt();\n HashMap<String , Integer> hashMap = new HashMap<>();\n while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }\n System.out.println(hashMap.size());\n }\n\n\n private static long ff(long combinationSum) {\n return (long) (combinationSum%(Math.pow(10,9)+7));\n }\n\n private static int combinationSum(long n, int[] coins, int l) {\n if (n<0){\n return -1;\n }\n if (n==0){\n return l;\n }\n\n int coinCount = Integer.MAX_VALUE;\n for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }\n if (coinCount == Integer.MAX_VALUE){\n return -1;\n }\n return coinCount;\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n int n = GetInput.getInt();\n HashMap<String , Integer> hashMap = new HashMap<>();\n while(n-->0) {\n String key = GetInput.getInputString().toString();\n if (hashMap.get(key) == null) {\n hashMap.put(key, 1);\n continue;\n }\n\n hashMap.replace(key, hashMap.get(key)+1);\n }\n System.out.println(hashMap.size());\n }\n\n\n private static long ff(long combinationSum) {\n return (long) (combinationSum%(Math.pow(10,9)+7));\n }\n\n private static int combinationSum(long n, int[] coins, int l) {\n if (n<0){\n return -1;\n }\n if (n==0){\n return l;\n }\n\n int coinCount = Integer.MAX_VALUE;\n for (int coin : coins) {\n int currCoin = combinationSum(n - coin, coins, l+1);\n if (currCoin == -1) {\n continue;\n }\n if (currCoin < coinCount) {\n coinCount = currCoin;\n }\n }\n if (coinCount == Integer.MAX_VALUE){\n return -1;\n }\n return coinCount;\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; public class Main { public static void main(String[] args) { int n = GetInput.getInt(); HashMap<String , Integer> hashMap = new HashMap<>(); while(n-->0) { String key = GetInput.getInputString().toString(); if (hashMap.get(key) == null) { hashMap.put(key, 1); continue; } hashMap.replace(key, hashMap.get(key)+1); } System.out.println(hashMap.size()); } private static long ff(long combinationSum) { return (long) (combinationSum%(Math.pow(10,9)+7)); } private static int combinationSum(long n, int[] coins, int l) { if (n<0){ return -1; } if (n==0){ return l; } int coinCount = Integer.MAX_VALUE; for (int coin : coins) { int currCoin = combinationSum(n - coin, coins, l+1); if (currCoin == -1) { continue; } if (currCoin < coinCount) { coinCount = currCoin; } } if (coinCount == Integer.MAX_VALUE){ return -1; } return coinCount; } } class GetInput { static BufferedReader bufferedReader = new BufferedReader(new InputStreamReader(System.in)); static char[] getCharArray() { char[] charArray; try { StringBuilder string = getInputString(); charArray = new char[string.length()]; for (int i = 0; i < string.length(); i++) { charArray[i] = string.charAt(i); } return charArray; } catch (Exception e) { e.printStackTrace(); } charArray = new char[0]; return charArray; } static int[] getArrayInt() { String[] string; int[] array; try { string = bufferedReader.readLine().split("\\s+"); array = new int[string.length]; for (int i = 0; i < string.length; i++) { array[i] = Integer.parseInt(string[i]); } return array; } catch (IOException e) { e.printStackTrace(); } int[] arra = new int[2]; return arra; } static int getInt() { try { String string = bufferedReader.readLine(); return Integer.parseInt(string); } catch (IOException e) { e.printStackTrace(); } return 0; } static StringBuilder getInputString() { try { StringBuilder string = new StringBuilder(); string.append(bufferedReader.readLine()); return string; } catch (IOException e) { e.printStackTrace(); } return new StringBuilder(); } static long getLongInput() { try { String string = bufferedReader.readLine(); return Long.parseLong(string); } catch (IOException e) { e.printStackTrace(); } return 0; } static long[] getLongArrayInput() { String[] string; long[] array; try { string = bufferedReader.readLine().split("\\s+"); array = new long[string.length]; for (int i = 0; i < string.length; i++) { array[i] = Long.parseLong(string[i]); } return array; } catch (IOException e) { e.printStackTrace(); } long[] arra = new long[2]; return arra; } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 14, 2, 2, 2, 2, 4, 18, 4, 18, 13, 13, 17, 2, 4, 18, 4, 18, 13, 13, 17, 40, 4, 18, 4, 18, 13, 13, 17, 40, 4, 18, 4, 18, 13, 13, 4, 18, 13, 2, 4, 18, 13, 17, 30, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 148, 14 ], [ 148, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 17, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 17, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 17, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 17, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 71, 81 ], [ 81, 82 ], [ 82, 83 ], [ 71, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 89, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 90, 97 ], [ 89, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 98, 105 ], [ 88, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 107, 113 ], [ 89, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 115, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 124, 128 ], [ 86, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 17, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 139, 141 ], [ 137, 142 ], [ 142, 143 ], [ 143, 144 ], [ 15, 145 ], [ 145, 146 ], [ 0, 147 ], [ 147, 148 ], [ 147, 149 ] ]
[ "import java.util.Scanner;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.List;\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n List<String> list = new ArrayList<String>();\n List<String> list2 = new ArrayList<String>();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }\n Collections.sort(list);\n Collections.reverse(list);\n list2.add(list.get(0));\n for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }\n System.out.println(list2.size());\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n List<String> list = new ArrayList<String>();\n List<String> list2 = new ArrayList<String>();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }\n Collections.sort(list);\n Collections.reverse(list);\n list2.add(list.get(0));\n for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }\n System.out.println(list2.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n List<String> list = new ArrayList<String>();\n List<String> list2 = new ArrayList<String>();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }\n Collections.sort(list);\n Collections.reverse(list);\n list2.add(list.get(0));\n for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }\n System.out.println(list2.size());\n }", "main", "{\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n List<String> list = new ArrayList<String>();\n List<String> list2 = new ArrayList<String>();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }\n Collections.sort(list);\n Collections.reverse(list);\n list2.add(list.get(0));\n for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }\n System.out.println(list2.size());\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "List<String> list2 = new ArrayList<String>();", "list2", "new ArrayList<String>()", "for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= a", "i", "a", "i++", "i++", "i", "{\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }", "{\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }", "String x = s.nextLine();", "x", "s.nextLine()", "s.nextLine", "s", "list.add(x.toLowerCase())", "list.add", "list", "x.toLowerCase()", "x.toLowerCase", "x", "Collections.sort(list)", "Collections.sort", "Collections", "list", "Collections.reverse(list)", "Collections.reverse", "Collections", "list", "list2.add(list.get(0))", "list2.add", "list2", "list.get(0)", "list.get", "list", "0", "for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }", "{\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }", "if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }", "list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))", "!list.get(i).equals(\" \")", "list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))", "list.get(i).length() <= 10", "list.get(i).length()", "list.get(i).length", "list.get(i)", "list.get", "list", "i", "10", "list.get(i).length() >= 1", "list.get(i).length()", "list.get(i).length", "list.get(i)", "list.get", "list", "i", "1", "!list.get(i).equals(\" \")", "list.get(i).equals(\" \")", "list.get(i).equals", "list.get(i)", "list.get", "list", "i", "\" \"", "!(list.get(i).equals(list2.get(list2.size()-1)))", "(list.get(i).equals(list2.get(list2.size()-1)))", "list.get(i).equals", "list.get(i)", "list.get", "list", "i", "list2.get(list2.size()-1)", "list2.get", "list2", "list2.size()-1", "list2.size()", "list2.size", "list2", "1", "{\n list2.add(list.get(i));\n }", "list2.add(list.get(i))", "list2.add", "list2", "list.get(i)", "list.get", "list", "i", "System.out.println(list2.size())", "System.out.println", "System.out", "System", "System.out", "list2.size()", "list2.size", "list2", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n List<String> list = new ArrayList<String>();\n List<String> list2 = new ArrayList<String>();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }\n Collections.sort(list);\n Collections.reverse(list);\n list2.add(list.get(0));\n for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }\n System.out.println(list2.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt();\n List<String> list = new ArrayList<String>();\n List<String> list2 = new ArrayList<String>();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x.toLowerCase());\n }\n Collections.sort(list);\n Collections.reverse(list);\n list2.add(list.get(0));\n for(int i = 1; i < list.size(); i++){\n if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(\" \") && !(list.get(i).equals(list2.get(list2.size()-1)))){\n list2.add(list.get(i));\n }\n }\n System.out.println(list2.size());\n }\n}", "Main" ]
import java.util.Scanner; import java.util.ArrayList; import java.util.Collections; import java.util.List; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a = s.nextInt(); List<String> list = new ArrayList<String>(); List<String> list2 = new ArrayList<String>(); for(int i = 0; i <= a; i++){ String x = s.nextLine(); list.add(x.toLowerCase()); } Collections.sort(list); Collections.reverse(list); list2.add(list.get(0)); for(int i = 1; i < list.size(); i++){ if(list.get(i).length() <= 10 && list.get(i).length() >= 1 && !list.get(i).equals(" ") && !(list.get(i).equals(list2.get(list2.size()-1)))){ list2.add(list.get(i)); } } System.out.println(list2.size()); } }
[ 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, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 59, 11 ], [ 59, 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 ], [ 27, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 12, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "\nimport java.util.HashMap;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n HashSet<String> kind = new HashSet<>();\n int N = in.nextInt();\n in.nextLine();\n for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }\n System.out.print(kind.size());\n }\n\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "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 HashSet<String> kind = new HashSet<>();\n int N = in.nextInt();\n in.nextLine();\n for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }\n System.out.print(kind.size());\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n HashSet<String> kind = new HashSet<>();\n int N = in.nextInt();\n in.nextLine();\n for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }\n System.out.print(kind.size());\n }", "main", "{\n Scanner in = new Scanner(System.in);\n HashSet<String> kind = new HashSet<>();\n int N = in.nextInt();\n in.nextLine();\n for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }\n System.out.print(kind.size());\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "HashSet<String> kind = new HashSet<>();", "kind", "new HashSet<>()", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "in.nextLine()", "in.nextLine", "in", "for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= N", "i", "N", "i++", "i++", "i", "{\n kind.add(in.nextLine());\n }", "{\n kind.add(in.nextLine());\n }", "kind.add(in.nextLine())", "kind.add", "kind", "in.nextLine()", "in.nextLine", "in", "System.out.print(kind.size())", "System.out.print", "System.out", "System", "System.out", "kind.size()", "kind.size", "kind", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n HashSet<String> kind = new HashSet<>();\n int N = in.nextInt();\n in.nextLine();\n for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }\n System.out.print(kind.size());\n }\n\n}", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n HashSet<String> kind = new HashSet<>();\n int N = in.nextInt();\n in.nextLine();\n for(int i = 1; i <= N; i++){\n kind.add(in.nextLine());\n }\n System.out.print(kind.size());\n }\n\n}", "Main" ]
import java.util.HashMap; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); HashSet<String> kind = new HashSet<>(); int N = in.nextInt(); in.nextLine(); for(int i = 1; i <= N; i++){ kind.add(in.nextLine()); } System.out.print(kind.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 30, 4, 18, 13, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 83, 11 ], [ 83, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 14, 31 ], [ 31, 32 ], [ 31, 33 ], [ 14, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 34, 38 ], [ 14, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 51, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 57, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 64, 68 ], [ 14, 69 ], [ 69, 70 ], [ 70, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 78, 79 ], [ 12, 80 ], [ 80, 81 ], [ 0, 82 ], [ 82, 83 ], [ 82, 84 ] ]
[ "import java.util.HashMap;\nimport java.util.Map;\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 N = Integer.parseInt(sc.next());\n\n\t\tString aaa = sc.next();\n\t\tMap<String, String> prizeMap = new HashMap<>();\n\t\tprizeMap.put(aaa,aaa);\n\n\t\tfor(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(prizeMap.size());\n\t}\n\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tString aaa = sc.next();\n\t\tMap<String, String> prizeMap = new HashMap<>();\n\t\tprizeMap.put(aaa,aaa);\n\n\t\tfor(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(prizeMap.size());\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tString aaa = sc.next();\n\t\tMap<String, String> prizeMap = new HashMap<>();\n\t\tprizeMap.put(aaa,aaa);\n\n\t\tfor(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(prizeMap.size());\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tString aaa = sc.next();\n\t\tMap<String, String> prizeMap = new HashMap<>();\n\t\tprizeMap.put(aaa,aaa);\n\n\t\tfor(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(prizeMap.size());\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = Integer.parseInt(sc.next());", "N", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "String aaa = sc.next();", "aaa", "sc.next()", "sc.next", "sc", "Map<String, String> prizeMap = new HashMap<>();", "prizeMap", "new HashMap<>()", "prizeMap.put(aaa,aaa)", "prizeMap.put", "prizeMap", "aaa", "aaa", "for(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\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 prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}", "{\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}", "String prize = sc.next();", "prize", "sc.next()", "sc.next", "sc", "if(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}", "prizeMap.containsKey(prize)", "prizeMap.containsKey", "prizeMap", "prize", "{\n\t\t\t\t//取れちゃった\n\t\t\t}", "{\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}", "prizeMap.put(prize, prize)", "prizeMap.put", "prizeMap", "prize", "prize", "sc.close()", "sc.close", "sc", "System.out.println(prizeMap.size())", "System.out.println", "System.out", "System", "System.out", "prizeMap.size()", "prizeMap.size", "prizeMap", "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 N = Integer.parseInt(sc.next());\n\n\t\tString aaa = sc.next();\n\t\tMap<String, String> prizeMap = new HashMap<>();\n\t\tprizeMap.put(aaa,aaa);\n\n\t\tfor(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(prizeMap.size());\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tString aaa = sc.next();\n\t\tMap<String, String> prizeMap = new HashMap<>();\n\t\tprizeMap.put(aaa,aaa);\n\n\t\tfor(int i = 1;i < N; i++) {\n\t\t\tString prize = sc.next();\n\t\t\tif(prizeMap.containsKey(prize)) {\n\t\t\t\t//取れちゃった\n\t\t\t}else {\n\t\t\t\tprizeMap.put(prize, prize);\n\t\t\t}\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(prizeMap.size());\n\t}\n\n}", "Main" ]
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); String aaa = sc.next(); Map<String, String> prizeMap = new HashMap<>(); prizeMap.put(aaa,aaa); for(int i = 1;i < N; i++) { String prize = sc.next(); if(prizeMap.containsKey(prize)) { //取れちゃった }else { prizeMap.put(prize, prize); } } sc.close(); System.out.println(prizeMap.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 65, 17 ], [ 65, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 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 ], [ 20, 51 ], [ 51, 52 ], [ 51, 53 ], [ 20, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 18, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.*;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.List;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// くじ引き回数\n\t\tint N = sc.nextInt();\n List<String> listA = new ArrayList<String>(N);\n\t\tfor (int i=0; i<N; i++) {\n listA.add(sc.next());\n }\n\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\n //System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// くじ引き回数\n\t\tint N = sc.nextInt();\n List<String> listA = new ArrayList<String>(N);\n\t\tfor (int i=0; i<N; i++) {\n listA.add(sc.next());\n }\n\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\n //System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// くじ引き回数\n\t\tint N = sc.nextInt();\n List<String> listA = new ArrayList<String>(N);\n\t\tfor (int i=0; i<N; i++) {\n listA.add(sc.next());\n }\n\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\n //System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t// くじ引き回数\n\t\tint N = sc.nextInt();\n List<String> listA = new ArrayList<String>(N);\n\t\tfor (int i=0; i<N; i++) {\n listA.add(sc.next());\n }\n\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\n //System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "List<String> listA = new ArrayList<String>(N);", "listA", "new ArrayList<String>(N)", "for (int i=0; i<N; i++) {\n listA.add(sc.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n listA.add(sc.next());\n }", "{\n listA.add(sc.next());\n }", "listA.add(sc.next())", "listA.add", "listA", "sc.next()", "sc.next", "sc", "List<String> listB = new ArrayList<String>(new HashSet<>(listA));", "listB", "new ArrayList<String>(new HashSet<>(listA))", "System.out.println(listB.size())", "System.out.println", "System.out", "System", "System.out", "listB.size()", "listB.size", "listB", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// くじ引き回数\n\t\tint N = sc.nextInt();\n List<String> listA = new ArrayList<String>(N);\n\t\tfor (int i=0; i<N; i++) {\n listA.add(sc.next());\n }\n\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\n //System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t// くじ引き回数\n\t\tint N = sc.nextInt();\n List<String> listA = new ArrayList<String>(N);\n\t\tfor (int i=0; i<N; i++) {\n listA.add(sc.next());\n }\n\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\n //System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n\t}\n}", "Main" ]
import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // くじ引き回数 int N = sc.nextInt(); List<String> listA = new ArrayList<String>(N); for (int i=0; i<N; i++) { listA.add(sc.next()); } List<String> listB = new ArrayList<String>(new HashSet<>(listA)); //System.out.println("ListA = " + listA); //System.out.println("ListB = " + listB); System.out.println(listB.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 48, 58 ], [ 58, 59 ], [ 59, 60 ], [ 48, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 63, 75 ], [ 75, 76 ], [ 76, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 6, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String s[] = new String[n];\n\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }\n Arrays.sort(s);\n\n int ans = 1;\n for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }\n\n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String s[] = new String[n];\n\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }\n Arrays.sort(s);\n\n int ans = 1;\n for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }\n\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String s[] = new String[n];\n\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }\n Arrays.sort(s);\n\n int ans = 1;\n for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }\n\n System.out.println(ans);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String s[] = new String[n];\n\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }\n Arrays.sort(s);\n\n int ans = 1;\n for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }\n\n System.out.println(ans);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "String s[] = new String[n];", "s", "new String[n]", "n", "for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n s[i] = scan.next();\n }", "{\n s[i] = scan.next();\n }", "s[i] = scan.next()", "s[i]", "s", "i", "scan.next()", "scan.next", "scan", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "int ans = 1;", "ans", "1", "for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n - 1", "i", "n - 1", "n", "1", "i++", "i++", "i", "{\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }", "{\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }", "if(!(s[i].equals(s[i+1]))){\n ans++;\n }", "!(s[i].equals(s[i+1]))", "(s[i].equals(s[i+1]))", "s[i].equals", "s[i]", "s", "i", "s[i+1]", "s", "i+1", "i", "1", "{\n ans++;\n }", "ans++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n int n = scan.nextInt();\n String s[] = new String[n];\n\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }\n Arrays.sort(s);\n\n int ans = 1;\n for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }\n\n System.out.println(ans);\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 s[] = new String[n];\n\n for(int i = 0; i < n; i++){\n s[i] = scan.next();\n }\n Arrays.sort(s);\n\n int ans = 1;\n for(int i = 0; i < n - 1; i++){\n if(!(s[i].equals(s[i+1]))){\n ans++;\n }\n }\n\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner scan = new Scanner(System.in); int n = scan.nextInt(); String s[] = new String[n]; for(int i = 0; i < n; i++){ s[i] = scan.next(); } Arrays.sort(s); int ans = 1; for(int i = 0; i < n - 1; i++){ if(!(s[i].equals(s[i+1]))){ ans++; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 41, 13, 4, 18, 13, 13, 4, 18, 13, 13, 2, 13, 17, 30, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 88, 14 ], [ 88, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 55, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 66, 67 ], [ 66, 68 ], [ 50, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 70, 74 ], [ 17, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 15, 85 ], [ 85, 86 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.util.ArrayList;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] arg) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(map.keySet().size());\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] arg) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(map.keySet().size());\n\t}\n}", "Main", "public static void main(String[] arg) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(map.keySet().size());\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(map.keySet().size());\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "Map<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "for(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}", "{\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}", "String s = scan.next();", "s", "scan.next()", "scan.next", "scan", "if(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}", "map.containsKey(s)", "map.containsKey", "map", "s", "{\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t}", "int v = map.get(s);", "v", "map.get(s)", "map.get", "map", "s", "map.put(s, v+1)", "map.put", "map", "s", "v+1", "v", "1", "{\n\t\t\t\tmap.put(s, 1);\n\t\t\t}", "map.put(s, 1)", "map.put", "map", "s", "1", "System.out.println(map.keySet().size())", "System.out.println", "System.out", "System", "System.out", "map.keySet().size()", "map.keySet().size", "map.keySet()", "map.keySet", "map", "String[] arg", "arg", "public class Main {\n\n\tpublic static void main(String[] arg) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(map.keySet().size());\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] arg) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = scan.nextInt();\n\t\tArrayList<String> list = new ArrayList<String>();\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < n; i++){\n\t\t\tString s = scan.next();\n\t\t\tif(map.containsKey(s)){\n\t\t\t\tint v = map.get(s);\n\t\t\t\tmap.put(s, v+1);\n\t\t\t} else {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(map.keySet().size());\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] arg) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); ArrayList<String> list = new ArrayList<String>(); Map<String, Integer> map = new HashMap<String, Integer>(); for(int i = 0; i < n; i++){ String s = scan.next(); if(map.containsKey(s)){ int v = map.get(s); map.put(s, v+1); } else { map.put(s, 1); } } System.out.println(map.keySet().size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 64, 14 ], [ 64, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 17, 50 ], [ 50, 51 ], [ 50, 52 ], [ 17, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 15, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] s = new String[n];\n for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }\n\n Set<String> sSet = new HashSet<>(Arrays.asList(s));\n System.out.println(sSet.size());\n }\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] s = new String[n];\n for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }\n\n Set<String> sSet = new HashSet<>(Arrays.asList(s));\n System.out.println(sSet.size());\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] s = new String[n];\n for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }\n\n Set<String> sSet = new HashSet<>(Arrays.asList(s));\n System.out.println(sSet.size());\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] s = new String[n];\n for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }\n\n Set<String> sSet = new HashSet<>(Arrays.asList(s));\n System.out.println(sSet.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] s = new String[n];", "s", "new String[n]", "n", "for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n s[i] = sc.next();\n }", "{\n s[i] = sc.next();\n }", "s[i] = sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "Set<String> sSet = new HashSet<>(Arrays.asList(s));", "sSet", "new HashSet<>(Arrays.asList(s))", "System.out.println(sSet.size())", "System.out.println", "System.out", "System", "System.out", "sSet.size()", "sSet.size", "sSet", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] s = new String[n];\n for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }\n\n Set<String> sSet = new HashSet<>(Arrays.asList(s));\n System.out.println(sSet.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] s = new String[n];\n for (int i = 0; i < n; i++) {\n s[i] = sc.next();\n }\n\n Set<String> sSet = new HashSet<>(Arrays.asList(s));\n System.out.println(sSet.size());\n }\n}", "Main" ]
import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = new String[n]; for (int i = 0; i < n; i++) { s[i] = sc.next(); } Set<String> sSet = new HashSet<>(Arrays.asList(s)); System.out.println(sSet.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 18, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 13, 30, 40, 13, 0, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 94, 8 ], [ 94, 9 ], [ 9, 10 ], [ 9, 11 ], [ 94, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 14, 20 ], [ 20, 21 ], [ 20, 22 ], [ 14, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 14, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 53, 55 ], [ 14, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 68, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 14, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 12, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n \npublic class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n int n = stdIn.nextInt();\n String[] s = new String[n];\n for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }\n\n Arrays.sort(s);\n\n String prev = s[0];\n int counter = 1;\n for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }\n\n System.out.println(counter);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n int n = stdIn.nextInt();\n String[] s = new String[n];\n for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }\n\n Arrays.sort(s);\n\n String prev = s[0];\n int counter = 1;\n for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }\n\n System.out.println(counter);\n }\n}", "Main", "static Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "public static void main(String[] args){\n int n = stdIn.nextInt();\n String[] s = new String[n];\n for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }\n\n Arrays.sort(s);\n\n String prev = s[0];\n int counter = 1;\n for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }\n\n System.out.println(counter);\n }", "main", "{\n int n = stdIn.nextInt();\n String[] s = new String[n];\n for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }\n\n Arrays.sort(s);\n\n String prev = s[0];\n int counter = 1;\n for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }\n\n System.out.println(counter);\n }", "int n = stdIn.nextInt();", "n", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "String[] s = new String[n];", "s", "new String[n]", "n", "for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n s[i] = stdIn.next();\n }", "{\n s[i] = stdIn.next();\n }", "s[i] = stdIn.next()", "s[i]", "s", "i", "stdIn.next()", "stdIn.next", "stdIn", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "String prev = s[0];", "prev", "s[0]", "s", "0", "int counter = 1;", "counter", "1", "for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }", "int i=1;", "int i=1;", "i", "1", "i<n", "i", "n", "i++", "i++", "i", "{\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }", "{\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }", "if(!s[i].equals(prev)){\n counter++;\n }", "!s[i].equals(prev)", "s[i].equals(prev)", "s[i].equals", "s[i]", "s", "i", "prev", "{\n counter++;\n }", "counter++", "counter", "prev = s[i]", "prev", "s[i]", "s", "i", "System.out.println(counter)", "System.out.println", "System.out", "System", "System.out", "counter", "String[] args", "args", "public class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n int n = stdIn.nextInt();\n String[] s = new String[n];\n for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }\n\n Arrays.sort(s);\n\n String prev = s[0];\n int counter = 1;\n for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }\n\n System.out.println(counter);\n }\n}", "public class Main {\n static Scanner stdIn = new Scanner(System.in);\n public static void main(String[] args){\n int n = stdIn.nextInt();\n String[] s = new String[n];\n for(int i=0; i<n; i++){\n s[i] = stdIn.next();\n }\n\n Arrays.sort(s);\n\n String prev = s[0];\n int counter = 1;\n for(int i=1; i<n; i++){\n if(!s[i].equals(prev)){\n counter++;\n }\n prev = s[i];\n }\n\n System.out.println(counter);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main { static Scanner stdIn = new Scanner(System.in); public static void main(String[] args){ int n = stdIn.nextInt(); String[] s = new String[n]; for(int i=0; i<n; i++){ s[i] = stdIn.next(); } Arrays.sort(s); String prev = s[0]; int counter = 1; for(int i=1; i<n; i++){ if(!s[i].equals(prev)){ counter++; } prev = s[i]; } System.out.println(counter); } }
[ 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, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 68, 8 ], [ 68, 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 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 11, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 9, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n\n\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet t = new HashSet();\n String s;\n int ans = 0;\n for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }\n\n System.out.println(ans);\n\n }\n\n\n }", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n\n\n\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet t = new HashSet();\n String s;\n int ans = 0;\n for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }\n\n System.out.println(ans);\n\n }\n\n\n }", "Main", "public static void main(String[] args) {\n\n\n\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet t = new HashSet();\n String s;\n int ans = 0;\n for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }\n\n System.out.println(ans);\n\n }", "main", "{\n\n\n\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet t = new HashSet();\n String s;\n int ans = 0;\n for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }\n\n System.out.println(ans);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "HashSet t = new HashSet();", "t", "new HashSet()", "String s;", "s", "int ans = 0;", "ans", "0", "for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }", "{\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }", "s = sc.next()", "s", "sc.next()", "sc.next", "sc", "if(!t.contains(s)){\n t.add(s);\n ans ++;\n }", "!t.contains(s)", "t.contains(s)", "t.contains", "t", "s", "{\n t.add(s);\n ans ++;\n }", "t.add(s)", "t.add", "t", "s", "ans ++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n\n\n\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet t = new HashSet();\n String s;\n int ans = 0;\n for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }\n\n System.out.println(ans);\n\n }\n\n\n }", "public class Main {\n\n public static void main(String[] args) {\n\n\n\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet t = new HashSet();\n String s;\n int ans = 0;\n for(int i=0;i<N;i++){\n s = sc.next();\n if(!t.contains(s)){\n t.add(s);\n ans ++;\n }\n }\n\n System.out.println(ans);\n\n }\n\n\n }", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); HashSet t = new HashSet(); String s; int ans = 0; for(int i=0;i<N;i++){ s = sc.next(); if(!t.contains(s)){ t.add(s); ans ++; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 9, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 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 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 44, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 6, 57 ], [ 57, 58 ] ]
[ "import java.util.*;\nclass Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int T =sc.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n for(int i =0; i<T;i++){\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }\n System.out.println(map.size());\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int T =sc.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n for(int i =0; i<T;i++){\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }\n System.out.println(map.size());\n }\n}", "Main", "public static void main(String[] args){\n \tScanner sc = new Scanner(System.in);\n int T =sc.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n for(int i =0; i<T;i++){\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }\n System.out.println(map.size());\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n int T =sc.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n for(int i =0; i<T;i++){\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }\n System.out.println(map.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int T =sc.nextInt();", "T", "sc.nextInt()", "sc.nextInt", "sc", "HashMap<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for(int i =0; i<T;i++){\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }", "int i =0;", "int i =0;", "i", "0", "i<T", "i", "T", "i++", "i++", "i", "{\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }", "{\n \tString a =sc.next();\n if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);\n }", "String a =sc.next();", "a", "sc.next()", "sc.next", "sc", "if( map.containsKey(a))\n \tcontinue;\n else\n map.put(a,0);", "map.containsKey(a)", "map.containsKey", "map", "a", "continue;", "map.put(a,0)", "map.put", "map", "a", "0", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int T =sc.nextInt(); HashMap<String, Integer> map = new HashMap<>(); for(int i =0; i<T;i++){ String a =sc.next(); if( map.containsKey(a)) continue; else map.put(a,0); } System.out.println(map.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 61, 5 ], [ 61, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 47, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 6, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer N = input.nextInt();\n String[] S = new String[N];\n Set<String> types = new HashSet<String>();\n\n for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }\n\n System.out.println(types.size());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer N = input.nextInt();\n String[] S = new String[N];\n Set<String> types = new HashSet<String>();\n\n for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }\n\n System.out.println(types.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer N = input.nextInt();\n String[] S = new String[N];\n Set<String> types = new HashSet<String>();\n\n for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }\n\n System.out.println(types.size());\n }", "main", "{\n Scanner input = new Scanner(System.in);\n Integer N = input.nextInt();\n String[] S = new String[N];\n Set<String> types = new HashSet<String>();\n\n for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }\n\n System.out.println(types.size());\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "Integer N = input.nextInt();", "N", "input.nextInt()", "input.nextInt", "input", "String[] S = new String[N];", "S", "new String[N]", "N", "Set<String> types = new HashSet<String>();", "types", "new HashSet<String>()", "for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n S[i] = input.next();\n types.add(S[i]);\n }", "{\n S[i] = input.next();\n types.add(S[i]);\n }", "S[i] = input.next()", "S[i]", "S", "i", "input.next()", "input.next", "input", "types.add(S[i])", "types.add", "types", "S[i]", "S", "i", "System.out.println(types.size())", "System.out.println", "System.out", "System", "System.out", "types.size()", "types.size", "types", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer N = input.nextInt();\n String[] S = new String[N];\n Set<String> types = new HashSet<String>();\n\n for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }\n\n System.out.println(types.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer N = input.nextInt();\n String[] S = new String[N];\n Set<String> types = new HashSet<String>();\n\n for (int i = 0; i < N; i++) {\n S[i] = input.next();\n types.add(S[i]);\n }\n\n System.out.println(types.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); Integer N = input.nextInt(); String[] S = new String[N]; Set<String> types = new HashSet<String>(); for (int i = 0; i < N; i++) { S[i] = input.next(); types.add(S[i]); } System.out.println(types.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 17, 41, 13, 17, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 14, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 29, 4, 18, 13, 29, 4, 18, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 226, 23 ], [ 226, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 26, 35 ], [ 35, 36 ], [ 35, 37 ], [ 26, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 38, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 26, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 24, 63 ], [ 63, 64 ], [ 226, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 65, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 79, 81 ], [ 73, 82 ], [ 82, 83 ], [ 65, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 87, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 97, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 86, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 65, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 114, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 124, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 113, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 65, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 147, 148 ], [ 65, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 156, 157 ], [ 65, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 165, 166 ], [ 65, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 174, 179 ], [ 179, 180 ], [ 179, 181 ], [ 174, 182 ], [ 182, 183 ], [ 183, 184 ], [ 174, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 169, 192 ], [ 192, 193 ], [ 167, 194 ], [ 194, 195 ], [ 65, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 203, 211 ], [ 211, 212 ], [ 212, 213 ], [ 203, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 215, 219 ], [ 219, 220 ], [ 198, 221 ], [ 221, 222 ], [ 196, 223 ], [ 223, 224 ], [ 0, 225 ], [ 225, 226 ], [ 225, 227 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.HashMap;\nimport java.util.Map;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}", "main", "{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Map<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}", ";", "n > 0", "n", "0", "n--", "n--", "n", "{\n\t\t\tmap.put(sc.next(), 1);\n\t\t}", "{\n\t\t\tmap.put(sc.next(), 1);\n\t\t}", "map.put(sc.next(), 1)", "map.put", "map", "sc.next()", "sc.next", "sc", "1", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "String[] args", "args", "static class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}", "FastScanner", "private BufferedReader reader = null;", "reader", "null", "private StringTokenizer tokenizer = null;", "tokenizer", "null", "public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }", "FastScanner", "{\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }", "reader = new BufferedReader(new InputStreamReader(in))", "reader", "new BufferedReader(new InputStreamReader(in))", "tokenizer = null", "tokenizer", "null", "InputStream in", "in", "public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }", "next", "{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }", "try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }", "catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }", "IOException e", "{\n\t throw new RuntimeException(e);\n\t }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }", "nextLine", "{\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }", "try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }", "catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }", "IOException e", "{\n\t throw new RuntimeException(e);\n\t }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t return reader.readLine();\n\t }", "return reader.readLine();", "reader.readLine()", "reader.readLine", "reader", "return tokenizer.nextToken(\"\\n\");", "tokenizer.nextToken(\"\\n\")", "tokenizer.nextToken", "tokenizer", "\"\\n\"", "public long nextLong() {\n\t return Long.parseLong(next());\n\t }", "nextLong", "{\n\t return Long.parseLong(next());\n\t }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int nextInt() {\n\t return Integer.parseInt(next());\n\t }", "nextInt", "{\n\t return Integer.parseInt(next());\n\t }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }", "nextDouble", "{\n\t return Double.parseDouble(next());\n\t }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }", "nextIntArray", "{\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t 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 long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }", "nextLongArray", "{\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }", "long[] a = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n\t a[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextLong();", "a[i] = nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor(; n > 0; n--) {\n\t\t\tmap.put(sc.next(), 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n\n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader = null;\n\t private StringTokenizer tokenizer = null;\n\t public FastScanner(InputStream in) {\n\t reader = new BufferedReader(new InputStreamReader(in));\n\t tokenizer = null;\n\t }\n\n\t public String next() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t tokenizer = new StringTokenizer(reader.readLine());\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\t return tokenizer.nextToken();\n\t }\n\n\t public String nextLine() {\n\t if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t try {\n\t return reader.readLine();\n\t } catch (IOException e) {\n\t throw new RuntimeException(e);\n\t }\n\t }\n\n\t return tokenizer.nextToken(\"\\n\");\n\t }\n\n\t public long nextLong() {\n\t return Long.parseLong(next());\n\t }\n\n\t public int nextInt() {\n\t return Integer.parseInt(next());\n\t }\n\n\t public double nextDouble() {\n\t return Double.parseDouble(next());\n\t }\n\n\t public int[] nextIntArray(int n) {\n\t int[] a = new int[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextInt();\n\t return a;\n\t }\n\n\t public long[] nextLongArray(int n) {\n\t long[] a = new long[n];\n\t for (int i = 0; i < n; i++)\n\t a[i] = nextLong();\n\t return a;\n\t }\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); int n = sc.nextInt(); Map<String, Integer> map = new HashMap<>(); for(; n > 0; n--) { map.put(sc.next(), 1); } System.out.println(map.size()); } static class FastScanner { private BufferedReader reader = null; private StringTokenizer tokenizer = null; public FastScanner(InputStream in) { reader = new BufferedReader(new InputStreamReader(in)); tokenizer = null; } public String next() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public String nextLine() { if (tokenizer == null || !tokenizer.hasMoreTokens()) { try { return reader.readLine(); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken("\n"); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public double nextDouble() { return Double.parseDouble(next()); } public int[] nextIntArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextLongArray(int n) { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 0, 13, 17, 30, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 81, 83 ], [ 72, 84 ], [ 84, 85 ], [ 85, 86 ], [ 56, 87 ], [ 87, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 6, 95 ], [ 95, 96 ] ]
[ "import java.util.*; \n\nclass Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int ans=0;\n\n \t\tString[] s=new String[n];\n\t\tfor(int c=0;c<n;c++){\n \t\ts[c]=sc.next();\n \t}\n\t\tArrays.sort(s); \n \t\tif(n==1){\n ans=1;\n }else{\n \t\tfor(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }\n ans++;\n }\n\n \tSystem.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\npublic static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int ans=0;\n\n \t\tString[] s=new String[n];\n\t\tfor(int c=0;c<n;c++){\n \t\ts[c]=sc.next();\n \t}\n\t\tArrays.sort(s); \n \t\tif(n==1){\n ans=1;\n }else{\n \t\tfor(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }\n ans++;\n }\n\n \tSystem.out.println(ans);\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int ans=0;\n\n \t\tString[] s=new String[n];\n\t\tfor(int c=0;c<n;c++){\n \t\ts[c]=sc.next();\n \t}\n\t\tArrays.sort(s); \n \t\tif(n==1){\n ans=1;\n }else{\n \t\tfor(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }\n ans++;\n }\n\n \tSystem.out.println(ans);\n }", "main", "{\n\tScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int ans=0;\n\n \t\tString[] s=new String[n];\n\t\tfor(int c=0;c<n;c++){\n \t\ts[c]=sc.next();\n \t}\n\t\tArrays.sort(s); \n \t\tif(n==1){\n ans=1;\n }else{\n \t\tfor(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }\n ans++;\n }\n\n \tSystem.out.println(ans);\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int ans=0;", "ans", "0", "String[] s=new String[n];", "s", "new String[n]", "n", "for(int c=0;c<n;c++){\n \t\ts[c]=sc.next();\n \t}", "int c=0;", "int c=0;", "c", "0", "c<n", "c", "n", "c++", "c++", "c", "{\n \t\ts[c]=sc.next();\n \t}", "{\n \t\ts[c]=sc.next();\n \t}", "s[c]=sc.next()", "s[c]", "s", "c", "sc.next()", "sc.next", "sc", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "if(n==1){\n ans=1;\n }else{\n \t\tfor(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }\n ans++;\n }", "n==1", "n", "1", "{\n ans=1;\n }", "ans=1", "ans", "1", "{\n \t\tfor(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }\n ans++;\n }", "for(int d=0;d<n-1;d++){\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }", "int d=0;", "int d=0;", "d", "0", "d<n-1", "d", "n-1", "n", "1", "d++", "d++", "d", "{\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }", "{\n if(!s[d].equals(s[d+1])){\n ans++;\n }\n }", "if(!s[d].equals(s[d+1])){\n ans++;\n }", "!s[d].equals(s[d+1])", "s[d].equals(s[d+1])", "s[d].equals", "s[d]", "s", "d", "s[d+1]", "s", "d+1", "d", "1", "{\n ans++;\n }", "ans++", "ans", "ans++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int ans=0; String[] s=new String[n]; for(int c=0;c<n;c++){ s[c]=sc.next(); } Arrays.sort(s); if(n==1){ ans=1; }else{ for(int d=0;d<n-1;d++){ if(!s[d].equals(s[d+1])){ ans++; } } ans++; } System.out.println(ans); } }
[ 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, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 65, 11 ], [ 65, 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 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 12, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\t //String input1 = scanner.next();\n\t String input2 = scanner.next();\n\n\t //int h=Integer.parseInt(input1);\n\t int n=Integer.parseInt(input2);\n\t //int a[]=new int[n];\n\t Set<String> sa=new HashSet<String>();\n\t for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }\n\t scanner.close();\n\t /*int sum=sa.stream()\n\t \t\t.mapToInt(s->Integer.parseInt(s))\n\t \t\t.sum();\n\t \tSystem.out.println(\"YES\");*/\n\t System.out.println(sa.size());\n\t}\n\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\t //String input1 = scanner.next();\n\t String input2 = scanner.next();\n\n\t //int h=Integer.parseInt(input1);\n\t int n=Integer.parseInt(input2);\n\t //int a[]=new int[n];\n\t Set<String> sa=new HashSet<String>();\n\t for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }\n\t scanner.close();\n\t /*int sum=sa.stream()\n\t \t\t.mapToInt(s->Integer.parseInt(s))\n\t \t\t.sum();\n\t \tSystem.out.println(\"YES\");*/\n\t System.out.println(sa.size());\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\t //String input1 = scanner.next();\n\t String input2 = scanner.next();\n\n\t //int h=Integer.parseInt(input1);\n\t int n=Integer.parseInt(input2);\n\t //int a[]=new int[n];\n\t Set<String> sa=new HashSet<String>();\n\t for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }\n\t scanner.close();\n\t /*int sum=sa.stream()\n\t \t\t.mapToInt(s->Integer.parseInt(s))\n\t \t\t.sum();\n\t \tSystem.out.println(\"YES\");*/\n\t System.out.println(sa.size());\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\t //String input1 = scanner.next();\n\t String input2 = scanner.next();\n\n\t //int h=Integer.parseInt(input1);\n\t int n=Integer.parseInt(input2);\n\t //int a[]=new int[n];\n\t Set<String> sa=new HashSet<String>();\n\t for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }\n\t scanner.close();\n\t /*int sum=sa.stream()\n\t \t\t.mapToInt(s->Integer.parseInt(s))\n\t \t\t.sum();\n\t \tSystem.out.println(\"YES\");*/\n\t System.out.println(sa.size());\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "String input2 = scanner.next();", "input2", "scanner.next()", "scanner.next", "scanner", "int n=Integer.parseInt(input2);", "n", "Integer.parseInt(input2)", "Integer.parseInt", "Integer", "input2", "Set<String> sa=new HashSet<String>();", "sa", "new HashSet<String>()", "for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t \tsa.add(scanner.next());\n\t }", "{\n\t \tsa.add(scanner.next());\n\t }", "sa.add(scanner.next())", "sa.add", "sa", "scanner.next()", "scanner.next", "scanner", "scanner.close()", "scanner.close", "scanner", "System.out.println(sa.size())", "System.out.println", "System.out", "System", "System.out", "sa.size()", "sa.size", "sa", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\t //String input1 = scanner.next();\n\t String input2 = scanner.next();\n\n\t //int h=Integer.parseInt(input1);\n\t int n=Integer.parseInt(input2);\n\t //int a[]=new int[n];\n\t Set<String> sa=new HashSet<String>();\n\t for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }\n\t scanner.close();\n\t /*int sum=sa.stream()\n\t \t\t.mapToInt(s->Integer.parseInt(s))\n\t \t\t.sum();\n\t \tSystem.out.println(\"YES\");*/\n\t System.out.println(sa.size());\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scanner = new Scanner(System.in);\n\t //String input1 = scanner.next();\n\t String input2 = scanner.next();\n\n\t //int h=Integer.parseInt(input1);\n\t int n=Integer.parseInt(input2);\n\t //int a[]=new int[n];\n\t Set<String> sa=new HashSet<String>();\n\t for(int i=0;i<n;i++) {\n\t \tsa.add(scanner.next());\n\t }\n\t scanner.close();\n\t /*int sum=sa.stream()\n\t \t\t.mapToInt(s->Integer.parseInt(s))\n\t \t\t.sum();\n\t \tSystem.out.println(\"YES\");*/\n\t System.out.println(sa.size());\n\t}\n\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scanner = new Scanner(System.in); //String input1 = scanner.next(); String input2 = scanner.next(); //int h=Integer.parseInt(input1); int n=Integer.parseInt(input2); //int a[]=new int[n]; Set<String> sa=new HashSet<String>(); for(int i=0;i<n;i++) { sa.add(scanner.next()); } scanner.close(); /*int sum=sa.stream() .mapToInt(s->Integer.parseInt(s)) .sum(); System.out.println("YES");*/ System.out.println(sa.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 28, 13, 13, 30, 30, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 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 ], [ 20, 51 ], [ 51, 52 ], [ 52, 53 ], [ 20, 54 ], [ 54, 55 ], [ 54, 56 ], [ 20, 57 ], [ 57, 58 ], [ 57, 59 ], [ 57, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 20, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 18, 75 ], [ 75, 76 ] ]
[ "import java.util.Scanner;\nimport java.util.List;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.util.HashMap;\n \nclass Main{\n \n public static void main(String[] args){\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<String> list = new ArrayList<>();\n for(int i=0; i<n; i++){\n list.add(scanner.next());\n }\n scanner.close();\n Map<String, Integer> map = new HashMap<>();\n for (String val : list) {\n map.put(val, 0);\n }\n System.out.println(map.size());\n }\n \n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.List;", "List", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "class Main{\n \n public static void main(String[] args){\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<String> list = new ArrayList<>();\n for(int i=0; i<n; i++){\n list.add(scanner.next());\n }\n scanner.close();\n Map<String, Integer> map = new HashMap<>();\n for (String val : list) {\n map.put(val, 0);\n }\n System.out.println(map.size());\n }\n \n}", "Main", "public static void main(String[] args){\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<String> list = new ArrayList<>();\n for(int i=0; i<n; i++){\n list.add(scanner.next());\n }\n scanner.close();\n Map<String, Integer> map = new HashMap<>();\n for (String val : list) {\n map.put(val, 0);\n }\n System.out.println(map.size());\n }", "main", "{\n \n Scanner scanner = new Scanner(System.in);\n int n = scanner.nextInt();\n List<String> list = new ArrayList<>();\n for(int i=0; i<n; i++){\n list.add(scanner.next());\n }\n scanner.close();\n Map<String, Integer> map = new HashMap<>();\n for (String val : list) {\n map.put(val, 0);\n }\n System.out.println(map.size());\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "List<String> list = new ArrayList<>();", "list", "new ArrayList<>()", "for(int i=0; i<n; i++){\n list.add(scanner.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n list.add(scanner.next());\n }", "{\n list.add(scanner.next());\n }", "list.add(scanner.next())", "list.add", "list", "scanner.next()", "scanner.next", "scanner", "scanner.close()", "scanner.close", "scanner", "Map<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for (String val : list) {\n map.put(val, 0);\n }", "String val", "list", "{\n map.put(val, 0);\n }", "{\n map.put(val, 0);\n }", "map.put(val, 0)", "map.put", "map", "val", "0", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "String[] args", "args" ]
import java.util.Scanner; import java.util.List; import java.util.ArrayList; import java.util.Map; import java.util.HashMap; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int n = scanner.nextInt(); List<String> list = new ArrayList<>(); for(int i=0; i<n; i++){ list.add(scanner.next()); } scanner.close(); Map<String, Integer> map = new HashMap<>(); for (String val : list) { map.put(val, 0); } System.out.println(map.size()); } }
[ 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, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 68, 11 ], [ 68, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 53, 54 ], [ 53, 55 ], [ 50, 56 ], [ 14, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 12, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\n/**\n * Main\n */\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n Map<String, Integer> Keihin = new HashMap<String, Integer>();\n\n for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }\n System.out.println(Keihin.size());\n\n }\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n Map<String, Integer> Keihin = new HashMap<String, Integer>();\n\n for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }\n System.out.println(Keihin.size());\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n Map<String, Integer> Keihin = new HashMap<String, Integer>();\n\n for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }\n System.out.println(Keihin.size());\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n Map<String, Integer> Keihin = new HashMap<String, Integer>();\n\n for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }\n System.out.println(Keihin.size());\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] S = new String[N];", "S", "new String[N]", "N", "Map<String, Integer> Keihin = new HashMap<String, Integer>();", "Keihin", "new HashMap<String, Integer>()", "for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }", "{\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "Keihin.put(S[i],i)", "Keihin.put", "Keihin", "S[i]", "S", "i", "i", "System.out.println(Keihin.size())", "System.out.println", "System.out", "System", "System.out", "Keihin.size()", "Keihin.size", "Keihin", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n Map<String, Integer> Keihin = new HashMap<String, Integer>();\n\n for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }\n System.out.println(Keihin.size());\n\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n Map<String, Integer> Keihin = new HashMap<String, Integer>();\n\n for(int i = 0; i < N; i++){\n S[i] = sc.next();\n Keihin.put(S[i],i);\n }\n System.out.println(Keihin.size());\n\n }\n}", "Main" ]
import java.util.HashMap; import java.util.Map; import java.util.Scanner; /** * Main */ public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] S = new String[N]; Map<String, Integer> Keihin = new HashMap<String, Integer>(); for(int i = 0; i < N; i++){ S[i] = sc.next(); Keihin.put(S[i],i); } System.out.println(Keihin.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 97, 17 ], [ 97, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 33 ], [ 33, 34 ], [ 33, 35 ], [ 20, 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 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 20, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 20, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 60, 71 ], [ 72, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 73, 85 ], [ 85, 86 ], [ 86, 87 ], [ 20, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 18, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.*;\nimport java.util.ArrayDeque;\nimport java.util.Queue;\nimport java.math.RoundingMode;\nimport java.math.BigDecimal;\n\n\n\npublic class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt();\n\t \tString[] s = new String[n];\n\t \tint sum = 1;\n\t \tfor(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}\n\t \tArrays.sort(s);\n\t \tfor(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}\n\t \tSystem.out.println(sum);\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.util.ArrayDeque;", "ArrayDeque", "java.util", "import java.util.Queue;", "Queue", "java.util", "import java.math.RoundingMode;", "RoundingMode", "java.math", "import java.math.BigDecimal;", "BigDecimal", "java.math", "public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt();\n\t \tString[] s = new String[n];\n\t \tint sum = 1;\n\t \tfor(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}\n\t \tArrays.sort(s);\n\t \tfor(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}\n\t \tSystem.out.println(sum);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt();\n\t \tString[] s = new String[n];\n\t \tint sum = 1;\n\t \tfor(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}\n\t \tArrays.sort(s);\n\t \tfor(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}\n\t \tSystem.out.println(sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt();\n\t \tString[] s = new String[n];\n\t \tint sum = 1;\n\t \tfor(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}\n\t \tArrays.sort(s);\n\t \tfor(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}\n\t \tSystem.out.println(sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] s = new String[n];", "s", "new String[n]", "n", "int sum = 1;", "sum", "1", "for(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t \t\ts[i] = sc.next();\n\t \t}", "{\n\t \t\ts[i] = sc.next();\n\t \t}", "s[i] = sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "for(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}", "int i = 1;", "int i = 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}", "{\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}", "if(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t}", "!s[i].equals(s[i-1])", "s[i].equals(s[i-1])", "s[i].equals", "s[i]", "s", "i", "s[i-1]", "s", "i-1", "i", "1", "{\n\t \t\t\tsum++;\n\t \t\t}", "sum++", "sum", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt();\n\t \tString[] s = new String[n];\n\t \tint sum = 1;\n\t \tfor(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}\n\t \tArrays.sort(s);\n\t \tfor(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}\n\t \tSystem.out.println(sum);\n\t}\n}", "public class Main{\n\t public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t \tint n = sc.nextInt();\n\t \tString[] s = new String[n];\n\t \tint sum = 1;\n\t \tfor(int i = 0; i < n; i++){\n\t \t\ts[i] = sc.next();\n\t \t}\n\t \tArrays.sort(s);\n\t \tfor(int i = 1; i < n; i++) {\n\t \t\tif(!s[i].equals(s[i-1])) {\n\t \t\t\tsum++;\n\t \t\t} \n\t \t}\n\t \tSystem.out.println(sum);\n\t}\n}", "Main" ]
import java.util.*; import java.util.ArrayDeque; import java.util.Queue; import java.math.RoundingMode; import java.math.BigDecimal; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = new String[n]; int sum = 1; for(int i = 0; i < n; i++){ s[i] = sc.next(); } Arrays.sort(s); for(int i = 1; i < n; i++) { if(!s[i].equals(s[i-1])) { sum++; } } System.out.println(sum); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 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, 4, 18, 13, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 75, 17 ], [ 75, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 20, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 20, 61 ], [ 61, 62 ], [ 61, 63 ], [ 20, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 18, 72 ], [ 72, 73 ], [ 0, 74 ], [ 74, 75 ], [ 74, 76 ] ]
[ "import java.io.FileNotFoundException;\nimport java.util.ArrayList;\nimport java.util.Collections;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "Main", "public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }", "main", "{\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<String> result = new ArrayList<>();", "result", "new ArrayList<>()", "result.add(sc.next())", "result.add", "result", "sc.next()", "sc.next", "sc", "for(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}", "int i=1;", "int i=1;", "i", "1", "i<N", "i", "N", "i++", "i++", "i", "{\n \t\tresult.add(sc.next());\n \t}", "{\n \t\tresult.add(sc.next());\n \t}", "result.add(sc.next())", "result.add", "result", "sc.next()", "sc.next", "sc", "Collections.sort(result)", "Collections.sort", "Collections", "result", "ArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));", "ans", "new ArrayList<String>(new HashSet<>(result))", "System.out.println(ans.size())", "System.out.println", "System.out", "System", "System.out", "ans.size()", "ans.size", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "Main" ]
import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.Collections; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); //コード // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); int N = sc.nextInt(); ArrayList<String> result = new ArrayList<>(); result.add(sc.next()); // for(int i=1;i<N;i++) { // System.out.println(i); // String next = sc.next(); // boolean chk = true; // for(String j:result) { // if(next.equals(j)) { // chk = false; // break; // } // } // if(chk) { // result.add(next); // Collections.sort(result); // } // } for(int i=1;i<N;i++) { result.add(sc.next()); } Collections.sort(result); ArrayList<String> ans = new ArrayList<String>(new HashSet<>(result)); System.out.println(ans.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 17, 40, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 92, 8 ], [ 92, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 51 ], [ 51, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 53, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 68, 80 ], [ 80, 81 ], [ 81, 82 ], [ 11, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 9, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] strList = new String[n];\n for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }\n \n Arrays.sort(strList);\n int count = 0;\n\n count++;\n for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }\n System.out.println(count);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] strList = new String[n];\n for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }\n \n Arrays.sort(strList);\n int count = 0;\n\n count++;\n for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }\n System.out.println(count);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] strList = new String[n];\n for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }\n \n Arrays.sort(strList);\n int count = 0;\n\n count++;\n for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }\n System.out.println(count);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] strList = new String[n];\n for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }\n \n Arrays.sort(strList);\n int count = 0;\n\n count++;\n for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }\n System.out.println(count);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] strList = new String[n];", "strList", "new String[n]", "n", "for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n strList[i] = sc.next();\n }", "{\n strList[i] = sc.next();\n }", "strList[i] = sc.next()", "strList[i]", "strList", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(strList)", "Arrays.sort", "Arrays", "strList", "int count = 0;", "count", "0", "count++", "count", "for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i<n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }", "{\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }", "if(!strList[i].equals(strList[i+1])){\n count++;\n }", "!strList[i].equals(strList[i+1])", "strList[i].equals(strList[i+1])", "strList[i].equals", "strList[i]", "strList", "i", "strList[i+1]", "strList", "i+1", "i", "1", "{\n count++;\n }", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "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[] strList = new String[n];\n for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }\n \n Arrays.sort(strList);\n int count = 0;\n\n count++;\n for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }\n System.out.println(count);\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[] strList = new String[n];\n for(int i = 0; i<n; i++){\n strList[i] = sc.next();\n }\n \n Arrays.sort(strList);\n int count = 0;\n\n count++;\n for(int i = 0; i<n-1; i++){\n if(!strList[i].equals(strList[i+1])){\n count++;\n }\n }\n System.out.println(count);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] strList = new String[n]; for(int i = 0; i<n; i++){ strList[i] = sc.next(); } Arrays.sort(strList); int count = 0; count++; for(int i = 0; i<n-1; i++){ if(!strList[i].equals(strList[i+1])){ count++; } } System.out.println(count); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 17, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 40, 13, 4, 18, 13, 13, 17, 4, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 29, 4, 18, 13, 29, 17, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 30, 0, 13, 4, 18, 13, 14, 2, 13, 17, 30, 29, 17, 0, 13, 20, 29, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 168, 8 ], [ 168, 9 ], [ 9, 10 ], [ 9, 11 ], [ 168, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 14, 58 ], [ 58, 59 ], [ 59, 60 ], [ 12, 61 ], [ 61, 62 ], [ 168, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 63, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 73, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 63, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 63, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 111, 112 ], [ 63, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 63, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 125, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 124, 137 ], [ 137, 138 ], [ 63, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 141, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 141, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 159 ], [ 159, 160 ], [ 160, 161 ], [ 141, 162 ], [ 162, 163 ], [ 162, 164 ], [ 141, 165 ], [ 165, 166 ], [ 0, 167 ], [ 167, 168 ], [ 167, 169 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n HashMap<String,Integer> map=new HashMap<String,Integer>();\n int c=0;\n int t=sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }\n out.println(c);\n out.close();\n }\n\n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n HashMap<String,Integer> map=new HashMap<String,Integer>();\n int c=0;\n int t=sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }\n out.println(c);\n out.close();\n }\n\n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}", "Main", "static PrintWriter out=new PrintWriter((System.out));", "out", "new PrintWriter((System.out))", "public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n HashMap<String,Integer> map=new HashMap<String,Integer>();\n int c=0;\n int t=sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }\n out.println(c);\n out.close();\n }", "main", "{\n Reader sc=new Reader();\n HashMap<String,Integer> map=new HashMap<String,Integer>();\n int c=0;\n int t=sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }\n out.println(c);\n out.close();\n }", "Reader sc=new Reader();", "sc", "new Reader()", "HashMap<String,Integer> map=new HashMap<String,Integer>();", "map", "new HashMap<String,Integer>()", "int c=0;", "c", "0", "int t=sc.nextInt();", "t", "sc.nextInt()", "sc.nextInt", "sc", "while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }", "t-->0", "t--", "t", "0", "{\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }", "String s=sc.next();", "s", "sc.next()", "sc.next", "sc", "if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }", "!map.containsKey(s)", "map.containsKey(s)", "map.containsKey", "map", "s", "{\n c++;\n map.put(s,0);\n }", "c++", "c", "map.put(s,0)", "map.put", "map", "s", "0", "out.println(c)", "out.println", "out", "c", "out.close()", "out.close", "out", "String args[]", "args", "static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n }", "Reader", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st=new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }", "try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }", "catch(Exception e)\n {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st=new StringTokenizer(br.readLine());\n }", "st=new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int nextInt()\n {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public long nextLong()\n {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public double nextDouble()\n {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }", "nextLine", "{\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }", "try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }", "catch(Exception e)\n {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n return br.readLine();\n }", "return br.readLine();", "br.readLine()", "br.readLine", "br", "return null;", "null", "public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }", "hasNext", "{\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }", "String next=null;", "next", "null", "try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }", "catch(Exception e)\n {\n }", "Exception e", "{\n }", "{\n next=br.readLine();\n }", "next=br.readLine()", "next", "br.readLine()", "br.readLine", "br", "if(next==null)\n {\n return false;\n }", "next==null", "next", "null", "{\n return false;\n }", "return false;", "false", "st=new StringTokenizer(next)", "st", "new StringTokenizer(next)", "return true;", "true", "public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n HashMap<String,Integer> map=new HashMap<String,Integer>();\n int c=0;\n int t=sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }\n out.println(c);\n out.close();\n }\n\n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}", "public class Main\n{\n static PrintWriter out=new PrintWriter((System.out));\n public static void main(String args[])throws IOException\n {\n Reader sc=new Reader();\n HashMap<String,Integer> map=new HashMap<String,Integer>();\n int c=0;\n int t=sc.nextInt();\n while(t-->0)\n {\n String s=sc.next();\n if(!map.containsKey(s))\n {\n c++;\n map.put(s,0);\n }\n }\n out.println(c);\n out.close();\n }\n\n static class Reader \n { \n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n StringTokenizer st=new StringTokenizer(\"\");\n public String next()\n {\n while(!st.hasMoreTokens())\n {\n try\n {\n st=new StringTokenizer(br.readLine());\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n public int nextInt()\n {\n return Integer.parseInt(next());\n }\n\n public long nextLong()\n {\n return Long.parseLong(next());\n }\n\n public double nextDouble()\n {\n return Double.parseDouble(next());\n }\n\n public String nextLine()\n {\n try\n {\n return br.readLine();\n }\n catch(Exception e)\n {\n e.printStackTrace();\n }\n return null;\n }\n\n public boolean hasNext()\n {\n String next=null;\n try\n {\n next=br.readLine();\n }\n catch(Exception e)\n {\n }\n if(next==null)\n {\n return false;\n }\n st=new StringTokenizer(next);\n return true;\n }\n } \n}", "Main" ]
import java.io.*; import java.util.*; public class Main { static PrintWriter out=new PrintWriter((System.out)); public static void main(String args[])throws IOException { Reader sc=new Reader(); HashMap<String,Integer> map=new HashMap<String,Integer>(); int c=0; int t=sc.nextInt(); while(t-->0) { String s=sc.next(); if(!map.containsKey(s)) { c++; map.put(s,0); } } out.println(c); out.close(); } static class Reader { BufferedReader br=new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st=new StringTokenizer(""); public String next() { while(!st.hasMoreTokens()) { try { st=new StringTokenizer(br.readLine()); } catch(Exception e) { e.printStackTrace(); } } return st.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } public long nextLong() { return Long.parseLong(next()); } public double nextDouble() { return Double.parseDouble(next()); } public String nextLine() { try { return br.readLine(); } catch(Exception e) { e.printStackTrace(); } return null; } public boolean hasNext() { String next=null; try { next=br.readLine(); } catch(Exception e) { } if(next==null) { return false; } st=new StringTokenizer(next); return true; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 18, 13, 17, 41, 13, 4, 18, 13, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 2, 13, 17, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 2, 13, 17, 18, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 4, 18, 13, 4, 18, 13, 29, 4, 18, 13, 20, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 124, 5 ], [ 124, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 8, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 8, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 74, 81 ], [ 81, 82 ], [ 81, 83 ], [ 72, 84 ], [ 84, 85 ], [ 85, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ], [ 124, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 104, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 113, 114 ], [ 97, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 120, 121 ], [ 121, 122 ], [ 0, 123 ], [ 123, 124 ], [ 123, 125 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int n = Integer.parseInt(str);\n String[] sss = new String[n];\n int nums = 1;\n for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n } \n Arrays.sort(sss);\n for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }\n System.out.println(nums);\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int n = Integer.parseInt(str);\n String[] sss = new String[n];\n int nums = 1;\n for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n } \n Arrays.sort(sss);\n for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }\n System.out.println(nums);\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int n = Integer.parseInt(str);\n String[] sss = new String[n];\n int nums = 1;\n for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n } \n Arrays.sort(sss);\n for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }\n System.out.println(nums);\n }", "main", "{\n String[] lines = getStdin();\n String str = lines[0];\n int n = Integer.parseInt(str);\n String[] sss = new String[n];\n int nums = 1;\n for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n } \n Arrays.sort(sss);\n for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }\n System.out.println(nums);\n }", "String[] lines = getStdin();", "lines", "getStdin()", "getStdin", "String str = lines[0];", "str", "lines[0]", "lines", "0", "int n = Integer.parseInt(str);", "n", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "String[] sss = new String[n];", "sss", "new String[n]", "n", "int nums = 1;", "nums", "1", "for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n sss[i - 1] = lines[i];\n }", "{\n sss[i - 1] = lines[i];\n }", "sss[i - 1] = lines[i]", "sss[i - 1]", "sss", "i - 1", "i", "1", "lines[i]", "lines", "i", "Arrays.sort(sss)", "Arrays.sort", "Arrays", "sss", "for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }", "int j = 1;", "int j = 1;", "j", "1", "j <= n - 1", "j", "n - 1", "n", "1", "j++", "j++", "j", "{\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }", "{\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }", "if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }", "!(sss[j-1].equals(sss[j]))", "(sss[j-1].equals(sss[j]))", "sss[j-1].equals", "sss[j-1]", "sss", "j-1", "j", "1", "sss[j]", "sss", "j", "{\n nums++;\n }", "nums++", "nums", "System.out.println(nums)", "System.out.println", "System.out", "System", "System.out", "nums", "String[] args", "args", "private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }", "getStdin", "{\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "ArrayList<String> lines = new ArrayList<>();", "lines", "new ArrayList<>()", "while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }", "scanner.hasNext()", "scanner.hasNext", "scanner", "{\n lines.add(scanner.nextLine());\n }", "lines.add(scanner.nextLine())", "lines.add", "lines", "scanner.nextLine()", "scanner.nextLine", "scanner", "return lines.toArray(new String[lines.size()]);", "lines.toArray(new String[lines.size()])", "lines.toArray", "lines", "new String[lines.size()]", "lines.size()", "lines.size", "lines", "public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int n = Integer.parseInt(str);\n String[] sss = new String[n];\n int nums = 1;\n for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n } \n Arrays.sort(sss);\n for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }\n System.out.println(nums);\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n String[] lines = getStdin();\n String str = lines[0];\n int n = Integer.parseInt(str);\n String[] sss = new String[n];\n int nums = 1;\n for (int i = 1; i <= n; i++){\n sss[i - 1] = lines[i];\n } \n Arrays.sort(sss);\n for (int j = 1; j <= n - 1; j++){\n if(!(sss[j-1].equals(sss[j]))){\n nums++;\n }\n }\n System.out.println(nums);\n }\n private static String[] getStdin() {\n Scanner scanner = new Scanner(System.in);\n ArrayList<String> lines = new ArrayList<>();\n while (scanner.hasNext()) {\n lines.add(scanner.nextLine());\n }\n return lines.toArray(new String[lines.size()]);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { String[] lines = getStdin(); String str = lines[0]; int n = Integer.parseInt(str); String[] sss = new String[n]; int nums = 1; for (int i = 1; i <= n; i++){ sss[i - 1] = lines[i]; } Arrays.sort(sss); for (int j = 1; j <= n - 1; j++){ if(!(sss[j-1].equals(sss[j]))){ nums++; } } System.out.println(nums); } private static String[] getStdin() { Scanner scanner = new Scanner(System.in); ArrayList<String> lines = new ArrayList<>(); while (scanner.hasNext()) { lines.add(scanner.nextLine()); } return lines.toArray(new String[lines.size()]); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 0, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 0, 13, 17, 41, 13, 17, 11, 1, 0, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 0, 13, 13, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 104, 8 ], [ 104, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 11, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 11, 51 ], [ 51, 52 ], [ 51, 53 ], [ 11, 54 ], [ 54, 55 ], [ 54, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 57, 70 ], [ 71, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 72, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 72, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 11, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint n=scan.nextInt();\nString[] a=new String[n];\n\nint i=0;\nfor(i=0;i<n;i++){\n a[i]=scan.next();\n}\nArrays.sort(a);\n\ni=0;\nint sum=0;\nfor(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}\n \n\nSystem.out.println(sum+1);\n\n\n}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint n=scan.nextInt();\nString[] a=new String[n];\n\nint i=0;\nfor(i=0;i<n;i++){\n a[i]=scan.next();\n}\nArrays.sort(a);\n\ni=0;\nint sum=0;\nfor(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}\n \n\nSystem.out.println(sum+1);\n\n\n}\n}", "Main", "public static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint n=scan.nextInt();\nString[] a=new String[n];\n\nint i=0;\nfor(i=0;i<n;i++){\n a[i]=scan.next();\n}\nArrays.sort(a);\n\ni=0;\nint sum=0;\nfor(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}\n \n\nSystem.out.println(sum+1);\n\n\n}", "main", "{\nScanner scan=new Scanner(System.in);\nint n=scan.nextInt();\nString[] a=new String[n];\n\nint i=0;\nfor(i=0;i<n;i++){\n a[i]=scan.next();\n}\nArrays.sort(a);\n\ni=0;\nint sum=0;\nfor(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}\n \n\nSystem.out.println(sum+1);\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", "int i=0;", "i", "0", "for(i=0;i<n;i++){\n a[i]=scan.next();\n}", "i=0;", "i=0", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n a[i]=scan.next();\n}", "{\n a[i]=scan.next();\n}", "a[i]=scan.next()", "a[i]", "a", "i", "scan.next()", "scan.next", "scan", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "i=0", "i", "0", "int sum=0;", "sum", "0", "for(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}", "i=0;", "i=0", "i", "0", "i<n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}", "{\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}", "if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }", "a[i].equals(a[i+1])", "a[i].equals", "a[i]", "a", "i", "a[i+1]", "a", "i+1", "i", "1", "{\n sum=sum;\n }", "sum=sum", "sum", "sum", "{\n sum=sum+1;\n }", "sum=sum+1", "sum", "sum+1", "sum", "1", "System.out.println(sum+1)", "System.out.println", "System.out", "System", "System.out", "sum+1", "sum", "1", "String[] args", "args", "public class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint n=scan.nextInt();\nString[] a=new String[n];\n\nint i=0;\nfor(i=0;i<n;i++){\n a[i]=scan.next();\n}\nArrays.sort(a);\n\ni=0;\nint sum=0;\nfor(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}\n \n\nSystem.out.println(sum+1);\n\n\n}\n}", "public class Main{\npublic static void main(String[] args){\nScanner scan=new Scanner(System.in);\nint n=scan.nextInt();\nString[] a=new String[n];\n\nint i=0;\nfor(i=0;i<n;i++){\n a[i]=scan.next();\n}\nArrays.sort(a);\n\ni=0;\nint sum=0;\nfor(i=0;i<n-1;i++){\n if(a[i].equals(a[i+1])){\n sum=sum;\n }else{\n sum=sum+1;\n }\n}\n \n\nSystem.out.println(sum+1);\n\n\n}\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String[] args){ Scanner scan=new Scanner(System.in); int n=scan.nextInt(); String[] a=new String[n]; int i=0; for(i=0;i<n;i++){ a[i]=scan.next(); } Arrays.sort(a); i=0; int sum=0; for(i=0;i<n-1;i++){ if(a[i].equals(a[i+1])){ sum=sum; }else{ sum=sum+1; } } System.out.println(sum+1); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 40, 13, 4, 18, 13, 13, 4, 18, 13, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 13, 41, 13, 2, 13, 17, 42, 2, 13, 13, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 40, 13, 40, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 13, 41, 13, 2, 13, 17, 42, 2, 13, 13, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 40, 13, 40, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 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, 4, 18, 13, 23, 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, 4, 18, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 2, 13, 18, 13, 13, 17, 2, 13, 18, 13, 13, 2, 13, 18, 13, 13, 23, 13, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 2, 13, 18, 13, 13, 17, 2, 13, 18, 13, 13, 2, 13, 18, 13, 13, 23, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 577, 8 ], [ 577, 9 ], [ 9, 10 ], [ 9, 11 ], [ 577, 12 ], [ 12, 13 ], [ 12, 14 ], [ 577, 15 ], [ 15, 16 ], [ 15, 17 ], [ 577, 18 ], [ 18, 19 ], [ 18, 20 ], [ 577, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 23, 30 ], [ 30, 31 ], [ 31, 32 ], [ 21, 33 ], [ 33, 34 ], [ 577, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 43, 45 ], [ 37, 46 ], [ 46, 47 ], [ 46, 48 ], [ 37, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 37, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 577, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 84, 99 ], [ 99, 100 ], [ 84, 101 ], [ 101, 102 ], [ 577, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 107, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 112, 115 ], [ 115, 116 ], [ 115, 117 ], [ 103, 118 ], [ 118, 119 ], [ 103, 120 ], [ 120, 121 ], [ 577, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 130, 132 ], [ 124, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 140, 142 ], [ 137, 143 ], [ 143, 144 ], [ 144, 145 ], [ 144, 146 ], [ 143, 147 ], [ 147, 148 ], [ 147, 149 ], [ 137, 150 ], [ 150, 151 ], [ 151, 152 ], [ 151, 153 ], [ 150, 154 ], [ 137, 155 ], [ 155, 156 ], [ 137, 157 ], [ 157, 158 ], [ 122, 159 ], [ 159, 160 ], [ 122, 161 ], [ 161, 162 ], [ 122, 163 ], [ 163, 164 ], [ 577, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 173, 175 ], [ 167, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 176, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 183, 185 ], [ 180, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 186, 190 ], [ 190, 191 ], [ 190, 192 ], [ 180, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 180, 198 ], [ 198, 199 ], [ 180, 200 ], [ 200, 201 ], [ 165, 202 ], [ 202, 203 ], [ 165, 204 ], [ 204, 205 ], [ 165, 206 ], [ 206, 207 ], [ 577, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 211, 216 ], [ 216, 217 ], [ 216, 218 ], [ 211, 219 ], [ 219, 220 ], [ 220, 221 ], [ 211, 222 ], [ 223, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 228, 229 ], [ 229, 230 ], [ 208, 231 ], [ 231, 232 ], [ 208, 233 ], [ 233, 234 ], [ 577, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 238, 243 ], [ 243, 244 ], [ 243, 245 ], [ 238, 246 ], [ 246, 247 ], [ 247, 248 ], [ 238, 249 ], [ 250, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 251, 255 ], [ 255, 256 ], [ 256, 257 ], [ 235, 258 ], [ 258, 259 ], [ 235, 260 ], [ 260, 261 ], [ 577, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 265, 270 ], [ 270, 271 ], [ 270, 272 ], [ 265, 273 ], [ 273, 274 ], [ 274, 275 ], [ 265, 276 ], [ 277, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 278, 282 ], [ 282, 283 ], [ 283, 284 ], [ 262, 285 ], [ 285, 286 ], [ 262, 287 ], [ 287, 288 ], [ 577, 289 ], [ 289, 290 ], [ 289, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 294, 296 ], [ 292, 297 ], [ 297, 298 ], [ 297, 299 ], [ 292, 300 ], [ 300, 301 ], [ 301, 302 ], [ 292, 303 ], [ 304, 304 ], [ 304, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 305, 310 ], [ 310, 311 ], [ 310, 312 ], [ 305, 313 ], [ 313, 314 ], [ 314, 315 ], [ 305, 316 ], [ 317, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 319, 323 ], [ 318, 324 ], [ 324, 325 ], [ 325, 326 ], [ 289, 327 ], [ 327, 328 ], [ 289, 329 ], [ 329, 330 ], [ 289, 331 ], [ 331, 332 ], [ 577, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 338, 339 ], [ 338, 340 ], [ 336, 341 ], [ 341, 342 ], [ 341, 343 ], [ 336, 344 ], [ 344, 345 ], [ 345, 346 ], [ 336, 347 ], [ 348, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 351, 352 ], [ 351, 353 ], [ 349, 354 ], [ 354, 355 ], [ 354, 356 ], [ 349, 357 ], [ 357, 358 ], [ 358, 359 ], [ 349, 360 ], [ 361, 361 ], [ 361, 362 ], [ 362, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 363, 367 ], [ 362, 368 ], [ 368, 369 ], [ 369, 370 ], [ 333, 371 ], [ 371, 372 ], [ 333, 373 ], [ 373, 374 ], [ 333, 375 ], [ 375, 376 ], [ 577, 377 ], [ 377, 378 ], [ 377, 379 ], [ 379, 380 ], [ 377, 381 ], [ 381, 382 ], [ 377, 383 ], [ 383, 384 ], [ 383, 385 ], [ 377, 386 ], [ 386, 387 ], [ 386, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 390, 392 ], [ 389, 393 ], [ 388, 394 ], [ 394, 395 ], [ 395, 396 ], [ 395, 397 ], [ 394, 398 ], [ 386, 399 ], [ 399, 400 ], [ 386, 401 ], [ 401, 402 ], [ 377, 403 ], [ 403, 404 ], [ 403, 405 ], [ 405, 406 ], [ 406, 407 ], [ 407, 408 ], [ 408, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 411, 413 ], [ 408, 414 ], [ 407, 415 ], [ 415, 416 ], [ 415, 417 ], [ 417, 418 ], [ 417, 419 ], [ 407, 420 ], [ 420, 421 ], [ 420, 422 ], [ 422, 423 ], [ 422, 424 ], [ 403, 425 ], [ 425, 426 ], [ 377, 427 ], [ 577, 428 ], [ 428, 429 ], [ 428, 430 ], [ 430, 431 ], [ 428, 432 ], [ 432, 433 ], [ 428, 434 ], [ 434, 435 ], [ 428, 436 ], [ 436, 437 ], [ 436, 438 ], [ 428, 439 ], [ 439, 440 ], [ 439, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 443, 445 ], [ 442, 446 ], [ 441, 447 ], [ 447, 448 ], [ 448, 449 ], [ 448, 450 ], [ 447, 451 ], [ 441, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 452, 456 ], [ 439, 457 ], [ 457, 458 ], [ 439, 459 ], [ 459, 460 ], [ 439, 461 ], [ 461, 462 ], [ 428, 463 ], [ 463, 464 ], [ 463, 465 ], [ 465, 466 ], [ 466, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 469, 471 ], [ 471, 472 ], [ 471, 473 ], [ 468, 474 ], [ 467, 475 ], [ 475, 476 ], [ 475, 477 ], [ 477, 478 ], [ 477, 479 ], [ 467, 480 ], [ 480, 481 ], [ 480, 482 ], [ 482, 483 ], [ 482, 484 ], [ 463, 485 ], [ 485, 486 ], [ 428, 487 ], [ 577, 488 ], [ 488, 489 ], [ 488, 490 ], [ 490, 491 ], [ 488, 492 ], [ 492, 493 ], [ 488, 494 ], [ 494, 495 ], [ 494, 496 ], [ 496, 497 ], [ 497, 498 ], [ 497, 499 ], [ 488, 500 ], [ 500, 501 ], [ 500, 502 ], [ 502, 503 ], [ 503, 504 ], [ 504, 505 ], [ 505, 506 ], [ 505, 507 ], [ 504, 508 ], [ 508, 509 ], [ 509, 510 ], [ 510, 511 ], [ 503, 512 ], [ 512, 513 ], [ 513, 514 ], [ 514, 515 ], [ 514, 516 ], [ 516, 517 ], [ 517, 518 ], [ 518, 519 ], [ 513, 520 ], [ 520, 521 ], [ 521, 522 ], [ 521, 523 ], [ 502, 524 ], [ 524, 525 ], [ 525, 526 ], [ 526, 527 ], [ 488, 528 ], [ 528, 529 ], [ 528, 530 ], [ 530, 531 ], [ 531, 532 ], [ 532, 533 ], [ 533, 534 ], [ 532, 535 ], [ 535, 536 ], [ 488, 537 ], [ 537, 538 ], [ 537, 539 ], [ 539, 540 ], [ 540, 541 ], [ 541, 542 ], [ 542, 543 ], [ 541, 544 ], [ 544, 545 ], [ 488, 546 ], [ 546, 547 ], [ 546, 548 ], [ 548, 549 ], [ 549, 550 ], [ 550, 551 ], [ 551, 552 ], [ 550, 553 ], [ 553, 554 ], [ 488, 555 ], [ 555, 556 ], [ 555, 557 ], [ 557, 558 ], [ 558, 559 ], [ 558, 560 ], [ 557, 561 ], [ 561, 562 ], [ 562, 563 ], [ 562, 564 ], [ 564, 565 ], [ 565, 566 ], [ 566, 567 ], [ 561, 568 ], [ 568, 569 ], [ 569, 570 ], [ 569, 571 ], [ 571, 572 ], [ 572, 573 ], [ 557, 574 ], [ 574, 575 ], [ 0, 576 ], [ 576, 577 ], [ 576, 578 ] ]
[ "// No sorceries shall prevail. // \nimport java.util.*;\nimport java.io.*;\npublic class Main {\n\t//Variables\n\tstatic long mod = 1000000007;\n\tstatic long mod2 = 998244353;\n\tstatic FastReader inp= new FastReader();\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tint n=inp.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tout.println(gg);\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t// Classes\n\tstatic class Edge implements Comparable<Edge>{\n\t\tint l,r;\n\t\tEdge(){}\n\t\tEdge(int l,int r){\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}\n\t}\n\t\n static class Segment implements Comparable<Segment> {\n\t\tlong l, r, initialIndex;\n\t\tSegment () {}\n\t\tSegment (long l_, long r_, long d_) {\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Segment o) {\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}\n }\n \n static class FastReader { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next() { \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt() { \n return Integer.parseInt(next()); \n } \n long nextLong() { \n return Long.parseLong(next()); \n } \n double nextDouble() { \n return Double.parseDouble(next()); \n } \n String nextLine() { \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n } \n } \n \n // Functions\n\tstatic long gcd(long a, long b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\tstatic int gcd(int a, int b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\t\n\tvoid reverse(long[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n void reverse(int[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n \n //Input Arrays\n static void input(long a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}\n\t}\n\tstatic void input(int a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}\n\t}\t\n\tstatic void input(String s[],int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}\n\t}\n\tstatic void input(int a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}\n\t}\n\tstatic void input(long a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}\n\t}\n\t\t\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\t//Variables\n\tstatic long mod = 1000000007;\n\tstatic long mod2 = 998244353;\n\tstatic FastReader inp= new FastReader();\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tint n=inp.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tout.println(gg);\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t// Classes\n\tstatic class Edge implements Comparable<Edge>{\n\t\tint l,r;\n\t\tEdge(){}\n\t\tEdge(int l,int r){\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}\n\t}\n\t\n static class Segment implements Comparable<Segment> {\n\t\tlong l, r, initialIndex;\n\t\tSegment () {}\n\t\tSegment (long l_, long r_, long d_) {\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Segment o) {\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}\n }\n \n static class FastReader { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next() { \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt() { \n return Integer.parseInt(next()); \n } \n long nextLong() { \n return Long.parseLong(next()); \n } \n double nextDouble() { \n return Double.parseDouble(next()); \n } \n String nextLine() { \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n } \n } \n \n // Functions\n\tstatic long gcd(long a, long b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\tstatic int gcd(int a, int b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\t\n\tvoid reverse(long[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n void reverse(int[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n \n //Input Arrays\n static void input(long a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}\n\t}\n\tstatic void input(int a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}\n\t}\t\n\tstatic void input(String s[],int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}\n\t}\n\tstatic void input(int a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}\n\t}\n\tstatic void input(long a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}\n\t}\n\t\t\n}", "Main", "//Variables\n\tstatic long mod = 1000000007;", "mod", "1000000007", "static long mod2 = 998244353;", "mod2", "998244353", "static FastReader inp= new FastReader();", "inp", "new FastReader()", "static PrintWriter out= new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}", "main", "{\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}", "Main g=new Main();", "g", "new Main()", "g.main()", "g.main", "g", "out.close()", "out.close", "out", "String args[]", "args", "//Main\n\tvoid main() {\n\t\t\n\t\tint n=inp.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tout.println(gg);\n\t}", "main", "{\n\t\t\n\t\tint n=inp.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tout.println(gg);\n\t}", "int n=inp.nextInt();", "n", "inp.nextInt()", "inp.nextInt", "inp", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "int gg=0;", "gg", "0", "for(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\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 s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}", "{\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}", "String s=inp.next();", "s", "inp.next()", "inp.next", "inp", "if(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}", "!set.contains(s)", "set.contains(s)", "set.contains", "set", "s", "{\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}", "gg++", "gg", "set.add(s)", "set.add", "set", "s", "out.println(gg)", "out.println", "out", "gg", "// Functions\n\tstatic long gcd(long a, long b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}", "gcd", "{ \n\t\treturn b==0?a:gcd(b,a%b);\n\t}", "return b==0?a:gcd(b,a%b);", "b==0?a:gcd(b,a%b)", "b==0", "b", "0", "a", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "long a", "a", "long b", "b", "static int gcd(int a, int b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}", "gcd", "{ \n\t\treturn b==0?a:gcd(b,a%b);\n\t}", "return b==0?a:gcd(b,a%b);", "b==0?a:gcd(b,a%b)", "b==0", "b", "0", "a", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "void reverse(long[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }", "reverse", "{\n int i=l,j=r-1;\n while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }", "int i=l", "i", "l", "j=r-1;", "j", "r-1", "r", "1", "while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }", "i<j", "i", "j", "{\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }", "long t=A[i];", "t", "A[i]", "A", "i", "A[i]=A[j]", "A[i]", "A", "i", "A[j]", "A", "j", "A[j]=t", "A[j]", "A", "j", "t", "i++", "i", "j--", "j", "long[] A", "A", "int l", "l", "int r", "r", "void reverse(int[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }", "reverse", "{\n int i=l,j=r-1;\n while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }", "int i=l", "i", "l", "j=r-1;", "j", "r-1", "r", "1", "while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }", "i<j", "i", "j", "{\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }", "int t=A[i];", "t", "A[i]", "A", "i", "A[i]=A[j]", "A[i]", "A", "i", "A[j]", "A", "j", "A[j]=t", "A[j]", "A", "j", "t", "i++", "i", "j--", "j", "int[] A", "A", "int l", "l", "int r", "r", "//Input Arrays\n static void input(long a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}\n\t}", "input", "{\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}\n\t}", "for(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta[i]=inp.nextLong();\n\t\t}", "{\n\t\t\ta[i]=inp.nextLong();\n\t\t}", "a[i]=inp.nextLong()", "a[i]", "a", "i", "inp.nextLong()", "inp.nextLong", "inp", "long a[]", "a", "int n", "n", "static void input(int a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}\n\t}", "input", "{\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}\n\t}", "for(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\ta[i]=inp.nextInt();\n\t\t}", "{\n\t\t\ta[i]=inp.nextInt();\n\t\t}", "a[i]=inp.nextInt()", "a[i]", "a", "i", "inp.nextInt()", "inp.nextInt", "inp", "int a[]", "a", "int n", "n", "static void input(String s[],int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}\n\t}", "input", "{\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}\n\t}", "for(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\ts[i]=inp.next();\n\t\t}", "{\n\t\t\ts[i]=inp.next();\n\t\t}", "s[i]=inp.next()", "s[i]", "s", "i", "inp.next()", "inp.next", "inp", "String s[]", "s", "int n", "n", "static void input(int a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}\n\t}", "input", "{\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}\n\t}", "for(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}", "{\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}", "a[i][j]=inp.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "inp.nextInt()", "inp.nextInt", "inp", "int a[][]", "a", "int n", "n", "int m", "m", "static void input(long a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}\n\t}", "input", "{\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}\n\t}", "for(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}", "{\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}", "for(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "{\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}", "{\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}", "a[i][j]=inp.nextLong()", "a[i][j]", "a[i]", "a", "i", "j", "inp.nextLong()", "inp.nextLong", "inp", "long a[][]", "a", "int n", "n", "int m", "m", "static class Edge implements Comparable<Edge>{\n\t\tint l,r;\n\t\tEdge(){}\n\t\tEdge(int l,int r){\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}\n\t}", "Edge", "int l", "l", "r;", "r", "Edge(){}", "Edge", "{}", "Edge(int l,int r){\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}", "Edge", "{\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}", "this.l=l", "this.l", "this", "this.l", "l", "this.r=r", "this.r", "this", "this.r", "r", "int l", "l", "int r", "r", "@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}", "compareTo", "{\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}", "return (l-e.l)!=0?l-e.l:r-e.r;", "(l-e.l)!=0?l-e.l:r-e.r", "(l-e.l)!=0", "(l-e.l)", "l", "e.l", "e", "e.l", "0", "l-e.l", "l", "e.l", "e", "e.l", "r-e.r", "r", "e.r", "e", "e.r", "Edge e", "e", "Comparable", "static class Segment implements Comparable<Segment> {\n\t\tlong l, r, initialIndex;\n\t\tSegment () {}\n\t\tSegment (long l_, long r_, long d_) {\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Segment o) {\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}\n }", "Segment", "long l", "l", "r", "r", "initialIndex;", "initialIndex", "Segment () {}", "Segment", "{}", "Segment (long l_, long r_, long d_) {\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}", "Segment", "{\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}", "this.l = l_", "this.l", "this", "this.l", "l_", "this.r = r_", "this.r", "this", "this.r", "r_", "this.initialIndex = d_", "this.initialIndex", "this", "this.initialIndex", "d_", "long l_", "l_", "long r_", "r_", "long d_", "d_", "@Override\n\t\tpublic int compareTo(Segment o) {\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}", "compareTo", "{\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}", "return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);", "(int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex)", "(l - o.l) !=0", "(l - o.l)", "l", "o.l", "o", "o.l", "0", "l-o.l", "l", "o.l", "o", "o.l", "initialIndex - o.initialIndex", "initialIndex", "o.initialIndex", "o", "o.initialIndex", "Segment o", "o", "Comparable", "static class FastReader { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next() { \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt() { \n return Integer.parseInt(next()); \n } \n long nextLong() { \n return Long.parseLong(next()); \n } \n double nextDouble() { \n return Double.parseDouble(next()); \n } \n String nextLine() { \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n } \n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n }", "FastReader", "{ \n br = new BufferedReader(new InputStreamReader(System.in)); \n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() { \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }", "next", "{ \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n }", "while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n }", "st==null || !st.hasMoreElements()", "st==null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{ \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n }", "try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n }", "catch (IOException e) { \n e.printStackTrace(); \n }", "IOException e", "{ \n e.printStackTrace(); \n }", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n st = new StringTokenizer(br.readLine()); \n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() { \n return Integer.parseInt(next()); \n }", "nextInt", "{ \n return Integer.parseInt(next()); \n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() { \n return Long.parseLong(next()); \n }", "nextLong", "{ \n return Long.parseLong(next()); \n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() { \n return Double.parseDouble(next()); \n }", "nextDouble", "{ \n return Double.parseDouble(next()); \n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() { \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n }", "nextLine", "{ \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n }", "String s=\"\";", "s", "\"\"", "try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n }", "catch (IOException e) { \n e.printStackTrace(); \n }", "IOException e", "{ \n e.printStackTrace(); \n }", "e.printStackTrace()", "e.printStackTrace", "e", "{ \n s=br.readLine(); \n }", "s=br.readLine()", "s", "br.readLine()", "br.readLine", "br", "return s;", "s", "public class Main {\n\t//Variables\n\tstatic long mod = 1000000007;\n\tstatic long mod2 = 998244353;\n\tstatic FastReader inp= new FastReader();\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tint n=inp.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tout.println(gg);\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t// Classes\n\tstatic class Edge implements Comparable<Edge>{\n\t\tint l,r;\n\t\tEdge(){}\n\t\tEdge(int l,int r){\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}\n\t}\n\t\n static class Segment implements Comparable<Segment> {\n\t\tlong l, r, initialIndex;\n\t\tSegment () {}\n\t\tSegment (long l_, long r_, long d_) {\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Segment o) {\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}\n }\n \n static class FastReader { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next() { \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt() { \n return Integer.parseInt(next()); \n } \n long nextLong() { \n return Long.parseLong(next()); \n } \n double nextDouble() { \n return Double.parseDouble(next()); \n } \n String nextLine() { \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n } \n } \n \n // Functions\n\tstatic long gcd(long a, long b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\tstatic int gcd(int a, int b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\t\n\tvoid reverse(long[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n void reverse(int[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n \n //Input Arrays\n static void input(long a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}\n\t}\n\tstatic void input(int a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}\n\t}\t\n\tstatic void input(String s[],int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}\n\t}\n\tstatic void input(int a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}\n\t}\n\tstatic void input(long a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}\n\t}\n\t\t\n}", "public class Main {\n\t//Variables\n\tstatic long mod = 1000000007;\n\tstatic long mod2 = 998244353;\n\tstatic FastReader inp= new FastReader();\n\tstatic PrintWriter out= new PrintWriter(System.out);\n\tpublic static void main(String args[]) {\t\t \t\n\t \tMain g=new Main();\n\t \tg.main();\n\t \tout.close();\n\t}\n\t\n\t//Main\n\tvoid main() {\n\t\t\n\t\tint n=inp.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\tint gg=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=inp.next();\n\t\t\tif(!set.contains(s)){\n\t\t\t\tgg++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tout.println(gg);\n\t}\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t\n\t// Classes\n\tstatic class Edge implements Comparable<Edge>{\n\t\tint l,r;\n\t\tEdge(){}\n\t\tEdge(int l,int r){\n\t\t\tthis.l=l;\n\t\t\tthis.r=r;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Edge e) {\n\t\t\treturn (l-e.l)!=0?l-e.l:r-e.r;\n\t\t}\n\t}\n\t\n static class Segment implements Comparable<Segment> {\n\t\tlong l, r, initialIndex;\n\t\tSegment () {}\n\t\tSegment (long l_, long r_, long d_) {\n\t\t this.l = l_;\n\t\t this.r = r_;\n\t\t this.initialIndex = d_;\n\t\t}\n\t\t@Override\n\t\tpublic int compareTo(Segment o) {\n\t\t return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex);\n\t\t}\n }\n \n static class FastReader { \n BufferedReader br; \n StringTokenizer st; \n \n public FastReader() { \n br = new BufferedReader(new InputStreamReader(System.in)); \n } \n String next() { \n while (st==null || !st.hasMoreElements()) { \n try { \n st = new StringTokenizer(br.readLine()); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n } \n return st.nextToken(); \n } \n int nextInt() { \n return Integer.parseInt(next()); \n } \n long nextLong() { \n return Long.parseLong(next()); \n } \n double nextDouble() { \n return Double.parseDouble(next()); \n } \n String nextLine() { \n String s=\"\"; \n try { \n s=br.readLine(); \n } \n catch (IOException e) { \n e.printStackTrace(); \n } \n return s; \n } \n } \n \n // Functions\n\tstatic long gcd(long a, long b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\tstatic int gcd(int a, int b) { \n\t\treturn b==0?a:gcd(b,a%b);\n\t}\n\t\n\tvoid reverse(long[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n long t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n void reverse(int[] A,int l,int r) {\n int i=l,j=r-1;\n while(i<j) {\n int t=A[i];\n A[i]=A[j];\n A[j]=t;\n i++;j--;\n }\n }\n \n //Input Arrays\n static void input(long a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextLong();\n\t\t}\n\t}\n\tstatic void input(int a[], int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ta[i]=inp.nextInt();\n\t\t}\n\t}\t\n\tstatic void input(String s[],int n) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i]=inp.next();\n\t\t}\n\t}\n\tstatic void input(int a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextInt();\n\t\t\t}\n\t\t}\n\t}\n\tstatic void input(long a[][], int n, int m) {\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tfor(int j=0;j<m;j++) {\n\t\t\t\ta[i][j]=inp.nextLong();\n\t\t\t}\n\t\t}\n\t}\n\t\t\n}", "Main" ]
// No sorceries shall prevail. // import java.util.*; import java.io.*; public class Main { //Variables static long mod = 1000000007; static long mod2 = 998244353; static FastReader inp= new FastReader(); static PrintWriter out= new PrintWriter(System.out); public static void main(String args[]) { Main g=new Main(); g.main(); out.close(); } //Main void main() { int n=inp.nextInt(); HashSet<String> set = new HashSet<>(); int gg=0; for(int i=0;i<n;i++) { String s=inp.next(); if(!set.contains(s)){ gg++; set.add(s); } } out.println(gg); } // Classes static class Edge implements Comparable<Edge>{ int l,r; Edge(){} Edge(int l,int r){ this.l=l; this.r=r; } @Override public int compareTo(Edge e) { return (l-e.l)!=0?l-e.l:r-e.r; } } static class Segment implements Comparable<Segment> { long l, r, initialIndex; Segment () {} Segment (long l_, long r_, long d_) { this.l = l_; this.r = r_; this.initialIndex = d_; } @Override public int compareTo(Segment o) { return (int)((l - o.l) !=0 ? l-o.l : initialIndex - o.initialIndex); } } static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st==null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String s=""; try { s=br.readLine(); } catch (IOException e) { e.printStackTrace(); } return s; } } // Functions static long gcd(long a, long b) { return b==0?a:gcd(b,a%b); } static int gcd(int a, int b) { return b==0?a:gcd(b,a%b); } void reverse(long[] A,int l,int r) { int i=l,j=r-1; while(i<j) { long t=A[i]; A[i]=A[j]; A[j]=t; i++;j--; } } void reverse(int[] A,int l,int r) { int i=l,j=r-1; while(i<j) { int t=A[i]; A[i]=A[j]; A[j]=t; i++;j--; } } //Input Arrays static void input(long a[], int n) { for(int i=0;i<n;i++) { a[i]=inp.nextLong(); } } static void input(int a[], int n) { for(int i=0;i<n;i++) { a[i]=inp.nextInt(); } } static void input(String s[],int n) { for(int i=0;i<n;i++) { s[i]=inp.next(); } } static void input(int a[][], int n, int m) { for(int i=0;i<n;i++) { for(int j=0;j<m;j++) { a[i][j]=inp.nextInt(); } } } static void input(long a[][], int n, int m) { for(int i=0;i<n;i++) { for(int j=0;j<m;j++) { a[i][j]=inp.nextLong(); } } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 38, 5, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 61, 8 ], [ 61, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 25, 26 ], [ 26, 27 ], [ 19, 28 ], [ 28, 29 ], [ 28, 30 ], [ 19, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 19, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 9, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main{\n public static void main(String[] args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n public static void main(String[] args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\n }\n }\n}", "Main", "public static void main(String[] args)throws Exception{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\n }\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\n }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\n }", "catch(Exception e){\n }", "Exception e", "{\n }", "{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }", "int N = Integer.parseInt(br.readLine());", "N", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n set.add(br.readLine());\n }", "{\n set.add(br.readLine());\n }", "set.add(br.readLine())", "set.add", "set", "br.readLine()", "br.readLine", "br", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "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 try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\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 try{\n int N = Integer.parseInt(br.readLine());\n Set<String> set = new HashSet<>();\n for(int i = 0; i < N; i++){\n set.add(br.readLine());\n }\n System.out.println(set.size());\n }catch(Exception e){\n }\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ public static void main(String[] args)throws Exception{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); try{ int N = Integer.parseInt(br.readLine()); Set<String> set = new HashSet<>(); for(int i = 0; i < N; i++){ set.add(br.readLine()); } System.out.println(set.size()); }catch(Exception e){ } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 41, 13, 17, 28, 13, 13, 30, 30, 41, 13, 17, 14, 4, 18, 13, 13, 30, 0, 13, 2, 4, 18, 13, 13, 17, 40, 13, 30, 0, 13, 17, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 2, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 94, 8 ], [ 94, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 50, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 63, 72 ], [ 72, 73 ], [ 58, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 54, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 78, 82 ], [ 11, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 9, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "import java.util.Scanner;\nimport java.util.HashMap;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int N = sc.nextInt();\n String[] B = new String[(int)(N)];\n \n for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }\n HashMap<String, Integer> m = new HashMap<String, Integer>();\n int a = 0;\n for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }\n \n System.out.println(N - a);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int N = sc.nextInt();\n String[] B = new String[(int)(N)];\n \n for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }\n HashMap<String, Integer> m = new HashMap<String, Integer>();\n int a = 0;\n for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }\n \n System.out.println(N - a);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int N = sc.nextInt();\n String[] B = new String[(int)(N)];\n \n for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }\n HashMap<String, Integer> m = new HashMap<String, Integer>();\n int a = 0;\n for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }\n \n System.out.println(N - a);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int N = sc.nextInt();\n String[] B = new String[(int)(N)];\n \n for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }\n HashMap<String, Integer> m = new HashMap<String, Integer>();\n int a = 0;\n for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }\n \n System.out.println(N - a);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] B = new String[(int)(N)];", "B", "new String[(int)(N)]", "(int)(N)", "for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n B[i] = sc.next();\n \n }", "{\n B[i] = sc.next();\n \n }", "B[i] = sc.next()", "B[i]", "B", "i", "sc.next()", "sc.next", "sc", "HashMap<String, Integer> m = new HashMap<String, Integer>();", "m", "new HashMap<String, Integer>()", "int a = 0;", "a", "0", "for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }", "String s", "B", "{\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }", "{\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }", "int v = 0;", "v", "0", "if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }", "m.containsKey(s)", "m.containsKey", "m", "s", "{\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n }", "v = m.get(s) + 1", "v", "m.get(s) + 1", "m.get(s)", "m.get", "m", "s", "1", "a++", "a", "{\n // Mapに未登録\n v = 1;\n }", "v = 1", "v", "1", "m.put(s, v)", "m.put", "m", "s", "v", "System.out.println(N - a)", "System.out.println", "System.out", "System", "System.out", "N - a", "N", "a", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int N = sc.nextInt();\n String[] B = new String[(int)(N)];\n \n for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }\n HashMap<String, Integer> m = new HashMap<String, Integer>();\n int a = 0;\n for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }\n \n System.out.println(N - a);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n \n int N = sc.nextInt();\n String[] B = new String[(int)(N)];\n \n for(int i = 0 ; i < N ; i++){\n B[i] = sc.next();\n \n }\n HashMap<String, Integer> m = new HashMap<String, Integer>();\n int a = 0;\n for (String s : B) {\n int v = 0;\n if (m.containsKey(s)) {\n // Mapに登録済み\n v = m.get(s) + 1;\n a++;\n } else {\n // Mapに未登録\n v = 1;\n }\n m.put(s, v);\n }\n \n System.out.println(N - a);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.HashMap; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] B = new String[(int)(N)]; for(int i = 0 ; i < N ; i++){ B[i] = sc.next(); } HashMap<String, Integer> m = new HashMap<String, Integer>(); int a = 0; for (String s : B) { int v = 0; if (m.containsKey(s)) { // Mapに登録済み v = m.get(s) + 1; a++; } else { // Mapに未登録 v = 1; } m.put(s, v); } System.out.println(N - a); } }
[ 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, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 86, 11 ], [ 86, 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, 30 ], [ 30, 31 ], [ 30, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 14, 53 ], [ 53, 54 ], [ 54, 55 ], [ 14, 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 ], [ 14, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 12, 83 ], [ 83, 84 ], [ 0, 85 ], [ 85, 86 ], [ 85, 87 ] ]
[ "import java.util.LinkedHashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\t\tString[] S = new String[N];\n\t\tSet<String> list = new LinkedHashSet<String>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(list.size());\n\t\t\n\t}\n\n}", "import java.util.LinkedHashSet;", "LinkedHashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "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 = Integer.parseInt(sc.next());\n\t\tString[] S = new String[N];\n\t\tSet<String> list = new LinkedHashSet<String>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(list.size());\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 = Integer.parseInt(sc.next());\n\t\tString[] S = new String[N];\n\t\tSet<String> list = new LinkedHashSet<String>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(list.size());\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\t\tString[] S = new String[N];\n\t\tSet<String> list = new LinkedHashSet<String>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(list.size());\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = Integer.parseInt(sc.next());", "N", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "String[] S = new String[N];", "S", "new String[N]", "N", "Set<String> list = new LinkedHashSet<String>();", "list", "new LinkedHashSet<String>()", "for(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\t S[i] = sc.next();\n\t\t}", "{\n\t\t\t S[i] = sc.next();\n\t\t}", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "for(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\t list.add(S[i]);\n\t\t}", "{\n\t\t\t list.add(S[i]);\n\t\t}", "list.add(S[i])", "list.add", "list", "S[i]", "S", "i", "System.out.println(list.size())", "System.out.println", "System.out", "System", "System.out", "list.size()", "list.size", "list", "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 = Integer.parseInt(sc.next());\n\t\tString[] S = new String[N];\n\t\tSet<String> list = new LinkedHashSet<String>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(list.size());\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 = Integer.parseInt(sc.next());\n\t\tString[] S = new String[N];\n\t\tSet<String> list = new LinkedHashSet<String>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t S[i] = sc.next();\n\t\t}\n\t\tsc.close();\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t list.add(S[i]);\n\t\t}\n\t\t\n\t\tSystem.out.println(list.size());\n\t\t\n\t}\n\n}", "Main" ]
import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); String[] S = new String[N]; Set<String> list = new LinkedHashSet<String>(); for(int i = 0; i < N; i++) { S[i] = sc.next(); } sc.close(); for(int i = 0; i < N; i++) { list.add(S[i]); } System.out.println(list.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 4, 18, 20, 4, 18, 13, 4, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 143, 8 ], [ 143, 9 ], [ 9, 10 ], [ 9, 11 ], [ 143, 12 ], [ 12, 13 ], [ 12, 14 ], [ 143, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 17, 21 ], [ 21, 22 ], [ 22, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 15, 28 ], [ 28, 29 ], [ 143, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 32, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 143, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 64, 68 ], [ 68, 69 ], [ 64, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 70, 79 ], [ 79, 80 ], [ 64, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 84, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 94, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 83, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 64, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 115, 116 ], [ 64, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 124, 125 ], [ 64, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 130, 133 ], [ 133, 134 ], [ 64, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int a = in.nextInt();\n HashSet<String> set = new HashSet<>();\n while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }\n System.out.print(set.size());\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int a = in.nextInt();\n HashSet<String> set = new HashSet<>();\n while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }\n System.out.print(set.size());\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}", "Main", "public static InputReader in = new InputReader( System.in );", "in", "new InputReader( System.in )", "public static PrintWriter out = new PrintWriter( System.out );", "out", "new PrintWriter( System.out )", "public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }", "main", "{\n\n new Main().solve();\n out.close();\n System.exit(0);\n }", "new Main().solve()", "new Main().solve", "new Main()", "out.close()", "out.close", "out", "System.exit(0)", "System.exit", "System", "0", "String[] atgs", "atgs", "private void solve() {\n int a = in.nextInt();\n HashSet<String> set = new HashSet<>();\n while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }\n System.out.print(set.size());\n }", "solve", "{\n int a = in.nextInt();\n HashSet<String> set = new HashSet<>();\n while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }\n System.out.print(set.size());\n }", "int a = in.nextInt();", "a", "in.nextInt()", "in.nextInt", "in", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }", "a-->0", "a--", "a", "0", "{\n String str = in.next();\n set.add(str);\n }", "String str = in.next();", "str", "in.next()", "in.next", "in", "set.add(str)", "set.add", "set", "str", "System.out.print(set.size())", "System.out.print", "System.out", "System", "System.out", "set.size()", "set.size", "set", "static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }", "InputReader", "public BufferedReader reader;", "reader", "public StringTokenizer tokenizer;", "tokenizer", "public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }", "InputReader", "{\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }", "reader = new BufferedReader( new InputStreamReader( stream ), 32768 )", "reader", "new BufferedReader( new InputStreamReader( stream ), 32768 )", "tokenizer = null", "tokenizer", "null", "InputStream stream", "stream", "public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }", "next", "{\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }", "while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens( )", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens( )", "tokenizer.hasMoreTokens( )", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }", "try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }", "catch ( IOException e ) {\n throw new RuntimeException( e );\n }", "IOException e", "{\n throw new RuntimeException( e );\n }", "throw new RuntimeException( e );", "new RuntimeException( e )", "{\n tokenizer = new StringTokenizer( reader.readLine( ) );\n }", "tokenizer = new StringTokenizer( reader.readLine( ) )", "tokenizer", "new StringTokenizer( reader.readLine( ) )", "return tokenizer.nextToken( );", "tokenizer.nextToken( )", "tokenizer.nextToken", "tokenizer", "public int nextInt() {\n return Integer.parseInt( next( ) );\n }", "nextInt", "{\n return Integer.parseInt( next( ) );\n }", "return Integer.parseInt( next( ) );", "Integer.parseInt( next( ) )", "Integer.parseInt", "Integer", "next( )", "next", "public long nextLong() {\n return Long.parseLong( next( ) );\n }", "nextLong", "{\n return Long.parseLong( next( ) );\n }", "return Long.parseLong( next( ) );", "Long.parseLong( next( ) )", "Long.parseLong", "Long", "next( )", "next", "public double nextDouble() {\n return Double.parseDouble( next( ) );\n }", "nextDouble", "{\n return Double.parseDouble( next( ) );\n }", "return Double.parseDouble( next( ) );", "Double.parseDouble( next( ) )", "Double.parseDouble", "Double", "next( )", "next", "public String nextLine() throws IOException {\n return reader.readLine( );\n }", "nextLine", "{\n return reader.readLine( );\n }", "return reader.readLine( );", "reader.readLine( )", "reader.readLine", "reader", "public class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int a = in.nextInt();\n HashSet<String> set = new HashSet<>();\n while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }\n System.out.print(set.size());\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}", "public class Main {\n\n\n public static InputReader in = new InputReader( System.in );\n public static PrintWriter out = new PrintWriter( System.out );\n public static void main( String[] atgs ) {\n\n new Main().solve();\n out.close();\n System.exit(0);\n }\n\n\n private void solve() {\n int a = in.nextInt();\n HashSet<String> set = new HashSet<>();\n while(a-->0)\n {\n String str = in.next();\n set.add(str);\n }\n System.out.print(set.size());\n }\n\n //Solution ends\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader( InputStream stream ) {\n reader = new BufferedReader( new InputStreamReader( stream ), 32768 );\n tokenizer = null;\n }\n\n public String next() {\n while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) {\n try {\n tokenizer = new StringTokenizer( reader.readLine( ) );\n } catch ( IOException e ) {\n throw new RuntimeException( e );\n }\n }\n return tokenizer.nextToken( );\n }\n\n public int nextInt() {\n return Integer.parseInt( next( ) );\n }\n\n public long nextLong() {\n return Long.parseLong( next( ) );\n }\n\n public double nextDouble() {\n return Double.parseDouble( next( ) );\n }\n\n public String nextLine() throws IOException {\n return reader.readLine( );\n }\n }\n\n\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static InputReader in = new InputReader( System.in ); public static PrintWriter out = new PrintWriter( System.out ); public static void main( String[] atgs ) { new Main().solve(); out.close(); System.exit(0); } private void solve() { int a = in.nextInt(); HashSet<String> set = new HashSet<>(); while(a-->0) { String str = in.next(); set.add(str); } System.out.print(set.size()); } //Solution ends static class InputReader { public BufferedReader reader; public StringTokenizer tokenizer; public InputReader( InputStream stream ) { reader = new BufferedReader( new InputStreamReader( stream ), 32768 ); tokenizer = null; } public String next() { while ( tokenizer == null || !tokenizer.hasMoreTokens( ) ) { try { tokenizer = new StringTokenizer( reader.readLine( ) ); } catch ( IOException e ) { throw new RuntimeException( e ); } } return tokenizer.nextToken( ); } public int nextInt() { return Integer.parseInt( next( ) ); } public long nextLong() { return Long.parseLong( next( ) ); } public double nextDouble() { return Double.parseDouble( next( ) ); } public String nextLine() throws IOException { return reader.readLine( ); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 42, 5 ], [ 42, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 37, 38 ], [ 6, 39 ], [ 39, 40 ], [ 0, 41 ], [ 41, 42 ], [ 41, 43 ] ]
[ "\t\n\timport java.util.*;\n\t\n\tpublic class Main {\n\t public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t Set<String> set = new HashSet<>();\n\t\t\twhile(n-->0) set.add(sc.next());\n\t\t\tSystem.out.println(set.size());\n\t}\n}\n\t", "import java.util.*;", "util.*", "java", "public class Main {\n\t public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t Set<String> set = new HashSet<>();\n\t\t\twhile(n-->0) set.add(sc.next());\n\t\t\tSystem.out.println(set.size());\n\t}\n}", "Main", "public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t Set<String> set = new HashSet<>();\n\t\t\twhile(n-->0) set.add(sc.next());\n\t\t\tSystem.out.println(set.size());\n\t}", "main", "{\n\t Scanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t Set<String> set = new HashSet<>();\n\t\t\twhile(n-->0) set.add(sc.next());\n\t\t\tSystem.out.println(set.size());\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "while(n-->0) set.add(sc.next());", "n-->0", "n--", "n", "0", "set.add(sc.next())", "set.add", "set", "sc.next()", "sc.next", "sc", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "public class Main {\n\t public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t Set<String> set = new HashSet<>();\n\t\t\twhile(n-->0) set.add(sc.next());\n\t\t\tSystem.out.println(set.size());\n\t}\n}", "public class Main {\n\t public static void main(String[] args) {\n\t Scanner sc = new Scanner(System.in);\n\t int n = sc.nextInt();\n\t Set<String> set = new HashSet<>();\n\t\t\twhile(n-->0) set.add(sc.next());\n\t\t\tSystem.out.println(set.size());\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Set<String> set = new HashSet<>(); while(n-->0) set.add(sc.next()); System.out.println(set.size()); } }
[ 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, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 91, 11 ], [ 91, 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, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 14, 51 ], [ 51, 52 ], [ 51, 53 ], [ 14, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 61, 63 ], [ 54, 64 ], [ 64, 65 ], [ 65, 66 ], [ 54, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 69, 80 ], [ 80, 81 ], [ 14, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 12, 88 ], [ 88, 89 ], [ 0, 90 ], [ 90, 91 ], [ 90, 92 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.math.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n //配列の定義.\n String a[] = new String[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }\n Arrays.sort(a);\n int ans = n;\n for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }\n System.out.println(ans);\n }\n}\n", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n //配列の定義.\n String a[] = new String[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }\n Arrays.sort(a);\n int ans = n;\n for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n //配列の定義.\n String a[] = new String[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }\n Arrays.sort(a);\n int ans = n;\n for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n //配列の定義.\n String a[] = new String[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }\n Arrays.sort(a);\n int ans = n;\n for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String a[] = new String[n];", "a", "new String[n]", "n", "for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = sc.next();\n }", "{\n a[i] = sc.next();\n }", "a[i] = sc.next()", "a[i]", "a", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int ans = n;", "ans", "n", "for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n - 1", "i", "n - 1", "n", "1", "i++", "i++", "i", "{\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }", "{\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }", "if(a[i].equals(a[i + 1])) ans--;", "a[i].equals(a[i + 1])", "a[i].equals", "a[i]", "a", "i", "a[i + 1]", "a", "i + 1", "i", "1", "ans--", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n //配列の定義.\n String a[] = new String[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }\n Arrays.sort(a);\n int ans = n;\n for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }\n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n //配列の定義.\n String a[] = new String[n];\n for(int i = 0; i < n; i++) {\n a[i] = sc.next();\n }\n Arrays.sort(a);\n int ans = n;\n for(int i = 0; i < n - 1; i++) {\n //文字列の比較\n //a[i] == a[i + 1]でなく .equals を使う.\n if(a[i].equals(a[i + 1])) ans--;\n }\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); //配列の定義. String a[] = new String[n]; for(int i = 0; i < n; i++) { a[i] = sc.next(); } Arrays.sort(a); int ans = n; for(int i = 0; i < n - 1; i++) { //文字列の比較 //a[i] == a[i + 1]でなく .equals を使う. if(a[i].equals(a[i + 1])) ans--; } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 53, 5 ], [ 53, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 37, 38 ], [ 8, 39 ], [ 39, 40 ], [ 40, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 6, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n Set<String> set = new HashSet<String>();\n for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }\n sc.close();\n System.out.println(set.size());\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 long n = sc.nextLong();\n Set<String> set = new HashSet<String>();\n for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }\n sc.close();\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n Set<String> set = new HashSet<String>();\n for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }\n sc.close();\n System.out.println(set.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n Set<String> set = new HashSet<String>();\n for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }\n sc.close();\n System.out.println(set.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long n = sc.nextLong();", "n", "sc.nextLong()", "sc.nextLong", "sc", "Set<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }", "long l = 0;", "long l = 0;", "l", "0", "l < n", "l", "n", "l++", "l++", "l", "{\n set.add(sc.next());\n }", "{\n set.add(sc.next());\n }", "set.add(sc.next())", "set.add", "set", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n Set<String> set = new HashSet<String>();\n for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }\n sc.close();\n System.out.println(set.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n Set<String> set = new HashSet<String>();\n for (long l = 0; l < n; l++) {\n set.add(sc.next());\n }\n sc.close();\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); Set<String> set = new HashSet<String>(); for (long l = 0; l < n; l++) { set.add(sc.next()); } sc.close(); System.out.println(set.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 13, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 29, 4, 18, 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 ], [ 101, 11 ], [ 101, 12 ], [ 12, 13 ], [ 12, 14 ], [ 101, 15 ], [ 15, 16 ], [ 15, 17 ], [ 101, 18 ], [ 18, 19 ], [ 18, 20 ], [ 101, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 23, 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 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 23, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 61, 64 ], [ 21, 65 ], [ 65, 66 ], [ 101, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 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 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 69, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 67, 96 ], [ 96, 97 ], [ 67, 98 ], [ 98, 99 ], [ 0, 100 ], [ 100, 101 ], [ 100, 102 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }\n\n System.out.println(solve(N, S));\n }\n\n private static int solve(int N, String[] S) {\n Set<String> set = new HashSet();\n\n for (int i=0; i<N; i++) {\n set.add(S[i]);\n }\n\n return set.size();\n }\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }\n\n System.out.println(solve(N, S));\n }\n\n private static int solve(int N, String[] S) {\n Set<String> set = new HashSet();\n\n for (int i=0; i<N; i++) {\n set.add(S[i]);\n }\n\n return set.size();\n }\n}", "Main", "private static final int MOD = 1_000_000_007;", "MOD", "1_000_000_007", "private static final String YES = \"Yes\";", "YES", "\"Yes\"", "private static final String NO = \"No\";", "NO", "\"No\"", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }\n\n System.out.println(solve(N, S));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }\n\n System.out.println(solve(N, S));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] S = new String[N];", "S", "new String[N]", "N", "for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n S[i] = sc.next();\n }", "{\n S[i] = sc.next();\n }", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "System.out.println(solve(N, S))", "System.out.println", "System.out", "System", "System.out", "solve(N, S)", "solve", "N", "S", "String[] args", "args", "private static int solve(int N, String[] S) {\n Set<String> set = new HashSet();\n\n for (int i=0; i<N; i++) {\n set.add(S[i]);\n }\n\n return set.size();\n }", "solve", "{\n Set<String> set = new HashSet();\n\n for (int i=0; i<N; i++) {\n set.add(S[i]);\n }\n\n return set.size();\n }", "Set<String> set = new HashSet();", "set", "new HashSet()", "for (int i=0; i<N; i++) {\n set.add(S[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n set.add(S[i]);\n }", "{\n set.add(S[i]);\n }", "set.add(S[i])", "set.add", "set", "S[i]", "S", "i", "return set.size();", "set.size()", "set.size", "set", "int N", "N", "String[] S", "S", "public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }\n\n System.out.println(solve(N, S));\n }\n\n private static int solve(int N, String[] S) {\n Set<String> set = new HashSet();\n\n for (int i=0; i<N; i++) {\n set.add(S[i]);\n }\n\n return set.size();\n }\n}", "public class Main {\n private static final int MOD = 1_000_000_007;\n private static final String YES = \"Yes\";\n private static final String NO = \"No\";\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i=0; i<N; i++) {\n S[i] = sc.next();\n }\n\n System.out.println(solve(N, S));\n }\n\n private static int solve(int N, String[] S) {\n Set<String> set = new HashSet();\n\n for (int i=0; i<N; i++) {\n set.add(S[i]);\n }\n\n return set.size();\n }\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { private static final int MOD = 1_000_000_007; private static final String YES = "Yes"; private static final String NO = "No"; public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] S = new String[N]; for (int i=0; i<N; i++) { S[i] = sc.next(); } System.out.println(solve(N, S)); } private static int solve(int N, String[] S) { Set<String> set = new HashSet(); for (int i=0; i<N; i++) { set.add(S[i]); } return set.size(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 17, 42, 2, 4, 18, 13, 17, 30, 0, 13, 4, 18, 13, 9, 29, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 4, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 18, 13, 13, 29, 13, 12, 13, 30, 41, 13, 4, 18, 4, 13, 17, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 18, 13, 13, 29, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 12, 13, 30, 4, 13, 41, 13, 4, 13, 4, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 13, 4, 18, 13, 2, 4, 18, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 193, 8 ], [ 193, 9 ], [ 9, 10 ], [ 193, 11 ], [ 11, 12 ], [ 193, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 16, 17 ], [ 16, 18 ], [ 15, 19 ], [ 19, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 20, 24 ], [ 19, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 15, 32 ], [ 32, 33 ], [ 193, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 34, 42 ], [ 42, 43 ], [ 193, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 44, 52 ], [ 52, 53 ], [ 193, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 59, 63 ], [ 56, 64 ], [ 64, 65 ], [ 64, 66 ], [ 67, 68 ], [ 67, 69 ], [ 56, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 70, 83 ], [ 84, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 91, 93 ], [ 56, 94 ], [ 94, 95 ], [ 193, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 101, 105 ], [ 98, 106 ], [ 106, 107 ], [ 106, 108 ], [ 109, 110 ], [ 109, 111 ], [ 98, 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 ], [ 128, 130 ], [ 127, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 98, 136 ], [ 136, 137 ], [ 193, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 144, 146 ], [ 193, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 149, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 149, 158 ], [ 158, 159 ], [ 158, 160 ], [ 149, 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 ], [ 174, 177 ], [ 177, 178 ], [ 149, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 182, 186 ], [ 149, 187 ], [ 187, 188 ], [ 188, 189 ], [ 147, 190 ], [ 190, 191 ], [ 0, 192 ], [ 192, 193 ], [ 192, 194 ] ]
[ "import java.util.*;\nimport java.io.*;\n\n public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n\n\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t int n=int_v(read());\n\t \t\t //int[] n=int_arr();\n\t \t\t //int nn[]=a[0],k=a[1];\n\t \t\t Set<String> ss=new HashSet<>();\n\t \t\t for(int i=0;i<n;i++){ss.add(read());}\n\t \t\t \tout.write(ss.size()+\"\");\n out.flush();\n\t \t\t \n\t}\n}\n\t \n\t \n\n\n\n\t\n \n\n\n", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n\n\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t int n=int_v(read());\n\t \t\t //int[] n=int_arr();\n\t \t\t //int nn[]=a[0],k=a[1];\n\t \t\t Set<String> ss=new HashSet<>();\n\t \t\t for(int i=0;i<n;i++){ss.add(read());}\n\t \t\t \tout.write(ss.size()+\"\");\n out.flush();\n\t \t\t \n\t}\n}", "Main", "// taking inputs\nstatic BufferedReader s1;", "s1", "static BufferedWriter out;", "out", "static String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}", "read", "{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}", "String line=\"\";", "line", "\"\"", "while(line.length()==0){line=s1.readLine();continue;}", "line.length()==0", "line.length()", "line.length", "line", "0", "{line=s1.readLine();continue;}", "line=s1.readLine()", "line", "s1.readLine()", "s1.readLine", "s1", "continue;", "return line;", "line", "static int int_v (String s1){return Integer.parseInt(s1);}", "int_v", "{return Integer.parseInt(s1);}", "return Integer.parseInt(s1);", "Integer.parseInt(s1)", "Integer.parseInt", "Integer", "s1", "String s1", "s1", "static long long_v(String s1){return Long.parseLong(s1);}", "long_v", "{return Long.parseLong(s1);}", "return Long.parseLong(s1);", "Long.parseLong(s1)", "Long.parseLong", "Long", "s1", "String s1", "s1", "static int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}", "int_arr", "{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}", "String[] a=read().split(\" \");", "a", "read().split(\" \")", "read().split", "read()", "read", "\" \"", "int[] b=new int[a.length];", "b", "new int[a.length]", "a.length", "a", "a.length", "for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}", "int i=0;", "int i=0;", "i", "0", "i<a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{b[i]=int_v(a[i]);}", "{b[i]=int_v(a[i]);}", "b[i]=int_v(a[i])", "b[i]", "b", "i", "int_v(a[i])", "int_v", "a[i]", "a", "i", "return b;", "b", "static long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}", "long_arr", "{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}", "String[] a=read().split(\" \");", "a", "read().split(\" \")", "read().split", "read()", "read", "\" \"", "long[] b=new long[a.length];", "b", "new long[a.length]", "a.length", "a", "a.length", "for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}", "int i=0;", "int i=0;", "i", "0", "i<a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "{b[i]=long_v(a[i]);}", "{b[i]=long_v(a[i]);}", "b[i]=long_v(a[i])", "b[i]", "b", "i", "long_v(a[i])", "long_v", "a[i]", "a", "i", "return b;", "b", "static void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}", "assign", "{s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}", "s1=new BufferedReader(new InputStreamReader(System.in))", "s1", "new BufferedReader(new InputStreamReader(System.in))", "out=new BufferedWriter(new OutputStreamWriter(System.out))", "out", "new BufferedWriter(new OutputStreamWriter(System.out))", "public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t int n=int_v(read());\n\t \t\t //int[] n=int_arr();\n\t \t\t //int nn[]=a[0],k=a[1];\n\t \t\t Set<String> ss=new HashSet<>();\n\t \t\t for(int i=0;i<n;i++){ss.add(read());}\n\t \t\t \tout.write(ss.size()+\"\");\n out.flush();\n\t \t\t \n\t}", "main", "{\n\t \t\t assign();\n\t \t\t int n=int_v(read());\n\t \t\t //int[] n=int_arr();\n\t \t\t //int nn[]=a[0],k=a[1];\n\t \t\t Set<String> ss=new HashSet<>();\n\t \t\t for(int i=0;i<n;i++){ss.add(read());}\n\t \t\t \tout.write(ss.size()+\"\");\n out.flush();\n\t \t\t \n\t}", "assign()", "assign", "int n=int_v(read());", "n", "int_v(read())", "int_v", "read()", "read", "Set<String> ss=new HashSet<>();", "ss", "new HashSet<>()", "for(int i=0;i<n;i++){ss.add(read());}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{ss.add(read());}", "{ss.add(read());}", "ss.add(read())", "ss.add", "ss", "read()", "read", "out.write(ss.size()+\"\")", "out.write", "out", "ss.size()+\"\"", "ss.size()", "ss.size", "ss", "\"\"", "out.flush()", "out.flush", "out", "String[] args", "args", "public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n\n\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t int n=int_v(read());\n\t \t\t //int[] n=int_arr();\n\t \t\t //int nn[]=a[0],k=a[1];\n\t \t\t Set<String> ss=new HashSet<>();\n\t \t\t for(int i=0;i<n;i++){ss.add(read());}\n\t \t\t \tout.write(ss.size()+\"\");\n out.flush();\n\t \t\t \n\t}\n}", "public class Main{\n// taking inputs\nstatic BufferedReader s1;\nstatic BufferedWriter out;\nstatic String read() throws IOException{String line=\"\";while(line.length()==0){line=s1.readLine();continue;}return line;}\nstatic int int_v (String s1){return Integer.parseInt(s1);}\nstatic long long_v(String s1){return Long.parseLong(s1);}\nstatic int[] int_arr() throws IOException{String[] a=read().split(\" \");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;}\nstatic long[] long_arr() throws IOException{String[] a=read().split(\" \");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;}\nstatic void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));}\n\n//......................................@uthor_Alx..............................................\n\n\n public static void main(String[] args) throws IOException{\n\t \t\t assign();\n\t \t\t int n=int_v(read());\n\t \t\t //int[] n=int_arr();\n\t \t\t //int nn[]=a[0],k=a[1];\n\t \t\t Set<String> ss=new HashSet<>();\n\t \t\t for(int i=0;i<n;i++){ss.add(read());}\n\t \t\t \tout.write(ss.size()+\"\");\n out.flush();\n\t \t\t \n\t}\n}", "Main" ]
import java.util.*; import java.io.*; public class Main{ // taking inputs static BufferedReader s1; static BufferedWriter out; static String read() throws IOException{String line="";while(line.length()==0){line=s1.readLine();continue;}return line;} static int int_v (String s1){return Integer.parseInt(s1);} static long long_v(String s1){return Long.parseLong(s1);} static int[] int_arr() throws IOException{String[] a=read().split(" ");int[] b=new int[a.length];for(int i=0;i<a.length;i++){b[i]=int_v(a[i]);}return b;} static long[] long_arr() throws IOException{String[] a=read().split(" ");long[] b=new long[a.length];for(int i=0;i<a.length;i++){b[i]=long_v(a[i]);}return b;} static void assign(){s1=new BufferedReader(new InputStreamReader(System.in));out=new BufferedWriter(new OutputStreamWriter(System.out));} //......................................@uthor_Alx.............................................. public static void main(String[] args) throws IOException{ assign(); int n=int_v(read()); //int[] n=int_arr(); //int nn[]=a[0],k=a[1]; Set<String> ss=new HashSet<>(); for(int i=0;i<n;i++){ss.add(read());} out.write(ss.size()+""); out.flush(); } }
[ 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, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 160, 20 ], [ 160, 21 ], [ 21, 22 ], [ 160, 23 ], [ 23, 24 ], [ 160, 25 ], [ 25, 26 ], [ 25, 27 ], [ 160, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 30, 39 ], [ 39, 40 ], [ 39, 41 ], [ 30, 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 ], [ 30, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 28, 69 ], [ 69, 70 ], [ 160, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 71, 75 ], [ 75, 76 ], [ 71, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 71, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 86, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 85, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 71, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 118, 119 ], [ 71, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 127, 128 ], [ 71, 129 ], [ 129, 130 ], [ 129, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 71, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 144, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 140, 157 ], [ 157, 158 ], [ 0, 159 ], [ 159, 160 ], [ 159, 161 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.Set;\nimport java.util.StringTokenizer;\n\npublic class Main {\n static Integer n, arr[];\n static long mod = 998244353;\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int n=sc.nextInt();\n Set<String> hs=new HashSet<>();\n for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\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", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static Integer n, arr[];\n static long mod = 998244353;\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int n=sc.nextInt();\n Set<String> hs=new HashSet<>();\n for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\n }\n}", "Main", "static Integer n", "n", "arr[];", "arr", "static long mod = 998244353;", "mod", "998244353", "public static void main(String[] args) {\n FastReader sc = new FastReader();\n int n=sc.nextInt();\n Set<String> hs=new HashSet<>();\n for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\n }", "main", "{\n FastReader sc = new FastReader();\n int n=sc.nextInt();\n Set<String> hs=new HashSet<>();\n for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\n }", "FastReader sc = new FastReader();", "sc", "new FastReader()", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> hs=new HashSet<>();", "hs", "new HashSet<>()", "for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n hs.add(sc.next());\n }", "{\n hs.add(sc.next());\n }", "hs.add(sc.next())", "hs.add", "hs", "sc.next()", "sc.next", "sc", "System.out.println(hs.size())", "System.out.println", "System.out", "System", "System.out", "hs.size()", "hs.size", "hs", "String[] args", "args", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }", "String str = \"\";", "str", "\"\"", "try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n str = br.readLine();\n }", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n static Integer n, arr[];\n static long mod = 998244353;\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int n=sc.nextInt();\n Set<String> hs=new HashSet<>();\n for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\n }\n}", "public class Main {\n static Integer n, arr[];\n static long mod = 998244353;\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreElements()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n\n int nextInt() {\n return Integer.parseInt(next());\n }\n\n long nextLong() {\n return Long.parseLong(next());\n }\n\n double nextDouble() {\n return Double.parseDouble(next());\n }\n\n String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n return str;\n }\n }\n\n public static void main(String[] args) {\n FastReader sc = new FastReader();\n int n=sc.nextInt();\n Set<String> hs=new HashSet<>();\n for (int i=0;i<n;i++)\n {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; import java.util.StringTokenizer; public class Main { static Integer n, arr[]; static long mod = 998244353; static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } int nextInt() { return Integer.parseInt(next()); } long nextLong() { return Long.parseLong(next()); } double nextDouble() { return Double.parseDouble(next()); } String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } return str; } } public static void main(String[] args) { FastReader sc = new FastReader(); int n=sc.nextInt(); Set<String> hs=new HashSet<>(); for (int i=0;i<n;i++) { hs.add(sc.next()); } System.out.println(hs.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 79, 8 ], [ 79, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 14, 16 ], [ 13, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 13, 22 ], [ 22, 23 ], [ 22, 24 ], [ 13, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 44, 45 ], [ 13, 46 ], [ 46, 47 ], [ 46, 48 ], [ 13, 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 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 13, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 9, 76 ], [ 76, 77 ], [ 0, 78 ], [ 78, 79 ], [ 78, 80 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }\n }\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }\n }\n}", "Main", "public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }\n }", "main", "{\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }\n }", "try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }", "{\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }", "Scanner sc = new Scanner(System.in)", "Scanner sc = new Scanner(System.in)", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] S = new String[N];", "S", "new String[N]", "N", "for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n S[i] = sc.next();\n }", "{\n S[i] = sc.next();\n }", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "HashSet<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n set.add(S[i]);\n }", "{\n set.add(S[i]);\n }", "set.add(S[i])", "set.add", "set", "S[i]", "S", "i", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n try (Scanner sc = new Scanner(System.in)) {\n int N = sc.nextInt();\n String[] S = new String[N];\n for (int i = 0; i < N; i++) {\n S[i] = sc.next();\n }\n\n HashSet<String> set = new HashSet<String>();\n for (int i = 0; i < N; i++) {\n set.add(S[i]);\n }\n System.out.println(set.size());\n }\n }\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner sc = new Scanner(System.in)) { int N = sc.nextInt(); String[] S = new String[N]; for (int i = 0; i < N; i++) { S[i] = sc.next(); } HashSet<String> set = new HashSet<String>(); for (int i = 0; i < N; i++) { set.add(S[i]); } System.out.println(set.size()); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 4, 13, 13, 12, 13, 30, 0, 13, 20, 13, 0, 13, 13, 0, 13, 17, 23, 13, 12, 13, 30, 4, 18, 13, 13, 17, 13, 17, 0, 13, 17, 12, 13, 30, 14, 2, 13, 13, 30, 37, 20, 0, 18, 13, 40, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 37, 20, 41, 13, 18, 13, 40, 13, 0, 18, 13, 13, 17, 29, 13, 12, 13, 30, 29, 2, 13, 17, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 2, 13, 18, 13, 13, 14, 2, 13, 2, 13, 17, 30, 0, 13, 2, 13, 17, 0, 13, 2, 13, 17, 29, 13, 12, 13, 30, 29, 18, 36, 13, 12, 13, 30, 41, 13, 4, 18, 18, 13, 40, 13, 40, 13, 29, 13, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 13, 14, 2, 2, 2, 4, 18, 13, 17, 2, 4, 18, 13, 17, 40, 4, 18, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 4, 18, 13, 17, 23, 13, 10, 6, 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 ], [ 4, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 4, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 28 ], [ 28, 29 ], [ 28, 30 ], [ 23, 31 ], [ 31, 32 ], [ 31, 33 ], [ 21, 34 ], [ 34, 35 ], [ 4, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 39, 43 ], [ 39, 44 ], [ 39, 45 ], [ 38, 46 ], [ 46, 47 ], [ 46, 48 ], [ 4, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 52, 56 ], [ 56, 57 ], [ 57, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 59, 64 ], [ 49, 65 ], [ 65, 66 ], [ 4, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 69, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 69, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 69, 88 ], [ 88, 89 ], [ 4, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 4, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 103, 111 ], [ 111, 112 ], [ 112, 113 ], [ 103, 114 ], [ 115, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 126, 128 ], [ 123, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 132, 134 ], [ 99, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 137, 139 ], [ 99, 140 ], [ 140, 141 ], [ 4, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 4, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 151, 160 ], [ 160, 161 ], [ 151, 162 ], [ 162, 163 ], [ 0, 164 ], [ 275, 165 ], [ 275, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 168, 177 ], [ 177, 178 ], [ 177, 179 ], [ 168, 180 ], [ 180, 181 ], [ 180, 182 ], [ 168, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 192, 193 ], [ 183, 194 ], [ 195, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 195, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 168, 205 ], [ 205, 206 ], [ 206, 207 ], [ 205, 208 ], [ 168, 209 ], [ 209, 210 ], [ 210, 211 ], [ 209, 212 ], [ 212, 213 ], [ 213, 214 ], [ 212, 215 ], [ 168, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 218, 220 ], [ 216, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 216, 226 ], [ 226, 227 ], [ 227, 228 ], [ 216, 229 ], [ 230, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 233, 236 ], [ 230, 237 ], [ 237, 238 ], [ 239, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 240, 244 ], [ 239, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 245, 249 ], [ 239, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 251, 256 ], [ 237, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 258, 261 ], [ 168, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 267, 268 ], [ 268, 269 ], [ 269, 270 ], [ 267, 271 ], [ 166, 272 ], [ 272, 273 ], [ 0, 274 ], [ 274, 275 ], [ 274, 276 ] ]
[ "import java.util.*;\n \nclass MyStack {\n private Object stack[];\n private int stackSize;\n private int sp;\n private static final int DEFAULT_STACK_SIZE = 300000;\n \n public MyStack(){\n this(DEFAULT_STACK_SIZE);\n }\n \n public MyStack(int size){\n stack = new Object[size];\n stackSize = size;\n sp = 0;\n }\n \n public void clear(){\n Arrays.fill(stack,0,sp,null);\n sp = 0;\n }\n \n public void push(Object x){\n if(sp >= stackSize){\n throw new IllegalStateException(\"Stack overflow\");\n }\n stack[sp++] = x;\n }\n \n public Object pop(){\n if(sp <= 0){\n throw new EmptyStackException();\n }\n Object value = stack[--sp];\n stack[sp] = null;\n return value;\n }\n \n public boolean isEmpty(){\n return sp == 0;\n }\n \n public String toString(){\n String s = \"MyStack=[\";\n for(int i = 0; i < sp; i++){\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }\n s = s + \"]\";\n return s;\n }\n public int size(){\n return this.sp;\n }\n public String getTopObjectName(){\n String s = stack[--sp].toString();\n sp++;\n return s;\n }\n}\npublic class Main {\n \n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt(); \n List<String> list = new ArrayList<String>();\n MyStack stack = new MyStack();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }\n Collections.sort(list);\n stack.push(list.remove(0));\n for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }\n System.out.println(stack.size()-1);\n }\n}", "import java.util.*;", "util.*", "java", "class MyStack {\n private Object stack[];\n private int stackSize;\n private int sp;\n private static final int DEFAULT_STACK_SIZE = 300000;\n \n public MyStack(){\n this(DEFAULT_STACK_SIZE);\n }\n \n public MyStack(int size){\n stack = new Object[size];\n stackSize = size;\n sp = 0;\n }\n \n public void clear(){\n Arrays.fill(stack,0,sp,null);\n sp = 0;\n }\n \n public void push(Object x){\n if(sp >= stackSize){\n throw new IllegalStateException(\"Stack overflow\");\n }\n stack[sp++] = x;\n }\n \n public Object pop(){\n if(sp <= 0){\n throw new EmptyStackException();\n }\n Object value = stack[--sp];\n stack[sp] = null;\n return value;\n }\n \n public boolean isEmpty(){\n return sp == 0;\n }\n \n public String toString(){\n String s = \"MyStack=[\";\n for(int i = 0; i < sp; i++){\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }\n s = s + \"]\";\n return s;\n }\n public int size(){\n return this.sp;\n }\n public String getTopObjectName(){\n String s = stack[--sp].toString();\n sp++;\n return s;\n }\n}", "MyStack", "private Object stack[];", "stack", "private int stackSize;", "stackSize", "private int sp;", "sp", "private static final int DEFAULT_STACK_SIZE = 300000;", "DEFAULT_STACK_SIZE", "300000", "public MyStack(){\n this(DEFAULT_STACK_SIZE);\n }", "MyStack", "{\n this(DEFAULT_STACK_SIZE);\n }", "this(DEFAULT_STACK_SIZE)", "this", "DEFAULT_STACK_SIZE", "public MyStack(int size){\n stack = new Object[size];\n stackSize = size;\n sp = 0;\n }", "MyStack", "{\n stack = new Object[size];\n stackSize = size;\n sp = 0;\n }", "stack = new Object[size]", "stack", "new Object[size]", "size", "stackSize = size", "stackSize", "size", "sp = 0", "sp", "0", "int size", "size", "public void clear(){\n Arrays.fill(stack,0,sp,null);\n sp = 0;\n }", "clear", "{\n Arrays.fill(stack,0,sp,null);\n sp = 0;\n }", "Arrays.fill(stack,0,sp,null)", "Arrays.fill", "Arrays", "stack", "0", "sp", "null", "sp = 0", "sp", "0", "public void push(Object x){\n if(sp >= stackSize){\n throw new IllegalStateException(\"Stack overflow\");\n }\n stack[sp++] = x;\n }", "push", "{\n if(sp >= stackSize){\n throw new IllegalStateException(\"Stack overflow\");\n }\n stack[sp++] = x;\n }", "if(sp >= stackSize){\n throw new IllegalStateException(\"Stack overflow\");\n }", "sp >= stackSize", "sp", "stackSize", "{\n throw new IllegalStateException(\"Stack overflow\");\n }", "throw new IllegalStateException(\"Stack overflow\");", "new IllegalStateException(\"Stack overflow\")", "stack[sp++] = x", "stack[sp++]", "stack", "sp++", "sp", "x", "Object x", "x", "public Object pop(){\n if(sp <= 0){\n throw new EmptyStackException();\n }\n Object value = stack[--sp];\n stack[sp] = null;\n return value;\n }", "pop", "{\n if(sp <= 0){\n throw new EmptyStackException();\n }\n Object value = stack[--sp];\n stack[sp] = null;\n return value;\n }", "if(sp <= 0){\n throw new EmptyStackException();\n }", "sp <= 0", "sp", "0", "{\n throw new EmptyStackException();\n }", "throw new EmptyStackException();", "new EmptyStackException()", "Object value = stack[--sp];", "value", "stack[--sp]", "stack", "--sp", "sp", "stack[sp] = null", "stack[sp]", "stack", "sp", "null", "return value;", "value", "public boolean isEmpty(){\n return sp == 0;\n }", "isEmpty", "{\n return sp == 0;\n }", "return sp == 0;", "sp == 0", "sp", "0", "public String toString(){\n String s = \"MyStack=[\";\n for(int i = 0; i < sp; i++){\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }\n s = s + \"]\";\n return s;\n }", "toString", "{\n String s = \"MyStack=[\";\n for(int i = 0; i < sp; i++){\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }\n s = s + \"]\";\n return s;\n }", "String s = \"MyStack=[\";", "s", "\"MyStack=[\"", "for(int i = 0; i < sp; i++){\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < sp", "i", "sp", "i++", "i++", "i", "{\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }", "{\n s = s + stack[i];\n if(i < sp - 1){\n s = s + \",\";\n }\n }", "s = s + stack[i]", "s", "s + stack[i]", "s", "stack[i]", "stack", "i", "if(i < sp - 1){\n s = s + \",\";\n }", "i < sp - 1", "i", "sp - 1", "sp", "1", "{\n s = s + \",\";\n }", "s = s + \",\"", "s", "s + \",\"", "s", "\",\"", "s = s + \"]\"", "s", "s + \"]\"", "s", "\"]\"", "return s;", "s", "public int size(){\n return this.sp;\n }", "size", "{\n return this.sp;\n }", "return this.sp;", "this.sp", "this", "this.sp", "public String getTopObjectName(){\n String s = stack[--sp].toString();\n sp++;\n return s;\n }", "getTopObjectName", "{\n String s = stack[--sp].toString();\n sp++;\n return s;\n }", "String s = stack[--sp].toString();", "s", "stack[--sp].toString()", "stack[--sp].toString", "stack[--sp]", "stack", "--sp", "sp", "sp++", "sp", "return s;", "s", "public class Main {\n \n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt(); \n List<String> list = new ArrayList<String>();\n MyStack stack = new MyStack();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }\n Collections.sort(list);\n stack.push(list.remove(0));\n for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }\n System.out.println(stack.size()-1);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt(); \n List<String> list = new ArrayList<String>();\n MyStack stack = new MyStack();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }\n Collections.sort(list);\n stack.push(list.remove(0));\n for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }\n System.out.println(stack.size()-1);\n }", "main", "{\n Scanner s = new Scanner(System.in);\n int a = s.nextInt(); \n List<String> list = new ArrayList<String>();\n MyStack stack = new MyStack();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }\n Collections.sort(list);\n stack.push(list.remove(0));\n for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }\n System.out.println(stack.size()-1);\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "MyStack stack = new MyStack();", "stack", "new MyStack()", "for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= a", "i", "a", "i++", "i++", "i", "{\n String x = s.nextLine();\n list.add(x);\n }", "{\n String x = s.nextLine();\n list.add(x);\n }", "String x = s.nextLine();", "x", "s.nextLine()", "s.nextLine", "s", "list.add(x)", "list.add", "list", "x", "Collections.sort(list)", "Collections.sort", "Collections", "list", "stack.push(list.remove(0))", "stack.push", "stack", "list.remove(0)", "list.remove", "list", "0", "for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }", "{\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }", "String mo = list.get(i);", "mo", "list.get(i)", "list.get", "list", "i", "if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }", "mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)", "mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)", "mo.length() <= 10", "mo.length()", "mo.length", "mo", "10", "mo.length() >= 1", "mo.length()", "mo.length", "mo", "1", "!stack.getTopObjectName().equals(mo)", "stack.getTopObjectName().equals(mo)", "stack.getTopObjectName().equals", "stack.getTopObjectName()", "stack.getTopObjectName", "stack", "mo", "{\n stack.push(mo);\n }", "stack.push(mo)", "stack.push", "stack", "mo", "System.out.println(stack.size()-1)", "System.out.println", "System.out", "System", "System.out", "stack.size()-1", "stack.size()", "stack.size", "stack", "1", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt(); \n List<String> list = new ArrayList<String>();\n MyStack stack = new MyStack();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }\n Collections.sort(list);\n stack.push(list.remove(0));\n for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }\n System.out.println(stack.size()-1);\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int a = s.nextInt(); \n List<String> list = new ArrayList<String>();\n MyStack stack = new MyStack();\n \n for(int i = 0; i <= a; i++){\n String x = s.nextLine();\n list.add(x);\n }\n Collections.sort(list);\n stack.push(list.remove(0));\n for(int i = 0; i < list.size(); i++){\n String mo = list.get(i);\n if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){\n stack.push(mo);\n }\n }\n System.out.println(stack.size()-1);\n }\n}", "Main" ]
import java.util.*; class MyStack { private Object stack[]; private int stackSize; private int sp; private static final int DEFAULT_STACK_SIZE = 300000; public MyStack(){ this(DEFAULT_STACK_SIZE); } public MyStack(int size){ stack = new Object[size]; stackSize = size; sp = 0; } public void clear(){ Arrays.fill(stack,0,sp,null); sp = 0; } public void push(Object x){ if(sp >= stackSize){ throw new IllegalStateException("Stack overflow"); } stack[sp++] = x; } public Object pop(){ if(sp <= 0){ throw new EmptyStackException(); } Object value = stack[--sp]; stack[sp] = null; return value; } public boolean isEmpty(){ return sp == 0; } public String toString(){ String s = "MyStack=["; for(int i = 0; i < sp; i++){ s = s + stack[i]; if(i < sp - 1){ s = s + ","; } } s = s + "]"; return s; } public int size(){ return this.sp; } public String getTopObjectName(){ String s = stack[--sp].toString(); sp++; return s; } } public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int a = s.nextInt(); List<String> list = new ArrayList<String>(); MyStack stack = new MyStack(); for(int i = 0; i <= a; i++){ String x = s.nextLine(); list.add(x); } Collections.sort(list); stack.push(list.remove(0)); for(int i = 0; i < list.size(); i++){ String mo = list.get(i); if(mo.length() <= 10 && mo.length() >= 1 && !stack.getTopObjectName().equals(mo)){ stack.push(mo); } } System.out.println(stack.size()-1); } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 56, 11 ], [ 56, 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 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 12, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSet<String> gift = new HashSet<>();\n\n\t\tint N=scan.nextInt();\n\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}\n\n\t\tSystem.out.println(gift.size());\n\n\t}\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSet<String> gift = new HashSet<>();\n\n\t\tint N=scan.nextInt();\n\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}\n\n\t\tSystem.out.println(gift.size());\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSet<String> gift = new HashSet<>();\n\n\t\tint N=scan.nextInt();\n\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}\n\n\t\tSystem.out.println(gift.size());\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tSet<String> gift = new HashSet<>();\n\n\t\tint N=scan.nextInt();\n\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}\n\n\t\tSystem.out.println(gift.size());\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "Set<String> gift = new HashSet<>();", "gift", "new HashSet<>()", "int N=scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tgift.add(scan.next());\n\t\t}", "{\n\t\t\tgift.add(scan.next());\n\t\t}", "gift.add(scan.next())", "gift.add", "gift", "scan.next()", "scan.next", "scan", "System.out.println(gift.size())", "System.out.println", "System.out", "System", "System.out", "gift.size()", "gift.size", "gift", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSet<String> gift = new HashSet<>();\n\n\t\tint N=scan.nextInt();\n\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}\n\n\t\tSystem.out.println(gift.size());\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tSet<String> gift = new HashSet<>();\n\n\t\tint N=scan.nextInt();\n\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tgift.add(scan.next());\n\t\t}\n\n\t\tSystem.out.println(gift.size());\n\n\t}\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); Set<String> gift = new HashSet<>(); int N=scan.nextInt(); for(int i = 0;i < N;i++) { gift.add(scan.next()); } System.out.println(gift.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 49, 5 ], [ 49, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 35, 36 ], [ 36, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 6, 46 ], [ 46, 47 ], [ 0, 48 ], [ 48, 49 ], [ 48, 50 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Set<String> list = new HashSet<>();\n for (int i = 0; i < a; i++) list.add(sc.next());\n System.out.println(list.size());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Set<String> list = new HashSet<>();\n for (int i = 0; i < a; i++) list.add(sc.next());\n System.out.println(list.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Set<String> list = new HashSet<>();\n for (int i = 0; i < a; i++) list.add(sc.next());\n System.out.println(list.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Set<String> list = new HashSet<>();\n for (int i = 0; i < a; i++) list.add(sc.next());\n System.out.println(list.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> list = new HashSet<>();", "list", "new HashSet<>()", "for (int i = 0; i < a; i++) list.add(sc.next());", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "list.add(sc.next());", "list.add(sc.next())", "list.add", "list", "sc.next()", "sc.next", "sc", "System.out.println(list.size())", "System.out.println", "System.out", "System", "System.out", "list.size()", "list.size", "list", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Set<String> list = new HashSet<>();\n for (int i = 0; i < a; i++) list.add(sc.next());\n System.out.println(list.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Set<String> list = new HashSet<>();\n for (int i = 0; i < a; i++) list.add(sc.next());\n System.out.println(list.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); Set<String> list = new HashSet<>(); for (int i = 0; i < a; i++) list.add(sc.next()); System.out.println(list.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 65, 5 ], [ 65, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 6, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\t\tString S[] = new String[N];\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\t\tString S[] = new String[N];\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n}", "Main", "public static void main(String args[]) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\t\tString S[] = new String[N];\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = Integer.parseInt(sc.next());\n\t\tString S[] = new String[N];\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = Integer.parseInt(sc.next());", "N", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "String S[] = new String[N];", "S", "new String[N]", "N", "Map<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "for(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}", "{\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "map.put(S[i], 1)", "map.put", "map", "S[i]", "S", "i", "1", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "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 = Integer.parseInt(sc.next());\n\t\tString S[] = new String[N];\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}\n\t\tSystem.out.println(map.size());\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 = Integer.parseInt(sc.next());\n\t\tString S[] = new String[N];\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS[i] = sc.next();\n\t\t\tmap.put(S[i], 1);\n\t\t}\n\t\tSystem.out.println(map.size());\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); String S[] = new String[N]; Map<String, Integer> map = new HashMap<String, Integer>(); for(int i = 0; i < N; i++) { S[i] = sc.next(); map.put(S[i], 1); } System.out.println(map.size()); } }
[ 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, 13, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 18, 13, 13, 17, 28, 13, 4, 18, 13, 30, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 78, 11 ], [ 78, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 14, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 56, 58 ], [ 53, 59 ], [ 14, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 60, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 14, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 12, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tString S[]=new String[N];\n\t\tint count=0;\n\t\tMap<String,Integer>map=new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}\n\t\tfor(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tString S[]=new String[N];\n\t\tint count=0;\n\t\tMap<String,Integer>map=new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}\n\t\tfor(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tString S[]=new String[N];\n\t\tint count=0;\n\t\tMap<String,Integer>map=new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}\n\t\tfor(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}", "main", "{\n\t\tScanner scan=new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tString S[]=new String[N];\n\t\tint count=0;\n\t\tMap<String,Integer>map=new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}\n\t\tfor(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}", "Scanner scan=new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N=scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "String S[]=new String[N];", "S", "new String[N]", "N", "int count=0;", "count", "0", "Map<String,Integer>map=new HashMap<String,Integer>();", "map", "new HashMap<String,Integer>()", "for(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}", "{\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}", "S[i]=scan.next()", "S[i]", "S", "i", "scan.next()", "scan.next", "scan", "map.put(S[i],1)", "map.put", "map", "S[i]", "S", "i", "1", "for(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}", "Integer val", "map.values()", "map.values", "map", "{\n\t\t\tcount++;\n\t\t}", "{\n\t\t\tcount++;\n\t\t}", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tString S[]=new String[N];\n\t\tint count=0;\n\t\tMap<String,Integer>map=new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}\n\t\tfor(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan=new Scanner(System.in);\n\t\tint N=scan.nextInt();\n\t\tString S[]=new String[N];\n\t\tint count=0;\n\t\tMap<String,Integer>map=new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++){\n\t\t\tS[i]=scan.next();\n\t\t\tmap.put(S[i],1);\n\t\t}\n\t\tfor(Integer val:map.values()){\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}", "Main" ]
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan=new Scanner(System.in); int N=scan.nextInt(); String S[]=new String[N]; int count=0; Map<String,Integer>map=new HashMap<String,Integer>(); for(int i=0;i<N;i++){ S[i]=scan.next(); map.put(S[i],1); } for(Integer val:map.values()){ count++; } System.out.println(count); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 94, 14 ], [ 94, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 17, 28 ], [ 28, 29 ], [ 28, 30 ], [ 17, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 17, 53 ], [ 53, 54 ], [ 53, 55 ], [ 17, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 56, 66 ], [ 66, 67 ], [ 67, 68 ], [ 56, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 17, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 17, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 15, 91 ], [ 91, 92 ], [ 0, 93 ], [ 93, 94 ], [ 93, 95 ] ]
[ "\nimport java.util.ArrayList;\nimport java.util.LinkedHashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\tpublic static void main (String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString n;\n\t\tArrayList<String> S = new ArrayList<>();\n\t\tfor(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}\n\t\t Set<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\t // 配列の要素を順にLinkedHashSetオブジェクトへ追加\n\t\t for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }\n\n\t\t // LinkedHashSetオブジェクトを配列に変換\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n//\t\tSystem.out.println(S.size());\n\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.LinkedHashSet;", "LinkedHashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\tpublic static void main (String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString n;\n\t\tArrayList<String> S = new ArrayList<>();\n\t\tfor(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}\n\t\t Set<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\t // 配列の要素を順にLinkedHashSetオブジェクトへ追加\n\t\t for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }\n\n\t\t // LinkedHashSetオブジェクトを配列に変換\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n//\t\tSystem.out.println(S.size());\n\n\t}\n}", "Main", "public static void main (String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString n;\n\t\tArrayList<String> S = new ArrayList<>();\n\t\tfor(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}\n\t\t Set<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\t // 配列の要素を順にLinkedHashSetオブジェクトへ追加\n\t\t for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }\n\n\t\t // LinkedHashSetオブジェクトを配列に変換\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n//\t\tSystem.out.println(S.size());\n\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString n;\n\t\tArrayList<String> S = new ArrayList<>();\n\t\tfor(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}\n\t\t Set<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\t // 配列の要素を順にLinkedHashSetオブジェクトへ追加\n\t\t for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }\n\n\t\t // LinkedHashSetオブジェクトを配列に変換\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n//\t\tSystem.out.println(S.size());\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "String n;", "n", "ArrayList<String> S = new ArrayList<>();", "S", "new ArrayList<>()", "for(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}", "{\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}", "n = scan.next()", "n", "scan.next()", "scan.next", "scan", "S.add(n)", "S.add", "S", "n", "Set<String> linkedHashSet = new LinkedHashSet<String>();", "linkedHashSet", "new LinkedHashSet<String>()", "for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }", "int i = 0;", "int i = 0;", "i", "0", "i < S.size()", "i", "S.size()", "S.size", "S", "i++", "i++", "i", "{\n\t\t linkedHashSet.add(S.get(i));\n\t\t }", "{\n\t\t linkedHashSet.add(S.get(i));\n\t\t }", "linkedHashSet.add(S.get(i))", "linkedHashSet.add", "linkedHashSet", "S.get(i)", "S.get", "S", "i", "Object[] strings_after = linkedHashSet.toArray();", "strings_after", "linkedHashSet.toArray()", "linkedHashSet.toArray", "linkedHashSet", "System.out.println(strings_after.length)", "System.out.println", "System.out", "System", "System.out", "strings_after.length", "strings_after", "strings_after.length", "String[] args", "args", "public class Main {\n\tpublic static void main (String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString n;\n\t\tArrayList<String> S = new ArrayList<>();\n\t\tfor(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}\n\t\t Set<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\t // 配列の要素を順にLinkedHashSetオブジェクトへ追加\n\t\t for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }\n\n\t\t // LinkedHashSetオブジェクトを配列に変換\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n//\t\tSystem.out.println(S.size());\n\n\t}\n}", "public class Main {\n\tpublic static void main (String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString n;\n\t\tArrayList<String> S = new ArrayList<>();\n\t\tfor(int i = 0; i<N; i++) {\n\t\t\tn = scan.next();\n//\t\t\tif(S.contains(n)==false) {\n\t\t\t\tS.add(n);\n//\t\t\t}\n\t\t}\n\t\t Set<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\t // 配列の要素を順にLinkedHashSetオブジェクトへ追加\n\t\t for (int i = 0; i < S.size(); i++) {\n\t\t linkedHashSet.add(S.get(i));\n\t\t }\n\n\t\t // LinkedHashSetオブジェクトを配列に変換\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n//\t\tSystem.out.println(S.size());\n\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main (String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); String n; ArrayList<String> S = new ArrayList<>(); for(int i = 0; i<N; i++) { n = scan.next(); // if(S.contains(n)==false) { S.add(n); // } } Set<String> linkedHashSet = new LinkedHashSet<String>(); // 配列の要素を順にLinkedHashSetオブジェクトへ追加 for (int i = 0; i < S.size(); i++) { linkedHashSet.add(S.get(i)); } // LinkedHashSetオブジェクトを配列に変換 Object[] strings_after = linkedHashSet.toArray(); System.out.println(strings_after.length); // System.out.println(S.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 56, 8 ], [ 56, 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 ], [ 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 ], [ 42, 44 ], [ 11, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 9, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "import java.util.*;\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 N = sc.nextInt();\n Set<String> set = new HashSet<String>();\n for(int i=0;i<N;i++) {\n set.add(sc.next());\n }\n List<String> list = new ArrayList<String>(set);\n System.out.println(list.size());\n }\n}", "import java.util.*;", "util.*", "java", "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 Set<String> set = new HashSet<String>();\n for(int i=0;i<N;i++) {\n set.add(sc.next());\n }\n List<String> list = new ArrayList<String>(set);\n System.out.println(list.size());\n }\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n Set<String> set = new HashSet<String>();\n for(int i=0;i<N;i++) {\n set.add(sc.next());\n }\n List<String> list = new ArrayList<String>(set);\n System.out.println(list.size());\n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n Set<String> set = new HashSet<String>();\n for(int i=0;i<N;i++) {\n set.add(sc.next());\n }\n List<String> list = new ArrayList<String>(set);\n System.out.println(list.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "for(int i=0;i<N;i++) {\n set.add(sc.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n set.add(sc.next());\n }", "{\n set.add(sc.next());\n }", "set.add(sc.next())", "set.add", "set", "sc.next()", "sc.next", "sc", "List<String> list = new ArrayList<String>(set);", "list", "new ArrayList<String>(set)", "System.out.println(list.size())", "System.out.println", "System.out", "System", "System.out", "list.size()", "list.size", "list", "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 Set<String> set = new HashSet<String>();\n for(int i=0;i<N;i++) {\n set.add(sc.next());\n }\n List<String> list = new ArrayList<String>(set);\n System.out.println(list.size());\n }\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n Set<String> set = new HashSet<String>();\n for(int i=0;i<N;i++) {\n set.add(sc.next());\n }\n List<String> list = new ArrayList<String>(set);\n System.out.println(list.size());\n }\n}", "Main" ]
import java.util.*; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Set<String> set = new HashSet<String>(); for(int i=0;i<N;i++) { set.add(sc.next()); } List<String> list = new ArrayList<String>(set); System.out.println(list.size()); } }
[ 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, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 72, 11 ], [ 72, 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 ], [ 23, 26 ], [ 26, 27 ], [ 27, 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 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 50, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 14, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 67, 68 ], [ 12, 69 ], [ 69, 70 ], [ 0, 71 ], [ 71, 72 ], [ 71, 73 ] ]
[ "import java.util.Map.Entry;\nimport java.util.*;\n\nimport org.w3c.dom.css.Counter;\n\npublic class Main {\n//public class App {\n\n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n HashSet<String> map = new HashSet<String>();\n final int ugeuge= Integer.parseInt(s.next());\n String tareget =\"\";\n\n for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }\n System.out.println(map.size());\n }\n}", "import java.util.Map.Entry;", "Entry", "java.util.Map", "import java.util.*;", "util.*", "java", "import org.w3c.dom.css.Counter;", "Counter", "org.w3c.dom.css", "public class Main {\n//public class App {\n\n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n HashSet<String> map = new HashSet<String>();\n final int ugeuge= Integer.parseInt(s.next());\n String tareget =\"\";\n\n for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }\n System.out.println(map.size());\n }\n}", "Main", "public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n HashSet<String> map = new HashSet<String>();\n final int ugeuge= Integer.parseInt(s.next());\n String tareget =\"\";\n\n for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }\n System.out.println(map.size());\n }", "main", "{\n //スキャン\n final Scanner s = new Scanner(System.in);\n HashSet<String> map = new HashSet<String>();\n final int ugeuge= Integer.parseInt(s.next());\n String tareget =\"\";\n\n for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }\n System.out.println(map.size());\n }", "final Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "HashSet<String> map = new HashSet<String>();", "map", "new HashSet<String>()", "final int ugeuge= Integer.parseInt(s.next());", "ugeuge", "Integer.parseInt(s.next())", "Integer.parseInt", "Integer", "s.next()", "s.next", "s", "String tareget =\"\";", "tareget", "\"\"", "for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i < ugeuge", "i", "ugeuge", "i++", "i++", "i", "{\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }", "{\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }", "tareget= s.next()", "tareget", "s.next()", "s.next", "s", "if(!map.contains(tareget)){\n map.add(tareget);\n }", "!map.contains(tareget)", "map.contains(tareget)", "map.contains", "map", "tareget", "{\n map.add(tareget);\n }", "map.add(tareget)", "map.add", "map", "tareget", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "final String[] args", "args", "public class Main {\n//public class App {\n\n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n HashSet<String> map = new HashSet<String>();\n final int ugeuge= Integer.parseInt(s.next());\n String tareget =\"\";\n\n for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }\n System.out.println(map.size());\n }\n}", "public class Main {\n//public class App {\n\n public static void main(final String[] args){\n //スキャン\n final Scanner s = new Scanner(System.in);\n HashSet<String> map = new HashSet<String>();\n final int ugeuge= Integer.parseInt(s.next());\n String tareget =\"\";\n\n for(int i=0;i < ugeuge ; i++){\n //Scanner hoge = new Scanner(System.in);\n //final String tareget = s.next();\n tareget= s.next();\n\n if(!map.contains(tareget)){\n map.add(tareget);\n }\n }\n System.out.println(map.size());\n }\n}", "Main" ]
import java.util.Map.Entry; import java.util.*; import org.w3c.dom.css.Counter; public class Main { //public class App { public static void main(final String[] args){ //スキャン final Scanner s = new Scanner(System.in); HashSet<String> map = new HashSet<String>(); final int ugeuge= Integer.parseInt(s.next()); String tareget =""; for(int i=0;i < ugeuge ; i++){ //Scanner hoge = new Scanner(System.in); //final String tareget = s.next(); tareget= s.next(); if(!map.contains(tareget)){ map.add(tareget); } } System.out.println(map.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 42, 2, 40, 13, 17, 30, 4, 13, 41, 13, 4, 18, 13, 4, 18, 13, 2, 2, 17, 2, 2, 13, 13, 17, 17, 4, 13, 17, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 4, 18, 4, 18, 13, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 17, 12, 13, 30, 4, 18, 13, 17, 12, 13, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 2, 13, 13, 11, 1, 41, 13, 13, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 2, 13, 13, 11, 1, 41, 13, 13, 2, 13, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 402, 26 ], [ 402, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 402, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 402, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 402, 42 ], [ 42, 43 ], [ 42, 44 ], [ 402, 45 ], [ 45, 46 ], [ 45, 47 ], [ 402, 48 ], [ 48, 49 ], [ 48, 50 ], [ 402, 51 ], [ 51, 52 ], [ 51, 53 ], [ 402, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 56, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 56, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 56, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 82, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 82, 89 ], [ 56, 90 ], [ 90, 91 ], [ 90, 92 ], [ 54, 93 ], [ 93, 94 ], [ 402, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 97, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 97, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 402, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 123, 126 ], [ 127, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 120, 132 ], [ 132, 133 ], [ 402, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 137, 140 ], [ 402, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 402, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 150, 154 ], [ 154, 155 ], [ 155, 156 ], [ 150, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 148, 161 ], [ 161, 162 ], [ 402, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 163, 167 ], [ 167, 168 ], [ 163, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 175, 177 ], [ 169, 178 ], [ 178, 179 ], [ 163, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 183, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 193, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 182, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 163, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 211, 214 ], [ 214, 215 ], [ 163, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 220, 223 ], [ 223, 224 ], [ 163, 225 ], [ 225, 226 ], [ 225, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 237, 238 ], [ 237, 239 ], [ 232, 240 ], [ 240, 241 ], [ 241, 242 ], [ 232, 243 ], [ 244, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 249, 250 ], [ 250, 251 ], [ 227, 252 ], [ 252, 253 ], [ 225, 254 ], [ 254, 255 ], [ 163, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 262, 263 ], [ 262, 264 ], [ 258, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 265, 270 ], [ 270, 271 ], [ 270, 272 ], [ 272, 273 ], [ 272, 274 ], [ 265, 275 ], [ 275, 276 ], [ 276, 277 ], [ 265, 278 ], [ 279, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 281, 283 ], [ 280, 284 ], [ 284, 285 ], [ 285, 286 ], [ 258, 287 ], [ 287, 288 ], [ 256, 289 ], [ 289, 290 ], [ 256, 291 ], [ 291, 292 ], [ 163, 293 ], [ 293, 294 ], [ 293, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 295, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 300, 305 ], [ 305, 306 ], [ 305, 307 ], [ 300, 308 ], [ 308, 309 ], [ 309, 310 ], [ 300, 311 ], [ 312, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 314, 316 ], [ 313, 317 ], [ 317, 318 ], [ 318, 319 ], [ 295, 320 ], [ 320, 321 ], [ 293, 322 ], [ 322, 323 ], [ 163, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 330, 331 ], [ 330, 332 ], [ 326, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 333, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 340, 342 ], [ 333, 343 ], [ 343, 344 ], [ 344, 345 ], [ 333, 346 ], [ 347, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 349, 351 ], [ 348, 352 ], [ 352, 353 ], [ 353, 354 ], [ 326, 355 ], [ 355, 356 ], [ 324, 357 ], [ 357, 358 ], [ 324, 359 ], [ 359, 360 ], [ 163, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 363, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 368, 373 ], [ 373, 374 ], [ 373, 375 ], [ 368, 376 ], [ 376, 377 ], [ 377, 378 ], [ 368, 379 ], [ 380, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 382, 384 ], [ 381, 385 ], [ 385, 386 ], [ 386, 387 ], [ 363, 388 ], [ 388, 389 ], [ 361, 390 ], [ 390, 391 ], [ 163, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 397, 398 ], [ 396, 399 ], [ 399, 400 ], [ 0, 401 ], [ 401, 402 ], [ 401, 403 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.util.Arrays;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n long startTime = System.nanoTime();\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n long endTime = System.nanoTime();\n err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\");\n exit(0);\n }\n\n static void solve() {\n int n = in.nextInt();\n String[] data = in.readAllString(n);\n out.println(Arrays.stream(data).distinct().count());\n }\n\n static void debug(Object... args) {\n for (Object a : args) {\n out.println(a);\n }\n }\n\n static void y() {\n out.println(\"YES\");\n }\n\n static void n() {\n out.println(\"NO\");\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readAllInts(int n) {\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public int[] readAllInts(int n, int s) {\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n) {\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n, int s) {\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public String[] readAllString(int n) {\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n static void exit(int a) {\n out.close();\n err.close();\n System.exit(a);\n }\n\n static InputStream inputStream = System.in;\n static OutputStream outputStream = System.out;\n static OutputStream errStream = System.err;\n static InputReader in = new InputReader(inputStream);\n static PrintWriter out = new PrintWriter(outputStream);\n static PrintWriter err = new PrintWriter(errStream);\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n public static void main(String[] args) throws Exception {\n long startTime = System.nanoTime();\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n long endTime = System.nanoTime();\n err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\");\n exit(0);\n }\n\n static void solve() {\n int n = in.nextInt();\n String[] data = in.readAllString(n);\n out.println(Arrays.stream(data).distinct().count());\n }\n\n static void debug(Object... args) {\n for (Object a : args) {\n out.println(a);\n }\n }\n\n static void y() {\n out.println(\"YES\");\n }\n\n static void n() {\n out.println(\"NO\");\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readAllInts(int n) {\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public int[] readAllInts(int n, int s) {\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n) {\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n, int s) {\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public String[] readAllString(int n) {\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n static void exit(int a) {\n out.close();\n err.close();\n System.exit(a);\n }\n\n static InputStream inputStream = System.in;\n static OutputStream outputStream = System.out;\n static OutputStream errStream = System.err;\n static InputReader in = new InputReader(inputStream);\n static PrintWriter out = new PrintWriter(outputStream);\n static PrintWriter err = new PrintWriter(errStream);\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n}", "Main", "static InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "static OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "static OutputStream errStream = System.err;", "errStream", "System.err", "System", "System.err", "static InputReader in = new InputReader(inputStream);", "in", "new InputReader(inputStream)", "static PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "static PrintWriter err = new PrintWriter(errStream);", "err", "new PrintWriter(errStream)", "static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "public static void main(String[] args) throws Exception {\n long startTime = System.nanoTime();\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n long endTime = System.nanoTime();\n err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\");\n exit(0);\n }", "main", "{\n long startTime = System.nanoTime();\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n long endTime = System.nanoTime();\n err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\");\n exit(0);\n }", "long startTime = System.nanoTime();", "startTime", "System.nanoTime()", "System.nanoTime", "System", "int t = 1;", "t", "1", "while (t-- > 0) {\n solve();\n }", "t-- > 0", "t--", "t", "0", "{\n solve();\n }", "solve()", "solve", "long endTime = System.nanoTime();", "endTime", "System.nanoTime()", "System.nanoTime", "System", "err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\")", "err.println", "err", "\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\"", "\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\"", "\"Execution Time : +\"", "(endTime - startTime) / 1000000", "(endTime - startTime)", "endTime", "startTime", "1000000", "\" ms\"", "exit(0)", "exit", "0", "String[] args", "args", "static void solve() {\n int n = in.nextInt();\n String[] data = in.readAllString(n);\n out.println(Arrays.stream(data).distinct().count());\n }", "solve", "{\n int n = in.nextInt();\n String[] data = in.readAllString(n);\n out.println(Arrays.stream(data).distinct().count());\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "String[] data = in.readAllString(n);", "data", "in.readAllString(n)", "in.readAllString", "in", "n", "out.println(Arrays.stream(data).distinct().count())", "out.println", "out", "Arrays.stream(data).distinct().count()", "Arrays.stream(data).distinct().count", "Arrays.stream(data).distinct()", "Arrays.stream(data).distinct", "Arrays.stream(data)", "Arrays.stream", "Arrays", "data", "static void debug(Object... args) {\n for (Object a : args) {\n out.println(a);\n }\n }", "debug", "{\n for (Object a : args) {\n out.println(a);\n }\n }", "for (Object a : args) {\n out.println(a);\n }", "Object a", "args", "{\n out.println(a);\n }", "{\n out.println(a);\n }", "out.println(a)", "out.println", "out", "a", "Object... args", "args", "static void y() {\n out.println(\"YES\");\n }", "y", "{\n out.println(\"YES\");\n }", "out.println(\"YES\")", "out.println", "out", "\"YES\"", "static void n() {\n out.println(\"NO\");\n }", "n", "{\n out.println(\"NO\");\n }", "out.println(\"NO\")", "out.println", "out", "\"NO\"", "static void exit(int a) {\n out.close();\n err.close();\n System.exit(a);\n }", "exit", "{\n out.close();\n err.close();\n System.exit(a);\n }", "out.close()", "out.close", "out", "err.close()", "err.close", "err", "System.exit(a)", "System.exit", "System", "a", "int a", "a", "static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readAllInts(int n) {\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public int[] readAllInts(int n, int s) {\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n) {\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n, int s) {\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public String[] readAllString(int n) {\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }", "InputReader", "public BufferedReader reader;", "reader", "public StringTokenizer tokenizer;", "tokenizer", "public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }", "InputReader", "{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(stream), 32768)", "reader", "new BufferedReader(new InputStreamReader(stream), 32768)", "tokenizer = null", "tokenizer", "null", "InputStream stream", "stream", "public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public int[] readAllInts(int n) {\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "readAllInts", "{\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "int[] p = new int[n];", "p", "new int[n]", "n", "for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n p[i] = in.nextInt();\n }", "{\n p[i] = in.nextInt();\n }", "p[i] = in.nextInt()", "p[i]", "p", "i", "in.nextInt()", "in.nextInt", "in", "return p;", "p", "int n", "n", "public int[] readAllInts(int n, int s) {\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "readAllInts", "{\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "int[] p = new int[n + s];", "p", "new int[n + s]", "n + s", "n", "s", "for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }", "int i = s;", "int i = s;", "i", "s", "i < n + s", "i", "n + s", "n", "s", "i++", "i++", "i", "{\n p[i] = in.nextInt();\n }", "{\n p[i] = in.nextInt();\n }", "p[i] = in.nextInt()", "p[i]", "p", "i", "in.nextInt()", "in.nextInt", "in", "return p;", "p", "int n", "n", "int s", "s", "public long[] readAllLongs(int n) {\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "readAllLongs", "{\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "long[] p = new long[n];", "p", "new long[n]", "n", "for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n p[i] = in.nextInt();\n }", "{\n p[i] = in.nextInt();\n }", "p[i] = in.nextInt()", "p[i]", "p", "i", "in.nextInt()", "in.nextInt", "in", "return p;", "p", "int n", "n", "public long[] readAllLongs(int n, int s) {\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "readAllLongs", "{\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }", "long[] p = new long[n + s];", "p", "new long[n + s]", "n + s", "n", "s", "for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }", "int i = s;", "int i = s;", "i", "s", "i < n + s", "i", "n + s", "n", "s", "i++", "i++", "i", "{\n p[i] = in.nextInt();\n }", "{\n p[i] = in.nextInt();\n }", "p[i] = in.nextInt()", "p[i]", "p", "i", "in.nextInt()", "in.nextInt", "in", "return p;", "p", "int n", "n", "int s", "s", "public String[] readAllString(int n) {\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }", "readAllString", "{\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }", "String[] p = new String[n];", "p", "new String[n]", "n", "for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n p[i] = in.next();\n }", "{\n p[i] = in.next();\n }", "p[i] = in.next()", "p[i]", "p", "i", "in.next()", "in.next", "in", "return p;", "p", "int n", "n", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public class Main {\n\n public static void main(String[] args) throws Exception {\n long startTime = System.nanoTime();\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n long endTime = System.nanoTime();\n err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\");\n exit(0);\n }\n\n static void solve() {\n int n = in.nextInt();\n String[] data = in.readAllString(n);\n out.println(Arrays.stream(data).distinct().count());\n }\n\n static void debug(Object... args) {\n for (Object a : args) {\n out.println(a);\n }\n }\n\n static void y() {\n out.println(\"YES\");\n }\n\n static void n() {\n out.println(\"NO\");\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readAllInts(int n) {\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public int[] readAllInts(int n, int s) {\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n) {\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n, int s) {\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public String[] readAllString(int n) {\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n static void exit(int a) {\n out.close();\n err.close();\n System.exit(a);\n }\n\n static InputStream inputStream = System.in;\n static OutputStream outputStream = System.out;\n static OutputStream errStream = System.err;\n static InputReader in = new InputReader(inputStream);\n static PrintWriter out = new PrintWriter(outputStream);\n static PrintWriter err = new PrintWriter(errStream);\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n long startTime = System.nanoTime();\n int t = 1;\n while (t-- > 0) {\n solve();\n }\n long endTime = System.nanoTime();\n err.println(\"Execution Time : +\" + (endTime - startTime) / 1000000 + \" ms\");\n exit(0);\n }\n\n static void solve() {\n int n = in.nextInt();\n String[] data = in.readAllString(n);\n out.println(Arrays.stream(data).distinct().count());\n }\n\n static void debug(Object... args) {\n for (Object a : args) {\n out.println(a);\n }\n }\n\n static void y() {\n out.println(\"YES\");\n }\n\n static void n() {\n out.println(\"NO\");\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] readAllInts(int n) {\n int[] p = new int[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public int[] readAllInts(int n, int s) {\n int[] p = new int[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n) {\n long[] p = new long[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public long[] readAllLongs(int n, int s) {\n long[] p = new long[n + s];\n for (int i = s; i < n + s; i++) {\n p[i] = in.nextInt();\n }\n return p;\n }\n\n public String[] readAllString(int n) {\n String[] p = new String[n];\n for (int i = 0; i < n; i++) {\n p[i] = in.next();\n }\n return p;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n }\n\n static void exit(int a) {\n out.close();\n err.close();\n System.exit(a);\n }\n\n static InputStream inputStream = System.in;\n static OutputStream outputStream = System.out;\n static OutputStream errStream = System.err;\n static InputReader in = new InputReader(inputStream);\n static PrintWriter out = new PrintWriter(outputStream);\n static PrintWriter err = new PrintWriter(errStream);\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStream; import java.io.PrintWriter; import java.util.Arrays; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws Exception { long startTime = System.nanoTime(); int t = 1; while (t-- > 0) { solve(); } long endTime = System.nanoTime(); err.println("Execution Time : +" + (endTime - startTime) / 1000000 + " ms"); exit(0); } static void solve() { int n = in.nextInt(); String[] data = in.readAllString(n); out.println(Arrays.stream(data).distinct().count()); } static void debug(Object... args) { for (Object a : args) { out.println(a); } } static void y() { out.println("YES"); } static void n() { out.println("NO"); } static class InputReader { public BufferedReader reader; public StringTokenizer tokenizer; public InputReader(InputStream stream) { reader = new BufferedReader(new InputStreamReader(stream), 32768); tokenizer = null; } public String next() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public long nextLong() { return Long.parseLong(next()); } public int nextInt() { return Integer.parseInt(next()); } public int[] readAllInts(int n) { int[] p = new int[n]; for (int i = 0; i < n; i++) { p[i] = in.nextInt(); } return p; } public int[] readAllInts(int n, int s) { int[] p = new int[n + s]; for (int i = s; i < n + s; i++) { p[i] = in.nextInt(); } return p; } public long[] readAllLongs(int n) { long[] p = new long[n]; for (int i = 0; i < n; i++) { p[i] = in.nextInt(); } return p; } public long[] readAllLongs(int n, int s) { long[] p = new long[n + s]; for (int i = s; i < n + s; i++) { p[i] = in.nextInt(); } return p; } public String[] readAllString(int n) { String[] p = new String[n]; for (int i = 0; i < n; i++) { p[i] = in.next(); } return p; } public double nextDouble() { return Double.parseDouble(next()); } } static void exit(int a) { out.close(); err.close(); System.exit(a); } static InputStream inputStream = System.in; static OutputStream outputStream = System.out; static OutputStream errStream = System.err; static InputReader in = new InputReader(inputStream); static PrintWriter out = new PrintWriter(outputStream); static PrintWriter err = new PrintWriter(errStream); static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 59, 11 ], [ 59, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 12, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.LinkedHashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n Set<String> list = new LinkedHashSet<String>();\n\n for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }\n System.out.println(list.size());\n }\n}", "import java.util.LinkedHashSet;", "LinkedHashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "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 Set<String> list = new LinkedHashSet<String>();\n\n for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }\n System.out.println(list.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n Set<String> list = new LinkedHashSet<String>();\n\n for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }\n System.out.println(list.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n Set<String> list = new LinkedHashSet<String>();\n\n for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }\n System.out.println(list.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> list = new LinkedHashSet<String>();", "list", "new LinkedHashSet<String>()", "for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String a = sc.next();\n list.add(a);\n }", "{\n String a = sc.next();\n list.add(a);\n }", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "list.add(a)", "list.add", "list", "a", "System.out.println(list.size())", "System.out.println", "System.out", "System", "System.out", "list.size()", "list.size", "list", "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 Set<String> list = new LinkedHashSet<String>();\n\n for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }\n System.out.println(list.size());\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 Set<String> list = new LinkedHashSet<String>();\n\n for (int i = 0; i < N; i++) {\n String a = sc.next();\n list.add(a);\n }\n System.out.println(list.size());\n }\n}", "Main" ]
import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); Set<String> list = new LinkedHashSet<String>(); for (int i = 0; i < N; i++) { String a = sc.next(); list.add(a); } System.out.println(list.size()); } }
[ 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, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 4, 18, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 69, 14 ], [ 69, 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 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 17, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 15, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}\n\n\t\tSystem.out.println(Arrays.stream(s).distinct().count());\n }\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}\n\n\t\tSystem.out.println(Arrays.stream(s).distinct().count());\n }\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}\n\n\t\tSystem.out.println(Arrays.stream(s).distinct().count());\n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}\n\n\t\tSystem.out.println(Arrays.stream(s).distinct().count());\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[] s = new String[n];", "s", "new String[n]", "n", "for(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ts[i] = sc.nextLine();\n\t\t}", "{\n\t\t\ts[i] = sc.nextLine();\n\t\t}", "s[i] = sc.nextLine()", "s[i]", "s", "i", "sc.nextLine()", "sc.nextLine", "sc", "System.out.println(Arrays.stream(s).distinct().count())", "System.out.println", "System.out", "System", "System.out", "Arrays.stream(s).distinct().count()", "Arrays.stream(s).distinct().count", "Arrays.stream(s).distinct()", "Arrays.stream(s).distinct", "Arrays.stream(s)", "Arrays.stream", "Arrays", "s", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}\n\n\t\tSystem.out.println(Arrays.stream(s).distinct().count());\n }\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0;i < n;i++) {\n\t\t\ts[i] = sc.nextLine();\n\t\t}\n\n\t\tSystem.out.println(Arrays.stream(s).distinct().count());\n }\n}", "Main" ]
import java.util.Arrays; import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); String[] s = new String[n]; for(int i = 0;i < n;i++) { s[i] = sc.nextLine(); } System.out.println(Arrays.stream(s).distinct().count()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 65, 17 ], [ 65, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 20, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 18, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.Arrays;\nimport java.util.Collections;\nimport java.util.HashSet;\nimport java.util.LinkedList;\nimport 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 HashSet<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }\n System.out.println(set.size());\n }\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.LinkedList;", "LinkedList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }\n System.out.println(set.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }\n System.out.println(set.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = sc.next();\n set.add(s);\n }", "{\n String s = sc.next();\n set.add(s);\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "set.add(s)", "set.add", "set", "s", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "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 HashSet<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }\n System.out.println(set.size());\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 HashSet<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n set.add(s);\n }\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.Arrays; import java.util.Collections; import java.util.HashSet; import java.util.LinkedList; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); HashSet<String> set = new HashSet<>(); for (int i = 0; i < n; i++) { String s = sc.next(); set.add(s); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 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 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 20, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 56, 63 ], [ 63, 64 ], [ 64, 65 ], [ 20, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 18, 74 ], [ 74, 75 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\nimport java.util.ArrayList;\nimport java.util.List;\nimport java.util.stream.Collectors;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int Sum=0;\n List<String> listA = new ArrayList<String>();\n for (int i=0;i<N ;i++ ) {\n listA.add(sc.next());\n\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n\n System.out.println(listB.size());\n\n\n\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.stream.Collectors;", "Collectors", "java.util.stream", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int Sum=0;\n List<String> listA = new ArrayList<String>();\n for (int i=0;i<N ;i++ ) {\n listA.add(sc.next());\n\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n\n System.out.println(listB.size());\n\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 Sum=0;\n List<String> listA = new ArrayList<String>();\n for (int i=0;i<N ;i++ ) {\n listA.add(sc.next());\n\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n\n System.out.println(listB.size());\n\n\n\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N=sc.nextInt();\n int Sum=0;\n List<String> listA = new ArrayList<String>();\n for (int i=0;i<N ;i++ ) {\n listA.add(sc.next());\n\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n\n System.out.println(listB.size());\n\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 Sum=0;", "Sum", "0", "List<String> listA = new ArrayList<String>();", "listA", "new ArrayList<String>()", "for (int i=0;i<N ;i++ ) {\n listA.add(sc.next());\n\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n listA.add(sc.next());\n\n }", "{\n listA.add(sc.next());\n\n }", "listA.add(sc.next())", "listA.add", "listA", "sc.next()", "sc.next", "sc", "List<String> listB = listA.stream().distinct().collect(Collectors.toList());", "listB", "listA.stream().distinct().collect(Collectors.toList())", "listA.stream().distinct().collect", "listA.stream().distinct()", "listA.stream().distinct", "listA.stream()", "listA.stream", "listA", "Collectors.toList()", "Collectors.toList", "Collectors", "System.out.println(listB.size())", "System.out.println", "System.out", "System", "System.out", "listB.size()", "listB.size", "listB", "String[] args", "args" ]
import java.util.Scanner; import java.util.Arrays; import java.util.ArrayList; import java.util.List; import java.util.stream.Collectors; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N=sc.nextInt(); int Sum=0; List<String> listA = new ArrayList<String>(); for (int i=0;i<N ;i++ ) { listA.add(sc.next()); } List<String> listB = listA.stream().distinct().collect(Collectors.toList()); System.out.println(listB.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 59, 8 ], [ 59, 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 ], [ 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 ], [ 42, 43 ], [ 41, 44 ], [ 11, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 11, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 9, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.*;\nimport javax.lang.model.util.ElementScanner6;\n//import java.lang.Math;\n\npublic class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int n = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n HashSet<String> s = new HashSet<>();\n for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }\n int out = s.size();\n\n // 出力\n System.out.println(out);\n }\n}", "import java.util.*;", "util.*", "java", "import javax.lang.model.util.ElementScanner6;", "ElementScanner6", "javax.lang.model.util", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int n = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n HashSet<String> s = new HashSet<>();\n for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }\n int out = s.size();\n\n // 出力\n System.out.println(out);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int n = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n HashSet<String> s = new HashSet<>();\n for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }\n int out = s.size();\n\n // 出力\n System.out.println(out);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int n = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n HashSet<String> s = new HashSet<>();\n for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }\n int out = s.size();\n\n // 出力\n System.out.println(out);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String> s = new HashSet<>();", "s", "new HashSet<>()", "for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String a = sc.next();\n s.add(a);\n }", "{\n String a = sc.next();\n s.add(a);\n }", "String a = sc.next();", "a", "sc.next()", "sc.next", "sc", "s.add(a)", "s.add", "s", "a", "int out = s.size();", "out", "s.size()", "s.size", "s", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int n = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n HashSet<String> s = new HashSet<>();\n for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }\n int out = s.size();\n\n // 出力\n System.out.println(out);\n }\n}", "public class Main {\n\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n // 入力\n int n = sc.nextInt();\n //String s = sc.next();\n\n // 処理\n HashSet<String> s = new HashSet<>();\n for (int i = 0; i < n; i++){\n String a = sc.next();\n s.add(a);\n }\n int out = s.size();\n\n // 出力\n System.out.println(out);\n }\n}", "Main" ]
import java.util.*; import javax.lang.model.util.ElementScanner6; //import java.lang.Math; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); // 入力 int n = sc.nextInt(); //String s = sc.next(); // 処理 HashSet<String> s = new HashSet<>(); for (int i = 0; i < n; i++){ String a = sc.next(); s.add(a); } int out = s.size(); // 出力 System.out.println(out); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 69, 8 ], [ 69, 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 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 11, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 9, 66 ], [ 66, 67 ], [ 0, 68 ], [ 68, 69 ], [ 68, 70 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n \n HashSet<String> set = new HashSet();\n \n int N = in.nextInt();\n in.nextLine();\n int ans = 0;\n \n for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n \n\n \n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n \n HashSet<String> set = new HashSet();\n \n int N = in.nextInt();\n in.nextLine();\n int ans = 0;\n \n for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n \n\n \n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n \n HashSet<String> set = new HashSet();\n \n int N = in.nextInt();\n in.nextLine();\n int ans = 0;\n \n for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }\n \n System.out.println(ans);\n }", "main", "{\n // Your code here!\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n \n HashSet<String> set = new HashSet();\n \n int N = in.nextInt();\n in.nextLine();\n int ans = 0;\n \n for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }\n \n System.out.println(ans);\n }", "Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "in", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "HashSet<String> set = new HashSet();", "set", "new HashSet()", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "in.nextLine()", "in.nextLine", "in", "int ans = 0;", "ans", "0", "for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }", "{\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }", "String s = in.nextLine();", "s", "in.nextLine()", "in.nextLine", "in", "if(!set.contains(s)) {\n set.add(s);\n ans++;\n }", "!set.contains(s)", "set.contains(s)", "set.contains", "set", "s", "{\n set.add(s);\n ans++;\n }", "set.add(s)", "set.add", "set", "s", "ans++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n \n HashSet<String> set = new HashSet();\n \n int N = in.nextInt();\n in.nextLine();\n int ans = 0;\n \n for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n \n\n \n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n \n HashSet<String> set = new HashSet();\n \n int N = in.nextInt();\n in.nextLine();\n int ans = 0;\n \n for(int i = 0; i < N; i++) {\n String s = in.nextLine();\n\n if(!set.contains(s)) {\n set.add(s);\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n \n\n \n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); HashSet<String> set = new HashSet(); int N = in.nextInt(); in.nextLine(); int ans = 0; for(int i = 0; i < N; i++) { String s = in.nextLine(); if(!set.contains(s)) { set.add(s); ans++; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 85, 5 ], [ 85, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 8, 45 ], [ 45, 46 ], [ 45, 47 ], [ 8, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 53, 55 ], [ 48, 56 ], [ 56, 57 ], [ 57, 58 ], [ 48, 59 ], [ 60, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 61, 72 ], [ 61, 73 ], [ 73, 74 ], [ 74, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n int N=sc.nextInt();\n String[] S=new String[N];\n \n for(int i=0;i<N;i++){\n S[i]=sc.next();\n }\n \n Arrays.sort(S);\n int ans=1;\n \n for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n int N=sc.nextInt();\n String[] S=new String[N];\n \n for(int i=0;i<N;i++){\n S[i]=sc.next();\n }\n \n Arrays.sort(S);\n int ans=1;\n \n for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n int N=sc.nextInt();\n String[] S=new String[N];\n \n for(int i=0;i<N;i++){\n S[i]=sc.next();\n }\n \n Arrays.sort(S);\n int ans=1;\n \n for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }", "main", "{\n Scanner sc=new Scanner(System.in);\n int N=sc.nextInt();\n String[] S=new String[N];\n \n for(int i=0;i<N;i++){\n S[i]=sc.next();\n }\n \n Arrays.sort(S);\n int ans=1;\n \n for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N=sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] S=new String[N];", "S", "new String[N]", "N", "for(int i=0;i<N;i++){\n S[i]=sc.next();\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n S[i]=sc.next();\n }", "{\n S[i]=sc.next();\n }", "S[i]=sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(S)", "Arrays.sort", "Arrays", "S", "int ans=1;", "ans", "1", "for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<N", "i", "N", "i++", "i++", "i", "{\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }", "{\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }", "if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }", "S[i].equals(S[i-1])", "S[i].equals", "S[i]", "S", "i", "S[i-1]", "S", "i-1", "i", "1", "{\n \n }", "{\n ans++;\n }", "ans++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n int N=sc.nextInt();\n String[] S=new String[N];\n \n for(int i=0;i<N;i++){\n S[i]=sc.next();\n }\n \n Arrays.sort(S);\n int ans=1;\n \n for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc=new Scanner(System.in);\n int N=sc.nextInt();\n String[] S=new String[N];\n \n for(int i=0;i<N;i++){\n S[i]=sc.next();\n }\n \n Arrays.sort(S);\n int ans=1;\n \n for(int i=1;i<N;i++){\n if(S[i].equals(S[i-1])){\n \n }else{\n ans++;\n }\n }\n \n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); String[] S=new String[N]; for(int i=0;i<N;i++){ S[i]=sc.next(); } Arrays.sort(S); int ans=1; for(int i=1;i<N;i++){ if(S[i].equals(S[i-1])){ }else{ ans++; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 58, 5 ], [ 58, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 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 ], [ 44, 45 ], [ 43, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 6, 55 ], [ 55, 56 ], [ 0, 57 ], [ 57, 58 ], [ 57, 59 ] ]
[ "//package beg_164;\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tString yvgubhij = s.nextLine();\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\tfor (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tString yvgubhij = s.nextLine();\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\tfor (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tString yvgubhij = s.nextLine();\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\tfor (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tString yvgubhij = s.nextLine();\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\tfor (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int a = s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "String yvgubhij = s.nextLine();", "yvgubhij", "s.nextLine()", "s.nextLine", "s", "HashSet<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "for (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}", "{\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}", "String b = s.nextLine();", "b", "s.nextLine()", "s.nextLine", "s", "set.add(b)", "set.add", "set", "b", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tString yvgubhij = s.nextLine();\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\tfor (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\tScanner s = new Scanner(System.in);\n\t\tint a = s.nextInt();\n\t\tString yvgubhij = s.nextLine();\n\t\t\n\t\tHashSet<String> set = new HashSet<String>();\n\t\tfor (int i=0;i<a;i++) {\n\t\t\tString b = s.nextLine();\n\t\t\tset.add(b);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n\n}", "Main" ]
//package beg_164; import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner s = new Scanner(System.in); int a = s.nextInt(); String yvgubhij = s.nextLine(); HashSet<String> set = new HashSet<String>(); for (int i=0;i<a;i++) { String b = s.nextLine(); set.add(b); } System.out.println(set.size()); } }
[ 7, 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, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 8, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 6, 50 ], [ 50, 51 ] ]
[ "import java.util.*;\nclass Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n Set<String> set = new HashSet<>();\n int n = scanner.nextInt();\n for(int i = 0; i < n; i++){\n String s = scanner.next();\n set.add(s);\n }\n System.out.println(set.size());\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n Set<String> set = new HashSet<>();\n int n = scanner.nextInt();\n for(int i = 0; i < n; i++){\n String s = scanner.next();\n set.add(s);\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n Set<String> set = new HashSet<>();\n int n = scanner.nextInt();\n for(int i = 0; i < n; i++){\n String s = scanner.next();\n set.add(s);\n }\n System.out.println(set.size());\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n Set<String> set = new HashSet<>();\n int n = scanner.nextInt();\n for(int i = 0; i < n; i++){\n String s = scanner.next();\n set.add(s);\n }\n System.out.println(set.size());\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "for(int i = 0; i < n; i++){\n String s = scanner.next();\n set.add(s);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = scanner.next();\n set.add(s);\n }", "{\n String s = scanner.next();\n set.add(s);\n }", "String s = scanner.next();", "s", "scanner.next()", "scanner.next", "scanner", "set.add(s)", "set.add", "set", "s", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); Set<String> set = new HashSet<>(); int n = scanner.nextInt(); for(int i = 0; i < n; i++){ String s = scanner.next(); set.add(s); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 64, 8 ], [ 64, 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 ], [ 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 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 9, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int N = scan.nextInt();\n\n HashMap<String, Integer> Shash = new HashMap<String, Integer>();\n\n for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }\n\n System.out.println(Shash.size());\n\n }\n\n}", "import java.util.HashMap;", "HashMap", "java.util", "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\n int N = scan.nextInt();\n\n HashMap<String, Integer> Shash = new HashMap<String, Integer>();\n\n for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }\n\n System.out.println(Shash.size());\n\n }\n\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int N = scan.nextInt();\n\n HashMap<String, Integer> Shash = new HashMap<String, Integer>();\n\n for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }\n\n System.out.println(Shash.size());\n\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\n int N = scan.nextInt();\n\n HashMap<String, Integer> Shash = new HashMap<String, Integer>();\n\n for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }\n\n System.out.println(Shash.size());\n\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "HashMap<String, Integer> Shash = new HashMap<String, Integer>();", "Shash", "new HashMap<String, Integer>()", "for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }", "{\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }", "String s = scan.next();", "s", "scan.next()", "scan.next", "scan", "if (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}", "!Shash.containsKey(s)", "Shash.containsKey(s)", "Shash.containsKey", "Shash", "s", "{\n \t\tShash.put(s, 1);\n \t}", "Shash.put(s, 1)", "Shash.put", "Shash", "s", "1", "System.out.println(Shash.size())", "System.out.println", "System.out", "System", "System.out", "Shash.size()", "Shash.size", "Shash", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int N = scan.nextInt();\n\n HashMap<String, Integer> Shash = new HashMap<String, Integer>();\n\n for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }\n\n System.out.println(Shash.size());\n\n }\n\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n int N = scan.nextInt();\n\n HashMap<String, Integer> Shash = new HashMap<String, Integer>();\n\n for (int i = 0; i < N; i++) {\n \tString s = scan.next();\n \tif (!Shash.containsKey(s)) {\n \t\tShash.put(s, 1);\n \t}\n }\n\n System.out.println(Shash.size());\n\n }\n\n}", "Main" ]
import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); HashMap<String, Integer> Shash = new HashMap<String, Integer>(); for (int i = 0; i < N; i++) { String s = scan.next(); if (!Shash.containsKey(s)) { Shash.put(s, 1); } } System.out.println(Shash.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 66, 8 ], [ 66, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 9, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.Scanner;\nimport java.util.HashSet;\npublic class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n HashSet<String> set = new HashSet<>();\n int t = scan.nextInt();\n int ans = 0;\n for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }\n System.out.println(ans);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n HashSet<String> set = new HashSet<>();\n int t = scan.nextInt();\n int ans = 0;\n for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n HashSet<String> set = new HashSet<>();\n int t = scan.nextInt();\n int ans = 0;\n for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }\n System.out.println(ans);\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n HashSet<String> set = new HashSet<>();\n int t = scan.nextInt();\n int ans = 0;\n for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }\n System.out.println(ans);\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "int t = scan.nextInt();", "t", "scan.nextInt()", "scan.nextInt", "scan", "int ans = 0;", "ans", "0", "for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < t", "i", "t", "i++", "i++", "i", "{\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }", "{\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }", "String s = scan.next();", "s", "scan.next()", "scan.next", "scan", "if(!set.contains(s)){\n set.add(s);\n ans++;\n }", "!set.contains(s)", "set.contains(s)", "set.contains", "set", "s", "{\n set.add(s);\n ans++;\n }", "set.add(s)", "set.add", "set", "s", "ans++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n HashSet<String> set = new HashSet<>();\n int t = scan.nextInt();\n int ans = 0;\n for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }\n System.out.println(ans);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scan = new Scanner(System.in);\n HashSet<String> set = new HashSet<>();\n int t = scan.nextInt();\n int ans = 0;\n for(int i = 0; i < t; i++){\n String s = scan.next();\n if(!set.contains(s)){\n set.add(s);\n ans++;\n }\n }\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.HashSet; public class Main{ public static void main(String[] args){ Scanner scan = new Scanner(System.in); HashSet<String> set = new HashSet<>(); int t = scan.nextInt(); int ans = 0; for(int i = 0; i < t; i++){ String s = scan.next(); if(!set.contains(s)){ set.add(s); ans++; } } System.out.println(ans); } }
[ 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, 13, 41, 13, 20, 13, 0, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 2, 18, 13, 2, 13, 17, 17, 11, 1, 41, 13, 2, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 13, 30, 40, 18, 13, 13, 3, 3, 4, 18, 18, 13, 13, 18, 13, 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 ], [ 130, 11 ], [ 130, 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, 27 ], [ 27, 28 ], [ 27, 29 ], [ 14, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 31, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 14, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 14, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 60, 73 ], [ 74, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 74, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 86, 93 ], [ 93, 94 ], [ 93, 95 ], [ 86, 96 ], [ 96, 97 ], [ 97, 98 ], [ 86, 99 ], [ 100, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 101, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 101, 116 ], [ 14, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 124, 126 ], [ 12, 127 ], [ 127, 128 ], [ 0, 129 ], [ 129, 130 ], [ 129, 131 ] ]
[ "import java.io.*;\nimport java.math.*;\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint N = input.nextInt();\n\t\tString[] arr = new String[N];\n\t\tint[] cnt = new int[N];\n\t\tcnt[0]=1;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}\n\t\tSystem.out.println(cnt[N-1]);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint N = input.nextInt();\n\t\tString[] arr = new String[N];\n\t\tint[] cnt = new int[N];\n\t\tcnt[0]=1;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}\n\t\tSystem.out.println(cnt[N-1]);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint N = input.nextInt();\n\t\tString[] arr = new String[N];\n\t\tint[] cnt = new int[N];\n\t\tcnt[0]=1;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}\n\t\tSystem.out.println(cnt[N-1]);\n\t}", "main", "{\n\t\tScanner input = new Scanner(System.in);\n\t\tint N = input.nextInt();\n\t\tString[] arr = new String[N];\n\t\tint[] cnt = new int[N];\n\t\tcnt[0]=1;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}\n\t\tSystem.out.println(cnt[N-1]);\n\t}", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int N = input.nextInt();", "N", "input.nextInt()", "input.nextInt", "input", "String[] arr = new String[N];", "arr", "new String[N]", "N", "int[] cnt = new int[N];", "cnt", "new int[N]", "N", "cnt[0]=1", "cnt[0]", "cnt", "0", "1", "for (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tarr[i] = input.next();\n\t\t}", "{\n\t\t\tarr[i] = input.next();\n\t\t}", "arr[i] = input.next()", "arr[i]", "arr", "i", "input.next()", "input.next", "input", "Arrays.sort(arr)", "Arrays.sort", "Arrays", "arr", "for (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}", "{\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}", "cnt[i] = cnt[i-1]+1", "cnt[i]", "cnt", "i", "cnt[i-1]+1", "cnt[i-1]", "cnt", "i-1", "i", "1", "1", "for (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t}", "int j = i-1;", "int j = i-1;", "j", "i-1", "i", "1", "j >= 0", "j", "0", "j--", "j--", "j", "{\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t}", "{\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t}", "if (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;", "arr[i].equals(arr[j])", "arr[i].equals", "arr[i]", "arr", "i", "arr[j]", "arr", "j", "{\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}", "cnt[i]--", "cnt[i]", "cnt", "i", "break;", "break;", "System.out.println(cnt[N-1])", "System.out.println", "System.out", "System", "System.out", "cnt[N-1]", "cnt", "N-1", "N", "1", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint N = input.nextInt();\n\t\tString[] arr = new String[N];\n\t\tint[] cnt = new int[N];\n\t\tcnt[0]=1;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}\n\t\tSystem.out.println(cnt[N-1]);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner input = new Scanner(System.in);\n\t\tint N = input.nextInt();\n\t\tString[] arr = new String[N];\n\t\tint[] cnt = new int[N];\n\t\tcnt[0]=1;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tarr[i] = input.next();\n\t\t}\n\t\tArrays.sort(arr);\n\t\tfor (int i = 1; i < arr.length; i++) {\n\t\t\tcnt[i] = cnt[i-1]+1;\n\t\t\tfor (int j = i-1; j >= 0; j--) {\n\t\t\t\tif (arr[i].equals(arr[j])) {\n\t\t\t\t\tcnt[i]--;\n\t\t\t\t\tbreak;\n\t\t\t\t}else break;\n\t\t\t} \n\t\t}\n\t\tSystem.out.println(cnt[N-1]);\n\t}\n}", "Main" ]
import java.io.*; import java.math.*; import java.util.*; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); int N = input.nextInt(); String[] arr = new String[N]; int[] cnt = new int[N]; cnt[0]=1; for (int i = 0; i < N; i++) { arr[i] = input.next(); } Arrays.sort(arr); for (int i = 1; i < arr.length; i++) { cnt[i] = cnt[i-1]+1; for (int j = i-1; j >= 0; j--) { if (arr[i].equals(arr[j])) { cnt[i]--; break; }else break; } } System.out.println(cnt[N-1]); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 61, 8 ], [ 61, 9 ], [ 9, 10 ], [ 9, 11 ], [ 61, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 12, 18 ], [ 18, 19 ], [ 61, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 22, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 31, 32 ], [ 22, 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 ], [ 46, 49 ], [ 49, 50 ], [ 50, 51 ], [ 22, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 0, 60 ], [ 60, 61 ], [ 60, 62 ] ]
[ "\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n HashSet<String> set = new HashSet<>();\n int n;\n n = in.nextInt();\n\n for (int i = 0; i < n; i++) {\n set.add(in.next());\n }\n\n System.out.println(set.size());\n }\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n HashSet<String> set = new HashSet<>();\n int n;\n n = in.nextInt();\n\n for (int i = 0; i < n; i++) {\n set.add(in.next());\n }\n\n System.out.println(set.size());\n }\n}", "Main", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "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", "void solve(){\n HashSet<String> set = new HashSet<>();\n int n;\n n = in.nextInt();\n\n for (int i = 0; i < n; i++) {\n set.add(in.next());\n }\n\n System.out.println(set.size());\n }", "solve", "{\n HashSet<String> set = new HashSet<>();\n int n;\n n = in.nextInt();\n\n for (int i = 0; i < n; i++) {\n set.add(in.next());\n }\n\n System.out.println(set.size());\n }", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "int n;", "n", "n = in.nextInt()", "n", "in.nextInt()", "in.nextInt", "in", "for (int i = 0; i < n; i++) {\n set.add(in.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n set.add(in.next());\n }", "{\n set.add(in.next());\n }", "set.add(in.next())", "set.add", "set", "in.next()", "in.next", "in", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "public class Main {\n Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n HashSet<String> set = new HashSet<>();\n int n;\n n = in.nextInt();\n\n for (int i = 0; i < n; i++) {\n set.add(in.next());\n }\n\n System.out.println(set.size());\n }\n}", "public class Main {\n Scanner in = new Scanner(System.in);\n\n public static void main(String[] args) {\n new Main().solve();\n }\n\n void solve(){\n HashSet<String> set = new HashSet<>();\n int n;\n n = in.nextInt();\n\n for (int i = 0; i < n; i++) {\n set.add(in.next());\n }\n\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { Scanner in = new Scanner(System.in); public static void main(String[] args) { new Main().solve(); } void solve(){ HashSet<String> set = new HashSet<>(); int n; n = in.nextInt(); for (int i = 0; i < n; i++) { set.add(in.next()); } System.out.println(set.size()); } }
[ 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, 4, 18, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 53, 8 ], [ 53, 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 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 35, 41 ], [ 11, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 9, 50 ], [ 50, 51 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n HashMap<String,Integer> hash = new HashMap<>();\n int n = sc.nextInt();\n for (int i=0;i<n;i++)hash.put(sc.next(),1);\n System.out.println(hash.size());\n }\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n HashMap<String,Integer> hash = new HashMap<>();\n int n = sc.nextInt();\n for (int i=0;i<n;i++)hash.put(sc.next(),1);\n System.out.println(hash.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n HashMap<String,Integer> hash = new HashMap<>();\n int n = sc.nextInt();\n for (int i=0;i<n;i++)hash.put(sc.next(),1);\n System.out.println(hash.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n HashMap<String,Integer> hash = new HashMap<>();\n int n = sc.nextInt();\n for (int i=0;i<n;i++)hash.put(sc.next(),1);\n System.out.println(hash.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "HashMap<String,Integer> hash = new HashMap<>();", "hash", "new HashMap<>()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int i=0;i<n;i++)hash.put(sc.next(),1);", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "hash.put(sc.next(),1);", "hash.put(sc.next(),1)", "hash.put", "hash", "sc.next()", "sc.next", "sc", "1", "System.out.println(hash.size())", "System.out.println", "System.out", "System", "System.out", "hash.size()", "hash.size", "hash", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n HashMap<String,Integer> hash = new HashMap<>();\n int n = sc.nextInt();\n for (int i=0;i<n;i++)hash.put(sc.next(),1);\n System.out.println(hash.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n HashMap<String,Integer> hash = new HashMap<>();\n int n = sc.nextInt();\n for (int i=0;i<n;i++)hash.put(sc.next(),1);\n System.out.println(hash.size());\n }\n}", "Main" ]
import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); HashMap<String,Integer> hash = new HashMap<>(); int n = sc.nextInt(); for (int i=0;i<n;i++)hash.put(sc.next(),1); System.out.println(hash.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 81, 17 ], [ 81, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 20, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 20, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 67, 68 ], [ 68, 69 ], [ 20, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 76, 77 ], [ 18, 78 ], [ 78, 79 ], [ 0, 80 ], [ 80, 81 ], [ 80, 82 ] ]
[ "import java.util.*;\nimport java.util.ArrayList;\nimport java.util.Map;\nimport java.util.function.Function;\nimport java.util.stream.Collectors;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\t\t////////////入力/////////////////////////////////\n\t\t //Listに入力///////////////////////////////////////\n\t\t ArrayList<String> list = new ArrayList<String>();\n\t\t for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }\n //System.out.println(list);\n \t\t //List内の要素の出現回数をカウント//////////////////////////////////////\n\t\t\tMap<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n System.out.println(counts.size());\n }\n}", "import java.util.*;", "util.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.function.Function;", "Function", "java.util.function", "import java.util.stream.Collectors;", "Collectors", "java.util.stream", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\t\t////////////入力/////////////////////////////////\n\t\t //Listに入力///////////////////////////////////////\n\t\t ArrayList<String> list = new ArrayList<String>();\n\t\t for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }\n //System.out.println(list);\n \t\t //List内の要素の出現回数をカウント//////////////////////////////////////\n\t\t\tMap<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n System.out.println(counts.size());\n }\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\t\t////////////入力/////////////////////////////////\n\t\t //Listに入力///////////////////////////////////////\n\t\t ArrayList<String> list = new ArrayList<String>();\n\t\t for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }\n //System.out.println(list);\n \t\t //List内の要素の出現回数をカウント//////////////////////////////////////\n\t\t\tMap<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n System.out.println(counts.size());\n }", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\t\t////////////入力/////////////////////////////////\n\t\t //Listに入力///////////////////////////////////////\n\t\t ArrayList<String> list = new ArrayList<String>();\n\t\t for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }\n //System.out.println(list);\n \t\t //List内の要素の出現回数をカウント//////////////////////////////////////\n\t\t\tMap<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n System.out.println(counts.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }", "int i =0;", "int i =0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }", "{\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }", "String A = sc.next();", "A", "sc.next()", "sc.next", "sc", "list.add(A)", "list.add", "list", "A", "Map<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));", "counts", "list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()))", "list.stream()\n\t\t\t\t .collect", "list.stream()", "list.stream", "list", "Collectors.groupingBy(Function.identity(), Collectors.counting())", "Collectors.groupingBy", "Collectors", "Function.identity()", "Function.identity", "Function", "Collectors.counting()", "Collectors.counting", "Collectors", "System.out.println(counts.size())", "System.out.println", "System.out", "System", "System.out", "counts.size()", "counts.size", "counts", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\t\t////////////入力/////////////////////////////////\n\t\t //Listに入力///////////////////////////////////////\n\t\t ArrayList<String> list = new ArrayList<String>();\n\t\t for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }\n //System.out.println(list);\n \t\t //List内の要素の出現回数をカウント//////////////////////////////////////\n\t\t\tMap<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n System.out.println(counts.size());\n }\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\t\t////////////入力/////////////////////////////////\n\t\t //Listに入力///////////////////////////////////////\n\t\t ArrayList<String> list = new ArrayList<String>();\n\t\t for(int i =0;i<N;i++) {\n\t\t\t String A = sc.next();\n\t\t\t list.add(A);\n\t\t }\n //System.out.println(list);\n \t\t //List内の要素の出現回数をカウント//////////////////////////////////////\n\t\t\tMap<String, Long> counts = list.stream()\n\t\t\t\t .collect(Collectors.groupingBy(Function.identity(), Collectors.counting()));\n System.out.println(counts.size());\n }\n}", "Main" ]
import java.util.*; import java.util.ArrayList; import java.util.Map; import java.util.function.Function; import java.util.stream.Collectors; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); ////////////入力///////////////////////////////// //Listに入力/////////////////////////////////////// ArrayList<String> list = new ArrayList<String>(); for(int i =0;i<N;i++) { String A = sc.next(); list.add(A); } //System.out.println(list); //List内の要素の出現回数をカウント////////////////////////////////////// Map<String, Long> counts = list.stream() .collect(Collectors.groupingBy(Function.identity(), Collectors.counting())); System.out.println(counts.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 13, 17, 30, 4, 18, 13, 40, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 17, 41, 13, 40, 17, 41, 13, 2, 17, 17, 41, 13, 17, 12, 13, 30, 29, 2, 2, 2, 2, 13, 13, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 13, 13, 2, 13, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 2, 13, 17, 2, 13, 17, 17, 23, 13, 12, 13, 30, 29, 2, 2, 13, 2, 13, 17, 17, 23, 13, 12, 13, 30, 41, 13, 17, 11, 1, 41, 13, 13, 41, 13, 13, 2, 13, 2, 13, 13, 1, 40, 13, 40, 13, 30, 30, 0, 13, 2, 2, 13, 17, 13, 29, 4, 18, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 0, 13, 2, 13, 13, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 0, 13, 4, 13, 13, 13, 0, 13, 4, 13, 13, 13, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 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 ], [ 422, 11 ], [ 422, 12 ], [ 12, 13 ], [ 12, 14 ], [ 422, 15 ], [ 15, 16 ], [ 15, 17 ], [ 422, 18 ], [ 18, 19 ], [ 18, 20 ], [ 422, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 23, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 30, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 34, 38 ], [ 38, 39 ], [ 23, 40 ], [ 40, 41 ], [ 41, 42 ], [ 21, 43 ], [ 43, 44 ], [ 422, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 45, 49 ], [ 49, 50 ], [ 45, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 51, 60 ], [ 60, 61 ], [ 45, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 65, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 75, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 64, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 45, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 45, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 45, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 112, 113 ], [ 45, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 118, 121 ], [ 121, 122 ], [ 45, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 135, 136 ], [ 135, 137 ], [ 130, 138 ], [ 138, 139 ], [ 139, 140 ], [ 130, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 142, 146 ], [ 146, 147 ], [ 147, 148 ], [ 125, 149 ], [ 149, 150 ], [ 123, 151 ], [ 151, 152 ], [ 45, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 155, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 160, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 172, 176 ], [ 176, 177 ], [ 177, 178 ], [ 155, 179 ], [ 179, 180 ], [ 153, 181 ], [ 181, 182 ], [ 422, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 185, 187 ], [ 183, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 183, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 197, 199 ], [ 183, 200 ], [ 200, 201 ], [ 200, 202 ], [ 183, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 208, 214 ], [ 207, 215 ], [ 203, 216 ], [ 216, 217 ], [ 203, 218 ], [ 218, 219 ], [ 183, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 224, 228 ], [ 220, 229 ], [ 229, 230 ], [ 220, 231 ], [ 231, 232 ], [ 183, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 237, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 243, 244 ], [ 243, 245 ], [ 238, 246 ], [ 237, 247 ], [ 233, 248 ], [ 248, 249 ], [ 233, 250 ], [ 250, 251 ], [ 183, 252 ], [ 252, 253 ], [ 252, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 260, 262 ], [ 257, 263 ], [ 263, 264 ], [ 263, 265 ], [ 256, 266 ], [ 252, 267 ], [ 267, 268 ], [ 183, 269 ], [ 269, 270 ], [ 269, 271 ], [ 271, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 276, 278 ], [ 273, 279 ], [ 269, 280 ], [ 280, 281 ], [ 183, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 285, 286 ], [ 285, 287 ], [ 284, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 289, 293 ], [ 293, 294 ], [ 293, 295 ], [ 288, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 298, 300 ], [ 288, 301 ], [ 301, 302 ], [ 302, 303 ], [ 301, 304 ], [ 304, 305 ], [ 288, 306 ], [ 307, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 314 ], [ 284, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 316, 319 ], [ 282, 320 ], [ 320, 321 ], [ 282, 322 ], [ 322, 323 ], [ 183, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 326, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 332, 334 ], [ 326, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 341, 345 ], [ 340, 346 ], [ 346, 347 ], [ 346, 348 ], [ 348, 349 ], [ 348, 350 ], [ 348, 351 ], [ 339, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 354, 356 ], [ 354, 357 ], [ 339, 358 ], [ 358, 359 ], [ 358, 360 ], [ 360, 361 ], [ 360, 362 ], [ 326, 363 ], [ 363, 364 ], [ 324, 365 ], [ 365, 366 ], [ 324, 367 ], [ 367, 368 ], [ 183, 369 ], [ 369, 370 ], [ 369, 371 ], [ 371, 372 ], [ 372, 373 ], [ 373, 374 ], [ 373, 375 ], [ 372, 376 ], [ 376, 377 ], [ 371, 378 ], [ 378, 379 ], [ 379, 380 ], [ 379, 381 ], [ 379, 382 ], [ 382, 383 ], [ 382, 384 ], [ 369, 385 ], [ 385, 386 ], [ 369, 387 ], [ 387, 388 ], [ 183, 389 ], [ 389, 390 ], [ 389, 391 ], [ 391, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 391, 397 ], [ 397, 398 ], [ 397, 399 ], [ 391, 400 ], [ 400, 401 ], [ 401, 402 ], [ 402, 403 ], [ 401, 404 ], [ 400, 405 ], [ 405, 406 ], [ 406, 407 ], [ 406, 408 ], [ 408, 409 ], [ 409, 410 ], [ 405, 411 ], [ 411, 412 ], [ 412, 413 ], [ 411, 414 ], [ 391, 415 ], [ 415, 416 ], [ 416, 417 ], [ 415, 418 ], [ 418, 419 ], [ 419, 420 ], [ 0, 421 ], [ 421, 422 ], [ 421, 423 ] ]
[ "\n\nimport java.io.*;\nimport java.text.*;\nimport java.util.*;\n\npublic class Main {\n\n static InputReader sc = new InputReader(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws IOException {\n solver s = new solver();\n int t = 1;\n while (t > 0) {\n s.solve();\n t--;\n }\n out.close();\n }\n\n static class InputReader {\n\n public BufferedReader br;\n public StringTokenizer token;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }\n\n public String sn() {\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(sn());\n }\n\n public String snl() throws IOException {\n return br.readLine();\n }\n\n public long nlo() {\n return Long.parseLong(sn());\n }\n\n public double nd() {\n return Double.parseDouble(sn());\n }\n\n public int[] na(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }\n\n public long[] nal(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }\n }\n\n static int inf = 5000013;\n\n static class solver {\n DecimalFormat df = new DecimalFormat(\"0.00000000000000000000\");\n long max = 1000000000000000l, min = -10000000000000000l;\n long mod = (long) 1e9 + 7;\n\n long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n long add(long a, long b) {\n return (a + b) % mod;\n }\n\n long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n long ncr3(long n) {\n return (n * (n - 1) * (n - 2)) / 6l;\n }\n\n long ncr2(long n) {\n return n * (n - 1) / 2l;\n }\n\n long ncr(long n, long r) {\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }\n\n long modPow(long x, long y) {\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }\n\n int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n final int maxn = 5005;\n\n void solve() throws IOException {\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }\n }\n}", "import java.io.*;", "io.*", "java", "import java.text.*;", "text.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n static InputReader sc = new InputReader(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws IOException {\n solver s = new solver();\n int t = 1;\n while (t > 0) {\n s.solve();\n t--;\n }\n out.close();\n }\n\n static class InputReader {\n\n public BufferedReader br;\n public StringTokenizer token;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }\n\n public String sn() {\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(sn());\n }\n\n public String snl() throws IOException {\n return br.readLine();\n }\n\n public long nlo() {\n return Long.parseLong(sn());\n }\n\n public double nd() {\n return Double.parseDouble(sn());\n }\n\n public int[] na(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }\n\n public long[] nal(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }\n }\n\n static int inf = 5000013;\n\n static class solver {\n DecimalFormat df = new DecimalFormat(\"0.00000000000000000000\");\n long max = 1000000000000000l, min = -10000000000000000l;\n long mod = (long) 1e9 + 7;\n\n long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n long add(long a, long b) {\n return (a + b) % mod;\n }\n\n long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n long ncr3(long n) {\n return (n * (n - 1) * (n - 2)) / 6l;\n }\n\n long ncr2(long n) {\n return n * (n - 1) / 2l;\n }\n\n long ncr(long n, long r) {\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }\n\n long modPow(long x, long y) {\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }\n\n int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n final int maxn = 5005;\n\n void solve() throws IOException {\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }\n }\n}", "Main", "static InputReader sc = new InputReader(System.in);", "sc", "new InputReader(System.in)", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static int inf = 5000013;", "inf", "5000013", "public static void main(String[] args) throws IOException {\n solver s = new solver();\n int t = 1;\n while (t > 0) {\n s.solve();\n t--;\n }\n out.close();\n }", "main", "{\n solver s = new solver();\n int t = 1;\n while (t > 0) {\n s.solve();\n t--;\n }\n out.close();\n }", "solver s = new solver();", "s", "new solver()", "int t = 1;", "t", "1", "while (t > 0) {\n s.solve();\n t--;\n }", "t > 0", "t", "0", "{\n s.solve();\n t--;\n }", "s.solve()", "s.solve", "s", "t--", "t", "out.close()", "out.close", "out", "String[] args", "args", "static class InputReader {\n\n public BufferedReader br;\n public StringTokenizer token;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }\n\n public String sn() {\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(sn());\n }\n\n public String snl() throws IOException {\n return br.readLine();\n }\n\n public long nlo() {\n return Long.parseLong(sn());\n }\n\n public double nd() {\n return Double.parseDouble(sn());\n }\n\n public int[] na(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }\n\n public long[] nal(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }\n }", "InputReader", "public BufferedReader br;", "br", "public StringTokenizer token;", "token", "public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }", "InputReader", "{\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }", "br = new BufferedReader(new InputStreamReader(stream), 32768)", "br", "new BufferedReader(new InputStreamReader(stream), 32768)", "token = null", "token", "null", "InputStream stream", "stream", "public String sn() {\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }", "sn", "{\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }", "while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "token == null || !token.hasMoreTokens()", "token == null", "token", "null", "!token.hasMoreTokens()", "token.hasMoreTokens()", "token.hasMoreTokens", "token", "{\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n token = new StringTokenizer(br.readLine());\n }", "token = new StringTokenizer(br.readLine())", "token", "new StringTokenizer(br.readLine())", "return token.nextToken();", "token.nextToken()", "token.nextToken", "token", "public int ni() {\n return Integer.parseInt(sn());\n }", "ni", "{\n return Integer.parseInt(sn());\n }", "return Integer.parseInt(sn());", "Integer.parseInt(sn())", "Integer.parseInt", "Integer", "sn()", "sn", "public String snl() throws IOException {\n return br.readLine();\n }", "snl", "{\n return br.readLine();\n }", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public long nlo() {\n return Long.parseLong(sn());\n }", "nlo", "{\n return Long.parseLong(sn());\n }", "return Long.parseLong(sn());", "Long.parseLong(sn())", "Long.parseLong", "Long", "sn()", "sn", "public double nd() {\n return Double.parseDouble(sn());\n }", "nd", "{\n return Double.parseDouble(sn());\n }", "return Double.parseDouble(sn());", "Double.parseDouble(sn())", "Double.parseDouble", "Double", "sn()", "sn", "public int[] na(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }", "na", "{\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }", "int a[] = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = sc.ni();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = sc.ni();", "a[i] = sc.ni()", "a[i]", "a", "i", "sc.ni()", "sc.ni", "sc", "return a;", "a", "int n", "n", "public long[] nal(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }", "nal", "{\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }", "long a[] = new long[n];", "a", "new long[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = sc.nlo();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = sc.nlo();", "a[i] = sc.nlo()", "a[i]", "a", "i", "sc.nlo()", "sc.nlo", "sc", "return a;", "a", "int n", "n", "static class solver {\n DecimalFormat df = new DecimalFormat(\"0.00000000000000000000\");\n long max = 1000000000000000l, min = -10000000000000000l;\n long mod = (long) 1e9 + 7;\n\n long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n long add(long a, long b) {\n return (a + b) % mod;\n }\n\n long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n long ncr3(long n) {\n return (n * (n - 1) * (n - 2)) / 6l;\n }\n\n long ncr2(long n) {\n return n * (n - 1) / 2l;\n }\n\n long ncr(long n, long r) {\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }\n\n long modPow(long x, long y) {\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }\n\n int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n final int maxn = 5005;\n\n void solve() throws IOException {\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }\n }", "solver", "DecimalFormat df = new DecimalFormat(\"0.00000000000000000000\");", "df", "new DecimalFormat(\"0.00000000000000000000\")", "long max = 1000000000000000l", "max", "1000000000000000l", "min = -10000000000000000l;", "min", "-10000000000000000l", "10000000000000000l", "long mod = (long) 1e9 + 7;", "mod", "(long) 1e9 + 7", "(long) 1e9", "7", "final int maxn = 5005;", "maxn", "5005", "long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }", "pro", "{\n return (a % mod * b % mod) % mod;\n }", "return (a % mod * b % mod) % mod;", "(a % mod * b % mod) % mod", "(a % mod * b % mod)", "a % mod * b", "a % mod", "a", "mod", "b", "mod", "mod", "long a", "a", "long b", "b", "long add(long a, long b) {\n return (a + b) % mod;\n }", "add", "{\n return (a + b) % mod;\n }", "return (a + b) % mod;", "(a + b) % mod", "(a + b)", "a", "b", "mod", "long a", "a", "long b", "b", "long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }", "sub", "{\n return ((a % mod - b % mod) + mod) % mod;\n }", "return ((a % mod - b % mod) + mod) % mod;", "((a % mod - b % mod) + mod) % mod", "((a % mod - b % mod) + mod)", "(a % mod - b % mod)", "a % mod", "a", "mod", "b % mod", "b", "mod", "mod", "mod", "long a", "a", "long b", "b", "long ncr3(long n) {\n return (n * (n - 1) * (n - 2)) / 6l;\n }", "ncr3", "{\n return (n * (n - 1) * (n - 2)) / 6l;\n }", "return (n * (n - 1) * (n - 2)) / 6l;", "(n * (n - 1) * (n - 2)) / 6l", "(n * (n - 1) * (n - 2))", "n * (n - 1) * (n - 2)", "n", "(n - 1)", "n", "1", "(n - 2)", "n", "2", "6l", "long n", "n", "long ncr2(long n) {\n return n * (n - 1) / 2l;\n }", "ncr2", "{\n return n * (n - 1) / 2l;\n }", "return n * (n - 1) / 2l;", "n * (n - 1) / 2l", "n * (n - 1)", "n", "(n - 1)", "n", "1", "2l", "long n", "n", "long ncr(long n, long r) {\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }", "ncr", "{\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }", "double res = 1.0;", "res", "1.0", "for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }", "long i = n, j = r;", "long i = n", "i", "n", "j = r;", "j", "r", "i > (n - r)", "i", "(n - r)", "n", "r", "i--, j--", "i--", "i", "j--", "j", "{\n res *= (i * 1.0) / j;\n }", "{\n res *= (i * 1.0) / j;\n }", "res *= (i * 1.0) / j", "res", "(i * 1.0) / j", "(i * 1.0)", "i", "1.0", "j", "return (long) Math.ceil(res);", "(long) Math.ceil(res)", "Math.ceil", "Math", "res", "long n", "n", "long r", "r", "long modPow(long x, long y) {\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }", "modPow", "{\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }", "long res = 1;", "res", "1", "x = x % mod", "x", "x % mod", "x", "mod", "while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }", "y > 0", "y", "0", "{\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }", "if (y % 2 != 0)\n res = pro(res, x);", "y % 2 != 0", "y % 2", "y", "2", "0", "res = pro(res, x)", "res", "pro(res, x)", "pro", "res", "x", "x = pro(x, x)", "x", "pro(x, x)", "pro", "x", "x", "y = y >> 1", "y", "y >> 1", "y", "1", "return res;", "res", "long x", "x", "long y", "y", "int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }", "gcd", "{\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }", "if (b == 0)\n return a;", "b == 0", "b", "0", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "void solve() throws IOException {\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }", "solve", "{\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }", "int n = sc.ni();", "n", "sc.ni()", "sc.ni", "sc", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }", "n-- > 0", "n--", "n", "0", "{\n String s = sc.sn();\n set.add(s);\n }", "String s = sc.sn();", "s", "sc.sn()", "sc.sn", "sc", "set.add(s)", "set.add", "set", "s", "out.println(set.size())", "out.println", "out", "set.size()", "set.size", "set", "public class Main {\n\n static InputReader sc = new InputReader(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws IOException {\n solver s = new solver();\n int t = 1;\n while (t > 0) {\n s.solve();\n t--;\n }\n out.close();\n }\n\n static class InputReader {\n\n public BufferedReader br;\n public StringTokenizer token;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }\n\n public String sn() {\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(sn());\n }\n\n public String snl() throws IOException {\n return br.readLine();\n }\n\n public long nlo() {\n return Long.parseLong(sn());\n }\n\n public double nd() {\n return Double.parseDouble(sn());\n }\n\n public int[] na(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }\n\n public long[] nal(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }\n }\n\n static int inf = 5000013;\n\n static class solver {\n DecimalFormat df = new DecimalFormat(\"0.00000000000000000000\");\n long max = 1000000000000000l, min = -10000000000000000l;\n long mod = (long) 1e9 + 7;\n\n long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n long add(long a, long b) {\n return (a + b) % mod;\n }\n\n long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n long ncr3(long n) {\n return (n * (n - 1) * (n - 2)) / 6l;\n }\n\n long ncr2(long n) {\n return n * (n - 1) / 2l;\n }\n\n long ncr(long n, long r) {\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }\n\n long modPow(long x, long y) {\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }\n\n int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n final int maxn = 5005;\n\n void solve() throws IOException {\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }\n }\n}", "public class Main {\n\n static InputReader sc = new InputReader(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) throws IOException {\n solver s = new solver();\n int t = 1;\n while (t > 0) {\n s.solve();\n t--;\n }\n out.close();\n }\n\n static class InputReader {\n\n public BufferedReader br;\n public StringTokenizer token;\n\n public InputReader(InputStream stream) {\n br = new BufferedReader(new InputStreamReader(stream), 32768);\n token = null;\n }\n\n public String sn() {\n while (token == null || !token.hasMoreTokens()) {\n try {\n token = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return token.nextToken();\n }\n\n public int ni() {\n return Integer.parseInt(sn());\n }\n\n public String snl() throws IOException {\n return br.readLine();\n }\n\n public long nlo() {\n return Long.parseLong(sn());\n }\n\n public double nd() {\n return Double.parseDouble(sn());\n }\n\n public int[] na(int n) {\n int a[] = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.ni();\n return a;\n }\n\n public long[] nal(int n) {\n long a[] = new long[n];\n for (int i = 0; i < n; i++)\n a[i] = sc.nlo();\n return a;\n }\n }\n\n static int inf = 5000013;\n\n static class solver {\n DecimalFormat df = new DecimalFormat(\"0.00000000000000000000\");\n long max = 1000000000000000l, min = -10000000000000000l;\n long mod = (long) 1e9 + 7;\n\n long pro(long a, long b) {\n return (a % mod * b % mod) % mod;\n }\n\n long add(long a, long b) {\n return (a + b) % mod;\n }\n\n long sub(long a, long b) {\n return ((a % mod - b % mod) + mod) % mod;\n }\n\n long ncr3(long n) {\n return (n * (n - 1) * (n - 2)) / 6l;\n }\n\n long ncr2(long n) {\n return n * (n - 1) / 2l;\n }\n\n long ncr(long n, long r) {\n double res = 1.0;\n for (long i = n, j = r; i > (n - r); i--, j--) {\n res *= (i * 1.0) / j;\n }\n return (long) Math.ceil(res);\n }\n\n long modPow(long x, long y) {\n long res = 1;\n x = x % mod;\n while (y > 0) {\n if (y % 2 != 0)\n res = pro(res, x);\n x = pro(x, x);\n y = y >> 1;\n }\n return res;\n }\n\n int gcd(int a, int b) {\n if (b == 0)\n return a;\n return gcd(b, a % b);\n }\n\n final int maxn = 5005;\n\n void solve() throws IOException {\n int n = sc.ni();\n HashSet<String> set = new HashSet<>();\n while (n-- > 0) {\n String s = sc.sn();\n set.add(s);\n }\n out.println(set.size());\n }\n }\n}", "Main" ]
import java.io.*; import java.text.*; import java.util.*; public class Main { static InputReader sc = new InputReader(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) throws IOException { solver s = new solver(); int t = 1; while (t > 0) { s.solve(); t--; } out.close(); } static class InputReader { public BufferedReader br; public StringTokenizer token; public InputReader(InputStream stream) { br = new BufferedReader(new InputStreamReader(stream), 32768); token = null; } public String sn() { while (token == null || !token.hasMoreTokens()) { try { token = new StringTokenizer(br.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return token.nextToken(); } public int ni() { return Integer.parseInt(sn()); } public String snl() throws IOException { return br.readLine(); } public long nlo() { return Long.parseLong(sn()); } public double nd() { return Double.parseDouble(sn()); } public int[] na(int n) { int a[] = new int[n]; for (int i = 0; i < n; i++) a[i] = sc.ni(); return a; } public long[] nal(int n) { long a[] = new long[n]; for (int i = 0; i < n; i++) a[i] = sc.nlo(); return a; } } static int inf = 5000013; static class solver { DecimalFormat df = new DecimalFormat("0.00000000000000000000"); long max = 1000000000000000l, min = -10000000000000000l; long mod = (long) 1e9 + 7; long pro(long a, long b) { return (a % mod * b % mod) % mod; } long add(long a, long b) { return (a + b) % mod; } long sub(long a, long b) { return ((a % mod - b % mod) + mod) % mod; } long ncr3(long n) { return (n * (n - 1) * (n - 2)) / 6l; } long ncr2(long n) { return n * (n - 1) / 2l; } long ncr(long n, long r) { double res = 1.0; for (long i = n, j = r; i > (n - r); i--, j--) { res *= (i * 1.0) / j; } return (long) Math.ceil(res); } long modPow(long x, long y) { long res = 1; x = x % mod; while (y > 0) { if (y % 2 != 0) res = pro(res, x); x = pro(x, x); y = y >> 1; } return res; } int gcd(int a, int b) { if (b == 0) return a; return gcd(b, a % b); } final int maxn = 5005; void solve() throws IOException { int n = sc.ni(); HashSet<String> set = new HashSet<>(); while (n-- > 0) { String s = sc.sn(); set.add(s); } out.println(set.size()); } } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 12, 56 ], [ 56, 57 ] ]
[ "\nimport java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\nclass Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tSet<String> a = new HashSet();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ta.add(sc.next());\n\t\t}\n\t\tSystem.out.println(a.size());\n\n\n\t}\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "class Main {\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tSet<String> a = new HashSet();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ta.add(sc.next());\n\t\t}\n\t\tSystem.out.println(a.size());\n\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tSet<String> a = new HashSet();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ta.add(sc.next());\n\t\t}\n\t\tSystem.out.println(a.size());\n\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint N = Integer.parseInt(sc.next());\n\n\t\tSet<String> a = new HashSet();\n\n\t\tfor(int i = 0; i < N;i++) {\n\t\t\ta.add(sc.next());\n\t\t}\n\t\tSystem.out.println(a.size());\n\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = Integer.parseInt(sc.next());", "N", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "Set<String> a = new HashSet();", "a", "new HashSet()", "for(int i = 0; i < N;i++) {\n\t\t\ta.add(sc.next());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\ta.add(sc.next());\n\t\t}", "{\n\t\t\ta.add(sc.next());\n\t\t}", "a.add(sc.next())", "a.add", "a", "sc.next()", "sc.next", "sc", "System.out.println(a.size())", "System.out.println", "System.out", "System", "System.out", "a.size()", "a.size", "a", "String[] args", "args" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); Set<String> a = new HashSet(); for(int i = 0; i < N;i++) { a.add(sc.next()); } System.out.println(a.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 98, 11 ], [ 98, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 18, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 18, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 36, 37 ], [ 36, 38 ], [ 14, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 14, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 12, 52 ], [ 52, 53 ], [ 98, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 56, 65 ], [ 65, 66 ], [ 65, 67 ], [ 56, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 87, 88 ], [ 56, 89 ], [ 89, 90 ], [ 89, 91 ], [ 56, 92 ], [ 92, 93 ], [ 93, 94 ], [ 54, 95 ], [ 95, 96 ], [ 0, 97 ], [ 97, 98 ], [ 97, 99 ] ]
[ "import java.util.LinkedHashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\n\tstatic void f(String[] strings){\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\tfor (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tString[] S = new String[N];\n\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tf(S);\n\n\t\tscan.close();\n\t}\n\n}", "import java.util.LinkedHashSet;", "LinkedHashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\n\tstatic void f(String[] strings){\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\tfor (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tString[] S = new String[N];\n\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tf(S);\n\n\t\tscan.close();\n\t}\n\n}", "Main", "static void f(String[] strings){\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\tfor (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n\t}", "f", "{\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\tfor (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n\t}", "Set<String> linkedHashSet = new LinkedHashSet<String>();", "linkedHashSet", "new LinkedHashSet<String>()", "for (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }", "int i = 0;", "int i = 0;", "i", "0", "i < strings.length", "i", "strings.length", "strings", "strings.length", "i++", "i++", "i", "{\n\t\t linkedHashSet.add(strings[i]);\n\t\t }", "{\n\t\t linkedHashSet.add(strings[i]);\n\t\t }", "linkedHashSet.add(strings[i])", "linkedHashSet.add", "linkedHashSet", "strings[i]", "strings", "i", "Object[] strings_after = linkedHashSet.toArray();", "strings_after", "linkedHashSet.toArray()", "linkedHashSet.toArray", "linkedHashSet", "System.out.println(strings_after.length)", "System.out.println", "System.out", "System", "System.out", "strings_after.length", "strings_after", "strings_after.length", "String[] strings", "strings", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tString[] S = new String[N];\n\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tf(S);\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tString[] S = new String[N];\n\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tf(S);\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", "String[] S = new String[N];", "S", "new String[N]", "N", "for(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tS[i] = scan.next();\n\t\t}", "{\n\t\t\tS[i] = scan.next();\n\t\t}", "S[i] = scan.next()", "S[i]", "S", "i", "scan.next()", "scan.next", "scan", "f(S)", "f", "S", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\n\tstatic void f(String[] strings){\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\tfor (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tString[] S = new String[N];\n\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tf(S);\n\n\t\tscan.close();\n\t}\n\n}", "public class Main {\n\n\tstatic void f(String[] strings){\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\n\t\tfor (int i = 0; i < strings.length; i++) {\n\t\t linkedHashSet.add(strings[i]);\n\t\t }\n\t\t Object[] strings_after = linkedHashSet.toArray();\n\n\t\t System.out.println(strings_after.length);\n\t}\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tString[] S = new String[N];\n\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tf(S);\n\n\t\tscan.close();\n\t}\n\n}", "Main" ]
import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class Main { static void f(String[] strings){ Set<String> linkedHashSet = new LinkedHashSet<String>(); for (int i = 0; i < strings.length; i++) { linkedHashSet.add(strings[i]); } Object[] strings_after = linkedHashSet.toArray(); System.out.println(strings_after.length); } public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); String[] S = new String[N]; for(int i=0;i<N;i++) { S[i] = scan.next(); } f(S); 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, 4, 18, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 2, 13, 17, 18, 13, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 87, 5 ], [ 87, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 8, 48 ], [ 48, 49 ], [ 48, 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 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 66, 73 ], [ 73, 74 ], [ 73, 75 ], [ 64, 76 ], [ 76, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 6, 84 ], [ 84, 85 ], [ 0, 86 ], [ 86, 87 ], [ 86, 88 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }\n sc.close();\n Arrays.sort(a);\n int yono = 1;\n for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }\n System.out.println(yono);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }\n sc.close();\n Arrays.sort(a);\n int yono = 1;\n for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }\n System.out.println(yono);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }\n sc.close();\n Arrays.sort(a);\n int yono = 1;\n for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }\n System.out.println(yono);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }\n sc.close();\n Arrays.sort(a);\n int yono = 1;\n for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }\n System.out.println(yono);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] a = new String[n];", "a", "new String[n]", "n", "for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = sc.next();\n }", "{\n a[i] = sc.next();\n }", "a[i] = sc.next()", "a[i]", "a", "i", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int yono = 1;", "yono", "1", "for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }", "int i = 1 ;", "int i = 1 ;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n if(!a[i - 1].equals(a[i])) yono++;\n }", "{\n if(!a[i - 1].equals(a[i])) yono++;\n }", "if(!a[i - 1].equals(a[i])) yono++;", "!a[i - 1].equals(a[i])", "a[i - 1].equals(a[i])", "a[i - 1].equals", "a[i - 1]", "a", "i - 1", "i", "1", "a[i]", "a", "i", "yono++", "yono", "System.out.println(yono)", "System.out.println", "System.out", "System", "System.out", "yono", "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[] a = new String[n];\n for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }\n sc.close();\n Arrays.sort(a);\n int yono = 1;\n for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }\n System.out.println(yono);\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[] a = new String[n];\n for(int i = 0 ; i < n ; i++){\n a[i] = sc.next();\n }\n sc.close();\n Arrays.sort(a);\n int yono = 1;\n for(int i = 1 ; i < n ; i++){\n if(!a[i - 1].equals(a[i])) yono++;\n }\n System.out.println(yono);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] a = new String[n]; for(int i = 0 ; i < n ; i++){ a[i] = sc.next(); } sc.close(); Arrays.sort(a); int yono = 1; for(int i = 1 ; i < n ; i++){ if(!a[i - 1].equals(a[i])) yono++; } System.out.println(yono); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 20, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 4, 18, 18, 13, 13, 17, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 6, 13, 41, 13, 2, 17, 17, 41, 13, 17, 41, 13, 20, 13, 41, 13, 17, 41, 13, 17, 41, 13, 13, 41, 13, 17, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 38, 5, 13, 30, 0, 13, 20, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 13, 13, 30, 38, 5, 13, 30, 29, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 40, 17, 29, 13, 0, 13, 17, 29, 18, 13, 40, 13, 12, 13, 30, 29, 4, 13, 12, 13, 30, 0, 13, 17, 41, 13, 17, 14, 2, 13, 13, 0, 13, 4, 13, 11, 1, 2, 2, 13, 17, 2, 13, 17, 1, 0, 13, 4, 13, 30, 30, 14, 2, 13, 17, 0, 13, 17, 41, 13, 17, 11, 1, 2, 2, 13, 17, 2, 13, 17, 1, 0, 13, 4, 13, 30, 30, 0, 13, 2, 2, 2, 2, 13, 17, 2, 13, 17, 13, 17, 0, 13, 17, 29, 8, 13, 40, 13, 13, 12, 13, 30, 41, 13, 4, 13, 29, 8, 2, 13, 17, 13, 2, 13, 2, 4, 13, 13, 12, 13, 30, 41, 13, 20, 42, 2, 13, 17, 0, 13, 4, 13, 42, 2, 13, 17, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 20, 42, 2, 13, 17, 0, 13, 4, 13, 42, 2, 13, 17, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 42, 17, 30, 0, 13, 4, 13, 14, 2, 13, 13, 29, 17, 14, 2, 13, 17, 29, 17, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 370, 8 ], [ 370, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 9, 13 ], [ 13, 14 ], [ 370, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 17, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 46, 47 ], [ 47, 48 ], [ 17, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 52, 53 ], [ 53, 54 ], [ 17, 55 ], [ 55, 56 ], [ 56, 57 ], [ 370, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 58, 65 ], [ 65, 66 ], [ 65, 67 ], [ 58, 68 ], [ 68, 69 ], [ 68, 70 ], [ 58, 72 ], [ 72, 73 ], [ 72, 74 ], [ 58, 75 ], [ 75, 76 ], [ 75, 77 ], [ 58, 78 ], [ 78, 79 ], [ 78, 80 ], [ 58, 81 ], [ 81, 82 ], [ 81, 83 ], [ 58, 84 ], [ 84, 85 ], [ 58, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 58, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 95, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 92, 106 ], [ 106, 107 ], [ 58, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 120, 121 ], [ 116, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 126, 127 ], [ 125, 128 ], [ 115, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 129, 134 ], [ 134, 135 ], [ 115, 136 ], [ 136, 137 ], [ 136, 138 ], [ 110, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 58, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 58, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 156, 158 ], [ 152, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 152, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 173, 175 ], [ 167, 176 ], [ 176, 177 ], [ 177, 178 ], [ 177, 179 ], [ 179, 180 ], [ 167, 181 ], [ 182, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 187, 188 ], [ 187, 189 ], [ 152, 190 ], [ 190, 191 ], [ 190, 192 ], [ 152, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 199, 201 ], [ 193, 202 ], [ 202, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 193, 207 ], [ 208, 208 ], [ 208, 209 ], [ 209, 210 ], [ 209, 211 ], [ 211, 212 ], [ 213, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 217, 219 ], [ 213, 220 ], [ 211, 221 ], [ 208, 222 ], [ 222, 223 ], [ 222, 224 ], [ 152, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 226, 230 ], [ 58, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 233, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 239, 244 ], [ 244, 245 ], [ 244, 246 ], [ 246, 247 ], [ 247, 248 ], [ 246, 249 ], [ 58, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 252, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 252, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 264, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 269, 272 ], [ 268, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 252, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 58, 281 ], [ 281, 282 ], [ 281, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 283, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 287, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 283, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 295, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 300, 303 ], [ 299, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 283, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 58, 312 ], [ 312, 313 ], [ 312, 314 ], [ 314, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 319 ], [ 319, 320 ], [ 314, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 323, 328 ], [ 328, 329 ], [ 329, 330 ], [ 329, 331 ], [ 328, 332 ], [ 332, 333 ], [ 328, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 334, 338 ], [ 338, 339 ], [ 58, 340 ], [ 340, 341 ], [ 340, 342 ], [ 342, 343 ], [ 343, 344 ], [ 343, 345 ], [ 342, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 349, 351 ], [ 347, 352 ], [ 352, 353 ], [ 352, 354 ], [ 347, 355 ], [ 355, 356 ], [ 356, 357 ], [ 347, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 359, 363 ], [ 363, 364 ], [ 342, 365 ], [ 365, 366 ], [ 340, 367 ], [ 367, 368 ], [ 0, 369 ], [ 369, 370 ], [ 369, 371 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tpublic static void main (String[] args) { new Main(); }\n\n\tpublic Main() {\n\t\tFastScanner fs = new FastScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tSystem.err.println(\"\");\n\n\t\tint n = fs.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\twhile(n-->0) set.add(fs.next());\n\t\tout.println(set.size());\n\t\t\n\t\t\n\t\tout.close();\n\t}\n\n\tclass FastScanner {\n\t\tpublic int BS = 1<<16;\n\t\tpublic char NC = (char)0;\n\t\tbyte[] buf = new byte[BS];\n\t\tint bId = 0, size = 0;\n\t\tchar c = NC;\n\t\tdouble num = 1;\n\t\tBufferedInputStream in;\n\n\t\tpublic FastScanner() {\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}\n\n\t\tpublic FastScanner(String s) {\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}\n\n\t\tpublic char nextChar(){\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}\n\t\t\n\t}\n\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main (String[] args) { new Main(); }\n\n\tpublic Main() {\n\t\tFastScanner fs = new FastScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tSystem.err.println(\"\");\n\n\t\tint n = fs.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\twhile(n-->0) set.add(fs.next());\n\t\tout.println(set.size());\n\t\t\n\t\t\n\t\tout.close();\n\t}\n\n\tclass FastScanner {\n\t\tpublic int BS = 1<<16;\n\t\tpublic char NC = (char)0;\n\t\tbyte[] buf = new byte[BS];\n\t\tint bId = 0, size = 0;\n\t\tchar c = NC;\n\t\tdouble num = 1;\n\t\tBufferedInputStream in;\n\n\t\tpublic FastScanner() {\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}\n\n\t\tpublic FastScanner(String s) {\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}\n\n\t\tpublic char nextChar(){\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}\n\t\t\n\t}\n\n}", "Main", "public static void main (String[] args) { new Main(); }", "main", "{ new Main(); }", "new Main()", "String[] args", "args", "public Main() {\n\t\tFastScanner fs = new FastScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tSystem.err.println(\"\");\n\n\t\tint n = fs.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\twhile(n-->0) set.add(fs.next());\n\t\tout.println(set.size());\n\t\t\n\t\t\n\t\tout.close();\n\t}", "Main", "{\n\t\tFastScanner fs = new FastScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tSystem.err.println(\"\");\n\n\t\tint n = fs.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\twhile(n-->0) set.add(fs.next());\n\t\tout.println(set.size());\n\t\t\n\t\t\n\t\tout.close();\n\t}", "FastScanner fs = new FastScanner();", "fs", "new FastScanner()", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "System.err.println(\"\")", "System.err.println", "System.err", "System", "System.err", "\"\"", "int n = fs.nextInt();", "n", "fs.nextInt()", "fs.nextInt", "fs", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "while(n-->0) set.add(fs.next());", "n-->0", "n--", "n", "0", "set.add(fs.next())", "set.add", "set", "fs.next()", "fs.next", "fs", "out.println(set.size())", "out.println", "out", "set.size()", "set.size", "set", "out.close()", "out.close", "out", "class FastScanner {\n\t\tpublic int BS = 1<<16;\n\t\tpublic char NC = (char)0;\n\t\tbyte[] buf = new byte[BS];\n\t\tint bId = 0, size = 0;\n\t\tchar c = NC;\n\t\tdouble num = 1;\n\t\tBufferedInputStream in;\n\n\t\tpublic FastScanner() {\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}\n\n\t\tpublic FastScanner(String s) {\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}\n\n\t\tpublic char nextChar(){\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}\n\t\t\n\t}", "FastScanner", "public int BS = 1<<16;", "BS", "1<<16", "1", "16", "public char NC = (char)0;", "NC", "(char)0", "byte[] buf = new byte[BS];", "buf", "new byte[BS]", "BS", "int bId = 0", "bId", "0", "size = 0;", "size", "0", "char c = NC;", "c", "NC", "double num = 1;", "num", "1", "BufferedInputStream in;", "in", "public FastScanner() {\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}", "FastScanner", "{\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}", "in = new BufferedInputStream(System.in, BS)", "in", "new BufferedInputStream(System.in, BS)", "public FastScanner(String s) {\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}", "FastScanner", "{\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}", "try {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}", "catch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}", "Exception e", "{\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}", "in = new BufferedInputStream(System.in, BS)", "in", "new BufferedInputStream(System.in, BS)", "{\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}", "in = new BufferedInputStream(new FileInputStream(new File(s)), BS)", "in", "new BufferedInputStream(new FileInputStream(new File(s)), BS)", "String s", "s", "public char nextChar(){\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}", "nextChar", "{\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}", "while(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}", "bId==size", "bId", "size", "{\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}", "try {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t}", "catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t}", "Exception e", "{\n\t\t\t\t\treturn NC;\n\t\t\t\t}", "return NC;", "NC", "{\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}", "size = in.read(buf)", "size", "in.read(buf)", "in.read", "in", "buf", "if(size==-1)return NC;", "size==-1", "size", "-1", "1", "return NC;", "NC", "bId=0", "bId", "0", "return (char)buf[bId++];", "(char)buf[bId++]", "buf", "bId++", "bId", "public int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}", "nextInt", "{\n\t\t\treturn (int)nextLong();\n\t\t}", "return (int)nextLong();", "(int)nextLong()", "nextLong", "public long nextLong() {\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}", "nextLong", "{\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}", "num=1", "num", "1", "boolean neg = false;", "neg", "false", "if(c==NC)c=nextChar();", "c==NC", "c", "NC", "c=nextChar()", "c", "nextChar()", "nextChar", "for(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}", ";", "(c<'0' || c>'9')", "c<'0'", "c", "'0'", "c>'9'", "c", "'9'", "c = nextChar()", "c = nextChar()", "c", "nextChar()", "nextChar", "{\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}", "{\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}", "if(c=='-')neg=true;", "c=='-'", "c", "'-'", "neg=true", "neg", "true", "long res = 0;", "res", "0", "for(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}", ";", "c>='0' && c <='9'", "c>='0'", "c", "'0'", "c <='9'", "c", "'9'", "c=nextChar()", "c=nextChar()", "c", "nextChar()", "nextChar", "{\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}", "{\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}", "res = (res<<3)+(res<<1)+c-'0'", "res", "(res<<3)+(res<<1)+c-'0'", "(res<<3)+(res<<1)+c", "(res<<3)+(res<<1)+c", "(res<<3)", "res", "3", "(res<<1)", "res", "1", "c", "'0'", "num*=10", "num", "10", "return neg?-res:res;", "neg?-res:res", "neg", "-res", "res", "res", "public double nextDouble() {\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}", "nextDouble", "{\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}", "double cur = nextLong();", "cur", "nextLong()", "nextLong", "return c!='.' ? cur:cur+nextLong()/num;", "c!='.' ? cur:cur+nextLong()/num", "c!='.'", "c", "'.'", "cur", "cur+nextLong()/num", "cur", "nextLong()/num", "nextLong()", "nextLong", "num", "public String next() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}", "next", "{\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "while(c<=32)c=nextChar();", "c<=32", "c", "32", "c=nextChar()", "c", "nextChar()", "nextChar", "while(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}", "c>32", "c", "32", "{\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}", "res.append(c)", "res.append", "res", "c", "c=nextChar()", "c", "nextChar()", "nextChar", "return res.toString();", "res.toString()", "res.toString", "res", "public String nextLine() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}", "nextLine", "{\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "while(c<=32)c=nextChar();", "c<=32", "c", "32", "c=nextChar()", "c", "nextChar()", "nextChar", "while(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}", "c!='\\n'", "c", "'\\n'", "{\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}", "res.append(c)", "res.append", "res", "c", "c=nextChar()", "c", "nextChar()", "nextChar", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean hasNext() {\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}", "hasNext", "{\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}", "if(c>32)return true;", "c>32", "c", "32", "return true;", "true", "while(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}", "true", "{\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}", "c=nextChar()", "c", "nextChar()", "nextChar", "if(c==NC)return false;\n\t\t\t\telse if(c>32)return true;", "c==NC", "c", "NC", "return false;", "false", "if(c>32)return true;", "c>32", "c", "32", "return true;", "true", "public int[] nextIntArray(int n) {\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}", "nextIntArray", "{\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}", "int[] res = new int[n];", "res", "new int[n]", "n", "for(int i = 0; i < n; i++) res[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "res[i] = nextInt();", "res[i] = nextInt()", "res[i]", "res", "i", "nextInt()", "nextInt", "return res;", "res", "int n", "n", "public class Main {\n\tpublic static void main (String[] args) { new Main(); }\n\n\tpublic Main() {\n\t\tFastScanner fs = new FastScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tSystem.err.println(\"\");\n\n\t\tint n = fs.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\twhile(n-->0) set.add(fs.next());\n\t\tout.println(set.size());\n\t\t\n\t\t\n\t\tout.close();\n\t}\n\n\tclass FastScanner {\n\t\tpublic int BS = 1<<16;\n\t\tpublic char NC = (char)0;\n\t\tbyte[] buf = new byte[BS];\n\t\tint bId = 0, size = 0;\n\t\tchar c = NC;\n\t\tdouble num = 1;\n\t\tBufferedInputStream in;\n\n\t\tpublic FastScanner() {\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}\n\n\t\tpublic FastScanner(String s) {\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}\n\n\t\tpublic char nextChar(){\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}\n\t\t\n\t}\n\n}", "public class Main {\n\tpublic static void main (String[] args) { new Main(); }\n\n\tpublic Main() {\n\t\tFastScanner fs = new FastScanner();\n\t\tPrintWriter out = new PrintWriter(System.out);\n\t\tSystem.err.println(\"\");\n\n\t\tint n = fs.nextInt();\n\t\tHashSet<String> set = new HashSet<>();\n\t\twhile(n-->0) set.add(fs.next());\n\t\tout.println(set.size());\n\t\t\n\t\t\n\t\tout.close();\n\t}\n\n\tclass FastScanner {\n\t\tpublic int BS = 1<<16;\n\t\tpublic char NC = (char)0;\n\t\tbyte[] buf = new byte[BS];\n\t\tint bId = 0, size = 0;\n\t\tchar c = NC;\n\t\tdouble num = 1;\n\t\tBufferedInputStream in;\n\n\t\tpublic FastScanner() {\n\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t}\n\n\t\tpublic FastScanner(String s) {\n\t\t\ttry {\n\t\t\t\tin = new BufferedInputStream(new FileInputStream(new File(s)), BS);\n\t\t\t}\n\t\t\tcatch (Exception e) {\n\t\t\t\tin = new BufferedInputStream(System.in, BS);\n\t\t\t}\n\t\t}\n\n\t\tpublic char nextChar(){\n\t\t\twhile(bId==size) {\n\t\t\t\ttry {\n\t\t\t\t\tsize = in.read(buf);\n\t\t\t\t}catch(Exception e) {\n\t\t\t\t\treturn NC;\n\t\t\t\t} \n\t\t\t\tif(size==-1)return NC;\n\t\t\t\tbId=0;\n\t\t\t}\n\t\t\treturn (char)buf[bId++];\n\t\t}\n\n\t\tpublic int nextInt() {\n\t\t\treturn (int)nextLong();\n\t\t}\n\n\t\tpublic long nextLong() {\n\t\t\tnum=1;\n\t\t\tboolean neg = false;\n\t\t\tif(c==NC)c=nextChar();\n\t\t\tfor(;(c<'0' || c>'9'); c = nextChar()) {\n\t\t\t\tif(c=='-')neg=true;\n\t\t\t}\n\t\t\tlong res = 0;\n\t\t\tfor(; c>='0' && c <='9'; c=nextChar()) {\n\t\t\t\tres = (res<<3)+(res<<1)+c-'0';\n\t\t\t\tnum*=10;\n\t\t\t}\n\t\t\treturn neg?-res:res;\n\t\t}\n\n\t\tpublic double nextDouble() {\n\t\t\tdouble cur = nextLong();\n\t\t\treturn c!='.' ? cur:cur+nextLong()/num;\n\t\t}\n\n\t\tpublic String next() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c>32) {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic String nextLine() {\n\t\t\tStringBuilder res = new StringBuilder();\n\t\t\twhile(c<=32)c=nextChar();\n\t\t\twhile(c!='\\n') {\n\t\t\t\tres.append(c);\n\t\t\t\tc=nextChar();\n\t\t\t}\n\t\t\treturn res.toString();\n\t\t}\n\n\t\tpublic boolean hasNext() {\n\t\t\tif(c>32)return true;\n\t\t\twhile(true) {\n\t\t\t\tc=nextChar();\n\t\t\t\tif(c==NC)return false;\n\t\t\t\telse if(c>32)return true;\n\t\t\t}\n\t\t}\n\t\t\n\t\tpublic int[] nextIntArray(int n) {\n\t\t\tint[] res = new int[n];\n\t\t\tfor(int i = 0; i < n; i++) res[i] = nextInt();\n\t\t\treturn res;\n\t\t}\n\t\t\n\t}\n\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { public static void main (String[] args) { new Main(); } public Main() { FastScanner fs = new FastScanner(); PrintWriter out = new PrintWriter(System.out); System.err.println(""); int n = fs.nextInt(); HashSet<String> set = new HashSet<>(); while(n-->0) set.add(fs.next()); out.println(set.size()); out.close(); } class FastScanner { public int BS = 1<<16; public char NC = (char)0; byte[] buf = new byte[BS]; int bId = 0, size = 0; char c = NC; double num = 1; BufferedInputStream in; public FastScanner() { in = new BufferedInputStream(System.in, BS); } public FastScanner(String s) { try { in = new BufferedInputStream(new FileInputStream(new File(s)), BS); } catch (Exception e) { in = new BufferedInputStream(System.in, BS); } } public char nextChar(){ while(bId==size) { try { size = in.read(buf); }catch(Exception e) { return NC; } if(size==-1)return NC; bId=0; } return (char)buf[bId++]; } public int nextInt() { return (int)nextLong(); } public long nextLong() { num=1; boolean neg = false; if(c==NC)c=nextChar(); for(;(c<'0' || c>'9'); c = nextChar()) { if(c=='-')neg=true; } long res = 0; for(; c>='0' && c <='9'; c=nextChar()) { res = (res<<3)+(res<<1)+c-'0'; num*=10; } return neg?-res:res; } public double nextDouble() { double cur = nextLong(); return c!='.' ? cur:cur+nextLong()/num; } public String next() { StringBuilder res = new StringBuilder(); while(c<=32)c=nextChar(); while(c>32) { res.append(c); c=nextChar(); } return res.toString(); } public String nextLine() { StringBuilder res = new StringBuilder(); while(c<=32)c=nextChar(); while(c!='\n') { res.append(c); c=nextChar(); } return res.toString(); } public boolean hasNext() { if(c>32)return true; while(true) { c=nextChar(); if(c==NC)return false; else if(c>32)return true; } } public int[] nextIntArray(int n) { int[] res = new int[n]; for(int i = 0; i < n; i++) res[i] = nextInt(); return res; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 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, 0, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 18, 13, 13, 41, 13, 20, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 14, 2, 13, 13, 30, 29, 17, 30, 0, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 17, 29, 17, 12, 13, 30, 14, 4, 13, 29, 18, 13, 40, 13, 29, 40, 17, 12, 13, 30, 29, 2, 2, 17, 13, 2, 13, 17, 23, 13, 12, 13, 30, 42, 2, 4, 13, 40, 4, 13, 18, 13, 13, 40, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 20, 41, 13, 4, 13, 42, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 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 ], [ 200, 11 ], [ 200, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 14, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 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 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 14, 54 ], [ 54, 55 ], [ 54, 56 ], [ 14, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 12, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 67, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 78 ], [ 78, 79 ], [ 78, 80 ], [ 67, 81 ], [ 81, 82 ], [ 81, 83 ], [ 67, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 91, 92 ], [ 92, 93 ], [ 87, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 98, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 94, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 86, 119 ], [ 119, 120 ], [ 67, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 130, 131 ], [ 124, 132 ], [ 132, 133 ], [ 133, 134 ], [ 67, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 139, 143 ], [ 143, 144 ], [ 143, 145 ], [ 135, 146 ], [ 146, 147 ], [ 67, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 152, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 158, 160 ], [ 151, 161 ], [ 161, 162 ], [ 150, 163 ], [ 163, 164 ], [ 164, 165 ], [ 67, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 169, 173 ], [ 173, 174 ], [ 168, 175 ], [ 175, 176 ], [ 175, 177 ], [ 168, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 168, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 187, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 168, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 0, 199 ], [ 199, 200 ], [ 199, 201 ] ]
[ "import java.io.IOException;\nimport java.io.InputStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n String text = \"\";\n List<String> listA = new ArrayList<>();\n int count = Integer.parseInt(sc.next());\n\n for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n System.out.print(listB.size());\n }\n}\n\nclass FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n String text = \"\";\n List<String> listA = new ArrayList<>();\n int count = Integer.parseInt(sc.next());\n\n for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n System.out.print(listB.size());\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n String text = \"\";\n List<String> listA = new ArrayList<>();\n int count = Integer.parseInt(sc.next());\n\n for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n System.out.print(listB.size());\n }", "main", "{\n FastScanner sc = new FastScanner();\n String text = \"\";\n List<String> listA = new ArrayList<>();\n int count = Integer.parseInt(sc.next());\n\n for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n System.out.print(listB.size());\n }", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "String text = \"\";", "text", "\"\"", "List<String> listA = new ArrayList<>();", "listA", "new ArrayList<>()", "int count = Integer.parseInt(sc.next());", "count", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count", "i", "count", "i++", "i++", "i", "{\n text = sc.next();\n listA.add(text);\n\n }", "{\n text = sc.next();\n listA.add(text);\n\n }", "text = sc.next()", "text", "sc.next()", "sc.next", "sc", "listA.add(text)", "listA.add", "listA", "text", "List<String> listB = new ArrayList<String>(new HashSet<>(listA));", "listB", "new ArrayList<String>(new HashSet<>(listA))", "System.out.print(listB.size())", "System.out.print", "System.out", "System", "System.out", "listB.size()", "listB.size", "listB", "String[] args", "args", "class FastScanner {\n private final InputStream in = System.in;\n private final byte[] buffer = new byte[1024];\n private int ptr = 0;\n private int buflen = 0;\n private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }\n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}\n public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n return sb.toString();\n }\n\n}", "FastScanner", "private final InputStream in = System.in;", "in", "System.in", "System", "System.in", "private final byte[] buffer = new byte[1024];", "buffer", "new byte[1024]", "1024", "private int ptr = 0;", "ptr", "0", "private int buflen = 0;", "buflen", "0", "private boolean hasNextByte() {\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }", "hasNextByte", "{\n if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }\n return true;\n }", "if (ptr < buflen) {\n return true;\n }else{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }", "ptr < buflen", "ptr", "buflen", "{\n return true;\n }", "return true;", "true", "{\n ptr = 0;\n try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }\n if (buflen <= 0) {\n return false;\n }\n }", "ptr = 0", "ptr", "0", "try {\n buflen = in.read(buffer);\n } catch (IOException e) {\n e.printStackTrace();\n }", "catch (IOException e) {\n e.printStackTrace();\n }", "IOException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n buflen = in.read(buffer);\n }", "buflen = in.read(buffer)", "buflen", "in.read(buffer)", "in.read", "in", "buffer", "if (buflen <= 0) {\n return false;\n }", "buflen <= 0", "buflen", "0", "{\n return false;\n }", "return false;", "false", "return true;", "true", "private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}", "readByte", "{ if (hasNextByte()) return buffer[ptr++]; else return -1;}", "if (hasNextByte()) return buffer[ptr++]; else return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}", "isPrintableChar", "{ return 33 <= c && c <= 126;}", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "hasNext", "{ while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}", "while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;", "hasNextByte() && !isPrintableChar(buffer[ptr])", "hasNextByte()", "hasNextByte", "!isPrintableChar(buffer[ptr])", "isPrintableChar(buffer[ptr])", "isPrintableChar", "buffer[ptr]", "buffer", "ptr", "ptr++", "ptr", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n if (!hasNext()) throw new NoSuchElementException();\n StringBuilder sb = new StringBuilder();\n int b = readByte();\n while(isPrintableChar(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(isPrintableChar(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(isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }", "isPrintableChar(b)", "isPrintableChar", "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 class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n String text = \"\";\n List<String> listA = new ArrayList<>();\n int count = Integer.parseInt(sc.next());\n\n for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n System.out.print(listB.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\n String text = \"\";\n List<String> listA = new ArrayList<>();\n int count = Integer.parseInt(sc.next());\n\n for(int i = 0; i < count; i++) {\n text = sc.next();\n listA.add(text);\n\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(listA));\n System.out.print(listB.size());\n }\n}", "Main" ]
import java.io.IOException; import java.io.InputStream; import java.util.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); String text = ""; List<String> listA = new ArrayList<>(); int count = Integer.parseInt(sc.next()); for(int i = 0; i < count; i++) { text = sc.next(); listA.add(text); } List<String> listB = new ArrayList<String>(new HashSet<>(listA)); System.out.print(listB.size()); } } class FastScanner { private final InputStream in = System.in; private final byte[] buffer = new byte[1024]; private int ptr = 0; private int buflen = 0; private boolean hasNextByte() { if (ptr < buflen) { return true; }else{ ptr = 0; try { buflen = in.read(buffer); } catch (IOException e) { e.printStackTrace(); } if (buflen <= 0) { return false; } } return true; } private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;} private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;} public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();} public String next() { if (!hasNext()) throw new NoSuchElementException(); StringBuilder sb = new StringBuilder(); int b = readByte(); while(isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 59, 11 ], [ 59, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 14, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 12, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint A = Integer.parseInt(sc.nextLine());\n\n\t\tSet<String> items =new HashSet<String>();\n\n\t\tfor (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}\n\n\t\tSystem.out.println(items.size());\n\n\t}\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint A = Integer.parseInt(sc.nextLine());\n\n\t\tSet<String> items =new HashSet<String>();\n\n\t\tfor (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}\n\n\t\tSystem.out.println(items.size());\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint A = Integer.parseInt(sc.nextLine());\n\n\t\tSet<String> items =new HashSet<String>();\n\n\t\tfor (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}\n\n\t\tSystem.out.println(items.size());\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint A = Integer.parseInt(sc.nextLine());\n\n\t\tSet<String> items =new HashSet<String>();\n\n\t\tfor (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}\n\n\t\tSystem.out.println(items.size());\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int A = Integer.parseInt(sc.nextLine());", "A", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "Set<String> items =new HashSet<String>();", "items", "new HashSet<String>()", "for (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < A", "i", "A", "i++", "i++", "i", "{\n\t\t\titems.add(sc.nextLine());\n\t\t}", "{\n\t\t\titems.add(sc.nextLine());\n\t\t}", "items.add(sc.nextLine())", "items.add", "items", "sc.nextLine()", "sc.nextLine", "sc", "System.out.println(items.size())", "System.out.println", "System.out", "System", "System.out", "items.size()", "items.size", "items", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint A = Integer.parseInt(sc.nextLine());\n\n\t\tSet<String> items =new HashSet<String>();\n\n\t\tfor (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}\n\n\t\tSystem.out.println(items.size());\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint A = Integer.parseInt(sc.nextLine());\n\n\t\tSet<String> items =new HashSet<String>();\n\n\t\tfor (int i = 0; i < A; i++) {\n\t\t\titems.add(sc.nextLine());\n\t\t}\n\n\t\tSystem.out.println(items.size());\n\n\t}\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int A = Integer.parseInt(sc.nextLine()); Set<String> items =new HashSet<String>(); for (int i = 0; i < A; i++) { items.add(sc.nextLine()); } System.out.println(items.size()); } }
[ 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, 41, 13, 20, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 73, 14 ], [ 73, 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 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 33, 34 ], [ 17, 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 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 17, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 17, 62 ], [ 62, 63 ], [ 63, 64 ], [ 15, 65 ], [ 65, 66 ], [ 73, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 69, 71 ], [ 0, 72 ], [ 72, 73 ], [ 72, 74 ] ]
[ "\n\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n static class Solution {\n\n public void find() {\n\n }\n }\n\n public static void main(String[] args) {\n Solution sol = new Solution();\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n sc.nextLine();\n for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }\n System.out.println(set.size());\n sol.find();\n }\n}\n", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n static class Solution {\n\n public void find() {\n\n }\n }\n\n public static void main(String[] args) {\n Solution sol = new Solution();\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n sc.nextLine();\n for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }\n System.out.println(set.size());\n sol.find();\n }\n}", "Main", "public static void main(String[] args) {\n Solution sol = new Solution();\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n sc.nextLine();\n for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }\n System.out.println(set.size());\n sol.find();\n }", "main", "{\n Solution sol = new Solution();\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n sc.nextLine();\n for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }\n System.out.println(set.size());\n sol.find();\n }", "Solution sol = new Solution();", "sol", "new Solution()", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n set.add(sc.nextLine());\n }", "{\n set.add(sc.nextLine());\n }", "set.add(sc.nextLine())", "set.add", "set", "sc.nextLine()", "sc.nextLine", "sc", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "sol.find()", "sol.find", "sol", "String[] args", "args", "static class Solution {\n\n public void find() {\n\n }\n }", "Solution", "public void find() {\n\n }", "find", "{\n\n }", "public class Main {\n static class Solution {\n\n public void find() {\n\n }\n }\n\n public static void main(String[] args) {\n Solution sol = new Solution();\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n sc.nextLine();\n for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }\n System.out.println(set.size());\n sol.find();\n }\n}", "public class Main {\n static class Solution {\n\n public void find() {\n\n }\n }\n\n public static void main(String[] args) {\n Solution sol = new Solution();\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> set = new HashSet<>();\n sc.nextLine();\n for(int i=0; i<n; i++) {\n set.add(sc.nextLine());\n }\n System.out.println(set.size());\n sol.find();\n }\n}", "Main" ]
import java.util.HashSet; import java.util.List; import java.util.Scanner; import java.util.Set; public class Main { static class Solution { public void find() { } } public static void main(String[] args) { Solution sol = new Solution(); Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Set<String> set = new HashSet<>(); sc.nextLine(); for(int i=0; i<n; i++) { set.add(sc.nextLine()); } System.out.println(set.size()); sol.find(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 30, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 21, 24 ], [ 20, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 31, 36 ], [ 31, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 38, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 6, 51 ], [ 51, 52 ] ]
[ "import java.util.*;\nclass Main{\n\tpublic static void main(String args[]){\n \tScanner sc=new Scanner(System.in);\n \tint n=sc.nextInt();\n \tHashMap<String,Integer> hm=new HashMap<>();\n \twhile(n--!=0){\n String str=sc.next();\n if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }\n }\n System.out.println(hm.size());\n }\n}", "import java.util.*;", "util.*", "java", "class Main{\n\tpublic static void main(String args[]){\n \tScanner sc=new Scanner(System.in);\n \tint n=sc.nextInt();\n \tHashMap<String,Integer> hm=new HashMap<>();\n \twhile(n--!=0){\n String str=sc.next();\n if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }\n }\n System.out.println(hm.size());\n }\n}", "Main", "public static void main(String args[]){\n \tScanner sc=new Scanner(System.in);\n \tint n=sc.nextInt();\n \tHashMap<String,Integer> hm=new HashMap<>();\n \twhile(n--!=0){\n String str=sc.next();\n if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }\n }\n System.out.println(hm.size());\n }", "main", "{\n \tScanner sc=new Scanner(System.in);\n \tint n=sc.nextInt();\n \tHashMap<String,Integer> hm=new HashMap<>();\n \twhile(n--!=0){\n String str=sc.next();\n if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }\n }\n System.out.println(hm.size());\n }", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashMap<String,Integer> hm=new HashMap<>();", "hm", "new HashMap<>()", "while(n--!=0){\n String str=sc.next();\n if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }\n }", "n--!=0", "n--", "n", "0", "{\n String str=sc.next();\n if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }\n }", "String str=sc.next();", "str", "sc.next()", "sc.next", "sc", "if(hm.containsKey(str)){\n \t\n }else{\n \thm.put(str,1);\n }", "hm.containsKey(str)", "hm.containsKey", "hm", "str", "{\n \t\n }", "{\n \thm.put(str,1);\n }", "hm.put(str,1)", "hm.put", "hm", "str", "1", "System.out.println(hm.size())", "System.out.println", "System.out", "System", "System.out", "hm.size()", "hm.size", "hm", "String args[]", "args" ]
import java.util.*; class Main{ public static void main(String args[]){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); HashMap<String,Integer> hm=new HashMap<>(); while(n--!=0){ String str=sc.next(); if(hm.containsKey(str)){ }else{ hm.put(str,1); } } System.out.println(hm.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 65, 14 ], [ 65, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 17, 48 ], [ 48, 49 ], [ 48, 50 ], [ 17, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 17, 59 ], [ 59, 60 ], [ 60, 61 ], [ 15, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.ArrayList;\nimport java.util.HashSet;\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 times = sc.nextInt(); //くじ引きを行った回数\n\t\t//くじの結果が入る\n\t\tList<String> kuji = new ArrayList<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\n\t\t//重複を許さないHashSetを宣言\n\t\t//resultにkujiの要素を代入\n\t\tHashSet<String> result = new HashSet<String>(kuji);\n\n\t\t//.size()で要素数を返す\n\t\tSystem.out.print(result.size());\n\n\t\tsc.close();\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashSet;", "HashSet", "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 times = sc.nextInt(); //くじ引きを行った回数\n\t\t//くじの結果が入る\n\t\tList<String> kuji = new ArrayList<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\n\t\t//重複を許さないHashSetを宣言\n\t\t//resultにkujiの要素を代入\n\t\tHashSet<String> result = new HashSet<String>(kuji);\n\n\t\t//.size()で要素数を返す\n\t\tSystem.out.print(result.size());\n\n\t\tsc.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//くじの結果が入る\n\t\tList<String> kuji = new ArrayList<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\n\t\t//重複を許さないHashSetを宣言\n\t\t//resultにkujiの要素を代入\n\t\tHashSet<String> result = new HashSet<String>(kuji);\n\n\t\t//.size()で要素数を返す\n\t\tSystem.out.print(result.size());\n\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//くじの結果が入る\n\t\tList<String> kuji = new ArrayList<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\n\t\t//重複を許さないHashSetを宣言\n\t\t//resultにkujiの要素を代入\n\t\tHashSet<String> result = new HashSet<String>(kuji);\n\n\t\t//.size()で要素数を返す\n\t\tSystem.out.print(result.size());\n\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int times = sc.nextInt();", "times", "sc.nextInt()", "sc.nextInt", "sc", "List<String> kuji = new ArrayList<String>();", "kuji", "new ArrayList<String>()", "for(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}", "int i=0 ;", "int i=0 ;", "i", "0", "i<times", "i", "times", "i++", "i++", "i", "{\n\t\t\tkuji.add(sc.next());\n\t\t}", "{\n\t\t\tkuji.add(sc.next());\n\t\t}", "kuji.add(sc.next())", "kuji.add", "kuji", "sc.next()", "sc.next", "sc", "HashSet<String> result = new HashSet<String>(kuji);", "result", "new HashSet<String>(kuji)", "System.out.print(result.size())", "System.out.print", "System.out", "System", "System.out", "result.size()", "result.size", "result", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//くじの結果が入る\n\t\tList<String> kuji = new ArrayList<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\n\t\t//重複を許さないHashSetを宣言\n\t\t//resultにkujiの要素を代入\n\t\tHashSet<String> result = new HashSet<String>(kuji);\n\n\t\t//.size()で要素数を返す\n\t\tSystem.out.print(result.size());\n\n\t\tsc.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint times = sc.nextInt(); //くじ引きを行った回数\n\t\t//くじの結果が入る\n\t\tList<String> kuji = new ArrayList<String>();\n\n\t\t//くじを行う回数分、結果をkujiに入力する\n\t\tfor(int i=0 ; i<times ; i++) {\n\t\t\tkuji.add(sc.next());\n\t\t}\n\n\t\t//重複を許さないHashSetを宣言\n\t\t//resultにkujiの要素を代入\n\t\tHashSet<String> result = new HashSet<String>(kuji);\n\n\t\t//.size()で要素数を返す\n\t\tSystem.out.print(result.size());\n\n\t\tsc.close();\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.HashSet; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int times = sc.nextInt(); //くじ引きを行った回数 //くじの結果が入る List<String> kuji = new ArrayList<String>(); //くじを行う回数分、結果をkujiに入力する for(int i=0 ; i<times ; i++) { kuji.add(sc.next()); } //重複を許さないHashSetを宣言 //resultにkujiの要素を代入 HashSet<String> result = new HashSet<String>(kuji); //.size()で要素数を返す System.out.print(result.size()); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 46, 8 ], [ 46, 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 ], [ 24, 27 ], [ 23, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 11, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 9, 43 ], [ 43, 44 ], [ 0, 45 ], [ 45, 46 ], [ 45, 47 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n\t\n\n\t\n\tpublic static void main(String[] args) {\n\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tHashSet<String> h = new HashSet<>();\n\t\tint n = s.nextInt();\n\t\t\n\t\twhile(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}\n\t\tSystem.out.println(h.size());\n\t\t\n\t\t\n\t}\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\n\t\n\tpublic static void main(String[] args) {\n\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tHashSet<String> h = new HashSet<>();\n\t\tint n = s.nextInt();\n\t\t\n\t\twhile(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}\n\t\tSystem.out.println(h.size());\n\t\t\n\t\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tHashSet<String> h = new HashSet<>();\n\t\tint n = s.nextInt();\n\t\t\n\t\twhile(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}\n\t\tSystem.out.println(h.size());\n\t\t\n\t\t\n\t}", "main", "{\n\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tHashSet<String> h = new HashSet<>();\n\t\tint n = s.nextInt();\n\t\t\n\t\twhile(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}\n\t\tSystem.out.println(h.size());\n\t\t\n\t\t\n\t}", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "HashSet<String> h = new HashSet<>();", "h", "new HashSet<>()", "int n = s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "while(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}", "n--!=0", "n--", "n", "0", "{\n\t\t\th.add(s.next());\n\t\t}", "h.add(s.next())", "h.add", "h", "s.next()", "s.next", "s", "System.out.println(h.size())", "System.out.println", "System.out", "System", "System.out", "h.size()", "h.size", "h", "String[] args", "args", "public class Main {\n\t\n\n\t\n\tpublic static void main(String[] args) {\n\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tHashSet<String> h = new HashSet<>();\n\t\tint n = s.nextInt();\n\t\t\n\t\twhile(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}\n\t\tSystem.out.println(h.size());\n\t\t\n\t\t\n\t}\n}", "public class Main {\n\t\n\n\t\n\tpublic static void main(String[] args) {\n\n\t\t\n\t\tScanner s = new Scanner(System.in);\n\t\tHashSet<String> h = new HashSet<>();\n\t\tint n = s.nextInt();\n\t\t\n\t\twhile(n--!=0) {\n\t\t\th.add(s.next());\n\t\t}\n\t\tSystem.out.println(h.size());\n\t\t\n\t\t\n\t}\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); HashSet<String> h = new HashSet<>(); int n = s.nextInt(); while(n--!=0) { h.add(s.next()); } System.out.println(h.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 42, 40, 4, 18, 13, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 30, 0, 13, 2, 13, 13, 40, 13, 30, 0, 13, 2, 13, 13, 0, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 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, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 28, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 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, 29, 4, 18, 13, 4, 13, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 391, 8 ], [ 391, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 391, 14 ], [ 14, 15 ], [ 14, 16 ], [ 391, 17 ], [ 17, 18 ], [ 17, 19 ], [ 391, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 22, 31 ], [ 31, 32 ], [ 31, 33 ], [ 22, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 22, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 20, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 71, 73 ], [ 66, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 82, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 76, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 66, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 99, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 108, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 117, 119 ], [ 114, 120 ], [ 120, 121 ], [ 108, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 125, 126 ], [ 125, 127 ], [ 122, 128 ], [ 128, 129 ], [ 128, 130 ], [ 99, 131 ], [ 131, 132 ], [ 97, 133 ], [ 133, 134 ], [ 97, 135 ], [ 135, 136 ], [ 66, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 139, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 148, 151 ], [ 151, 152 ], [ 151, 153 ], [ 137, 154 ], [ 154, 155 ], [ 137, 156 ], [ 156, 157 ], [ 66, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 166, 167 ], [ 160, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 169, 172 ], [ 172, 173 ], [ 172, 174 ], [ 158, 175 ], [ 175, 176 ], [ 158, 177 ], [ 177, 178 ], [ 66, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 185, 186 ], [ 185, 187 ], [ 185, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 181, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 181, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 197, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 204, 206 ], [ 197, 207 ], [ 207, 208 ], [ 208, 209 ], [ 197, 210 ], [ 211, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 216, 217 ], [ 217, 218 ], [ 216, 219 ], [ 181, 220 ], [ 220, 221 ], [ 179, 222 ], [ 222, 223 ], [ 66, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 230, 231 ], [ 230, 232 ], [ 230, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 234, 237 ], [ 226, 238 ], [ 238, 239 ], [ 239, 240 ], [ 238, 241 ], [ 226, 242 ], [ 242, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 242, 247 ], [ 247, 248 ], [ 247, 249 ], [ 249, 250 ], [ 250, 251 ], [ 242, 252 ], [ 252, 253 ], [ 253, 254 ], [ 242, 255 ], [ 256, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 261 ], [ 261, 262 ], [ 262, 263 ], [ 261, 264 ], [ 226, 265 ], [ 265, 266 ], [ 224, 267 ], [ 267, 268 ], [ 66, 269 ], [ 269, 270 ], [ 269, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 275, 276 ], [ 275, 277 ], [ 275, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 279, 282 ], [ 271, 283 ], [ 283, 284 ], [ 284, 285 ], [ 283, 286 ], [ 271, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 289, 291 ], [ 287, 292 ], [ 292, 293 ], [ 292, 294 ], [ 294, 295 ], [ 294, 296 ], [ 287, 297 ], [ 297, 298 ], [ 298, 299 ], [ 287, 300 ], [ 301, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 302, 306 ], [ 306, 307 ], [ 307, 308 ], [ 306, 309 ], [ 271, 310 ], [ 310, 311 ], [ 269, 312 ], [ 312, 313 ], [ 66, 314 ], [ 314, 315 ], [ 314, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 318, 321 ], [ 321, 322 ], [ 66, 323 ], [ 323, 324 ], [ 323, 325 ], [ 325, 326 ], [ 326, 327 ], [ 326, 328 ], [ 325, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 332, 334 ], [ 330, 335 ], [ 335, 336 ], [ 335, 337 ], [ 330, 338 ], [ 338, 339 ], [ 339, 340 ], [ 330, 341 ], [ 341, 342 ], [ 342, 343 ], [ 343, 344 ], [ 343, 345 ], [ 342, 346 ], [ 346, 347 ], [ 325, 348 ], [ 348, 349 ], [ 323, 350 ], [ 350, 351 ], [ 66, 352 ], [ 352, 353 ], [ 352, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 357, 358 ], [ 356, 359 ], [ 359, 360 ], [ 66, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 364, 365 ], [ 364, 366 ], [ 363, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 370, 372 ], [ 368, 373 ], [ 373, 374 ], [ 373, 375 ], [ 368, 376 ], [ 376, 377 ], [ 377, 378 ], [ 368, 379 ], [ 379, 380 ], [ 380, 381 ], [ 381, 382 ], [ 381, 383 ], [ 380, 384 ], [ 384, 385 ], [ 363, 386 ], [ 386, 387 ], [ 361, 388 ], [ 388, 389 ], [ 0, 390 ], [ 390, 391 ], [ 390, 392 ] ]
[ "//package Atcoder;\nimport java.util.*;\nimport java.io.*;\npublic class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tSet<String> set = new HashSet<>();\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n}\nclass FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tSet<String> set = new HashSet<>();\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n}", "Main", "static final int mod=(int)1e9+7;", "mod", "(int)1e9+7", "(int)1e9", "7", "static final int inf=(int)1e9;", "inf", "(int)1e9", "static final long INF=(long)1e18;", "INF", "(long)1e18", "public static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tSet<String> set = new HashSet<>();\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}", "main", "{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tSet<String> set = new HashSet<>();\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}", "FastScanner fs=new FastScanner();", "fs", "new FastScanner()", "int n=fs.nextInt();", "n", "fs.nextInt()", "fs.nextInt", "fs", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "for(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}", "{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}", "String s=fs.next();", "s", "fs.next()", "fs.next", "fs", "set.add(s)", "set.add", "set", "s", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "class FastScanner \n{\n\t\tBufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\t\tStringTokenizer st = new StringTokenizer(\"\");\n\t\tpublic String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}\n\t\t\n\t\tlong pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}\n\t\tint gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}\n\t\tlong longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}\n\t\tint[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tchar[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }\n\t\tlong[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}\n\t\tpublic int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}\t\n\t\tpublic long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}\n}", "FastScanner", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "StringTokenizer st = new StringTokenizer(\"\");", "st", "new StringTokenizer(\"\")", "public String next() \n\t\t{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}", "next", "{\n\t\t\twhile (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}\n\t\t\treturn st.nextToken();\n\t\t\t\n\t\t}", "while (!st.hasMoreTokens())\n\t\t\t\ttry {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "try {\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\te.printStackTrace();\n\t\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\t\tst=new StringTokenizer(br.readLine());\n\t\t\t\t}", "st=new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "long pow(long x,long n)\n\t\t{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "pow", "{\n\t\t\tlong res=1;\n\t\t\twhile(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}\n\t\t\treturn res;\n\t\t}", "long res=1;", "res", "1", "while(n>0)\n\t\t\t{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}", "n>0", "n", "0", "{\n\t\t\t \tif(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}\n\t\t\t}", "if(n%2!=0)\n\t\t\t \t{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}\n\t\t\t \telse\n\t\t\t \t{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}", "n%2!=0", "n%2", "n", "2", "0", "{\n\t\t\t \t\tres=(res*x);n--;\n\t\t\t \t}", "res=(res*x)", "res", "(res*x)", "res", "x", "n--", "n", "{\n\t\t\t \t\tx=(x*x);n/=2;\n\t\t\t \t}", "x=(x*x)", "x", "(x*x)", "x", "x", "n/=2", "n", "2", "return res;", "res", "long x", "x", "long n", "n", "int gcd(int a,int b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}", "gcd", "{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn gcd(b,a%b);\n\t\t}", "if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}", "b==0", "b", "0", "{\n\t\t\t\treturn a;\n\t\t\t}", "return a;", "a", "return gcd(b,a%b);", "gcd(b,a%b)", "gcd", "b", "a%b", "a", "b", "int a", "a", "int b", "b", "long longgcd(long a,long b)\n\t\t{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}", "longgcd", "{\n\t\t\tif(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}\n\t\t\treturn longgcd(b,a%b);\n\t\t}", "if(b==0)\n\t\t\t{\n\t\t\t\treturn a;\n\t\t\t}", "b==0", "b", "0", "{\n\t\t\t\treturn a;\n\t\t\t}", "return a;", "a", "return longgcd(b,a%b);", "longgcd(b,a%b)", "longgcd", "b", "a%b", "a", "b", "long a", "a", "long b", "b", "int[] sort(int arr[])\n\t\t{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "sort", "{\n\t\t\tArrayList<Integer> list = new ArrayList<Integer>();\n\t\t\tfor(int i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "ArrayList<Integer> list = new ArrayList<Integer>();", "list", "new ArrayList<Integer>()", "for(int i:arr)list.add(i);", "int i", "arr", "list.add(i);", "list.add(i)", "list.add", "list", "i", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "arr[i]=list.get(i)", "arr[i]", "arr", "i", "list.get(i)", "list.get", "list", "i", "return arr;", "arr", "int arr[]", "arr", "char[] charsort(char arr[])\n\t {\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }", "charsort", "{\n\t \tArrayList<Character> list = new ArrayList<>();\n\t \tfor(char c:arr)list.add(c);\n\t \tCollections.sort(list);\n\t \tfor(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}\n\t \treturn arr;\n\t }", "ArrayList<Character> list = new ArrayList<>();", "list", "new ArrayList<>()", "for(char c:arr)list.add(c);", "char c", "arr", "list.add(c);", "list.add(c)", "list.add", "list", "c", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(int i=0;i<list.size();i++)\n\t \t{\n\t \t\tarr[i]=list.get(i);\n\t \t}", "int i=0;", "int i=0;", "i", "0", "i<list.size()", "i", "list.size()", "list.size", "list", "i++", "i++", "i", "{\n\t \t\tarr[i]=list.get(i);\n\t \t}", "{\n\t \t\tarr[i]=list.get(i);\n\t \t}", "arr[i]=list.get(i)", "arr[i]", "arr", "i", "list.get(i)", "list.get", "list", "i", "return arr;", "arr", "char arr[]", "arr", "long[] longsort(long arr[])\n\t\t{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "longsort", "{\n\t\t\tArrayList<Long> list = new ArrayList<Long>();\n\t\t\tfor(long i:arr)list.add(i);\n\t\t\tCollections.sort(list);\n\t\t\tfor(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}\n\t\t\treturn arr;\n\t\t}", "ArrayList<Long> list = new ArrayList<Long>();", "list", "new ArrayList<Long>()", "for(long i:arr)list.add(i);", "long i", "arr", "list.add(i);", "list.add(i)", "list.add", "list", "i", "Collections.sort(list)", "Collections.sort", "Collections", "list", "for(int i=0;i<arr.length;i++)\n\t\t\t{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "{\n\t\t\t\tarr[i]=list.get(i);\n\t\t\t}", "arr[i]=list.get(i)", "arr[i]", "arr", "i", "list.get(i)", "list.get", "list", "i", "return arr;", "arr", "long arr[]", "arr", "public int nextInt() \n\t\t{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public int[] readArray(int n)\n\t\t{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}", "readArray", "{\n\t\t\tint[] arr=new int[n];\n\t\t\tfor (int i=0; i<n; i++) arr[i]=nextInt();\n\t\t\treturn arr;\n\t\t}", "int[] arr=new int[n];", "arr", "new int[n]", "n", "for (int i=0; i<n; i++) arr[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "arr[i]=nextInt();", "arr[i]=nextInt()", "arr[i]", "arr", "i", "nextInt()", "nextInt", "return arr;", "arr", "int n", "n", "public long nextLong()\n\t\t{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public long[] longreadArray(int n) \n\t\t{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}", "longreadArray", "{\n\t\t\tlong[] a=new long[n];\n\t\t\tfor (int i=0; i<n; i++) a[i]=nextLong();\n\t\t\treturn a;\n\t\t}", "long[] a=new long[n];", "a", "new long[n]", "n", "for (int i=0; i<n; i++) a[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "a[i]=nextLong();", "a[i]=nextLong()", "a[i]", "a", "i", "nextLong()", "nextLong", "return a;", "a", "int n", "n", "public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tSet<String> set = new HashSet<>();\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n}", "public class Main\n{\n\tstatic final int mod=(int)1e9+7;\n\tstatic final int inf=(int)1e9;\n\tstatic final long INF=(long)1e18;\n\tpublic static void main(String[] args)\n\t{\n\t\tFastScanner fs=new FastScanner();\n\t\tint n=fs.nextInt();\n\t\tSet<String> set = new HashSet<>();\n\t\tfor(int i=1;i<=n;i++)\n\t\t{\n\t\t\tString s=fs.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t}\n}", "Main" ]
//package Atcoder; import java.util.*; import java.io.*; public class Main { static final int mod=(int)1e9+7; static final int inf=(int)1e9; static final long INF=(long)1e18; public static void main(String[] args) { FastScanner fs=new FastScanner(); int n=fs.nextInt(); Set<String> set = new HashSet<>(); for(int i=1;i<=n;i++) { String s=fs.next(); set.add(s); } System.out.println(set.size()); } } class FastScanner { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringTokenizer st = new StringTokenizer(""); public String next() { while (!st.hasMoreTokens()) try { st=new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } return st.nextToken(); } long pow(long x,long n) { long res=1; while(n>0) { if(n%2!=0) { res=(res*x);n--; } else { x=(x*x);n/=2; } } return res; } int gcd(int a,int b) { if(b==0) { return a; } return gcd(b,a%b); } long longgcd(long a,long b) { if(b==0) { return a; } return longgcd(b,a%b); } int[] sort(int arr[]) { ArrayList<Integer> list = new ArrayList<Integer>(); for(int i:arr)list.add(i); Collections.sort(list); for(int i=0;i<arr.length;i++) { arr[i]=list.get(i); } return arr; } char[] charsort(char arr[]) { ArrayList<Character> list = new ArrayList<>(); for(char c:arr)list.add(c); Collections.sort(list); for(int i=0;i<list.size();i++) { arr[i]=list.get(i); } return arr; } long[] longsort(long arr[]) { ArrayList<Long> list = new ArrayList<Long>(); for(long i:arr)list.add(i); Collections.sort(list); for(int i=0;i<arr.length;i++) { arr[i]=list.get(i); } return arr; } public int nextInt() { return Integer.parseInt(next()); } public int[] readArray(int n) { int[] arr=new int[n]; for (int i=0; i<n; i++) arr[i]=nextInt(); return arr; } public long nextLong() { return Long.parseLong(next()); } public long[] longreadArray(int n) { long[] a=new long[n]; for (int i=0; i<n; i++) a[i]=nextLong(); return a; } }
[ 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, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 18, 13, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 68, 17 ], [ 68, 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 ], [ 20, 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 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 20, 54 ], [ 54, 55 ], [ 54, 56 ], [ 20, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 18, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.util.*;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.List;\n\npublic class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n List<String> list = new ArrayList<String>();\n for(int i = 0; i < N; i++){\n list.add(sc.next());\n }\n List<String> L = new ArrayList<String>(new HashSet<>(list));\n System.out.println(L.size());\n }\n}", "import java.util.*;", "util.*", "java", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.List;", "List", "java.util", "public class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n List<String> list = new ArrayList<String>();\n for(int i = 0; i < N; i++){\n list.add(sc.next());\n }\n List<String> L = new ArrayList<String>(new HashSet<>(list));\n System.out.println(L.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n List<String> list = new ArrayList<String>();\n for(int i = 0; i < N; i++){\n list.add(sc.next());\n }\n List<String> L = new ArrayList<String>(new HashSet<>(list));\n System.out.println(L.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n List<String> list = new ArrayList<String>();\n for(int i = 0; i < N; i++){\n list.add(sc.next());\n }\n List<String> L = new ArrayList<String>(new HashSet<>(list));\n System.out.println(L.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = Integer.parseInt(sc.next());", "N", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for(int i = 0; i < N; i++){\n list.add(sc.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n list.add(sc.next());\n }", "{\n list.add(sc.next());\n }", "list.add(sc.next())", "list.add", "list", "sc.next()", "sc.next", "sc", "List<String> L = new ArrayList<String>(new HashSet<>(list));", "L", "new ArrayList<String>(new HashSet<>(list))", "System.out.println(L.size())", "System.out.println", "System.out", "System", "System.out", "L.size()", "L.size", "L", "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.next());\n List<String> list = new ArrayList<String>();\n for(int i = 0; i < N; i++){\n list.add(sc.next());\n }\n List<String> L = new ArrayList<String>(new HashSet<>(list));\n System.out.println(L.size());\n }\n}", "public class Main { \n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.next());\n List<String> list = new ArrayList<String>();\n for(int i = 0; i < N; i++){\n list.add(sc.next());\n }\n List<String> L = new ArrayList<String>(new HashSet<>(list));\n System.out.println(L.size());\n }\n}", "Main" ]
import java.util.*; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.List; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = Integer.parseInt(sc.next()); List<String> list = new ArrayList<String>(); for(int i = 0; i < N; i++){ list.add(sc.next()); } List<String> L = new ArrayList<String>(new HashSet<>(list)); System.out.println(L.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 4, 18, 13, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 4, 18, 13, 18, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 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, 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 4, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 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, 4, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 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, 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, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 4, 13, 17, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 4, 18, 13, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 467, 8 ], [ 467, 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 ], [ 23, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 26, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 34, 35 ], [ 35, 36 ], [ 11, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 40, 41 ], [ 41, 42 ], [ 11, 43 ], [ 43, 44 ], [ 44, 45 ], [ 9, 46 ], [ 46, 47 ], [ 467, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 51, 61 ], [ 61, 62 ], [ 62, 63 ], [ 51, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 68, 72 ], [ 72, 73 ], [ 72, 74 ], [ 65, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 65, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 84, 86 ], [ 65, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 87, 91 ], [ 48, 92 ], [ 92, 93 ], [ 467, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 97, 107 ], [ 107, 108 ], [ 108, 109 ], [ 97, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 114, 118 ], [ 118, 119 ], [ 118, 120 ], [ 111, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 123, 125 ], [ 111, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 126, 130 ], [ 130, 131 ], [ 130, 132 ], [ 111, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 133, 137 ], [ 94, 138 ], [ 138, 139 ], [ 467, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 140, 148 ], [ 148, 149 ], [ 467, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 150, 158 ], [ 158, 159 ], [ 467, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 160, 168 ], [ 168, 169 ], [ 467, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 170, 178 ], [ 178, 179 ], [ 467, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 180, 184 ], [ 184, 185 ], [ 180, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 186, 192 ], [ 192, 193 ], [ 180, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 194, 200 ], [ 200, 201 ], [ 180, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 206, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 205, 214 ], [ 214, 215 ], [ 214, 216 ], [ 204, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 180, 221 ], [ 221, 222 ], [ 221, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 228 ], [ 228, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 228, 233 ], [ 233, 234 ], [ 233, 235 ], [ 228, 236 ], [ 236, 237 ], [ 237, 238 ], [ 228, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 244, 245 ], [ 223, 246 ], [ 246, 247 ], [ 221, 248 ], [ 248, 249 ], [ 180, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 252, 257 ], [ 257, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 257, 262 ], [ 262, 263 ], [ 262, 264 ], [ 257, 265 ], [ 265, 266 ], [ 266, 267 ], [ 257, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 269, 273 ], [ 273, 274 ], [ 252, 275 ], [ 275, 276 ], [ 250, 277 ], [ 277, 278 ], [ 180, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 281, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 286, 291 ], [ 291, 292 ], [ 291, 293 ], [ 286, 294 ], [ 294, 295 ], [ 295, 296 ], [ 286, 297 ], [ 297, 298 ], [ 298, 299 ], [ 299, 300 ], [ 299, 301 ], [ 298, 302 ], [ 302, 303 ], [ 281, 304 ], [ 304, 305 ], [ 304, 306 ], [ 281, 307 ], [ 307, 308 ], [ 308, 309 ], [ 307, 310 ], [ 281, 311 ], [ 311, 312 ], [ 279, 313 ], [ 313, 314 ], [ 180, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 318, 319 ], [ 318, 320 ], [ 317, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 322, 327 ], [ 327, 328 ], [ 327, 329 ], [ 322, 330 ], [ 330, 331 ], [ 331, 332 ], [ 322, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 335, 337 ], [ 334, 338 ], [ 338, 339 ], [ 317, 340 ], [ 340, 341 ], [ 340, 342 ], [ 317, 343 ], [ 343, 344 ], [ 344, 345 ], [ 343, 346 ], [ 317, 347 ], [ 347, 348 ], [ 315, 349 ], [ 349, 350 ], [ 180, 351 ], [ 351, 352 ], [ 351, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 353, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 358, 363 ], [ 363, 364 ], [ 363, 365 ], [ 358, 366 ], [ 366, 367 ], [ 367, 368 ], [ 358, 369 ], [ 369, 370 ], [ 370, 371 ], [ 371, 372 ], [ 371, 373 ], [ 370, 374 ], [ 374, 375 ], [ 353, 376 ], [ 376, 377 ], [ 351, 378 ], [ 378, 379 ], [ 180, 380 ], [ 380, 381 ], [ 380, 382 ], [ 382, 383 ], [ 383, 384 ], [ 383, 385 ], [ 382, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 387, 392 ], [ 392, 393 ], [ 392, 394 ], [ 387, 395 ], [ 395, 396 ], [ 396, 397 ], [ 387, 398 ], [ 398, 399 ], [ 399, 400 ], [ 400, 401 ], [ 400, 402 ], [ 399, 403 ], [ 403, 404 ], [ 382, 405 ], [ 405, 406 ], [ 380, 407 ], [ 407, 408 ], [ 180, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 412, 413 ], [ 413, 414 ], [ 414, 415 ], [ 180, 416 ], [ 416, 417 ], [ 416, 418 ], [ 418, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 420, 423 ], [ 423, 424 ], [ 180, 425 ], [ 425, 426 ], [ 425, 427 ], [ 427, 428 ], [ 428, 429 ], [ 429, 430 ], [ 430, 431 ], [ 429, 432 ], [ 432, 433 ], [ 180, 434 ], [ 434, 435 ], [ 434, 436 ], [ 436, 437 ], [ 437, 438 ], [ 438, 439 ], [ 439, 440 ], [ 440, 441 ], [ 438, 442 ], [ 180, 443 ], [ 443, 444 ], [ 443, 445 ], [ 445, 446 ], [ 446, 447 ], [ 447, 448 ], [ 448, 449 ], [ 447, 450 ], [ 450, 451 ], [ 180, 452 ], [ 452, 453 ], [ 452, 454 ], [ 454, 455 ], [ 455, 456 ], [ 456, 457 ], [ 457, 458 ], [ 180, 459 ], [ 459, 460 ], [ 459, 461 ], [ 461, 462 ], [ 462, 463 ], [ 463, 464 ], [ 462, 465 ], [ 0, 466 ], [ 466, 467 ], [ 466, 468 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main{\n\tpublic static void main(String[] args) throws Exception{\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\t\tMScanner sc = new MScanner(System.in);\n\t\tHashSet<String>set=new HashSet<>();\n\t\tint n=sc.nextInt();\n\t\twhile(n-->0)set.add(sc.nextLine());\n\t\tpw.println(set.size());\n\t\tpw.flush();\n\t}\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic String arrToString(int[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Integer[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args) throws Exception{\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\t\tMScanner sc = new MScanner(System.in);\n\t\tHashSet<String>set=new HashSet<>();\n\t\tint n=sc.nextInt();\n\t\twhile(n-->0)set.add(sc.nextLine());\n\t\tpw.println(set.size());\n\t\tpw.flush();\n\t}\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic String arrToString(int[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Integer[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n}", "Main", "public static void main(String[] args) throws Exception{\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\t\tMScanner sc = new MScanner(System.in);\n\t\tHashSet<String>set=new HashSet<>();\n\t\tint n=sc.nextInt();\n\t\twhile(n-->0)set.add(sc.nextLine());\n\t\tpw.println(set.size());\n\t\tpw.flush();\n\t}", "main", "{\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\t\tMScanner sc = new MScanner(System.in);\n\t\tHashSet<String>set=new HashSet<>();\n\t\tint n=sc.nextInt();\n\t\twhile(n-->0)set.add(sc.nextLine());\n\t\tpw.println(set.size());\n\t\tpw.flush();\n\t}", "PrintWriter pw=new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "MScanner sc = new MScanner(System.in);", "sc", "new MScanner(System.in)", "HashSet<String>set=new HashSet<>();", "set", "new HashSet<>()", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "while(n-->0)set.add(sc.nextLine());", "n-->0", "n--", "n", "0", "set.add(sc.nextLine())", "set.add", "set", "sc.nextLine()", "sc.nextLine", "sc", "pw.println(set.size())", "pw.println", "pw", "set.size()", "set.size", "set", "pw.flush()", "pw.flush", "pw", "String[] args", "args", "static void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}", "shuffle", "{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}", "for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<in.length", "i", "in.length", "in", "in.length", "i++", "i++", "i", "{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}", "{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}", "int idx=(int)(Math.random()*in.length);", "idx", "(int)(Math.random()*in.length)", "Math.random()", "Math.random", "Math", "in.length", "in", "in.length", "int tmp=in[i];", "tmp", "in[i]", "in", "i", "in[i]=in[idx]", "in[i]", "in", "i", "in[idx]", "in", "idx", "in[idx]=tmp", "in[idx]", "in", "idx", "tmp", "int[]in", "in", "static void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}", "shuffle", "{\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}", "for(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<in.length", "i", "in.length", "in", "in.length", "i++", "i++", "i", "{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}", "{\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}", "int idx=(int)(Math.random()*in.length);", "idx", "(int)(Math.random()*in.length)", "Math.random()", "Math.random", "Math", "in.length", "in", "in.length", "long tmp=in[i];", "tmp", "in[i]", "in", "i", "in[i]=in[idx]", "in[i]", "in", "i", "in[idx]", "in", "idx", "in[idx]=tmp", "in[idx]", "in", "idx", "tmp", "long[]in", "in", "static String arrToString(int[]x) {\n\t\treturn Arrays.toString(x);\n\t}", "arrToString", "{\n\t\treturn Arrays.toString(x);\n\t}", "return Arrays.toString(x);", "Arrays.toString(x)", "Arrays.toString", "Arrays", "x", "int[]x", "x", "static String arrToString(long[]x) {\n\t\treturn Arrays.toString(x);\n\t}", "arrToString", "{\n\t\treturn Arrays.toString(x);\n\t}", "return Arrays.toString(x);", "Arrays.toString(x)", "Arrays.toString", "Arrays", "x", "long[]x", "x", "static String arrToString(Integer[]x) {\n\t\treturn Arrays.toString(x);\n\t}", "arrToString", "{\n\t\treturn Arrays.toString(x);\n\t}", "return Arrays.toString(x);", "Arrays.toString(x)", "Arrays.toString", "Arrays", "x", "Integer[]x", "x", "static String arrToString(Long[]x) {\n\t\treturn Arrays.toString(x);\n\t}", "arrToString", "{\n\t\treturn Arrays.toString(x);\n\t}", "return Arrays.toString(x);", "Arrays.toString(x)", "Arrays.toString", "Arrays", "x", "Long[]x", "x", "static class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}", "MScanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}", "MScanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}", "br = new BufferedReader(new InputStreamReader(system))", "br", "new BufferedReader(new InputStreamReader(system))", "InputStream system", "system", "public MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}", "MScanner", "{\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}", "br = new BufferedReader(new FileReader(file))", "br", "new BufferedReader(new FileReader(file))", "String file", "file", "public String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}", "while (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}", "intArr", "{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}", "int[]in=new int[n];", "in", "new int[n]", "n", "for(int i=0;i<n;i++)in[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "in[i]=nextInt();", "in[i]=nextInt()", "in[i]", "in", "i", "nextInt()", "nextInt", "return in;", "in", "int n", "n", "public long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}", "longArr", "{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}", "long[]in=new long[n];", "in", "new long[n]", "n", "for(int i=0;i<n;i++)in[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "in[i]=nextLong();", "in[i]=nextLong()", "in[i]", "in", "i", "nextLong()", "nextLong", "return in;", "in", "int n", "n", "public int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}", "intSortedArr", "{\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}", "int[]in=new int[n];", "in", "new int[n]", "n", "for(int i=0;i<n;i++)in[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "in[i]=nextInt();", "in[i]=nextInt()", "in[i]", "in", "i", "nextInt()", "nextInt", "shuffle(in)", "shuffle", "in", "Arrays.sort(in)", "Arrays.sort", "Arrays", "in", "return in;", "in", "int n", "n", "public long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}", "longSortedArr", "{\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}", "long[]in=new long[n];", "in", "new long[n]", "n", "for(int i=0;i<n;i++)in[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "in[i]=nextLong();", "in[i]=nextLong()", "in[i]", "in", "i", "nextLong()", "nextLong", "shuffle(in)", "shuffle", "in", "Arrays.sort(in)", "Arrays.sort", "Arrays", "in", "return in;", "in", "int n", "n", "public Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}", "IntegerArr", "{\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}", "Integer[]in=new Integer[n];", "in", "new Integer[n]", "n", "for(int i=0;i<n;i++)in[i]=nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "in[i]=nextInt();", "in[i]=nextInt()", "in[i]", "in", "i", "nextInt()", "nextInt", "return in;", "in", "int n", "n", "public Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}", "LongArr", "{\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}", "Long[]in=new Long[n];", "in", "new Long[n]", "n", "for(int i=0;i<n;i++)in[i]=nextLong();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "in[i]=nextLong();", "in[i]=nextLong()", "in[i]", "in", "i", "nextLong()", "nextLong", "return in;", "in", "int n", "n", "public String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}", "nextLine", "{\n\t\t\treturn br.readLine();\n\t\t}", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "nextInt", "{\n\t\t\treturn Integer.parseInt(next());\n\t\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "nextDouble", "{\n\t\t\treturn Double.parseDouble(next());\n\t\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}", "nextChar", "{\n\t\t\treturn next().charAt(0);\n\t\t}", "return next().charAt(0);", "next().charAt(0)", "next().charAt", "next()", "next", "0", "public long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}", "nextLong", "{\n\t\t\treturn Long.parseLong(next());\n\t\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}", "ready", "{\n\t\t\treturn br.ready();\n\t\t}", "return br.ready();", "br.ready()", "br.ready", "br", "public void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}", "waitForInput", "{\n\t\t\tThread.sleep(3000);\n\t\t}", "Thread.sleep(3000)", "Thread.sleep", "Thread", "3000", "public class Main{\n\tpublic static void main(String[] args) throws Exception{\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\t\tMScanner sc = new MScanner(System.in);\n\t\tHashSet<String>set=new HashSet<>();\n\t\tint n=sc.nextInt();\n\t\twhile(n-->0)set.add(sc.nextLine());\n\t\tpw.println(set.size());\n\t\tpw.flush();\n\t}\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic String arrToString(int[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Integer[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) throws Exception{\n\t\tPrintWriter pw=new PrintWriter(System.out);\n\t\tMScanner sc = new MScanner(System.in);\n\t\tHashSet<String>set=new HashSet<>();\n\t\tint n=sc.nextInt();\n\t\twhile(n-->0)set.add(sc.nextLine());\n\t\tpw.println(set.size());\n\t\tpw.flush();\n\t}\n\tstatic class MScanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\t\tpublic MScanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n \n\t\tpublic MScanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}\n \n\t\tpublic String next() throws IOException {\n\t\t\twhile (st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int[] intArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic long[] longArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic int[] intSortedArr(int n) throws IOException {\n\t int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic long[] longSortedArr(int n) throws IOException {\n\t long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t shuffle(in);\n\t Arrays.sort(in);\n\t return in;\n\t\t}\n\t\tpublic Integer[] IntegerArr(int n) throws IOException {\n\t Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt();\n\t return in;\n\t\t}\n\t\tpublic Long[] LongArr(int n) throws IOException {\n\t Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong();\n\t return in;\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n \n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() throws IOException {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic char nextChar() throws IOException {\n\t\t\treturn next().charAt(0);\n\t\t}\n \n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic boolean ready() throws IOException {\n\t\t\treturn br.ready();\n\t\t}\n \n\t\tpublic void waitForInput() throws InterruptedException {\n\t\t\tThread.sleep(3000);\n\t\t}\n\t}\n\tstatic void shuffle(int[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tint tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic void shuffle(long[]in) {\n\t\tfor(int i=0;i<in.length;i++) {\n\t\t\tint idx=(int)(Math.random()*in.length);\n\t\t\tlong tmp=in[i];\n\t\t\tin[i]=in[idx];\n\t\t\tin[idx]=tmp;\n\t\t}\n\t}\n\tstatic String arrToString(int[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Integer[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n\tstatic String arrToString(Long[]x) {\n\t\treturn Arrays.toString(x);\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args) throws Exception{ PrintWriter pw=new PrintWriter(System.out); MScanner sc = new MScanner(System.in); HashSet<String>set=new HashSet<>(); int n=sc.nextInt(); while(n-->0)set.add(sc.nextLine()); pw.println(set.size()); pw.flush(); } static class MScanner { StringTokenizer st; BufferedReader br; public MScanner(InputStream system) { br = new BufferedReader(new InputStreamReader(system)); } public MScanner(String file) throws Exception { br = new BufferedReader(new FileReader(file)); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine()); return st.nextToken(); } public int[] intArr(int n) throws IOException { int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt(); return in; } public long[] longArr(int n) throws IOException { long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong(); return in; } public int[] intSortedArr(int n) throws IOException { int[]in=new int[n];for(int i=0;i<n;i++)in[i]=nextInt(); shuffle(in); Arrays.sort(in); return in; } public long[] longSortedArr(int n) throws IOException { long[]in=new long[n];for(int i=0;i<n;i++)in[i]=nextLong(); shuffle(in); Arrays.sort(in); return in; } public Integer[] IntegerArr(int n) throws IOException { Integer[]in=new Integer[n];for(int i=0;i<n;i++)in[i]=nextInt(); return in; } public Long[] LongArr(int n) throws IOException { Long[]in=new Long[n];for(int i=0;i<n;i++)in[i]=nextLong(); return in; } public String nextLine() throws IOException { return br.readLine(); } public int nextInt() throws IOException { return Integer.parseInt(next()); } public double nextDouble() throws IOException { return Double.parseDouble(next()); } public char nextChar() throws IOException { return next().charAt(0); } public long nextLong() throws IOException { return Long.parseLong(next()); } public boolean ready() throws IOException { return br.ready(); } public void waitForInput() throws InterruptedException { Thread.sleep(3000); } } static void shuffle(int[]in) { for(int i=0;i<in.length;i++) { int idx=(int)(Math.random()*in.length); int tmp=in[i]; in[i]=in[idx]; in[idx]=tmp; } } static void shuffle(long[]in) { for(int i=0;i<in.length;i++) { int idx=(int)(Math.random()*in.length); long tmp=in[i]; in[i]=in[idx]; in[idx]=tmp; } } static String arrToString(int[]x) { return Arrays.toString(x); } static String arrToString(long[]x) { return Arrays.toString(x); } static String arrToString(Integer[]x) { return Arrays.toString(x); } static String arrToString(Long[]x) { return Arrays.toString(x); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 13, 14, 2, 13, 17, 30, 0, 13, 40, 2, 13, 17, 4, 18, 13, 13, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 76, 11 ], [ 76, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 26, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 30, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 38, 42 ], [ 30, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 47, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 14, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 14, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 14, 70 ], [ 70, 71 ], [ 71, 72 ], [ 12, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.ArrayList;\nimport java.util.Collections;\nimport 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\n\t\tint n = sc.nextInt();\n\n\t\tArrayList<String> array = new ArrayList<String>();\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}\n\n\t\tint ans = array.size();\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\n\t}\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Collections;", "Collections", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tArrayList<String> array = new ArrayList<String>();\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}\n\n\t\tint ans = array.size();\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tArrayList<String> array = new ArrayList<String>();\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}\n\n\t\tint ans = array.size();\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tArrayList<String> array = new ArrayList<String>();\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}\n\n\t\tint ans = array.size();\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<String> array = new ArrayList<String>();", "array", "new ArrayList<String>()", "while(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}", "sc.hasNext()", "sc.hasNext", "sc", "{\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "int index = Collections.binarySearch(array, s);", "index", "Collections.binarySearch(array, s)", "Collections.binarySearch", "Collections", "array", "s", "if(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}", "index < 0", "index", "0", "{\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}", "index = - (index + 1)", "index", "- (index + 1)", "(index + 1)", "index", "1", "array.add(index, s)", "array.add", "array", "index", "s", "int ans = array.size();", "ans", "array.size()", "array.size", "array", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\n\t\tArrayList<String> array = new ArrayList<String>();\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}\n\n\t\tint ans = array.size();\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\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\n\t\tint n = sc.nextInt();\n\n\t\tArrayList<String> array = new ArrayList<String>();\n\n\t\twhile(sc.hasNext()) {\n\t\t\tString s = sc.next();\n\t\t\tint index = Collections.binarySearch(array, s);\n\t\t\tif(index < 0) {\n\t\t\t\tindex = - (index + 1);\n\t\t\t\tarray.add(index, s);\n\t\t\t}\n\t\t}\n\n\t\tint ans = array.size();\n\n\t\tSystem.out.println(ans);\n\n\t\tsc.close();\n\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.Collections; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); ArrayList<String> array = new ArrayList<String>(); while(sc.hasNext()) { String s = sc.next(); int index = Collections.binarySearch(array, s); if(index < 0) { index = - (index + 1); array.add(index, s); } } int ans = array.size(); System.out.println(ans); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 89, 8 ], [ 89, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 11, 48 ], [ 48, 49 ], [ 48, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 72, 74 ], [ 64, 75 ], [ 75, 76 ], [ 76, 77 ], [ 63, 78 ], [ 78, 79 ], [ 11, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 9, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }\n Arrays.sort(a);\n// System.out.println(Arrays.toString(a));\n int count = 1;\n for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }\n System.out.println(count);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }\n Arrays.sort(a);\n// System.out.println(Arrays.toString(a));\n int count = 1;\n for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }\n System.out.println(count);\n }\n}", "Main", "public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }\n Arrays.sort(a);\n// System.out.println(Arrays.toString(a));\n int count = 1;\n for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }\n System.out.println(count);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] a = new String[n];\n for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }\n Arrays.sort(a);\n// System.out.println(Arrays.toString(a));\n int count = 1;\n for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }\n System.out.println(count);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] a = new String[n];", "a", "new String[n]", "n", "for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = sc.next();\n }", "{\n a[i] = sc.next();\n }", "a[i] = sc.next()", "a[i]", "a", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(a)", "Arrays.sort", "Arrays", "a", "int count = 1;", "count", "1", "for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }", "int j = 1;", "int j = 1;", "j", "1", "j < n", "j", "n", "j++", "j++", "j", "{\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }", "{\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }", "if(a[j].equals(a[j - 1])){\n count--;\n }", "a[j].equals(a[j - 1])", "a[j].equals", "a[j]", "a", "j", "a[j - 1]", "a", "j - 1", "j", "1", "{\n count--;\n }", "count--", "count", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "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[] a = new String[n];\n for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }\n Arrays.sort(a);\n// System.out.println(Arrays.toString(a));\n int count = 1;\n for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }\n System.out.println(count);\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[] a = new String[n];\n for(int i = 0;i < n;i++){\n a[i] = sc.next();\n }\n Arrays.sort(a);\n// System.out.println(Arrays.toString(a));\n int count = 1;\n for(int j = 1;j < n;j++){\n if(a[j].equals(a[j - 1])){\n count--;\n }\n count++;\n }\n System.out.println(count);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] a = new String[n]; for(int i = 0;i < n;i++){ a[i] = sc.next(); } Arrays.sort(a); // System.out.println(Arrays.toString(a)); int count = 1; for(int j = 1;j < n;j++){ if(a[j].equals(a[j - 1])){ count--; } count++; } System.out.println(count); } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 14, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 14, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 12, 63 ], [ 63, 64 ] ]
[ "/* package codechef; // don't place package name! */\n\nimport java.util.*;\nimport java.lang.*;\nimport java.io.*;\n\n/* Name of the class has to be \"Main\" only if the class is public. */\nclass Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tScanner s=new Scanner(System.in);\n\t \n\t HashMap<String , Integer> map=new HashMap<>();\n\t int n=s.nextInt();\n\t for(int i=0;i<n;i++)\n\t {\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }\n\t System.out.println(map.size());\n\t}\n}", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "import java.io.*;", "io.*", "java", "class Main\n{\n\tpublic static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tScanner s=new Scanner(System.in);\n\t \n\t HashMap<String , Integer> map=new HashMap<>();\n\t int n=s.nextInt();\n\t for(int i=0;i<n;i++)\n\t {\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }\n\t System.out.println(map.size());\n\t}\n}", "Main", "public static void main (String[] args) throws java.lang.Exception\n\t{\n\t\t// your code goes here\n\t\tScanner s=new Scanner(System.in);\n\t \n\t HashMap<String , Integer> map=new HashMap<>();\n\t int n=s.nextInt();\n\t for(int i=0;i<n;i++)\n\t {\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }\n\t System.out.println(map.size());\n\t}", "main", "{\n\t\t// your code goes here\n\t\tScanner s=new Scanner(System.in);\n\t \n\t HashMap<String , Integer> map=new HashMap<>();\n\t int n=s.nextInt();\n\t for(int i=0;i<n;i++)\n\t {\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }\n\t System.out.println(map.size());\n\t}", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "HashMap<String , Integer> map=new HashMap<>();", "map", "new HashMap<>()", "int n=s.nextInt();", "n", "s.nextInt()", "s.nextInt", "s", "for(int i=0;i<n;i++)\n\t {\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }", "{\n\t String ans=s.next();\n\t if(!map.containsKey(ans))\n\t map.put(ans,1);\n\t }", "String ans=s.next();", "ans", "s.next()", "s.next", "s", "if(!map.containsKey(ans))\n\t map.put(ans,1);", "!map.containsKey(ans)", "map.containsKey(ans)", "map.containsKey", "map", "ans", "map.put(ans,1)", "map.put", "map", "ans", "1", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "String[] args", "args" ]
/* package codechef; // don't place package name! */ import java.util.*; import java.lang.*; import java.io.*; /* Name of the class has to be "Main" only if the class is public. */ class Main { public static void main (String[] args) throws java.lang.Exception { // your code goes here Scanner s=new Scanner(System.in); HashMap<String , Integer> map=new HashMap<>(); int n=s.nextInt(); for(int i=0;i<n;i++) { String ans=s.next(); if(!map.containsKey(ans)) map.put(ans,1); } System.out.println(map.size()); } }
[ 7, 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, 4, 18, 13, 17, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 4, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 13, 4, 13, 4, 18, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 12, 13, 30, 4, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 131, 23 ], [ 131, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 131, 30 ], [ 30, 31 ], [ 30, 32 ], [ 131, 33 ], [ 33, 34 ], [ 33, 35 ], [ 131, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 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 ], [ 38, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 36, 69 ], [ 69, 70 ], [ 131, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 131, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 131, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 131, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 131, 103 ], [ 103, 104 ], [ 103, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 103, 113 ], [ 113, 114 ], [ 131, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 115, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "import javax.print.DocFlavor;\nimport java.awt.*;\nimport java.io.PrintWriter;\nimport java.lang.reflect.Array;\nimport java.math.BigInteger;\nimport java.util.*;\nimport java.util.List;\n\npublic class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n int N = nextInt();\n Set<String> set = new HashSet<>();\n for(int i=0; i<N; i++){\n set.add(next());\n }\n println(set.size());\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}", "import javax.print.DocFlavor;", "DocFlavor", "javax.print", "import java.awt.*;", "awt.*", "java", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "import java.util.List;", "List", "java.util", "public class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n int N = nextInt();\n Set<String> set = new HashSet<>();\n for(int i=0; i<N; i++){\n set.add(next());\n }\n println(set.size());\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}", "Main", "static String br = System.getProperty(\"line.separator\");", "br", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "static Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String[] args) {\n int N = nextInt();\n Set<String> set = new HashSet<>();\n for(int i=0; i<N; i++){\n set.add(next());\n }\n println(set.size());\n }", "main", "{\n int N = nextInt();\n Set<String> set = new HashSet<>();\n for(int i=0; i<N; i++){\n set.add(next());\n }\n println(set.size());\n }", "int N = nextInt();", "N", "nextInt()", "nextInt", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "for(int i=0; i<N; i++){\n set.add(next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n set.add(next());\n }", "{\n set.add(next());\n }", "set.add(next())", "set.add", "set", "next()", "next", "println(set.size())", "println", "set.size()", "set.size", "set", "String[] args", "args", "static int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "static Long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "static String next() {\n return sc.next();\n }", "next", "{\n return sc.next();\n }", "return sc.next();", "sc.next()", "sc.next", "sc", "static String nextLine(){\n return sc.nextLine();\n }", "nextLine", "{\n return sc.nextLine();\n }", "return sc.nextLine();", "sc.nextLine()", "sc.nextLine", "sc", "static void println(Object o) {\n out.println(o);\n out.flush();\n }", "println", "{\n out.println(o);\n out.flush();\n }", "out.println(o)", "out.println", "out", "o", "out.flush()", "out.flush", "out", "Object o", "o", "static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }", "print", "{\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }", "PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "out.print(o)", "out.print", "out", "o", "out.flush()", "out.flush", "out", "Object o", "o", "public class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n int N = nextInt();\n Set<String> set = new HashSet<>();\n for(int i=0; i<N; i++){\n set.add(next());\n }\n println(set.size());\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}", "public class Main {\n\n static String br = System.getProperty(\"line.separator\");\n static Scanner sc = new Scanner(System.in);\n static PrintWriter out = new PrintWriter(System.out);\n\n public static void main(String[] args) {\n int N = nextInt();\n Set<String> set = new HashSet<>();\n for(int i=0; i<N; i++){\n set.add(next());\n }\n println(set.size());\n }\n\n static int nextInt() {\n return Integer.parseInt(next());\n }\n\n static Long nextLong() {\n return Long.parseLong(next());\n }\n\n static String next() {\n return sc.next();\n }\n\n static String nextLine(){\n return sc.nextLine();\n }\n\n static void println(Object o) {\n out.println(o);\n out.flush();\n }\n\n static void print(Object o) {\n PrintWriter out = new PrintWriter(System.out);\n out.print(o);\n out.flush();\n }\n}", "Main" ]
import javax.print.DocFlavor; import java.awt.*; import java.io.PrintWriter; import java.lang.reflect.Array; import java.math.BigInteger; import java.util.*; import java.util.List; public class Main { static String br = System.getProperty("line.separator"); static Scanner sc = new Scanner(System.in); static PrintWriter out = new PrintWriter(System.out); public static void main(String[] args) { int N = nextInt(); Set<String> set = new HashSet<>(); for(int i=0; i<N; i++){ set.add(next()); } println(set.size()); } static int nextInt() { return Integer.parseInt(next()); } static Long nextLong() { return Long.parseLong(next()); } static String next() { return sc.next(); } static String nextLine(){ return sc.nextLine(); } static void println(Object o) { out.println(o); out.flush(); } static void print(Object o) { PrintWriter out = new PrintWriter(System.out); out.print(o); out.flush(); } }
[ 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, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 13, 13, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 90, 11 ], [ 90, 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, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 14, 47 ], [ 47, 48 ], [ 48, 49 ], [ 14, 50 ], [ 50, 51 ], [ 50, 52 ], [ 14, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 53, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 14, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 14, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 12, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.LinkedHashSet;\nimport java.util.Scanner;\nimport java.util.Set;\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\tString[] list = new String[N];\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}\n\t\tscan.close();\n\t\t\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\t\t\n\t\tfor(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}\n\t\tObject[] num = linkedHashSet.toArray();\n\t\t\n\t\tSystem.out.println(num.length);\n\t\t\n\t}\n}", "import java.util.LinkedHashSet;", "LinkedHashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "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\tString[] list = new String[N];\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}\n\t\tscan.close();\n\t\t\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\t\t\n\t\tfor(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}\n\t\tObject[] num = linkedHashSet.toArray();\n\t\t\n\t\tSystem.out.println(num.length);\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\tString[] list = new String[N];\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}\n\t\tscan.close();\n\t\t\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\t\t\n\t\tfor(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}\n\t\tObject[] num = linkedHashSet.toArray();\n\t\t\n\t\tSystem.out.println(num.length);\n\t\t\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tString[] list = new String[N];\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}\n\t\tscan.close();\n\t\t\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\t\t\n\t\tfor(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}\n\t\tObject[] num = linkedHashSet.toArray();\n\t\t\n\t\tSystem.out.println(num.length);\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", "String[] list = new String[N];", "list", "new String[N]", "N", "for(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tlist[i]=scan.next();\n\t\t}", "{\n\t\t\tlist[i]=scan.next();\n\t\t}", "list[i]=scan.next()", "list[i]", "list", "i", "scan.next()", "scan.next", "scan", "scan.close()", "scan.close", "scan", "Set<String> linkedHashSet = new LinkedHashSet<String>();", "linkedHashSet", "new LinkedHashSet<String>()", "for(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i<list.length", "i", "list.length", "list", "list.length", "i++", "i++", "i", "{\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}", "{\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}", "linkedHashSet.add(list[i])", "linkedHashSet.add", "linkedHashSet", "list[i]", "list", "i", "Object[] num = linkedHashSet.toArray();", "num", "linkedHashSet.toArray()", "linkedHashSet.toArray", "linkedHashSet", "System.out.println(num.length)", "System.out.println", "System.out", "System", "System.out", "num.length", "num", "num.length", "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\tString[] list = new String[N];\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}\n\t\tscan.close();\n\t\t\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\t\t\n\t\tfor(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}\n\t\tObject[] num = linkedHashSet.toArray();\n\t\t\n\t\tSystem.out.println(num.length);\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\tString[] list = new String[N];\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist[i]=scan.next();\n\t\t}\n\t\tscan.close();\n\t\t\n\t\tSet<String> linkedHashSet = new LinkedHashSet<String>();\n\t\t\n\t\tfor(int i = 0; i<list.length;i++) {\n\t\t\tlinkedHashSet.add(list[i]);\n\t\t}\n\t\tObject[] num = linkedHashSet.toArray();\n\t\t\n\t\tSystem.out.println(num.length);\n\t\t\n\t}\n}", "Main" ]
import java.util.LinkedHashSet; import java.util.Scanner; import java.util.Set; public class Main{ public static void main(String args[]){ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); String[] list = new String[N]; for(int i=0;i<N;i++) { list[i]=scan.next(); } scan.close(); Set<String> linkedHashSet = new LinkedHashSet<String>(); for(int i = 0; i<list.length;i++) { linkedHashSet.add(list[i]); } Object[] num = linkedHashSet.toArray(); System.out.println(num.length); } }
[ 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, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 55, 8 ], [ 55, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 17, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 27, 30 ], [ 26, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 35, 36 ], [ 31, 37 ], [ 37, 38 ], [ 38, 39 ], [ 37, 40 ], [ 11, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 50, 51 ], [ 9, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.io.*;\nimport java.util.*;\n\n/**\n * Created by Ayushi on 26 Apr 2020.\n * Problem:\n * Round:\n */\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 //ArrayList<String> arr = new ArrayList<>();\n //HashMap<String, Integer> hmap = new HashMap<>();\n Set<String> s = new HashSet<>();\n //int ans = 0;\n while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }\n br.close();\n System.out.println(s.size());\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "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 //ArrayList<String> arr = new ArrayList<>();\n //HashMap<String, Integer> hmap = new HashMap<>();\n Set<String> s = new HashSet<>();\n //int ans = 0;\n while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }\n br.close();\n System.out.println(s.size());\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 //ArrayList<String> arr = new ArrayList<>();\n //HashMap<String, Integer> hmap = new HashMap<>();\n Set<String> s = new HashSet<>();\n //int ans = 0;\n while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }\n br.close();\n System.out.println(s.size());\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n //ArrayList<String> arr = new ArrayList<>();\n //HashMap<String, Integer> hmap = new HashMap<>();\n Set<String> s = new HashSet<>();\n //int ans = 0;\n while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }\n br.close();\n System.out.println(s.size());\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", "Set<String> s = new HashSet<>();", "s", "new HashSet<>()", "while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }", "n-- > 0", "n--", "n", "0", "{\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }", "String a = br.readLine();", "a", "br.readLine()", "br.readLine", "br", "s.add(a)", "s.add", "s", "a", "br.close()", "br.close", "br", "System.out.println(s.size())", "System.out.println", "System.out", "System", "System.out", "s.size()", "s.size", "s", "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 //ArrayList<String> arr = new ArrayList<>();\n //HashMap<String, Integer> hmap = new HashMap<>();\n Set<String> s = new HashSet<>();\n //int ans = 0;\n while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }\n br.close();\n System.out.println(s.size());\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 //ArrayList<String> arr = new ArrayList<>();\n //HashMap<String, Integer> hmap = new HashMap<>();\n Set<String> s = new HashSet<>();\n //int ans = 0;\n while (n-- > 0) {\n String a = br.readLine();\n s.add(a);\n /*if (!arr.contains(a)) {\n ans++;\n arr.add(a);\n }*/\n }\n br.close();\n System.out.println(s.size());\n }\n}", "Main" ]
import java.io.*; import java.util.*; /** * Created by Ayushi on 26 Apr 2020. * Problem: * Round: */ 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()); //ArrayList<String> arr = new ArrayList<>(); //HashMap<String, Integer> hmap = new HashMap<>(); Set<String> s = new HashSet<>(); //int ans = 0; while (n-- > 0) { String a = br.readLine(); s.add(a); /*if (!arr.contains(a)) { ans++; arr.add(a); }*/ } br.close(); System.out.println(s.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 51, 52 ], [ 12, 53 ], [ 53, 54 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\nclass Main {\n public static void main(final String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> s = new HashSet<>();\n for (int i = 0; i < n; i++) {\n s.add(sc.next());\n }\n System.out.println(s.size());\n }\n}", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Set;", "Set", "java.util", "class Main {\n public static void main(final String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> s = new HashSet<>();\n for (int i = 0; i < n; i++) {\n s.add(sc.next());\n }\n System.out.println(s.size());\n }\n}", "Main", "public static void main(final String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> s = new HashSet<>();\n for (int i = 0; i < n; i++) {\n s.add(sc.next());\n }\n System.out.println(s.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Set<String> s = new HashSet<>();\n for (int i = 0; i < n; i++) {\n s.add(sc.next());\n }\n System.out.println(s.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> s = new HashSet<>();", "s", "new HashSet<>()", "for (int i = 0; i < n; i++) {\n s.add(sc.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n s.add(sc.next());\n }", "{\n s.add(sc.next());\n }", "s.add(sc.next())", "s.add", "s", "sc.next()", "sc.next", "sc", "System.out.println(s.size())", "System.out.println", "System.out", "System", "System.out", "s.size()", "s.size", "s", "final String[] args", "args" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; class Main { public static void main(final String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Set<String> s = new HashSet<>(); for (int i = 0; i < n; i++) { s.add(sc.next()); } System.out.println(s.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 18, 13, 17, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 13, 18, 13, 13, 30, 40, 13, 4, 18, 13, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 97, 8 ], [ 97, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 11, 54 ], [ 54, 55 ], [ 54, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 62, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 57, 68 ], [ 69, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 81, 87 ], [ 11, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 9, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "\n\nimport java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tString[] s = new String[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(s[0], 1);\n\t\tint ans = 1;\n\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "import java.util.HashMap;", "HashMap", "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\n\t\tint n = sc.nextInt();\n\t\tString[] s = new String[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(s[0], 1);\n\t\tint ans = 1;\n\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tString[] s = new String[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(s[0], 1);\n\t\tint ans = 1;\n\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tString[] s = new String[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(s[0], 1);\n\t\tint ans = 1;\n\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] s = new String[n];", "s", "new String[n]", "n", "for (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ts[i] = sc.next();\n\t\t}", "{\n\t\t\ts[i] = sc.next();\n\t\t}", "s[i] = sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "HashMap<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "map.put(s[0], 1)", "map.put", "map", "s[0]", "s", "0", "1", "int ans = 1;", "ans", "1", "for (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 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\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}", "{\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}", "if (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}", "!map.containsKey(s[i])", "map.containsKey(s[i])", "map.containsKey", "map", "s[i]", "s", "i", "{\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}", "ans++", "ans", "map.put(s[i], 1)", "map.put", "map", "s[i]", "s", "i", "1", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tString[] s = new String[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(s[0], 1);\n\t\tint ans = 1;\n\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tString[] s = new String[n];\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tmap.put(s[0], 1);\n\t\tint ans = 1;\n\n\t\tfor (int i = 1; i < n; i++) {\n\t\t\tif (!map.containsKey(s[i])) {\n\t\t\t\tans++;\n\t\t\t\tmap.put(s[i], 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main" ]
import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] s = new String[n]; for (int i = 0; i < n; i++) { s[i] = sc.next(); } HashMap<String, Integer> map = new HashMap<String, Integer>(); map.put(s[0], 1); int ans = 1; for (int i = 1; i < n; i++) { if (!map.containsKey(s[i])) { ans++; map.put(s[i], 1); } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 4, 18, 13, 29, 18, 13, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 4, 18, 13, 29, 18, 13, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 13, 42, 2, 40, 13, 17, 30, 4, 18, 13, 4, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 89, 17 ], [ 89, 18 ], [ 18, 19 ], [ 18, 20 ], [ 89, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 24, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 23, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 89, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 42, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 41, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 89, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 76, 77 ], [ 59, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 57, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.StreamTokenizer;\nimport java.util.HashSet;\n\npublic class Main {\n public static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n\n public static int nextInt() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return (int) in.nval;\n }\n\n public static String next() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return in.sval;\n }\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n HashSet<String> set = new HashSet<String>();\n int n = nextInt();\n while (n-- > 0) {\n set.add(next());\n }\n System.out.println(set.size());\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.io.StreamTokenizer;", "StreamTokenizer", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "public class Main {\n public static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n\n public static int nextInt() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return (int) in.nval;\n }\n\n public static String next() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return in.sval;\n }\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n HashSet<String> set = new HashSet<String>();\n int n = nextInt();\n while (n-- > 0) {\n set.add(next());\n }\n System.out.println(set.size());\n }\n\n}", "Main", "public static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));", "in", "new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)))", "public static int nextInt() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return (int) in.nval;\n }", "nextInt", "{\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return (int) in.nval;\n }", "try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "IOException e", "{\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n in.nextToken();\n }", "in.nextToken()", "in.nextToken", "in", "return (int) in.nval;", "(int) in.nval", "in", "in.nval", "public static String next() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return in.sval;\n }", "next", "{\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return in.sval;\n }", "try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "IOException e", "{\n // TODO Auto-generated catch block\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n in.nextToken();\n }", "in.nextToken()", "in.nextToken", "in", "return in.sval;", "in.sval", "in", "in.sval", "public static void main(String[] args) {\n // TODO Auto-generated method stub\n HashSet<String> set = new HashSet<String>();\n int n = nextInt();\n while (n-- > 0) {\n set.add(next());\n }\n System.out.println(set.size());\n }", "main", "{\n // TODO Auto-generated method stub\n HashSet<String> set = new HashSet<String>();\n int n = nextInt();\n while (n-- > 0) {\n set.add(next());\n }\n System.out.println(set.size());\n }", "HashSet<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "int n = nextInt();", "n", "nextInt()", "nextInt", "while (n-- > 0) {\n set.add(next());\n }", "n-- > 0", "n--", "n", "0", "{\n set.add(next());\n }", "set.add(next())", "set.add", "set", "next()", "next", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "public class Main {\n public static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n\n public static int nextInt() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return (int) in.nval;\n }\n\n public static String next() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return in.sval;\n }\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n HashSet<String> set = new HashSet<String>();\n int n = nextInt();\n while (n-- > 0) {\n set.add(next());\n }\n System.out.println(set.size());\n }\n\n}", "public class Main {\n public static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in)));\n\n public static int nextInt() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return (int) in.nval;\n }\n\n public static String next() {\n try {\n in.nextToken();\n } catch (IOException e) {\n // TODO Auto-generated catch block\n e.printStackTrace();\n }\n return in.sval;\n }\n\n public static void main(String[] args) {\n // TODO Auto-generated method stub\n HashSet<String> set = new HashSet<String>();\n int n = nextInt();\n while (n-- > 0) {\n set.add(next());\n }\n System.out.println(set.size());\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.StreamTokenizer; import java.util.HashSet; public class Main { public static StreamTokenizer in = new StreamTokenizer(new BufferedReader(new InputStreamReader(System.in))); public static int nextInt() { try { in.nextToken(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return (int) in.nval; } public static String next() { try { in.nextToken(); } catch (IOException e) { // TODO Auto-generated catch block e.printStackTrace(); } return in.sval; } public static void main(String[] args) { // TODO Auto-generated method stub HashSet<String> set = new HashSet<String>(); int n = nextInt(); while (n-- > 0) { set.add(next()); } System.out.println(set.size()); } }
[ 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, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 17, 40, 13, 4, 18, 13, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 113, 20 ], [ 113, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 23, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 23, 34 ], [ 34, 35 ], [ 34, 36 ], [ 23, 37 ], [ 37, 38 ], [ 37, 39 ], [ 23, 40 ], [ 40, 41 ], [ 40, 42 ], [ 23, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 43, 47 ], [ 43, 48 ], [ 23, 49 ], [ 49, 50 ], [ 50, 51 ], [ 21, 52 ], [ 52, 53 ], [ 113, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 64, 66 ], [ 58, 67 ], [ 67, 68 ], [ 67, 69 ], [ 58, 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 ], [ 82, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 88, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 95, 99 ], [ 94, 100 ], [ 100, 101 ], [ 58, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 56, 106 ], [ 106, 107 ], [ 56, 108 ], [ 108, 109 ], [ 56, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.Scanner;\nimport java.util.HashMap;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc164_c solver = new abc164_c();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc164_c {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }\n\n }\n}\n", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc164_c solver = new abc164_c();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc164_c {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc164_c solver = new abc164_c();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc164_c solver = new abc164_c();\n solver.solve(1, in, out);\n out.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "Scanner in = new Scanner(inputStream);", "in", "new Scanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "abc164_c solver = new abc164_c();", "solver", "new abc164_c()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class abc164_c {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }\n\n }", "abc164_c", "public void solve(int testNumber, Scanner in, PrintWriter out) {\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }", "solve", "{\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }", "long N = in.nextLong();", "N", "in.nextLong()", "in.nextLong", "in", "int brakecount = 0;", "brakecount", "0", "HashMap<String, Integer> S = new HashMap<String, Integer>();", "S", "new HashMap<String, Integer>()", "for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }", "long i = 0;", "long i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }", "{\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }", "String inS = in.next();", "inS", "in.next()", "in.next", "in", "if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }", "!S.containsKey(inS)", "S.containsKey(inS)", "S.containsKey", "S", "inS", "{\n S.put(inS, 0);\n brakecount++;\n }", "S.put(inS, 0)", "S.put", "S", "inS", "0", "brakecount++", "brakecount", "out.println(brakecount)", "out.println", "out", "brakecount", "int testNumber", "testNumber", "Scanner in", "in", "PrintWriter out", "out", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc164_c solver = new abc164_c();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc164_c {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n Scanner in = new Scanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n abc164_c solver = new abc164_c();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class abc164_c {\n public void solve(int testNumber, Scanner in, PrintWriter out) {\n long N = in.nextLong();\n //String S[] = new String[2147483647];\n// String S[] = new String[9999999];\n int brakecount = 0;\n HashMap<String, Integer> S = new HashMap<String, Integer>();\n for (long i = 0; i < N; i++) {\n String inS = in.next();\n if (!S.containsKey(inS)) {\n S.put(inS, 0);\n brakecount++;\n }\n }\n /*\n Arrays.sort(S);\n String oldS = \"\";\n for (String item :S\n ) {\n if (oldS.isEmpty()) {\n oldS = item;\n }\n if(item.compareTo(oldS)!=0){\n brakecount++;\n }\n }\n */\n out.println(brakecount);\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.Scanner; import java.util.HashMap; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; Scanner in = new Scanner(inputStream); PrintWriter out = new PrintWriter(outputStream); abc164_c solver = new abc164_c(); solver.solve(1, in, out); out.close(); } static class abc164_c { public void solve(int testNumber, Scanner in, PrintWriter out) { long N = in.nextLong(); //String S[] = new String[2147483647]; // String S[] = new String[9999999]; int brakecount = 0; HashMap<String, Integer> S = new HashMap<String, Integer>(); for (long i = 0; i < N; i++) { String inS = in.next(); if (!S.containsKey(inS)) { S.put(inS, 0); brakecount++; } } /* Arrays.sort(S); String oldS = ""; for (String item :S ) { if (oldS.isEmpty()) { oldS = item; } if(item.compareTo(oldS)!=0){ brakecount++; } } */ out.println(brakecount); } } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 30, 4, 18, 13, 13, 17, 28, 13, 4, 18, 13, 30, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 74, 8 ], [ 74, 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 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 44, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 51, 55 ], [ 11, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 56, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 9, 71 ], [ 71, 72 ], [ 0, 73 ], [ 73, 74 ], [ 73, 75 ] ]
[ "import java.util.Scanner;\nimport java.util.TreeMap;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint total = 0;\n\n\t\tTreeMap<String, Integer> s = new TreeMap<>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}\n\n\t\tfor (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total);\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint total = 0;\n\n\t\tTreeMap<String, Integer> s = new TreeMap<>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}\n\n\t\tfor (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total);\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint total = 0;\n\n\t\tTreeMap<String, Integer> s = new TreeMap<>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}\n\n\t\tfor (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total);\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint total = 0;\n\n\t\tTreeMap<String, Integer> s = new TreeMap<>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}\n\n\t\tfor (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total);\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 total = 0;", "total", "0", "TreeMap<String, Integer> s = new TreeMap<>();", "s", "new TreeMap<>()", "for (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 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 input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}", "{\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}", "String input = sc.next();", "input", "sc.next()", "sc.next", "sc", "if (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}", "s.containsKey(input)", "s.containsKey", "s", "input", "{\n\n\t\t\t}", "{\n\t\t\t\ts.put(input, 1);\n\t\t\t}", "s.put(input, 1)", "s.put", "s", "input", "1", "for (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}", "String key", "s.keySet()", "s.keySet", "s", "{\n\t\t\ttotal++;\n\t\t}", "{\n\t\t\ttotal++;\n\t\t}", "total++", "total", "System.out.println(total)", "System.out.println", "System.out", "System", "System.out", "total", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint total = 0;\n\n\t\tTreeMap<String, Integer> s = new TreeMap<>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}\n\n\t\tfor (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total);\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint n = sc.nextInt();\n\t\tint total = 0;\n\n\t\tTreeMap<String, Integer> s = new TreeMap<>();\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString input = sc.next();\n\t\t\tif (s.containsKey(input)) {\n\n\t\t\t} else {\n\t\t\t\ts.put(input, 1);\n\t\t\t}\n\t\t}\n\n\t\tfor (String key : s.keySet()) {\n\t\t\ttotal++;\n\t\t}\n\n\t\tSystem.out.println(total);\n\n\t}\n}", "Main" ]
import java.util.Scanner; import java.util.TreeMap; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int total = 0; TreeMap<String, Integer> s = new TreeMap<>(); for (int i = 0; i < n; i++) { String input = sc.next(); if (s.containsKey(input)) { } else { s.put(input, 1); } } for (String key : s.keySet()) { total++; } System.out.println(total); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 2, 13, 17, 18, 13, 13, 30, 40, 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 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 27, 32 ], [ 32, 33 ], [ 32, 34 ], [ 27, 35 ], [ 35, 36 ], [ 36, 37 ], [ 27, 38 ], [ 39, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 40, 44 ], [ 44, 45 ], [ 45, 46 ], [ 11, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 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 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 66, 73 ], [ 73, 74 ], [ 73, 75 ], [ 64, 76 ], [ 76, 77 ], [ 77, 78 ], [ 11, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 9, 85 ], [ 85, 86 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n \nclass Main {\n\tpublic static void main(final String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t String S[] = new String[N];\n\t\t int ans = 1;\n\n for(int i=0;i<N;i++) {\n \tS[i] = sc.next();\n }\n \n\t\tArrays.sort(S);\n\t\t\n\t\tfor(int i = 1; i < N; i++){\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}\n\n System.out.print(ans);\n \n\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\tpublic static void main(final String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t String S[] = new String[N];\n\t\t int ans = 1;\n\n for(int i=0;i<N;i++) {\n \tS[i] = sc.next();\n }\n \n\t\tArrays.sort(S);\n\t\t\n\t\tfor(int i = 1; i < N; i++){\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}\n\n System.out.print(ans);\n \n\n\t}\n}", "Main", "public static void main(final String[] args) {\n\t\t Scanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t String S[] = new String[N];\n\t\t int ans = 1;\n\n for(int i=0;i<N;i++) {\n \tS[i] = sc.next();\n }\n \n\t\tArrays.sort(S);\n\t\t\n\t\tfor(int i = 1; i < N; i++){\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}\n\n System.out.print(ans);\n \n\n\t}", "main", "{\n\t\t Scanner sc = new Scanner(System.in);\n\t\t int N = sc.nextInt();\n\t\t String S[] = new String[N];\n\t\t int ans = 1;\n\n for(int i=0;i<N;i++) {\n \tS[i] = sc.next();\n }\n \n\t\tArrays.sort(S);\n\t\t\n\t\tfor(int i = 1; i < N; i++){\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}\n\n System.out.print(ans);\n \n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String S[] = new String[N];", "S", "new String[N]", "N", "int ans = 1;", "ans", "1", "for(int i=0;i<N;i++) {\n \tS[i] = sc.next();\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n \tS[i] = sc.next();\n }", "{\n \tS[i] = sc.next();\n }", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(S)", "Arrays.sort", "Arrays", "S", "for(int i = 1; i < N; i++){\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}\n\t\t}", "if(! S[i-1].equals(S[i])){\n\t\t\t\tans ++;\n\t\t\t}", "! S[i-1].equals(S[i])", "S[i-1].equals(S[i])", "S[i-1].equals", "S[i-1]", "S", "i-1", "i", "1", "S[i]", "S", "i", "{\n\t\t\t\tans ++;\n\t\t\t}", "ans ++", "ans", "System.out.print(ans)", "System.out.print", "System.out", "System", "System.out", "ans", "final String[] args", "args" ]
import java.util.Arrays; import java.util.Scanner; class Main { public static void main(final String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String S[] = new String[N]; int ans = 1; for(int i=0;i<N;i++) { S[i] = sc.next(); } Arrays.sort(S); for(int i = 1; i < N; i++){ if(! S[i-1].equals(S[i])){ ans ++; } } System.out.print(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 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, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 68, 14 ], [ 68, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 26, 28 ], [ 17, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 17, 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 ], [ 48, 51 ], [ 51, 52 ], [ 52, 53 ], [ 17, 54 ], [ 54, 55 ], [ 54, 56 ], [ 17, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 15, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import java.io.FileNotFoundException;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n//\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n//\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "Main", "public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n//\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }", "main", "{\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n//\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "ArrayList<String> result = new ArrayList<>();", "result", "new ArrayList<>()", "result.add(sc.next())", "result.add", "result", "sc.next()", "sc.next", "sc", "for(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}", "int i=1;", "int i=1;", "i", "1", "i<N", "i", "N", "i++", "i++", "i", "{\n \t\tresult.add(sc.next());\n \t}", "{\n \t\tresult.add(sc.next());\n \t}", "result.add(sc.next())", "result.add", "result", "sc.next()", "sc.next", "sc", "ArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));", "ans", "new ArrayList<String>(new HashSet<>(result))", "System.out.println(ans.size())", "System.out.println", "System.out", "System", "System.out", "ans.size()", "ans.size", "ans", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n//\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "public class Main {\n public static void main(String[] args) throws FileNotFoundException {\n\n// \tFile file = new File(\"src/in.txt\");\n\n //コード\n// \tScanner sc = new Scanner(file);\n \tScanner sc = new Scanner(System.in);\n\n \tint N = sc.nextInt();\n\n\n \tArrayList<String> result = new ArrayList<>();\n \tresult.add(sc.next());\n// \tfor(int i=1;i<N;i++) {\n// \t\tSystem.out.println(i);\n// \t\tString next = sc.next();\n// \t\tboolean chk = true;\n// \t\tfor(String j:result) {\n// \t\t\tif(next.equals(j)) {\n// \t\t\t\tchk = false;\n// \t\t\t\tbreak;\n// \t\t\t}\n// \t\t}\n// \t\tif(chk) {\n// \t\t\tresult.add(next);\n// \t\t\tCollections.sort(result);\n// \t\t}\n// \t}\n \tfor(int i=1;i<N;i++) {\n \t\tresult.add(sc.next());\n \t}\n//\t\tCollections.sort(result);\n\t\tArrayList<String> ans = new ArrayList<String>(new HashSet<>(result));\n \tSystem.out.println(ans.size());\n }\n\n}", "Main" ]
import java.io.FileNotFoundException; import java.util.ArrayList; import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) throws FileNotFoundException { // File file = new File("src/in.txt"); //コード // Scanner sc = new Scanner(file); Scanner sc = new Scanner(System.in); int N = sc.nextInt(); ArrayList<String> result = new ArrayList<>(); result.add(sc.next()); // for(int i=1;i<N;i++) { // System.out.println(i); // String next = sc.next(); // boolean chk = true; // for(String j:result) { // if(next.equals(j)) { // chk = false; // break; // } // } // if(chk) { // result.add(next); // Collections.sort(result); // } // } for(int i=1;i<N;i++) { result.add(sc.next()); } // Collections.sort(result); ArrayList<String> ans = new ArrayList<String>(new HashSet<>(result)); System.out.println(ans.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 18, 18, 13, 13, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 40, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 89, 5 ], [ 89, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 42, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 44, 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 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 65, 77 ], [ 77, 78 ], [ 78, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 6, 86 ], [ 86, 87 ], [ 0, 88 ], [ 88, 89 ], [ 88, 90 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint sum = 1;\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tjava.util.Arrays.sort(s);\n\t\t\n\t\tfor(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint sum = 1;\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tjava.util.Arrays.sort(s);\n\t\t\n\t\tfor(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint sum = 1;\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tjava.util.Arrays.sort(s);\n\t\t\n\t\tfor(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint sum = 1;\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tjava.util.Arrays.sort(s);\n\t\t\n\t\tfor(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int sum = 1;", "sum", "1", "String[] s = new String[n];", "s", "new String[n]", "n", "for(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\ts[i] = sc.next();\n\t\t}", "{\n\t\t\ts[i] = sc.next();\n\t\t}", "s[i] = sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "java.util.Arrays.sort(s)", "java.util.Arrays.sort", "java.util.Arrays", "java.util", "java", "java.util", "java.util.Arrays", "s", "for(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}", "int i= 1;", "int i= 1;", "i", "1", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}", "if(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}", "!s[i].equals(s[i-1])", "s[i].equals(s[i-1])", "s[i].equals", "s[i]", "s", "i", "s[i-1]", "s", "i-1", "i", "1", "{\n\t\t\t\tsum++;\n\t\t\t}", "sum++", "sum", "System.out.println(sum)", "System.out.println", "System.out", "System", "System.out", "sum", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint sum = 1;\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tjava.util.Arrays.sort(s);\n\t\t\n\t\tfor(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\n\t\tint n = sc.nextInt();\n\t\tint sum = 1;\n\t\tString[] s = new String[n];\n\t\tfor(int i = 0; i < n; i++) {\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tjava.util.Arrays.sort(s);\n\t\t\n\t\tfor(int i= 1; i < n; i++) {\n\t\t\tif(!s[i].equals(s[i-1])) {\n\t\t\t\tsum++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(sum);\n\t}\n\t\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int sum = 1; String[] s = new String[n]; for(int i = 0; i < n; i++) { s[i] = sc.next(); } java.util.Arrays.sort(s); for(int i= 1; i < n; i++) { if(!s[i].equals(s[i-1])) { sum++; } } System.out.println(sum); } }