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, 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, 0, 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 ], [ 61, 8 ], [ 61, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 11, 25 ], [ 25, 26 ], [ 25, 27 ], [ 11, 28 ], [ 28, 29 ], [ 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 ], [ 46, 49 ], [ 11, 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 ] ]
[ "\n\nimport java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n=scanner.nextInt();\n String string=scanner.nextLine();\n HashSet set=new HashSet();\n for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\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 scanner = new Scanner(System.in);\n int n=scanner.nextInt();\n String string=scanner.nextLine();\n HashSet set=new HashSet();\n for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n=scanner.nextInt();\n String string=scanner.nextLine();\n HashSet set=new HashSet();\n for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\n }\n System.out.println(set.size());\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int n=scanner.nextInt();\n String string=scanner.nextLine();\n HashSet set=new HashSet();\n for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\n }\n System.out.println(set.size());\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n=scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "String string=scanner.nextLine();", "string", "scanner.nextLine()", "scanner.nextLine", "scanner", "HashSet set=new HashSet();", "set", "new HashSet()", "for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\n }", "int i = 0;", "int i = 0;", "i", "0", "i <n", "i", "n", "i++", "i++", "i", "{\n string=scanner.nextLine();\n set.add(string);\n }", "{\n string=scanner.nextLine();\n set.add(string);\n }", "string=scanner.nextLine()", "string", "scanner.nextLine()", "scanner.nextLine", "scanner", "set.add(string)", "set.add", "set", "string", "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 scanner = new Scanner(System.in);\n int n=scanner.nextInt();\n String string=scanner.nextLine();\n HashSet set=new HashSet();\n for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\n }\n System.out.println(set.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n=scanner.nextInt();\n String string=scanner.nextLine();\n HashSet set=new HashSet();\n for (int i = 0; i <n ; i++) {\n string=scanner.nextLine();\n set.add(string);\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 scanner = new Scanner(System.in); int n=scanner.nextInt(); String string=scanner.nextLine(); HashSet set=new HashSet(); for (int i = 0; i <n ; i++) { string=scanner.nextLine(); set.add(string); } 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, 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 ], [ 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 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 35, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 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.HashSet;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t int N = sc.nextInt();\n HashSet list = new HashSet();\n \n for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }\n \n System.out.println(list.size());\n \n }\n}", "import java.util.*;", "util.*", "java", "import java.util.HashSet;", "HashSet", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t int N = sc.nextInt();\n HashSet list = new HashSet();\n \n for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }\n \n System.out.println(list.size());\n \n }\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t int N = sc.nextInt();\n HashSet list = new HashSet();\n \n for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }\n \n System.out.println(list.size());\n \n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t int N = sc.nextInt();\n HashSet list = new HashSet();\n \n for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }\n \n System.out.println(list.size());\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "HashSet list = new HashSet();", "list", "new HashSet()", "for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }", "int i=0 ;", "int i=0 ;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String prize = sc.next();\n list.add(prize);\n }", "{\n String prize = sc.next();\n list.add(prize);\n }", "String prize = sc.next();", "prize", "sc.next()", "sc.next", "sc", "list.add(prize)", "list.add", "list", "prize", "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\n\t int N = sc.nextInt();\n HashSet list = new HashSet();\n \n for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }\n \n System.out.println(list.size());\n \n }\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\n\t int N = sc.nextInt();\n HashSet list = new HashSet();\n \n for(int i=0 ;i < N; i++){\n String prize = sc.next();\n list.add(prize);\n }\n \n System.out.println(list.size());\n \n }\n}", "Main" ]
import java.util.*; import java.util.HashSet; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); HashSet list = new HashSet(); for(int i=0 ;i < N; i++){ String prize = sc.next(); list.add(prize); } System.out.println(list.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, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 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 ], [ 41, 42 ], [ 40, 43 ], [ 38, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 45, 49 ], [ 8, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N =sc.nextInt();\n\t\t\t\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map.size());\n\t\t\n\t\t\n \tsc.close();\n }\n\t\t\n\t\t\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N =sc.nextInt();\n\t\t\t\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map.size());\n\t\t\n\t\t\n \tsc.close();\n }\n\t\t\n\t\t\n}", "Main", "public static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N =sc.nextInt();\n\t\t\t\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map.size());\n\t\t\n\t\t\n \tsc.close();\n }", "main", "{\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N =sc.nextInt();\n\t\t\t\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map.size());\n\t\t\n\t\t\n \tsc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N =sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Map<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 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 S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}", "{\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}", "String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "if(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}", "!map.containsKey(S)", "map.containsKey(S)", "map.containsKey", "map", "S", "{\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.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N =sc.nextInt();\n\t\t\t\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map.size());\n\t\t\n\t\t\n \tsc.close();\n }\n\t\t\n\t\t\n}", "public class Main {\n\tpublic static void main(String[] args){\n \t\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N =sc.nextInt();\n\t\t\t\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tif(!map.containsKey(S)){\n\t\t\t\tmap.put(S, 1);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(map.size());\n\t\t\n\t\t\n \tsc.close();\n }\n\t\t\n\t\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(); Map<String, Integer> map = new HashMap<>(); for (int i = 0; i < N; i++) { String S = sc.next(); if(!map.containsKey(S)){ map.put(S, 1); } } System.out.println(map.size()); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 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, 20, 42, 2, 40, 13, 17, 30, 4, 18, 13, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 29, 4, 18, 13, 13, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 4, 13, 6, 13, 12, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 380, 26 ], [ 380, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 32, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 29, 40 ], [ 40, 41 ], [ 40, 42 ], [ 29, 43 ], [ 43, 44 ], [ 43, 45 ], [ 29, 46 ], [ 46, 47 ], [ 46, 48 ], [ 29, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 49, 54 ], [ 29, 55 ], [ 55, 56 ], [ 56, 57 ], [ 27, 58 ], [ 58, 59 ], [ 380, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 64, 70 ], [ 70, 71 ], [ 70, 72 ], [ 64, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 83, 84 ], [ 64, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 89, 90 ], [ 62, 91 ], [ 91, 92 ], [ 62, 93 ], [ 93, 94 ], [ 62, 95 ], [ 95, 96 ], [ 380, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 97, 101 ], [ 101, 102 ], [ 101, 103 ], [ 97, 105 ], [ 105, 106 ], [ 97, 107 ], [ 107, 108 ], [ 97, 109 ], [ 109, 110 ], [ 97, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 111, 119 ], [ 119, 120 ], [ 97, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 124, 129 ], [ 129, 130 ], [ 123, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 131, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 139, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 135, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 152, 156 ], [ 156, 157 ], [ 157, 158 ], [ 123, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 162, 163 ], [ 97, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 166, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 166, 179 ], [ 179, 180 ], [ 179, 181 ], [ 166, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 166, 195 ], [ 195, 196 ], [ 195, 197 ], [ 166, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 198, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 209, 211 ], [ 204, 212 ], [ 212, 213 ], [ 203, 214 ], [ 214, 215 ], [ 214, 216 ], [ 203, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 219, 221 ], [ 203, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 166, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 97, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 232, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 232, 245 ], [ 245, 246 ], [ 245, 247 ], [ 232, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 248, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 252, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 232, 261 ], [ 261, 262 ], [ 261, 263 ], [ 232, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 264, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 275, 276 ], [ 275, 277 ], [ 270, 278 ], [ 278, 279 ], [ 269, 280 ], [ 280, 281 ], [ 280, 282 ], [ 269, 283 ], [ 283, 284 ], [ 283, 285 ], [ 285, 286 ], [ 285, 287 ], [ 269, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 232, 292 ], [ 292, 293 ], [ 293, 294 ], [ 293, 295 ], [ 97, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 299, 301 ], [ 301, 302 ], [ 298, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 303, 307 ], [ 307, 308 ], [ 307, 309 ], [ 309, 310 ], [ 298, 311 ], [ 311, 312 ], [ 311, 313 ], [ 298, 314 ], [ 314, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 314, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 320, 323 ], [ 319, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 298, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 97, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 336, 338 ], [ 335, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 340, 343 ], [ 334, 344 ], [ 344, 345 ], [ 348, 346 ], [ 358, 347 ], [ 355, 348 ], [ 348, 349 ], [ 349, 350 ], [ 349, 351 ], [ 348, 352 ], [ 352, 353 ], [ 352, 354 ], [ 355, 355 ], [ 355, 356 ], [ 355, 357 ], [ 358, 358 ], [ 358, 359 ], [ 358, 360 ], [ 348, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 332, 365 ], [ 365, 366 ], [ 97, 367 ], [ 367, 368 ], [ 367, 369 ], [ 369, 370 ], [ 370, 371 ], [ 371, 372 ], [ 97, 373 ], [ 373, 374 ], [ 373, 375 ], [ 375, 376 ], [ 375, 377 ], [ 377, 378 ], [ 0, 379 ], [ 379, 380 ], [ 379, 381 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.util.*;\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Manan Patel\n */\npublic class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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.InputMismatchException;", "InputMismatchException", "java.util", "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 InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }", "InputStream inputStream = System.in;", "inputStream", "System.in", "System", "System.in", "OutputStream outputStream = System.out;", "outputStream", "System.out", "System", "System.out", "InputReader sc = new InputReader(inputStream);", "sc", "new InputReader(inputStream)", "PrintWriter w = new PrintWriter(outputStream);", "w", "new PrintWriter(outputStream)", "solution solver = new solution();", "solver", "new solution()", "solver.solve(1 , sc , w)", "solver.solve", "solver", "1", "sc", "w", "w.close()", "w.close", "w", "String[] args", "args", "static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }\n }", "solution", "public void solve(int tc, InputReader sc, PrintWriter w) {\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }", "solve", "{\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String> hs = new HashSet<String>();", "hs", "new HashSet<String>()", "while(n-- > 0){\n hs.add(sc.next());\n }", "n-- > 0", "n--", "n", "0", "{\n hs.add(sc.next());\n }", "hs.add(sc.next())", "hs.add", "hs", "sc.next()", "sc.next", "sc", "w.println(hs.size())", "w.println", "w", "hs.size()", "hs.size", "hs", "int tc", "tc", "InputReader sc", "sc", "PrintWriter w", "w", "static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }", "InputReader", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "private InputReader.SpaceCharFilter filter;", "filter", "public InputReader(InputStream stream) {\n this.stream = stream;\n }", "InputReader", "{\n this.stream = stream;\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "read", "{\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (numChars == -1)\n throw new InputMismatchException();", "numChars == -1", "numChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }", "curChar >= numChars", "curChar", "numChars", "{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n numChars = stream.read(buf);\n }", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0)\n return -1;", "numChars <= 0", "numChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }", "nextInt", "{\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n c = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }", "nextLong", "{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n c = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "long res = 0;", "res", "0", "do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }", "if (c < '0' || c > '9')\n throw new InputMismatchException();", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }", "readString", "{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n c = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "if (filter != null)\n return filter.isSpaceChar(c);", "filter != null", "filter", "null", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public String next() {\n return readString();\n }", "next", "{\n return readString();\n }", "return readString();", "readString()", "readString", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main{\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 InputReader sc = new InputReader(inputStream);\n PrintWriter w = new PrintWriter(outputStream);\n solution solver = new solution();\n //int t = sc.nextInt();\n //for(int i = 1 ; i <= t ; i++)\n solver.solve(1 , sc , w);\n\n w.close();\n }\n\n static class solution {\n public void solve(int tc, InputReader sc, PrintWriter w) {\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n while(n-- > 0){\n hs.add(sc.next());\n }\n w.println(hs.size());\n }\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n if (numChars == -1)\n throw new InputMismatchException();\n\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (numChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n\n while (isSpaceChar(c))\n c = read();\n\n int sgn = 1;\n\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n\n int res = 0;\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n\n do {\n if (c < '0' || c > '9')\n throw new InputMismatchException();\n res *= 10;\n res += c - '0';\n c = read();\n }\n while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n }\n while (!isSpaceChar(c));\n\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null)\n return filter.isSpaceChar(c);\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n return readString();\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; import java.util.*; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Manan Patel */ public class Main{ public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader sc = new InputReader(inputStream); PrintWriter w = new PrintWriter(outputStream); solution solver = new solution(); //int t = sc.nextInt(); //for(int i = 1 ; i <= t ; i++) solver.solve(1 , sc , w); w.close(); } static class solution { public void solve(int tc, InputReader sc, PrintWriter w) { int n = sc.nextInt(); HashSet<String> hs = new HashSet<String>(); while(n-- > 0){ hs.add(sc.next()); } w.println(hs.size()); } } static class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private InputReader.SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int read() { if (numChars == -1) throw new InputMismatchException(); if (curChar >= numChars) { curChar = 0; try { numChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (numChars <= 0) return -1; } return buf[curChar++]; } public int nextInt() { int c = read(); while (isSpaceChar(c)) c = read(); int sgn = 1; if (c == '-') { sgn = -1; c = read(); } int res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public long nextLong() { int c = read(); while (isSpaceChar(c)) c = read(); int sgn = 1; if (c == '-') { sgn = -1; c = read(); } long res = 0; do { if (c < '0' || c > '9') throw new InputMismatchException(); res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public String readString() { int c = read(); while (isSpaceChar(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isSpaceChar(c)); return res.toString(); } public boolean isSpaceChar(int c) { if (filter != null) return filter.isSpaceChar(c); return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public String next() { return readString(); } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } }
[ 7, 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, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 0, 13, 17, 0, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 90, 5 ], [ 90, 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 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 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 ], [ 66, 68 ], [ 64, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 62, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 6, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.*;\n\npublic class Main{\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 long ans = 1;\n\n for(int i = 0; i < n; i++){\n s[i] = sc.next();\n }\n\n Arrays.sort(s);\n\n for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\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 sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n String[] s = new String[n];\n long ans = 1;\n\n for(int i = 0; i < n; i++){\n s[i] = sc.next();\n }\n\n Arrays.sort(s);\n\n for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\n }\n\n System.out.println(ans);\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 long ans = 1;\n\n for(int i = 0; i < n; i++){\n s[i] = sc.next();\n }\n\n Arrays.sort(s);\n\n for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\n }\n\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n String[] s = new String[n];\n long ans = 1;\n\n for(int i = 0; i < n; i++){\n s[i] = sc.next();\n }\n\n Arrays.sort(s);\n\n for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\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", "long ans = 1;", "ans", "1", "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", "for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\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 -= 1;\n }\n ans += 1;\n }", "{\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\n }", "if(s[i].equals(s[i + 1])){\n ans -= 1;\n }", "s[i].equals(s[i + 1])", "s[i].equals", "s[i]", "s", "i", "s[i + 1]", "s", "i + 1", "i", "1", "{\n ans -= 1;\n }", "ans -= 1", "ans", "1", "ans += 1", "ans", "1", "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\n int n = sc.nextInt();\n String[] s = new String[n];\n long ans = 1;\n\n for(int i = 0; i < n; i++){\n s[i] = sc.next();\n }\n\n Arrays.sort(s);\n\n for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\n }\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\n int n = sc.nextInt();\n String[] s = new String[n];\n long ans = 1;\n\n for(int i = 0; i < n; i++){\n s[i] = sc.next();\n }\n\n Arrays.sort(s);\n\n for(int i = 0; i < n - 1; i++){\n if(s[i].equals(s[i + 1])){\n ans -= 1;\n }\n ans += 1;\n }\n\n System.out.println(ans);\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[] s = new String[n]; long ans = 1; for(int i = 0; i < n; i++){ s[i] = sc.next(); } Arrays.sort(s); for(int i = 0; i < n - 1; i++){ if(s[i].equals(s[i + 1])){ ans -= 1; } ans += 1; } System.out.println(ans); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 0, 13, 2, 4, 18, 13, 13, 17, 4, 18, 13, 13, 13, 30, 4, 18, 13, 13, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 92, 5 ], [ 92, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 40, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 51, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 60, 64 ], [ 46, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 8, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 71, 76 ], [ 77, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 6, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString strs;\n\t\tint value = 0;\n\t\tint ans = 0;\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\n\t\tfor(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}\n\t\tSystem.out.println(ans);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString strs;\n\t\tint value = 0;\n\t\tint ans = 0;\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\n\t\tfor(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}\n\t\tSystem.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString strs;\n\t\tint value = 0;\n\t\tint ans = 0;\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\n\t\tfor(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}\n\t\tSystem.out.println(ans);\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString strs;\n\t\tint value = 0;\n\t\tint ans = 0;\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\n\t\tfor(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}\n\t\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", "String strs;", "strs", "int value = 0;", "value", "0", "int ans = 0;", "ans", "0", "Map<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "for(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}", "int i=1;", "int i=1;", "i", "1", "i<=N", "i", "N", "i++", "i++", "i", "{\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}", "{\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}", "strs = sc.next()", "strs", "sc.next()", "sc.next", "sc", "if (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}", "map.containsKey(strs)", "map.containsKey", "map", "strs", "{\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}", "value = map.get(strs)+1", "value", "map.get(strs)+1", "map.get(strs)", "map.get", "map", "strs", "1", "map.put(strs, value)", "map.put", "map", "strs", "value", "{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}", "map.put(strs, 1)", "map.put", "map", "strs", "1", "for (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}", "String key", "map.keySet()", "map.keySet", "map", "{\n\t\t\tans=ans+1;\n\t\t}", "{\n\t\t\tans=ans+1;\n\t\t}", "ans=ans+1", "ans", "ans+1", "ans", "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 \tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString strs;\n\t\tint value = 0;\n\t\tint ans = 0;\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\n\t\tfor(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}\n\t\tSystem.out.println(ans);\n }\n}", "public class Main {\n\tpublic static void main(String[] args) {\n \tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString strs;\n\t\tint value = 0;\n\t\tint ans = 0;\n\t\tMap<String, Integer> map = new HashMap<String, Integer>();\n\n\t\tfor(int i=1;i<=N;i++){\n\t\t\tstrs = sc.next();\t\n\t\t\tif (map.containsKey(strs)){\n\t\t\t\tvalue = map.get(strs)+1;\n\t\t\t\tmap.put(strs, value);\n\t\t\t}\n\t\t\telse{\n\t\t\t\tmap.put(strs, 1);\n\t\t\t}\n\n\t\t}\n\n\t\tfor (String key : map.keySet()) {\n\t\t\tans=ans+1;\n\t\t}\n\t\tSystem.out.println(ans);\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 strs; int value = 0; int ans = 0; Map<String, Integer> map = new HashMap<String, Integer>(); for(int i=1;i<=N;i++){ strs = sc.next(); if (map.containsKey(strs)){ value = map.get(strs)+1; map.put(strs, value); } else{ map.put(strs, 1); } } for (String key : map.keySet()) { ans=ans+1; } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 17, 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 ], [ 62, 8 ], [ 62, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 11, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 11, 48 ], [ 48, 49 ], [ 49, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 9, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tHashMap<String, String> map = new HashMap<String, String>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString str= sc.nextLine();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}\n\t\tsc.close();\n\n\t\tSystem.out.println(map.size());\n\t}\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tHashMap<String, String> map = new HashMap<String, String>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString str= sc.nextLine();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}\n\t\tsc.close();\n\n\t\tSystem.out.println(map.size());\n\t}\n}", "Main", "public static void main(String[] args)\n\t{\n\t\tHashMap<String, String> map = new HashMap<String, String>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString str= sc.nextLine();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}\n\t\tsc.close();\n\n\t\tSystem.out.println(map.size());\n\t}", "main", "{\n\t\tHashMap<String, String> map = new HashMap<String, String>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString str= sc.nextLine();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}\n\t\tsc.close();\n\n\t\tSystem.out.println(map.size());\n\t}", "HashMap<String, String> map = new HashMap<String, String>();", "map", "new HashMap<String, String>()", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String str= sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "for (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}", "{\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}", "map.put(sc.nextLine(),\"\")", "map.put", "map", "sc.nextLine()", "sc.nextLine", "sc", "\"\"", "sc.close()", "sc.close", "sc", "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{\n\tpublic static void main(String[] args)\n\t{\n\t\tHashMap<String, String> map = new HashMap<String, String>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString str= sc.nextLine();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}\n\t\tsc.close();\n\n\t\tSystem.out.println(map.size());\n\t}\n}", "public class Main\n{\n\tpublic static void main(String[] args)\n\t{\n\t\tHashMap<String, String> map = new HashMap<String, String>();\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tString str= sc.nextLine();\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tmap.put(sc.nextLine(),\"\");\n\t\t}\n\t\tsc.close();\n\n\t\tSystem.out.println(map.size());\n\t}\n}", "Main" ]
import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(String[] args) { HashMap<String, String> map = new HashMap<String, String>(); Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String str= sc.nextLine(); for (int i=0; i<n; i++) { map.put(sc.nextLine(),""); } sc.close(); 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 4, 18, 13, 13, 8, 2, 13, 17, 17, 2, 13, 17, 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 ], [ 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 ], [ 28, 30 ], [ 26, 31 ], [ 31, 32 ], [ 31, 33 ], [ 26, 34 ], [ 34, 35 ], [ 35, 36 ], [ 26, 37 ], [ 38, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 38, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 54, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 14, 62 ], [ 62, 63 ], [ 63, 64 ], [ 14, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 12, 73 ], [ 73, 74 ], [ 0, 75 ], [ 75, 76 ], [ 75, 77 ] ]
[ "import java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }\n\n scanner.close();\n\n System.out.println(map.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 public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }\n\n scanner.close();\n\n System.out.println(map.size());\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }\n\n scanner.close();\n\n System.out.println(map.size());\n\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }\n\n scanner.close();\n\n System.out.println(map.size());\n\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int N = scanner.nextInt();", "N", "scanner.nextInt()", "scanner.nextInt", "scanner", "Map<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }", "{\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }", "String temp = scanner.next();", "temp", "scanner.next()", "scanner.next", "scanner", "Integer index = map.get(temp);", "index", "map.get(temp)", "map.get", "map", "temp", "map.put(temp, index == null ? 1 : index + 1)", "map.put", "map", "temp", "index == null ? 1 : index + 1", "index == null", "index", "null", "1", "index + 1", "index", "1", "scanner.close()", "scanner.close", "scanner", "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 public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }\n\n scanner.close();\n\n System.out.println(map.size());\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n\n int N = scanner.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < N; i++) {\n String temp = scanner.next();\n Integer index = map.get(temp);\n map.put(temp, index == null ? 1 : index + 1);\n }\n\n scanner.close();\n\n System.out.println(map.size());\n\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 scanner = new Scanner(System.in); int N = scanner.nextInt(); Map<String, Integer> map = new HashMap<>(); for (int i = 0; i < N; i++) { String temp = scanner.next(); Integer index = map.get(temp); map.put(temp, index == null ? 1 : index + 1); } scanner.close(); 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, 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 ] ]
[ "\nimport java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint N = cin.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0;i<N;i++) S.add(cin.next());\n\t\t\n\t\tSystem.out.println(S.size());\n\t\t\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\t\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint N = cin.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0;i<N;i++) S.add(cin.next());\n\t\t\n\t\tSystem.out.println(S.size());\n\t\t\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint N = cin.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0;i<N;i++) S.add(cin.next());\n\t\t\n\t\tSystem.out.println(S.size());\n\t\t\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint N = cin.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0;i<N;i++) S.add(cin.next());\n\t\t\n\t\tSystem.out.println(S.size());\n\t\t\n\t}", "Scanner cin = new Scanner(System.in);", "cin", "new Scanner(System.in)", "int N = cin.nextInt();", "N", "cin.nextInt()", "cin.nextInt", "cin", "Set<String> S = new HashSet<>();", "S", "new HashSet<>()", "for(int i = 0;i<N;i++) S.add(cin.next());", "int i = 0;", "int i = 0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "S.add(cin.next());", "S.add(cin.next())", "S.add", "S", "cin.next()", "cin.next", "cin", "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\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\t\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint N = cin.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0;i<N;i++) S.add(cin.next());\n\t\t\n\t\tSystem.out.println(S.size());\n\t\t\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\t\n\t\tScanner cin = new Scanner(System.in);\n\t\t\n\t\tint N = cin.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0;i<N;i++) S.add(cin.next());\n\t\t\n\t\tSystem.out.println(S.size());\n\t\t\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { // TODO Auto-generated method stub Scanner cin = new Scanner(System.in); int N = cin.nextInt(); Set<String> S = new HashSet<>(); for(int i = 0;i<N;i++) S.add(cin.next()); System.out.println(S.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, 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 ], [ 77, 17 ], [ 77, 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 ], [ 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 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ] ]
[ "import java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.List;\nimport java.util.stream.Collectors;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a=scan.nextInt();\n List<String> listA = new ArrayList<String>();\n for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n // System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n }\n }\n", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.List;", "List", "java.util", "import java.util.stream.Collectors;", "Collectors", "java.util.stream", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a=scan.nextInt();\n List<String> listA = new ArrayList<String>();\n for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n // System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n }\n }", "Main", "public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a=scan.nextInt();\n List<String> listA = new ArrayList<String>();\n for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n // System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n }", "main", "{\n\n Scanner scan = new Scanner(System.in);\n int a=scan.nextInt();\n List<String> listA = new ArrayList<String>();\n for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n // System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int a=scan.nextInt();", "a", "scan.nextInt()", "scan.nextInt", "scan", "List<String> listA = new ArrayList<String>();", "listA", "new ArrayList<String>()", "for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }", "{\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }", "String n=scan.next();", "n", "scan.next()", "scan.next", "scan", "listA.add(n)", "listA.add", "listA", "n", "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", "public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a=scan.nextInt();\n List<String> listA = new ArrayList<String>();\n for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n // System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n }\n }", "public class Main {\n public static void main(String[] args) {\n\n Scanner scan = new Scanner(System.in);\n int a=scan.nextInt();\n List<String> listA = new ArrayList<String>();\n for(int i=0;i<a;i++){\n String n=scan.next();\n //System.out.println(n);\n listA.add(n);\n //System.out.println(\"ListA = \" + listA);\n }\n List<String> listB = listA.stream().distinct().collect(Collectors.toList());\n\n // System.out.println(\"ListA = \" + listA);\n //System.out.println(\"ListB = \" + listB);\n System.out.println(listB.size());\n }\n }", "Main" ]
import java.util.ArrayList; import java.util.Arrays; import java.util.List; import java.util.stream.Collectors; import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int a=scan.nextInt(); List<String> listA = new ArrayList<String>(); for(int i=0;i<a;i++){ String n=scan.next(); //System.out.println(n); listA.add(n); //System.out.println("ListA = " + listA); } List<String> listB = listA.stream().distinct().collect(Collectors.toList()); // 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, 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 ], [ 50, 5 ], [ 50, 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 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n for(int i = 0; i < n; i++) {\n hs.add(sc.next());\n }\n System.out.println(hs.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 n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n for(int i = 0; i < n; i++) {\n hs.add(sc.next());\n }\n System.out.println(hs.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> hs = new HashSet<String>();\n for(int i = 0; i < n; i++) {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n for(int i = 0; i < n; i++) {\n hs.add(sc.next());\n }\n System.out.println(hs.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> hs = new HashSet<String>();", "hs", "new HashSet<String>()", "for(int i = 0; i < n; i++) {\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", "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> hs = new HashSet<String>();\n for(int i = 0; i < n; i++) {\n hs.add(sc.next());\n }\n System.out.println(hs.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> hs = new HashSet<String>();\n for(int i = 0; i < n; i++) {\n hs.add(sc.next());\n }\n System.out.println(hs.size());\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(); HashSet<String> hs = new HashSet<String>(); 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, 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.LinkedHashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n LinkedHashSet<String> items = new LinkedHashSet<String>();\n for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }\n System.out.println(items.size());\n }\n}", "import java.util.LinkedHashSet;", "LinkedHashSet", "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 int N = scan.nextInt();\n LinkedHashSet<String> items = new LinkedHashSet<String>();\n for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }\n System.out.println(items.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n LinkedHashSet<String> items = new LinkedHashSet<String>();\n for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }\n System.out.println(items.size());\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n LinkedHashSet<String> items = new LinkedHashSet<String>();\n for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }\n System.out.println(items.size());\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "LinkedHashSet<String> items = new LinkedHashSet<String>();", "items", "new LinkedHashSet<String>()", "for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n items.add(scan.next());\n }", "{\n items.add(scan.next());\n }", "items.add(scan.next())", "items.add", "items", "scan.next()", "scan.next", "scan", "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 public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n LinkedHashSet<String> items = new LinkedHashSet<String>();\n for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }\n System.out.println(items.size());\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 LinkedHashSet<String> items = new LinkedHashSet<String>();\n for (int i = 0; i < N; i++) {\n items.add(scan.next());\n }\n System.out.println(items.size());\n }\n}", "Main" ]
import java.util.LinkedHashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); LinkedHashSet<String> items = new LinkedHashSet<String>(); for (int i = 0; i < N; i++) { items.add(scan.next()); } System.out.println(items.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 41, 13, 20, 41, 13, 0, 13, 4, 18, 13, 0, 13, 4, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 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 ], [ 75, 17 ], [ 75, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 20, 29 ], [ 29, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 20, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 20, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 42, 47 ], [ 47, 48 ], [ 47, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 42, 53 ], [ 54, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 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.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.Set;\n\npublic class Main {\n public static void main(String... args) throws IOException {\n int n;\n Set<String> s = new HashSet<>();\n BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n line = bf.readLine();\n\n n = Integer.parseInt(line);\n\n for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }\n\n System.out.println(s.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", "public class Main {\n public static void main(String... args) throws IOException {\n int n;\n Set<String> s = new HashSet<>();\n BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n line = bf.readLine();\n\n n = Integer.parseInt(line);\n\n for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }\n\n System.out.println(s.size());\n }\n}", "Main", "public static void main(String... args) throws IOException {\n int n;\n Set<String> s = new HashSet<>();\n BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n line = bf.readLine();\n\n n = Integer.parseInt(line);\n\n for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }\n\n System.out.println(s.size());\n }", "main", "{\n int n;\n Set<String> s = new HashSet<>();\n BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n line = bf.readLine();\n\n n = Integer.parseInt(line);\n\n for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }\n\n System.out.println(s.size());\n }", "int n;", "n", "Set<String> s = new HashSet<>();", "s", "new HashSet<>()", "BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));", "bf", "new BufferedReader(new InputStreamReader(System.in))", "String line;", "line", "line = bf.readLine()", "line", "bf.readLine()", "bf.readLine", "bf", "n = Integer.parseInt(line)", "n", "Integer.parseInt(line)", "Integer.parseInt", "Integer", "line", "for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n line = bf.readLine();\n s.add(line);\n }", "{\n line = bf.readLine();\n s.add(line);\n }", "line = bf.readLine()", "line", "bf.readLine()", "bf.readLine", "bf", "s.add(line)", "s.add", "s", "line", "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 int n;\n Set<String> s = new HashSet<>();\n BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n line = bf.readLine();\n\n n = Integer.parseInt(line);\n\n for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }\n\n System.out.println(s.size());\n }\n}", "public class Main {\n public static void main(String... args) throws IOException {\n int n;\n Set<String> s = new HashSet<>();\n BufferedReader bf = new BufferedReader(new InputStreamReader(System.in));\n String line;\n\n line = bf.readLine();\n\n n = Integer.parseInt(line);\n\n for (int i = 0; i < n; i++) {\n line = bf.readLine();\n s.add(line);\n }\n\n System.out.println(s.size());\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; public class Main { public static void main(String... args) throws IOException { int n; Set<String> s = new HashSet<>(); BufferedReader bf = new BufferedReader(new InputStreamReader(System.in)); String line; line = bf.readLine(); n = Integer.parseInt(line); for (int i = 0; i < n; i++) { line = bf.readLine(); s.add(line); } System.out.println(s.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, 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, 14, 40, 4, 18, 13, 18, 13, 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 ], [ 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 ], [ 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 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 65, 66 ], [ 65, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 6, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "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 sc.nextLine();\n String s[]=new String[n];\n for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }\n HashSet<String> h=new HashSet<>();\n for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }\n System.out.println(h.size());\n }\n}\n", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n sc.nextLine();\n String s[]=new String[n];\n for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }\n HashSet<String> h=new HashSet<>();\n for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }\n System.out.println(h.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n sc.nextLine();\n String s[]=new String[n];\n for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }\n HashSet<String> h=new HashSet<>();\n for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }\n System.out.println(h.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n sc.nextLine();\n String s[]=new String[n];\n for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }\n HashSet<String> h=new HashSet<>();\n for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }\n System.out.println(h.size());\n }", "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", "String s[]=new String[n];", "s", "new String[n]", "n", "for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n s[i]=sc.nextLine();\n }", "{\n s[i]=sc.nextLine();\n }", "s[i]=sc.nextLine()", "s[i]", "s", "i", "sc.nextLine()", "sc.nextLine", "sc", "HashSet<String> h=new HashSet<>();", "h", "new HashSet<>()", "for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n if(!h.contains(s[i]))\n h.add(s[i]);\n }", "{\n if(!h.contains(s[i]))\n h.add(s[i]);\n }", "if(!h.contains(s[i]))\n h.add(s[i]);", "!h.contains(s[i])", "h.contains(s[i])", "h.contains", "h", "s[i]", "s", "i", "h.add(s[i])", "h.add", "h", "s[i]", "s", "i", "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 public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n=sc.nextInt();\n sc.nextLine();\n String s[]=new String[n];\n for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }\n HashSet<String> h=new HashSet<>();\n for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }\n System.out.println(h.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 sc.nextLine();\n String s[]=new String[n];\n for(int i=0;i<n;i++)\n {\n s[i]=sc.nextLine();\n }\n HashSet<String> h=new HashSet<>();\n for(int i=0;i<n;i++)\n {\n if(!h.contains(s[i]))\n h.add(s[i]);\n }\n System.out.println(h.size());\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(); sc.nextLine(); String s[]=new String[n]; for(int i=0;i<n;i++) { s[i]=sc.nextLine(); } HashSet<String> h=new HashSet<>(); for(int i=0;i<n;i++) { if(!h.contains(s[i])) h.add(s[i]); } System.out.println(h.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 20, 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, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 19, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 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 ], [ 8, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n int n = Integer.parseInt(data);\n Set<String> linkedHashSet = new LinkedHashSet<String>();\n \n for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }\n \n Object[] after = linkedHashSet.toArray();\n \n \n System.out.println(after.length);\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 String data = sc.nextLine();\n \n int n = Integer.parseInt(data);\n Set<String> linkedHashSet = new LinkedHashSet<String>();\n \n for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }\n \n Object[] after = linkedHashSet.toArray();\n \n \n System.out.println(after.length);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n int n = Integer.parseInt(data);\n Set<String> linkedHashSet = new LinkedHashSet<String>();\n \n for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }\n \n Object[] after = linkedHashSet.toArray();\n \n \n System.out.println(after.length);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n int n = Integer.parseInt(data);\n Set<String> linkedHashSet = new LinkedHashSet<String>();\n \n for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }\n \n Object[] after = linkedHashSet.toArray();\n \n \n System.out.println(after.length);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "String data = sc.nextLine();", "data", "sc.nextLine()", "sc.nextLine", "sc", "int n = Integer.parseInt(data);", "n", "Integer.parseInt(data)", "Integer.parseInt", "Integer", "data", "Set<String> linkedHashSet = new LinkedHashSet<String>();", "linkedHashSet", "new LinkedHashSet<String>()", "for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }", "{\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }", "String buf = sc.nextLine();", "buf", "sc.nextLine()", "sc.nextLine", "sc", "linkedHashSet.add(buf)", "linkedHashSet.add", "linkedHashSet", "buf", "Object[] after = linkedHashSet.toArray();", "after", "linkedHashSet.toArray()", "linkedHashSet.toArray", "linkedHashSet", "System.out.println(after.length)", "System.out.println", "System.out", "System", "System.out", "after.length", "after", "after.length", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n int n = Integer.parseInt(data);\n Set<String> linkedHashSet = new LinkedHashSet<String>();\n \n for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }\n \n Object[] after = linkedHashSet.toArray();\n \n \n System.out.println(after.length);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n String data = sc.nextLine();\n \n int n = Integer.parseInt(data);\n Set<String> linkedHashSet = new LinkedHashSet<String>();\n \n for(int i = 0; i < n; i++)\n {\n String buf = sc.nextLine();\n linkedHashSet.add(buf);\n }\n \n Object[] after = linkedHashSet.toArray();\n \n \n System.out.println(after.length);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); String data = sc.nextLine(); int n = Integer.parseInt(data); Set<String> linkedHashSet = new LinkedHashSet<String>(); for(int i = 0; i < n; i++) { String buf = sc.nextLine(); linkedHashSet.add(buf); } Object[] after = linkedHashSet.toArray(); System.out.println(after.length); } }
[ 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, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 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 ], [ 71, 8 ], [ 71, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 20, 23 ], [ 23, 24 ], [ 24, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 30, 38 ], [ 38, 39 ], [ 39, 40 ], [ 30, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 11, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 11, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 11, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 9, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Set<String> set = new HashSet<>();\n int n = Integer.parseInt(br.readLine());\n String[] str = new String[n];\n for(int i=0; i<n; ++i)\n str[i] = br.readLine();\n Arrays.sort(str);\n set.addAll(Arrays.asList(str));\n System.out.println(set.size());\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Set<String> set = new HashSet<>();\n int n = Integer.parseInt(br.readLine());\n String[] str = new String[n];\n for(int i=0; i<n; ++i)\n str[i] = br.readLine();\n Arrays.sort(str);\n set.addAll(Arrays.asList(str));\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) throws IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Set<String> set = new HashSet<>();\n int n = Integer.parseInt(br.readLine());\n String[] str = new String[n];\n for(int i=0; i<n; ++i)\n str[i] = br.readLine();\n Arrays.sort(str);\n set.addAll(Arrays.asList(str));\n System.out.println(set.size());\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Set<String> set = new HashSet<>();\n int n = Integer.parseInt(br.readLine());\n String[] str = new String[n];\n for(int i=0; i<n; ++i)\n str[i] = br.readLine();\n Arrays.sort(str);\n set.addAll(Arrays.asList(str));\n System.out.println(set.size());\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "String[] str = new String[n];", "str", "new String[n]", "n", "for(int i=0; i<n; ++i)\n str[i] = br.readLine();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "++i", "++i", "i", "str[i] = br.readLine();", "str[i] = br.readLine()", "str[i]", "str", "i", "br.readLine()", "br.readLine", "br", "Arrays.sort(str)", "Arrays.sort", "Arrays", "str", "set.addAll(Arrays.asList(str))", "set.addAll", "set", "Arrays.asList(str)", "Arrays.asList", "Arrays", "str", "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 IOException{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Set<String> set = new HashSet<>();\n int n = Integer.parseInt(br.readLine());\n String[] str = new String[n];\n for(int i=0; i<n; ++i)\n str[i] = br.readLine();\n Arrays.sort(str);\n set.addAll(Arrays.asList(str));\n System.out.println(set.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 Set<String> set = new HashSet<>();\n int n = Integer.parseInt(br.readLine());\n String[] str = new String[n];\n for(int i=0; i<n; ++i)\n str[i] = br.readLine();\n Arrays.sort(str);\n set.addAll(Arrays.asList(str));\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) throws IOException{ BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Set<String> set = new HashSet<>(); int n = Integer.parseInt(br.readLine()); String[] str = new String[n]; for(int i=0; i<n; ++i) str[i] = br.readLine(); Arrays.sort(str); set.addAll(Arrays.asList(str)); 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, 13, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 18, 13, 17, 40, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 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 ], [ 96, 5 ], [ 96, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 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 ], [ 8, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 8, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 53, 55 ], [ 8, 56 ], [ 56, 57 ], [ 8, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 71, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 70, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 6, 93 ], [ 93, 94 ], [ 0, 95 ], [ 95, 96 ], [ 95, 97 ] ]
[ "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 array[] = new String[n];\n int cnt = 0;\n int cnt2=0;\n\n for(int i =0; i<n;i++){\n array[i] = sc.next();\n }\n\n Arrays.sort(array);\n\n String a = array[0];\n cnt++;\n for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }\n System.out.println(cnt);\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 array[] = new String[n];\n int cnt = 0;\n int cnt2=0;\n\n for(int i =0; i<n;i++){\n array[i] = sc.next();\n }\n\n Arrays.sort(array);\n\n String a = array[0];\n cnt++;\n for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }\n System.out.println(cnt);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String array[] = new String[n];\n int cnt = 0;\n int cnt2=0;\n\n for(int i =0; i<n;i++){\n array[i] = sc.next();\n }\n\n Arrays.sort(array);\n\n String a = array[0];\n cnt++;\n for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }\n System.out.println(cnt);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String array[] = new String[n];\n int cnt = 0;\n int cnt2=0;\n\n for(int i =0; i<n;i++){\n array[i] = sc.next();\n }\n\n Arrays.sort(array);\n\n String a = array[0];\n cnt++;\n for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }\n System.out.println(cnt);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String array[] = new String[n];", "array", "new String[n]", "n", "int cnt = 0;", "cnt", "0", "int cnt2=0;", "cnt2", "0", "for(int i =0; i<n;i++){\n array[i] = sc.next();\n }", "int i =0;", "int i =0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n array[i] = sc.next();\n }", "{\n array[i] = sc.next();\n }", "array[i] = sc.next()", "array[i]", "array", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(array)", "Arrays.sort", "Arrays", "array", "String a = array[0];", "a", "array[0]", "array", "0", "cnt++", "cnt", "for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }", "{\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }", "if(a.equals(array[i])){\n\n }else{\n cnt++;\n }", "a.equals(array[i])", "a.equals", "a", "array[i]", "array", "i", "{\n\n }", "{\n cnt++;\n }", "cnt++", "cnt", "a = array[i]", "a", "array[i]", "array", "i", "System.out.println(cnt)", "System.out.println", "System.out", "System", "System.out", "cnt", "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 array[] = new String[n];\n int cnt = 0;\n int cnt2=0;\n\n for(int i =0; i<n;i++){\n array[i] = sc.next();\n }\n\n Arrays.sort(array);\n\n String a = array[0];\n cnt++;\n for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }\n System.out.println(cnt);\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 array[] = new String[n];\n int cnt = 0;\n int cnt2=0;\n\n for(int i =0; i<n;i++){\n array[i] = sc.next();\n }\n\n Arrays.sort(array);\n\n String a = array[0];\n cnt++;\n for(int i=0;i<n;i++){\n \n if(a.equals(array[i])){\n\n }else{\n cnt++;\n }\n a = array[i];\n }\n System.out.println(cnt);\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 array[] = new String[n]; int cnt = 0; int cnt2=0; for(int i =0; i<n;i++){ array[i] = sc.next(); } Arrays.sort(array); String a = array[0]; cnt++; for(int i=0;i<n;i++){ if(a.equals(array[i])){ }else{ cnt++; } a = array[i]; } System.out.println(cnt); } }
[ 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, 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, 40, 13, 4, 18, 13, 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 ], [ 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 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 14, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 12, 75 ], [ 75, 76 ], [ 0, 77 ], [ 77, 78 ], [ 77, 79 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tint N = Integer.parseInt(s); \n\t\tHashSet<String> set = new HashSet<String>();\n\t\tint res = 0;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\tbw.close();\n\t}\n\t \n\t\n}\t\n", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tint N = Integer.parseInt(s); \n\t\tHashSet<String> set = new HashSet<String>();\n\t\tint res = 0;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\tbw.close();\n\t}\n\t \n\t\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tint N = Integer.parseInt(s); \n\t\tHashSet<String> set = new HashSet<String>();\n\t\tint res = 0;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\tbw.close();\n\t}", "main", "{\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tint N = Integer.parseInt(s); \n\t\tHashSet<String> set = new HashSet<String>();\n\t\tint res = 0;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\tbw.close();\n\t}", "BufferedReader bw = new BufferedReader(new InputStreamReader(System.in));", "bw", "new BufferedReader(new InputStreamReader(System.in))", "String s = bw.readLine();", "s", "bw.readLine()", "bw.readLine", "bw", "int N = Integer.parseInt(s);", "N", "Integer.parseInt(s)", "Integer.parseInt", "Integer", "s", "HashSet<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "int res = 0;", "res", "0", "for(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\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\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}", "{\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}", "s = bw.readLine()", "s", "bw.readLine()", "bw.readLine", "bw", "if( !set.contains(s)) {\n\t\t\t\tres++;\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\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}", "res++", "res", "set.add(s)", "set.add", "set", "s", "System.out.println(res)", "System.out.println", "System.out", "System", "System.out", "res", "bw.close()", "bw.close", "bw", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tint N = Integer.parseInt(s); \n\t\tHashSet<String> set = new HashSet<String>();\n\t\tint res = 0;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\tbw.close();\n\t}\n\t \n\t\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tBufferedReader bw = new BufferedReader(new InputStreamReader(System.in));\n\t\tString s = bw.readLine();\n\t\tint N = Integer.parseInt(s); \n\t\tHashSet<String> set = new HashSet<String>();\n\t\tint res = 0;\n\t\tfor(int i=0;i<N;i++) {\n\t\t\ts = bw.readLine();\n\t\t\tif( !set.contains(s)) {\n\t\t\t\tres++;\n\t\t\t\tset.add(s);\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(res);\n\t\tbw.close();\n\t}\n\t \n\t\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; public class Main { public static void main(String[] args) throws Exception { BufferedReader bw = new BufferedReader(new InputStreamReader(System.in)); String s = bw.readLine(); int N = Integer.parseInt(s); HashSet<String> set = new HashSet<String>(); int res = 0; for(int i=0;i<N;i++) { s = bw.readLine(); if( !set.contains(s)) { res++; set.add(s); } } System.out.println(res); bw.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 17, 42, 2, 40, 13, 17, 4, 13, 23, 13, 12, 13, 30, 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, 12, 13, 30, 29, 8, 2, 13, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 13, 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, 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 ], [ 213, 17 ], [ 213, 18 ], [ 18, 19 ], [ 18, 20 ], [ 213, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 27, 32 ], [ 32, 33 ], [ 21, 34 ], [ 34, 35 ], [ 213, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 59, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 38, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 213, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 81, 85 ], [ 81, 86 ], [ 77, 87 ], [ 87, 88 ], [ 77, 89 ], [ 89, 90 ], [ 213, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 95, 99 ], [ 95, 100 ], [ 91, 101 ], [ 101, 102 ], [ 91, 103 ], [ 103, 104 ], [ 213, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 109, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 114, 117 ], [ 117, 118 ], [ 117, 119 ], [ 105, 120 ], [ 120, 121 ], [ 105, 122 ], [ 122, 123 ], [ 213, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 124, 128 ], [ 128, 129 ], [ 124, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 124, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 139, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 149, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 138, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 124, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 171, 172 ], [ 124, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 177, 180 ], [ 180, 181 ], [ 124, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 186, 189 ], [ 189, 190 ], [ 124, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 193, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 197, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 193, 210 ], [ 210, 211 ], [ 0, 212 ], [ 212, 213 ], [ 212, 214 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.StringTokenizer;\n\n/**\n *\n * @author Milo\n */\npublic class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\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 static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n \n int n = in.nextInt();\n HashSet<String> g = new HashSet();\n \n for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }\n System.out.println(g.size());\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\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.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\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 static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n \n int n = in.nextInt();\n HashSet<String> g = new HashSet();\n \n for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }\n System.out.println(g.size());\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }\n}", "Main", "static FastReader in = new FastReader();", "in", "new FastReader()", "public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }", "main", "{\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }", "int t = 1;", "t", "1", "while (t-- > 0)\n solve();", "t-- > 0", "t--", "t", "0", "solve()", "solve", "String[] args", "args", "public static void solve() {\n \n int n = in.nextInt();\n HashSet<String> g = new HashSet();\n \n for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }\n System.out.println(g.size());\n }", "solve", "{\n \n int n = in.nextInt();\n HashSet<String> g = new HashSet();\n \n for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }\n System.out.println(g.size());\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "HashSet<String> g = new HashSet();", "g", "new HashSet()", "for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n String t = in.nextLine();\n g.add(t);\n }", "{\n String t = in.nextLine();\n g.add(t);\n }", "String t = in.nextLine();", "t", "in.nextLine()", "in.nextLine", "in", "g.add(t)", "g.add", "g", "t", "System.out.println(g.size())", "System.out.println", "System.out", "System", "System.out", "g.size()", "g.size", "g", "public static int max(int a, int b) {\n return a > b ? a : b;\n }", "max", "{\n return a > b ? a : b;\n }", "return a > b ? a : b;", "a > b ? a : b", "a > b", "a", "b", "a", "b", "int a", "a", "int b", "b", "public static int min(int a, int b) {\n return a < b ? a : b;\n }", "min", "{\n return a < b ? a : b;\n }", "return a < b ? a : b;", "a < b ? a : b", "a < b", "a", "b", "a", "b", "int a", "a", "int b", "b", "public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }", "gcd", "{\n return b == 0 ? a : gcd(b, (a % b));\n }", "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", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\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 class FastReader {\n BufferedReader br;\n StringTokenizer st;\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 static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n \n int n = in.nextInt();\n HashSet<String> g = new HashSet();\n \n for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }\n System.out.println(g.size());\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }\n}", "public class Main {\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\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 static FastReader in = new FastReader();\n public static void main(String[] args) {\n int t = 1; //in.nextInt();\n while (t-- > 0)\n solve();\n }\n \n public static void solve() {\n \n int n = in.nextInt();\n HashSet<String> g = new HashSet();\n \n for(int i = 0; i < n; ++i){\n String t = in.nextLine();\n g.add(t);\n }\n System.out.println(g.size());\n }\n \n public static int max(int a, int b) {\n return a > b ? a : b;\n }\n \n public static int min(int a, int b) {\n return a < b ? a : b;\n }\n \n public static int gcd(int a, int b) {\n return b == 0 ? a : gcd(b, (a % b));\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; import java.util.StringTokenizer; /** * * @author Milo */ public class Main { 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; } } static FastReader in = new FastReader(); public static void main(String[] args) { int t = 1; //in.nextInt(); while (t-- > 0) solve(); } public static void solve() { int n = in.nextInt(); HashSet<String> g = new HashSet(); for(int i = 0; i < n; ++i){ String t = in.nextLine(); g.add(t); } System.out.println(g.size()); } public static int max(int a, int b) { return a > b ? a : b; } public static int min(int a, int b) { return a < b ? a : b; } public static int gcd(int a, int b) { return b == 0 ? a : gcd(b, (a % b)); } }
[ 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, 4, 18, 4, 18, 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 ], [ 71, 14 ], [ 71, 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 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 50, 57 ], [ 57, 58 ], [ 58, 59 ], [ 17, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 15, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.stream.Collectors;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力表示\n\t\t\tint N = sc.nextInt();\n\t\t\t\n\t\t\tList<String> list = new ArrayList<String>();\n\t\t\t\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}\n\t\t\t\n\t\t\tList<String> ans = list.stream().distinct().collect(Collectors.toList());\n\n\t\t\tSystem.out.println(ans.size());\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力表示\n\t\t\tint N = sc.nextInt();\n\t\t\t\n\t\t\tList<String> list = new ArrayList<String>();\n\t\t\t\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}\n\t\t\t\n\t\t\tList<String> ans = list.stream().distinct().collect(Collectors.toList());\n\n\t\t\tSystem.out.println(ans.size());\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力表示\n\t\t\tint N = sc.nextInt();\n\t\t\t\n\t\t\tList<String> list = new ArrayList<String>();\n\t\t\t\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}\n\t\t\t\n\t\t\tList<String> ans = list.stream().distinct().collect(Collectors.toList());\n\n\t\t\tSystem.out.println(ans.size());\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力表示\n\t\t\tint N = sc.nextInt();\n\t\t\t\n\t\t\tList<String> list = new ArrayList<String>();\n\t\t\t\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}\n\t\t\t\n\t\t\tList<String> ans = list.stream().distinct().collect(Collectors.toList());\n\n\t\t\tSystem.out.println(ans.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> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "for(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tlist.add(sc.next());\n\t\t\t}", "{\n\t\t\tlist.add(sc.next());\n\t\t\t}", "list.add(sc.next())", "list.add", "list", "sc.next()", "sc.next", "sc", "List<String> ans = list.stream().distinct().collect(Collectors.toList());", "ans", "list.stream().distinct().collect(Collectors.toList())", "list.stream().distinct().collect", "list.stream().distinct()", "list.stream().distinct", "list.stream()", "list.stream", "list", "Collectors.toList()", "Collectors.toList", "Collectors", "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\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力表示\n\t\t\tint N = sc.nextInt();\n\t\t\t\n\t\t\tList<String> list = new ArrayList<String>();\n\t\t\t\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}\n\t\t\t\n\t\t\tList<String> ans = list.stream().distinct().collect(Collectors.toList());\n\n\t\t\tSystem.out.println(ans.size());\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t//入力表示\n\t\t\tint N = sc.nextInt();\n\t\t\t\n\t\t\tList<String> list = new ArrayList<String>();\n\t\t\t\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\tlist.add(sc.next());\n\t\t\t}\n\t\t\t\n\t\t\tList<String> ans = list.stream().distinct().collect(Collectors.toList());\n\n\t\t\tSystem.out.println(ans.size());\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; 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<String> list = new ArrayList<String>(); for(int i=0;i<N;i++) { list.add(sc.next()); } List<String> ans = list.stream().distinct().collect(Collectors.toList()); System.out.println(ans.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, 14, 4, 18, 13, 18, 13, 13, 4, 18, 13, 18, 13, 13, 2, 4, 18, 13, 18, 13, 13, 17, 4, 18, 13, 18, 13, 13, 17, 41, 13, 17, 28, 13, 4, 18, 13, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 95, 5 ], [ 95, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 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 ], [ 49, 50 ], [ 48, 51 ], [ 51, 52 ], [ 51, 53 ], [ 47, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 57, 58 ], [ 57, 59 ], [ 54, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 64, 65 ], [ 64, 66 ], [ 60, 67 ], [ 47, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 68, 74 ], [ 8, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 6, 92 ], [ 92, 93 ], [ 0, 94 ], [ 94, 95 ], [ 94, 96 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n \tScanner scn = new Scanner(System.in);\n\t int n = scn.nextInt();\n\t scn.nextLine();\n\t String []arr = new String[n];\n\t Map<String,Integer> map = new HashMap<String,Integer>();\n\t for(int i=0;i<n;i++){\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }\n\t int count = 0;\n\t for(String s:map.keySet())\n\t \tcount++;\n\t System.out.println(count);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n \tScanner scn = new Scanner(System.in);\n\t int n = scn.nextInt();\n\t scn.nextLine();\n\t String []arr = new String[n];\n\t Map<String,Integer> map = new HashMap<String,Integer>();\n\t for(int i=0;i<n;i++){\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }\n\t int count = 0;\n\t for(String s:map.keySet())\n\t \tcount++;\n\t System.out.println(count);\n }\n}", "Main", "public static void main(String[] args){\n \tScanner scn = new Scanner(System.in);\n\t int n = scn.nextInt();\n\t scn.nextLine();\n\t String []arr = new String[n];\n\t Map<String,Integer> map = new HashMap<String,Integer>();\n\t for(int i=0;i<n;i++){\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }\n\t int count = 0;\n\t for(String s:map.keySet())\n\t \tcount++;\n\t System.out.println(count);\n }", "main", "{\n \tScanner scn = new Scanner(System.in);\n\t int n = scn.nextInt();\n\t scn.nextLine();\n\t String []arr = new String[n];\n\t Map<String,Integer> map = new HashMap<String,Integer>();\n\t for(int i=0;i<n;i++){\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }\n\t int count = 0;\n\t for(String s:map.keySet())\n\t \tcount++;\n\t System.out.println(count);\n }", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "scn.nextLine()", "scn.nextLine", "scn", "String []arr = new String[n];", "arr", "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 arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }", "{\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }", "arr[i] = scn.nextLine()", "arr[i]", "arr", "i", "scn.nextLine()", "scn.nextLine", "scn", "if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);", "map.containsKey(arr[i])", "map.containsKey", "map", "arr[i]", "arr", "i", "map.put(arr[i], map.get(arr[i])+1)", "map.put", "map", "arr[i]", "arr", "i", "map.get(arr[i])+1", "map.get(arr[i])", "map.get", "map", "arr[i]", "arr", "i", "1", "map.put(arr[i],1)", "map.put", "map", "arr[i]", "arr", "i", "1", "int count = 0;", "count", "0", "for(String s:map.keySet())\n\t \tcount++;", "String s", "map.keySet()", "map.keySet", "map", "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 \tScanner scn = new Scanner(System.in);\n\t int n = scn.nextInt();\n\t scn.nextLine();\n\t String []arr = new String[n];\n\t Map<String,Integer> map = new HashMap<String,Integer>();\n\t for(int i=0;i<n;i++){\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }\n\t int count = 0;\n\t for(String s:map.keySet())\n\t \tcount++;\n\t System.out.println(count);\n }\n}", "public class Main{\n public static void main(String[] args){\n \tScanner scn = new Scanner(System.in);\n\t int n = scn.nextInt();\n\t scn.nextLine();\n\t String []arr = new String[n];\n\t Map<String,Integer> map = new HashMap<String,Integer>();\n\t for(int i=0;i<n;i++){\n\t arr[i] = scn.nextLine();\n\t if(map.containsKey(arr[i]))\n\t \t map.put(arr[i], map.get(arr[i])+1);\n\t else\n\t \t map.put(arr[i],1);\n\t }\n\t int count = 0;\n\t for(String s:map.keySet())\n\t \tcount++;\n\t System.out.println(count);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scn = new Scanner(System.in); int n = scn.nextInt(); scn.nextLine(); String []arr = new String[n]; Map<String,Integer> map = new HashMap<String,Integer>(); for(int i=0;i<n;i++){ arr[i] = scn.nextLine(); if(map.containsKey(arr[i])) map.put(arr[i], map.get(arr[i])+1); else map.put(arr[i],1); } int count = 0; for(String s:map.keySet()) count++; System.out.println(count); } }
[ 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, 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, 4, 18, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 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 ], [ 20, 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 ], [ 47, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 11, 57 ], [ 57, 58 ], [ 58, 59 ], [ 11, 60 ], [ 60, 61 ], [ 61, 62 ], [ 9, 63 ], [ 63, 64 ], [ 0, 65 ], [ 65, 66 ], [ 65, 67 ] ]
[ "import java.util.*;\nimport java.io.*;\npublic class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n int n=Integer.parseInt(br.readLine());\n TreeSet<String> set=new TreeSet<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }\n pw.println(set.size());\n pw.flush();\n pw.close();\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 {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n int n=Integer.parseInt(br.readLine());\n TreeSet<String> set=new TreeSet<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }\n pw.println(set.size());\n pw.flush();\n pw.close();\n }\n}", "Main", "public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n int n=Integer.parseInt(br.readLine());\n TreeSet<String> set=new TreeSet<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }\n pw.println(set.size());\n pw.flush();\n pw.close();\n }", "main", "{\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n int n=Integer.parseInt(br.readLine());\n TreeSet<String> set=new TreeSet<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }\n pw.println(set.size());\n pw.flush();\n pw.close();\n }", "BufferedReader br=new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "PrintWriter pw=new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "int n=Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "TreeSet<String> set=new TreeSet<>();", "set", "new TreeSet<>()", "for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String s=br.readLine();\n set.add(s);\n }", "{\n String s=br.readLine();\n set.add(s);\n }", "String s=br.readLine();", "s", "br.readLine()", "br.readLine", "br", "set.add(s)", "set.add", "set", "s", "pw.println(set.size())", "pw.println", "pw", "set.size()", "set.size", "set", "pw.flush()", "pw.flush", "pw", "pw.close()", "pw.close", "pw", "String args[]", "args", "public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n int n=Integer.parseInt(br.readLine());\n TreeSet<String> set=new TreeSet<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }\n pw.println(set.size());\n pw.flush();\n pw.close();\n }\n}", "public class Main\n{\n public static void main(String args[])throws Exception\n {\n BufferedReader br=new BufferedReader(new InputStreamReader(System.in));\n PrintWriter pw=new PrintWriter(System.out);\n int n=Integer.parseInt(br.readLine());\n TreeSet<String> set=new TreeSet<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n set.add(s);\n }\n pw.println(set.size());\n pw.flush();\n pw.close();\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)); PrintWriter pw=new PrintWriter(System.out); int n=Integer.parseInt(br.readLine()); TreeSet<String> set=new TreeSet<>(); for(int i=0;i<n;i++) { String s=br.readLine(); set.add(s); } pw.println(set.size()); pw.flush(); pw.close(); } }
[ 7, 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, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 17, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 64, 5 ], [ 64, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 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 ], [ 47, 53 ], [ 53, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 6, 61 ], [ 61, 62 ], [ 0, 63 ], [ 63, 64 ], [ 63, 65 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args){\n // 入力\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int kind = 0;\n Map<String, Integer> priseMap = new HashMap<>();\n\n // ガチャ\n for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }\n\n // 出力\n System.out.println(kind);\n }\n \n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n // 入力\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int kind = 0;\n Map<String, Integer> priseMap = new HashMap<>();\n\n // ガチャ\n for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }\n\n // 出力\n System.out.println(kind);\n }\n \n}", "Main", "public static void main(String[] args){\n // 入力\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int kind = 0;\n Map<String, Integer> priseMap = new HashMap<>();\n\n // ガチャ\n for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }\n\n // 出力\n System.out.println(kind);\n }", "main", "{\n // 入力\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int kind = 0;\n Map<String, Integer> priseMap = new HashMap<>();\n\n // ガチャ\n for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }\n\n // 出力\n System.out.println(kind);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int kind = 0;", "kind", "0", "Map<String, Integer> priseMap = new HashMap<>();", "priseMap", "new HashMap<>()", "for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }", "{\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }", "String prise = sc.next();", "prise", "sc.next()", "sc.next", "sc", "if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }", "!priseMap.containsKey(prise)", "priseMap.containsKey(prise)", "priseMap.containsKey", "priseMap", "prise", "{\n priseMap.put(prise, 0);\n kind++;\n }", "priseMap.put(prise, 0)", "priseMap.put", "priseMap", "prise", "0", "kind++", "kind", "System.out.println(kind)", "System.out.println", "System.out", "System", "System.out", "kind", "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 int kind = 0;\n Map<String, Integer> priseMap = new HashMap<>();\n\n // ガチャ\n for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }\n\n // 出力\n System.out.println(kind);\n }\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 int kind = 0;\n Map<String, Integer> priseMap = new HashMap<>();\n\n // ガチャ\n for(int i = 0; i < N; i++){\n String prise = sc.next();\n if(!priseMap.containsKey(prise)){\n priseMap.put(prise, 0);\n kind++;\n }\n }\n\n // 出力\n System.out.println(kind);\n }\n \n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ // 入力 Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int kind = 0; Map<String, Integer> priseMap = new HashMap<>(); // ガチャ for(int i = 0; i < N; i++){ String prise = sc.next(); if(!priseMap.containsKey(prise)){ priseMap.put(prise, 0); kind++; } } // 出力 System.out.println(kind); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 17, 42, 2, 40, 13, 17, 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, 13, 4, 18, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 13, 18, 13, 13, 23, 13, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 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, 13, 29, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 41, 13, 18, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 4, 18, 13, 2, 13, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 41, 13, 18, 13, 13, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 4, 18, 13, 2, 13, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 12, 13, 30, 29, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 543, 8 ], [ 543, 9 ], [ 9, 10 ], [ 9, 11 ], [ 543, 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 ], [ 14, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 27, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 32, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 32, 41 ], [ 41, 42 ], [ 41, 43 ], [ 32, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 60, 61 ], [ 61, 62 ], [ 32, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 67, 68 ], [ 14, 69 ], [ 69, 70 ], [ 70, 71 ], [ 14, 72 ], [ 72, 73 ], [ 73, 74 ], [ 12, 75 ], [ 75, 76 ], [ 543, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 77, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 85, 89 ], [ 89, 90 ], [ 89, 91 ], [ 83, 92 ], [ 92, 93 ], [ 83, 94 ], [ 94, 95 ], [ 77, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 102, 104 ], [ 96, 105 ], [ 105, 106 ], [ 77, 107 ], [ 543, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 108, 112 ], [ 112, 113 ], [ 112, 114 ], [ 108, 116 ], [ 116, 117 ], [ 108, 118 ], [ 118, 119 ], [ 108, 120 ], [ 120, 121 ], [ 120, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 120, 128 ], [ 128, 129 ], [ 108, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 133, 138 ], [ 138, 139 ], [ 132, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 148, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 157, 160 ], [ 144, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 166, 167 ], [ 132, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 108, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 175, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 175, 189 ], [ 189, 190 ], [ 189, 191 ], [ 175, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 196, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 175, 205 ], [ 205, 206 ], [ 205, 207 ], [ 175, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 208, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 219, 221 ], [ 213, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 175, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 108, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 232, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 244, 245 ], [ 232, 246 ], [ 246, 247 ], [ 246, 248 ], [ 232, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 253, 258 ], [ 258, 259 ], [ 258, 260 ], [ 260, 261 ], [ 232, 262 ], [ 262, 263 ], [ 262, 264 ], [ 232, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 265, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 270, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 276, 278 ], [ 270, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 232, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 108, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 289, 294 ], [ 294, 295 ], [ 295, 296 ], [ 296, 297 ], [ 296, 298 ], [ 294, 299 ], [ 299, 300 ], [ 299, 301 ], [ 294, 302 ], [ 302, 303 ], [ 303, 304 ], [ 294, 305 ], [ 306, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 307, 311 ], [ 311, 312 ], [ 289, 313 ], [ 313, 314 ], [ 287, 315 ], [ 315, 316 ], [ 108, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 321, 325 ], [ 325, 326 ], [ 325, 327 ], [ 327, 328 ], [ 327, 329 ], [ 320, 330 ], [ 330, 331 ], [ 330, 332 ], [ 320, 333 ], [ 333, 334 ], [ 334, 335 ], [ 320, 336 ], [ 337, 337 ], [ 337, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 341, 344 ], [ 344, 345 ], [ 344, 346 ], [ 340, 347 ], [ 337, 348 ], [ 348, 349 ], [ 348, 350 ], [ 350, 351 ], [ 350, 352 ], [ 337, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 353, 357 ], [ 357, 358 ], [ 357, 359 ], [ 337, 360 ], [ 360, 361 ], [ 361, 362 ], [ 361, 363 ], [ 360, 364 ], [ 319, 365 ], [ 365, 366 ], [ 317, 367 ], [ 367, 368 ], [ 317, 369 ], [ 369, 370 ], [ 108, 371 ], [ 371, 372 ], [ 371, 373 ], [ 373, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 376, 378 ], [ 375, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 381, 383 ], [ 374, 384 ], [ 384, 385 ], [ 384, 386 ], [ 374, 387 ], [ 387, 388 ], [ 388, 389 ], [ 374, 390 ], [ 391, 391 ], [ 391, 392 ], [ 392, 393 ], [ 392, 394 ], [ 394, 395 ], [ 395, 396 ], [ 396, 397 ], [ 395, 398 ], [ 398, 399 ], [ 398, 400 ], [ 394, 401 ], [ 391, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 404, 406 ], [ 391, 407 ], [ 407, 408 ], [ 408, 409 ], [ 408, 410 ], [ 407, 411 ], [ 411, 412 ], [ 411, 413 ], [ 391, 414 ], [ 414, 415 ], [ 415, 416 ], [ 415, 417 ], [ 414, 418 ], [ 373, 419 ], [ 419, 420 ], [ 371, 421 ], [ 421, 422 ], [ 371, 423 ], [ 423, 424 ], [ 108, 425 ], [ 425, 426 ], [ 425, 427 ], [ 427, 428 ], [ 428, 429 ], [ 428, 430 ], [ 430, 431 ], [ 427, 432 ], [ 432, 433 ], [ 433, 434 ], [ 433, 435 ], [ 432, 436 ], [ 436, 437 ], [ 437, 438 ], [ 437, 439 ], [ 439, 440 ], [ 427, 441 ], [ 441, 442 ], [ 441, 443 ], [ 427, 444 ], [ 444, 445 ], [ 445, 446 ], [ 446, 447 ], [ 446, 448 ], [ 444, 449 ], [ 449, 450 ], [ 450, 451 ], [ 451, 452 ], [ 450, 453 ], [ 449, 454 ], [ 454, 455 ], [ 454, 456 ], [ 456, 457 ], [ 427, 458 ], [ 458, 459 ], [ 459, 460 ], [ 460, 461 ], [ 108, 462 ], [ 462, 463 ], [ 462, 464 ], [ 464, 465 ], [ 465, 466 ], [ 465, 467 ], [ 467, 468 ], [ 464, 469 ], [ 469, 470 ], [ 470, 471 ], [ 470, 472 ], [ 469, 473 ], [ 473, 474 ], [ 473, 475 ], [ 475, 476 ], [ 464, 477 ], [ 477, 478 ], [ 477, 479 ], [ 464, 480 ], [ 480, 481 ], [ 481, 482 ], [ 482, 483 ], [ 482, 484 ], [ 480, 485 ], [ 485, 486 ], [ 486, 487 ], [ 487, 488 ], [ 486, 489 ], [ 485, 490 ], [ 490, 491 ], [ 490, 492 ], [ 492, 493 ], [ 464, 494 ], [ 494, 495 ], [ 495, 496 ], [ 496, 497 ], [ 108, 498 ], [ 498, 499 ], [ 498, 500 ], [ 500, 501 ], [ 501, 502 ], [ 505, 503 ], [ 515, 504 ], [ 512, 505 ], [ 505, 506 ], [ 506, 507 ], [ 506, 508 ], [ 505, 509 ], [ 509, 510 ], [ 509, 511 ], [ 512, 512 ], [ 512, 513 ], [ 512, 514 ], [ 515, 515 ], [ 515, 516 ], [ 515, 517 ], [ 505, 518 ], [ 518, 519 ], [ 518, 520 ], [ 520, 521 ], [ 498, 522 ], [ 522, 523 ], [ 108, 524 ], [ 524, 525 ], [ 524, 526 ], [ 526, 527 ], [ 527, 528 ], [ 529, 529 ], [ 529, 530 ], [ 530, 531 ], [ 530, 532 ], [ 529, 533 ], [ 533, 534 ], [ 533, 535 ], [ 529, 536 ], [ 536, 537 ], [ 536, 538 ], [ 538, 539 ], [ 524, 540 ], [ 540, 541 ], [ 0, 542 ], [ 542, 543 ], [ 542, 544 ] ]
[ "import java.io.*;\nimport java.util.*;\npublic class Main {\n\n final static long mod = 1000000007;\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }\n pw.flush();\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class Data implements Comparable<Data>{\n int x;\n String y;\n\n public Data (int m, String n) {\n x = m;\n y = n;\n }\n @Override\n public int compareTo(Data o) {\n return x - o.x;\n }\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n public static char[] shuffle(char[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n final static long mod = 1000000007;\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }\n pw.flush();\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class Data implements Comparable<Data>{\n int x;\n String y;\n\n public Data (int m, String n) {\n x = m;\n y = n;\n }\n @Override\n public int compareTo(Data o) {\n return x - o.x;\n }\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n public static char[] shuffle(char[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}", "Main", "final static long mod = 1000000007;", "mod", "1000000007", "public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }\n pw.flush();\n pw.close();\n\n }", "main", "{\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }\n pw.flush();\n pw.close();\n\n }", "InputReader sc = new InputReader(System.in);", "sc", "new InputReader(System.in)", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "Random gen = new Random();", "gen", "new Random()", "int test = 1;", "test", "1", "while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }", "test-->0", "test--", "test", "0", "{\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }", "StringBuffer sb = new StringBuffer();", "sb", "new StringBuffer()", "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 {\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", "pw.println(set.size())", "pw.println", "pw", "set.size()", "set.size", "set", "pw.flush()", "pw.flush", "pw", "pw.close()", "pw.close", "pw", "String[] args", "args", "static class Data implements Comparable<Data>{\n int x;\n String y;\n\n public Data (int m, String n) {\n x = m;\n y = n;\n }\n @Override\n public int compareTo(Data o) {\n return x - o.x;\n }\n }", "Data", "int x;", "x", "String y;", "y", "public Data (int m, String n) {\n x = m;\n y = n;\n }", "Data", "{\n x = m;\n y = n;\n }", "x = m", "x", "m", "y = n", "y", "n", "int m", "m", "String n", "n", "@Override\n public int compareTo(Data o) {\n return x - o.x;\n }", "compareTo", "{\n return x - o.x;\n }", "return x - o.x;", "x - o.x", "x", "o.x", "o", "o.x", "Data o", "o", "Comparable", "static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n public static char[] shuffle(char[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }", "InputReader", "private final InputStream stream;", "stream", "private final byte[] buf = new byte[8192];", "buf", "new byte[8192]", "8192", "private int curChar", "curChar", "snumChars;", "snumChars", "public InputReader(InputStream st) {\n this.stream = st;\n }", "InputReader", "{\n this.stream = st;\n }", "this.stream = st", "this.stream", "this", "this.stream", "st", "InputStream st", "st", "public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "read", "{\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }", "if (snumChars == -1)\n throw new InputMismatchException();", "snumChars == -1", "snumChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar >= snumChars", "curChar", "snumChars", "{\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }", "curChar = 0", "curChar", "0", "try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n snumChars = stream.read(buf);\n }", "snumChars = stream.read(buf)", "snumChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (snumChars <= 0)\n return -1;", "snumChars <= 0", "snumChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "int res = 0;", "res", "0", "do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res *= 10;\n res += c - '0';\n c = read();\n }", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextLong", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "long res = 0;", "res", "0", "do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res *= 10;\n res += c - '0';\n c = read();\n }", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public int[] nextIntArray(int n) {\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\n return a;\n }", "nextIntArray", "{\n int [] a = new int[n];\n for (int i = 0; i < n; i++) {\n a[i] = nextInt();\n }\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();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n a[i] = nextInt();\n }", "{\n a[i] = nextInt();\n }", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }", "shuffle", "{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }", "for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }", "int i = 0, n = a.length;", "int i = 0", "i", "0", "n = a.length;", "n", "a.length", "a", "a.length", "i < n", "i", "n", "i++", "i++", "i", "{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }", "{ int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }", "int ind = gen.nextInt(n-i)+i;", "ind", "gen.nextInt(n-i)+i", "gen.nextInt(n-i)", "gen.nextInt", "gen", "n-i", "n", "i", "i", "int d = a[i];", "d", "a[i]", "a", "i", "a[i] = a[ind]", "a[i]", "a", "i", "a[ind]", "a", "ind", "a[ind] = d", "a[ind]", "a", "ind", "d", "return a;", "a", "int[] a", "a", "Random gen", "gen", "public static char[] shuffle(char[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }", "shuffle", "{ for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }", "for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }", "int i = 0, n = a.length;", "int i = 0", "i", "0", "n = a.length;", "n", "a.length", "a", "a.length", "i < n", "i", "n", "i++", "i++", "i", "{ int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }", "{ int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }", "int ind = gen.nextInt(n-i)+i;", "ind", "gen.nextInt(n-i)+i", "gen.nextInt(n-i)", "gen.nextInt", "gen", "n-i", "n", "i", "i", "char d = a[i];", "d", "a[i]", "a", "i", "a[i] = a[ind]", "a[i]", "a", "i", "a[ind]", "a", "ind", "a[ind] = d", "a[ind]", "a", "ind", "d", "return a;", "a", "char[] a", "a", "Random gen", "gen", "public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "readString", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "nextLine", "{\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n c = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));", "!isEndOfLine(c)", "isEndOfLine(c)", "isEndOfLine", "c", "{\n res.appendCodePoint(c);\n c = read();\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isSpaceChar", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndOfLine", "{\n return c == '\\n' || c == '\\r' || c == -1;\n }", "return c == '\\n' || c == '\\r' || c == -1;", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n' || c == '\\r' || c == -1", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == -1", "c", "-1", "1", "int c", "c", "public class Main {\n\n final static long mod = 1000000007;\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }\n pw.flush();\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class Data implements Comparable<Data>{\n int x;\n String y;\n\n public Data (int m, String n) {\n x = m;\n y = n;\n }\n @Override\n public int compareTo(Data o) {\n return x - o.x;\n }\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n public static char[] shuffle(char[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}", "public class Main {\n\n final static long mod = 1000000007;\n public static void main(String[] args) {\n InputReader sc = new InputReader(System.in);\n PrintWriter pw = new PrintWriter(System.out);\n Random gen = new Random();\n int test = 1;//sc.nextInt();\n while(test-->0) {\n StringBuffer sb = new StringBuffer();\n\n int n = sc.nextInt();\n HashSet<String> set = new HashSet<>();\n for(int i=0;i<n;i++)\n {\n set.add(sc.nextLine());\n }\n pw.println(set.size());\n\n }\n pw.flush();\n pw.close();\n\n }\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n static class Data implements Comparable<Data>{\n int x;\n String y;\n\n public Data (int m, String n) {\n x = m;\n y = n;\n }\n @Override\n public int compareTo(Data o) {\n return x - o.x;\n }\n }\n\n static class InputReader {\n\n private final InputStream stream;\n private final byte[] buf = new byte[8192];\n private int curChar, snumChars;\n\n public InputReader(InputStream st) {\n this.stream = st;\n }\n\n public int read() {\n if (snumChars == -1)\n throw new InputMismatchException();\n if (curChar >= snumChars) {\n curChar = 0;\n try {\n snumChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (snumChars <= 0)\n return -1;\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public long nextLong() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n long res = 0;\n do {\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\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 }\n return a;\n }\n\n public static int[] shuffle(int[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n int d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n public static char[] shuffle(char[] a, Random gen)\n { for(int i = 0, n = a.length;i < n;i++)\n { int ind = gen.nextInt(n-i)+i;\n char d = a[i];\n a[i] = a[ind];\n a[ind] = d;\n\n }\n return a;\n }\n\n\n public String readString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public String nextLine() {\n int c = read();\n while (isSpaceChar(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndOfLine(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n private boolean isEndOfLine(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n }\n\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { final static long mod = 1000000007; public static void main(String[] args) { InputReader sc = new InputReader(System.in); PrintWriter pw = new PrintWriter(System.out); Random gen = new Random(); int test = 1;//sc.nextInt(); while(test-->0) { StringBuffer sb = new StringBuffer(); int n = sc.nextInt(); HashSet<String> set = new HashSet<>(); for(int i=0;i<n;i++) { set.add(sc.nextLine()); } pw.println(set.size()); } pw.flush(); pw.close(); } static class Data implements Comparable<Data>{ int x; String y; public Data (int m, String n) { x = m; y = n; } @Override public int compareTo(Data o) { return x - o.x; } } static class InputReader { private final InputStream stream; private final byte[] buf = new byte[8192]; private int curChar, snumChars; public InputReader(InputStream st) { this.stream = st; } public int read() { if (snumChars == -1) throw new InputMismatchException(); if (curChar >= snumChars) { curChar = 0; try { snumChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (snumChars <= 0) return -1; } return buf[curChar++]; } public int nextInt() { int c = read(); while (isSpaceChar(c)) { c = read(); } int sgn = 1; if (c == '-') { sgn = -1; c = read(); } int res = 0; do { res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public long nextLong() { int c = read(); while (isSpaceChar(c)) { c = read(); } int sgn = 1; if (c == '-') { sgn = -1; c = read(); } long res = 0; do { res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public int[] nextIntArray(int n) { int [] a = new int[n]; for (int i = 0; i < n; i++) { a[i] = nextInt(); } return a; } public static int[] shuffle(int[] a, Random gen) { for(int i = 0, n = a.length;i < n;i++) { int ind = gen.nextInt(n-i)+i; int d = a[i]; a[i] = a[ind]; a[ind] = d; } return a; } public static char[] shuffle(char[] a, Random gen) { for(int i = 0, n = a.length;i < n;i++) { int ind = gen.nextInt(n-i)+i; char d = a[i]; a[i] = a[ind]; a[ind] = d; } return a; } public String readString() { int c = read(); while (isSpaceChar(c)) { c = read(); } StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isSpaceChar(c)); return res.toString(); } public String nextLine() { int c = read(); while (isSpaceChar(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isEndOfLine(c)); return res.toString(); } public boolean isSpaceChar(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } private boolean isEndOfLine(int c) { return c == '\n' || c == '\r' || c == -1; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 38, 30, 41, 13, 20, 41, 13, 4, 18, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 64, 14 ], [ 64, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 25, 28 ], [ 28, 29 ], [ 29, 30 ], [ 19, 31 ], [ 31, 32 ], [ 31, 33 ], [ 19, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 50, 51 ], [ 51, 52 ], [ 19, 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.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.Set;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Set;", "Set", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}\n\t}", "main", "{\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}\n\t}", "try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}", "{\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in))", "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> set = new HashSet<String>();", "set", "new HashSet<String>()", "for (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\tset.add(br.readLine());\n\t\t\t}", "{\n\t\t\t\tset.add(br.readLine());\n\t\t\t}", "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\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\ttry (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) {\n\t\t\tint n = Integer.parseInt(br.readLine());\n\t\t\tSet<String> set = new HashSet<String>();\n\t\t\tfor (int i = 0; i < n; i++) {\n\t\t\t\tset.add(br.readLine());\n\t\t\t}\n\t\t\tSystem.out.println(set.size());\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Set; public class Main { public static void main(String[] args) throws Exception { try (BufferedReader br = new BufferedReader(new InputStreamReader(System.in))) { int n = Integer.parseInt(br.readLine()); Set<String> set = new HashSet<String>(); for (int i = 0; i < n; i++) { set.add(br.readLine()); } 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, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 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 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 44, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 6, 62 ], [ 62, 63 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n String[] str = new String[a];\n for(int loop = 0;loop < a;loop++)\n {\n str[loop] = sc.next();\n }\n HashMap<String, Integer> yoloooooooooooooooooooooooooooooooooooo = new HashMap<>();\n for(String s : str){\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }\n System.out.println(yoloooooooooooooooooooooooooooooooooooo.size());\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n String[] str = new String[a];\n for(int loop = 0;loop < a;loop++)\n {\n str[loop] = sc.next();\n }\n HashMap<String, Integer> yoloooooooooooooooooooooooooooooooooooo = new HashMap<>();\n for(String s : str){\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }\n System.out.println(yoloooooooooooooooooooooooooooooooooooo.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n String[] str = new String[a];\n for(int loop = 0;loop < a;loop++)\n {\n str[loop] = sc.next();\n }\n HashMap<String, Integer> yoloooooooooooooooooooooooooooooooooooo = new HashMap<>();\n for(String s : str){\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }\n System.out.println(yoloooooooooooooooooooooooooooooooooooo.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n String[] str = new String[a];\n for(int loop = 0;loop < a;loop++)\n {\n str[loop] = sc.next();\n }\n HashMap<String, Integer> yoloooooooooooooooooooooooooooooooooooo = new HashMap<>();\n for(String s : str){\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }\n System.out.println(yoloooooooooooooooooooooooooooooooooooo.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String[] str = new String[a];", "str", "new String[a]", "a", "for(int loop = 0;loop < a;loop++)\n {\n str[loop] = sc.next();\n }", "int loop = 0;", "int loop = 0;", "loop", "0", "loop < a", "loop", "a", "loop++", "loop++", "loop", "{\n str[loop] = sc.next();\n }", "{\n str[loop] = sc.next();\n }", "str[loop] = sc.next()", "str[loop]", "str", "loop", "sc.next()", "sc.next", "sc", "HashMap<String, Integer> yoloooooooooooooooooooooooooooooooooooo = new HashMap<>();", "yoloooooooooooooooooooooooooooooooooooo", "new HashMap<>()", "for(String s : str){\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }", "String s", "str", "{\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }", "{\n yoloooooooooooooooooooooooooooooooooooo.put(s,666666);\n }", "yoloooooooooooooooooooooooooooooooooooo.put(s,666666)", "yoloooooooooooooooooooooooooooooooooooo.put", "yoloooooooooooooooooooooooooooooooooooo", "s", "666666", "System.out.println(yoloooooooooooooooooooooooooooooooooooo.size())", "System.out.println", "System.out", "System", "System.out", "yoloooooooooooooooooooooooooooooooooooo.size()", "yoloooooooooooooooooooooooooooooooooooo.size", "yoloooooooooooooooooooooooooooooooooooo", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); String[] str = new String[a]; for(int loop = 0;loop < a;loop++) { str[loop] = sc.next(); } HashMap<String, Integer> yoloooooooooooooooooooooooooooooooooooo = new HashMap<>(); for(String s : str){ yoloooooooooooooooooooooooooooooooooooo.put(s,666666); } System.out.println(yoloooooooooooooooooooooooooooooooooooo.size()); } }
[ 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, 17, 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, 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 ], [ 62, 8 ], [ 62, 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 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 11, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 9, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.HashSet;\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\tlong n = sc.nextLong();\n\n\t\tHashSet<String> hs = new HashSet<String>();\n\t\tString s = null;\n\n\t\tsc.nextLine();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}\n\n\t\tSystem.out.println(hs.size());\n\n\t}\n\n}", "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\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tHashSet<String> hs = new HashSet<String>();\n\t\tString s = null;\n\n\t\tsc.nextLine();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}\n\n\t\tSystem.out.println(hs.size());\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tHashSet<String> hs = new HashSet<String>();\n\t\tString s = null;\n\n\t\tsc.nextLine();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}\n\n\t\tSystem.out.println(hs.size());\n\n\t}", "main", "{\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tHashSet<String> hs = new HashSet<String>();\n\t\tString s = null;\n\n\t\tsc.nextLine();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}\n\n\t\tSystem.out.println(hs.size());\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long n = sc.nextLong();", "n", "sc.nextLong()", "sc.nextLong", "sc", "HashSet<String> hs = new HashSet<String>();", "hs", "new HashSet<String>()", "String s = null;", "s", "null", "sc.nextLine()", "sc.nextLine", "sc", "for (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}", "{\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}", "s = sc.nextLine()", "s", "sc.nextLine()", "sc.nextLine", "sc", "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", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tlong n = sc.nextLong();\n\n\t\tHashSet<String> hs = new HashSet<String>();\n\t\tString s = null;\n\n\t\tsc.nextLine();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}\n\n\t\tSystem.out.println(hs.size());\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\tlong n = sc.nextLong();\n\n\t\tHashSet<String> hs = new HashSet<String>();\n\t\tString s = null;\n\n\t\tsc.nextLine();\n\n\t\tfor (int i = 0; i < n; i++) {\n\n\t\t\ts = sc.nextLine();\n\t\t\ths.add(s);\n\t\t}\n\n\t\tSystem.out.println(hs.size());\n\n\t}\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); long n = sc.nextLong(); HashSet<String> hs = new HashSet<String>(); String s = null; sc.nextLine(); for (int i = 0; i < n; i++) { s = sc.nextLine(); hs.add(s); } System.out.println(hs.size()); } }
[ 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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 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 ], [ 57, 8 ], [ 57, 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 ], [ 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 ], [ 39, 45 ], [ 11, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 9, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint times = Integer.parseInt(scanner.nextLine());\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}\n\n\t\tSystem.out.println(map.size());\n\n\t}\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint times = Integer.parseInt(scanner.nextLine());\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}\n\n\t\tSystem.out.println(map.size());\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint times = Integer.parseInt(scanner.nextLine());\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}\n\n\t\tSystem.out.println(map.size());\n\n\t}", "main", "{\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint times = Integer.parseInt(scanner.nextLine());\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}\n\n\t\tSystem.out.println(map.size());\n\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int times = Integer.parseInt(scanner.nextLine());", "times", "Integer.parseInt(scanner.nextLine())", "Integer.parseInt", "Integer", "scanner.nextLine()", "scanner.nextLine", "scanner", "HashMap<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "for(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < times", "i", "times", "i++", "i++", "i", "{\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}", "{\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}", "map.put(scanner.nextLine(),1)", "map.put", "map", "scanner.nextLine()", "scanner.nextLine", "scanner", "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\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint times = Integer.parseInt(scanner.nextLine());\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}\n\n\t\tSystem.out.println(map.size());\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scanner = new Scanner(System.in);\n\n\t\tint times = Integer.parseInt(scanner.nextLine());\n\t\tHashMap<String, Integer> map = new HashMap<String, Integer>();\n\t\tfor(int i = 0; i < times; i++) {\n\t\t\tmap.put(scanner.nextLine(),1);\n\t\t}\n\n\t\tSystem.out.println(map.size());\n\n\t}\n}", "Main" ]
import java.util.HashMap; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int times = Integer.parseInt(scanner.nextLine()); HashMap<String, Integer> map = new HashMap<String, Integer>(); for(int i = 0; i < times; i++) { map.put(scanner.nextLine(),1); } System.out.println(map.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, 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 ], [ 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 ], [ 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.Scanner;\nimport java.util.HashSet;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }\n scan.close();\n\n System.out.println(hs.size());\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 int N = scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }\n scan.close();\n\n System.out.println(hs.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }\n scan.close();\n\n System.out.println(hs.size());\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n int N = scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }\n scan.close();\n\n System.out.println(hs.size());\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "HashSet hs = new HashSet();", "hs", "new HashSet()", "for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n hs.add(scan.next());\n }", "{\n hs.add(scan.next());\n }", "hs.add(scan.next())", "hs.add", "hs", "scan.next()", "scan.next", "scan", "scan.close()", "scan.close", "scan", "System.out.println(hs.size())", "System.out.println", "System.out", "System", "System.out", "hs.size()", "hs.size", "hs", "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 HashSet hs = new HashSet();\n for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }\n scan.close();\n\n System.out.println(hs.size());\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 HashSet hs = new HashSet();\n for(int i=0; i<N; i++) {\n hs.add(scan.next());\n }\n scan.close();\n\n System.out.println(hs.size());\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); int N = scan.nextInt(); HashSet hs = new HashSet(); for(int i=0; i<N; i++) { hs.add(scan.next()); } scan.close(); System.out.println(hs.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, 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, 2, 13, 17, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 40, 13, 14, 40, 4, 18, 18, 13, 13, 18, 13, 2, 13, 17, 30, 40, 13, 14, 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 ], [ 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 ], [ 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 ], [ 67, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 65, 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 ], [ 11, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 88, 92 ], [ 92, 93 ], [ 93, 94 ], [ 11, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 9, 101 ], [ 101, 102 ], [ 0, 103 ], [ 103, 104 ], [ 103, 105 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\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\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i] = scan.next();\n\t\t}\n\t\t\n\t\tArrays.sort(s);\n\t\t\n\t\tfor(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif(count == 0) {\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\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\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i] = scan.next();\n\t\t}\n\t\t\n\t\tArrays.sort(s);\n\t\t\n\t\tfor(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif(count == 0) {\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\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i] = scan.next();\n\t\t}\n\t\t\n\t\tArrays.sort(s);\n\t\t\n\t\tfor(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif(count == 0) {\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\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i] = scan.next();\n\t\t}\n\t\t\n\t\tArrays.sort(s);\n\t\t\n\t\tfor(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif(count == 0) {\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", "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", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "for(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "if(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}", "i == 0", "i", "0", "{\n\t\t\t\tcount++;\n\t\t\t}", "count++", "count", "if(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\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\tcount++;\n\t\t\t}", "count++", "count", "if(count == 0) {\n\t\t\tcount++;\n\t\t}", "count == 0", "count", "0", "{\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\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i] = scan.next();\n\t\t}\n\t\t\n\t\tArrays.sort(s);\n\t\t\n\t\tfor(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif(count == 0) {\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\t\n\t\tfor(int i=0;i<n;i++) {\n\t\t\ts[i] = scan.next();\n\t\t}\n\t\t\n\t\tArrays.sort(s);\n\t\t\n\t\tfor(int i=0;i<n-1;i++) {\n\t\t\tif(i == 0) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\tif(!(s[i].equals(s[i+1]))) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tif(count == 0) {\n\t\t\tcount++;\n\t\t}\n\t\tSystem.out.println(count);\n\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); String[] s = new String[n]; int count = 0; for(int i=0;i<n;i++) { s[i] = scan.next(); } Arrays.sort(s); for(int i=0;i<n-1;i++) { if(i == 0) { count++; } if(!(s[i].equals(s[i+1]))) { count++; } } if(count == 0) { count++; } System.out.println(count); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 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 ], [ 63, 5 ], [ 63, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 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 ], [ 47, 52 ], [ 52, 53 ], [ 8, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 6, 60 ], [ 60, 61 ], [ 0, 62 ], [ 62, 63 ], [ 62, 64 ] ]
[ "import java.util.*;\n \npublic class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set=new HashSet<>();\n\t\tint ans=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set=new HashSet<>();\n\t\tint ans=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set=new HashSet<>();\n\t\tint ans=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}", "main", "{\n\t Scanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set=new HashSet<>();\n\t\tint ans=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\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<>()", "int ans=0;", "ans", "0", "for(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\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=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}", "{\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}", "String s=sc.next();", "s", "sc.next()", "sc.next", "sc", "if(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}", "!set.contains(s)", "set.contains(s)", "set.contains", "set", "s", "{\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}", "set.add(s)", "set.add", "set", "s", "ans++", "ans", "System.out.print(ans)", "System.out.print", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set=new HashSet<>();\n\t\tint ans=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t Scanner sc=new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set=new HashSet<>();\n\t\tint ans=0;\n\t\tfor(int i=0;i<n;i++) {\n\t\t\tString s=sc.next();\n\t\t\tif(!set.contains(s)) {\n\t\t\t\tset.add(s);\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.print(ans);\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<>(); int ans=0; for(int i=0;i<n;i++) { String s=sc.next(); if(!set.contains(s)) { set.add(s); ans++; } } System.out.print(ans); } }
[ 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, 40, 13, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 67, 8 ], [ 67, 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 ], [ 50, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 11, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 9, 64 ], [ 64, 65 ], [ 0, 66 ], [ 66, 67 ], [ 66, 68 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main{\n public static void main(String[] args)throws Exception{\n Scanner sc = new Scanner(System.in);\n Map<String,Boolean> map = new HashMap<>();\n int n=sc.nextInt();\n int count=0;\n for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }\n System.out.println(count);\n }\n}", "import java.io.*;", "io.*", "java", "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 Map<String,Boolean> map = new HashMap<>();\n int n=sc.nextInt();\n int count=0;\n for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }\n System.out.println(count);\n }\n}", "Main", "public static void main(String[] args)throws Exception{\n Scanner sc = new Scanner(System.in);\n Map<String,Boolean> map = new HashMap<>();\n int n=sc.nextInt();\n int count=0;\n for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }\n System.out.println(count);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n Map<String,Boolean> map = new HashMap<>();\n int n=sc.nextInt();\n int count=0;\n for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }\n System.out.println(count);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Map<String,Boolean> map = new HashMap<>();", "map", "new HashMap<>()", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int count=0;", "count", "0", "for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }", "{\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }", "String s=sc.next();", "s", "sc.next()", "sc.next", "sc", "if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }", "!map.containsKey(s)", "map.containsKey(s)", "map.containsKey", "map", "s", "{\n count++;\n map.put(s,true);\n }", "count++", "count", "map.put(s,true)", "map.put", "map", "s", "true", "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)throws Exception{\n Scanner sc = new Scanner(System.in);\n Map<String,Boolean> map = new HashMap<>();\n int n=sc.nextInt();\n int count=0;\n for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }\n System.out.println(count);\n }\n}", "public class Main{\n public static void main(String[] args)throws Exception{\n Scanner sc = new Scanner(System.in);\n Map<String,Boolean> map = new HashMap<>();\n int n=sc.nextInt();\n int count=0;\n for(int i=0;i<n;i++){\n String s=sc.next();\n if(!map.containsKey(s)){\n count++;\n map.put(s,true);\n }\n }\n System.out.println(count);\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main{ public static void main(String[] args)throws Exception{ Scanner sc = new Scanner(System.in); Map<String,Boolean> map = new HashMap<>(); int n=sc.nextInt(); int count=0; for(int i=0;i<n;i++){ String s=sc.next(); if(!map.containsKey(s)){ count++; map.put(s,true); } } System.out.println(count); } }
[ 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, 2, 4, 18, 13, 17, 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 ], [ 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 ], [ 49, 50 ], [ 47, 51 ], [ 9, 52 ], [ 52, 53 ], [ 0, 54 ], [ 54, 55 ], [ 54, 56 ] ]
[ "import java.util.Scanner;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n final int kuji_num = s.nextInt();\n final Set<String> itemSet = new HashSet<String>();\n for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }\n System.out.println(itemSet.size() - 1);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n final int kuji_num = s.nextInt();\n final Set<String> itemSet = new HashSet<String>();\n for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }\n System.out.println(itemSet.size() - 1);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n final int kuji_num = s.nextInt();\n final Set<String> itemSet = new HashSet<String>();\n for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }\n System.out.println(itemSet.size() - 1);\n }", "main", "{\n Scanner s = new Scanner(System.in);\n\n final int kuji_num = s.nextInt();\n final Set<String> itemSet = new HashSet<String>();\n for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }\n System.out.println(itemSet.size() - 1);\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "final int kuji_num = s.nextInt();", "kuji_num", "s.nextInt()", "s.nextInt", "s", "final Set<String> itemSet = new HashSet<String>();", "itemSet", "new HashSet<String>()", "for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i <= kuji_num", "i", "kuji_num", "i++", "i++", "i", "{\n itemSet.add(s.nextLine());\n }", "{\n itemSet.add(s.nextLine());\n }", "itemSet.add(s.nextLine())", "itemSet.add", "itemSet", "s.nextLine()", "s.nextLine", "s", "System.out.println(itemSet.size() - 1)", "System.out.println", "System.out", "System", "System.out", "itemSet.size() - 1", "itemSet.size()", "itemSet.size", "itemSet", "1", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n final int kuji_num = s.nextInt();\n final Set<String> itemSet = new HashSet<String>();\n for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }\n System.out.println(itemSet.size() - 1);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n final int kuji_num = s.nextInt();\n final Set<String> itemSet = new HashSet<String>();\n for (int i = 0 ; i <= kuji_num ; i++) {\n itemSet.add(s.nextLine());\n }\n System.out.println(itemSet.size() - 1);\n }\n}", "Main" ]
import java.util.Scanner; import java.util.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); final int kuji_num = s.nextInt(); final Set<String> itemSet = new HashSet<String>(); for (int i = 0 ; i <= kuji_num ; i++) { itemSet.add(s.nextLine()); } System.out.println(itemSet.size() - 1); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 11, 1, 2, 13, 17, 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 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 59, 14 ], [ 59, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 17, 29 ], [ 29, 30 ], [ 29, 31 ], [ 17, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 32, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 45, 46 ], [ 46, 47 ], [ 17, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 15, 56 ], [ 56, 57 ], [ 0, 58 ], [ 58, 59 ], [ 58, 60 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\n\npublic class Main\n{\n\tpublic static void main(String[] Arguments) throws IOException \n\t{\n\t\tBufferedReader BR = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>();\n\t\tfor (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}\n\t\tSystem.out.println(Items.size());\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "public class Main\n{\n\tpublic static void main(String[] Arguments) throws IOException \n\t{\n\t\tBufferedReader BR = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>();\n\t\tfor (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}\n\t\tSystem.out.println(Items.size());\n\t}\n}", "Main", "public static void main(String[] Arguments) throws IOException \n\t{\n\t\tBufferedReader BR = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>();\n\t\tfor (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}\n\t\tSystem.out.println(Items.size());\n\t}", "main", "{\n\t\tBufferedReader BR = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>();\n\t\tfor (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}\n\t\tSystem.out.println(Items.size());\n\t}", "BufferedReader BR = new BufferedReader(new InputStreamReader(System.in));", "BR", "new BufferedReader(new InputStreamReader(System.in))", "int N = Integer.parseInt(BR.readLine());", "N", "Integer.parseInt(BR.readLine())", "Integer.parseInt", "Integer", "BR.readLine()", "BR.readLine", "BR", "HashSet<String> Items = new HashSet<>();", "Items", "new HashSet<>()", "for (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}", ";", "N > 0", "N", "0", "N--", "N--", "N", "{\n\t\t\tItems.add(BR.readLine());\n\t\t}", "{\n\t\t\tItems.add(BR.readLine());\n\t\t}", "Items.add(BR.readLine())", "Items.add", "Items", "BR.readLine()", "BR.readLine", "BR", "System.out.println(Items.size())", "System.out.println", "System.out", "System", "System.out", "Items.size()", "Items.size", "Items", "String[] Arguments", "Arguments", "public class Main\n{\n\tpublic static void main(String[] Arguments) throws IOException \n\t{\n\t\tBufferedReader BR = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>();\n\t\tfor (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}\n\t\tSystem.out.println(Items.size());\n\t}\n}", "public class Main\n{\n\tpublic static void main(String[] Arguments) throws IOException \n\t{\n\t\tBufferedReader BR = new BufferedReader(new InputStreamReader(System.in));\n\t\tint N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>();\n\t\tfor (; N > 0; N--)\n\t\t{\n\t\t\tItems.add(BR.readLine());\n\t\t}\n\t\tSystem.out.println(Items.size());\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashSet; public class Main { public static void main(String[] Arguments) throws IOException { BufferedReader BR = new BufferedReader(new InputStreamReader(System.in)); int N = Integer.parseInt(BR.readLine()); HashSet<String> Items = new HashSet<>(); for (; N > 0; N--) { Items.add(BR.readLine()); } System.out.println(Items.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, 41, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 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, 4, 13, 18, 13, 17, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 18, 13, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 13, 13, 18, 13, 2, 13, 17, 29, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 29, 13, 29, 4, 13, 17, 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 ], [ 165, 11 ], [ 165, 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 ], [ 48, 50 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 12, 59 ], [ 59, 60 ], [ 165, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 61, 78 ], [ 78, 79 ], [ 61, 80 ], [ 80, 81 ], [ 165, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 84, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 95, 107 ], [ 107, 108 ], [ 108, 109 ], [ 95, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 114, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 84, 122 ], [ 122, 123 ], [ 82, 124 ], [ 124, 125 ], [ 165, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 134, 136 ], [ 134, 137 ], [ 126, 138 ], [ 138, 139 ], [ 126, 140 ], [ 140, 141 ], [ 165, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 145, 146 ], [ 146, 147 ], [ 146, 148 ], [ 145, 149 ], [ 149, 150 ], [ 150, 151 ], [ 144, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 153, 156 ], [ 153, 157 ], [ 142, 158 ], [ 158, 159 ], [ 142, 160 ], [ 160, 161 ], [ 142, 162 ], [ 162, 163 ], [ 0, 164 ], [ 164, 165 ], [ 164, 166 ] ]
[ "import java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力\n\t\tint N = sc.nextInt();\n\t\tList<String> listA = new ArrayList<String>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}\n\t\tList<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\t\t\n\t\tSystem.out.println(listB.size());\t\t\t\n\t}\n\n\t\n\t// ユークリッドの控除法(最大公約数を求める)\n\tprivate static long gcd(long a, long b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\t\treturn gcd(b, a % b);\n\t}\n\n\t// 複数の最大公約数を求める\n\tprivate static long gcdex(long param[]) {\n\t\tlong g = gcd(param[0], param[1]);\n\t\tfor (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}\n\t\treturn g;\n\t}\n\n\t// 最小公倍数を求める\n\tprivate static long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n\n\t//\n\tprivate static long all(long n, long count, int N) {\n\t\tif (count == N) {\n\t\t\treturn count;\n\t\t}\n\t\treturn all(1, count, N);\n\t}\n\n}", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力\n\t\tint N = sc.nextInt();\n\t\tList<String> listA = new ArrayList<String>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}\n\t\tList<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\t\t\n\t\tSystem.out.println(listB.size());\t\t\t\n\t}\n\n\t\n\t// ユークリッドの控除法(最大公約数を求める)\n\tprivate static long gcd(long a, long b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\t\treturn gcd(b, a % b);\n\t}\n\n\t// 複数の最大公約数を求める\n\tprivate static long gcdex(long param[]) {\n\t\tlong g = gcd(param[0], param[1]);\n\t\tfor (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}\n\t\treturn g;\n\t}\n\n\t// 最小公倍数を求める\n\tprivate static long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n\n\t//\n\tprivate static long all(long n, long count, int N) {\n\t\tif (count == N) {\n\t\t\treturn count;\n\t\t}\n\t\treturn all(1, count, N);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力\n\t\tint N = sc.nextInt();\n\t\tList<String> listA = new ArrayList<String>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}\n\t\tList<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\t\t\n\t\tSystem.out.println(listB.size());\t\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力\n\t\tint N = sc.nextInt();\n\t\tList<String> listA = new ArrayList<String>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}\n\t\tList<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\t\t\n\t\tSystem.out.println(listB.size());\t\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "List<String> listA = new ArrayList<String>();", "listA", "new ArrayList<String>()", "for (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}", "{\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "listA.add(s)", "listA.add", "listA", "s", "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", "// ユークリッドの控除法(最大公約数を求める)\n\tprivate static long gcd(long a, long b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\t\treturn gcd(b, a % b);\n\t}", "gcd", "{\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\t\treturn gcd(b, a % b);\n\t}", "if (b == 0) {\n\t\t\treturn a;\n\t\t}", "b == 0", "b", "0", "{\n\t\t\treturn a;\n\t\t}", "return a;", "a", "return gcd(b, a % b);", "gcd(b, a % b)", "gcd", "b", "a % b", "a", "b", "long a", "a", "long b", "b", "// 複数の最大公約数を求める\n\tprivate static long gcdex(long param[]) {\n\t\tlong g = gcd(param[0], param[1]);\n\t\tfor (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}\n\t\treturn g;\n\t}", "gcdex", "{\n\t\tlong g = gcd(param[0], param[1]);\n\t\tfor (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}\n\t\treturn g;\n\t}", "long g = gcd(param[0], param[1]);", "g", "gcd(param[0], param[1])", "gcd", "param[0]", "param", "0", "param[1]", "param", "1", "for (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}", "int i = 1;", "int i = 1;", "i", "1", "i < param.length-1", "i", "param.length-1", "param.length", "param", "param.length", "1", "i++", "i++", "i", "{\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}", "{\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}", "g = gcd(g, param[i+1])", "g", "gcd(g, param[i+1])", "gcd", "g", "param[i+1]", "param", "i+1", "i", "1", "return g;", "g", "long param[]", "param", "// 最小公倍数を求める\n\tprivate static long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}", "lcm", "{\n\t\treturn (a * b) / gcd(a, b);\n\t}", "return (a * b) / gcd(a, b);", "(a * b) / gcd(a, b)", "(a * b)", "a", "b", "gcd(a, b)", "gcd", "a", "b", "long a", "a", "long b", "b", "//\n\tprivate static long all(long n, long count, int N) {\n\t\tif (count == N) {\n\t\t\treturn count;\n\t\t}\n\t\treturn all(1, count, N);\n\t}", "all", "{\n\t\tif (count == N) {\n\t\t\treturn count;\n\t\t}\n\t\treturn all(1, count, N);\n\t}", "if (count == N) {\n\t\t\treturn count;\n\t\t}", "count == N", "count", "N", "{\n\t\t\treturn count;\n\t\t}", "return count;", "count", "return all(1, count, N);", "all(1, count, N)", "all", "1", "count", "N", "long n", "n", "long count", "count", "int N", "N", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力\n\t\tint N = sc.nextInt();\n\t\tList<String> listA = new ArrayList<String>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}\n\t\tList<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\t\t\n\t\tSystem.out.println(listB.size());\t\t\t\n\t}\n\n\t\n\t// ユークリッドの控除法(最大公約数を求める)\n\tprivate static long gcd(long a, long b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\t\treturn gcd(b, a % b);\n\t}\n\n\t// 複数の最大公約数を求める\n\tprivate static long gcdex(long param[]) {\n\t\tlong g = gcd(param[0], param[1]);\n\t\tfor (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}\n\t\treturn g;\n\t}\n\n\t// 最小公倍数を求める\n\tprivate static long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n\n\t//\n\tprivate static long all(long n, long count, int N) {\n\t\tif (count == N) {\n\t\t\treturn count;\n\t\t}\n\t\treturn all(1, count, N);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\n\t\t// 入力\n\t\tint N = sc.nextInt();\n\t\tList<String> listA = new ArrayList<String>();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString s = sc.next();\n\t\t\tlistA.add(s);\n\t\t}\n\t\tList<String> listB = new ArrayList<String>(new HashSet<>(listA));\n\t\t\n\t\tSystem.out.println(listB.size());\t\t\t\n\t}\n\n\t\n\t// ユークリッドの控除法(最大公約数を求める)\n\tprivate static long gcd(long a, long b) {\n\t\tif (b == 0) {\n\t\t\treturn a;\n\t\t}\n\t\treturn gcd(b, a % b);\n\t}\n\n\t// 複数の最大公約数を求める\n\tprivate static long gcdex(long param[]) {\n\t\tlong g = gcd(param[0], param[1]);\n\t\tfor (int i = 1; i < param.length-1; i++) {\n\t\t\tg = gcd(g, param[i+1]);\n\t\t}\n\t\treturn g;\n\t}\n\n\t// 最小公倍数を求める\n\tprivate static long lcm(long a, long b) {\n\t\treturn (a * b) / gcd(a, b);\n\t}\n\n\t//\n\tprivate static long all(long n, long count, int N) {\n\t\tif (count == N) {\n\t\t\treturn count;\n\t\t}\n\t\treturn all(1, count, N);\n\t}\n\n}", "Main" ]
import java.math.BigDecimal; import java.math.RoundingMode; import java.util.*; 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>(); for (int i = 0; i < N; i++) { String s = sc.next(); listA.add(s); } List<String> listB = new ArrayList<String>(new HashSet<>(listA)); System.out.println(listB.size()); } // ユークリッドの控除法(最大公約数を求める) private static long gcd(long a, long b) { if (b == 0) { return a; } return gcd(b, a % b); } // 複数の最大公約数を求める private static long gcdex(long param[]) { long g = gcd(param[0], param[1]); for (int i = 1; i < param.length-1; i++) { g = gcd(g, param[i+1]); } return g; } // 最小公倍数を求める private static long lcm(long a, long b) { return (a * b) / gcd(a, b); } // private static long all(long n, long count, int N) { if (count == N) { return count; } return all(1, count, N); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 2, 18, 13, 13, 17, 41, 13, 17, 42, 2, 13, 13, 30, 41, 13, 2, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 30, 0, 13, 2, 13, 17, 0, 13, 13, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 2, 4, 18, 13, 17, 42, 2, 13, 13, 30, 14, 2, 4, 18, 13, 40, 13, 4, 18, 13, 40, 13, 29, 17, 29, 17, 23, 13, 12, 13, 30, 14, 2, 13, 18, 13, 13, 30, 14, 4, 13, 13, 29, 13, 29, 17, 14, 2, 2, 4, 18, 13, 17, 4, 13, 13, 29, 13, 41, 13, 4, 13, 13, 2, 13, 18, 13, 13, 2, 13, 17, 41, 13, 4, 13, 13, 13, 2, 13, 17, 14, 2, 4, 18, 13, 17, 29, 13, 29, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 13, 2, 18, 13, 13, 13, 29, 17, 41, 13, 17, 41, 13, 17, 14, 2, 18, 13, 13, 13, 0, 13, 2, 4, 13, 13, 2, 13, 17, 13, 13, 17, 14, 2, 18, 13, 13, 13, 0, 13, 2, 4, 13, 13, 13, 2, 13, 17, 13, 17, 29, 2, 13, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 4, 18, 13, 18, 13, 13, 29, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 14, 2, 4, 18, 4, 18, 13, 4, 18, 13, 17, 18, 13, 13, 17, 0, 13, 4, 13, 4, 18, 13, 4, 18, 13, 17, 2, 13, 17, 14, 2, 4, 18, 4, 18, 13, 4, 18, 13, 17, 18, 13, 13, 17, 0, 13, 4, 13, 4, 18, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 17, 2, 13, 17, 14, 2, 4, 18, 4, 18, 13, 4, 18, 13, 17, 18, 13, 13, 17, 0, 13, 4, 13, 4, 18, 4, 18, 13, 4, 18, 13, 17, 4, 18, 13, 17, 2, 13, 17, 14, 4, 18, 13, 13, 29, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 4, 18, 13, 13, 13, 29, 4, 18, 13, 13, 4, 18, 13, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 452, 11 ], [ 452, 12 ], [ 12, 13 ], [ 452, 14 ], [ 14, 15 ], [ 452, 16 ], [ 16, 17 ], [ 452, 18 ], [ 18, 19 ], [ 452, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 22, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 22, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 34, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 22, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 20, 57 ], [ 57, 58 ], [ 452, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 61, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 67, 71 ], [ 61, 72 ], [ 72, 73 ], [ 72, 74 ], [ 61, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 79, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 95, 101 ], [ 101, 102 ], [ 101, 103 ], [ 89, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 61, 109 ], [ 109, 110 ], [ 59, 111 ], [ 111, 112 ], [ 59, 113 ], [ 113, 114 ], [ 452, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 123, 127 ], [ 117, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 138, 139 ], [ 134, 140 ], [ 140, 141 ], [ 141, 142 ], [ 140, 143 ], [ 143, 144 ], [ 133, 145 ], [ 145, 146 ], [ 117, 147 ], [ 147, 148 ], [ 115, 149 ], [ 149, 150 ], [ 452, 151 ], [ 151, 152 ], [ 151, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 157, 159 ], [ 154, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 161, 165 ], [ 165, 166 ], [ 160, 167 ], [ 167, 168 ], [ 153, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 171, 175 ], [ 170, 176 ], [ 176, 177 ], [ 176, 178 ], [ 169, 179 ], [ 179, 180 ], [ 153, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 183, 185 ], [ 183, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 188, 190 ], [ 183, 191 ], [ 191, 192 ], [ 191, 193 ], [ 153, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 196, 198 ], [ 196, 199 ], [ 196, 200 ], [ 200, 201 ], [ 200, 202 ], [ 153, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 204, 208 ], [ 203, 209 ], [ 209, 210 ], [ 153, 211 ], [ 211, 212 ], [ 151, 213 ], [ 213, 214 ], [ 151, 215 ], [ 215, 216 ], [ 151, 217 ], [ 217, 218 ], [ 452, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 223, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 222, 232 ], [ 232, 233 ], [ 221, 234 ], [ 234, 235 ], [ 234, 236 ], [ 221, 237 ], [ 237, 238 ], [ 237, 239 ], [ 221, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 240, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 249, 252 ], [ 252, 253 ], [ 252, 254 ], [ 249, 255 ], [ 249, 256 ], [ 248, 257 ], [ 240, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 259, 263 ], [ 258, 264 ], [ 264, 265 ], [ 264, 266 ], [ 266, 267 ], [ 267, 268 ], [ 267, 269 ], [ 267, 270 ], [ 267, 271 ], [ 271, 272 ], [ 271, 273 ], [ 267, 274 ], [ 266, 275 ], [ 221, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 219, 280 ], [ 280, 281 ], [ 219, 282 ], [ 282, 283 ], [ 219, 284 ], [ 284, 285 ], [ 219, 286 ], [ 286, 287 ], [ 452, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 292, 293 ], [ 293, 294 ], [ 292, 295 ], [ 295, 296 ], [ 295, 297 ], [ 291, 298 ], [ 298, 299 ], [ 290, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 302, 304 ], [ 290, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 307, 309 ], [ 290, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 312, 314 ], [ 290, 315 ], [ 315, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 319, 322 ], [ 322, 323 ], [ 323, 324 ], [ 322, 325 ], [ 317, 326 ], [ 326, 327 ], [ 326, 328 ], [ 316, 329 ], [ 315, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 335, 336 ], [ 334, 337 ], [ 337, 338 ], [ 338, 339 ], [ 337, 340 ], [ 332, 341 ], [ 341, 342 ], [ 341, 343 ], [ 315, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 348, 351 ], [ 351, 352 ], [ 352, 353 ], [ 351, 354 ], [ 346, 355 ], [ 355, 356 ], [ 355, 357 ], [ 345, 358 ], [ 344, 359 ], [ 359, 360 ], [ 359, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 364, 365 ], [ 365, 366 ], [ 366, 367 ], [ 365, 368 ], [ 368, 369 ], [ 369, 370 ], [ 368, 371 ], [ 363, 372 ], [ 372, 373 ], [ 373, 374 ], [ 372, 375 ], [ 361, 376 ], [ 376, 377 ], [ 376, 378 ], [ 344, 379 ], [ 379, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 383, 384 ], [ 384, 385 ], [ 383, 386 ], [ 386, 387 ], [ 387, 388 ], [ 386, 389 ], [ 381, 390 ], [ 390, 391 ], [ 390, 392 ], [ 380, 393 ], [ 379, 394 ], [ 394, 395 ], [ 394, 396 ], [ 396, 397 ], [ 396, 398 ], [ 398, 399 ], [ 399, 400 ], [ 400, 401 ], [ 401, 402 ], [ 400, 403 ], [ 403, 404 ], [ 404, 405 ], [ 403, 406 ], [ 398, 407 ], [ 407, 408 ], [ 408, 409 ], [ 407, 410 ], [ 396, 411 ], [ 411, 412 ], [ 411, 413 ], [ 290, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 415, 418 ], [ 414, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 420, 423 ], [ 290, 424 ], [ 424, 425 ], [ 425, 426 ], [ 424, 427 ], [ 424, 428 ], [ 428, 429 ], [ 429, 430 ], [ 428, 431 ], [ 428, 432 ], [ 432, 433 ], [ 433, 434 ], [ 432, 435 ], [ 432, 436 ], [ 290, 437 ], [ 437, 438 ], [ 438, 439 ], [ 439, 440 ], [ 438, 441 ], [ 438, 442 ], [ 442, 443 ], [ 443, 444 ], [ 442, 445 ], [ 442, 446 ], [ 288, 447 ], [ 447, 448 ], [ 288, 449 ], [ 449, 450 ], [ 0, 451 ], [ 451, 452 ], [ 451, 453 ] ]
[ "\nimport java.io.IOException;\nimport java.math.BigInteger;\nimport java.util.*;\n\npublic class Main {\n static Map<BigInteger, Integer> memo;\n static boolean[][] vis;\n static List<List<Integer>> adj;\n static List<Integer> vertices;\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n Set<String> set = new HashSet<>();\n int n = sc.nextInt();\n while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }\n System.out.println(set.size());\n }\n\n\n static int lowerBound(int[] arr, int element) {\n\n int low = 0, high = arr.length - 1, ans = 0;\n while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }\n\n return high;\n }\n\n static boolean isPalindrome(String word) {\n int i = 0, j = word.length() - 1;\n\n while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }\n\n return true;\n }\n\n static String longestPalindrome(String[] words, String word, int i) {\n if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }\n\n if (word.length() > 0 && isPalindrome(word))\n return word;\n String left = longestPalindrome(words, word + words[i], i + 1);\n String right = longestPalindrome(words, word, i + 1);\n\n if (left.length() > 0)\n return left;\n return right;\n }\n\n\n static int solve(int[] arr, int i, int j, int k) {\n if (i == j && arr[i] <= k)\n return 1;\n\n int left = 0, right = 0;\n if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;\n\n return left + right;\n }\n\n static int minMove(BigInteger bg, int count) {\n if (bg.equals(BigInteger.ONE))\n return count;\n\n int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE;\n if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);\n\n if (memo.containsKey(bg))\n return memo.get(bg);\n\n memo.put(bg, Math.min(first, Math.min(sec, last)));\n\n return Math.min(first, Math.min(sec, last));\n }\n}", "import java.io.IOException;", "IOException", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "public class Main {\n static Map<BigInteger, Integer> memo;\n static boolean[][] vis;\n static List<List<Integer>> adj;\n static List<Integer> vertices;\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n Set<String> set = new HashSet<>();\n int n = sc.nextInt();\n while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }\n System.out.println(set.size());\n }\n\n\n static int lowerBound(int[] arr, int element) {\n\n int low = 0, high = arr.length - 1, ans = 0;\n while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }\n\n return high;\n }\n\n static boolean isPalindrome(String word) {\n int i = 0, j = word.length() - 1;\n\n while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }\n\n return true;\n }\n\n static String longestPalindrome(String[] words, String word, int i) {\n if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }\n\n if (word.length() > 0 && isPalindrome(word))\n return word;\n String left = longestPalindrome(words, word + words[i], i + 1);\n String right = longestPalindrome(words, word, i + 1);\n\n if (left.length() > 0)\n return left;\n return right;\n }\n\n\n static int solve(int[] arr, int i, int j, int k) {\n if (i == j && arr[i] <= k)\n return 1;\n\n int left = 0, right = 0;\n if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;\n\n return left + right;\n }\n\n static int minMove(BigInteger bg, int count) {\n if (bg.equals(BigInteger.ONE))\n return count;\n\n int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE;\n if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);\n\n if (memo.containsKey(bg))\n return memo.get(bg);\n\n memo.put(bg, Math.min(first, Math.min(sec, last)));\n\n return Math.min(first, Math.min(sec, last));\n }\n}", "Main", "static Map<BigInteger, Integer> memo;", "memo", "static boolean[][] vis;", "vis", "static List<List<Integer>> adj;", "adj", "static List<Integer> vertices;", "vertices", "public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n Set<String> set = new HashSet<>();\n int n = sc.nextInt();\n while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }\n System.out.println(set.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n Set<String> set = new HashSet<>();\n int n = sc.nextInt();\n while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }\n System.out.println(set.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }", "n-- > 0", "n--", "n", "0", "{\n String word = sc.next();\n set.add(word);\n }", "String word = sc.next();", "word", "sc.next()", "sc.next", "sc", "set.add(word)", "set.add", "set", "word", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "String[] args", "args", "static int lowerBound(int[] arr, int element) {\n\n int low = 0, high = arr.length - 1, ans = 0;\n while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }\n\n return high;\n }", "lowerBound", "{\n\n int low = 0, high = arr.length - 1, ans = 0;\n while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }\n\n return high;\n }", "int low = 0", "low", "0", "high = arr.length - 1", "high", "arr.length - 1", "arr.length", "arr", "arr.length", "1", "ans = 0;", "ans", "0", "while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }", "low <= high", "low", "high", "{\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }", "int mid = low + (high - low) / 2;", "mid", "low + (high - low) / 2", "low", "(high - low) / 2", "(high - low)", "high", "low", "2", "if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;", "arr[mid] <= element", "arr[mid]", "arr", "mid", "element", "{\n low = mid + 1;\n ans = mid;\n }", "low = mid + 1", "low", "mid + 1", "mid", "1", "ans = mid", "ans", "mid", "high = mid - 1", "high", "mid - 1", "mid", "1", "return high;", "high", "int[] arr", "arr", "int element", "element", "static boolean isPalindrome(String word) {\n int i = 0, j = word.length() - 1;\n\n while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }\n\n return true;\n }", "isPalindrome", "{\n int i = 0, j = word.length() - 1;\n\n while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }\n\n return true;\n }", "int i = 0", "i", "0", "j = word.length() - 1;", "j", "word.length() - 1", "word.length()", "word.length", "word", "1", "while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }", "i <= j", "i", "j", "{\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }", "if (word.charAt(i++) != word.charAt(j--))\n return false;", "word.charAt(i++) != word.charAt(j--)", "word.charAt(i++)", "word.charAt", "word", "i++", "i", "word.charAt(j--)", "word.charAt", "word", "j--", "j", "return false;", "false", "return true;", "true", "String word", "word", "static String longestPalindrome(String[] words, String word, int i) {\n if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }\n\n if (word.length() > 0 && isPalindrome(word))\n return word;\n String left = longestPalindrome(words, word + words[i], i + 1);\n String right = longestPalindrome(words, word, i + 1);\n\n if (left.length() > 0)\n return left;\n return right;\n }", "longestPalindrome", "{\n if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }\n\n if (word.length() > 0 && isPalindrome(word))\n return word;\n String left = longestPalindrome(words, word + words[i], i + 1);\n String right = longestPalindrome(words, word, i + 1);\n\n if (left.length() > 0)\n return left;\n return right;\n }", "if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }", "i >= words.length", "i", "words.length", "words", "words.length", "{\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }", "if (isPalindrome(word))\n return word;", "isPalindrome(word)", "isPalindrome", "word", "return word;", "word", "return \"\";", "\"\"", "if (word.length() > 0 && isPalindrome(word))\n return word;", "word.length() > 0 && isPalindrome(word)", "word.length() > 0", "word.length()", "word.length", "word", "0", "isPalindrome(word)", "isPalindrome", "word", "return word;", "word", "String left = longestPalindrome(words, word + words[i], i + 1);", "left", "longestPalindrome(words, word + words[i], i + 1)", "longestPalindrome", "words", "word + words[i]", "word", "words[i]", "words", "i", "i + 1", "i", "1", "String right = longestPalindrome(words, word, i + 1);", "right", "longestPalindrome(words, word, i + 1)", "longestPalindrome", "words", "word", "i + 1", "i", "1", "if (left.length() > 0)\n return left;", "left.length() > 0", "left.length()", "left.length", "left", "0", "return left;", "left", "return right;", "right", "String[] words", "words", "String word", "word", "int i", "i", "static int solve(int[] arr, int i, int j, int k) {\n if (i == j && arr[i] <= k)\n return 1;\n\n int left = 0, right = 0;\n if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;\n\n return left + right;\n }", "solve", "{\n if (i == j && arr[i] <= k)\n return 1;\n\n int left = 0, right = 0;\n if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;\n\n return left + right;\n }", "if (i == j && arr[i] <= k)\n return 1;", "i == j && arr[i] <= k", "i == j", "i", "j", "arr[i] <= k", "arr[i]", "arr", "i", "k", "return 1;", "1", "int left = 0", "left", "0", "right = 0;", "right", "0", "if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;", "arr[i] <= k", "arr[i]", "arr", "i", "k", "left = solve(arr, i + 1, j, k) + 1", "left", "solve(arr, i + 1, j, k) + 1", "solve(arr, i + 1, j, k)", "solve", "arr", "i + 1", "i", "1", "j", "k", "1", "if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;", "arr[j] <= k", "arr[j]", "arr", "j", "k", "right = solve(arr, i, j - 1, k) + 1", "right", "solve(arr, i, j - 1, k) + 1", "solve(arr, i, j - 1, k)", "solve", "arr", "i", "j - 1", "j", "1", "k", "1", "return left + right;", "left + right", "left", "right", "int[] arr", "arr", "int i", "i", "int j", "j", "int k", "k", "static int minMove(BigInteger bg, int count) {\n if (bg.equals(BigInteger.ONE))\n return count;\n\n int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE;\n if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);\n\n if (memo.containsKey(bg))\n return memo.get(bg);\n\n memo.put(bg, Math.min(first, Math.min(sec, last)));\n\n return Math.min(first, Math.min(sec, last));\n }", "minMove", "{\n if (bg.equals(BigInteger.ONE))\n return count;\n\n int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE;\n if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);\n\n if (memo.containsKey(bg))\n return memo.get(bg);\n\n memo.put(bg, Math.min(first, Math.min(sec, last)));\n\n return Math.min(first, Math.min(sec, last));\n }", "if (bg.equals(BigInteger.ONE))\n return count;", "bg.equals(BigInteger.ONE)", "bg.equals", "bg", "BigInteger.ONE", "BigInteger", "BigInteger.ONE", "return count;", "count", "int first = Integer.MAX_VALUE", "first", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "sec = Integer.MAX_VALUE", "sec", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "last = Integer.MAX_VALUE;", "last", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);", "bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0", "bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO)", "bg.mod(BigInteger.valueOf(2)).compareTo", "bg.mod(BigInteger.valueOf(2))", "bg.mod", "bg", "BigInteger.valueOf(2)", "BigInteger.valueOf", "BigInteger", "2", "BigInteger.ZERO", "BigInteger", "BigInteger.ZERO", "0", "first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1)", "first", "minMove(bg.divide(BigInteger.valueOf(2)), count + 1)", "minMove", "bg.divide(BigInteger.valueOf(2))", "bg.divide", "bg", "BigInteger.valueOf(2)", "BigInteger.valueOf", "BigInteger", "2", "count + 1", "count", "1", "if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);", "bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0", "bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO)", "bg.mod(BigInteger.valueOf(3)).compareTo", "bg.mod(BigInteger.valueOf(3))", "bg.mod", "bg", "BigInteger.valueOf(3)", "BigInteger.valueOf", "BigInteger", "3", "BigInteger.ZERO", "BigInteger", "BigInteger.ZERO", "0", "sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1)", "sec", "minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1)", "minMove", "bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3))", "bg.multiply(BigInteger.valueOf(2)).divide", "bg.multiply(BigInteger.valueOf(2))", "bg.multiply", "bg", "BigInteger.valueOf(2)", "BigInteger.valueOf", "BigInteger", "2", "BigInteger.valueOf(3)", "BigInteger.valueOf", "BigInteger", "3", "count + 1", "count", "1", "if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);", "bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0", "bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO)", "bg.mod(BigInteger.valueOf(5)).compareTo", "bg.mod(BigInteger.valueOf(5))", "bg.mod", "bg", "BigInteger.valueOf(5)", "BigInteger.valueOf", "BigInteger", "5", "BigInteger.ZERO", "BigInteger", "BigInteger.ZERO", "0", "last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1)", "last", "minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1)", "minMove", "bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5))", "bg.multiply(BigInteger.valueOf(4)).divide", "bg.multiply(BigInteger.valueOf(4))", "bg.multiply", "bg", "BigInteger.valueOf(4)", "BigInteger.valueOf", "BigInteger", "4", "BigInteger.valueOf(5)", "BigInteger.valueOf", "BigInteger", "5", "count + 1", "count", "1", "if (memo.containsKey(bg))\n return memo.get(bg);", "memo.containsKey(bg)", "memo.containsKey", "memo", "bg", "return memo.get(bg);", "memo.get(bg)", "memo.get", "memo", "bg", "memo.put(bg, Math.min(first, Math.min(sec, last)))", "memo.put", "memo", "bg", "Math.min(first, Math.min(sec, last))", "Math.min", "Math", "first", "Math.min(sec, last)", "Math.min", "Math", "sec", "last", "return Math.min(first, Math.min(sec, last));", "Math.min(first, Math.min(sec, last))", "Math.min", "Math", "first", "Math.min(sec, last)", "Math.min", "Math", "sec", "last", "BigInteger bg", "bg", "int count", "count", "public class Main {\n static Map<BigInteger, Integer> memo;\n static boolean[][] vis;\n static List<List<Integer>> adj;\n static List<Integer> vertices;\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n Set<String> set = new HashSet<>();\n int n = sc.nextInt();\n while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }\n System.out.println(set.size());\n }\n\n\n static int lowerBound(int[] arr, int element) {\n\n int low = 0, high = arr.length - 1, ans = 0;\n while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }\n\n return high;\n }\n\n static boolean isPalindrome(String word) {\n int i = 0, j = word.length() - 1;\n\n while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }\n\n return true;\n }\n\n static String longestPalindrome(String[] words, String word, int i) {\n if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }\n\n if (word.length() > 0 && isPalindrome(word))\n return word;\n String left = longestPalindrome(words, word + words[i], i + 1);\n String right = longestPalindrome(words, word, i + 1);\n\n if (left.length() > 0)\n return left;\n return right;\n }\n\n\n static int solve(int[] arr, int i, int j, int k) {\n if (i == j && arr[i] <= k)\n return 1;\n\n int left = 0, right = 0;\n if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;\n\n return left + right;\n }\n\n static int minMove(BigInteger bg, int count) {\n if (bg.equals(BigInteger.ONE))\n return count;\n\n int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE;\n if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);\n\n if (memo.containsKey(bg))\n return memo.get(bg);\n\n memo.put(bg, Math.min(first, Math.min(sec, last)));\n\n return Math.min(first, Math.min(sec, last));\n }\n}", "public class Main {\n static Map<BigInteger, Integer> memo;\n static boolean[][] vis;\n static List<List<Integer>> adj;\n static List<Integer> vertices;\n\n public static void main(String[] args) throws IOException {\n Scanner sc = new Scanner(System.in);\n\n Set<String> set = new HashSet<>();\n int n = sc.nextInt();\n while (n-- > 0) {\n String word = sc.next();\n set.add(word);\n }\n System.out.println(set.size());\n }\n\n\n static int lowerBound(int[] arr, int element) {\n\n int low = 0, high = arr.length - 1, ans = 0;\n while (low <= high) {\n int mid = low + (high - low) / 2;\n if (arr[mid] <= element) {\n low = mid + 1;\n ans = mid;\n } else\n high = mid - 1;\n\n }\n\n return high;\n }\n\n static boolean isPalindrome(String word) {\n int i = 0, j = word.length() - 1;\n\n while (i <= j) {\n if (word.charAt(i++) != word.charAt(j--))\n return false;\n }\n\n return true;\n }\n\n static String longestPalindrome(String[] words, String word, int i) {\n if (i >= words.length) {\n if (isPalindrome(word))\n return word;\n\n return \"\";\n }\n\n if (word.length() > 0 && isPalindrome(word))\n return word;\n String left = longestPalindrome(words, word + words[i], i + 1);\n String right = longestPalindrome(words, word, i + 1);\n\n if (left.length() > 0)\n return left;\n return right;\n }\n\n\n static int solve(int[] arr, int i, int j, int k) {\n if (i == j && arr[i] <= k)\n return 1;\n\n int left = 0, right = 0;\n if (arr[i] <= k)\n left = solve(arr, i + 1, j, k) + 1;\n\n else if (arr[j] <= k)\n right = solve(arr, i, j - 1, k) + 1;\n\n return left + right;\n }\n\n static int minMove(BigInteger bg, int count) {\n if (bg.equals(BigInteger.ONE))\n return count;\n\n int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE;\n if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0)\n first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0)\n sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1);\n\n else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0)\n last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1);\n\n if (memo.containsKey(bg))\n return memo.get(bg);\n\n memo.put(bg, Math.min(first, Math.min(sec, last)));\n\n return Math.min(first, Math.min(sec, last));\n }\n}", "Main" ]
import java.io.IOException; import java.math.BigInteger; import java.util.*; public class Main { static Map<BigInteger, Integer> memo; static boolean[][] vis; static List<List<Integer>> adj; static List<Integer> vertices; public static void main(String[] args) throws IOException { Scanner sc = new Scanner(System.in); Set<String> set = new HashSet<>(); int n = sc.nextInt(); while (n-- > 0) { String word = sc.next(); set.add(word); } System.out.println(set.size()); } static int lowerBound(int[] arr, int element) { int low = 0, high = arr.length - 1, ans = 0; while (low <= high) { int mid = low + (high - low) / 2; if (arr[mid] <= element) { low = mid + 1; ans = mid; } else high = mid - 1; } return high; } static boolean isPalindrome(String word) { int i = 0, j = word.length() - 1; while (i <= j) { if (word.charAt(i++) != word.charAt(j--)) return false; } return true; } static String longestPalindrome(String[] words, String word, int i) { if (i >= words.length) { if (isPalindrome(word)) return word; return ""; } if (word.length() > 0 && isPalindrome(word)) return word; String left = longestPalindrome(words, word + words[i], i + 1); String right = longestPalindrome(words, word, i + 1); if (left.length() > 0) return left; return right; } static int solve(int[] arr, int i, int j, int k) { if (i == j && arr[i] <= k) return 1; int left = 0, right = 0; if (arr[i] <= k) left = solve(arr, i + 1, j, k) + 1; else if (arr[j] <= k) right = solve(arr, i, j - 1, k) + 1; return left + right; } static int minMove(BigInteger bg, int count) { if (bg.equals(BigInteger.ONE)) return count; int first = Integer.MAX_VALUE, sec = Integer.MAX_VALUE, last = Integer.MAX_VALUE; if (bg.mod(BigInteger.valueOf(2)).compareTo(BigInteger.ZERO) == 0) first = minMove(bg.divide(BigInteger.valueOf(2)), count + 1); else if (bg.mod(BigInteger.valueOf(3)).compareTo(BigInteger.ZERO) == 0) sec = minMove(bg.multiply(BigInteger.valueOf(2)).divide(BigInteger.valueOf(3)), count + 1); else if (bg.mod(BigInteger.valueOf(5)).compareTo(BigInteger.ZERO) == 0) last = minMove(bg.multiply(BigInteger.valueOf(4)).divide(BigInteger.valueOf(5)), count + 1); if (memo.containsKey(bg)) return memo.get(bg); memo.put(bg, Math.min(first, Math.min(sec, last))); return Math.min(first, Math.min(sec, last)); } }
[ 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, 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, 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 ], [ 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 ], [ 51, 53 ], [ 11, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 59, 60 ], [ 59, 61 ], [ 54, 62 ], [ 62, 63 ], [ 63, 64 ], [ 54, 65 ], [ 66, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 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.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int n = sc.nextInt();\n \n String[] b = new String[n];\n for(int i=0;i<n;i++){\n b[i] = sc.next();\n }\n Arrays.sort(b);\n String tmp = \"\";\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }\n\n System.out.println(cnt);\n }\n}", "import java.util.Arrays;", "Arrays", "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 // 整数の入力\n int n = sc.nextInt();\n \n String[] b = new String[n];\n for(int i=0;i<n;i++){\n b[i] = sc.next();\n }\n Arrays.sort(b);\n String tmp = \"\";\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }\n\n System.out.println(cnt);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int n = sc.nextInt();\n \n String[] b = new String[n];\n for(int i=0;i<n;i++){\n b[i] = sc.next();\n }\n Arrays.sort(b);\n String tmp = \"\";\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }\n\n System.out.println(cnt);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int n = sc.nextInt();\n \n String[] b = new String[n];\n for(int i=0;i<n;i++){\n b[i] = sc.next();\n }\n Arrays.sort(b);\n String tmp = \"\";\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }\n\n System.out.println(cnt);\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[n];", "b", "new String[n]", "n", "for(int i=0;i<n;i++){\n b[i] = sc.next();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n b[i] = sc.next();\n }", "{\n b[i] = sc.next();\n }", "b[i] = sc.next()", "b[i]", "b", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(b)", "Arrays.sort", "Arrays", "b", "String tmp = \"\";", "tmp", "\"\"", "int cnt = 0;", "cnt", "0", "for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }", "{\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }", "if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }", "!tmp.equals(b[i])", "tmp.equals(b[i])", "tmp.equals", "tmp", "b[i]", "b", "i", "{\n cnt++;\n tmp = b[i];\n }", "cnt++", "cnt", "tmp = b[i]", "tmp", "b[i]", "b", "i", "System.out.println(cnt)", "System.out.println", "System.out", "System", "System.out", "cnt", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int n = sc.nextInt();\n \n String[] b = new String[n];\n for(int i=0;i<n;i++){\n b[i] = sc.next();\n }\n Arrays.sort(b);\n String tmp = \"\";\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }\n\n System.out.println(cnt);\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n // 整数の入力\n int n = sc.nextInt();\n \n String[] b = new String[n];\n for(int i=0;i<n;i++){\n b[i] = sc.next();\n }\n Arrays.sort(b);\n String tmp = \"\";\n int cnt = 0;\n for(int i=0;i<n;i++){\n if(!tmp.equals(b[i])){\n cnt++;\n tmp = b[i];\n }\n }\n\n System.out.println(cnt);\n }\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); // 整数の入力 int n = sc.nextInt(); String[] b = new String[n]; for(int i=0;i<n;i++){ b[i] = sc.next(); } Arrays.sort(b); String tmp = ""; int cnt = 0; for(int i=0;i<n;i++){ if(!tmp.equals(b[i])){ cnt++; tmp = b[i]; } } System.out.println(cnt); } }
[ 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, 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 ], [ 62, 11 ], [ 62, 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 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 12, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "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 sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tSet<String> set = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(set.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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tSet<String> set = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(set.size());\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.nextLine());\n\t\tSet<String> set = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(set.size());\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tSet<String> set = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(set.size());\n\t}", "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", "Set<String> set = new HashSet<>();", "set", "new HashSet<>()", "for (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tset.add(sc.nextLine());\n\t\t}", "{\n\t\t\tset.add(sc.nextLine());\n\t\t}", "set.add(sc.nextLine())", "set.add", "set", "sc.nextLine()", "sc.nextLine", "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\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = Integer.parseInt(sc.nextLine());\n\t\tSet<String> set = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(set.size());\n\t}\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\t\tSet<String> set = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tset.add(sc.nextLine());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(set.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) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); Set<String> set = new HashSet<>(); for (int i = 0; i < n; i++) { set.add(sc.nextLine()); } sc.close(); 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, 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 ], [ 50, 5 ], [ 50, 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 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "import java .util.*;\n\npublic class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tSet<String> s = new HashSet<String>();\n\tfor(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}\n\tSystem.out.print(s.size());\n }\n}", "import java .util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tSet<String> s = new HashSet<String>();\n\tfor(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}\n\tSystem.out.print(s.size());\n }\n}", "Main", "public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tSet<String> s = new HashSet<String>();\n\tfor(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}\n\tSystem.out.print(s.size());\n }", "main", "{\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tSet<String> s = new HashSet<String>();\n\tfor(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}\n\tSystem.out.print(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<String>();", "s", "new HashSet<String>()", "for(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t s.add( sc.next() );\n\t}", "{\n\t s.add( sc.next() );\n\t}", "s.add( sc.next() )", "s.add", "s", "sc.next()", "sc.next", "sc", "System.out.print(s.size())", "System.out.print", "System.out", "System", "System.out", "s.size()", "s.size", "s", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tSet<String> s = new HashSet<String>();\n\tfor(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}\n\tSystem.out.print(s.size());\n }\n}", "public class Main{\n public static void main(String[] args){\n\tScanner sc = new Scanner(System.in);\n\tint n = sc.nextInt();\n\tSet<String> s = new HashSet<String>();\n\tfor(int i=0;i<n;i++){\n\t s.add( sc.next() );\n\t}\n\tSystem.out.print(s.size());\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(); Set<String> s = new HashSet<String>(); for(int i=0;i<n;i++){ s.add( sc.next() ); } System.out.print(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, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 57, 11 ], [ 57, 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 ], [ 39, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 12, 54 ], [ 54, 55 ], [ 0, 56 ], [ 56, 57 ], [ 56, 58 ] ]
[ "import java.util.Scanner;\nimport java.util.TreeMap;\nimport java.util.Map;\n\npublic class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n Map<String,Integer>map = new TreeMap<String,Integer>();\n for(int i = 0;i < N;i++){\n map.put(scanner.next(),0);\n }\n System.out.println(map.size());\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "import java.util.Map;", "Map", "java.util", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n Map<String,Integer>map = new TreeMap<String,Integer>();\n for(int i = 0;i < N;i++){\n map.put(scanner.next(),0);\n }\n System.out.println(map.size());\n }\n}", "Main", "public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n Map<String,Integer>map = new TreeMap<String,Integer>();\n for(int i = 0;i < N;i++){\n map.put(scanner.next(),0);\n }\n System.out.println(map.size());\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n Map<String,Integer>map = new TreeMap<String,Integer>();\n for(int i = 0;i < N;i++){\n map.put(scanner.next(),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", "Map<String,Integer>map = new TreeMap<String,Integer>();", "map", "new TreeMap<String,Integer>()", "for(int i = 0;i < N;i++){\n map.put(scanner.next(),0);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n map.put(scanner.next(),0);\n }", "{\n map.put(scanner.next(),0);\n }", "map.put(scanner.next(),0)", "map.put", "map", "scanner.next()", "scanner.next", "scanner", "0", "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 public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n Map<String,Integer>map = new TreeMap<String,Integer>();\n for(int i = 0;i < N;i++){\n map.put(scanner.next(),0);\n }\n System.out.println(map.size());\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n Map<String,Integer>map = new TreeMap<String,Integer>();\n for(int i = 0;i < N;i++){\n map.put(scanner.next(),0);\n }\n System.out.println(map.size());\n }\n}", "Main" ]
import java.util.Scanner; import java.util.TreeMap; import java.util.Map; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); Map<String,Integer>map = new TreeMap<String,Integer>(); for(int i = 0;i < N;i++){ map.put(scanner.next(),0); } System.out.println(map.size()); } }
[ 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, 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 ], [ 56, 8 ], [ 56, 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 ], [ 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 ], [ 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.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < N; i ++) {\n set.add(sc.nextLine());\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\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < N; i ++) {\n set.add(sc.nextLine());\n }\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 = Integer.parseInt(sc.nextLine());\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < N; i ++) {\n set.add(sc.nextLine());\n }\n\n System.out.println(set.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < N; i ++) {\n set.add(sc.nextLine());\n }\n\n System.out.println(set.size());\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", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "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", "String args[]", "args", "public class Main {\n\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < N; i ++) {\n set.add(sc.nextLine());\n }\n\n System.out.println(set.size());\n }\n}", "public class Main {\n\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n int N = Integer.parseInt(sc.nextLine());\n HashSet<String> set = new HashSet<>();\n for (int i = 0; i < N; i ++) {\n set.add(sc.nextLine());\n }\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 = Integer.parseInt(sc.nextLine()); HashSet<String> set = new HashSet<>(); for (int i = 0; i < N; i ++) { set.add(sc.nextLine()); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 2, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 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, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 14, 2, 2, 13, 17, 17, 0, 13, 2, 2, 13, 13, 13, 0, 13, 2, 2, 13, 13, 13, 0, 13, 17, 29, 13, 23, 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, 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, 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, 4, 18, 13, 17, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 275, 8 ], [ 275, 9 ], [ 9, 10 ], [ 275, 11 ], [ 11, 12 ], [ 275, 13 ], [ 13, 14 ], [ 13, 15 ], [ 275, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 18, 20 ], [ 275, 21 ], [ 21, 22 ], [ 275, 23 ], [ 23, 24 ], [ 275, 25 ], [ 25, 26 ], [ 275, 27 ], [ 27, 28 ], [ 275, 29 ], [ 29, 30 ], [ 275, 31 ], [ 31, 32 ], [ 275, 33 ], [ 33, 34 ], [ 275, 35 ], [ 35, 36 ], [ 275, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 39, 43 ], [ 43, 44 ], [ 43, 45 ], [ 39, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 39, 51 ], [ 51, 52 ], [ 51, 53 ], [ 39, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 63, 64 ], [ 39, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 39, 73 ], [ 73, 74 ], [ 74, 75 ], [ 37, 76 ], [ 76, 77 ], [ 275, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 89, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 88, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 104, 108 ], [ 88, 109 ], [ 109, 110 ], [ 109, 111 ], [ 80, 112 ], [ 112, 113 ], [ 78, 114 ], [ 114, 115 ], [ 78, 116 ], [ 116, 117 ], [ 275, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 118, 122 ], [ 122, 123 ], [ 118, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 124, 130 ], [ 130, 131 ], [ 118, 132 ], [ 132, 133 ], [ 132, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 132, 138 ], [ 138, 139 ], [ 118, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 143, 152 ], [ 152, 153 ], [ 152, 154 ], [ 142, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 118, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 118, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 173, 174 ], [ 118, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 179, 182 ], [ 182, 183 ], [ 118, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 188, 192 ], [ 118, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 197, 200 ], [ 200, 201 ], [ 118, 202 ], [ 202, 203 ], [ 202, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 204, 209 ], [ 209, 210 ], [ 210, 211 ], [ 211, 212 ], [ 211, 213 ], [ 209, 214 ], [ 214, 215 ], [ 214, 216 ], [ 209, 217 ], [ 217, 218 ], [ 218, 219 ], [ 209, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 221, 225 ], [ 225, 226 ], [ 204, 227 ], [ 227, 228 ], [ 202, 229 ], [ 229, 230 ], [ 118, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 233, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 238, 243 ], [ 243, 244 ], [ 243, 245 ], [ 238, 246 ], [ 246, 247 ], [ 247, 248 ], [ 238, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 251, 253 ], [ 250, 254 ], [ 254, 255 ], [ 233, 256 ], [ 256, 257 ], [ 231, 258 ], [ 258, 259 ], [ 118, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 118, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 270, 273 ], [ 0, 274 ], [ 274, 275 ], [ 274, 276 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 998244353;\n\tstatic long inf = (long) 1e18 + 1;\n\tstatic int[] col;\n\tstatic int n, m;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][][] memo;\n\tstatic HashSet<Integer> h;\n\tstatic int[] a;\n\tstatic Integer[][] g;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a=sc.nextInt();\n\t\tHashSet<String>s=new HashSet<>();\n\t\twhile(a-->0)\n\t\t\ts.add(sc.nextLine());\n\t\tSystem.out.println(s.size());\n\t\tout.flush();\n\t}\n\n\tstatic long modPow(long a, long e)\n\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(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\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 int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\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}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 998244353;\n\tstatic long inf = (long) 1e18 + 1;\n\tstatic int[] col;\n\tstatic int n, m;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][][] memo;\n\tstatic HashSet<Integer> h;\n\tstatic int[] a;\n\tstatic Integer[][] g;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a=sc.nextInt();\n\t\tHashSet<String>s=new HashSet<>();\n\t\twhile(a-->0)\n\t\t\ts.add(sc.nextLine());\n\t\tSystem.out.println(s.size());\n\t\tout.flush();\n\t}\n\n\tstatic long modPow(long a, long e)\n\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(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\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 int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\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}", "Main", "static PrintWriter out;", "out", "static StringBuilder sb;", "sb", "static int mod = 998244353;", "mod", "998244353", "static long inf = (long) 1e18 + 1;", "inf", "(long) 1e18 + 1", "(long) 1e18", "1", "static int[] col;", "col", "static int n", "n", "m;", "m", "static ArrayList<Integer>[] ad;", "ad", "static long[][][] memo;", "memo", "static HashSet<Integer> h;", "h", "static int[] a;", "a", "static Integer[][] g;", "g", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a=sc.nextInt();\n\t\tHashSet<String>s=new HashSet<>();\n\t\twhile(a-->0)\n\t\t\ts.add(sc.nextLine());\n\t\tSystem.out.println(s.size());\n\t\tout.flush();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a=sc.nextInt();\n\t\tHashSet<String>s=new HashSet<>();\n\t\twhile(a-->0)\n\t\t\ts.add(sc.nextLine());\n\t\tSystem.out.println(s.size());\n\t\tout.flush();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String>s=new HashSet<>();", "s", "new HashSet<>()", "while(a-->0)\n\t\t\ts.add(sc.nextLine());", "a-->0", "a--", "a", "0", "s.add(sc.nextLine())", "s.add", "s", "sc.nextLine()", "sc.nextLine", "sc", "System.out.println(s.size())", "System.out.println", "System.out", "System", "System.out", "s.size()", "s.size", "s", "out.flush()", "out.flush", "out", "String[] args", "args", "static long modPow(long a, long e)\n\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}", "modPow", "{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}", "long res = 1;", "res", "1", "while (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}", "e > 0", "e", "0", "{\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}", "if ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;", "(e & 1) == 1", "(e & 1)", "e", "1", "1", "res = (res * a) % mod", "res", "(res * a) % mod", "(res * a)", "res", "a", "mod", "a = (a * a) % mod", "a", "(a * a) % mod", "(a * a)", "a", "a", "mod", "e >>= 1", "e", "1", "return res;", "res", "long a", "a", "long e", "e", "static class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(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\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 int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\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}", "Scanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}", "Scanner", "{\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 Scanner(String file) throws Exception {\n\t\t\tbr = new BufferedReader(new FileReader(file));\n\t\t}", "Scanner", "{\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 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 int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "nextArrInt", "{\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n\t\t\t\ta[i] = 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[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "nextArrLong", "{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[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++)\n\t\t\t\ta[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 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\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 998244353;\n\tstatic long inf = (long) 1e18 + 1;\n\tstatic int[] col;\n\tstatic int n, m;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][][] memo;\n\tstatic HashSet<Integer> h;\n\tstatic int[] a;\n\tstatic Integer[][] g;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a=sc.nextInt();\n\t\tHashSet<String>s=new HashSet<>();\n\t\twhile(a-->0)\n\t\t\ts.add(sc.nextLine());\n\t\tSystem.out.println(s.size());\n\t\tout.flush();\n\t}\n\n\tstatic long modPow(long a, long e)\n\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(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\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 int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\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}", "public class Main {\n\tstatic PrintWriter out;\n\tstatic StringBuilder sb;\n\tstatic int mod = 998244353;\n\tstatic long inf = (long) 1e18 + 1;\n\tstatic int[] col;\n\tstatic int n, m;\n\tstatic ArrayList<Integer>[] ad;\n\tstatic long[][][] memo;\n\tstatic HashSet<Integer> h;\n\tstatic int[] a;\n\tstatic Integer[][] g;\n\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tout = new PrintWriter(System.out);\n\t\tint a=sc.nextInt();\n\t\tHashSet<String>s=new HashSet<>();\n\t\twhile(a-->0)\n\t\t\ts.add(sc.nextLine());\n\t\tSystem.out.println(s.size());\n\t\tout.flush();\n\t}\n\n\tstatic long modPow(long a, long e)\n\n\t{\n\t\tlong res = 1;\n\t\twhile (e > 0) {\n\t\t\tif ((e & 1) == 1)\n\t\t\t\tres = (res * a) % mod;\n\t\t\ta = (a * a) % mod;\n\t\t\te >>= 1;\n\t\t}\n\t\treturn res;\n\t}\n\n\tstatic class Scanner {\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream system) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(system));\n\t\t}\n\n\t\tpublic Scanner(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\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 int[] nextArrInt(int n) throws IOException {\n\t\t\tint[] a = new int[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextInt();\n\t\t\treturn a;\n\t\t}\n\n\t\tpublic long[] nextArrLong(int n) throws IOException {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\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}", "Main" ]
import java.util.*; import java.io.*; public class Main { static PrintWriter out; static StringBuilder sb; static int mod = 998244353; static long inf = (long) 1e18 + 1; static int[] col; static int n, m; static ArrayList<Integer>[] ad; static long[][][] memo; static HashSet<Integer> h; static int[] a; static Integer[][] g; public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); out = new PrintWriter(System.out); int a=sc.nextInt(); HashSet<String>s=new HashSet<>(); while(a-->0) s.add(sc.nextLine()); System.out.println(s.size()); out.flush(); } static long modPow(long a, long e) { long res = 1; while (e > 0) { if ((e & 1) == 1) res = (res * a) % mod; a = (a * a) % mod; e >>= 1; } return res; } static class Scanner { StringTokenizer st; BufferedReader br; public Scanner(InputStream system) { br = new BufferedReader(new InputStreamReader(system)); } public Scanner(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 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 int[] nextArrInt(int n) throws IOException { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } public long[] nextArrLong(int n) throws IOException { long[] a = new long[n]; for (int i = 0; i < n; i++) a[i] = nextLong(); return a; } public boolean ready() throws IOException { return br.ready(); } public void waitForInput() throws InterruptedException { Thread.sleep(3000); } } }
[ 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, 9, 30, 40, 13, 4, 18, 13, 13, 17, 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 ], [ 71, 8 ], [ 71, 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 ], [ 49, 50 ], [ 44, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 54, 58 ], [ 11, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 9, 68 ], [ 68, 69 ], [ 0, 70 ], [ 70, 71 ], [ 70, 72 ] ]
[ "\nimport java.util.HashMap;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint ans = 0;\n\t\tHashMap<String, Integer> goods = new HashMap<String, Integer>();\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}\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 scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint ans = 0;\n\t\tHashMap<String, Integer> goods = new HashMap<String, Integer>();\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint ans = 0;\n\t\tHashMap<String, Integer> goods = new HashMap<String, Integer>();\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint ans = 0;\n\t\tHashMap<String, Integer> goods = new HashMap<String, Integer>();\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "int ans = 0;", "ans", "0", "HashMap<String, Integer> goods = new HashMap<String, Integer>();", "goods", "new HashMap<String, Integer>()", "for (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 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 S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}", "{\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}", "String S = scan.next();", "S", "scan.next()", "scan.next", "scan", "if(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}", "goods.containsKey(S)", "goods.containsKey", "goods", "S", "{\n\t\t\t\tcontinue;\n\t\t\t}", "continue;", "{\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}", "ans++", "ans", "goods.put(S, 1)", "goods.put", "goods", "S", "1", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint ans = 0;\n\t\tHashMap<String, Integer> goods = new HashMap<String, Integer>();\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint ans = 0;\n\t\tHashMap<String, Integer> goods = new HashMap<String, Integer>();\n\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scan.next();\n\t\t\tif(goods.containsKey(S)) {\n\t\t\t\tcontinue;\n\t\t\t}else {\n\t\t\t\tans++;\n\t\t\t\tgoods.put(S, 1);\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t\tscan.close();\n\t}\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(); int ans = 0; HashMap<String, Integer> goods = new HashMap<String, Integer>(); for (int i = 0; i < N; i++) { String S = scan.next(); if(goods.containsKey(S)) { continue; }else { ans++; goods.put(S, 1); } } System.out.println(ans); scan.close(); } }
[ 7, 6, 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, 41, 13, 20, 28, 13, 13, 30, 30, 41, 13, 4, 18, 13, 13, 4, 18, 13, 13, 8, 2, 13, 17, 17, 2, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 0, 2 ], [ 2, 3 ], [ 2, 4 ], [ 0, 5 ], [ 5, 6 ], [ 5, 7 ], [ 0, 8 ], [ 8, 9 ], [ 8, 10 ], [ 0, 11 ], [ 11, 12 ], [ 11, 13 ], [ 0, 14 ], [ 14, 15 ], [ 14, 16 ], [ 0, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 21, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 21, 30 ], [ 30, 31 ], [ 30, 32 ], [ 21, 33 ], [ 33, 34 ], [ 33, 35 ], [ 21, 36 ], [ 36, 37 ], [ 36, 38 ], [ 36, 39 ], [ 40, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 40, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 21, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 19, 67 ], [ 67, 68 ] ]
[ "import java.util.ArrayList; \nimport java.util.List;\nimport java.util.Scanner;\nimport java.util.HashMap;\nimport java.util.Map;\n\n\nclass Main {\n\n public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n int x=stdIn.nextInt();\n List<String> list=new ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n };\n \n Map<String,Integer> map=new HashMap<>();\n for(String s:list){\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }\n\n System.out.println(map.size());\n \n }\n\n \n\n}", "ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n }", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "class Main {\n\n public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n int x=stdIn.nextInt();\n List<String> list=new ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n };\n \n Map<String,Integer> map=new HashMap<>();\n for(String s:list){\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }\n\n System.out.println(map.size());\n \n }\n\n \n\n}", "Main", "public static void main(String[] args) {\n Scanner stdIn=new Scanner(System.in);\n int x=stdIn.nextInt();\n List<String> list=new ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n };\n \n Map<String,Integer> map=new HashMap<>();\n for(String s:list){\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }\n\n System.out.println(map.size());\n \n }", "main", "{\n Scanner stdIn=new Scanner(System.in);\n int x=stdIn.nextInt();\n List<String> list=new ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n };\n \n Map<String,Integer> map=new HashMap<>();\n for(String s:list){\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }\n\n System.out.println(map.size());\n \n }", "Scanner stdIn=new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int x=stdIn.nextInt();", "x", "stdIn.nextInt()", "stdIn.nextInt", "stdIn", "List<String> list=new ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n };", "list", "new ArrayList<String>(){\n {\n for(int i=0; i<x; i++){\n add(stdIn.next());\n }\n }\n }", "Map<String,Integer> map=new HashMap<>();", "map", "new HashMap<>()", "for(String s:list){\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }", "String s", "list", "{\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }", "{\n Integer i=map.get(s);\n map.put(s,i==null?1:i+1);\n }", "Integer i=map.get(s);", "i", "map.get(s)", "map.get", "map", "s", "map.put(s,i==null?1:i+1)", "map.put", "map", "s", "i==null?1:i+1", "i==null", "i", "null", "1", "i+1", "i", "1", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "String[] args", "args" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; import java.util.HashMap; import java.util.Map; class Main { public static void main(String[] args) { Scanner stdIn=new Scanner(System.in); int x=stdIn.nextInt(); List<String> list=new ArrayList<String>(){ { for(int i=0; i<x; i++){ add(stdIn.next()); } } }; Map<String,Integer> map=new HashMap<>(); for(String s:list){ Integer i=map.get(s); map.put(s,i==null?1:i+1); } System.out.println(map.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 41, 13, 17, 0, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 0, 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 ], [ 60, 5 ], [ 60, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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 ], [ 37, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 6, 57 ], [ 57, 58 ], [ 0, 59 ], [ 59, 60 ], [ 59, 61 ] ]
[ "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,ans=0;\n \n n = sc.nextInt();\n \n Set<String> set = new HashSet<String>();\n \n for(int i = 0; i < n; i++){\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }\n \n System.out.println(set.size());\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,ans=0;\n \n n = sc.nextInt();\n \n Set<String> set = new HashSet<String>();\n \n for(int i = 0; i < n; i++){\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }\n \n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n,ans=0;\n \n n = sc.nextInt();\n \n Set<String> set = new HashSet<String>();\n \n for(int i = 0; i < n; i++){\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }\n \n System.out.println(set.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n,ans=0;\n \n n = sc.nextInt();\n \n Set<String> set = new HashSet<String>();\n \n for(int i = 0; i < n; i++){\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }\n \n System.out.println(set.size());\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n", "n", "ans=0;", "ans", "0", "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 \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }", "{\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }", "String prize;", "prize", "prize = sc.next()", "prize", "sc.next()", "sc.next", "sc", "set.add(prize)", "set.add", "set", "prize", "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 Scanner sc = new Scanner(System.in);\n int n,ans=0;\n \n n = sc.nextInt();\n \n Set<String> set = new HashSet<String>();\n \n for(int i = 0; i < n; i++){\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }\n \n System.out.println(set.size());\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n,ans=0;\n \n n = sc.nextInt();\n \n Set<String> set = new HashSet<String>();\n \n for(int i = 0; i < n; i++){\n \n String prize;\n prize = sc.next();\n \n set.add(prize);\n }\n \n System.out.println(set.size());\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,ans=0; n = sc.nextInt(); Set<String> set = new HashSet<String>(); for(int i = 0; i < n; i++){ String prize; prize = sc.next(); set.add(prize); } 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, 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 ], [ 50, 5 ], [ 50, 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 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int N= scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0;i<N;i++){\n hs.add(scan.next());\n }\n System.out.println(hs.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 scan = new Scanner(System.in);\n int N= scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0;i<N;i++){\n hs.add(scan.next());\n }\n System.out.println(hs.size());\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int N= scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0;i<N;i++){\n hs.add(scan.next());\n }\n System.out.println(hs.size());\n }", "main", "{\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int N= scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0;i<N;i++){\n hs.add(scan.next());\n }\n System.out.println(hs.size());\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N= scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "HashSet hs = new HashSet();", "hs", "new HashSet()", "for(int i=0;i<N;i++){\n hs.add(scan.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n hs.add(scan.next());\n }", "{\n hs.add(scan.next());\n }", "hs.add(scan.next())", "hs.add", "hs", "scan.next()", "scan.next", "scan", "System.out.println(hs.size())", "System.out.println", "System.out", "System", "System.out", "hs.size()", "hs.size", "hs", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int N= scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0;i<N;i++){\n hs.add(scan.next());\n }\n System.out.println(hs.size());\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner scan = new Scanner(System.in);\n int N= scan.nextInt();\n HashSet hs = new HashSet();\n for(int i=0;i<N;i++){\n hs.add(scan.next());\n }\n System.out.println(hs.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { // Your code here! Scanner scan = new Scanner(System.in); int N= scan.nextInt(); HashSet hs = new HashSet(); for(int i=0;i<N;i++){ hs.add(scan.next()); } System.out.println(hs.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, 15, 13, 17, 6, 13, 41, 13, 41, 13, 17, 12, 13, 30, 0, 13, 20, 41, 13, 4, 13, 41, 13, 18, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 18, 4, 13, 17, 4, 13, 4, 18, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 18, 13, 13, 30, 29, 17, 14, 2, 18, 13, 13, 18, 13, 13, 30, 29, 17, 14, 2, 18, 13, 13, 18, 13, 13, 30, 29, 17, 29, 17, 23, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 29, 13, 29, 40, 17, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 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, 38, 5, 13, 30, 4, 18, 13, 29, 20, 30, 29, 4, 18, 4, 18, 13, 17, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 17, 30, 41, 13, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 17, 30, 41, 13, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 29, 17, 30, 41, 13, 4, 13, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 18, 13, 13, 29, 13, 12, 13, 30, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 18, 13, 13, 12, 13, 30, 14, 13, 4, 18, 18, 13, 13, 13, 23, 13, 12, 13, 30, 14, 13, 4, 18, 18, 13, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 480, 29 ], [ 480, 30 ], [ 30, 31 ], [ 480, 32 ], [ 32, 33 ], [ 32, 34 ], [ 480, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 37, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 37, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 37, 50 ], [ 50, 51 ], [ 50, 52 ], [ 37, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 37, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 35, 78 ], [ 78, 79 ], [ 480, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 82, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 82, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 93, 103 ], [ 103, 104 ], [ 104, 105 ], [ 93, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 111, 113 ], [ 108, 114 ], [ 114, 115 ], [ 115, 116 ], [ 107, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 118, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 117, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 133, 134 ], [ 133, 135 ], [ 128, 136 ], [ 136, 137 ], [ 137, 138 ], [ 82, 139 ], [ 139, 140 ], [ 80, 141 ], [ 141, 142 ], [ 80, 143 ], [ 143, 144 ], [ 480, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 150, 152 ], [ 148, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 155, 157 ], [ 148, 158 ], [ 158, 159 ], [ 159, 160 ], [ 148, 161 ], [ 162, 162 ], [ 162, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 164, 167 ], [ 167, 168 ], [ 167, 169 ], [ 163, 170 ], [ 170, 171 ], [ 171, 172 ], [ 147, 173 ], [ 173, 174 ], [ 174, 175 ], [ 145, 176 ], [ 176, 177 ], [ 145, 178 ], [ 178, 179 ], [ 480, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 185, 187 ], [ 182, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 182, 192 ], [ 192, 193 ], [ 180, 194 ], [ 194, 195 ], [ 480, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 202, 203 ], [ 202, 204 ], [ 198, 205 ], [ 205, 206 ], [ 206, 207 ], [ 207, 208 ], [ 207, 209 ], [ 205, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 212, 214 ], [ 205, 215 ], [ 215, 216 ], [ 216, 217 ], [ 205, 218 ], [ 219, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 224, 225 ], [ 224, 226 ], [ 198, 227 ], [ 227, 228 ], [ 196, 229 ], [ 229, 230 ], [ 480, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 237, 238 ], [ 238, 239 ], [ 233, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 240, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 247, 249 ], [ 240, 250 ], [ 250, 251 ], [ 251, 252 ], [ 240, 253 ], [ 254, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 255, 259 ], [ 259, 260 ], [ 260, 261 ], [ 259, 262 ], [ 233, 263 ], [ 263, 264 ], [ 231, 265 ], [ 265, 266 ], [ 480, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 273, 277 ], [ 277, 278 ], [ 270, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 281, 286 ], [ 480, 287 ], [ 287, 288 ], [ 287, 289 ], [ 289, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 294, 295 ], [ 295, 296 ], [ 293, 297 ], [ 297, 298 ], [ 290, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 302, 303 ], [ 299, 304 ], [ 304, 305 ], [ 304, 306 ], [ 307, 308 ], [ 307, 309 ], [ 299, 310 ], [ 310, 311 ], [ 311, 312 ], [ 312, 313 ], [ 312, 314 ], [ 310, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 317, 319 ], [ 310, 320 ], [ 320, 321 ], [ 321, 322 ], [ 310, 323 ], [ 324, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 326, 328 ], [ 325, 329 ], [ 329, 330 ], [ 330, 331 ], [ 329, 332 ], [ 332, 333 ], [ 332, 334 ], [ 299, 335 ], [ 335, 336 ], [ 480, 337 ], [ 337, 338 ], [ 337, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 341, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 343, 347 ], [ 347, 348 ], [ 340, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 352, 353 ], [ 349, 354 ], [ 354, 355 ], [ 354, 356 ], [ 357, 358 ], [ 357, 359 ], [ 349, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 360, 365 ], [ 365, 366 ], [ 365, 367 ], [ 367, 368 ], [ 367, 369 ], [ 360, 370 ], [ 370, 371 ], [ 371, 372 ], [ 360, 373 ], [ 374, 374 ], [ 374, 375 ], [ 375, 376 ], [ 376, 377 ], [ 376, 378 ], [ 375, 379 ], [ 379, 380 ], [ 380, 381 ], [ 379, 382 ], [ 382, 383 ], [ 382, 384 ], [ 349, 385 ], [ 385, 386 ], [ 480, 387 ], [ 387, 388 ], [ 387, 389 ], [ 389, 390 ], [ 390, 391 ], [ 391, 392 ], [ 391, 393 ], [ 393, 394 ], [ 394, 395 ], [ 395, 396 ], [ 393, 397 ], [ 397, 398 ], [ 390, 399 ], [ 399, 400 ], [ 400, 401 ], [ 400, 402 ], [ 402, 403 ], [ 399, 404 ], [ 404, 405 ], [ 404, 406 ], [ 407, 408 ], [ 407, 409 ], [ 399, 410 ], [ 410, 411 ], [ 411, 412 ], [ 412, 413 ], [ 412, 414 ], [ 410, 415 ], [ 415, 416 ], [ 415, 417 ], [ 417, 418 ], [ 417, 419 ], [ 410, 420 ], [ 420, 421 ], [ 421, 422 ], [ 410, 423 ], [ 424, 424 ], [ 424, 425 ], [ 425, 426 ], [ 426, 427 ], [ 426, 428 ], [ 425, 429 ], [ 429, 430 ], [ 430, 431 ], [ 429, 432 ], [ 432, 433 ], [ 432, 434 ], [ 399, 435 ], [ 435, 436 ], [ 480, 437 ], [ 437, 438 ], [ 437, 439 ], [ 439, 440 ], [ 440, 441 ], [ 441, 442 ], [ 442, 443 ], [ 442, 444 ], [ 440, 445 ], [ 437, 446 ], [ 446, 447 ], [ 480, 448 ], [ 448, 449 ], [ 448, 450 ], [ 450, 451 ], [ 451, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 480, 456 ], [ 456, 457 ], [ 456, 458 ], [ 458, 459 ], [ 459, 460 ], [ 459, 461 ], [ 461, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 461, 466 ], [ 456, 467 ], [ 467, 468 ], [ 480, 469 ], [ 469, 470 ], [ 469, 471 ], [ 471, 472 ], [ 472, 473 ], [ 472, 474 ], [ 474, 475 ], [ 475, 476 ], [ 476, 477 ], [ 476, 478 ], [ 0, 479 ], [ 479, 480 ], [ 479, 481 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashSet;\nimport java.util.Map;\nimport java.util.Set;\nimport java.util.TreeMap;\nimport java.util.Iterator;\n\npublic class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tHashSet<String> s = new HashSet<String>();\n\t\tfor(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}\n\t\tprint(s.size());\n\t\t\n\t\t/*\n\t\t * Old version: no Set used\n\t\t * \n\t\tString[] ss = new String[N];\n\t\tfor(int k=0;k<N;k++) {\n\t\t\tss[k]=readLine()[0];\n\t\t}\n\t\tint cnt = N;\n\t\tArrays.sort(ss);\n\t\tfor(int i=0;i<N-1;i++) {\n\t\t\tif(ss[i].equals(ss[i+1])) {\n\t\t\t\tcnt--;\n\t\t\t}\n\t\t}\n\t\tprint(cnt);*/\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\tprivate static boolean cps(String s1, String s2) {\n\t\tchar[] s1c = s1.toCharArray();\n\t\tchar[] s2c = s2.toCharArray();\n\t\tfor(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Set;", "Set", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "import java.util.Iterator;", "Iterator", "java.util", "public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tHashSet<String> s = new HashSet<String>();\n\t\tfor(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}\n\t\tprint(s.size());\n\t\t\n\t\t/*\n\t\t * Old version: no Set used\n\t\t * \n\t\tString[] ss = new String[N];\n\t\tfor(int k=0;k<N;k++) {\n\t\t\tss[k]=readLine()[0];\n\t\t}\n\t\tint cnt = N;\n\t\tArrays.sort(ss);\n\t\tfor(int i=0;i<N-1;i++) {\n\t\t\tif(ss[i].equals(ss[i+1])) {\n\t\t\t\tcnt--;\n\t\t\t}\n\t\t}\n\t\tprint(cnt);*/\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\tprivate static boolean cps(String s1, String s2) {\n\t\tchar[] s1c = s1.toCharArray();\n\t\tchar[] s2c = s2.toCharArray();\n\t\tfor(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "Main", "static BufferedReader reader;", "reader", "final static boolean MODE_DEBUG = false;", "MODE_DEBUG", "false", "public static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tHashSet<String> s = new HashSet<String>();\n\t\tfor(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}\n\t\tprint(s.size());\n\t\t\n\t\t/*\n\t\t * Old version: no Set used\n\t\t * \n\t\tString[] ss = new String[N];\n\t\tfor(int k=0;k<N;k++) {\n\t\t\tss[k]=readLine()[0];\n\t\t}\n\t\tint cnt = N;\n\t\tArrays.sort(ss);\n\t\tfor(int i=0;i<N-1;i++) {\n\t\t\tif(ss[i].equals(ss[i+1])) {\n\t\t\t\tcnt--;\n\t\t\t}\n\t\t}\n\t\tprint(cnt);*/\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tHashSet<String> s = new HashSet<String>();\n\t\tfor(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}\n\t\tprint(s.size());\n\t\t\n\t\t/*\n\t\t * Old version: no Set used\n\t\t * \n\t\tString[] ss = new String[N];\n\t\tfor(int k=0;k<N;k++) {\n\t\t\tss[k]=readLine()[0];\n\t\t}\n\t\tint cnt = N;\n\t\tArrays.sort(ss);\n\t\tfor(int i=0;i<N-1;i++) {\n\t\t\tif(ss[i].equals(ss[i+1])) {\n\t\t\t\tcnt--;\n\t\t\t}\n\t\t}\n\t\tprint(cnt);*/\n\t}", "reader = new BufferedReader(new InputStreamReader(System.in))", "reader", "new BufferedReader(new InputStreamReader(System.in))", "int[] NM = readLineInt();", "NM", "readLineInt()", "readLineInt", "int N = NM[0];", "N", "NM[0]", "NM", "0", "HashSet<String> s = new HashSet<String>();", "s", "new HashSet<String>()", "for(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}", "int k=0;", "int k=0;", "k", "0", "k<N", "k", "N", "k++", "k++", "k", "{\n\t\t\ts.add(readLine()[0]);\n\t\t}", "{\n\t\t\ts.add(readLine()[0]);\n\t\t}", "s.add(readLine()[0])", "s.add", "s", "readLine()[0]", "readLine()", "readLine", "0", "print(s.size())", "print", "s.size()", "s.size", "s", "String[] args", "args", "private static boolean cps(String s1, String s2) {\n\t\tchar[] s1c = s1.toCharArray();\n\t\tchar[] s2c = s2.toCharArray();\n\t\tfor(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}\n\t\treturn true;\n\t}", "cps", "{\n\t\tchar[] s1c = s1.toCharArray();\n\t\tchar[] s2c = s2.toCharArray();\n\t\tfor(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}\n\t\treturn true;\n\t}", "char[] s1c = s1.toCharArray();", "s1c", "s1.toCharArray()", "s1.toCharArray", "s1", "char[] s2c = s2.toCharArray();", "s2c", "s2.toCharArray()", "s2.toCharArray", "s2", "for(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<s1c.length", "i", "s1c.length", "s1c", "s1c.length", "i++", "i++", "i", "{\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}", "{\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}", "if(i>=s2c.length) {return false;}", "i>=s2c.length", "i", "s2c.length", "s2c", "s2c.length", "{return false;}", "return false;", "false", "if(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}", "s1c[i]>s2c[i]", "s1c[i]", "s1c", "i", "s2c[i]", "s2c", "i", "{return false;}", "return false;", "false", "if(s1c[i]<s2c[i]) {return true;}", "s1c[i]<s2c[i]", "s1c[i]", "s1c", "i", "s2c[i]", "s2c", "i", "{return true;}", "return true;", "true", "return true;", "true", "String s1", "s1", "String s2", "s2", "private static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "arraySearch", "{\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}", "for(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<heystack.length", "i", "heystack.length", "heystack", "heystack.length", "i++", "i++", "i", "{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}", "if(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}", "needle.equals(heystack[i])", "needle.equals", "needle", "heystack[i]", "heystack", "i", "{\n\t\t\t\treturn i;\n\t\t\t}", "return i;", "i", "return -1;", "-1", "1", "T needle", "needle", "T[] heystack", "heystack", "private static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}", "sort", "{\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}", "int[] copy = array_copy(base);", "copy", "array_copy(base)", "array_copy", "base", "Arrays.sort(copy)", "Arrays.sort", "Arrays", "copy", "return copy;", "copy", "int[] base", "base", "private static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}", "array_copy", "{\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}", "int[] copy = new int[base.length];", "copy", "new int[base.length]", "base.length", "base", "base.length", "for(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<base.length", "i", "base.length", "base", "base.length", "i++", "i++", "i", "{\n\t\t\tcopy[i] = base[i];\n\t\t}", "{\n\t\t\tcopy[i] = base[i];\n\t\t}", "copy[i] = base[i]", "copy[i]", "copy", "i", "base[i]", "base", "i", "return copy;", "copy", "int[] base", "base", "private static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}", "asArray", "{\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}", "int[] intlist = new int[ints.size()];", "intlist", "new int[ints.size()]", "ints.size()", "ints.size", "ints", "for(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<intlist.length", "i", "intlist.length", "intlist", "intlist.length", "i++", "i++", "i", "{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}", "{\n\t\t\tintlist[i] = ints.get(i);\n\t\t}", "intlist[i] = ints.get(i)", "intlist[i]", "intlist", "i", "ints.get(i)", "ints.get", "ints", "i", "return intlist;", "intlist", "ArrayList<Integer> ints", "ints", "private static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}", "readLine", "{\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}", "try{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return new String[]{e.getMessage()};", "new String[]{e.getMessage()}", "{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}", "return reader.readLine().split(\" \");", "reader.readLine().split(\" \")", "reader.readLine().split", "reader.readLine()", "reader.readLine", "reader", "\" \"", "private static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "readLineInt", "{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "try{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return null;", "null", "{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}", "String[] s = readLine();", "s", "readLine()", "readLine", "int[] ints = new int[s.length];", "ints", "new int[s.length]", "s.length", "s", "s.length", "for(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<ints.length", "i", "ints.length", "ints", "ints.length", "i++", "i++", "i", "{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}", "{\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}", "ints[i] = Integer.parseInt(s[i])", "ints[i]", "ints", "i", "Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "return ints;", "ints", "private static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "readLineByte", "{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "try{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return null;", "null", "{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}", "String[] s = readLine();", "s", "readLine()", "readLine", "byte[] bytes = new byte[s.length];", "bytes", "new byte[s.length]", "s.length", "s", "s.length", "for(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<bytes.length", "i", "bytes.length", "bytes", "bytes.length", "i++", "i++", "i", "{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}", "{\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}", "bytes[i] = Byte.parseByte(s[i])", "bytes[i]", "bytes", "i", "Byte.parseByte(s[i])", "Byte.parseByte", "Byte", "s[i]", "s", "i", "return bytes;", "bytes", "private static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "readLineChar", "{\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}", "try{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "Exception e", "{\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "return null;", "null", "{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}", "String[] s = readLine();", "s", "readLine()", "readLine", "char[] chars = new char[s.length];", "chars", "new char[s.length]", "s.length", "s", "s.length", "for(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<chars.length", "i", "chars.length", "chars", "chars.length", "i++", "i++", "i", "{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}", "{\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}", "chars[i] = (char)Integer.parseInt(s[i])", "chars[i]", "chars", "i", "(char)Integer.parseInt(s[i])", "Integer.parseInt", "Integer", "s[i]", "s", "i", "return chars;", "chars", "private static void print(Object o){\n\t\tSystem.out.println(o);\n\t}", "print", "{\n\t\tSystem.out.println(o);\n\t}", "System.out.println(o)", "System.out.println", "System.out", "System", "System.out", "o", "Object o", "o", "private static void print(){\n\t\tSystem.out.println();\n\t}", "print", "{\n\t\tSystem.out.println();\n\t}", "System.out.println()", "System.out.println", "System.out", "System", "System.out", "private static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}", "printd", "{\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}", "if(MODE_DEBUG)System.err.println(o);", "MODE_DEBUG", "System.err.println(o)", "System.err.println", "System.err", "System", "System.err", "o", "Object o", "o", "private static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}", "printd", "{\n\t\tif(MODE_DEBUG)System.err.println();\n\t}", "if(MODE_DEBUG)System.err.println();", "MODE_DEBUG", "System.err.println()", "System.err.println", "System.err", "System", "System.err", "public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tHashSet<String> s = new HashSet<String>();\n\t\tfor(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}\n\t\tprint(s.size());\n\t\t\n\t\t/*\n\t\t * Old version: no Set used\n\t\t * \n\t\tString[] ss = new String[N];\n\t\tfor(int k=0;k<N;k++) {\n\t\t\tss[k]=readLine()[0];\n\t\t}\n\t\tint cnt = N;\n\t\tArrays.sort(ss);\n\t\tfor(int i=0;i<N-1;i++) {\n\t\t\tif(ss[i].equals(ss[i+1])) {\n\t\t\t\tcnt--;\n\t\t\t}\n\t\t}\n\t\tprint(cnt);*/\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\tprivate static boolean cps(String s1, String s2) {\n\t\tchar[] s1c = s1.toCharArray();\n\t\tchar[] s2c = s2.toCharArray();\n\t\tfor(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "public class Main {\n\n\tstatic BufferedReader reader;\n\tfinal static boolean MODE_DEBUG = false;\n\t//static field here\n\t\n\tpublic static void main(String[] args) {\n\t\t// TODO Auto-generated method stub\n\t\treader = new BufferedReader(new InputStreamReader(System.in));\n\t\t//code here\n\t\tint[] NM = readLineInt();\n\t\tint N = NM[0];\n\t\tHashSet<String> s = new HashSet<String>();\n\t\tfor(int k=0;k<N;k++) {\n\t\t\ts.add(readLine()[0]);\n\t\t}\n\t\tprint(s.size());\n\t\t\n\t\t/*\n\t\t * Old version: no Set used\n\t\t * \n\t\tString[] ss = new String[N];\n\t\tfor(int k=0;k<N;k++) {\n\t\t\tss[k]=readLine()[0];\n\t\t}\n\t\tint cnt = N;\n\t\tArrays.sort(ss);\n\t\tfor(int i=0;i<N-1;i++) {\n\t\t\tif(ss[i].equals(ss[i+1])) {\n\t\t\t\tcnt--;\n\t\t\t}\n\t\t}\n\t\tprint(cnt);*/\n\t}\n\t\n\t//functions here\n\t//note that all methods should be STATIC\n\n\tprivate static boolean cps(String s1, String s2) {\n\t\tchar[] s1c = s1.toCharArray();\n\t\tchar[] s2c = s2.toCharArray();\n\t\tfor(int i=0;i<s1c.length;i++) {\n\t\t\tif(i>=s2c.length) {return false;}\n\t\t\tif(s1c[i]>s2c[i]) {return false;}\n\t\t\telse if(s1c[i]<s2c[i]) {return true;}\n\t\t}\n\t\treturn true;\n\t}\n\n\tprivate static <T> int arraySearch(T needle, T[] heystack) {\n\t\tfor(int i=0;i<heystack.length;i++) {\n\t\t\tif(needle.equals(heystack[i])) {\n\t\t\t\treturn i;\n\t\t\t}\n\t\t}\n\t\treturn -1;\n\t}\n\tprivate static int[] sort(int[] base) {\n\t\tint[] copy = array_copy(base);\n\t\tArrays.sort(copy);\n\t\treturn copy;\n\t}\n\tprivate static int[] array_copy(int[] base) {\n\t\tint[] copy = new int[base.length];\n\t\tfor(int i=0;i<base.length;i++) {\n\t\t\tcopy[i] = base[i];\n\t\t}\n\t\treturn copy;\n\t}\n\tprivate static int[] asArray(ArrayList<Integer> ints) {\n\t\tint[] intlist = new int[ints.size()];\n\t\tfor(int i=0;i<intlist.length;i++) {\n\t\t\tintlist[i] = ints.get(i);\n\t\t}\n\t\treturn intlist;\n\t}\n\tprivate static String[] readLine(){\n\t\ttry{\n\t\t\treturn reader.readLine().split(\" \");\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn new String[]{e.getMessage()};\n\t\t}\n\t}\n\tprivate static int[] readLineInt(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tint[] ints = new int[s.length];\n\t\t\tfor(int i=0;i<ints.length;i++) {\n\t\t\t\tints[i] = Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn ints;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static byte[] readLineByte(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tbyte[] bytes = new byte[s.length];\n\t\t\tfor(int i=0;i<bytes.length;i++) {\n\t\t\t\tbytes[i] = Byte.parseByte(s[i]);\n\t\t\t}\n\t\t\treturn bytes;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static char[] readLineChar(){\n\t\ttry{\n\t\t\tString[] s = readLine();\n\t\t\tchar[] chars = new char[s.length];\n\t\t\tfor(int i=0;i<chars.length;i++) {\n\t\t\t\tchars[i] = (char)Integer.parseInt(s[i]);\n\t\t\t}\n\t\t\treturn chars;\n\t\t}catch(Exception e){\n\t\t\te.printStackTrace();\n\t\t\treturn null;\n\t\t}\n\t}\n\tprivate static void print(Object o){\n\t\tSystem.out.println(o);\n\t}\n\tprivate static void print(){\n\t\tSystem.out.println();\n\t}\n\tprivate static void printd(Object o){\n\t\tif(MODE_DEBUG)System.err.println(o);\n\t}\n\tprivate static void printd(){\n\t\tif(MODE_DEBUG)System.err.println();\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.Arrays; import java.util.HashSet; import java.util.Map; import java.util.Set; import java.util.TreeMap; import java.util.Iterator; public class Main { static BufferedReader reader; final static boolean MODE_DEBUG = false; //static field here public static void main(String[] args) { // TODO Auto-generated method stub reader = new BufferedReader(new InputStreamReader(System.in)); //code here int[] NM = readLineInt(); int N = NM[0]; HashSet<String> s = new HashSet<String>(); for(int k=0;k<N;k++) { s.add(readLine()[0]); } print(s.size()); /* * Old version: no Set used * String[] ss = new String[N]; for(int k=0;k<N;k++) { ss[k]=readLine()[0]; } int cnt = N; Arrays.sort(ss); for(int i=0;i<N-1;i++) { if(ss[i].equals(ss[i+1])) { cnt--; } } print(cnt);*/ } //functions here //note that all methods should be STATIC private static boolean cps(String s1, String s2) { char[] s1c = s1.toCharArray(); char[] s2c = s2.toCharArray(); for(int i=0;i<s1c.length;i++) { if(i>=s2c.length) {return false;} if(s1c[i]>s2c[i]) {return false;} else if(s1c[i]<s2c[i]) {return true;} } return true; } private static <T> int arraySearch(T needle, T[] heystack) { for(int i=0;i<heystack.length;i++) { if(needle.equals(heystack[i])) { return i; } } return -1; } private static int[] sort(int[] base) { int[] copy = array_copy(base); Arrays.sort(copy); return copy; } private static int[] array_copy(int[] base) { int[] copy = new int[base.length]; for(int i=0;i<base.length;i++) { copy[i] = base[i]; } return copy; } private static int[] asArray(ArrayList<Integer> ints) { int[] intlist = new int[ints.size()]; for(int i=0;i<intlist.length;i++) { intlist[i] = ints.get(i); } return intlist; } private static String[] readLine(){ try{ return reader.readLine().split(" "); }catch(Exception e){ e.printStackTrace(); return new String[]{e.getMessage()}; } } private static int[] readLineInt(){ try{ String[] s = readLine(); int[] ints = new int[s.length]; for(int i=0;i<ints.length;i++) { ints[i] = Integer.parseInt(s[i]); } return ints; }catch(Exception e){ e.printStackTrace(); return null; } } private static byte[] readLineByte(){ try{ String[] s = readLine(); byte[] bytes = new byte[s.length]; for(int i=0;i<bytes.length;i++) { bytes[i] = Byte.parseByte(s[i]); } return bytes; }catch(Exception e){ e.printStackTrace(); return null; } } private static char[] readLineChar(){ try{ String[] s = readLine(); char[] chars = new char[s.length]; for(int i=0;i<chars.length;i++) { chars[i] = (char)Integer.parseInt(s[i]); } return chars; }catch(Exception e){ e.printStackTrace(); return null; } } private static void print(Object o){ System.out.println(o); } private static void print(){ System.out.println(); } private static void printd(Object o){ if(MODE_DEBUG)System.err.println(o); } private static void printd(){ if(MODE_DEBUG)System.err.println(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 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 ], [ 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 ], [ 40, 41 ], [ 39, 42 ], [ 42, 43 ], [ 43, 44 ], [ 14, 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(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(S.size());\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(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(S.size());\n\t}\n}", "Main", "public static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(S.size());\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(S.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> S = new HashSet<>();", "S", "new HashSet<>()", "for(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tS.add(sc.next());\n\t\t}", "{\n\t\t\tS.add(sc.next());\n\t\t}", "S.add(sc.next())", "S.add", "S", "sc.next()", "sc.next", "sc", "sc.close()", "sc.close", "sc", "System.out.println(S.size())", "System.out.println", "System.out", "System", "System.out", "S.size()", "S.size", "S", "final String[] args", "args", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(S.size());\n\t}\n}", "public class Main {\n\n\tpublic static void main(final String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tSet<String> S = new HashSet<>();\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tS.add(sc.next());\n\t\t}\n\t\tsc.close();\n\t\tSystem.out.println(S.size());\n\t}\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public 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()); } sc.close(); System.out.println(S.size()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 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, 41, 13, 4, 13, 14, 40, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 18, 13, 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, 4, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 0, 13, 20, 29, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 109, 8 ], [ 109, 9 ], [ 9, 10 ], [ 109, 11 ], [ 11, 12 ], [ 11, 13 ], [ 109, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 16, 21 ], [ 21, 22 ], [ 21, 23 ], [ 16, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 36, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 16, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 14, 60 ], [ 60, 61 ], [ 109, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 109, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 109, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 109, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 92, 101 ], [ 101, 102 ], [ 101, 103 ], [ 91, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n static StringTokenizer st;\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public static void main(String[] args) throws IOException {\n int input = nextInt();\n HashSet <String> kinds = new HashSet<>();\n for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }\n System.out.println(kinds.size());\n }\n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n static StringTokenizer st;\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public static void main(String[] args) throws IOException {\n int input = nextInt();\n HashSet <String> kinds = new HashSet<>();\n for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }\n System.out.println(kinds.size());\n }\n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "Main", "static StringTokenizer st;", "st", "static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "public static void main(String[] args) throws IOException {\n int input = nextInt();\n HashSet <String> kinds = new HashSet<>();\n for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }\n System.out.println(kinds.size());\n }", "main", "{\n int input = nextInt();\n HashSet <String> kinds = new HashSet<>();\n for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }\n System.out.println(kinds.size());\n }", "int input = nextInt();", "input", "nextInt()", "nextInt", "HashSet <String> kinds = new HashSet<>();", "kinds", "new HashSet<>()", "for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }", "int x=0;", "int x=0;", "x", "0", "x<input", "x", "input", "x++", "x++", "x", "{\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }", "{\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }", "String cur = next();", "cur", "next()", "next", "if (!kinds.contains(cur)) {\n kinds.add(cur);\n }", "!kinds.contains(cur)", "kinds.contains(cur)", "kinds.contains", "kinds", "cur", "{\n kinds.add(cur);\n }", "kinds.add(cur)", "kinds.add", "kinds", "cur", "System.out.println(kinds.size())", "System.out.println", "System.out", "System", "System.out", "kinds.size()", "kinds.size", "kinds", "String[] args", "args", "public static int nextInt() throws IOException {\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 static long nextLong() throws IOException {\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 static double nextDouble() throws IOException {\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", "static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }", "next", "{\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "st = new StringTokenizer(br.readLine().trim())", "st", "new StringTokenizer(br.readLine().trim())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public class Main {\n static StringTokenizer st;\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public static void main(String[] args) throws IOException {\n int input = nextInt();\n HashSet <String> kinds = new HashSet<>();\n for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }\n System.out.println(kinds.size());\n }\n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "public class Main {\n static StringTokenizer st;\n static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n\n public static void main(String[] args) throws IOException {\n int input = nextInt();\n HashSet <String> kinds = new HashSet<>();\n for (int x=0; x<input; x++) {\n String cur = next();\n if (!kinds.contains(cur)) {\n kinds.add(cur);\n }\n }\n System.out.println(kinds.size());\n }\n \n public static int nextInt() throws IOException {\n return Integer.parseInt(next());\n }\n public static long nextLong() throws IOException {\n return Long.parseLong(next());\n }\n\n public static double nextDouble() throws IOException {\n return Double.parseDouble(next());\n }\n\n static String next() throws IOException {\n while (st == null || !st.hasMoreTokens())\n st = new StringTokenizer(br.readLine().trim());\n return st.nextToken();\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { static StringTokenizer st; static BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); public static void main(String[] args) throws IOException { int input = nextInt(); HashSet <String> kinds = new HashSet<>(); for (int x=0; x<input; x++) { String cur = next(); if (!kinds.contains(cur)) { kinds.add(cur); } } System.out.println(kinds.size()); } public static int nextInt() throws IOException { return Integer.parseInt(next()); } public static long nextLong() throws IOException { return Long.parseLong(next()); } public static double nextDouble() throws IOException { return Double.parseDouble(next()); } static String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine().trim()); return st.nextToken(); } }
[ 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, 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, 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 ], [ 88, 8 ], [ 88, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 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 ], [ 66, 71 ], [ 71, 72 ], [ 71, 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 ], [ 0, 87 ], [ 87, 88 ], [ 87, 89 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint ans = 1;\n\t\tString[] S = new String[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tArrays.sort(S);\n\n\t\tfor (int i = 1; i < N; i++) {\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint ans = 1;\n\t\tString[] S = new String[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tArrays.sort(S);\n\n\t\tfor (int i = 1; i < N; i++) {\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\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\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint ans = 1;\n\t\tString[] S = new String[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tArrays.sort(S);\n\n\t\tfor (int i = 1; i < N; i++) {\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint ans = 1;\n\t\tString[] S = new String[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tArrays.sort(S);\n\n\t\tfor (int i = 1; i < N; i++) {\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "int ans = 1;", "ans", "1", "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", "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\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].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}", "if (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\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\tans++;\n\t\t\t}", "ans++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint ans = 1;\n\t\tString[] S = new String[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tArrays.sort(S);\n\n\t\tfor (int i = 1; i < N; i++) {\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\n\t\tScanner scan = new Scanner(System.in);\n\n\t\tint N = scan.nextInt();\n\t\tint ans = 1;\n\t\tString[] S = new String[N];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tS[i] = scan.next();\n\t\t}\n\n\t\tArrays.sort(S);\n\n\t\tfor (int i = 1; i < N; i++) {\n\t\t\tif (!S[i].equals(S[i-1])) {\n\t\t\t\tans++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int ans = 1; String[] S = new String[N]; for (int i = 0; i < N; i++) { S[i] = scan.next(); } Arrays.sort(S); for (int i = 1; i < N; i++) { if (!S[i].equals(S[i-1])) { ans++; } } System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 12, 13, 30, 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, 13, 12, 13, 30, 41, 13, 17, 42, 2, 13, 17, 30, 0, 13, 17, 40, 13, 29, 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, 29, 8, 2, 13, 17, 13, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 8, 2, 13, 17, 17, 2, 17, 4, 13, 2, 13, 2, 13, 17, 23, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 0, 13, 20, 4, 13, 4, 18, 13, 12, 13, 30, 4, 18, 20, 23, 13, 6, 13, 12, 13, 30, 4, 13, 18, 13, 13, 12, 13, 30, 4, 13, 13, 4, 13, 17, 23, 13, 12, 13, 30, 4, 13, 13, 4, 13, 17, 23, 13, 12, 13, 30, 4, 13, 13, 4, 13, 17, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 13, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 13, 13, 4, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 4, 13, 13, 4, 13, 23, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 29, 2, 4, 18, 13, 4, 18, 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, 4, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 355, 8 ], [ 355, 9 ], [ 9, 10 ], [ 355, 11 ], [ 11, 12 ], [ 355, 13 ], [ 13, 14 ], [ 13, 15 ], [ 15, 16 ], [ 15, 17 ], [ 355, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 20, 22 ], [ 355, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 355, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 355, 33 ], [ 33, 34 ], [ 33, 35 ], [ 355, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 64, 65 ], [ 38, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 355, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 86, 87 ], [ 74, 88 ], [ 88, 89 ], [ 72, 90 ], [ 90, 91 ], [ 355, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 101, 104 ], [ 104, 105 ], [ 104, 106 ], [ 92, 107 ], [ 107, 108 ], [ 92, 109 ], [ 109, 110 ], [ 355, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 120, 123 ], [ 123, 124 ], [ 123, 125 ], [ 111, 126 ], [ 126, 127 ], [ 111, 128 ], [ 128, 129 ], [ 355, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 145, 147 ], [ 130, 148 ], [ 148, 149 ], [ 355, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 153, 160 ], [ 160, 161 ], [ 161, 162 ], [ 161, 163 ], [ 160, 164 ], [ 164, 165 ], [ 164, 166 ], [ 160, 167 ], [ 167, 168 ], [ 160, 169 ], [ 169, 170 ], [ 170, 171 ], [ 355, 172 ], [ 172, 173 ], [ 172, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 172, 178 ], [ 178, 179 ], [ 355, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 182, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 187, 189 ], [ 180, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 192, 196 ], [ 196, 197 ], [ 196, 198 ], [ 190, 199 ], [ 199, 200 ], [ 180, 201 ], [ 201, 202 ], [ 201, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 207, 209 ], [ 201, 210 ], [ 210, 211 ], [ 180, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 214, 218 ], [ 218, 219 ], [ 218, 220 ], [ 212, 221 ], [ 221, 222 ], [ 180, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 226, 229 ], [ 230, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 223, 234 ], [ 234, 235 ], [ 180, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 239, 242 ], [ 243, 243 ], [ 243, 244 ], [ 244, 245 ], [ 244, 246 ], [ 238, 247 ], [ 247, 248 ], [ 236, 249 ], [ 249, 250 ], [ 180, 251 ], [ 251, 252 ], [ 251, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 254, 257 ], [ 258, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 253, 262 ], [ 262, 263 ], [ 251, 264 ], [ 264, 265 ], [ 180, 266 ], [ 355, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 267, 271 ], [ 271, 272 ], [ 267, 273 ], [ 273, 274 ], [ 273, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 277, 281 ], [ 281, 282 ], [ 282, 283 ], [ 267, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 267, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 293, 294 ], [ 294, 295 ], [ 295, 296 ], [ 295, 297 ], [ 294, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 293, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 303, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 292, 314 ], [ 314, 315 ], [ 315, 316 ], [ 316, 317 ], [ 267, 318 ], [ 318, 319 ], [ 318, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 322, 326 ], [ 267, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 331, 334 ], [ 334, 335 ], [ 267, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 341, 342 ], [ 340, 343 ], [ 343, 344 ], [ 267, 345 ], [ 345, 346 ], [ 345, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 349, 352 ], [ 352, 353 ], [ 0, 354 ], [ 354, 355 ], [ 354, 356 ] ]
[ "import java.io.*;\nimport java.util.*;\n\n//Main class start\npublic class Main {\n // solution starts here!!!\n public void solve() throws IOException {\n int n = in.ni();\n Set<String> a = new HashSet<>();\n for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }\n out.println(a.size());\n\n\n\n\n\n } //Solution ENDS Here !!!\n\n FastScanner in;\n FastWriter out;\n long maxLong = Long.MAX_VALUE , minlong = Long.MIN_VALUE;\n int maxInt = Integer.MAX_VALUE , minInt = Integer.MIN_VALUE;\n double PI = 3.141592653589793238462643383279502884197169399;\n int digit(long s){int ans = 0;while(s>0){s/=10;ans++;}return ans;}\n long gcd(long a, long b){return (b==0)?a:gcd(b,a%b);}\n int gcd(int a, int b){return (b==0)?a:gcd(b,a%b);}\n int bit(long n){return (n==0)?0:(1+bit(n&(n-1)));}\n\n public void run() {\n try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n\n class FastWriter extends PrintWriter {\n FastWriter() throws FileNotFoundException {\n super(System.out);\n }\n\n void printNext(int i) {\n print(i);\n print(' ');\n }\n\n void printNext(long i) {\n print(i);\n print(' ');\n }\n\n void printNext(char ch) {\n print(ch);\n print(' ');\n }\n\n\n <T extends Iterable<Integer>> void printIterable(T o) {\n for (Integer t : o) {\n printNext(t);\n }\n }\n\n void printlnArray(int[] a) {\n for (int i : a) {\n printNext(i);\n }\n println();\n }\n\n void printlnArray(long[] a) {\n for (long i : a) {\n printNext(i);\n }\n println();\n }\n\n\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n\n boolean ready() throws IOException {\n return (br.ready() || st.hasMoreTokens());\n }\n\n FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n char nc(){\n return next().charAt(0);\n }\n\n double nd(){\n return Double.parseDouble(next());\n }\n\n int ni() {\n return Integer.parseInt(next());\n }\n\n long nl() {\n return Long.parseLong(next());\n }\n\n }\n\n public static void main(String[] arg) {\n new Main().run();\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n // solution starts here!!!\n public void solve() throws IOException {\n int n = in.ni();\n Set<String> a = new HashSet<>();\n for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }\n out.println(a.size());\n\n\n\n\n\n } //Solution ENDS Here !!!\n\n FastScanner in;\n FastWriter out;\n long maxLong = Long.MAX_VALUE , minlong = Long.MIN_VALUE;\n int maxInt = Integer.MAX_VALUE , minInt = Integer.MIN_VALUE;\n double PI = 3.141592653589793238462643383279502884197169399;\n int digit(long s){int ans = 0;while(s>0){s/=10;ans++;}return ans;}\n long gcd(long a, long b){return (b==0)?a:gcd(b,a%b);}\n int gcd(int a, int b){return (b==0)?a:gcd(b,a%b);}\n int bit(long n){return (n==0)?0:(1+bit(n&(n-1)));}\n\n public void run() {\n try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n\n class FastWriter extends PrintWriter {\n FastWriter() throws FileNotFoundException {\n super(System.out);\n }\n\n void printNext(int i) {\n print(i);\n print(' ');\n }\n\n void printNext(long i) {\n print(i);\n print(' ');\n }\n\n void printNext(char ch) {\n print(ch);\n print(' ');\n }\n\n\n <T extends Iterable<Integer>> void printIterable(T o) {\n for (Integer t : o) {\n printNext(t);\n }\n }\n\n void printlnArray(int[] a) {\n for (int i : a) {\n printNext(i);\n }\n println();\n }\n\n void printlnArray(long[] a) {\n for (long i : a) {\n printNext(i);\n }\n println();\n }\n\n\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n\n boolean ready() throws IOException {\n return (br.ready() || st.hasMoreTokens());\n }\n\n FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n char nc(){\n return next().charAt(0);\n }\n\n double nd(){\n return Double.parseDouble(next());\n }\n\n int ni() {\n return Integer.parseInt(next());\n }\n\n long nl() {\n return Long.parseLong(next());\n }\n\n }\n\n public static void main(String[] arg) {\n new Main().run();\n }\n}", "Main", "FastScanner in;", "in", "FastWriter out;", "out", "long maxLong = Long.MAX_VALUE", "maxLong", "Long.MAX_VALUE", "Long", "Long.MAX_VALUE", "minlong = Long.MIN_VALUE;", "minlong", "Long.MIN_VALUE", "Long", "Long.MIN_VALUE", "int maxInt = Integer.MAX_VALUE", "maxInt", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "minInt = Integer.MIN_VALUE;", "minInt", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "double PI = 3.141592653589793238462643383279502884197169399;", "PI", "3.141592653589793238462643383279502884197169399", "// solution starts here!!!\n public void solve() throws IOException {\n int n = in.ni();\n Set<String> a = new HashSet<>();\n for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }\n out.println(a.size());\n\n\n\n\n\n } //Solution ENDS Here !!!", "solve", "{\n int n = in.ni();\n Set<String> a = new HashSet<>();\n for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }\n out.println(a.size());\n\n\n\n\n\n }", "int n = in.ni();", "n", "in.ni()", "in.ni", "in", "Set<String> a = new HashSet<>();", "a", "new HashSet<>()", "for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }", "int i=0 ;", "int i=0 ;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n a.add(in.next());\n }", "{\n a.add(in.next());\n }", "a.add(in.next())", "a.add", "a", "in.next()", "in.next", "in", "out.println(a.size())", "out.println", "out", "a.size()", "a.size", "a", "int digit(long s){int ans = 0;while(s>0){s/=10;ans++;}return ans;}", "digit", "{int ans = 0;while(s>0){s/=10;ans++;}return ans;}", "int ans = 0;", "ans", "0", "while(s>0){s/=10;ans++;}", "s>0", "s", "0", "{s/=10;ans++;}", "s/=10", "s", "10", "ans++", "ans", "return ans;", "ans", "long s", "s", "long gcd(long a, long b){return (b==0)?a:gcd(b,a%b);}", "gcd", "{return (b==0)?a:gcd(b,a%b);}", "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", "int gcd(int a, int b){return (b==0)?a:gcd(b,a%b);}", "gcd", "{return (b==0)?a:gcd(b,a%b);}", "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", "int bit(long n){return (n==0)?0:(1+bit(n&(n-1)));}", "bit", "{return (n==0)?0:(1+bit(n&(n-1)));}", "return (n==0)?0:(1+bit(n&(n-1)));", "(n==0)?0:(1+bit(n&(n-1)))", "(n==0)", "n", "0", "0", "(1+bit(n&(n-1)))", "1", "bit(n&(n-1))", "bit", "n&(n-1)", "n", "(n-1)", "n", "1", "long n", "n", "public void run() {\n try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "run", "{\n try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\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 in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n }", "in = new FastScanner()", "in", "new FastScanner()", "out = new FastWriter()", "out", "new FastWriter()", "solve()", "solve", "out.close()", "out.close", "out", "public static void main(String[] arg) {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "String[] arg", "arg", "class FastWriter extends PrintWriter {\n FastWriter() throws FileNotFoundException {\n super(System.out);\n }\n\n void printNext(int i) {\n print(i);\n print(' ');\n }\n\n void printNext(long i) {\n print(i);\n print(' ');\n }\n\n void printNext(char ch) {\n print(ch);\n print(' ');\n }\n\n\n <T extends Iterable<Integer>> void printIterable(T o) {\n for (Integer t : o) {\n printNext(t);\n }\n }\n\n void printlnArray(int[] a) {\n for (int i : a) {\n printNext(i);\n }\n println();\n }\n\n void printlnArray(long[] a) {\n for (long i : a) {\n printNext(i);\n }\n println();\n }\n\n\n }", "FastWriter", "FastWriter() throws FileNotFoundException {\n super(System.out);\n }", "FastWriter", "{\n super(System.out);\n }", "super(System.out)", "super", "System.out", "System", "System.out", "void printNext(int i) {\n print(i);\n print(' ');\n }", "printNext", "{\n print(i);\n print(' ');\n }", "print(i)", "print", "i", "print(' ')", "print", "' '", "int i", "i", "void printNext(long i) {\n print(i);\n print(' ');\n }", "printNext", "{\n print(i);\n print(' ');\n }", "print(i)", "print", "i", "print(' ')", "print", "' '", "long i", "i", "void printNext(char ch) {\n print(ch);\n print(' ');\n }", "printNext", "{\n print(ch);\n print(' ');\n }", "print(ch)", "print", "ch", "print(' ')", "print", "' '", "char ch", "ch", "<T extends Iterable<Integer>> void printIterable(T o) {\n for (Integer t : o) {\n printNext(t);\n }\n }", "printIterable", "{\n for (Integer t : o) {\n printNext(t);\n }\n }", "for (Integer t : o) {\n printNext(t);\n }", "Integer t", "o", "{\n printNext(t);\n }", "{\n printNext(t);\n }", "printNext(t)", "printNext", "t", "T o", "o", "void printlnArray(int[] a) {\n for (int i : a) {\n printNext(i);\n }\n println();\n }", "printlnArray", "{\n for (int i : a) {\n printNext(i);\n }\n println();\n }", "for (int i : a) {\n printNext(i);\n }", "int i", "a", "{\n printNext(i);\n }", "{\n printNext(i);\n }", "printNext(i)", "printNext", "i", "println()", "println", "int[] a", "a", "void printlnArray(long[] a) {\n for (long i : a) {\n printNext(i);\n }\n println();\n }", "printlnArray", "{\n for (long i : a) {\n printNext(i);\n }\n println();\n }", "for (long i : a) {\n printNext(i);\n }", "long i", "a", "{\n printNext(i);\n }", "{\n printNext(i);\n }", "printNext(i)", "printNext", "i", "println()", "println", "long[] a", "a", "PrintWriter", "class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n\n boolean ready() throws IOException {\n return (br.ready() || st.hasMoreTokens());\n }\n\n FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n char nc(){\n return next().charAt(0);\n }\n\n double nd(){\n return Double.parseDouble(next());\n }\n\n int ni() {\n return Integer.parseInt(next());\n }\n\n long nl() {\n return Long.parseLong(next());\n }\n\n }", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "boolean ready() throws IOException {\n return (br.ready() || st.hasMoreTokens());\n }", "ready", "{\n return (br.ready() || st.hasMoreTokens());\n }", "return (br.ready() || st.hasMoreTokens());", "(br.ready() || st.hasMoreTokens())", "br.ready()", "br.ready", "br", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "FastScanner", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "String next() {\n while (st == null || !st.hasMoreTokens()) {\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.hasMoreTokens()) {\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.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "st == null || !st.hasMoreTokens()", "st == null", "st", "null", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "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", "char nc(){\n return next().charAt(0);\n }", "nc", "{\n return next().charAt(0);\n }", "return next().charAt(0);", "next().charAt(0)", "next().charAt", "next()", "next", "0", "double nd(){\n return Double.parseDouble(next());\n }", "nd", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "int ni() {\n return Integer.parseInt(next());\n }", "ni", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nl() {\n return Long.parseLong(next());\n }", "nl", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public class Main {\n // solution starts here!!!\n public void solve() throws IOException {\n int n = in.ni();\n Set<String> a = new HashSet<>();\n for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }\n out.println(a.size());\n\n\n\n\n\n } //Solution ENDS Here !!!\n\n FastScanner in;\n FastWriter out;\n long maxLong = Long.MAX_VALUE , minlong = Long.MIN_VALUE;\n int maxInt = Integer.MAX_VALUE , minInt = Integer.MIN_VALUE;\n double PI = 3.141592653589793238462643383279502884197169399;\n int digit(long s){int ans = 0;while(s>0){s/=10;ans++;}return ans;}\n long gcd(long a, long b){return (b==0)?a:gcd(b,a%b);}\n int gcd(int a, int b){return (b==0)?a:gcd(b,a%b);}\n int bit(long n){return (n==0)?0:(1+bit(n&(n-1)));}\n\n public void run() {\n try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n\n class FastWriter extends PrintWriter {\n FastWriter() throws FileNotFoundException {\n super(System.out);\n }\n\n void printNext(int i) {\n print(i);\n print(' ');\n }\n\n void printNext(long i) {\n print(i);\n print(' ');\n }\n\n void printNext(char ch) {\n print(ch);\n print(' ');\n }\n\n\n <T extends Iterable<Integer>> void printIterable(T o) {\n for (Integer t : o) {\n printNext(t);\n }\n }\n\n void printlnArray(int[] a) {\n for (int i : a) {\n printNext(i);\n }\n println();\n }\n\n void printlnArray(long[] a) {\n for (long i : a) {\n printNext(i);\n }\n println();\n }\n\n\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n\n boolean ready() throws IOException {\n return (br.ready() || st.hasMoreTokens());\n }\n\n FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n char nc(){\n return next().charAt(0);\n }\n\n double nd(){\n return Double.parseDouble(next());\n }\n\n int ni() {\n return Integer.parseInt(next());\n }\n\n long nl() {\n return Long.parseLong(next());\n }\n\n }\n\n public static void main(String[] arg) {\n new Main().run();\n }\n}", "public class Main {\n // solution starts here!!!\n public void solve() throws IOException {\n int n = in.ni();\n Set<String> a = new HashSet<>();\n for(int i=0 ; i<n ; i++)\n {\n a.add(in.next());\n }\n out.println(a.size());\n\n\n\n\n\n } //Solution ENDS Here !!!\n\n FastScanner in;\n FastWriter out;\n long maxLong = Long.MAX_VALUE , minlong = Long.MIN_VALUE;\n int maxInt = Integer.MAX_VALUE , minInt = Integer.MIN_VALUE;\n double PI = 3.141592653589793238462643383279502884197169399;\n int digit(long s){int ans = 0;while(s>0){s/=10;ans++;}return ans;}\n long gcd(long a, long b){return (b==0)?a:gcd(b,a%b);}\n int gcd(int a, int b){return (b==0)?a:gcd(b,a%b);}\n int bit(long n){return (n==0)?0:(1+bit(n&(n-1)));}\n\n public void run() {\n try {\n in = new FastScanner();\n out = new FastWriter();\n\n solve();\n\n out.close();\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n\n\n class FastWriter extends PrintWriter {\n FastWriter() throws FileNotFoundException {\n super(System.out);\n }\n\n void printNext(int i) {\n print(i);\n print(' ');\n }\n\n void printNext(long i) {\n print(i);\n print(' ');\n }\n\n void printNext(char ch) {\n print(ch);\n print(' ');\n }\n\n\n <T extends Iterable<Integer>> void printIterable(T o) {\n for (Integer t : o) {\n printNext(t);\n }\n }\n\n void printlnArray(int[] a) {\n for (int i : a) {\n printNext(i);\n }\n println();\n }\n\n void printlnArray(long[] a) {\n for (long i : a) {\n printNext(i);\n }\n println();\n }\n\n\n }\n\n class FastScanner {\n BufferedReader br;\n StringTokenizer st;\n\n\n boolean ready() throws IOException {\n return (br.ready() || st.hasMoreTokens());\n }\n\n FastScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n String next() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return st.nextToken();\n }\n char nc(){\n return next().charAt(0);\n }\n\n double nd(){\n return Double.parseDouble(next());\n }\n\n int ni() {\n return Integer.parseInt(next());\n }\n\n long nl() {\n return Long.parseLong(next());\n }\n\n }\n\n public static void main(String[] arg) {\n new Main().run();\n }\n}", "Main" ]
import java.io.*; import java.util.*; //Main class start public class Main { // solution starts here!!! public void solve() throws IOException { int n = in.ni(); Set<String> a = new HashSet<>(); for(int i=0 ; i<n ; i++) { a.add(in.next()); } out.println(a.size()); } //Solution ENDS Here !!! FastScanner in; FastWriter out; long maxLong = Long.MAX_VALUE , minlong = Long.MIN_VALUE; int maxInt = Integer.MAX_VALUE , minInt = Integer.MIN_VALUE; double PI = 3.141592653589793238462643383279502884197169399; int digit(long s){int ans = 0;while(s>0){s/=10;ans++;}return ans;} long gcd(long a, long b){return (b==0)?a:gcd(b,a%b);} int gcd(int a, int b){return (b==0)?a:gcd(b,a%b);} int bit(long n){return (n==0)?0:(1+bit(n&(n-1)));} public void run() { try { in = new FastScanner(); out = new FastWriter(); solve(); out.close(); } catch (IOException e) { e.printStackTrace(); } } class FastWriter extends PrintWriter { FastWriter() throws FileNotFoundException { super(System.out); } void printNext(int i) { print(i); print(' '); } void printNext(long i) { print(i); print(' '); } void printNext(char ch) { print(ch); print(' '); } <T extends Iterable<Integer>> void printIterable(T o) { for (Integer t : o) { printNext(t); } } void printlnArray(int[] a) { for (int i : a) { printNext(i); } println(); } void printlnArray(long[] a) { for (long i : a) { printNext(i); } println(); } } class FastScanner { BufferedReader br; StringTokenizer st; boolean ready() throws IOException { return (br.ready() || st.hasMoreTokens()); } FastScanner() { br = new BufferedReader(new InputStreamReader(System.in)); } String next() { while (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } char nc(){ return next().charAt(0); } double nd(){ return Double.parseDouble(next()); } int ni() { return Integer.parseInt(next()); } long nl() { return Long.parseLong(next()); } } public static void main(String[] arg) { new Main().run(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 13, 17, 30, 4, 18, 13, 13, 0, 13, 4, 18, 13, 41, 13, 4, 18, 4, 18, 13, 17, 17, 41, 13, 4, 18, 13, 18, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 2, 17, 13, 1, 40, 13, 30, 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 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 102, 17 ], [ 102, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 20, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 20, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 51, 57 ], [ 20, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 20, 66 ], [ 66, 67 ], [ 66, 68 ], [ 20, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 76, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 69, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 20, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 18, 99 ], [ 99, 100 ], [ 0, 101 ], [ 101, 102 ], [ 101, 103 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\n\npublic class Main {\n\n public static void main(String[] args) throws Exception {\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n int n = Integer.valueOf(arr01[0]);\n HashSet<String> hs = new HashSet<String>();\n for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }\n System.out.println(hs.size());\n\n }\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.List;", "List", "java.util", "public class Main {\n\n public static void main(String[] args) throws Exception {\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n int n = Integer.valueOf(arr01[0]);\n HashSet<String> hs = new HashSet<String>();\n for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }\n System.out.println(hs.size());\n\n }\n\n}", "Main", "public static void main(String[] args) throws Exception {\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n int n = Integer.valueOf(arr01[0]);\n HashSet<String> hs = new HashSet<String>();\n for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }\n System.out.println(hs.size());\n\n }", "main", "{\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n int n = Integer.valueOf(arr01[0]);\n HashSet<String> hs = new HashSet<String>();\n for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }\n System.out.println(hs.size());\n\n }", "InputStreamReader is = new InputStreamReader(System.in);", "is", "new InputStreamReader(System.in)", "BufferedReader reader = new BufferedReader(is);", "reader", "new BufferedReader(is)", "List<String> mylist = new ArrayList<>();", "mylist", "new ArrayList<>()", "String strinput = reader.readLine();", "strinput", "reader.readLine()", "reader.readLine", "reader", "while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }", "strinput != null", "strinput", "null", "{\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }", "mylist.add(strinput)", "mylist.add", "mylist", "strinput", "strinput = reader.readLine()", "strinput", "reader.readLine()", "reader.readLine", "reader", "String arr01[] = mylist.get(0).split(\" \");", "arr01", "mylist.get(0).split(\" \")", "mylist.get(0).split", "mylist.get(0)", "mylist.get", "mylist", "0", "\" \"", "int n = Integer.valueOf(arr01[0]);", "n", "Integer.valueOf(arr01[0])", "Integer.valueOf", "Integer", "arr01[0]", "arr01", "0", "HashSet<String> hs = new HashSet<String>();", "hs", "new HashSet<String>()", "for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }", "int i = 1;", "int i = 1;", "i", "1", "i < 1 + n", "i", "1 + n", "1", "n", "i++", "i++", "i", "{\n hs.add(mylist.get(i));\n }", "{\n hs.add(mylist.get(i));\n }", "hs.add(mylist.get(i))", "hs.add", "hs", "mylist.get(i)", "mylist.get", "mylist", "i", "System.out.println(hs.size())", "System.out.println", "System.out", "System", "System.out", "hs.size()", "hs.size", "hs", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) throws Exception {\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n int n = Integer.valueOf(arr01[0]);\n HashSet<String> hs = new HashSet<String>();\n for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }\n System.out.println(hs.size());\n\n }\n\n}", "public class Main {\n\n public static void main(String[] args) throws Exception {\n InputStreamReader is = new InputStreamReader(System.in);\n BufferedReader reader = new BufferedReader(is);\n\n List<String> mylist = new ArrayList<>();\n\n // 標準入力からの値を変数strinputに代入\n String strinput = reader.readLine();\n\n while (strinput != null) {\n\n mylist.add(strinput);\n strinput = reader.readLine();\n\n }\n\n String arr01[] = mylist.get(0).split(\" \");\n\n int n = Integer.valueOf(arr01[0]);\n HashSet<String> hs = new HashSet<String>();\n for (int i = 1; i < 1 + n; i++) {\n hs.add(mylist.get(i));\n }\n System.out.println(hs.size());\n\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashSet; import java.util.List; public class Main { public static void main(String[] args) throws Exception { InputStreamReader is = new InputStreamReader(System.in); BufferedReader reader = new BufferedReader(is); List<String> mylist = new ArrayList<>(); // 標準入力からの値を変数strinputに代入 String strinput = reader.readLine(); while (strinput != null) { mylist.add(strinput); strinput = reader.readLine(); } String arr01[] = mylist.get(0).split(" "); int n = Integer.valueOf(arr01[0]); HashSet<String> hs = new HashSet<String>(); for (int i = 1; i < 1 + n; i++) { hs.add(mylist.get(i)); } System.out.println(hs.size()); } }
[ 7, 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 ], [ 53, 5 ], [ 53, 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, 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.*;\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tHashSet<String> set = new HashSet<>();\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}\n\t\tSystem.out.println(set.size());\n\n\t}\n\n}\n//end", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tHashSet<String> set = new HashSet<>();\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}\n\t\tSystem.out.println(set.size());\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tHashSet<String> set = new HashSet<>();\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}\n\t\tSystem.out.println(set.size());\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tHashSet<String> set = new HashSet<>();\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}\n\t\tSystem.out.println(set.size());\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int n = Integer.parseInt(scan.next());", "n", "Integer.parseInt(scan.next())", "Integer.parseInt", "Integer", "scan.next()", "scan.next", "scan", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "for(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "++i", "++i", "i", "{\n\t\t\tset.add(scan.next());\n\t\t}", "{\n\t\t\tset.add(scan.next());\n\t\t}", "set.add(scan.next())", "set.add", "set", "scan.next()", "scan.next", "scan", "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\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tHashSet<String> set = new HashSet<>();\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}\n\t\tSystem.out.println(set.size());\n\n\t}\n\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint n = Integer.parseInt(scan.next());\n\t\tHashSet<String> set = new HashSet<>();\n\t\tfor(int i = 0;i < n; ++i){\n\t\t\tset.add(scan.next());\n\t\t}\n\t\tSystem.out.println(set.size());\n\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = Integer.parseInt(scan.next()); HashSet<String> set = new HashSet<>(); for(int i = 0;i < n; ++i){ set.add(scan.next()); } System.out.println(set.size()); } } //end
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 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, 41, 13, 20, 4, 18, 18, 13, 13, 4, 18, 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 ], [ 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 ], [ 50, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 6, 64 ], [ 64, 65 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n List<String> list = new ArrayList<String>();\n String[] str = new String[n];\n for (int i = 0; i < n; i++) {\n str[i] = sc.next();\n list.add(str[i]);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(list));\n\n System.out.println(listB.size());\n sc.close();\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n List<String> list = new ArrayList<String>();\n String[] str = new String[n];\n for (int i = 0; i < n; i++) {\n str[i] = sc.next();\n list.add(str[i]);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(list));\n\n System.out.println(listB.size());\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n List<String> list = new ArrayList<String>();\n String[] str = new String[n];\n for (int i = 0; i < n; i++) {\n str[i] = sc.next();\n list.add(str[i]);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(list));\n\n System.out.println(listB.size());\n sc.close();\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n List<String> list = new ArrayList<String>();\n String[] str = new String[n];\n for (int i = 0; i < n; i++) {\n str[i] = sc.next();\n list.add(str[i]);\n }\n List<String> listB = new ArrayList<String>(new HashSet<>(list));\n\n System.out.println(listB.size());\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "List<String> list = new ArrayList<String>();", "list", "new ArrayList<String>()", "String[] str = new String[n];", "str", "new String[n]", "n", "for (int i = 0; i < n; i++) {\n str[i] = sc.next();\n list.add(str[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n str[i] = sc.next();\n list.add(str[i]);\n }", "{\n str[i] = sc.next();\n list.add(str[i]);\n }", "str[i] = sc.next()", "str[i]", "str", "i", "sc.next()", "sc.next", "sc", "list.add(str[i])", "list.add", "list", "str[i]", "str", "i", "List<String> listB = new ArrayList<String>(new HashSet<>(list));", "listB", "new ArrayList<String>(new HashSet<>(list))", "System.out.println(listB.size())", "System.out.println", "System.out", "System", "System.out", "listB.size()", "listB.size", "listB", "sc.close()", "sc.close", "sc", "String[] args", "args" ]
import java.util.*; class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); List<String> list = new ArrayList<String>(); String[] str = new String[n]; for (int i = 0; i < n; i++) { str[i] = sc.next(); list.add(str[i]); } List<String> listB = new ArrayList<String>(new HashSet<>(list)); System.out.println(listB.size()); sc.close(); } }
[ 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, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 50, 5 ], [ 50, 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 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "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 N = sc.nextInt();\n \n Set<String> gacha = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }\n \n System.out.println(gacha.size());\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n Set<String> gacha = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }\n \n System.out.println(gacha.size());\n \n }\n}", "Main", "public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n Set<String> gacha = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }\n \n System.out.println(gacha.size());\n \n }", "main", "{\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n Set<String> gacha = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }\n \n System.out.println(gacha.size());\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Set<String> gacha = new HashSet<String>();", "gacha", "new HashSet<String>()", "for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n gacha.add(sc.next());\n }", "{\n gacha.add(sc.next());\n }", "gacha.add(sc.next())", "gacha.add", "gacha", "sc.next()", "sc.next", "sc", "System.out.println(gacha.size())", "System.out.println", "System.out", "System", "System.out", "gacha.size()", "gacha.size", "gacha", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n Set<String> gacha = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }\n \n System.out.println(gacha.size());\n \n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n // Your code here!\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n Set<String> gacha = new HashSet<String>();\n \n for(int i=0;i<N;i++){\n gacha.add(sc.next());\n }\n \n System.out.println(gacha.size());\n \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 N = sc.nextInt(); Set<String> gacha = new HashSet<String>(); for(int i=0;i<N;i++){ gacha.add(sc.next()); } System.out.println(gacha.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 4, 18, 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 ], [ 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 ], [ 20, 24 ], [ 24, 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 ] ]
[ "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\n Set<String> kh = new HashSet<String>();\n while(sc.hasNext()){\n kh.add(sc.next());\n }\n System.out.println(kh.size());\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\n Set<String> kh = new HashSet<String>();\n while(sc.hasNext()){\n kh.add(sc.next());\n }\n System.out.println(kh.size());\n }\n}", "Main", "public static void main(String[] args ) throws Exception {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n Set<String> kh = new HashSet<String>();\n while(sc.hasNext()){\n kh.add(sc.next());\n }\n System.out.println(kh.size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n Set<String> kh = new HashSet<String>();\n while(sc.hasNext()){\n kh.add(sc.next());\n }\n System.out.println(kh.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> kh = new HashSet<String>();", "kh", "new HashSet<String>()", "while(sc.hasNext()){\n kh.add(sc.next());\n }", "sc.hasNext()", "sc.hasNext", "sc", "{\n kh.add(sc.next());\n }", "kh.add(sc.next())", "kh.add", "kh", "sc.next()", "sc.next", "sc", "System.out.println(kh.size())", "System.out.println", "System.out", "System", "System.out", "kh.size()", "kh.size", "kh", "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\n Set<String> kh = new HashSet<String>();\n while(sc.hasNext()){\n kh.add(sc.next());\n }\n System.out.println(kh.size());\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\n Set<String> kh = new HashSet<String>();\n while(sc.hasNext()){\n kh.add(sc.next());\n }\n System.out.println(kh.size());\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(); Set<String> kh = new HashSet<String>(); while(sc.hasNext()){ kh.add(sc.next()); } System.out.println(kh.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;\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> hs = new HashSet<String>();\n\n for(int i=0; i < N; i++){\n hs.add(sc.next());\n }\n\n System.out.println(hs.size());\n\n sc.close();\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> hs = new HashSet<String>();\n\n for(int i=0; i < N; i++){\n hs.add(sc.next());\n }\n\n System.out.println(hs.size());\n\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n\n for(int i=0; i < N; i++){\n hs.add(sc.next());\n }\n\n System.out.println(hs.size());\n\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n HashSet<String> hs = new HashSet<String>();\n\n for(int i=0; i < N; i++){\n hs.add(sc.next());\n }\n\n System.out.println(hs.size());\n\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "HashSet<String> hs = new HashSet<String>();", "hs", "new HashSet<String>()", "for(int i=0; i < N; i++){\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", "sc.close()", "sc.close", "sc", "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> hs = new HashSet<String>();\n\n for(int i=0; i < N; i++){\n hs.add(sc.next());\n }\n\n System.out.println(hs.size());\n\n sc.close();\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> hs = new HashSet<String>();\n\n for(int i=0; i < N; i++){\n hs.add(sc.next());\n }\n\n System.out.println(hs.size());\n\n sc.close();\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> hs = new HashSet<String>(); for(int i=0; i < N; i++){ hs.add(sc.next()); } System.out.println(hs.size()); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 2, 2, 2, 13, 17, 17, 2, 13, 17, 2, 13, 17, 29, 17, 30, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 0, 13, 17, 30, 30, 14, 2, 2, 13, 13, 17, 29, 17, 29, 17, 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 ], [ 201, 20 ], [ 201, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 23, 32 ], [ 32, 33 ], [ 32, 34 ], [ 23, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 35, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 44, 45 ], [ 45, 46 ], [ 23, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 21, 55 ], [ 55, 56 ], [ 201, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 64, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 69, 73 ], [ 68, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 77 ], [ 77, 78 ], [ 77, 79 ], [ 66, 80 ], [ 80, 81 ], [ 66, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 83, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 83, 98 ], [ 99, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 106, 107 ], [ 82, 108 ], [ 108, 109 ], [ 57, 110 ], [ 110, 111 ], [ 201, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 112, 116 ], [ 116, 117 ], [ 112, 118 ], [ 118, 119 ], [ 118, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 112, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 127, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 137, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 126, 148 ], [ 148, 149 ], [ 149, 150 ], [ 150, 151 ], [ 112, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 112, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 112, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 174, 177 ], [ 177, 178 ], [ 112, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 185, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 181, 198 ], [ 198, 199 ], [ 0, 200 ], [ 200, 201 ], [ 200, 202 ] ]
[ "import 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 public static void main(String[] args) {\n FastReader s = new FastReader();\n int T = s.nextInt();\n Set<String> hash_Set = new HashSet<String>();\n while (T-- > 0) {\n hash_Set.add(s.next());\n }\n System.out.println(hash_Set.size());\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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}", "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 public static void main(String[] args) {\n FastReader s = new FastReader();\n int T = s.nextInt();\n Set<String> hash_Set = new HashSet<String>();\n while (T-- > 0) {\n hash_Set.add(s.next());\n }\n System.out.println(hash_Set.size());\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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}", "Main", "public static void main(String[] args) {\n FastReader s = new FastReader();\n int T = s.nextInt();\n Set<String> hash_Set = new HashSet<String>();\n while (T-- > 0) {\n hash_Set.add(s.next());\n }\n System.out.println(hash_Set.size());\n }", "main", "{\n FastReader s = new FastReader();\n int T = s.nextInt();\n Set<String> hash_Set = new HashSet<String>();\n while (T-- > 0) {\n hash_Set.add(s.next());\n }\n System.out.println(hash_Set.size());\n }", "FastReader s = new FastReader();", "s", "new FastReader()", "int T = s.nextInt();", "T", "s.nextInt()", "s.nextInt", "s", "Set<String> hash_Set = new HashSet<String>();", "hash_Set", "new HashSet<String>()", "while (T-- > 0) {\n hash_Set.add(s.next());\n }", "T-- > 0", "T--", "T", "0", "{\n hash_Set.add(s.next());\n }", "hash_Set.add(s.next())", "hash_Set.add", "hash_Set", "s.next()", "s.next", "s", "System.out.println(hash_Set.size())", "System.out.println", "System.out", "System", "System.out", "hash_Set.size()", "hash_Set.size", "hash_Set", "String[] args", "args", "private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }", "isPrime", "{\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }", "if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }", "n == 2", "n", "2", "return true;", "true", "if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }", "(n % 2 == 0 && n > 2) || n < 2", "(n % 2 == 0 && n > 2)", "n % 2 == 0", "n % 2", "n", "2", "0", "n > 2", "n", "2", "n < 2", "n", "2", "return false;", "false", "{\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }", "for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }", "int i = 3;", "int i = 3;", "i", "3", "i <= (int) Math.sqrt(n)", "i", "(int) Math.sqrt(n)", "Math.sqrt", "Math", "n", "i += 2", "i += 2", "i", "2", "{\n if (n % i == 0)\n return false;\n }", "{\n if (n % i == 0)\n return false;\n }", "if (n % i == 0)\n return false;", "n % i == 0", "n % i", "n", "i", "0", "return false;", "false", "return true;", "true", "int n", "n", "static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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\n InputStreamReader(System.in));\n }", "FastReader", "{\n br = new BufferedReader(new\n InputStreamReader(System.in));\n }", "br = new BufferedReader(new\n InputStreamReader(System.in))", "br", "new BufferedReader(new\n 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 public static void main(String[] args) {\n FastReader s = new FastReader();\n int T = s.nextInt();\n Set<String> hash_Set = new HashSet<String>();\n while (T-- > 0) {\n hash_Set.add(s.next());\n }\n System.out.println(hash_Set.size());\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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 class Main {\n public static void main(String[] args) {\n FastReader s = new FastReader();\n int T = s.nextInt();\n Set<String> hash_Set = new HashSet<String>();\n while (T-- > 0) {\n hash_Set.add(s.next());\n }\n System.out.println(hash_Set.size());\n }\n\n private static boolean isPrime(int n) {\n if (n == 2)\n return true;\n else if ((n % 2 == 0 && n > 2) || n < 2)\n return false;\n else {\n for (int i = 3; i <= (int) Math.sqrt(n); i += 2) {\n if (n % i == 0)\n return false;\n }\n return true;\n }\n\n\n }\n\n static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new\n 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}", "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 { public static void main(String[] args) { FastReader s = new FastReader(); int T = s.nextInt(); Set<String> hash_Set = new HashSet<String>(); while (T-- > 0) { hash_Set.add(s.next()); } System.out.println(hash_Set.size()); } private static boolean isPrime(int n) { if (n == 2) return true; else if ((n % 2 == 0 && n > 2) || n < 2) return false; else { for (int i = 3; i <= (int) Math.sqrt(n); i += 2) { if (n % i == 0) return false; } return true; } } 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; } } }
[ 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, 17, 18, 13, 13, 30, 30, 0, 18, 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 ], [ 90, 5 ], [ 90, 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 ], [ 61, 70 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 6, 87 ], [ 87, 88 ], [ 0, 89 ], [ 89, 90 ], [ 89, 91 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tint a=sc.nextInt();\n \tString[] s= new String[a];\n \t\n \tfor(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}\n \tArrays.sort(s);\n \tint f=1;\n \t\n \tfor(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}\n \tSystem.out.print(f);\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 \tint a=sc.nextInt();\n \tString[] s= new String[a];\n \t\n \tfor(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}\n \tArrays.sort(s);\n \tint f=1;\n \t\n \tfor(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}\n \tSystem.out.print(f);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tint a=sc.nextInt();\n \tString[] s= new String[a];\n \t\n \tfor(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}\n \tArrays.sort(s);\n \tint f=1;\n \t\n \tfor(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}\n \tSystem.out.print(f);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \tint a=sc.nextInt();\n \tString[] s= new String[a];\n \t\n \tfor(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}\n \tArrays.sort(s);\n \tint f=1;\n \t\n \tfor(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}\n \tSystem.out.print(f);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a=sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "String[] s= new String[a];", "s", "new String[a]", "a", "for(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n \t\ts[i]=sc.next();\n \t}", "{\n \t\ts[i]=sc.next();\n \t}", "s[i]=sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "int f=1;", "f", "1", "for(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}", "int i=1;", "int i=1;", "i", "1", "i<a", "i", "a", "i++", "i++", "i", "{\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}", "{\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}", "if(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}", "s[0].equals(s[i])", "s[0].equals", "s[0]", "s", "0", "s[i]", "s", "i", "{\n \t\t}", "{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}", "s[0]=s[i]", "s[0]", "s", "0", "s[i]", "s", "i", "f++", "f", "System.out.print(f)", "System.out.print", "System.out", "System", "System.out", "f", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tint a=sc.nextInt();\n \tString[] s= new String[a];\n \t\n \tfor(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}\n \tArrays.sort(s);\n \tint f=1;\n \t\n \tfor(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}\n \tSystem.out.print(f);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \tint a=sc.nextInt();\n \tString[] s= new String[a];\n \t\n \tfor(int i=0;i<a;i++){\n \t\ts[i]=sc.next();\n \t}\n \tArrays.sort(s);\n \tint f=1;\n \t\n \tfor(int i=1;i<a;i++){\n \t\tif(s[0].equals(s[i])){\n \t\t}else{\n \t\t\ts[0]=s[i];\n \t\t\tf++;\n \t\t}\n \t}\n \tSystem.out.print(f);\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(); String[] s= new String[a]; for(int i=0;i<a;i++){ s[i]=sc.next(); } Arrays.sort(s); int f=1; for(int i=1;i<a;i++){ if(s[0].equals(s[i])){ }else{ s[0]=s[i]; f++; } } System.out.print(f); } }
[ 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, 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 ], [ 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 ], [ 39, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 12, 54 ], [ 54, 55 ] ]
[ "import java.util.HashMap;\nimport java.util.Map;\nimport java.util.Scanner;\n\nclass Main\n{\n public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n for(int i=0;i<a;i++)\n {\n map.putIfAbsent(sc.next(),1);\n\n }\n System.out.print(map.size());\n\n\n }\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main\n{\n public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n for(int i=0;i<a;i++)\n {\n map.putIfAbsent(sc.next(),1);\n\n }\n System.out.print(map.size());\n\n\n }\n}", "Main", "public static void main(String args[])\n {\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n for(int i=0;i<a;i++)\n {\n map.putIfAbsent(sc.next(),1);\n\n }\n System.out.print(map.size());\n\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int a = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n for(int i=0;i<a;i++)\n {\n map.putIfAbsent(sc.next(),1);\n\n }\n System.out.print(map.size());\n\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = sc.nextInt();", "a", "sc.nextInt()", "sc.nextInt", "sc", "Map<String,Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for(int i=0;i<a;i++)\n {\n map.putIfAbsent(sc.next(),1);\n\n }", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n map.putIfAbsent(sc.next(),1);\n\n }", "{\n map.putIfAbsent(sc.next(),1);\n\n }", "map.putIfAbsent(sc.next(),1)", "map.putIfAbsent", "map", "sc.next()", "sc.next", "sc", "1", "System.out.print(map.size())", "System.out.print", "System.out", "System", "System.out", "map.size()", "map.size", "map", "String args[]", "args" ]
import java.util.HashMap; import java.util.Map; import java.util.Scanner; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int a = sc.nextInt(); Map<String,Integer> map = new HashMap<>(); for(int i=0;i<a;i++) { map.putIfAbsent(sc.next(),1); } System.out.print(map.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, 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 ], [ 62, 14 ], [ 62, 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 ], [ 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 ], [ 15, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "import java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tList<String> array=new ArrayList<>();\n\t\t\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint kuzi=sc.nextInt();\n\t\t\n\t\tfor(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}\n\t\t\n\t\tList<String> result=new ArrayList<>(new HashSet<>(array));\n\t\t\n\t\tSystem.out.println(result.size());\n\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\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tList<String> array=new ArrayList<>();\n\t\t\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint kuzi=sc.nextInt();\n\t\t\n\t\tfor(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}\n\t\t\n\t\tList<String> result=new ArrayList<>(new HashSet<>(array));\n\t\t\n\t\tSystem.out.println(result.size());\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tList<String> array=new ArrayList<>();\n\t\t\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint kuzi=sc.nextInt();\n\t\t\n\t\tfor(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}\n\t\t\n\t\tList<String> result=new ArrayList<>(new HashSet<>(array));\n\t\t\n\t\tSystem.out.println(result.size());\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tList<String> array=new ArrayList<>();\n\t\t\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint kuzi=sc.nextInt();\n\t\t\n\t\tfor(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}\n\t\t\n\t\tList<String> result=new ArrayList<>(new HashSet<>(array));\n\t\t\n\t\tSystem.out.println(result.size());\n\n\t}", "List<String> array=new ArrayList<>();", "array", "new ArrayList<>()", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int kuzi=sc.nextInt();", "kuzi", "sc.nextInt()", "sc.nextInt", "sc", "for(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<kuzi", "i", "kuzi", "i++", "i++", "i", "{\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}", "{\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}", "array.add(sc.next())", "array.add", "array", "sc.next()", "sc.next", "sc", "List<String> result=new ArrayList<>(new HashSet<>(array));", "result", "new ArrayList<>(new HashSet<>(array))", "System.out.println(result.size())", "System.out.println", "System.out", "System", "System.out", "result.size()", "result.size", "result", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tList<String> array=new ArrayList<>();\n\t\t\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint kuzi=sc.nextInt();\n\t\t\n\t\tfor(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}\n\t\t\n\t\tList<String> result=new ArrayList<>(new HashSet<>(array));\n\t\t\n\t\tSystem.out.println(result.size());\n\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\t\n\t\tList<String> array=new ArrayList<>();\n\t\t\n\n\t\tScanner sc=new Scanner(System.in);\n\t\tint kuzi=sc.nextInt();\n\t\t\n\t\tfor(int i=0;i<kuzi;i++) {\n\t\t\tarray.add(sc.next());\n\t\t\t\n\t\t}\n\t\t\n\t\tList<String> result=new ArrayList<>(new HashSet<>(array));\n\t\t\n\t\tSystem.out.println(result.size());\n\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) { // TODO 自動生成されたメソッド・スタブ List<String> array=new ArrayList<>(); Scanner sc=new Scanner(System.in); int kuzi=sc.nextInt(); for(int i=0;i<kuzi;i++) { array.add(sc.next()); } List<String> result=new ArrayList<>(new HashSet<>(array)); System.out.println(result.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, 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, 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 ], [ 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 ], [ 58, 59 ], [ 58, 60 ], [ 51, 61 ], [ 61, 62 ], [ 62, 63 ], [ 51, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 74, 76 ], [ 66, 77 ], [ 77, 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;\npublic class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\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\tArrays.sort(s);\n\t\tint result = n;\n\t\tfor(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\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\tArrays.sort(s);\n\t\tint result = n;\n\t\tfor(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\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\tfor(int i=0; i<n; i++){\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tArrays.sort(s);\n\t\tint result = n;\n\t\tfor(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\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\tfor(int i=0; i<n; i++){\n\t\t\ts[i] = sc.next();\n\t\t}\n\t\tArrays.sort(s);\n\t\tint result = n;\n\t\tfor(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\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", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "int result = n;", "result", "n", "for(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n-1", "i", "n-1", "n", "1", "i++", "i++", "i", "{\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}", "if(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}", "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\tresult--;\n\t\t\t}", "result--", "result", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\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\tArrays.sort(s);\n\t\tint result = n;\n\t\tfor(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\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\tArrays.sort(s);\n\t\tint result = n;\n\t\tfor(int i=0; i<n-1; i++){\n\t\t\tif(s[i].equals(s[i+1])){\n\t\t\t\tresult--;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(result);\n\t}\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[] s = new String[n]; for(int i=0; i<n; i++){ s[i] = sc.next(); } Arrays.sort(s); int result = n; for(int i=0; i<n-1; i++){ if(s[i].equals(s[i+1])){ result--; } } System.out.println(result); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 17, 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, 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, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 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, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 108, 8 ], [ 108, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 108, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 16, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 23, 24 ], [ 16, 25 ], [ 25, 26 ], [ 25, 27 ], [ 16, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 33, 34 ], [ 33, 35 ], [ 28, 36 ], [ 36, 37 ], [ 37, 38 ], [ 28, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 43, 44 ], [ 44, 45 ], [ 16, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 52, 53 ], [ 14, 54 ], [ 54, 55 ], [ 108, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 56, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 62, 68 ], [ 68, 69 ], [ 56, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 73, 82 ], [ 82, 83 ], [ 82, 84 ], [ 72, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 56, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 56, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.io.*;\nimport java.util.*;\n\npublic class Main {\n\n\tstatic long m = (long) (1e9 + 7);\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tHashSet<String> hs = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());\n\t\tSystem.out.println(hs.size());\n\t}\n\n\tstatic class Scanner {\n\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\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\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tstatic long m = (long) (1e9 + 7);\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tHashSet<String> hs = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());\n\t\tSystem.out.println(hs.size());\n\t}\n\n\tstatic class Scanner {\n\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\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\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "Main", "static long m = (long) (1e9 + 7);", "m", "(long) (1e9 + 7)", "1e9", "7", "public static void main(String[] args) throws IOException {\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tHashSet<String> hs = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());\n\t\tSystem.out.println(hs.size());\n\t}", "main", "{\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tHashSet<String> hs = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());\n\t\tSystem.out.println(hs.size());\n\t}", "Scanner scn = new Scanner(System.in);", "scn", "new Scanner(System.in)", "int n = scn.nextInt();", "n", "scn.nextInt()", "scn.nextInt", "scn", "HashSet<String> hs = new HashSet<>();", "hs", "new HashSet<>()", "for (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "hs.add(scn.next());", "hs.add(scn.next())", "hs.add", "hs", "scn.next()", "scn.next", "scn", "System.out.println(hs.size())", "System.out.println", "System.out", "System", "System.out", "hs.size()", "hs.size", "hs", "String[] args", "args", "static class Scanner {\n\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\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\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}", "Scanner", "StringTokenizer st;", "st", "BufferedReader br;", "br", "public Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}", "Scanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\n\t\t}", "br = new BufferedReader(new InputStreamReader(s))", "br", "new BufferedReader(new InputStreamReader(s))", "InputStream s", "s", "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 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 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 class Main {\n\n\tstatic long m = (long) (1e9 + 7);\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tHashSet<String> hs = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());\n\t\tSystem.out.println(hs.size());\n\t}\n\n\tstatic class Scanner {\n\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\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\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "public class Main {\n\n\tstatic long m = (long) (1e9 + 7);\n\n\tpublic static void main(String[] args) throws IOException {\n\t\tScanner scn = new Scanner(System.in);\n\t\tint n = scn.nextInt();\n\t\tHashSet<String> hs = new HashSet<>();\n\t\tfor (int i = 0; i < n; i++)\n\t\t\ths.add(scn.next());\n\t\tSystem.out.println(hs.size());\n\t}\n\n\tstatic class Scanner {\n\n\t\tStringTokenizer st;\n\t\tBufferedReader br;\n\n\t\tpublic Scanner(InputStream s) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(s));\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\n\t\tpublic int nextInt() throws IOException {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\n\t\tpublic long nextLong() throws IOException {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t}\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { static long m = (long) (1e9 + 7); public static void main(String[] args) throws IOException { Scanner scn = new Scanner(System.in); int n = scn.nextInt(); HashSet<String> hs = new HashSet<>(); for (int i = 0; i < n; i++) hs.add(scn.next()); System.out.println(hs.size()); } static class Scanner { StringTokenizer st; BufferedReader br; public Scanner(InputStream s) { br = new BufferedReader(new InputStreamReader(s)); } public String next() throws IOException { while (st == null || !st.hasMoreTokens()) st = new StringTokenizer(br.readLine()); return st.nextToken(); } public int nextInt() throws IOException { return Integer.parseInt(next()); } public long nextLong() throws IOException { return Long.parseLong(next()); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 4, 18, 13, 18, 13, 13, 2, 4, 18, 13, 18, 13, 13, 17, 30, 4, 18, 13, 18, 13, 13, 17, 41, 13, 17, 28, 13, 4, 18, 13, 30, 30, 41, 13, 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 ], [ 114, 5 ], [ 114, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 21, 29 ], [ 29, 30 ], [ 30, 31 ], [ 21, 32 ], [ 33, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 34, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 57, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 65, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 75, 76 ], [ 75, 77 ], [ 71, 78 ], [ 57, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 80, 86 ], [ 8, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 90, 95 ], [ 96, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 96, 103 ], [ 103, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 6, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "//package atcoder;\n \nimport java.util.*;\n \npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString A[] = new String[N];\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}\n\t\t\n\t\tHashMap<String,Integer>map = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString A[] = new String[N];\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}\n\t\t\n\t\tHashMap<String,Integer>map = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}\n\t\tSystem.out.println(ans);\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 A[] = new String[N];\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}\n\t\t\n\t\tHashMap<String,Integer>map = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString A[] = new String[N];\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}\n\t\t\n\t\tHashMap<String,Integer>map = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}\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 A[] = new String[N];", "A", "new String[N]", "N", "for(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}", "{\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}", "A[i] = sc.next()", "A[i]", "A", "i", "sc.next()", "sc.next", "sc", "HashMap<String,Integer>map = new HashMap<String,Integer>();", "map", "new HashMap<String,Integer>()", "for(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\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\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}", "{\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}", "if(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}", "map.containsKey(A[i])", "map.containsKey", "map", "A[i]", "A", "i", "{\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}", "map.put(A[i],map.get(A[i])+1)", "map.put", "map", "A[i]", "A", "i", "map.get(A[i])+1", "map.get(A[i])", "map.get", "map", "A[i]", "A", "i", "1", "{\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}", "map.put(A[i],1)", "map.put", "map", "A[i]", "A", "i", "1", "int ans = 0;", "ans", "0", "for(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}", "String key", "map.keySet()", "map.keySet", "map", "{\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}", "{\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}", "int temp = map.get(key);", "temp", "map.get(key)", "map.get", "map", "key", "ans ++", "ans", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString A[] = new String[N];\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}\n\t\t\n\t\tHashMap<String,Integer>map = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString A[] = new String[N];\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tA[i] = sc.next();\n\t\t\t//System.out.println(A[i]);\n\t\t}\n\t\t\n\t\tHashMap<String,Integer>map = new HashMap<String,Integer>();\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(map.containsKey(A[i])) {\n\t\t\t\tmap.put(A[i],map.get(A[i])+1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}else {\n\t\t\t\tmap.put(A[i],1);\n\t\t\t\t//System.out.println(map.get(A[i]));\n\t\t\t}\n\t\t}\n\t\tint ans = 0;\n\t\tfor(String key : map.keySet()) {\n\t\t\tint temp = map.get(key);\n\t\t\t//System.out.println(temp);\n\t\t\t\tans ++;\n\t\t\t\t//System.out.println(ans);\n\t\t}\n\t\tSystem.out.println(ans);\n\t}\n}", "Main" ]
//package atcoder; 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(); //System.out.println(A[i]); } HashMap<String,Integer>map = new HashMap<String,Integer>(); for(int i=0;i<N;i++) { if(map.containsKey(A[i])) { map.put(A[i],map.get(A[i])+1); //System.out.println(map.get(A[i])); }else { map.put(A[i],1); //System.out.println(map.get(A[i])); } } int ans = 0; for(String key : map.keySet()) { int temp = map.get(key); //System.out.println(temp); ans ++; //System.out.println(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, 4, 18, 13, 13, 13, 4, 18, 18, 13, 13, 4, 18, 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 ], [ 38, 41 ], [ 38, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 6, 54 ], [ 54, 55 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n HashMap<String,String> map = new HashMap<String,String>();\n\n for(int i = 0; i < n; i++) {\n String str = sc.next();\n map.put(str,str);\n }\n System.out.println(map.size());\n\n sc.close();\n }\n}", "import java.util.*;", "util.*", "java", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n HashMap<String,String> map = new HashMap<String,String>();\n\n for(int i = 0; i < n; i++) {\n String str = sc.next();\n map.put(str,str);\n }\n System.out.println(map.size());\n\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n HashMap<String,String> map = new HashMap<String,String>();\n\n for(int i = 0; i < n; i++) {\n String str = sc.next();\n map.put(str,str);\n }\n System.out.println(map.size());\n\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n\n HashMap<String,String> map = new HashMap<String,String>();\n\n for(int i = 0; i < n; i++) {\n String str = sc.next();\n map.put(str,str);\n }\n System.out.println(map.size());\n\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashMap<String,String> map = new HashMap<String,String>();", "map", "new HashMap<String,String>()", "for(int i = 0; i < n; i++) {\n String str = sc.next();\n map.put(str,str);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String str = sc.next();\n map.put(str,str);\n }", "{\n String str = sc.next();\n map.put(str,str);\n }", "String str = sc.next();", "str", "sc.next()", "sc.next", "sc", "map.put(str,str)", "map.put", "map", "str", "str", "System.out.println(map.size())", "System.out.println", "System.out", "System", "System.out", "map.size()", "map.size", "map", "sc.close()", "sc.close", "sc", "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,String> map = new HashMap<String,String>(); for(int i = 0; i < n; i++) { String str = sc.next(); map.put(str,str); } System.out.println(map.size()); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 28, 13, 13, 30, 30, 40, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 54, 5 ], [ 54, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 23, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 28, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 42, 42 ], [ 42, 43 ], [ 43, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 6, 51 ], [ 51, 52 ], [ 0, 53 ], [ 53, 54 ], [ 53, 55 ] ]
[ "import java.util.*;\npublic class Main\n{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int t = sc.nextInt();\n\t int count=0;\n\t Set<String> set = new HashSet<String>();\n\t while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}\n for(String stock : set){\n count++;\n}\nSystem.out.println(count);\n\t \n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main\n{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int t = sc.nextInt();\n\t int count=0;\n\t Set<String> set = new HashSet<String>();\n\t while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}\n for(String stock : set){\n count++;\n}\nSystem.out.println(count);\n\t \n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int t = sc.nextInt();\n\t int count=0;\n\t Set<String> set = new HashSet<String>();\n\t while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}\n for(String stock : set){\n count++;\n}\nSystem.out.println(count);\n\t \n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t int t = sc.nextInt();\n\t int count=0;\n\t Set<String> set = new HashSet<String>();\n\t while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}\n for(String stock : set){\n count++;\n}\nSystem.out.println(count);\n\t \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int t = sc.nextInt();", "t", "sc.nextInt()", "sc.nextInt", "sc", "int count=0;", "count", "0", "Set<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}", "t-->0", "t--", "t", "0", "{\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}", "String str= sc.next();", "str", "sc.next()", "sc.next", "sc", "set.add(str)", "set.add", "set", "str", "for(String stock : set){\n count++;\n}", "String stock", "set", "{\n count++;\n}", "{\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{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int t = sc.nextInt();\n\t int count=0;\n\t Set<String> set = new HashSet<String>();\n\t while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}\n for(String stock : set){\n count++;\n}\nSystem.out.println(count);\n\t \n\t}\n}", "public class Main\n{\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t int t = sc.nextInt();\n\t int count=0;\n\t Set<String> set = new HashSet<String>();\n\t while(t-->0){\n\t String str= sc.next();\n\t \n\t set.add(str);\n\t \n}\n for(String stock : set){\n count++;\n}\nSystem.out.println(count);\n\t \n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int t = sc.nextInt(); int count=0; Set<String> set = new HashSet<String>(); while(t-->0){ String str= sc.next(); set.add(str); } for(String stock : set){ count++; } System.out.println(count); } }
[ 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, 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, 11, 1, 41, 13, 17, 2, 13, 2, 18, 13, 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, 23 ], [ 23, 24 ], [ 23, 25 ], [ 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 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 58, 62 ], [ 51, 63 ], [ 63, 64 ], [ 64, 65 ], [ 51, 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.Arrays;\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\t\tint count = 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\tArrays.sort(s);\n\t\tfor (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count = 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\tArrays.sort(s);\n\t\tfor (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count = 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\tArrays.sort(s);\n\t\tfor (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count = 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\tArrays.sort(s);\n\t\tfor (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int count = 1;", "count", "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", "Arrays.sort(s)", "Arrays.sort", "Arrays", "s", "for (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < s.length - 1", "i", "s.length - 1", "s.length", "s", "s.length", "1", "i++", "i++", "i", "{\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}", "if (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}", "!s[i].equalsIgnoreCase(s[i + 1])", "s[i].equalsIgnoreCase(s[i + 1])", "s[i].equalsIgnoreCase", "s[i]", "s", "i", "s[i + 1]", "s", "i + 1", "i", "1", "{\n\t\t\t\tcount++;\n\t\t\t}", "count++", "count", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count = 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\tArrays.sort(s);\n\t\tfor (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint count = 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\tArrays.sort(s);\n\t\tfor (int i = 0; i < s.length - 1; i++) {\n\t\t\tif (!s[i].equalsIgnoreCase(s[i + 1])) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(count);\n\t}\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count = 1; String[] s = new String[n]; for(int i = 0; i < n; i++) { s[i] = sc.next(); } Arrays.sort(s); for (int i = 0; i < s.length - 1; i++) { if (!s[i].equalsIgnoreCase(s[i + 1])) { count++; } } System.out.println(count); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 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, 4, 18, 13, 13, 41, 13, 4, 13, 13, 13, 4, 18, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 4, 13, 13, 29, 4, 18, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 13, 13, 29, 13, 23, 13, 6, 13, 41, 13, 41, 13, 41, 13, 17, 12, 13, 30, 4, 13, 20, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 13, 17, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 37, 20, 30, 41, 13, 4, 18, 13, 14, 2, 13, 17, 29, 17, 0, 13, 20, 41, 13, 4, 18, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 2, 17, 13, 17, 13, 29, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 18, 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 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 287, 44 ], [ 287, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 50, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 47, 58 ], [ 58, 59 ], [ 58, 60 ], [ 47, 61 ], [ 61, 62 ], [ 61, 63 ], [ 47, 64 ], [ 64, 65 ], [ 64, 66 ], [ 47, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 67, 72 ], [ 47, 73 ], [ 73, 74 ], [ 74, 75 ], [ 45, 76 ], [ 76, 77 ], [ 287, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 82, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 82, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 96, 99 ], [ 82, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 80, 104 ], [ 104, 105 ], [ 80, 106 ], [ 106, 107 ], [ 80, 108 ], [ 108, 109 ], [ 78, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 112, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 110, 126 ], [ 126, 127 ], [ 110, 128 ], [ 128, 129 ], [ 78, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 132, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 136, 140 ], [ 132, 141 ], [ 141, 142 ], [ 130, 143 ], [ 143, 144 ], [ 287, 145 ], [ 145, 146 ], [ 145, 147 ], [ 147, 148 ], [ 145, 149 ], [ 149, 150 ], [ 145, 151 ], [ 151, 152 ], [ 151, 153 ], [ 145, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 154, 160 ], [ 160, 161 ], [ 145, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 162, 168 ], [ 168, 169 ], [ 145, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 173, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 184, 184 ], [ 184, 185 ], [ 184, 186 ], [ 184, 187 ], [ 172, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 189, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 188, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 203, 204 ], [ 201, 205 ], [ 205, 206 ], [ 198, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 213, 217 ], [ 217, 218 ], [ 207, 219 ], [ 219, 220 ], [ 219, 221 ], [ 172, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 172, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 232, 237 ], [ 239, 238 ], [ 238, 239 ], [ 239, 240 ], [ 239, 241 ], [ 238, 242 ], [ 239, 243 ], [ 172, 244 ], [ 244, 245 ], [ 145, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 250, 253 ], [ 253, 254 ], [ 145, 255 ], [ 255, 256 ], [ 255, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 262 ], [ 262, 263 ], [ 263, 264 ], [ 264, 265 ], [ 264, 266 ], [ 262, 267 ], [ 267, 268 ], [ 267, 269 ], [ 269, 270 ], [ 269, 271 ], [ 262, 272 ], [ 272, 273 ], [ 273, 274 ], [ 262, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 276, 280 ], [ 280, 281 ], [ 257, 282 ], [ 282, 283 ], [ 255, 284 ], [ 284, 285 ], [ 0, 286 ], [ 286, 287 ], [ 286, 288 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.PrintStream;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.ArrayList;\nimport java.util.HashSet;\nimport java.util.AbstractCollection;\nimport java.util.StringTokenizer;\nimport java.io.BufferedReader;\nimport java.util.Collections;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author Eric\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CGacha solver = new CGacha();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CGacha {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n private int solveMe(int n, String[] a) {\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }\n\n public static <T> ArrayList<T> toArrayList(T[] a) {\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public String[] nextArrString(int n) {\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\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.io.PrintStream;", "PrintStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.AbstractCollection;", "AbstractCollection", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.util.Collections;", "Collections", "java.util", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CGacha solver = new CGacha();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CGacha {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n private int solveMe(int n, String[] a) {\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }\n\n public static <T> ArrayList<T> toArrayList(T[] a) {\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public String[] nextArrString(int n) {\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CGacha solver = new CGacha();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CGacha solver = new CGacha();\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", "FastReader in = new FastReader(inputStream);", "in", "new FastReader(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "CGacha solver = new CGacha();", "solver", "new CGacha()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class CGacha {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n private int solveMe(int n, String[] a) {\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }\n\n public static <T> ArrayList<T> toArrayList(T[] a) {\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }\n\n }", "CGacha", "public void solve(int testNumber, FastReader in, PrintWriter out) {\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }", "solve", "{\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "String[] a = in.nextArrString(n);", "a", "in.nextArrString(n)", "in.nextArrString", "in", "n", "int res = solveMe(n, a);", "res", "solveMe(n, a)", "solveMe", "n", "a", "out.println(res)", "out.println", "out", "res", "int testNumber", "testNumber", "FastReader in", "in", "PrintWriter out", "out", "private int solveMe(int n, String[] a) {\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }", "solveMe", "{\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }", "HashSet<String> set = new HashSet<>();", "set", "new HashSet<>()", "set.addAll(toArrayList(a))", "set.addAll", "set", "toArrayList(a)", "toArrayList", "a", "return set.size();", "set.size()", "set.size", "set", "int n", "n", "String[] a", "a", "public static <T> ArrayList<T> toArrayList(T[] a) {\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }", "toArrayList", "{\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }", "ArrayList<T> res = new ArrayList<>(a.length);", "res", "new ArrayList<>(a.length)", "Collections.addAll(res, a)", "Collections.addAll", "Collections", "res", "a", "return res;", "res", "T[] a", "a", "static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public String[] nextArrString(int n) {\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\n }\n\n }", "FastReader", "public BufferedReader br;", "br", "public StringTokenizer st;", "st", "String context = null;", "context", "null", "public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }", "FastReader", "{\n this(new InputStreamReader(in));\n }", "this(new InputStreamReader(in))", "this", "new InputStreamReader(in)", "InputStream in", "in", "public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }", "FastReader", "{\n br = new BufferedReader(input);\n }", "br = new BufferedReader(input)", "br", "new BufferedReader(input)", "InputStreamReader input", "input", "public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }", "next", "{\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }", "if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }", "context != null", "context", "null", "{\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }", "System.err.print(\"[\" + context + \"] Wait for input ...\")", "System.err.print", "System.err", "System", "System.err", "\"[\" + context + \"] Wait for input ...\"", "\"[\" + context + \"] Wait for input ...\"", "\"[\"", "context", "\"] Wait for input ...\"", "while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }", "try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }", "catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }", "IOException e", "{\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }", "e.printStackTrace()", "e.printStackTrace", "e", "throw new RuntimeException(\"Could not read\");", "new RuntimeException(\"Could not read\")", "{\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n }", "String s = br.readLine();", "s", "br.readLine()", "br.readLine", "br", "if (s == null)\n return null;", "s == null", "s", "null", "return null;", "null", "st = new StringTokenizer(s)", "st", "new StringTokenizer(s)", "String res = st.nextToken();", "res", "st.nextToken()", "st.nextToken", "st", "if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }", "context != null", "context", "null", "{\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }", "System.err.println(\"[\" + context + \"] ... received : \" + res)", "System.err.println", "System.err", "System", "System.err", "\"[\" + context + \"] ... received : \" + res", "\"] ... received : \"", "\"[\" + context + \"] ... received : \" + res", "\"[\"", "context", "\"] ... received : \"", "res", "return res;", "res", "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 String[] nextArrString(int n) {\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\n }", "nextArrString", "{\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\n }", "String[] a = new String[n];", "a", "new String[n]", "n", "for (int i = 0; i < a.length; i++)\n a[i] = next();", "int i = 0;", "int i = 0;", "i", "0", "i < a.length", "i", "a.length", "a", "a.length", "i++", "i++", "i", "a[i] = next();", "a[i] = next()", "a[i]", "a", "i", "next()", "next", "return a;", "a", "int n", "n", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CGacha solver = new CGacha();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CGacha {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n private int solveMe(int n, String[] a) {\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }\n\n public static <T> ArrayList<T> toArrayList(T[] a) {\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public String[] nextArrString(int n) {\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\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 FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n CGacha solver = new CGacha();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class CGacha {\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n int n = in.nextInt();\n String[] a = in.nextArrString(n);\n int res = solveMe(n, a);\n out.println(res);\n\n //out.print(\"Case #\"+ testNumber + \": \");\n }\n\n private int solveMe(int n, String[] a) {\n HashSet<String> set = new HashSet<>();\n set.addAll(toArrayList(a));\n return set.size();\n }\n\n public static <T> ArrayList<T> toArrayList(T[] a) {\n ArrayList<T> res = new ArrayList<>(a.length);\n Collections.addAll(res, a);\n return res;\n }\n\n }\n\n static class FastReader {\n public BufferedReader br;\n public StringTokenizer st;\n String context = null;\n\n public FastReader(InputStream in) {\n this(new InputStreamReader(in));\n }\n\n public FastReader(InputStreamReader input) {\n br = new BufferedReader(input);\n }\n\n public String next() {\n if (context != null) {\n System.err.print(\"[\" + context + \"] Wait for input ...\");\n }\n while (st == null || !st.hasMoreElements()) {\n try {\n String s = br.readLine();\n if (s == null)\n return null;\n st = new StringTokenizer(s);\n } catch (IOException e) {\n e.printStackTrace();\n throw new RuntimeException(\"Could not read\");\n }\n }\n String res = st.nextToken();\n if (context != null) {\n System.err.println(\"[\" + context + \"] ... received : \" + res);\n }\n return res;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public String[] nextArrString(int n) {\n String[] a = new String[n];\n for (int i = 0; i < a.length; i++)\n a[i] = next();\n return a;\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.PrintStream; import java.io.IOException; import java.io.InputStreamReader; import java.util.ArrayList; import java.util.HashSet; import java.util.AbstractCollection; import java.util.StringTokenizer; import java.io.BufferedReader; import java.util.Collections; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author Eric */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; FastReader in = new FastReader(inputStream); PrintWriter out = new PrintWriter(outputStream); CGacha solver = new CGacha(); solver.solve(1, in, out); out.close(); } static class CGacha { public void solve(int testNumber, FastReader in, PrintWriter out) { int n = in.nextInt(); String[] a = in.nextArrString(n); int res = solveMe(n, a); out.println(res); //out.print("Case #"+ testNumber + ": "); } private int solveMe(int n, String[] a) { HashSet<String> set = new HashSet<>(); set.addAll(toArrayList(a)); return set.size(); } public static <T> ArrayList<T> toArrayList(T[] a) { ArrayList<T> res = new ArrayList<>(a.length); Collections.addAll(res, a); return res; } } static class FastReader { public BufferedReader br; public StringTokenizer st; String context = null; public FastReader(InputStream in) { this(new InputStreamReader(in)); } public FastReader(InputStreamReader input) { br = new BufferedReader(input); } public String next() { if (context != null) { System.err.print("[" + context + "] Wait for input ..."); } while (st == null || !st.hasMoreElements()) { try { String s = br.readLine(); if (s == null) return null; st = new StringTokenizer(s); } catch (IOException e) { e.printStackTrace(); throw new RuntimeException("Could not read"); } } String res = st.nextToken(); if (context != null) { System.err.println("[" + context + "] ... received : " + res); } return res; } public int nextInt() { return Integer.parseInt(next()); } public String[] nextArrString(int n) { String[] a = new String[n]; for (int i = 0; i < a.length; i++) a[i] = next(); return a; } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 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, 20, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 13, 17, 30, 40, 13, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 4, 18, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 23, 13, 12, 13, 30, 14, 2, 13, 40, 17, 30, 37, 20, 14, 2, 13, 13, 30, 0, 13, 17, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 29, 40, 17, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 17, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 37, 20, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 42, 4, 13, 13, 30, 0, 13, 4, 13, 41, 13, 20, 42, 40, 4, 13, 13, 30, 14, 4, 18, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 14, 2, 13, 17, 30, 29, 4, 18, 13, 13, 29, 4, 13, 13, 23, 13, 12, 13, 30, 29, 2, 2, 2, 2, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 17, 2, 13, 40, 17, 23, 13, 6, 13, 12, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 396, 41 ], [ 396, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 47, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 44, 55 ], [ 55, 56 ], [ 55, 57 ], [ 44, 58 ], [ 58, 59 ], [ 58, 60 ], [ 44, 61 ], [ 61, 62 ], [ 61, 63 ], [ 44, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 64, 68 ], [ 64, 69 ], [ 44, 70 ], [ 70, 71 ], [ 71, 72 ], [ 42, 73 ], [ 73, 74 ], [ 396, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 79, 85 ], [ 85, 86 ], [ 85, 87 ], [ 79, 88 ], [ 88, 89 ], [ 88, 90 ], [ 79, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 91, 102 ], [ 103, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 103, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 110, 115 ], [ 109, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 120, 121 ], [ 119, 122 ], [ 119, 123 ], [ 79, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 77, 130 ], [ 130, 131 ], [ 77, 132 ], [ 132, 133 ], [ 77, 134 ], [ 134, 135 ], [ 396, 136 ], [ 136, 137 ], [ 136, 138 ], [ 138, 139 ], [ 136, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 143, 145 ], [ 140, 146 ], [ 146, 147 ], [ 136, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 152, 154 ], [ 151, 155 ], [ 148, 156 ], [ 156, 157 ], [ 136, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 396, 164 ], [ 164, 165 ], [ 164, 166 ], [ 166, 167 ], [ 164, 168 ], [ 168, 169 ], [ 168, 170 ], [ 164, 172 ], [ 172, 173 ], [ 164, 174 ], [ 174, 175 ], [ 164, 176 ], [ 176, 177 ], [ 164, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 178, 186 ], [ 186, 187 ], [ 164, 188 ], [ 188, 189 ], [ 188, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 191, 196 ], [ 196, 197 ], [ 197, 198 ], [ 190, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 203, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 207, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 216, 219 ], [ 203, 220 ], [ 220, 221 ], [ 221, 222 ], [ 221, 223 ], [ 220, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 190, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 164, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 235, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 244, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 235, 249 ], [ 249, 250 ], [ 249, 251 ], [ 235, 252 ], [ 252, 253 ], [ 253, 254 ], [ 253, 255 ], [ 252, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 256, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 235, 265 ], [ 265, 266 ], [ 265, 267 ], [ 235, 268 ], [ 268, 269 ], [ 269, 270 ], [ 270, 271 ], [ 270, 272 ], [ 268, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 279, 280 ], [ 279, 281 ], [ 274, 282 ], [ 282, 283 ], [ 283, 284 ], [ 273, 285 ], [ 285, 286 ], [ 285, 287 ], [ 273, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 290, 292 ], [ 273, 293 ], [ 293, 294 ], [ 293, 295 ], [ 295, 296 ], [ 235, 297 ], [ 297, 298 ], [ 298, 299 ], [ 298, 300 ], [ 164, 301 ], [ 301, 302 ], [ 301, 303 ], [ 303, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 303, 308 ], [ 308, 309 ], [ 309, 310 ], [ 309, 311 ], [ 308, 312 ], [ 312, 313 ], [ 313, 314 ], [ 313, 315 ], [ 315, 316 ], [ 303, 317 ], [ 317, 318 ], [ 317, 319 ], [ 303, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 322, 324 ], [ 320, 325 ], [ 325, 326 ], [ 326, 327 ], [ 327, 328 ], [ 328, 329 ], [ 327, 330 ], [ 326, 331 ], [ 331, 332 ], [ 332, 333 ], [ 333, 334 ], [ 332, 335 ], [ 325, 336 ], [ 336, 337 ], [ 336, 338 ], [ 338, 339 ], [ 303, 340 ], [ 340, 341 ], [ 341, 342 ], [ 342, 343 ], [ 164, 344 ], [ 344, 345 ], [ 344, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 347, 351 ], [ 351, 352 ], [ 352, 353 ], [ 353, 354 ], [ 354, 355 ], [ 353, 356 ], [ 346, 357 ], [ 357, 358 ], [ 358, 359 ], [ 358, 360 ], [ 344, 361 ], [ 361, 362 ], [ 164, 363 ], [ 363, 364 ], [ 363, 365 ], [ 365, 366 ], [ 366, 367 ], [ 370, 368 ], [ 380, 369 ], [ 377, 370 ], [ 370, 371 ], [ 371, 372 ], [ 371, 373 ], [ 370, 374 ], [ 374, 375 ], [ 374, 376 ], [ 377, 377 ], [ 377, 378 ], [ 377, 379 ], [ 380, 380 ], [ 380, 381 ], [ 380, 382 ], [ 370, 383 ], [ 383, 384 ], [ 383, 385 ], [ 385, 386 ], [ 363, 387 ], [ 387, 388 ], [ 164, 389 ], [ 389, 390 ], [ 389, 391 ], [ 391, 392 ], [ 391, 393 ], [ 393, 394 ], [ 0, 395 ], [ 395, 396 ], [ 395, 397 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.util.HashMap;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author srikanth\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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.PrintStream;", "PrintStream", "java.io", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.io.IOException;", "IOException", "java.io", "import java.io.Writer;", "Writer", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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 InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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", "InputReader in = new InputReader(inputStream);", "in", "new InputReader(inputStream)", "OutputWriter out = new OutputWriter(outputStream);", "out", "new OutputWriter(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, InputReader in, OutputWriter out) {\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }\n\n }", "abc164_c", "public void solve(int testNumber, InputReader in, OutputWriter out) {\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }", "solve", "{\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "HashMap<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "int count = 0;", "count", "0", "for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }", "{\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }", "String s = in.nextString();", "s", "in.nextString()", "in.nextString", "in", "if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }", "map.get(s) == null", "map.get(s)", "map.get", "map", "s", "null", "{\n count++;\n map.put(s, 1);\n }", "count++", "count", "map.put(s, 1)", "map.put", "map", "s", "1", "System.out.println(count)", "System.out.println", "System.out", "System", "System.out", "count", "int testNumber", "testNumber", "InputReader in", "in", "OutputWriter out", "out", "static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n }", "OutputWriter", "private final PrintWriter writer;", "writer", "public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }", "OutputWriter", "{\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }", "writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "writer", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)))", "OutputStream outputStream", "outputStream", "public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }", "OutputWriter", "{\n this.writer = new PrintWriter(writer);\n }", "this.writer = new PrintWriter(writer)", "this.writer", "this", "this.writer", "new PrintWriter(writer)", "Writer writer", "writer", "public void close() {\n writer.close();\n }", "close", "{\n writer.close();\n }", "writer.close()", "writer.close", "writer", "static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }", "InputReader", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "private InputReader.SpaceCharFilter filter;", "filter", "public InputReader(InputStream stream) {\n this.stream = stream;\n }", "InputReader", "{\n this.stream = stream;\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "read", "{\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }", "if (numChars == -1) {\n throw new InputMismatchException();\n }", "numChars == -1", "numChars", "-1", "1", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }", "curChar >= numChars", "curChar", "numChars", "{\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }", "curChar = 0", "curChar", "0", "try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n numChars = stream.read(buf);\n }", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0) {\n return -1;\n }", "numChars <= 0", "numChars", "0", "{\n return -1;\n }", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "nextInt", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n sgn = -1;\n c = read();\n }", "c == '-'", "c", "'-'", "{\n sgn = -1;\n c = read();\n }", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "int res = 0;", "res", "0", "do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n }", "if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }", "c < '0' || c > '9'", "c < '0'", "c", "'0'", "c > '9'", "c", "'9'", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = read()", "c", "read()", "read", "return res * sgn;", "res * sgn", "res", "sgn", "public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "nextString", "{\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c)) {\n c = read();\n }", "isSpaceChar(c)", "isSpaceChar", "c", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n }", "if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }", "Character.isValidCodePoint(c)", "Character.isValidCodePoint", "Character", "c", "{\n res.appendCodePoint(c);\n }", "res.appendCodePoint(c)", "res.appendCodePoint", "res", "c", "c = read()", "c", "read()", "read", "return res.toString();", "res.toString()", "res.toString", "res", "public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "isSpaceChar", "{\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }", "if (filter != null) {\n return filter.isSpaceChar(c);\n }", "filter != null", "filter", "null", "{\n return filter.isSpaceChar(c);\n }", "return filter.isSpaceChar(c);", "filter.isSpaceChar(c)", "filter.isSpaceChar", "filter", "c", "return isWhitespace(c);", "isWhitespace(c)", "isWhitespace", "c", "int c", "c", "public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "isWhitespace", "{\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }", "return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == '\\t'", "c == '\\r'", "c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1", "c == ' '", "c", "' '", "c == '\\n'", "c", "'\\n'", "c == '\\r'", "c", "'\\r'", "c == '\\t'", "c", "'\\t'", "c == -1", "c", "-1", "1", "int c", "c", "public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\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 InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(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, InputReader in, OutputWriter out) {\n int n = in.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n int count = 0;\n for (int i = 0; i < n; i++) {\n String s = in.nextString();\n if (map.get(s) == null) {\n count++;\n map.put(s, 1);\n }\n }\n System.out.println(count);\n }\n\n }\n\n static class OutputWriter {\n private final PrintWriter writer;\n\n public OutputWriter(OutputStream outputStream) {\n writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n }\n\n public OutputWriter(Writer writer) {\n this.writer = new PrintWriter(writer);\n }\n\n public void close() {\n writer.close();\n }\n\n }\n\n static class InputReader {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n private InputReader.SpaceCharFilter filter;\n\n public InputReader(InputStream stream) {\n this.stream = stream;\n }\n\n public int read() {\n// System.out.println(\"numchars \"+numChars);\n if (numChars == -1) {\n throw new InputMismatchException();\n }\n if (curChar >= numChars) {\n curChar = 0;\n try {\n numChars = stream.read(buf);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n if (numChars <= 0) {\n return -1;\n }\n }\n return buf[curChar++];\n }\n\n public int nextInt() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n int sgn = 1;\n if (c == '-') {\n sgn = -1;\n c = read();\n }\n int res = 0;\n do {\n if (c < '0' || c > '9') {\n throw new InputMismatchException();\n }\n res *= 10;\n res += c - '0';\n c = read();\n } while (!isSpaceChar(c));\n return res * sgn;\n }\n\n public String nextString() {\n int c = read();\n while (isSpaceChar(c)) {\n c = read();\n }\n StringBuilder res = new StringBuilder();\n do {\n if (Character.isValidCodePoint(c)) {\n res.appendCodePoint(c);\n }\n c = read();\n } while (!isSpaceChar(c));\n return res.toString();\n }\n\n public boolean isSpaceChar(int c) {\n if (filter != null) {\n return filter.isSpaceChar(c);\n }\n return isWhitespace(c);\n }\n\n public static boolean isWhitespace(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public interface SpaceCharFilter {\n public boolean isSpaceChar(int ch);\n\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.BufferedWriter; import java.util.HashMap; import java.util.InputMismatchException; import java.io.IOException; import java.io.Writer; import java.io.OutputStreamWriter; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author srikanth */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); OutputWriter out = new OutputWriter(outputStream); abc164_c solver = new abc164_c(); solver.solve(1, in, out); out.close(); } static class abc164_c { public void solve(int testNumber, InputReader in, OutputWriter out) { int n = in.nextInt(); HashMap<String, Integer> map = new HashMap<>(); int count = 0; for (int i = 0; i < n; i++) { String s = in.nextString(); if (map.get(s) == null) { count++; map.put(s, 1); } } System.out.println(count); } } static class OutputWriter { private final PrintWriter writer; public OutputWriter(OutputStream outputStream) { writer = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream))); } public OutputWriter(Writer writer) { this.writer = new PrintWriter(writer); } public void close() { writer.close(); } } static class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private InputReader.SpaceCharFilter filter; public InputReader(InputStream stream) { this.stream = stream; } public int read() { // System.out.println("numchars "+numChars); if (numChars == -1) { throw new InputMismatchException(); } if (curChar >= numChars) { curChar = 0; try { numChars = stream.read(buf); } catch (IOException e) { throw new InputMismatchException(); } if (numChars <= 0) { return -1; } } return buf[curChar++]; } public int nextInt() { int c = read(); while (isSpaceChar(c)) { c = read(); } int sgn = 1; if (c == '-') { sgn = -1; c = read(); } int res = 0; do { if (c < '0' || c > '9') { throw new InputMismatchException(); } res *= 10; res += c - '0'; c = read(); } while (!isSpaceChar(c)); return res * sgn; } public String nextString() { int c = read(); while (isSpaceChar(c)) { c = read(); } StringBuilder res = new StringBuilder(); do { if (Character.isValidCodePoint(c)) { res.appendCodePoint(c); } c = read(); } while (!isSpaceChar(c)); return res.toString(); } public boolean isSpaceChar(int c) { if (filter != null) { return filter.isSpaceChar(c); } return isWhitespace(c); } public static boolean isWhitespace(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } } }
[ 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, 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, 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, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 17, 41, 13, 17, 41, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 17, 0, 13, 4, 13, 14, 2, 2, 13, 17, 2, 17, 13, 30, 37, 20, 42, 17, 30, 14, 2, 2, 17, 13, 2, 13, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 14, 2, 2, 13, 40, 17, 40, 4, 13, 13, 30, 29, 8, 13, 40, 13, 13, 30, 37, 20, 0, 13, 4, 13, 12, 13, 30, 41, 13, 4, 13, 14, 2, 2, 13, 18, 13, 13, 2, 13, 18, 13, 13, 37, 20, 29, 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 ], [ 327, 8 ], [ 327, 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 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 47, 58 ], [ 59, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 63, 64 ], [ 63, 65 ], [ 11, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 9, 74 ], [ 74, 75 ], [ 0, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 76, 83 ], [ 83, 84 ], [ 83, 85 ], [ 76, 87 ], [ 87, 88 ], [ 87, 89 ], [ 76, 90 ], [ 90, 91 ], [ 90, 92 ], [ 76, 93 ], [ 93, 94 ], [ 93, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 96, 100 ], [ 100, 101 ], [ 101, 102 ], [ 96, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 107, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 103, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 125, 126 ], [ 126, 127 ], [ 95, 128 ], [ 128, 129 ], [ 76, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 133, 141 ], [ 141, 142 ], [ 142, 143 ], [ 76, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 152, 154 ], [ 144, 155 ], [ 155, 156 ], [ 76, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 167, 169 ], [ 160, 170 ], [ 170, 171 ], [ 159, 172 ], [ 172, 173 ], [ 173, 174 ], [ 76, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 178, 182 ], [ 182, 183 ], [ 177, 184 ], [ 184, 185 ], [ 184, 186 ], [ 177, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 177, 191 ], [ 191, 192 ], [ 192, 193 ], [ 192, 194 ], [ 191, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 196, 199 ], [ 195, 200 ], [ 200, 201 ], [ 200, 202 ], [ 202, 203 ], [ 177, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 76, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 211, 215 ], [ 215, 216 ], [ 210, 217 ], [ 217, 218 ], [ 217, 219 ], [ 210, 220 ], [ 220, 221 ], [ 220, 222 ], [ 210, 223 ], [ 223, 224 ], [ 223, 225 ], [ 225, 226 ], [ 210, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 227, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 210, 239 ], [ 239, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 240, 244 ], [ 244, 245 ], [ 244, 246 ], [ 239, 247 ], [ 247, 248 ], [ 248, 249 ], [ 210, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 258, 259 ], [ 258, 260 ], [ 253, 261 ], [ 261, 262 ], [ 262, 263 ], [ 262, 264 ], [ 261, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 267, 269 ], [ 253, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 274, 275 ], [ 271, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 270, 280 ], [ 280, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 282, 286 ], [ 270, 287 ], [ 287, 288 ], [ 288, 289 ], [ 252, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 76, 294 ], [ 294, 295 ], [ 294, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 299, 300 ], [ 296, 301 ], [ 301, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 305, 306 ], [ 305, 307 ], [ 302, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 310, 312 ], [ 301, 313 ], [ 313, 314 ], [ 296, 315 ], [ 315, 316 ], [ 76, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 320, 321 ], [ 321, 322 ], [ 322, 323 ], [ 321, 324 ], [ 324, 325 ], [ 0, 326 ], [ 326, 327 ], [ 326, 328 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n \n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\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 Set<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\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 \n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n \n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n \n public boolean hasNext() { \n while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();\n }\n \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 public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double nextDouble() { return Double.parseDouble(next());}\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n \n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\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 Set<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) {\n FastScanner sc = new FastScanner();\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 Set<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n set.add(s[i]);\n }\n System.out.println(set.size());\n }", "main", "{\n FastScanner sc = new FastScanner();\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 Set<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n set.add(s[i]);\n }\n System.out.println(set.size());\n }", "FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "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> 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", "System.out.println(set.size())", "System.out.println", "System.out", "System", "System.out", "set.size()", "set.size", "set", "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 \n private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}\n \n private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}\n \n public boolean hasNext() { \n while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();\n }\n \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 public long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }\n \n public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }\n public double nextDouble() { return Double.parseDouble(next());}\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() { \n while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();\n }", "hasNext", "{ \n while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();\n }", "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 long nextLong() {\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "nextLong", "{\n if (!hasNext()) throw new NoSuchElementException();\n long n = 0;\n boolean minus = false;\n int b = readByte();\n if (b == '-') {\n minus = true;\n b = readByte();\n }\n if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }\n while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }\n }", "if (!hasNext()) throw new NoSuchElementException();", "!hasNext()", "hasNext()", "hasNext", "throw new NoSuchElementException();", "new NoSuchElementException()", "long n = 0;", "n", "0", "boolean minus = false;", "minus", "false", "int b = readByte();", "b", "readByte()", "readByte", "if (b == '-') {\n minus = true;\n b = readByte();\n }", "b == '-'", "b", "'-'", "{\n minus = true;\n b = readByte();\n }", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "if (b < '0' || '9' < b) {\n throw new NumberFormatException();\n }", "b < '0' || '9' < b", "b < '0'", "b", "'0'", "'9' < b", "'9'", "b", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "while(true){\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }", "true", "{\n if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }\n b = readByte();\n }", "if ('0' <= b && b <= '9') {\n n *= 10;\n n += b - '0';\n }else if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "{\n n *= 10;\n n += b - '0';\n }", "n *= 10", "n", "10", "n += b - '0'", "n", "b - '0'", "b", "'0'", "if(b == -1 || !isPrintableChar(b)){\n return minus ? -n : n;\n }else{\n throw new NumberFormatException();\n }", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "{\n return minus ? -n : n;\n }", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "{\n throw new NumberFormatException();\n }", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "public int nextInt() {\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }", "nextInt", "{\n long nl = nextLong();\n if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();\n return (int) nl;\n }", "long nl = nextLong();", "nl", "nextLong()", "nextLong", "if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();", "nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE", "nl < Integer.MIN_VALUE", "nl", "Integer.MIN_VALUE", "Integer", "Integer.MIN_VALUE", "nl > Integer.MAX_VALUE", "nl", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "throw new NumberFormatException();", "new NumberFormatException()", "return (int) nl;", "(int) nl", "public double nextDouble() { return Double.parseDouble(next());}", "nextDouble", "{ return Double.parseDouble(next());}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public class Main {\n \n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\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 Set<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "public class Main {\n \n public static void main(String[] args) {\n FastScanner sc = new FastScanner();\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 Set<String> set = new HashSet<>();\n for (int i = 0; i < n; i++) {\n set.add(s[i]);\n }\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(); int n = sc.nextInt(); String[] s = new String[n]; for (int i = 0; i < n; i++) { s[i] = sc.next(); } Set<String> set = new HashSet<>(); for (int i = 0; i < n; i++) { set.add(s[i]); } System.out.println(set.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(); } public long nextLong() { if (!hasNext()) throw new NoSuchElementException(); long n = 0; boolean minus = false; int b = readByte(); if (b == '-') { minus = true; b = readByte(); } if (b < '0' || '9' < b) { throw new NumberFormatException(); } while(true){ if ('0' <= b && b <= '9') { n *= 10; n += b - '0'; }else if(b == -1 || !isPrintableChar(b)){ return minus ? -n : n; }else{ throw new NumberFormatException(); } b = readByte(); } } public int nextInt() { long nl = nextLong(); if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException(); return (int) nl; } public double nextDouble() { return Double.parseDouble(next());} }
[ 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, 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 ], [ 62, 11 ], [ 62, 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 ], [ 14, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 12, 59 ], [ 59, 60 ], [ 0, 61 ], [ 61, 62 ], [ 61, 63 ] ]
[ "\nimport java.util.HashSet;\nimport java.util.Scanner;\nimport java.util.Set;\n\npublic class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_c\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n int jogen = Integer.parseInt(stdIn.nextLine());\n\n Set<String> gacha = new HashSet<>(jogen);\n for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }\n stdIn.close();\n\n System.out.println(gacha.size());\n\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 /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_c\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n int jogen = Integer.parseInt(stdIn.nextLine());\n\n Set<String> gacha = new HashSet<>(jogen);\n for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }\n stdIn.close();\n\n System.out.println(gacha.size());\n\n }\n}", "Main", "public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n int jogen = Integer.parseInt(stdIn.nextLine());\n\n Set<String> gacha = new HashSet<>(jogen);\n for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }\n stdIn.close();\n\n System.out.println(gacha.size());\n\n }", "main", "{\n\n Scanner stdIn = new Scanner(System.in);\n int jogen = Integer.parseInt(stdIn.nextLine());\n\n Set<String> gacha = new HashSet<>(jogen);\n for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }\n stdIn.close();\n\n System.out.println(gacha.size());\n\n }", "Scanner stdIn = new Scanner(System.in);", "stdIn", "new Scanner(System.in)", "int jogen = Integer.parseInt(stdIn.nextLine());", "jogen", "Integer.parseInt(stdIn.nextLine())", "Integer.parseInt", "Integer", "stdIn.nextLine()", "stdIn.nextLine", "stdIn", "Set<String> gacha = new HashSet<>(jogen);", "gacha", "new HashSet<>(jogen)", "for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < jogen", "i", "jogen", "i++", "i++", "i", "{\n gacha.add(stdIn.nextLine());\n }", "{\n gacha.add(stdIn.nextLine());\n }", "gacha.add(stdIn.nextLine())", "gacha.add", "gacha", "stdIn.nextLine()", "stdIn.nextLine", "stdIn", "stdIn.close()", "stdIn.close", "stdIn", "System.out.println(gacha.size())", "System.out.println", "System.out", "System", "System.out", "gacha.size()", "gacha.size", "gacha", "String[] args", "args", "public class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_c\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n int jogen = Integer.parseInt(stdIn.nextLine());\n\n Set<String> gacha = new HashSet<>(jogen);\n for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }\n stdIn.close();\n\n System.out.println(gacha.size());\n\n }\n}", "public class Main {\n\n /*\n * https://atcoder.jp/contests/abc164/tasks/abc164_c\n */\n\n public static void main(String[] args) {\n\n Scanner stdIn = new Scanner(System.in);\n int jogen = Integer.parseInt(stdIn.nextLine());\n\n Set<String> gacha = new HashSet<>(jogen);\n for (int i = 0; i < jogen; i++) {\n gacha.add(stdIn.nextLine());\n }\n stdIn.close();\n\n System.out.println(gacha.size());\n\n }\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; import java.util.Set; public class Main { /* * https://atcoder.jp/contests/abc164/tasks/abc164_c */ public static void main(String[] args) { Scanner stdIn = new Scanner(System.in); int jogen = Integer.parseInt(stdIn.nextLine()); Set<String> gacha = new HashSet<>(jogen); for (int i = 0; i < jogen; i++) { gacha.add(stdIn.nextLine()); } stdIn.close(); System.out.println(gacha.size()); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 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, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 56, 5 ], [ 56, 6 ], [ 6, 7 ], [ 6, 8 ], [ 56, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 11, 20 ], [ 20, 21 ], [ 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 ], [ 11, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 56, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 47, 53 ], [ 53, 54 ], [ 0, 55 ], [ 55, 56 ], [ 55, 57 ] ]
[ "\nimport java.util.*;\n\npublic class Main {\n private static final Scanner sc = new Scanner(System.in);\n\n private void solve() {\n int N = sc.nextInt();\n Set<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\n public static void main(String[] args) {\n new Main().solve();\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n private static final Scanner sc = new Scanner(System.in);\n\n private void solve() {\n int N = sc.nextInt();\n Set<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\n public static void main(String[] args) {\n new Main().solve();\n }\n}", "Main", "private static final Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "private void solve() {\n int N = sc.nextInt();\n Set<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 }", "solve", "{\n int N = sc.nextInt();\n Set<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 }", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Set<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", "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 private static final Scanner sc = new Scanner(System.in);\n\n private void solve() {\n int N = sc.nextInt();\n Set<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\n public static void main(String[] args) {\n new Main().solve();\n }\n}", "public class Main {\n private static final Scanner sc = new Scanner(System.in);\n\n private void solve() {\n int N = sc.nextInt();\n Set<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\n public static void main(String[] args) {\n new Main().solve();\n }\n}", "Main" ]
import java.util.*; public class Main { private static final Scanner sc = new Scanner(System.in); private void solve() { int N = sc.nextInt(); Set<String> set = new HashSet<>(); for (int i = 0; i < N; ++i) { set.add(sc.next()); } System.out.println(set.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, 41, 13, 4, 18, 13, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 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 ], [ 65, 8 ], [ 65, 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 ], [ 41, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 45, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 9, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "import java.util.HashMap;\nimport java.util.Scanner;\npublic class Main\n{\n public static void main(String [] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); HashMap<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }\n System.out.println(map.keySet().size());\n }\n\n\n\n\n}", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n public static void main(String [] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); HashMap<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }\n System.out.println(map.keySet().size());\n }\n\n\n\n\n}", "Main", "public static void main(String [] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); HashMap<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }\n System.out.println(map.keySet().size());\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); HashMap<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }\n System.out.println(map.keySet().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> map = new HashMap<>();", "map", "new HashMap<>()", "for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }", "{\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "map.put(s, map.getOrDefault(s, 0) + 1)", "map.put", "map", "s", "map.getOrDefault(s, 0) + 1", "map.getOrDefault(s, 0)", "map.getOrDefault", "map", "s", "0", "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 [] args", "args", "public class Main\n{\n public static void main(String [] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); HashMap<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }\n System.out.println(map.keySet().size());\n }\n\n\n\n\n}", "public class Main\n{\n public static void main(String [] args)\n {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt(); HashMap<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String s = sc.next();\n map.put(s, map.getOrDefault(s, 0) + 1);\n }\n System.out.println(map.keySet().size());\n }\n\n\n\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(); HashMap<String, Integer> map = new HashMap<>(); for (int i = 0; i < n; i++) { String s = sc.next(); map.put(s, map.getOrDefault(s, 0) + 1); } System.out.println(map.keySet().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, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 13, 17, 30, 4, 18, 13, 13, 17, 41, 13, 18, 4, 18, 4, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 85, 17 ], [ 85, 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 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 20, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 69, 75 ], [ 20, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 18, 82 ], [ 82, 83 ], [ 0, 84 ], [ 84, 85 ], [ 84, 86 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Map;\nimport java.util.Scanner;\nimport java.util.TreeMap;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N= sc.nextInt();\n//\t\tList<String> list = new ArrayList<>();\n\t\tString[] list = new String[N];\n\t\tMap<String, Integer> map = new TreeMap<String, Integer>();\n\t\tfor(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}\n\t\tint ans = map.values().toArray().length;\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Map;", "Map", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N= sc.nextInt();\n//\t\tList<String> list = new ArrayList<>();\n\t\tString[] list = new String[N];\n\t\tMap<String, Integer> map = new TreeMap<String, Integer>();\n\t\tfor(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}\n\t\tint ans = map.values().toArray().length;\n\t\t\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\t\tint N= sc.nextInt();\n//\t\tList<String> list = new ArrayList<>();\n\t\tString[] list = new String[N];\n\t\tMap<String, Integer> map = new TreeMap<String, Integer>();\n\t\tfor(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}\n\t\tint ans = map.values().toArray().length;\n\t\t\n\t\tSystem.out.println(ans);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N= sc.nextInt();\n//\t\tList<String> list = new ArrayList<>();\n\t\tString[] list = new String[N];\n\t\tMap<String, Integer> map = new TreeMap<String, Integer>();\n\t\tfor(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}\n\t\tint ans = map.values().toArray().length;\n\t\t\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[] list = new String[N];", "list", "new String[N]", "N", "Map<String, Integer> map = new TreeMap<String, Integer>();", "map", "new TreeMap<String, Integer>()", "for(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 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 s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}", "{\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "if(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}", "map.get(s)==null", "map.get(s)", "map.get", "map", "s", "null", "{\n\t\t\t\tmap.put(s, 1);\n\t\t\t}", "map.put(s, 1)", "map.put", "map", "s", "1", "int ans = map.values().toArray().length;", "ans", "map.values().toArray().length", "map.values().toArray()", "map.values().toArray", "map.values()", "map.values", "map", "map.values().toArray().length", "System.out.println(ans)", "System.out.println", "System.out", "System", "System.out", "ans", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N= sc.nextInt();\n//\t\tList<String> list = new ArrayList<>();\n\t\tString[] list = new String[N];\n\t\tMap<String, Integer> map = new TreeMap<String, Integer>();\n\t\tfor(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}\n\t\tint ans = map.values().toArray().length;\n\t\t\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\t\tint N= sc.nextInt();\n//\t\tList<String> list = new ArrayList<>();\n\t\tString[] list = new String[N];\n\t\tMap<String, Integer> map = new TreeMap<String, Integer>();\n\t\tfor(int i=0; i<N;i++) {\n\t\t\tString s = sc.next();\n\t\t\tif(map.get(s)==null) {\n\t\t\t\tmap.put(s, 1);\n\t\t\t}\n\t\t}\n\t\tint ans = map.values().toArray().length;\n\t\t\n\t\tSystem.out.println(ans);\n\t}\n\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Map; 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(); // List<String> list = new ArrayList<>(); String[] list = new String[N]; Map<String, Integer> map = new TreeMap<String, Integer>(); for(int i=0; i<N;i++) { String s = sc.next(); if(map.get(s)==null) { map.put(s, 1); } } int ans = map.values().toArray().length; System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 13, 29, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 17, 28, 13, 4, 18, 13, 30, 30, 0, 13, 2, 2, 2, 2, 13, 17, 13, 17, 17, 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 ], [ 92, 8 ], [ 92, 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 ], [ 24, 25 ], [ 24, 26 ], [ 23, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 28, 33 ], [ 27, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 38, 43 ], [ 43, 44 ], [ 43, 45 ], [ 38, 46 ], [ 46, 47 ], [ 47, 48 ], [ 38, 49 ], [ 50, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 50, 56 ], [ 56, 57 ], [ 56, 58 ], [ 50, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 59, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 68, 76 ], [ 50, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 11, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 87, 88 ], [ 9, 89 ], [ 89, 90 ], [ 0, 91 ], [ 91, 92 ], [ 91, 93 ] ]
[ "import java.util.HashSet;\nimport java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = Integer.parseInt(scanner.nextLine());\n if(n<=1){\n System.out.println(n);\n return;\n }\n HashSet<Long> count = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }\n System.out.println(count.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 scanner = new Scanner(System.in);\n int n = Integer.parseInt(scanner.nextLine());\n if(n<=1){\n System.out.println(n);\n return;\n }\n HashSet<Long> count = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }\n System.out.println(count.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = Integer.parseInt(scanner.nextLine());\n if(n<=1){\n System.out.println(n);\n return;\n }\n HashSet<Long> count = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }\n System.out.println(count.size());\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n int n = Integer.parseInt(scanner.nextLine());\n if(n<=1){\n System.out.println(n);\n return;\n }\n HashSet<Long> count = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }\n System.out.println(count.size());\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int n = Integer.parseInt(scanner.nextLine());", "n", "Integer.parseInt(scanner.nextLine())", "Integer.parseInt", "Integer", "scanner.nextLine()", "scanner.nextLine", "scanner", "if(n<=1){\n System.out.println(n);\n return;\n }", "n<=1", "n", "1", "{\n System.out.println(n);\n return;\n }", "System.out.println(n)", "System.out.println", "System.out", "System", "System.out", "n", "return;", "HashSet<Long> count = new HashSet<>();", "count", "new HashSet<>()", "for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }", "{\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }", "String s = scanner.nextLine();", "s", "scanner.nextLine()", "scanner.nextLine", "scanner", "long a = 0;", "a", "0", "for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }", "char c", "s.toCharArray()", "s.toCharArray", "s", "{\n a = a*27+c-'a'+1;\n }", "{\n a = a*27+c-'a'+1;\n }", "a = a*27+c-'a'+1", "a", "a*27+c-'a'+1", "a*27+c-'a'", "a*27+c", "a*27", "a", "27", "c", "'a'", "1", "count.add(a)", "count.add", "count", "a", "System.out.println(count.size())", "System.out.println", "System.out", "System", "System.out", "count.size()", "count.size", "count", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = Integer.parseInt(scanner.nextLine());\n if(n<=1){\n System.out.println(n);\n return;\n }\n HashSet<Long> count = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }\n System.out.println(count.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n int n = Integer.parseInt(scanner.nextLine());\n if(n<=1){\n System.out.println(n);\n return;\n }\n HashSet<Long> count = new HashSet<>();\n for (int i = 0; i < n; i++) {\n String s = scanner.nextLine();\n long a = 0;\n for (char c : s.toCharArray()) {\n a = a*27+c-'a'+1;\n }\n count.add(a);\n }\n System.out.println(count.size());\n }\n}", "Main" ]
import java.util.HashSet; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int n = Integer.parseInt(scanner.nextLine()); if(n<=1){ System.out.println(n); return; } HashSet<Long> count = new HashSet<>(); for (int i = 0; i < n; i++) { String s = scanner.nextLine(); long a = 0; for (char c : s.toCharArray()) { a = a*27+c-'a'+1; } count.add(a); } System.out.println(count.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, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 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 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 24, 25 ], [ 17, 26 ], [ 26, 27 ], [ 27, 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 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 17, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 15, 61 ], [ 61, 62 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.HashSet;\nimport java.util.Scanner;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int n = sc.nextInt();\n sc.nextLine();\n HashSet<String> h = new HashSet<>();\n for(int i = 0; i < n; i++) {\n h.add(sc.nextLine().trim());\n }\n System.out.println(h.size());\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashSet;", "HashSet", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int n = sc.nextInt();\n sc.nextLine();\n HashSet<String> h = new HashSet<>();\n for(int i = 0; i < n; i++) {\n h.add(sc.nextLine().trim());\n }\n System.out.println(h.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int n = sc.nextInt();\n sc.nextLine();\n HashSet<String> h = new HashSet<>();\n for(int i = 0; i < n; i++) {\n h.add(sc.nextLine().trim());\n }\n System.out.println(h.size());\n }", "main", "{\n Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n int n = sc.nextInt();\n sc.nextLine();\n HashSet<String> h = new HashSet<>();\n for(int i = 0; i < n; i++) {\n h.add(sc.nextLine().trim());\n }\n System.out.println(h.size());\n }", "Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "sc", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextLine()", "sc.nextLine", "sc", "HashSet<String> h = new HashSet<>();", "h", "new HashSet<>()", "for(int i = 0; i < n; i++) {\n h.add(sc.nextLine().trim());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n h.add(sc.nextLine().trim());\n }", "{\n h.add(sc.nextLine().trim());\n }", "h.add(sc.nextLine().trim())", "h.add", "h", "sc.nextLine().trim()", "sc.nextLine().trim", "sc.nextLine()", "sc.nextLine", "sc", "System.out.println(h.size())", "System.out.println", "System.out", "System", "System.out", "h.size()", "h.size", "h", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.HashSet; import java.util.Scanner; class Main { public static void main(String[] args) { Scanner sc = new Scanner(new BufferedReader(new InputStreamReader(System.in))); int n = sc.nextInt(); sc.nextLine(); HashSet<String> h = new HashSet<>(); for(int i = 0; i < n; i++) { h.add(sc.nextLine().trim()); } System.out.println(h.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 4, 18, 13, 23, 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, 4, 18, 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 ], [ 13, 14 ], [ 6, 15 ], [ 15, 16 ], [ 65, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 20, 22 ], [ 19, 23 ], [ 23, 24 ], [ 23, 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 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 19, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 19, 61 ], [ 61, 62 ], [ 62, 63 ], [ 0, 64 ], [ 64, 65 ], [ 64, 66 ] ]
[ "\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t\tsc.close();\n\t}\n\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t\tsc.close();\n\t}\n\n\n}", "Main", "public static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}", "main", "{\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}", "Main main = new Main();", "main", "new Main()", "main.run()", "main.run", "main", "String[] args", "args", "public void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t\tsc.close();\n\t}", "run", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.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", "Set<String> set = new HashSet<String>();", "set", "new HashSet<String>()", "for(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}", "{\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}", "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", "sc.close()", "sc.close", "sc", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t\tsc.close();\n\t}\n\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tMain main = new Main();\n\t\tmain.run();\n\t}\n\n\tpublic void run() {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n=sc.nextInt();\n\t\tSet<String> set = new HashSet<String>();\n\t\tfor(int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\tset.add(s);\n\t\t}\n\t\tSystem.out.println(set.size());\n\t\tsc.close();\n\t}\n\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Main main = new Main(); main.run(); } public void run() { Scanner sc = new Scanner(System.in); int n=sc.nextInt(); Set<String> set = new HashSet<String>(); for(int i=0; i<n; i++) { String s = sc.next(); set.add(s); } System.out.println(set.size()); sc.close(); } }
[ 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, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 50, 5 ], [ 50, 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 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 6, 47 ], [ 47, 48 ], [ 0, 49 ], [ 49, 50 ], [ 49, 51 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String... args) {\n \tScanner input = new Scanner(System.in);\n int n = input.nextInt();\n Set<String> items = new HashSet<>();\n for (int i = 0; i < n; i++) {\n items.add(input.next());\n }\n \n System.out.println(items.size());\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String... args) {\n \tScanner input = new Scanner(System.in);\n int n = input.nextInt();\n Set<String> items = new HashSet<>();\n for (int i = 0; i < n; i++) {\n items.add(input.next());\n }\n \n System.out.println(items.size());\n }\n}", "Main", "public static void main(String... args) {\n \tScanner input = new Scanner(System.in);\n int n = input.nextInt();\n Set<String> items = new HashSet<>();\n for (int i = 0; i < n; i++) {\n items.add(input.next());\n }\n \n System.out.println(items.size());\n }", "main", "{\n \tScanner input = new Scanner(System.in);\n int n = input.nextInt();\n Set<String> items = new HashSet<>();\n for (int i = 0; i < n; i++) {\n items.add(input.next());\n }\n \n System.out.println(items.size());\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "Set<String> items = new HashSet<>();", "items", "new HashSet<>()", "for (int i = 0; i < n; i++) {\n items.add(input.next());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n items.add(input.next());\n }", "{\n items.add(input.next());\n }", "items.add(input.next())", "items.add", "items", "input.next()", "input.next", "input", "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 public static void main(String... args) {\n \tScanner input = new Scanner(System.in);\n int n = input.nextInt();\n Set<String> items = new HashSet<>();\n for (int i = 0; i < n; i++) {\n items.add(input.next());\n }\n \n System.out.println(items.size());\n }\n}", "public class Main {\n public static void main(String... args) {\n \tScanner input = new Scanner(System.in);\n int n = input.nextInt();\n Set<String> items = new HashSet<>();\n for (int i = 0; i < n; i++) {\n items.add(input.next());\n }\n \n System.out.println(items.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String... args) { Scanner input = new Scanner(System.in); int n = input.nextInt(); Set<String> items = new HashSet<>(); for (int i = 0; i < n; i++) { items.add(input.next()); } System.out.println(items.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, 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 ], [ 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 ], [ 0, 52 ], [ 52, 53 ], [ 52, 54 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n int N = s.nextInt();\n HashSet<String>set = new HashSet<>();\n\n for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }\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 s = new Scanner(System.in);\n\n int N = s.nextInt();\n HashSet<String>set = new HashSet<>();\n\n for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }\n\n System.out.println(set.size());\n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n int N = s.nextInt();\n HashSet<String>set = new HashSet<>();\n\n for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }\n\n System.out.println(set.size());\n }", "main", "{\n Scanner s = new Scanner(System.in);\n\n int N = s.nextInt();\n HashSet<String>set = new HashSet<>();\n\n for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }\n\n System.out.println(set.size());\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int N = s.nextInt();", "N", "s.nextInt()", "s.nextInt", "s", "HashSet<String>set = new HashSet<>();", "set", "new HashSet<>()", "for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String str = s.next();\n set.add(str);\n }", "{\n String str = s.next();\n set.add(str);\n }", "String str = s.next();", "str", "s.next()", "s.next", "s", "set.add(str)", "set.add", "set", "str", "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 s = new Scanner(System.in);\n\n int N = s.nextInt();\n HashSet<String>set = new HashSet<>();\n\n for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }\n\n System.out.println(set.size());\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n\n int N = s.nextInt();\n HashSet<String>set = new HashSet<>();\n\n for (int i = 0; i < N; i++) {\n String str = s.next();\n set.add(str);\n }\n\n System.out.println(set.size());\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = s.nextInt(); HashSet<String>set = new HashSet<>(); for (int i = 0; i < N; i++) { String str = s.next(); set.add(str); } System.out.println(set.size()); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 18, 13, 13, 41, 13, 2, 2, 17, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 38, 5 ], [ 38, 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 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 6, 35 ], [ 35, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n double p = Math.PI;\n double ans = (double)(2*r*p);\n System.out.println(ans);\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 r = sc.nextInt();\n double p = Math.PI;\n double ans = (double)(2*r*p);\n System.out.println(ans);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n double p = Math.PI;\n double ans = (double)(2*r*p);\n System.out.println(ans);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n double p = Math.PI;\n double ans = (double)(2*r*p);\n System.out.println(ans);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "double p = Math.PI;", "p", "Math.PI", "Math", "Math.PI", "double ans = (double)(2*r*p);", "ans", "(double)(2*r*p)", "2*r*p", "2", "r", "p", "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 r = sc.nextInt();\n double p = Math.PI;\n double ans = (double)(2*r*p);\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 r = sc.nextInt();\n double p = Math.PI;\n double ans = (double)(2*r*p);\n System.out.println(ans);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args) { Scanner sc = new Scanner(System.in); int r = sc.nextInt(); double p = Math.PI; double ans = (double)(2*r*p); System.out.println(ans); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 17, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 38, 8 ], [ 38, 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 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 29, 29 ], [ 29, 30 ], [ 29, 31 ], [ 29, 32 ], [ 32, 33 ], [ 32, 34 ], [ 9, 35 ], [ 35, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ] ]
[ "\nimport java.util.*;\nimport java.io.*;\n\npublic class Main {\n\t// https://atcoder.jp/contests/abc163/tasks/abc163_a\n\t\n\tpublic static void main(String[] args) throws IOException, FileNotFoundException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader in = new BufferedReader(new FileReader(\"CirclePond\"));\n\n\t\tint r = Integer.parseInt(in.readLine()); \n\t\tSystem.out.println(2 * r * Math.PI);\n\n\t}\n\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\t// https://atcoder.jp/contests/abc163/tasks/abc163_a\n\t\n\tpublic static void main(String[] args) throws IOException, FileNotFoundException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader in = new BufferedReader(new FileReader(\"CirclePond\"));\n\n\t\tint r = Integer.parseInt(in.readLine()); \n\t\tSystem.out.println(2 * r * Math.PI);\n\n\t}\n\n}", "Main", "public static void main(String[] args) throws IOException, FileNotFoundException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader in = new BufferedReader(new FileReader(\"CirclePond\"));\n\n\t\tint r = Integer.parseInt(in.readLine()); \n\t\tSystem.out.println(2 * r * Math.PI);\n\n\t}", "main", "{\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader in = new BufferedReader(new FileReader(\"CirclePond\"));\n\n\t\tint r = Integer.parseInt(in.readLine()); \n\t\tSystem.out.println(2 * r * Math.PI);\n\n\t}", "BufferedReader in = new BufferedReader(new InputStreamReader(System.in));", "in", "new BufferedReader(new InputStreamReader(System.in))", "int r = Integer.parseInt(in.readLine());", "r", "Integer.parseInt(in.readLine())", "Integer.parseInt", "Integer", "in.readLine()", "in.readLine", "in", "System.out.println(2 * r * Math.PI)", "System.out.println", "System.out", "System", "System.out", "2 * r * Math.PI", "2 * r * Math.PI", "2", "r", "Math.PI", "Math", "Math.PI", "String[] args", "args", "public class Main {\n\t// https://atcoder.jp/contests/abc163/tasks/abc163_a\n\t\n\tpublic static void main(String[] args) throws IOException, FileNotFoundException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader in = new BufferedReader(new FileReader(\"CirclePond\"));\n\n\t\tint r = Integer.parseInt(in.readLine()); \n\t\tSystem.out.println(2 * r * Math.PI);\n\n\t}\n\n}", "public class Main {\n\t// https://atcoder.jp/contests/abc163/tasks/abc163_a\n\t\n\tpublic static void main(String[] args) throws IOException, FileNotFoundException {\n\t\tBufferedReader in = new BufferedReader(new InputStreamReader(System.in));\n\t\t//BufferedReader in = new BufferedReader(new FileReader(\"CirclePond\"));\n\n\t\tint r = Integer.parseInt(in.readLine()); \n\t\tSystem.out.println(2 * r * Math.PI);\n\n\t}\n\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { // https://atcoder.jp/contests/abc163/tasks/abc163_a public static void main(String[] args) throws IOException, FileNotFoundException { BufferedReader in = new BufferedReader(new InputStreamReader(System.in)); //BufferedReader in = new BufferedReader(new FileReader("CirclePond")); int r = Integer.parseInt(in.readLine()); System.out.println(2 * r * Math.PI); } }
[ 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, 18, 13, 13, 2, 2, 13, 17, 18, 13, 13, 23, 13, 12, 13, 30, 29, 8, 2, 2, 13, 13, 17, 2, 17, 4, 13, 2, 13, 13, 13, 17, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 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, 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 ], [ 196, 17 ], [ 196, 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 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 35, 35 ], [ 35, 36 ], [ 35, 37 ], [ 35, 38 ], [ 38, 39 ], [ 38, 40 ], [ 18, 41 ], [ 41, 42 ], [ 196, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 47, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 47, 61 ], [ 43, 62 ], [ 62, 63 ], [ 43, 64 ], [ 64, 65 ], [ 196, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 66, 70 ], [ 70, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 78, 80 ], [ 72, 81 ], [ 81, 82 ], [ 66, 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 ], [ 96, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 85, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 66, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 114, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 113, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 123, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 112, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 66, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 66, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 152, 155 ], [ 155, 156 ], [ 66, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 66, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 175, 177 ], [ 173, 178 ], [ 178, 179 ], [ 178, 180 ], [ 173, 181 ], [ 181, 182 ], [ 182, 183 ], [ 173, 184 ], [ 184, 185 ], [ 185, 186 ], [ 186, 187 ], [ 186, 188 ], [ 185, 189 ], [ 189, 190 ], [ 168, 191 ], [ 191, 192 ], [ 166, 193 ], [ 193, 194 ], [ 0, 195 ], [ 195, 196 ], [ 195, 197 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\n \npublic class Main {\n \n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tdouble n = sc.nextDouble();\n\t\tSystem.out.println(n * 2 * Math.PI);\n\t\t;\n \n\t}\n \n\tstatic int getDigit(int n, int d) {\n\t\treturn n / d != 0 ? 1 + getDigit(n / d, d) : 1;\n\t}\n \n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n \n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tdouble n = sc.nextDouble();\n\t\tSystem.out.println(n * 2 * Math.PI);\n\t\t;\n \n\t}\n \n\tstatic int getDigit(int n, int d) {\n\t\treturn n / d != 0 ? 1 + getDigit(n / d, d) : 1;\n\t}\n \n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n \n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tdouble n = sc.nextDouble();\n\t\tSystem.out.println(n * 2 * Math.PI);\n\t\t;\n \n\t}", "main", "{\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tdouble n = sc.nextDouble();\n\t\tSystem.out.println(n * 2 * Math.PI);\n\t\t;\n \n\t}", "FastScanner sc = new FastScanner(System.in);", "sc", "new FastScanner(System.in)", "double n = sc.nextDouble();", "n", "sc.nextDouble()", "sc.nextDouble", "sc", "System.out.println(n * 2 * Math.PI)", "System.out.println", "System.out", "System", "System.out", "n * 2 * Math.PI", "n * 2 * Math.PI", "n", "2", "Math.PI", "Math", "Math.PI", "String[] args", "args", "static int getDigit(int n, int d) {\n\t\treturn n / d != 0 ? 1 + getDigit(n / d, d) : 1;\n\t}", "getDigit", "{\n\t\treturn n / d != 0 ? 1 + getDigit(n / d, d) : 1;\n\t}", "return n / d != 0 ? 1 + getDigit(n / d, d) : 1;", "n / d != 0 ? 1 + getDigit(n / d, d) : 1", "n / d != 0", "n / d", "n", "d", "0", "1 + getDigit(n / d, d)", "1", "getDigit(n / d, d)", "getDigit", "n / d", "n", "d", "d", "1", "int n", "n", "int d", "d", "static class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n \n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}", "FastScanner", "private BufferedReader reader;", "reader", "private StringTokenizer tokenizer;", "tokenizer", "public FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}", "FastScanner", "{\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\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\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}", "next", "{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t}", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}", "nextLine", "{\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}", "if (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}", "try {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "IOException e", "{\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\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\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 int nextInt() {\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() {\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 long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}", "nextLongArray", "{\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[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++)\n\t\t\t\ta[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\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tdouble n = sc.nextDouble();\n\t\tSystem.out.println(n * 2 * Math.PI);\n\t\t;\n \n\t}\n \n\tstatic int getDigit(int n, int d) {\n\t\treturn n / d != 0 ? 1 + getDigit(n / d, d) : 1;\n\t}\n \n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n \n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "public class Main {\n \n\tpublic static void main(String[] args) {\n\t\tFastScanner sc = new FastScanner(System.in);\n\t\tdouble n = sc.nextDouble();\n\t\tSystem.out.println(n * 2 * Math.PI);\n\t\t;\n \n\t}\n \n\tstatic int getDigit(int n, int d) {\n\t\treturn n / d != 0 ? 1 + getDigit(n / d, d) : 1;\n\t}\n \n\tstatic class FastScanner {\n\t\tprivate BufferedReader reader;\n\t\tprivate StringTokenizer tokenizer;\n \n\t\tpublic FastScanner(InputStream in) {\n\t\t\treader = new BufferedReader(new InputStreamReader(in));\n\t\t\ttokenizer = null;\n\t\t}\n \n\t\tpublic String next() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\ttokenizer = new StringTokenizer(reader.readLine());\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n\t\t\treturn tokenizer.nextToken();\n\t\t}\n \n\t\tpublic String nextLine() {\n\t\t\tif (tokenizer == null || !tokenizer.hasMoreTokens()) {\n\t\t\t\ttry {\n\t\t\t\t\treturn reader.readLine();\n\t\t\t\t} catch (IOException e) {\n\t\t\t\t\tthrow new RuntimeException(e);\n\t\t\t\t}\n\t\t\t}\n \n\t\t\treturn tokenizer.nextToken(\"\\n\");\n\t\t}\n \n\t\tpublic long nextLong() {\n\t\t\treturn Long.parseLong(next());\n\t\t}\n \n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n \n\t\tpublic double nextDouble() {\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n \n\t\tpublic long[] nextLongArray(int n) {\n\t\t\tlong[] a = new long[n];\n\t\t\tfor (int i = 0; i < n; i++)\n\t\t\t\ta[i] = nextLong();\n\t\t\treturn a;\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { FastScanner sc = new FastScanner(System.in); double n = sc.nextDouble(); System.out.println(n * 2 * Math.PI); ; } static int getDigit(int n, int d) { return n / d != 0 ? 1 + getDigit(n / d, d) : 1; } static class FastScanner { private BufferedReader reader; private StringTokenizer tokenizer; 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 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, 38, 5, 13, 30, 30, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 13, 41, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 16, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 24, 27 ], [ 16, 28 ], [ 28, 29 ], [ 28, 30 ], [ 16, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 37, 37 ], [ 37, 38 ], [ 37, 39 ], [ 37, 40 ], [ 6, 41 ], [ 41, 42 ] ]
[ "import java.io.*;\n\nclass Main{\n\tpublic static void main(String[] args){\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n \ttry{\n \t\t\tString str = br.readLine();\n \t\t\tint num = Integer.parseInt(str);\n \n \t\t\tdouble p = 3.14;\n \n \t\t\tSystem.out.println(2.0*p*num);\n }catch(Exception e){\n \t }\n }\n}", "import java.io.*;", "io.*", "java", "class Main{\n\tpublic static void main(String[] args){\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n \ttry{\n \t\t\tString str = br.readLine();\n \t\t\tint num = Integer.parseInt(str);\n \n \t\t\tdouble p = 3.14;\n \n \t\t\tSystem.out.println(2.0*p*num);\n }catch(Exception e){\n \t }\n }\n}", "Main", "public static void main(String[] args){\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n \ttry{\n \t\t\tString str = br.readLine();\n \t\t\tint num = Integer.parseInt(str);\n \n \t\t\tdouble p = 3.14;\n \n \t\t\tSystem.out.println(2.0*p*num);\n }catch(Exception e){\n \t }\n }", "main", "{\n \n BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );\n \ttry{\n \t\t\tString str = br.readLine();\n \t\t\tint num = Integer.parseInt(str);\n \n \t\t\tdouble p = 3.14;\n \n \t\t\tSystem.out.println(2.0*p*num);\n }catch(Exception e){\n \t }\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in) );", "br", "new BufferedReader(new InputStreamReader(System.in) )", "try{\n \t\t\tString str = br.readLine();\n \t\t\tint num = Integer.parseInt(str);\n \n \t\t\tdouble p = 3.14;\n \n \t\t\tSystem.out.println(2.0*p*num);\n }catch(Exception e){\n \t }", "catch(Exception e){\n \t }", "Exception e", "{\n \t }", "{\n \t\t\tString str = br.readLine();\n \t\t\tint num = Integer.parseInt(str);\n \n \t\t\tdouble p = 3.14;\n \n \t\t\tSystem.out.println(2.0*p*num);\n }", "String str = br.readLine();", "str", "br.readLine()", "br.readLine", "br", "int num = Integer.parseInt(str);", "num", "Integer.parseInt(str)", "Integer.parseInt", "Integer", "str", "double p = 3.14;", "p", "3.14", "System.out.println(2.0*p*num)", "System.out.println", "System.out", "System", "System.out", "2.0*p*num", "2.0*p*num", "2.0", "p", "num", "String[] args", "args" ]
import java.io.*; class Main{ public static void main(String[] args){ BufferedReader br = new BufferedReader(new InputStreamReader(System.in) ); try{ String str = br.readLine(); int num = Integer.parseInt(str); double p = 3.14; System.out.println(2.0*p*num); }catch(Exception e){ } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 41, 13, 20, 0, 13, 4, 18, 13, 41, 13, 2, 2, 40, 13, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 38, 5 ], [ 38, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 8, 11 ], [ 11, 12 ], [ 11, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 22, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 22, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 6, 35 ], [ 35, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Long R;\n Scanner sc = new Scanner(System.in);\n R = sc.nextLong();\n double Chu_vi =+R*2*Math.PI;\n //String.format(\"%.25g%n\", Chu_vi);\n System.out.println(Chu_vi);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Long R;\n Scanner sc = new Scanner(System.in);\n R = sc.nextLong();\n double Chu_vi =+R*2*Math.PI;\n //String.format(\"%.25g%n\", Chu_vi);\n System.out.println(Chu_vi);\n\n }\n}", "Main", "public static void main(String[] args) {\n Long R;\n Scanner sc = new Scanner(System.in);\n R = sc.nextLong();\n double Chu_vi =+R*2*Math.PI;\n //String.format(\"%.25g%n\", Chu_vi);\n System.out.println(Chu_vi);\n\n }", "main", "{\n Long R;\n Scanner sc = new Scanner(System.in);\n R = sc.nextLong();\n double Chu_vi =+R*2*Math.PI;\n //String.format(\"%.25g%n\", Chu_vi);\n System.out.println(Chu_vi);\n\n }", "Long R;", "R", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "R = sc.nextLong()", "R", "sc.nextLong()", "sc.nextLong", "sc", "double Chu_vi =+R*2*Math.PI;", "Chu_vi", "+R*2*Math.PI", "+R*2*Math.PI", "+R", "R", "2", "Math.PI", "Math", "Math.PI", "System.out.println(Chu_vi)", "System.out.println", "System.out", "System", "System.out", "Chu_vi", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Long R;\n Scanner sc = new Scanner(System.in);\n R = sc.nextLong();\n double Chu_vi =+R*2*Math.PI;\n //String.format(\"%.25g%n\", Chu_vi);\n System.out.println(Chu_vi);\n\n }\n}", "public class Main {\n public static void main(String[] args) {\n Long R;\n Scanner sc = new Scanner(System.in);\n R = sc.nextLong();\n double Chu_vi =+R*2*Math.PI;\n //String.format(\"%.25g%n\", Chu_vi);\n System.out.println(Chu_vi);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Long R; Scanner sc = new Scanner(System.in); R = sc.nextLong(); double Chu_vi =+R*2*Math.PI; //String.format("%.25g%n", Chu_vi); System.out.println(Chu_vi); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 41, 13, 17, 41, 13, 39, 17, 40, 17, 17, 17, 41, 13, 39, 17, 17, 40, 17, 17, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 2, 2, 18, 13, 13, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 17, 17, 23, 13, 12, 13, 30, 41, 13, 13, 0, 13, 13, 0, 13, 13, 23, 13, 23, 13, 12, 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, 14, 2, 18, 13, 13, 18, 13, 13, 29, 17, 29, 17, 23, 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 ], [ 220, 11 ], [ 220, 12 ], [ 12, 13 ], [ 12, 14 ], [ 220, 15 ], [ 15, 16 ], [ 15, 17 ], [ 220, 18 ], [ 18, 19 ], [ 220, 20 ], [ 20, 21 ], [ 20, 22 ], [ 220, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 25, 29 ], [ 25, 30 ], [ 220, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 33, 35 ], [ 33, 36 ], [ 36, 37 ], [ 33, 38 ], [ 220, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 51, 55 ], [ 51, 56 ], [ 41, 57 ], [ 57, 58 ], [ 58, 59 ], [ 39, 60 ], [ 60, 61 ], [ 220, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 66, 70 ], [ 62, 71 ], [ 71, 72 ], [ 220, 73 ], [ 73, 74 ], [ 73, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 79, 80 ], [ 79, 81 ], [ 75, 82 ], [ 82, 83 ], [ 82, 84 ], [ 73, 85 ], [ 85, 86 ], [ 73, 87 ], [ 87, 88 ], [ 220, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 91, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 100, 110 ], [ 110, 111 ], [ 111, 112 ], [ 100, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 120, 122 ], [ 115, 123 ], [ 123, 124 ], [ 91, 125 ], [ 125, 126 ], [ 89, 127 ], [ 127, 128 ], [ 89, 129 ], [ 129, 130 ], [ 220, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 131, 135 ], [ 135, 136 ], [ 131, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 140, 141 ], [ 140, 142 ], [ 131, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 147, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 146, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 156, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 145, 167 ], [ 167, 168 ], [ 168, 169 ], [ 169, 170 ], [ 131, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 175, 178 ], [ 178, 179 ], [ 131, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 184, 187 ], [ 187, 188 ], [ 131, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 196, 197 ], [ 131, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 201, 202 ], [ 201, 203 ], [ 200, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 204, 211 ], [ 211, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 215, 216 ], [ 200, 217 ], [ 217, 218 ], [ 0, 219 ], [ 219, 220 ], [ 219, 221 ] ]
[ "import java.io.*;\nimport java.math.*;\nimport java.util.*;\n\n\n\n\n\npublic class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n public static void main(String args[]) throws IOException {\n int R = in.nextInt();\n out.println(Math.PI*R*2);\n out.flush();\n }\n static boolean isEven(long a){\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n static boolean same(int [] arr,int [] temp){\n Arrays.sort(arr);\n Arrays.sort(temp);\n for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }\n return true;\n }\n\n \n \n\n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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}", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n public static void main(String args[]) throws IOException {\n int R = in.nextInt();\n out.println(Math.PI*R*2);\n out.flush();\n }\n static boolean isEven(long a){\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n static boolean same(int [] arr,int [] temp){\n Arrays.sort(arr);\n Arrays.sort(temp);\n for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }\n return true;\n }\n\n \n \n\n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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}", "Main", "static MyScanner in = new MyScanner();", "in", "new MyScanner()", "static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));", "out", "new PrintWriter(new OutputStreamWriter(System.out))", "int N;", "N", "static int max = 200001;", "max", "200001", "static int [] dr = {1,-1,0,0};", "dr", "{1,-1,0,0}", "1", "-1", "1", "0", "0", "static int [] dc={0,0,-1,1};", "dc", "{0,0,-1,1}", "0", "0", "-1", "1", "1", "public static void main(String args[]) throws IOException {\n int R = in.nextInt();\n out.println(Math.PI*R*2);\n out.flush();\n }", "main", "{\n int R = in.nextInt();\n out.println(Math.PI*R*2);\n out.flush();\n }", "int R = in.nextInt();", "R", "in.nextInt()", "in.nextInt", "in", "out.println(Math.PI*R*2)", "out.println", "out", "Math.PI*R*2", "Math.PI*R*2", "Math.PI", "Math", "Math.PI", "R", "2", "out.flush()", "out.flush", "out", "String args[]", "args", "static boolean isEven(long a){\n return (a&1)==0;\n }", "isEven", "{\n return (a&1)==0;\n }", "return (a&1)==0;", "(a&1)==0", "(a&1)", "a", "1", "0", "long a", "a", "static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }", "swap", "{\n\n int temmp = b;\n b=a;\n a = temmp;\n }", "int temmp = b;", "temmp", "b", "b=a", "b", "a", "a = temmp", "a", "temmp", "int a", "a", "int b", "b", "static boolean same(int [] arr,int [] temp){\n Arrays.sort(arr);\n Arrays.sort(temp);\n for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }\n return true;\n }", "same", "{\n Arrays.sort(arr);\n Arrays.sort(temp);\n for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }\n return true;\n }", "Arrays.sort(arr)", "Arrays.sort", "Arrays", "arr", "Arrays.sort(temp)", "Arrays.sort", "Arrays", "temp", "for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }", "int i=0;", "int i=0;", "i", "0", "i<arr.length", "i", "arr.length", "arr", "arr.length", "i++", "i++", "i", "{\n if(temp[i]!=arr[i])\n return false;\n }", "{\n if(temp[i]!=arr[i])\n return false;\n }", "if(temp[i]!=arr[i])\n return false;", "temp[i]!=arr[i]", "temp[i]", "temp", "i", "arr[i]", "arr", "i", "return false;", "false", "return true;", "true", "int [] arr", "arr", "int [] temp", "temp", "public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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 }", "MyScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public MyScanner() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }", "MyScanner", "{\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\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n public static void main(String args[]) throws IOException {\n int R = in.nextInt();\n out.println(Math.PI*R*2);\n out.flush();\n }\n static boolean isEven(long a){\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n static boolean same(int [] arr,int [] temp){\n Arrays.sort(arr);\n Arrays.sort(temp);\n for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }\n return true;\n }\n\n \n \n\n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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 class Main {\n\n static MyScanner in = new MyScanner();\n static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out));\n int N;\n static int max = 200001;\n static int [] dr = {1,-1,0,0};\n static int [] dc={0,0,-1,1};\n public static void main(String args[]) throws IOException {\n int R = in.nextInt();\n out.println(Math.PI*R*2);\n out.flush();\n }\n static boolean isEven(long a){\n return (a&1)==0;\n }\n static void swap (int a, int b){\n\n int temmp = b;\n b=a;\n a = temmp;\n }\n static boolean same(int [] arr,int [] temp){\n Arrays.sort(arr);\n Arrays.sort(temp);\n for(int i=0;i<arr.length;i++){\n if(temp[i]!=arr[i])\n return false;\n }\n return true;\n }\n\n \n \n\n\n public static class MyScanner {\n BufferedReader br;\n StringTokenizer st;\n \n public MyScanner() {\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}", "Main" ]
import java.io.*; import java.math.*; import java.util.*; public class Main { static MyScanner in = new MyScanner(); static PrintWriter out = new PrintWriter(new OutputStreamWriter(System.out)); int N; static int max = 200001; static int [] dr = {1,-1,0,0}; static int [] dc={0,0,-1,1}; public static void main(String args[]) throws IOException { int R = in.nextInt(); out.println(Math.PI*R*2); out.flush(); } static boolean isEven(long a){ return (a&1)==0; } static void swap (int a, int b){ int temmp = b; b=a; a = temmp; } static boolean same(int [] arr,int [] temp){ Arrays.sort(arr); Arrays.sort(temp); for(int i=0;i<arr.length;i++){ if(temp[i]!=arr[i]) return false; } return true; } public static class MyScanner { BufferedReader br; StringTokenizer st; public MyScanner() { 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; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 30, 5 ], [ 30, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 23, 23 ], [ 23, 24 ], [ 23, 25 ], [ 23, 26 ], [ 6, 27 ], [ 27, 28 ], [ 0, 29 ], [ 29, 30 ], [ 29, 31 ] ]
[ "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\tdouble R = (double) sc.nextInt();\n\t\tSystem.out.println(R * 2 * 3.1415);\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\tdouble R = (double) sc.nextInt();\n\t\tSystem.out.println(R * 2 * 3.1415);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble R = (double) sc.nextInt();\n\t\tSystem.out.println(R * 2 * 3.1415);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble R = (double) sc.nextInt();\n\t\tSystem.out.println(R * 2 * 3.1415);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double R = (double) sc.nextInt();", "R", "(double) sc.nextInt()", "sc.nextInt", "sc", "System.out.println(R * 2 * 3.1415)", "System.out.println", "System.out", "System", "System.out", "R * 2 * 3.1415", "R * 2 * 3.1415", "R", "2", "3.1415", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble R = (double) sc.nextInt();\n\t\tSystem.out.println(R * 2 * 3.1415);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tdouble R = (double) sc.nextInt();\n\t\tSystem.out.println(R * 2 * 3.1415);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double R = (double) sc.nextInt(); System.out.println(R * 2 * 3.1415); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 0, 13, 2, 2, 13, 17, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 33, 5 ], [ 33, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 20 ], [ 20, 21 ], [ 20, 22 ], [ 20, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 6, 30 ], [ 30, 31 ], [ 0, 32 ], [ 32, 33 ], [ 32, 34 ] ]
[ "import java.util.Scanner;\n\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n a = a*2*3.14159;\n System.out.print((a));\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n a = a*2*3.14159;\n System.out.print((a));\n\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n a = a*2*3.14159;\n System.out.print((a));\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n a = a*2*3.14159;\n System.out.print((a));\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "double a = sc.nextDouble();", "a", "sc.nextDouble()", "sc.nextDouble", "sc", "a = a*2*3.14159", "a", "a*2*3.14159", "a*2*3.14159", "a", "2", "3.14159", "System.out.print((a))", "System.out.print", "System.out", "System", "System.out", "(a)", "String[] args", "args", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n a = a*2*3.14159;\n System.out.print((a));\n\n }\n}", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n double a = sc.nextDouble();\n a = a*2*3.14159;\n System.out.print((a));\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); double a = sc.nextDouble(); a = a*2*3.14159; System.out.print((a)); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 4, 13, 18, 13, 13, 18, 13, 13, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 2, 2, 17, 13, 18, 13, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 51, 11 ], [ 51, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 15, 20 ], [ 20, 21 ], [ 20, 22 ], [ 12, 23 ], [ 23, 24 ], [ 51, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 27, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 40, 40 ], [ 40, 41 ], [ 40, 42 ], [ 40, 43 ], [ 43, 44 ], [ 43, 45 ], [ 25, 46 ], [ 46, 47 ], [ 25, 48 ], [ 48, 49 ], [ 0, 50 ], [ 50, 51 ], [ 50, 52 ] ]
[ "\nimport java.io.InputStream;\nimport java.io.PrintStream;\nimport java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int R = scan.nextInt();\n\n os.println(2 * R * Math.PI);\n }\n}", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintStream;", "PrintStream", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int R = scan.nextInt();\n\n os.println(2 * R * Math.PI);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }", "main", "{\n solve(System.in, System.out);\n }", "solve(System.in, System.out)", "solve", "System.in", "System", "System.in", "System.out", "System", "System.out", "String[] args", "args", "static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int R = scan.nextInt();\n\n os.println(2 * R * Math.PI);\n }", "solve", "{\n // Your code here!\n Scanner scan = new Scanner(is);\n int R = scan.nextInt();\n\n os.println(2 * R * Math.PI);\n }", "Scanner scan = new Scanner(is);", "scan", "new Scanner(is)", "int R = scan.nextInt();", "R", "scan.nextInt()", "scan.nextInt", "scan", "os.println(2 * R * Math.PI)", "os.println", "os", "2 * R * Math.PI", "2 * R * Math.PI", "2", "R", "Math.PI", "Math", "Math.PI", "InputStream is", "is", "PrintStream os", "os", "public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int R = scan.nextInt();\n\n os.println(2 * R * Math.PI);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n solve(System.in, System.out);\n }\n\n static void solve(InputStream is, PrintStream os) {\n // Your code here!\n Scanner scan = new Scanner(is);\n int R = scan.nextInt();\n\n os.println(2 * R * Math.PI);\n }\n}", "Main" ]
import java.io.InputStream; import java.io.PrintStream; import java.util.*; public class Main { public static void main(String[] args) throws Exception { solve(System.in, System.out); } static void solve(InputStream is, PrintStream os) { // Your code here! Scanner scan = new Scanner(is); int R = scan.nextInt(); os.println(2 * R * Math.PI); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 17, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 35, 5 ], [ 35, 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 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 26, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 29, 30 ], [ 29, 31 ], [ 6, 32 ], [ 32, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ] ]
[ "import java.io.*;\n\npublic class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n int R = Integer.parseInt (reader.readLine());\n System.out.println (2 * R * Math.PI);\n }\n}", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n int R = Integer.parseInt (reader.readLine());\n System.out.println (2 * R * Math.PI);\n }\n}", "Main", "public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n int R = Integer.parseInt (reader.readLine());\n System.out.println (2 * R * Math.PI);\n }", "main", "{\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n int R = Integer.parseInt (reader.readLine());\n System.out.println (2 * R * Math.PI);\n }", "BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));", "reader", "new BufferedReader (new InputStreamReader (System.in))", "int R = Integer.parseInt (reader.readLine());", "R", "Integer.parseInt (reader.readLine())", "Integer.parseInt", "Integer", "reader.readLine()", "reader.readLine", "reader", "System.out.println (2 * R * Math.PI)", "System.out.println", "System.out", "System", "System.out", "2 * R * Math.PI", "2 * R * Math.PI", "2", "R", "Math.PI", "Math", "Math.PI", "String[] args", "args", "public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n int R = Integer.parseInt (reader.readLine());\n System.out.println (2 * R * Math.PI);\n }\n}", "public class Main {\n public static void main (String[] args) throws Exception {\n BufferedReader reader =\n new BufferedReader (new InputStreamReader (System.in));\n int R = Integer.parseInt (reader.readLine());\n System.out.println (2 * R * Math.PI);\n }\n}", "Main" ]
import java.io.*; public class Main { public static void main (String[] args) throws Exception { BufferedReader reader = new BufferedReader (new InputStreamReader (System.in)); int R = Integer.parseInt (reader.readLine()); System.out.println (2 * R * Math.PI); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 2, 2, 17, 18, 13, 13, 13, 4, 18, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 36, 5 ], [ 36, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 26, 32 ], [ 6, 33 ], [ 33, 34 ], [ 0, 35 ], [ 35, 36 ], [ 35, 37 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int r=tan.nextInt();\n double p=2*Math.PI*r;\n System.out.printf(\"%.20f\\n\",p);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int r=tan.nextInt();\n double p=2*Math.PI*r;\n System.out.printf(\"%.20f\\n\",p);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int r=tan.nextInt();\n double p=2*Math.PI*r;\n System.out.printf(\"%.20f\\n\",p);\n }", "main", "{\n Scanner tan = new Scanner(System.in);\n int r=tan.nextInt();\n double p=2*Math.PI*r;\n System.out.printf(\"%.20f\\n\",p);\n }", "Scanner tan = new Scanner(System.in);", "tan", "new Scanner(System.in)", "int r=tan.nextInt();", "r", "tan.nextInt()", "tan.nextInt", "tan", "double p=2*Math.PI*r;", "p", "2*Math.PI*r", "2*Math.PI*r", "2", "Math.PI", "Math", "Math.PI", "r", "System.out.printf(\"%.20f\\n\",p)", "System.out.printf", "System.out", "System", "System.out", "\"%.20f\\n\"", "p", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int r=tan.nextInt();\n double p=2*Math.PI*r;\n System.out.printf(\"%.20f\\n\",p);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner tan = new Scanner(System.in);\n int r=tan.nextInt();\n double p=2*Math.PI*r;\n System.out.printf(\"%.20f\\n\",p);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner tan = new Scanner(System.in); int r=tan.nextInt(); double p=2*Math.PI*r; System.out.printf("%.20f\n",p); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 17, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 30, 5 ], [ 30, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 23, 23 ], [ 23, 24 ], [ 23, 25 ], [ 23, 26 ], [ 6, 27 ], [ 27, 28 ], [ 0, 29 ], [ 29, 30 ], [ 29, 31 ] ]
[ "import java.util.Scanner;\n\npublic class Main { \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n System.out.println(2*a*3.14);\n\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main { \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n System.out.println(2*a*3.14);\n\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n System.out.println(2*a*3.14);\n\n\n }", "main", "{\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n System.out.println(2*a*3.14);\n\n\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "long a = scanner.nextLong();", "a", "scanner.nextLong()", "scanner.nextLong", "scanner", "System.out.println(2*a*3.14)", "System.out.println", "System.out", "System", "System.out", "2*a*3.14", "2*a*3.14", "2", "a", "3.14", "String[] args", "args", "public class Main { \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n System.out.println(2*a*3.14);\n\n\n }\n}", "public class Main { \n public static void main(String[] args) {\n Scanner scanner = new Scanner(System.in);\n long a = scanner.nextLong();\n System.out.println(2*a*3.14);\n\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); long a = scanner.nextLong(); System.out.println(2*a*3.14); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 2, 2, 17, 13, 18, 13, 13, 4, 18, 18, 13, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 38, 5 ], [ 38, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 20 ], [ 20, 21 ], [ 20, 22 ], [ 20, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 26, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 6, 35 ], [ 35, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint r = (int) sc.nextInt();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tSystem.out.println(l);\n\n\t\tsc.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint r = (int) sc.nextInt();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tSystem.out.println(l);\n\n\t\tsc.close();\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint r = (int) sc.nextInt();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tSystem.out.println(l);\n\n\t\tsc.close();\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint r = (int) sc.nextInt();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tSystem.out.println(l);\n\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int r = (int) sc.nextInt();", "r", "(int) sc.nextInt()", "sc.nextInt", "sc", "double l = 2 * r * Math.PI;", "l", "2 * r * Math.PI", "2 * r * Math.PI", "2", "r", "Math.PI", "Math", "Math.PI", "System.out.println(l)", "System.out.println", "System.out", "System", "System.out", "l", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint r = (int) sc.nextInt();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tSystem.out.println(l);\n\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner sc = new Scanner(System.in);\n\n\t\tint r = (int) sc.nextInt();\n\n\t\tdouble l = 2 * r * Math.PI;\n\t\tSystem.out.println(l);\n\n\t\tsc.close();\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int r = (int) sc.nextInt(); double l = 2 * r * Math.PI; System.out.println(l); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 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, 41, 13, 17, 12, 13, 30, 41, 13, 4, 18, 13, 4, 18, 13, 2, 2, 17, 13, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 2, 17, 17, 41, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 20, 0, 18, 36, 13, 20, 13, 0, 18, 36, 13, 0, 13, 17, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 20, 13, 0, 18, 36, 13, 0, 13, 17, 23, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 18, 36, 13, 20, 0, 18, 36, 13, 20, 13, 0, 18, 36, 13, 0, 13, 17, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 42, 2, 13, 17, 30, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 30, 0, 13, 4, 13, 42, 2, 2, 0, 13, 4, 13, 17, 2, 13, 17, 30, 0, 13, 2, 2, 2, 13, 17, 13, 17, 14, 13, 30, 29, 40, 13, 29, 13, 12, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 4, 18, 13, 13, 0, 13, 17, 13, 14, 2, 13, 40, 17, 30, 0, 18, 13, 17, 40, 17, 12, 13, 30, 14, 2, 13, 13, 30, 4, 13, 29, 18, 13, 40, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 287, 29 ], [ 287, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 35, 37 ], [ 32, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 40, 42 ], [ 32, 43 ], [ 43, 44 ], [ 43, 45 ], [ 32, 46 ], [ 46, 47 ], [ 46, 48 ], [ 32, 49 ], [ 49, 50 ], [ 49, 51 ], [ 32, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 52, 57 ], [ 32, 58 ], [ 58, 59 ], [ 59, 60 ], [ 30, 61 ], [ 61, 62 ], [ 287, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 80, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 68, 84 ], [ 84, 85 ], [ 68, 86 ], [ 86, 87 ], [ 68, 88 ], [ 88, 89 ], [ 287, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 90, 97 ], [ 97, 98 ], [ 90, 99 ], [ 99, 100 ], [ 90, 101 ], [ 101, 102 ], [ 90, 103 ], [ 103, 104 ], [ 90, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 108, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 107, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 123, 125 ], [ 90, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 129, 133 ], [ 128, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 128, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 140, 144 ], [ 144, 145 ], [ 144, 146 ], [ 126, 147 ], [ 147, 148 ], [ 90, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 153, 155 ], [ 155, 156 ], [ 156, 157 ], [ 152, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 160, 162 ], [ 159, 163 ], [ 158, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 158, 170 ], [ 170, 171 ], [ 171, 172 ], [ 171, 173 ], [ 170, 174 ], [ 174, 175 ], [ 174, 176 ], [ 149, 177 ], [ 177, 178 ], [ 90, 179 ], [ 179, 180 ], [ 179, 181 ], [ 181, 182 ], [ 182, 183 ], [ 182, 184 ], [ 181, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 181, 189 ], [ 189, 190 ], [ 190, 191 ], [ 190, 192 ], [ 189, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 181, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 200, 202 ], [ 181, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 181, 210 ], [ 210, 211 ], [ 211, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 212, 217 ], [ 211, 218 ], [ 218, 219 ], [ 218, 220 ], [ 210, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 225, 229 ], [ 224, 230 ], [ 181, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 181, 237 ], [ 237, 238 ], [ 90, 239 ], [ 239, 240 ], [ 239, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 246, 247 ], [ 242, 248 ], [ 248, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 252, 253 ], [ 251, 254 ], [ 251, 255 ], [ 255, 256 ], [ 255, 257 ], [ 251, 258 ], [ 248, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 259, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 265, 269 ], [ 269, 270 ], [ 90, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 275, 277 ], [ 274, 278 ], [ 278, 279 ], [ 279, 280 ], [ 273, 281 ], [ 281, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 0, 286 ], [ 286, 287 ], [ 286, 288 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.DataInputStream;\nimport java.io.IOException;\nimport java.io.FileInputStream;\nimport java.io.FileNotFoundException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n *\n * @author iavanish\n */\npublic class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACirclePond solver = new ACirclePond();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACirclePond {\n\n private static final double pie = 3.14159265358979323846;\n\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }\n\n }\n\n static class FastReader {\n\n private final int BUFFER_SIZE = 1 << 16;\n private final InputStream inputStream;\n private final byte[] buffer;\n private int bufferPointer;\n private int bytesRead;\n\n public FastReader() {\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(InputStream inputStream) {\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(String fileName) {\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }\n\n public int nextInt() {\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }\n\n private void fillBuffer() {\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n private byte read() {\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }\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.io.DataInputStream;", "DataInputStream", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.FileInputStream;", "FileInputStream", "java.io", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACirclePond solver = new ACirclePond();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACirclePond {\n\n private static final double pie = 3.14159265358979323846;\n\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }\n\n }\n\n static class FastReader {\n\n private final int BUFFER_SIZE = 1 << 16;\n private final InputStream inputStream;\n private final byte[] buffer;\n private int bufferPointer;\n private int bytesRead;\n\n public FastReader() {\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(InputStream inputStream) {\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(String fileName) {\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }\n\n public int nextInt() {\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }\n\n private void fillBuffer() {\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n private byte read() {\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }\n\n }\n\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACirclePond solver = new ACirclePond();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACirclePond solver = new ACirclePond();\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", "FastReader in = new FastReader(inputStream);", "in", "new FastReader(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "ACirclePond solver = new ACirclePond();", "solver", "new ACirclePond()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class ACirclePond {\n\n private static final double pie = 3.14159265358979323846;\n\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }\n\n }", "ACirclePond", "private static final double pie = 3.14159265358979323846;", "pie", "3.14159265358979323846", "public void solve(int testNumber, FastReader in, PrintWriter out) {\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }", "solve", "{\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }", "double r = in.nextInt();", "r", "in.nextInt()", "in.nextInt", "in", "out.println(2.0 * pie * r)", "out.println", "out", "2.0 * pie * r", "2.0 * pie * r", "2.0", "pie", "r", "int testNumber", "testNumber", "FastReader in", "in", "PrintWriter out", "out", "static class FastReader {\n\n private final int BUFFER_SIZE = 1 << 16;\n private final InputStream inputStream;\n private final byte[] buffer;\n private int bufferPointer;\n private int bytesRead;\n\n public FastReader() {\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(InputStream inputStream) {\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(String fileName) {\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }\n\n public int nextInt() {\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }\n\n private void fillBuffer() {\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n private byte read() {\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }\n\n }", "FastReader", "private final int BUFFER_SIZE = 1 << 16;", "BUFFER_SIZE", "1 << 16", "1", "16", "private final InputStream inputStream;", "inputStream", "private final byte[] buffer;", "buffer", "private int bufferPointer;", "bufferPointer", "private int bytesRead;", "bytesRead", "public FastReader() {\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }", "FastReader", "{\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }", "this.inputStream = new DataInputStream(System.in)", "this.inputStream", "this", "this.inputStream", "new DataInputStream(System.in)", "this.buffer = new byte[BUFFER_SIZE]", "this.buffer", "this", "this.buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "this.bufferPointer = bytesRead = 0", "this.bufferPointer", "this", "this.bufferPointer", "bytesRead = 0", "bytesRead", "0", "public FastReader(InputStream inputStream) {\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }", "FastReader", "{\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }", "this.inputStream = inputStream", "this.inputStream", "this", "this.inputStream", "inputStream", "this.buffer = new byte[BUFFER_SIZE]", "this.buffer", "this", "this.buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "this.bufferPointer = bytesRead = 0", "this.bufferPointer", "this", "this.bufferPointer", "bytesRead = 0", "bytesRead", "0", "InputStream inputStream", "inputStream", "public FastReader(String fileName) {\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }", "FastReader", "{\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }", "catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }", "FileNotFoundException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }", "this.inputStream = new DataInputStream(new FileInputStream(fileName))", "this.inputStream", "this", "this.inputStream", "new DataInputStream(new FileInputStream(fileName))", "this.buffer = new byte[BUFFER_SIZE]", "this.buffer", "this", "this.buffer", "new byte[BUFFER_SIZE]", "BUFFER_SIZE", "this.bufferPointer = bytesRead = 0", "this.bufferPointer", "this", "this.bufferPointer", "bytesRead = 0", "bytesRead", "0", "String fileName", "fileName", "public int nextInt() {\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }", "nextInt", "{\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }", "int nextInt = 0;", "nextInt", "0", "byte c = read();", "c", "read()", "read", "while (c <= ' ') {\n c = read();\n }", "c <= ' '", "c", "' '", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "boolean negative = (c == '-');", "negative", "(c == '-')", "c", "'-'", "if (negative) {\n c = read();\n }", "negative", "{\n c = read();\n }", "c = read()", "c", "read()", "read", "do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');", "(c = read()) >= '0' && c <= '9'", "(c = read()) >= '0'", "(c = read())", "c", "read()", "read", "'0'", "c <= '9'", "c", "'9'", "{\n nextInt = nextInt * 10 + c - '0';\n }", "nextInt = nextInt * 10 + c - '0'", "nextInt", "nextInt * 10 + c - '0'", "nextInt * 10 + c", "nextInt * 10", "nextInt", "10", "c", "'0'", "if (negative) {\n return -nextInt;\n }", "negative", "{\n return -nextInt;\n }", "return -nextInt;", "-nextInt", "nextInt", "return nextInt;", "nextInt", "private void fillBuffer() {\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "fillBuffer", "{\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\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 bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n }", "bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE)", "bytesRead", "inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE)", "inputStream.read", "inputStream", "buffer", "bufferPointer = 0", "bufferPointer", "0", "BUFFER_SIZE", "if (bytesRead == -1) {\n buffer[0] = -1;\n }", "bytesRead == -1", "bytesRead", "-1", "1", "{\n buffer[0] = -1;\n }", "buffer[0] = -1", "buffer[0]", "buffer", "0", "-1", "1", "private byte read() {\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }", "read", "{\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }", "if (bufferPointer == bytesRead) {\n fillBuffer();\n }", "bufferPointer == bytesRead", "bufferPointer", "bytesRead", "{\n fillBuffer();\n }", "fillBuffer()", "fillBuffer", "return buffer[bufferPointer++];", "buffer[bufferPointer++]", "buffer", "bufferPointer++", "bufferPointer", "public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACirclePond solver = new ACirclePond();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACirclePond {\n\n private static final double pie = 3.14159265358979323846;\n\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }\n\n }\n\n static class FastReader {\n\n private final int BUFFER_SIZE = 1 << 16;\n private final InputStream inputStream;\n private final byte[] buffer;\n private int bufferPointer;\n private int bytesRead;\n\n public FastReader() {\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(InputStream inputStream) {\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(String fileName) {\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }\n\n public int nextInt() {\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }\n\n private void fillBuffer() {\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n private byte read() {\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }\n\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastReader in = new FastReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n ACirclePond solver = new ACirclePond();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class ACirclePond {\n\n private static final double pie = 3.14159265358979323846;\n\n public void solve(int testNumber, FastReader in, PrintWriter out) {\n double r = in.nextInt();\n out.println(2.0 * pie * r);\n }\n\n }\n\n static class FastReader {\n\n private final int BUFFER_SIZE = 1 << 16;\n private final InputStream inputStream;\n private final byte[] buffer;\n private int bufferPointer;\n private int bytesRead;\n\n public FastReader() {\n this.inputStream = new DataInputStream(System.in);\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(InputStream inputStream) {\n this.inputStream = inputStream;\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n }\n\n public FastReader(String fileName) {\n try {\n this.inputStream = new DataInputStream(new FileInputStream(fileName));\n this.buffer = new byte[BUFFER_SIZE];\n this.bufferPointer = bytesRead = 0;\n } catch (FileNotFoundException e) {\n throw new RuntimeException(e);\n }\n }\n\n public int nextInt() {\n int nextInt = 0;\n byte c = read();\n while (c <= ' ') {\n c = read();\n }\n boolean negative = (c == '-');\n if (negative) {\n c = read();\n }\n do {\n nextInt = nextInt * 10 + c - '0';\n } while ((c = read()) >= '0' && c <= '9');\n if (negative) {\n return -nextInt;\n }\n return nextInt;\n }\n\n private void fillBuffer() {\n try {\n bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE);\n if (bytesRead == -1) {\n buffer[0] = -1;\n }\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n\n private byte read() {\n if (bufferPointer == bytesRead) {\n fillBuffer();\n }\n return buffer[bufferPointer++];\n }\n\n }\n\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.DataInputStream; import java.io.IOException; import java.io.FileInputStream; import java.io.FileNotFoundException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top * * @author iavanish */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; FastReader in = new FastReader(inputStream); PrintWriter out = new PrintWriter(outputStream); ACirclePond solver = new ACirclePond(); solver.solve(1, in, out); out.close(); } static class ACirclePond { private static final double pie = 3.14159265358979323846; public void solve(int testNumber, FastReader in, PrintWriter out) { double r = in.nextInt(); out.println(2.0 * pie * r); } } static class FastReader { private final int BUFFER_SIZE = 1 << 16; private final InputStream inputStream; private final byte[] buffer; private int bufferPointer; private int bytesRead; public FastReader() { this.inputStream = new DataInputStream(System.in); this.buffer = new byte[BUFFER_SIZE]; this.bufferPointer = bytesRead = 0; } public FastReader(InputStream inputStream) { this.inputStream = inputStream; this.buffer = new byte[BUFFER_SIZE]; this.bufferPointer = bytesRead = 0; } public FastReader(String fileName) { try { this.inputStream = new DataInputStream(new FileInputStream(fileName)); this.buffer = new byte[BUFFER_SIZE]; this.bufferPointer = bytesRead = 0; } catch (FileNotFoundException e) { throw new RuntimeException(e); } } public int nextInt() { int nextInt = 0; byte c = read(); while (c <= ' ') { c = read(); } boolean negative = (c == '-'); if (negative) { c = read(); } do { nextInt = nextInt * 10 + c - '0'; } while ((c = read()) >= '0' && c <= '9'); if (negative) { return -nextInt; } return nextInt; } private void fillBuffer() { try { bytesRead = inputStream.read(buffer, bufferPointer = 0, BUFFER_SIZE); if (bytesRead == -1) { buffer[0] = -1; } } catch (IOException e) { throw new RuntimeException(e); } } private byte read() { if (bufferPointer == bytesRead) { fillBuffer(); } return buffer[bufferPointer++]; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 2, 2, 17, 17, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 33, 5 ], [ 33, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 20 ], [ 20, 21 ], [ 20, 22 ], [ 20, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 6, 30 ], [ 30, 31 ], [ 0, 32 ], [ 32, 33 ], [ 32, 34 ] ]
[ "import java.util.Scanner;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int R = sc.nextInt();\n double result = 2 * 3.141592653589793238 * R;\n System.out.println(result);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int R = sc.nextInt();\n double result = 2 * 3.141592653589793238 * R;\n System.out.println(result);\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int R = sc.nextInt();\n double result = 2 * 3.141592653589793238 * R;\n System.out.println(result);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int R = sc.nextInt();\n double result = 2 * 3.141592653589793238 * R;\n System.out.println(result);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int R = sc.nextInt();", "R", "sc.nextInt()", "sc.nextInt", "sc", "double result = 2 * 3.141592653589793238 * R;", "result", "2 * 3.141592653589793238 * R", "2 * 3.141592653589793238 * R", "2", "3.141592653589793238", "R", "System.out.println(result)", "System.out.println", "System.out", "System", "System.out", "result", "String[] args", "args", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int R = sc.nextInt();\n double result = 2 * 3.141592653589793238 * R;\n System.out.println(result);\n }\n}", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in);\n int R = sc.nextInt();\n double result = 2 * 3.141592653589793238 * R;\n System.out.println(result);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int R = sc.nextInt(); double result = 2 * 3.141592653589793238 * R; System.out.println(result); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 0, 13, 2, 2, 17, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 33, 5 ], [ 33, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 20, 20 ], [ 20, 21 ], [ 20, 22 ], [ 20, 23 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 6, 30 ], [ 30, 31 ], [ 0, 32 ], [ 32, 33 ], [ 32, 34 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n Double R = sc.nextDouble();\n R=2*R*3.141592653589793238462;\n System.out.println(R);\n \n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n Double R = sc.nextDouble();\n R=2*R*3.141592653589793238462;\n System.out.println(R);\n \n \n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n Double R = sc.nextDouble();\n R=2*R*3.141592653589793238462;\n System.out.println(R);\n \n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n Double R = sc.nextDouble();\n R=2*R*3.141592653589793238462;\n System.out.println(R);\n \n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Double R = sc.nextDouble();", "R", "sc.nextDouble()", "sc.nextDouble", "sc", "R=2*R*3.141592653589793238462", "R", "2*R*3.141592653589793238462", "2*R*3.141592653589793238462", "2", "R", "3.141592653589793238462", "System.out.println(R)", "System.out.println", "System.out", "System", "System.out", "R", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n Double R = sc.nextDouble();\n R=2*R*3.141592653589793238462;\n System.out.println(R);\n \n \n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n \n Double R = sc.nextDouble();\n R=2*R*3.141592653589793238462;\n System.out.println(R);\n \n \n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); Double R = sc.nextDouble(); R=2*R*3.141592653589793238462; System.out.println(R); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 13, 40, 17, 41, 13, 2, 2, 17, 13, 13, 41, 13, 20, 41, 13, 4, 18, 4, 18, 4, 18, 13, 13, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 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 ], [ 20, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 38, 38 ], [ 38, 39 ], [ 38, 40 ], [ 38, 41 ], [ 20, 42 ], [ 42, 43 ], [ 42, 44 ], [ 20, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 49, 55 ], [ 49, 56 ], [ 56, 57 ], [ 56, 58 ], [ 20, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 18, 65 ], [ 65, 66 ], [ 0, 67 ], [ 67, 68 ], [ 67, 69 ] ]
[ "import static java.lang.Math.acos;\nimport java.math.BigDecimal;\nimport java.math.RoundingMode;\nimport java.text.DecimalFormat;\nimport java.util.Scanner;\npublic class Main {\n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n double r=in.nextDouble();\n double pi=acos(-1.0);\n Double are=2*pi*r;\n Double toBeTruncated = new Double(are);\n\nDouble truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();\n System.out.println(toBeTruncated);\n }\n}", "import static java.lang.Math.acos;", "import static java.lang.Math.acos;", "import static java.lang.Math.acos;", "import java.math.BigDecimal;", "BigDecimal", "java.math", "import java.math.RoundingMode;", "RoundingMode", "java.math", "import java.text.DecimalFormat;", "DecimalFormat", "java.text", "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 double r=in.nextDouble();\n double pi=acos(-1.0);\n Double are=2*pi*r;\n Double toBeTruncated = new Double(are);\n\nDouble truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();\n System.out.println(toBeTruncated);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n double r=in.nextDouble();\n double pi=acos(-1.0);\n Double are=2*pi*r;\n Double toBeTruncated = new Double(are);\n\nDouble truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();\n System.out.println(toBeTruncated);\n }", "main", "{\n Scanner in=new Scanner(System.in);\n double r=in.nextDouble();\n double pi=acos(-1.0);\n Double are=2*pi*r;\n Double toBeTruncated = new Double(are);\n\nDouble truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();\n System.out.println(toBeTruncated);\n }", "Scanner in=new Scanner(System.in);", "in", "new Scanner(System.in)", "double r=in.nextDouble();", "r", "in.nextDouble()", "in.nextDouble", "in", "double pi=acos(-1.0);", "pi", "acos(-1.0)", "acos", "-1.0", "1.0", "Double are=2*pi*r;", "are", "2*pi*r", "2*pi*r", "2", "pi", "r", "Double toBeTruncated = new Double(are);", "toBeTruncated", "new Double(are)", "Double truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();", "truncatedDouble", "BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue()", "BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue", "BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)", "BigDecimal.valueOf(toBeTruncated)\n .setScale", "BigDecimal.valueOf(toBeTruncated)", "BigDecimal.valueOf", "BigDecimal", "toBeTruncated", "3", "RoundingMode.HALF_UP", "RoundingMode", "RoundingMode.HALF_UP", "System.out.println(toBeTruncated)", "System.out.println", "System.out", "System", "System.out", "toBeTruncated", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n double r=in.nextDouble();\n double pi=acos(-1.0);\n Double are=2*pi*r;\n Double toBeTruncated = new Double(are);\n\nDouble truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();\n System.out.println(toBeTruncated);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner in=new Scanner(System.in);\n double r=in.nextDouble();\n double pi=acos(-1.0);\n Double are=2*pi*r;\n Double toBeTruncated = new Double(are);\n\nDouble truncatedDouble = BigDecimal.valueOf(toBeTruncated)\n .setScale(3, RoundingMode.HALF_UP)\n .doubleValue();\n System.out.println(toBeTruncated);\n }\n}", "Main" ]
import static java.lang.Math.acos; import java.math.BigDecimal; import java.math.RoundingMode; import java.text.DecimalFormat; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in=new Scanner(System.in); double r=in.nextDouble(); double pi=acos(-1.0); Double are=2*pi*r; Double toBeTruncated = new Double(are); Double truncatedDouble = BigDecimal.valueOf(toBeTruncated) .setScale(3, RoundingMode.HALF_UP) .doubleValue(); System.out.println(toBeTruncated); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 41, 13, 20, 0, 13, 4, 18, 13, 0, 13, 2, 2, 13, 17, 18, 13, 13, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 39, 5 ], [ 39, 6 ], [ 6, 7 ], [ 39, 8 ], [ 8, 9 ], [ 39, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 13, 15 ], [ 12, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 12, 21 ], [ 21, 22 ], [ 21, 23 ], [ 24, 24 ], [ 24, 25 ], [ 24, 26 ], [ 24, 27 ], [ 27, 28 ], [ 27, 29 ], [ 12, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 10, 36 ], [ 36, 37 ], [ 0, 38 ], [ 38, 39 ], [ 38, 40 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tstatic int R;\n\tstatic double L;\n\tpublic static void main(String args[]){\n\t\tScanner scanner =new Scanner(System.in);\n\t\tR=scanner.nextInt();\n\t\tL=R*2*Math.PI;\n\t\tSystem.out.println(L);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tstatic int R;\n\tstatic double L;\n\tpublic static void main(String args[]){\n\t\tScanner scanner =new Scanner(System.in);\n\t\tR=scanner.nextInt();\n\t\tL=R*2*Math.PI;\n\t\tSystem.out.println(L);\n\t}\n}", "Main", "static int R;", "R", "static double L;", "L", "public static void main(String args[]){\n\t\tScanner scanner =new Scanner(System.in);\n\t\tR=scanner.nextInt();\n\t\tL=R*2*Math.PI;\n\t\tSystem.out.println(L);\n\t}", "main", "{\n\t\tScanner scanner =new Scanner(System.in);\n\t\tR=scanner.nextInt();\n\t\tL=R*2*Math.PI;\n\t\tSystem.out.println(L);\n\t}", "Scanner scanner =new Scanner(System.in);", "scanner", "new Scanner(System.in)", "R=scanner.nextInt()", "R", "scanner.nextInt()", "scanner.nextInt", "scanner", "L=R*2*Math.PI", "L", "R*2*Math.PI", "R*2*Math.PI", "R", "2", "Math.PI", "Math", "Math.PI", "System.out.println(L)", "System.out.println", "System.out", "System", "System.out", "L", "String args[]", "args", "public class Main {\n\tstatic int R;\n\tstatic double L;\n\tpublic static void main(String args[]){\n\t\tScanner scanner =new Scanner(System.in);\n\t\tR=scanner.nextInt();\n\t\tL=R*2*Math.PI;\n\t\tSystem.out.println(L);\n\t}\n}", "public class Main {\n\tstatic int R;\n\tstatic double L;\n\tpublic static void main(String args[]){\n\t\tScanner scanner =new Scanner(System.in);\n\t\tR=scanner.nextInt();\n\t\tL=R*2*Math.PI;\n\t\tSystem.out.println(L);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { static int R; static double L; public static void main(String args[]){ Scanner scanner =new Scanner(System.in); R=scanner.nextInt(); L=R*2*Math.PI; System.out.println(L); } }
[ 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, 18, 13, 13, 2, 2, 40, 18, 13, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 39, 11 ], [ 39, 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 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 29, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 29, 35 ], [ 12, 36 ], [ 36, 37 ], [ 0, 38 ], [ 38, 39 ], [ 38, 40 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.Math;\npublic class Main{\n\tpublic static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n System.out.println(+Math.PI*2*r);\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.Math;", "Math", "java.lang", "public class Main{\n\tpublic static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n System.out.println(+Math.PI*2*r);\n }\n}", "Main", "public static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n System.out.println(+Math.PI*2*r);\n }", "main", "{\n \tScanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n System.out.println(+Math.PI*2*r);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int r = sc.nextInt();", "r", "sc.nextInt()", "sc.nextInt", "sc", "System.out.println(+Math.PI*2*r)", "System.out.println", "System.out", "System", "System.out", "+Math.PI*2*r", "+Math.PI*2*r", "+Math.PI", "Math.PI", "Math", "Math.PI", "2", "r", "String args[]", "args", "public class Main{\n\tpublic static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n System.out.println(+Math.PI*2*r);\n }\n}", "public class Main{\n\tpublic static void main(String args[]){\n \tScanner sc = new Scanner(System.in);\n int r = sc.nextInt();\n System.out.println(+Math.PI*2*r);\n }\n}", "Main" ]
import java.io.*; import java.util.*; import java.lang.Math; public class Main{ public static void main(String args[]){ Scanner sc = new Scanner(System.in); int r = sc.nextInt(); System.out.println(+Math.PI*2*r); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 17, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 32, 5 ], [ 32, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 23, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 6, 29 ], [ 29, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer R = input.nextInt();\n\n System.out.println(2 * Math.PI * R);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer R = input.nextInt();\n\n System.out.println(2 * Math.PI * R);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer R = input.nextInt();\n\n System.out.println(2 * Math.PI * R);\n }", "main", "{\n Scanner input = new Scanner(System.in);\n Integer R = input.nextInt();\n\n System.out.println(2 * Math.PI * R);\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "Integer R = input.nextInt();", "R", "input.nextInt()", "input.nextInt", "input", "System.out.println(2 * Math.PI * R)", "System.out.println", "System.out", "System", "System.out", "2 * Math.PI * R", "2 * Math.PI * R", "2", "Math.PI", "Math", "Math.PI", "R", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer R = input.nextInt();\n\n System.out.println(2 * Math.PI * R);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n Integer R = input.nextInt();\n\n System.out.println(2 * Math.PI * R);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner input = new Scanner(System.in); Integer R = input.nextInt(); System.out.println(2 * Math.PI * R); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 2, 17, 18, 13, 13, 13, 4, 18, 13, 29, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 36, 5 ], [ 36, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 17, 22 ], [ 23, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 25, 27 ], [ 23, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 8, 32 ], [ 6, 33 ], [ 33, 34 ], [ 0, 35 ], [ 35, 36 ], [ 35, 37 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextInt();\n System.out.println(2 * Math.PI * r);\n\n scan.close();\n return;\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\n double r = scan.nextInt();\n System.out.println(2 * Math.PI * r);\n\n scan.close();\n return;\n }\n}", "Main", "public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextInt();\n System.out.println(2 * Math.PI * r);\n\n scan.close();\n return;\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextInt();\n System.out.println(2 * Math.PI * r);\n\n scan.close();\n return;\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "double r = scan.nextInt();", "r", "scan.nextInt()", "scan.nextInt", "scan", "System.out.println(2 * Math.PI * r)", "System.out.println", "System.out", "System", "System.out", "2 * Math.PI * r", "2 * Math.PI * r", "2", "Math.PI", "Math", "Math.PI", "r", "scan.close()", "scan.close", "scan", "return;", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextInt();\n System.out.println(2 * Math.PI * r);\n\n scan.close();\n return;\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner scan = new Scanner(System.in);\n\n double r = scan.nextInt();\n System.out.println(2 * Math.PI * r);\n\n scan.close();\n return;\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); double r = scan.nextInt(); System.out.println(2 * Math.PI * r); scan.close(); return; } }