node_ids
listlengths
4
1.4k
edge_index
listlengths
1
2.22k
text
listlengths
4
1.4k
source
stringlengths
14
427k
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 28, 13, 4, 18, 13, 30, 30, 4, 18, 18, 13, 13, 2, 2, 4, 18, 13, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 188, 17 ], [ 188, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 35, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 20, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 45, 49 ], [ 20, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 20, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 20, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 79, 80 ], [ 76, 81 ], [ 82, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 89, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 89, 93 ], [ 89, 94 ], [ 94, 95 ], [ 95, 96 ], [ 18, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ], [ 101, 102 ], [ 99, 103 ], [ 103, 104 ], [ 99, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 99, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 115, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 114, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 124, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 113, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 99, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 146, 147 ], [ 99, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 152, 155 ], [ 155, 156 ], [ 99, 157 ], [ 157, 158 ], [ 157, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 164, 165 ], [ 99, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 168, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 172, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 168, 185 ], [ 185, 186 ], [ 0, 187 ], [ 187, 188 ], [ 187, 189 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.*;\npublic class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tLinkedHashMap<String, Integer> map = new LinkedHashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\twhile (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}\n\t\tfor (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}\n\t}\n}\n\n\n\n\n\nclass FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\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.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tLinkedHashMap<String, Integer> map = new LinkedHashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\twhile (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}\n\t\tfor (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}\n\t}\n}", "Main", "public static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tLinkedHashMap<String, Integer> map = new LinkedHashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\twhile (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}\n\t\tfor (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}\n\t}", "main", "{\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tLinkedHashMap<String, Integer> map = new LinkedHashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\twhile (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}\n\t\tfor (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}\n\t}", "FastReader sc = new FastReader();", "sc", "new FastReader()", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "LinkedHashMap<String, Integer> map = new LinkedHashMap<>();", "map", "new LinkedHashMap<>()", "map.put(\"AC\", 0)", "map.put", "map", "\"AC\"", "0", "map.put(\"WA\", 0)", "map.put", "map", "\"WA\"", "0", "map.put(\"TLE\", 0)", "map.put", "map", "\"TLE\"", "0", "map.put(\"RE\", 0)", "map.put", "map", "\"RE\"", "0", "while (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}", "n-- > 0", "n--", "n", "0", "{\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "map.put(s, map.get(s) + 1)", "map.put", "map", "s", "map.get(s) + 1", "map.get(s)", "map.get", "map", "s", "1", "for (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}", "Map.Entry<String, Integer> m", "map.entrySet()", "map.entrySet", "map", "{\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}", "{\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}", "System.out.println(m.getKey() + \" x \" + m.getValue())", "System.out.println", "System.out", "System", "System.out", "m.getKey() + \" x \" + m.getValue()", "m.getKey() + \" x \" + m.getValue()", "m.getKey()", "m.getKey", "m", "\" x \"", "m.getValue()", "m.getValue", "m", "String[] args", "args", "class FastReader {\n\tBufferedReader br;\n\tStringTokenizer st;\n\n\tpublic FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}\n\n\tString next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}\n\n\tint nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}\n\n\tlong nextLong() {\n\t\treturn Long.parseLong(next());\n\t}\n\n\tdouble nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}\n\n\tString nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}\n}", "FastReader", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastReader() {\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}", "FastReader", "{\n\t\tbr = new BufferedReader(new\n\t\t InputStreamReader(System.in));\n\t}", "br = new BufferedReader(new\n\t\t InputStreamReader(System.in))", "br", "new BufferedReader(new\n\t\t InputStreamReader(System.in))", "String next() {\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}", "next", "{\n\t\twhile (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}\n\t\treturn st.nextToken();\n\t}", "while (st == null || !st.hasMoreElements()) {\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "st == null || !st.hasMoreElements()", "st == null", "st", "null", "!st.hasMoreElements()", "st.hasMoreElements()", "st.hasMoreElements", "st", "{\n\t\t\ttry {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}\n\t\t}", "try {\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t} catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "catch (IOException e) {\n\t\t\t\te.printStackTrace();\n\t\t\t}", "IOException e", "{\n\t\t\t\te.printStackTrace();\n\t\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\t}", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "int nextInt() {\n\t\treturn Integer.parseInt(next());\n\t}", "nextInt", "{\n\t\treturn Integer.parseInt(next());\n\t}", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "long nextLong() {\n\t\treturn Long.parseLong(next());\n\t}", "nextLong", "{\n\t\treturn Long.parseLong(next());\n\t}", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "double nextDouble() {\n\t\treturn Double.parseDouble(next());\n\t}", "nextDouble", "{\n\t\treturn Double.parseDouble(next());\n\t}", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "String nextLine() {\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}", "nextLine", "{\n\t\tString str = \"\";\n\t\ttry {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}\n\t\treturn str;\n\t}", "String str = \"\";", "str", "\"\"", "try {\n\t\t\tstr = br.readLine();\n\t\t} catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "catch (IOException e) {\n\t\t\te.printStackTrace();\n\t\t}", "IOException e", "{\n\t\t\te.printStackTrace();\n\t\t}", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t\t\tstr = br.readLine();\n\t\t}", "str = br.readLine()", "str", "br.readLine()", "br.readLine", "br", "return str;", "str", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tLinkedHashMap<String, Integer> map = new LinkedHashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\twhile (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}\n\t\tfor (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args)throws IOException {\n\t\tFastReader sc = new FastReader();\n\t\tPrintWriter pw = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tLinkedHashMap<String, Integer> map = new LinkedHashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\twhile (n-- > 0) {\n\t\t\tString s = sc.next();\n\t\t\tmap.put(s, map.get(s) + 1);\n\n\t\t}\n\t\tfor (Map.Entry<String, Integer> m : map.entrySet()) {\n\t\t\tSystem.out.println(m.getKey() + \" x \" + m.getValue());\n\t\t}\n\t}\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.*; public class Main { public static void main(String[] args)throws IOException { FastReader sc = new FastReader(); PrintWriter pw = new PrintWriter(System.out); int n = sc.nextInt(); LinkedHashMap<String, Integer> map = new LinkedHashMap<>(); map.put("AC", 0); map.put("WA", 0); map.put("TLE", 0); map.put("RE", 0); while (n-- > 0) { String s = sc.next(); map.put(s, map.get(s) + 1); } for (Map.Entry<String, Integer> m : map.entrySet()) { System.out.println(m.getKey() + " x " + m.getValue()); } } } 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, 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, 41, 13, 4, 18, 13, 4, 18, 13, 13, 41, 13, 4, 18, 4, 18, 13, 4, 13, 4, 13, 4, 13, 41, 13, 4, 18, 13, 17, 17, 17, 17, 28, 13, 13, 30, 30, 41, 13, 4, 18, 13, 13, 14, 2, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 13, 17, 4, 18, 13, 13, 30, 4, 18, 18, 13, 13, 2, 2, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 122, 17 ], [ 122, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 26, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 20, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 59, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 64, 68 ], [ 68, 69 ], [ 20, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 72, 76 ], [ 72, 77 ], [ 72, 78 ], [ 20, 79 ], [ 79, 80 ], [ 79, 81 ], [ 79, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 83, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 101, 101 ], [ 101, 102 ], [ 101, 103 ], [ 101, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 90, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 115, 115 ], [ 115, 116 ], [ 115, 117 ], [ 115, 118 ], [ 18, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "import java.util.*;\nimport java.util.Map;\nimport java.util.Arrays;\nimport static java.util.stream.Collectors.*;\nimport static java.util.function.Function.*;\n \npublic class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n \n //重複はSetでいい\n List<String> numList = new ArrayList<>();\n for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }\n\n \n Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));\n List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");\n for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }\n }\n}", "import java.util.*;", "util.*", "java", "import java.util.Map;", "Map", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import static java.util.stream.Collectors.*;", "import static java.util.stream.Collectors.*;", "import static java.util.stream.Collectors.*;", "import static java.util.function.Function.*;", "import static java.util.function.Function.*;", "import static java.util.function.Function.*;", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n \n //重複はSetでいい\n List<String> numList = new ArrayList<>();\n for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }\n\n \n Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));\n List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");\n for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }\n }\n}", "Main", "public static void main(String[] args) {\n //整数の入力\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n \n //重複はSetでいい\n List<String> numList = new ArrayList<>();\n for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }\n\n \n Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));\n List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");\n for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }\n }", "main", "{\n //整数の入力\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n \n //重複はSetでいい\n List<String> numList = new ArrayList<>();\n for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }\n\n \n Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));\n List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");\n for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = Integer.parseInt(sc.next());", "n", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "List<String> numList = new ArrayList<>();", "numList", "new ArrayList<>()", "for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String di = sc.next();\n numList.add(di);\n }", "{\n String di = sc.next();\n numList.add(di);\n }", "String di = sc.next();", "di", "sc.next()", "sc.next", "sc", "numList.add(di)", "numList.add", "numList", "di", "Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));", "map", "numList.stream().collect(groupingBy(identity(), counting()))", "numList.stream().collect", "numList.stream()", "numList.stream", "numList", "groupingBy(identity(), counting())", "groupingBy", "identity()", "identity", "counting()", "counting", "List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");", "List", "Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\")", "Arrays.asList", "Arrays", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }", "String num", "List", "{\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }", "{\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }", "Long value = map.get(num);", "value", "map.get(num)", "map.get", "map", "num", "if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }", "value != null", "value", "null", "{\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }", "System.out.println(num + \" x \" + map.get(num))", "System.out.println", "System.out", "System", "System.out", "num + \" x \" + map.get(num)", "num + \" x \" + map.get(num)", "num", "\" x \"", "map.get(num)", "map.get", "map", "num", "{\n \tSystem.out.println(num + \" x \" + 0);\n }", "System.out.println(num + \" x \" + 0)", "System.out.println", "System.out", "System", "System.out", "num + \" x \" + 0", "num + \" x \" + 0", "num", "\" x \"", "0", "String[] args", "args", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n \n //重複はSetでいい\n List<String> numList = new ArrayList<>();\n for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }\n\n \n Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));\n List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");\n for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }\n }\n}", "public class Main { //クラス名はMain\n public static void main(String[] args) {\n //整数の入力\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n \n //重複はSetでいい\n List<String> numList = new ArrayList<>();\n for (int i=0; i<n; i++) {\n String di = sc.next();\n numList.add(di);\n }\n\n \n Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting()));\n List<String> List = Arrays.asList(\"AC\",\"WA\",\"TLE\",\"RE\");\n for(String num : List){\n Long value = map.get(num);\n if(value != null){\n \t\tSystem.out.println(num + \" x \" + map.get(num));\n }else{\n \tSystem.out.println(num + \" x \" + 0);\n }\n }\n }\n}", "Main" ]
import java.util.*; import java.util.Map; import java.util.Arrays; import static java.util.stream.Collectors.*; import static java.util.function.Function.*; public class Main { //クラス名はMain public static void main(String[] args) { //整数の入力 Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.next()); //重複はSetでいい List<String> numList = new ArrayList<>(); for (int i=0; i<n; i++) { String di = sc.next(); numList.add(di); } Map<String, Long> map = numList.stream().collect(groupingBy(identity(), counting())); List<String> List = Arrays.asList("AC","WA","TLE","RE"); for(String num : List){ Long value = map.get(num); if(value != null){ System.out.println(num + " x " + map.get(num)); }else{ System.out.println(num + " x " + 0); } } } }
[ 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, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 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 ], [ 108, 11 ], [ 108, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 35, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 39, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 45, 50 ], [ 50, 51 ], [ 45, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 52, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 59, 66 ], [ 66, 67 ], [ 39, 68 ], [ 68, 69 ], [ 14, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 14, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 14, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 14, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 14, 102 ], [ 102, 103 ], [ 103, 104 ], [ 12, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.*;\nimport java.io.*;\nimport java.math.*;\n \n \npublic class Main\n{\n public static void main(String[] args) \n { \n Scanner input=new Scanner(System.in);\n int i = input.nextInt();\n // String s = input.next();\n // int count =0;\n // int i=1000;\n int c1=0,c2=0,c3=0,c4=0;\n while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }\n \n \n System.out.println(\"AC x \"+ c1);\n System.out.println(\"WA x \"+ c2);\n System.out.println(\"TLE x \"+ c3);\n System.out.println(\"RE x \"+ c4);\n \n \n \n \n input.close(); \n } \n \n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "public class Main\n{\n public static void main(String[] args) \n { \n Scanner input=new Scanner(System.in);\n int i = input.nextInt();\n // String s = input.next();\n // int count =0;\n // int i=1000;\n int c1=0,c2=0,c3=0,c4=0;\n while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }\n \n \n System.out.println(\"AC x \"+ c1);\n System.out.println(\"WA x \"+ c2);\n System.out.println(\"TLE x \"+ c3);\n System.out.println(\"RE x \"+ c4);\n \n \n \n \n input.close(); \n } \n \n}", "Main", "public static void main(String[] args) \n { \n Scanner input=new Scanner(System.in);\n int i = input.nextInt();\n // String s = input.next();\n // int count =0;\n // int i=1000;\n int c1=0,c2=0,c3=0,c4=0;\n while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }\n \n \n System.out.println(\"AC x \"+ c1);\n System.out.println(\"WA x \"+ c2);\n System.out.println(\"TLE x \"+ c3);\n System.out.println(\"RE x \"+ c4);\n \n \n \n \n input.close(); \n }", "main", "{ \n Scanner input=new Scanner(System.in);\n int i = input.nextInt();\n // String s = input.next();\n // int count =0;\n // int i=1000;\n int c1=0,c2=0,c3=0,c4=0;\n while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }\n \n \n System.out.println(\"AC x \"+ c1);\n System.out.println(\"WA x \"+ c2);\n System.out.println(\"TLE x \"+ c3);\n System.out.println(\"RE x \"+ c4);\n \n \n \n \n input.close(); \n }", "Scanner input=new Scanner(System.in);", "input", "new Scanner(System.in)", "int i = input.nextInt();", "i", "input.nextInt()", "input.nextInt", "input", "int c1=0", "c1", "0", "c2=0", "c2", "0", "c3=0", "c3", "0", "c4=0;", "c4", "0", "while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }", "i>0", "i", "0", "{\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }", "String s = input.next();", "s", "input.next()", "input.next", "input", "if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "c1++", "c1", "if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "c2++", "c2", "if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "c3++", "c3", "c4++", "c4", "i--", "i", "System.out.println(\"AC x \"+ c1)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ c1", "\"AC x \"", "c1", "System.out.println(\"WA x \"+ c2)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+ c2", "\"WA x \"", "c2", "System.out.println(\"TLE x \"+ c3)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+ c3", "\"TLE x \"", "c3", "System.out.println(\"RE x \"+ c4)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+ c4", "\"RE x \"", "c4", "input.close()", "input.close", "input", "String[] args", "args", "public class Main\n{\n public static void main(String[] args) \n { \n Scanner input=new Scanner(System.in);\n int i = input.nextInt();\n // String s = input.next();\n // int count =0;\n // int i=1000;\n int c1=0,c2=0,c3=0,c4=0;\n while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }\n \n \n System.out.println(\"AC x \"+ c1);\n System.out.println(\"WA x \"+ c2);\n System.out.println(\"TLE x \"+ c3);\n System.out.println(\"RE x \"+ c4);\n \n \n \n \n input.close(); \n } \n \n}", "public class Main\n{\n public static void main(String[] args) \n { \n Scanner input=new Scanner(System.in);\n int i = input.nextInt();\n // String s = input.next();\n // int count =0;\n // int i=1000;\n int c1=0,c2=0,c3=0,c4=0;\n while(i>0){\n String s = input.next();\n \n if(s.equals(\"AC\"))\n c1++;\n else if(s.equals(\"WA\"))\n c2++;\n else if(s.equals(\"TLE\"))\n c3++;\n else\n c4++;\n i--;\n }\n \n \n System.out.println(\"AC x \"+ c1);\n System.out.println(\"WA x \"+ c2);\n System.out.println(\"TLE x \"+ c3);\n System.out.println(\"RE x \"+ c4);\n \n \n \n \n input.close(); \n } \n \n}", "Main" ]
import java.util.*; import java.io.*; import java.math.*; public class Main { public static void main(String[] args) { Scanner input=new Scanner(System.in); int i = input.nextInt(); // String s = input.next(); // int count =0; // int i=1000; int c1=0,c2=0,c3=0,c4=0; while(i>0){ String s = input.next(); if(s.equals("AC")) c1++; else if(s.equals("WA")) c2++; else if(s.equals("TLE")) c3++; else c4++; i--; } System.out.println("AC x "+ c1); System.out.println("WA x "+ c2); System.out.println("TLE x "+ c3); System.out.println("RE x "+ c4); input.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 41, 13, 41, 13, 2, 2, 2, 17, 17, 17, 17, 41, 13, 39, 17, 40, 17, 17, 17, 41, 13, 39, 17, 17, 40, 17, 17, 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, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 17, 41, 13, 17, 4, 13, 2, 2, 17, 13, 4, 18, 13, 17, 17, 4, 13, 2, 2, 17, 13, 4, 18, 13, 17, 17, 4, 13, 2, 2, 17, 13, 4, 18, 13, 17, 17, 4, 13, 2, 2, 17, 13, 4, 18, 13, 17, 17, 12, 13, 30, 41, 13, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 2, 13, 2, 4, 18, 13, 2, 13, 13, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 13, 0, 18, 13, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 4, 18, 13, 13, 23, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 4, 13, 4, 18, 13, 12, 13, 30, 20, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 0, 13, 17, 29, 17, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 38, 5, 13, 30, 0, 13, 17, 29, 17, 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, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 349, 8 ], [ 349, 9 ], [ 9, 10 ], [ 349, 11 ], [ 11, 12 ], [ 349, 13 ], [ 13, 14 ], [ 349, 15 ], [ 15, 16 ], [ 349, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 21, 21 ], [ 21, 22 ], [ 21, 23 ], [ 21, 24 ], [ 19, 25 ], [ 349, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 28, 32 ], [ 28, 33 ], [ 349, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 36, 39 ], [ 39, 40 ], [ 36, 41 ], [ 349, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 73, 79 ], [ 44, 80 ], [ 80, 81 ], [ 80, 82 ], [ 44, 83 ], [ 83, 84 ], [ 83, 85 ], [ 86, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 89, 93 ], [ 44, 94 ], [ 94, 95 ], [ 94, 96 ], [ 97, 97 ], [ 97, 98 ], [ 97, 99 ], [ 97, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 100, 104 ], [ 44, 105 ], [ 105, 106 ], [ 105, 107 ], [ 108, 108 ], [ 108, 109 ], [ 108, 110 ], [ 108, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 111, 115 ], [ 44, 116 ], [ 116, 117 ], [ 116, 118 ], [ 119, 119 ], [ 119, 120 ], [ 119, 121 ], [ 119, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 122, 126 ], [ 349, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 132, 134 ], [ 129, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 140, 141 ], [ 140, 142 ], [ 135, 143 ], [ 143, 144 ], [ 144, 145 ], [ 135, 146 ], [ 147, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 152, 156 ], [ 156, 157 ], [ 156, 158 ], [ 147, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 161, 163 ], [ 147, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 168, 170 ], [ 147, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 127, 176 ], [ 176, 177 ], [ 349, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 181, 184 ], [ 178, 185 ], [ 185, 186 ], [ 349, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 190, 193 ], [ 187, 194 ], [ 194, 195 ], [ 349, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 202, 204 ], [ 198, 205 ], [ 205, 206 ], [ 198, 207 ], [ 207, 208 ], [ 208, 209 ], [ 349, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 210, 214 ], [ 214, 215 ], [ 349, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 218, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 225, 227 ], [ 223, 228 ], [ 228, 229 ], [ 228, 230 ], [ 223, 231 ], [ 231, 232 ], [ 232, 233 ], [ 223, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 239, 240 ], [ 218, 241 ], [ 241, 242 ], [ 216, 243 ], [ 243, 244 ], [ 349, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 252 ], [ 252, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 252, 257 ], [ 257, 258 ], [ 257, 259 ], [ 252, 260 ], [ 260, 261 ], [ 261, 262 ], [ 252, 263 ], [ 263, 264 ], [ 264, 265 ], [ 265, 266 ], [ 265, 267 ], [ 264, 268 ], [ 268, 269 ], [ 247, 270 ], [ 270, 271 ], [ 245, 272 ], [ 272, 273 ], [ 349, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 278, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 277, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 290, 294 ], [ 294, 295 ], [ 287, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 276, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 349, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 314 ], [ 314, 315 ], [ 307, 316 ], [ 316, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 349, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 328, 329 ], [ 349, 330 ], [ 330, 331 ], [ 330, 332 ], [ 332, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 334, 337 ], [ 337, 338 ], [ 349, 339 ], [ 339, 340 ], [ 339, 341 ], [ 341, 342 ], [ 342, 343 ], [ 343, 344 ], [ 344, 345 ], [ 343, 346 ], [ 346, 347 ], [ 0, 348 ], [ 348, 349 ], [ 348, 350 ] ]
[ "import java.util.*;\nimport java.io.*;\n\n// Template for atcoder\npublic class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int n = nextInt();\n Map<String, Integer> hm = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }\n String mid = \" x \";\n outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0));\n outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0));\n outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0));\n outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0));\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int n = nextInt();\n Map<String, Integer> hm = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }\n String mid = \" x \";\n outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0));\n outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0));\n outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0));\n outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0));\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}", "Main", "BufferedReader br;", "br", "PrintWriter out;", "out", "StringTokenizer st;", "st", "boolean eof;", "eof", "final long MOD = 1000L * 1000L * 1000L + 7;", "MOD", "1000L * 1000L * 1000L + 7", "1000L * 1000L * 1000L", "1000L * 1000L * 1000L", "1000L", "1000L", "1000L", "7", "private static final int[] dx = {0, -1, 0, 1};", "dx", "{0, -1, 0, 1}", "0", "-1", "1", "0", "1", "private static final int[] dy = {1, 0, -1, 0};", "dy", "{1, 0, -1, 0}", "1", "0", "-1", "1", "0", "void solve() throws IOException {\n int n = nextInt();\n Map<String, Integer> hm = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }\n String mid = \" x \";\n outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0));\n outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0));\n outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0));\n outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0));\n }", "solve", "{\n int n = nextInt();\n Map<String, Integer> hm = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }\n String mid = \" x \";\n outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0));\n outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0));\n outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0));\n outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0));\n }", "int n = nextInt();", "n", "nextInt()", "nextInt", "Map<String, Integer> hm = new HashMap<>();", "hm", "new HashMap<>()", "for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }", "{\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }", "String str = nextString();", "str", "nextString()", "nextString", "hm.put(str, hm.getOrDefault(str, 0) + 1)", "hm.put", "hm", "str", "hm.getOrDefault(str, 0) + 1", "hm.getOrDefault(str, 0)", "hm.getOrDefault", "hm", "str", "0", "1", "String mid = \" x \";", "mid", "\" x \"", "outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0))", "outln", "\"AC\" + mid + hm.getOrDefault(\"AC\", 0)", "\"AC\" + mid + hm.getOrDefault(\"AC\", 0)", "\"AC\"", "mid", "hm.getOrDefault(\"AC\", 0)", "hm.getOrDefault", "hm", "\"AC\"", "0", "outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0))", "outln", "\"WA\" + mid + hm.getOrDefault(\"WA\", 0)", "\"WA\" + mid + hm.getOrDefault(\"WA\", 0)", "\"WA\"", "mid", "hm.getOrDefault(\"WA\", 0)", "hm.getOrDefault", "hm", "\"WA\"", "0", "outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0))", "outln", "\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0)", "\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0)", "\"TLE\"", "mid", "hm.getOrDefault(\"TLE\", 0)", "hm.getOrDefault", "hm", "\"TLE\"", "0", "outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0))", "outln", "\"RE\" + mid + hm.getOrDefault(\"RE\", 0)", "\"RE\" + mid + hm.getOrDefault(\"RE\", 0)", "\"RE\"", "mid", "hm.getOrDefault(\"RE\", 0)", "hm.getOrDefault", "hm", "\"RE\"", "0", "void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }", "shuffle", "{\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }", "int n = a.length;", "n", "a.length", "a", "a.length", "for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }", "{\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }", "int r = i + (int) (Math.random() * (n - i));", "r", "i + (int) (Math.random() * (n - i))", "i", "(int) (Math.random() * (n - i))", "Math.random()", "Math.random", "Math", "(n - i)", "n", "i", "int tmp = a[i];", "tmp", "a[i]", "a", "i", "a[i] = a[r]", "a[i]", "a", "i", "a[r]", "a", "r", "a[r] = tmp", "a[r]", "a", "r", "tmp", "int[] a", "a", "private void outln(Object o) {\n out.println(o);\n }", "outln", "{\n out.println(o);\n }", "out.println(o)", "out.println", "out", "o", "Object o", "o", "private void out(Object o) {\n out.print(o);\n }", "out", "{\n out.print(o);\n }", "out.print(o)", "out.print", "out", "o", "Object o", "o", "public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }", "Main", "{\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }", "br = new BufferedReader(new InputStreamReader(System.in))", "br", "new BufferedReader(new InputStreamReader(System.in))", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "solve()", "solve", "out.close()", "out.close", "out", "public static void main(String[] args) throws IOException {\n new Main();\n }", "main", "{\n new Main();\n }", "new Main()", "String[] args", "args", "public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }", "nextLongArr", "{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }", "long[] res = new long[n];", "res", "new long[n]", "n", "for(int i = 0; i < n; i++)\n res[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "res[i] = nextLong();", "res[i] = nextLong()", "res[i]", "res", "i", "nextLong()", "nextLong", "return res;", "res", "int n", "n", "public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }", "nextIntArr", "{\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }", "int[] res = new int[n];", "res", "new int[n]", "n", "for(int i = 0; i < n; i++)\n res[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "res[i] = nextInt();", "res[i] = nextInt()", "res[i]", "res", "i", "nextInt()", "nextInt", "return res;", "res", "int n", "n", "public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }", "nextToken", "{\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }", "while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\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 (Exception e) {\n eof = true;\n return null;\n }\n }", "try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }", "catch (Exception e) {\n eof = true;\n return null;\n }", "Exception e", "{\n eof = true;\n return null;\n }", "eof = true", "eof", "true", "return null;", "null", "{\n st = new StringTokenizer(br.readLine());\n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }", "nextString", "{\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }", "try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }", "catch (IOException e) {\n eof = true;\n return null;\n }", "IOException e", "{\n eof = true;\n return null;\n }", "eof = true", "eof", "true", "return null;", "null", "{\n return br.readLine();\n }", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }", "nextInt", "{\n return Integer.parseInt(nextToken());\n }", "return Integer.parseInt(nextToken());", "Integer.parseInt(nextToken())", "Integer.parseInt", "Integer", "nextToken()", "nextToken", "public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }", "nextLong", "{\n return Long.parseLong(nextToken());\n }", "return Long.parseLong(nextToken());", "Long.parseLong(nextToken())", "Long.parseLong", "Long", "nextToken()", "nextToken", "public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }", "nextDouble", "{\n return Double.parseDouble(nextToken());\n }", "return Double.parseDouble(nextToken());", "Double.parseDouble(nextToken())", "Double.parseDouble", "Double", "nextToken()", "nextToken", "public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int n = nextInt();\n Map<String, Integer> hm = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }\n String mid = \" x \";\n outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0));\n outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0));\n outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0));\n outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0));\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}", "public class Main {\n\n BufferedReader br;\n PrintWriter out;\n StringTokenizer st;\n boolean eof;\n final long MOD = 1000L * 1000L * 1000L + 7;\n private static final int[] dx = {0, -1, 0, 1};\n private static final int[] dy = {1, 0, -1, 0};\n\n void solve() throws IOException {\n int n = nextInt();\n Map<String, Integer> hm = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String str = nextString();\n hm.put(str, hm.getOrDefault(str, 0) + 1);\n }\n String mid = \" x \";\n outln(\"AC\" + mid + hm.getOrDefault(\"AC\", 0));\n outln(\"WA\" + mid + hm.getOrDefault(\"WA\", 0));\n outln(\"TLE\" + mid + hm.getOrDefault(\"TLE\", 0));\n outln(\"RE\" + mid + hm.getOrDefault(\"RE\", 0));\n }\n\n void shuffle(int[] a) {\n int n = a.length;\n for(int i = 0; i < n; i++) {\n int r = i + (int) (Math.random() * (n - i));\n int tmp = a[i];\n a[i] = a[r];\n a[r] = tmp;\n }\n }\n private void outln(Object o) {\n out.println(o);\n }\n private void out(Object o) {\n out.print(o);\n }\n public Main() throws IOException {\n br = new BufferedReader(new InputStreamReader(System.in));\n out = new PrintWriter(System.out);\n solve();\n out.close();\n }\n public static void main(String[] args) throws IOException {\n new Main();\n }\n\n public long[] nextLongArr(int n) throws IOException{\n long[] res = new long[n];\n for(int i = 0; i < n; i++)\n res[i] = nextLong();\n return res;\n }\n public int[] nextIntArr(int n) throws IOException {\n int[] res = new int[n];\n for(int i = 0; i < n; i++)\n res[i] = nextInt();\n return res;\n }\n public String nextToken() {\n while (st == null || !st.hasMoreTokens()) {\n try {\n st = new StringTokenizer(br.readLine());\n } catch (Exception e) {\n eof = true;\n return null;\n }\n }\n return st.nextToken();\n }\n public String nextString() {\n try {\n return br.readLine();\n } catch (IOException e) {\n eof = true;\n return null;\n }\n }\n public int nextInt() throws IOException {\n return Integer.parseInt(nextToken());\n }\n public long nextLong() throws IOException {\n return Long.parseLong(nextToken());\n }\n public double nextDouble() throws IOException {\n return Double.parseDouble(nextToken());\n }\n}", "Main" ]
import java.util.*; import java.io.*; // Template for atcoder public class Main { BufferedReader br; PrintWriter out; StringTokenizer st; boolean eof; final long MOD = 1000L * 1000L * 1000L + 7; private static final int[] dx = {0, -1, 0, 1}; private static final int[] dy = {1, 0, -1, 0}; void solve() throws IOException { int n = nextInt(); Map<String, Integer> hm = new HashMap<>(); for (int i = 0; i < n; i++) { String str = nextString(); hm.put(str, hm.getOrDefault(str, 0) + 1); } String mid = " x "; outln("AC" + mid + hm.getOrDefault("AC", 0)); outln("WA" + mid + hm.getOrDefault("WA", 0)); outln("TLE" + mid + hm.getOrDefault("TLE", 0)); outln("RE" + mid + hm.getOrDefault("RE", 0)); } void shuffle(int[] a) { int n = a.length; for(int i = 0; i < n; i++) { int r = i + (int) (Math.random() * (n - i)); int tmp = a[i]; a[i] = a[r]; a[r] = tmp; } } private void outln(Object o) { out.println(o); } private void out(Object o) { out.print(o); } public Main() throws IOException { br = new BufferedReader(new InputStreamReader(System.in)); out = new PrintWriter(System.out); solve(); out.close(); } public static void main(String[] args) throws IOException { new Main(); } public long[] nextLongArr(int n) throws IOException{ long[] res = new long[n]; for(int i = 0; i < n; i++) res[i] = nextLong(); return res; } public int[] nextIntArr(int n) throws IOException { int[] res = new int[n]; for(int i = 0; i < n; i++) res[i] = nextInt(); return res; } public String nextToken() { while (st == null || !st.hasMoreTokens()) { try { st = new StringTokenizer(br.readLine()); } catch (Exception e) { eof = true; return null; } } return st.nextToken(); } public String nextString() { try { return br.readLine(); } catch (IOException e) { eof = true; return null; } } public int nextInt() throws IOException { return Integer.parseInt(nextToken()); } public long nextLong() throws IOException { return Long.parseLong(nextToken()); } public double nextDouble() throws IOException { return Double.parseDouble(nextToken()); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 4, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 40, 18, 13, 17, 14, 4, 18, 17, 13, 30, 40, 18, 13, 17, 14, 4, 18, 17, 13, 30, 40, 18, 13, 17, 30, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 128, 8 ], [ 128, 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 ], [ 24, 27 ], [ 24, 28 ], [ 11, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 57, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 67, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 11, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 89, 90 ], [ 89, 91 ], [ 11, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 99, 100 ], [ 99, 101 ], [ 11, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 109, 111 ], [ 11, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 119, 120 ], [ 119, 121 ], [ 11, 122 ], [ 122, 123 ], [ 123, 124 ], [ 9, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "import java.util.Arrays;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint c[] = new int[4];\n\t\tArrays.fill(c, 0);\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \" + c[0]);\n\t\tSystem.out.println(\"WA x \" + c[1]);\n\t\tSystem.out.println(\"TLE x \" + c[2]);\n\t\tSystem.out.println(\"RE x \" + c[3]);\n\n\t\tsc.close();\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 sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint c[] = new int[4];\n\t\tArrays.fill(c, 0);\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \" + c[0]);\n\t\tSystem.out.println(\"WA x \" + c[1]);\n\t\tSystem.out.println(\"TLE x \" + c[2]);\n\t\tSystem.out.println(\"RE x \" + c[3]);\n\n\t\tsc.close();\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\n\t\tint c[] = new int[4];\n\t\tArrays.fill(c, 0);\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \" + c[0]);\n\t\tSystem.out.println(\"WA x \" + c[1]);\n\t\tSystem.out.println(\"TLE x \" + c[2]);\n\t\tSystem.out.println(\"RE x \" + c[3]);\n\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint c[] = new int[4];\n\t\tArrays.fill(c, 0);\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \" + c[0]);\n\t\tSystem.out.println(\"WA x \" + c[1]);\n\t\tSystem.out.println(\"TLE x \" + c[2]);\n\t\tSystem.out.println(\"RE x \" + c[3]);\n\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int c[] = new int[4];", "c", "new int[4]", "4", "Arrays.fill(c, 0)", "Arrays.fill", "Arrays", "c", "0", "for (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\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\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}", "{\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "if (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}", "\"AC\".equals(s)", "\"AC\".equals", "\"AC\"", "s", "{\n\t\t\t\tc[0]++;\n\t\t\t}", "c[0]++", "c[0]", "c", "0", "if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}", "\"WA\".equals(s)", "\"WA\".equals", "\"WA\"", "s", "{\n\t\t\t\tc[1]++;\n\t\t\t}", "c[1]++", "c[1]", "c", "1", "if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}", "\"TLE\".equals(s)", "\"TLE\".equals", "\"TLE\"", "s", "{\n\t\t\t\tc[2]++;\n\t\t\t}", "c[2]++", "c[2]", "c", "2", "{\n\t\t\t\tc[3]++;\n\t\t\t}", "c[3]++", "c[3]", "c", "3", "System.out.println(\"AC x \" + c[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + c[0]", "\"AC x \"", "c[0]", "c", "0", "System.out.println(\"WA x \" + c[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + c[1]", "\"WA x \"", "c[1]", "c", "1", "System.out.println(\"TLE x \" + c[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + c[2]", "\"TLE x \"", "c[2]", "c", "2", "System.out.println(\"RE x \" + c[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + c[3]", "\"RE x \"", "c[3]", "c", "3", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint c[] = new int[4];\n\t\tArrays.fill(c, 0);\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \" + c[0]);\n\t\tSystem.out.println(\"WA x \" + c[1]);\n\t\tSystem.out.println(\"TLE x \" + c[2]);\n\t\tSystem.out.println(\"RE x \" + c[3]);\n\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\n\t\tint c[] = new int[4];\n\t\tArrays.fill(c, 0);\n\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = sc.next();\n\n\t\t\tif (\"AC\".equals(s)) {\n\t\t\t\tc[0]++;\n\t\t\t} else if (\"WA\".equals(s)) {\n\t\t\t\tc[1]++;\n\t\t\t} else if (\"TLE\".equals(s)) {\n\t\t\t\tc[2]++;\n\t\t\t} else {\n\t\t\t\tc[3]++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \" + c[0]);\n\t\tSystem.out.println(\"WA x \" + c[1]);\n\t\tSystem.out.println(\"TLE x \" + c[2]);\n\t\tSystem.out.println(\"RE x \" + c[3]);\n\n\t\tsc.close();\n\t}\n\n}", "Main" ]
import java.util.Arrays; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int c[] = new int[4]; Arrays.fill(c, 0); for (int i = 0; i < n; i++) { String s = sc.next(); if ("AC".equals(s)) { c[0]++; } else if ("WA".equals(s)) { c[1]++; } else if ("TLE".equals(s)) { c[2]++; } else { c[3]++; } } System.out.println("AC x " + c[0]); System.out.println("WA x " + c[1]); System.out.println("TLE x " + c[2]); System.out.println("RE x " + c[3]); 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, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 12, 13, 30, 4, 18, 20, 23, 13, 12, 13, 30, 4, 13, 4, 18, 13, 0, 13, 17, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 6, 13, 12, 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, 41, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 17, 4, 18, 13, 17, 4, 18, 13, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 12, 13, 30, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ], [ 0, 46 ], [ 527, 47 ], [ 527, 48 ], [ 48, 49 ], [ 48, 50 ], [ 527, 51 ], [ 51, 52 ], [ 51, 53 ], [ 527, 54 ], [ 54, 55 ], [ 527, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 527, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 69, 70 ], [ 70, 71 ], [ 66, 72 ], [ 72, 73 ], [ 72, 74 ], [ 527, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 77, 83 ], [ 83, 84 ], [ 83, 85 ], [ 77, 86 ], [ 86, 87 ], [ 86, 88 ], [ 77, 89 ], [ 89, 90 ], [ 89, 91 ], [ 77, 92 ], [ 92, 93 ], [ 92, 94 ], [ 77, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 95, 103 ], [ 103, 104 ], [ 104, 105 ], [ 95, 106 ], [ 107, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 110, 111 ], [ 111, 112 ], [ 107, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 114, 117 ], [ 113, 118 ], [ 118, 119 ], [ 107, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 125, 126 ], [ 107, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 127, 132 ], [ 132, 133 ], [ 107, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 134, 139 ], [ 139, 140 ], [ 77, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 144, 145 ], [ 144, 146 ], [ 77, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 150, 151 ], [ 150, 152 ], [ 77, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 156, 157 ], [ 156, 158 ], [ 77, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 162, 163 ], [ 162, 164 ], [ 527, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 527, 171 ], [ 171, 172 ], [ 171, 173 ], [ 173, 174 ], [ 171, 175 ], [ 175, 176 ], [ 175, 177 ], [ 171, 179 ], [ 179, 180 ], [ 171, 181 ], [ 181, 182 ], [ 171, 183 ], [ 183, 184 ], [ 171, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 185, 193 ], [ 193, 194 ], [ 171, 195 ], [ 195, 196 ], [ 195, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 198, 203 ], [ 203, 204 ], [ 197, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 213, 214 ], [ 214, 215 ], [ 214, 216 ], [ 216, 217 ], [ 217, 218 ], [ 213, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 209, 226 ], [ 226, 227 ], [ 227, 228 ], [ 227, 229 ], [ 226, 230 ], [ 230, 231 ], [ 231, 232 ], [ 197, 233 ], [ 233, 234 ], [ 234, 235 ], [ 234, 236 ], [ 236, 237 ], [ 171, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 240, 245 ], [ 245, 246 ], [ 246, 247 ], [ 246, 248 ], [ 245, 249 ], [ 249, 250 ], [ 249, 251 ], [ 251, 252 ], [ 240, 253 ], [ 253, 254 ], [ 253, 255 ], [ 240, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 256, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 260, 265 ], [ 265, 266 ], [ 265, 267 ], [ 267, 268 ], [ 240, 269 ], [ 269, 270 ], [ 269, 271 ], [ 240, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 274, 276 ], [ 272, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 280, 281 ], [ 280, 282 ], [ 279, 283 ], [ 283, 284 ], [ 283, 285 ], [ 278, 286 ], [ 286, 287 ], [ 277, 288 ], [ 288, 289 ], [ 288, 290 ], [ 277, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 293, 295 ], [ 277, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 240, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 171, 304 ], [ 304, 305 ], [ 304, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 309, 310 ], [ 306, 311 ], [ 311, 312 ], [ 312, 313 ], [ 312, 314 ], [ 311, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 306, 319 ], [ 319, 320 ], [ 319, 321 ], [ 306, 322 ], [ 322, 323 ], [ 323, 324 ], [ 323, 325 ], [ 322, 326 ], [ 326, 327 ], [ 327, 328 ], [ 327, 329 ], [ 329, 330 ], [ 326, 331 ], [ 331, 332 ], [ 331, 333 ], [ 333, 334 ], [ 306, 335 ], [ 335, 336 ], [ 335, 337 ], [ 306, 338 ], [ 338, 339 ], [ 339, 340 ], [ 340, 341 ], [ 340, 342 ], [ 338, 343 ], [ 343, 344 ], [ 344, 345 ], [ 345, 346 ], [ 346, 347 ], [ 346, 348 ], [ 345, 349 ], [ 349, 350 ], [ 349, 351 ], [ 344, 352 ], [ 352, 353 ], [ 343, 354 ], [ 354, 355 ], [ 354, 356 ], [ 343, 357 ], [ 357, 358 ], [ 357, 359 ], [ 359, 360 ], [ 359, 361 ], [ 343, 362 ], [ 362, 363 ], [ 362, 364 ], [ 364, 365 ], [ 306, 366 ], [ 366, 367 ], [ 367, 368 ], [ 367, 369 ], [ 171, 370 ], [ 370, 371 ], [ 370, 372 ], [ 372, 373 ], [ 373, 374 ], [ 373, 375 ], [ 375, 376 ], [ 372, 377 ], [ 377, 378 ], [ 378, 379 ], [ 378, 380 ], [ 377, 381 ], [ 381, 382 ], [ 381, 383 ], [ 383, 384 ], [ 372, 385 ], [ 385, 386 ], [ 385, 387 ], [ 372, 388 ], [ 388, 389 ], [ 389, 390 ], [ 390, 391 ], [ 390, 392 ], [ 388, 393 ], [ 393, 394 ], [ 394, 395 ], [ 395, 396 ], [ 394, 397 ], [ 393, 398 ], [ 398, 399 ], [ 398, 400 ], [ 400, 401 ], [ 372, 402 ], [ 402, 403 ], [ 403, 404 ], [ 404, 405 ], [ 171, 406 ], [ 406, 407 ], [ 406, 408 ], [ 408, 409 ], [ 409, 410 ], [ 410, 411 ], [ 410, 412 ], [ 409, 413 ], [ 413, 414 ], [ 414, 415 ], [ 415, 416 ], [ 414, 417 ], [ 408, 418 ], [ 418, 419 ], [ 422, 420 ], [ 432, 421 ], [ 429, 422 ], [ 422, 423 ], [ 423, 424 ], [ 423, 425 ], [ 422, 426 ], [ 426, 427 ], [ 426, 428 ], [ 429, 429 ], [ 429, 430 ], [ 429, 431 ], [ 432, 432 ], [ 432, 433 ], [ 432, 434 ], [ 422, 435 ], [ 435, 436 ], [ 435, 437 ], [ 437, 438 ], [ 406, 439 ], [ 439, 440 ], [ 171, 441 ], [ 441, 442 ], [ 441, 443 ], [ 443, 444 ], [ 444, 445 ], [ 445, 446 ], [ 527, 447 ], [ 447, 448 ], [ 447, 449 ], [ 449, 450 ], [ 447, 451 ], [ 451, 452 ], [ 451, 453 ], [ 453, 454 ], [ 454, 455 ], [ 454, 456 ], [ 451, 457 ], [ 457, 458 ], [ 447, 459 ], [ 459, 460 ], [ 459, 461 ], [ 461, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 462, 466 ], [ 459, 467 ], [ 467, 468 ], [ 447, 469 ], [ 469, 470 ], [ 469, 471 ], [ 471, 472 ], [ 472, 473 ], [ 473, 474 ], [ 474, 475 ], [ 474, 476 ], [ 472, 477 ], [ 477, 478 ], [ 477, 479 ], [ 479, 480 ], [ 479, 481 ], [ 472, 482 ], [ 482, 483 ], [ 483, 484 ], [ 472, 485 ], [ 486, 486 ], [ 486, 487 ], [ 487, 488 ], [ 488, 489 ], [ 488, 490 ], [ 487, 491 ], [ 491, 492 ], [ 492, 493 ], [ 491, 494 ], [ 486, 495 ], [ 495, 496 ], [ 496, 497 ], [ 495, 498 ], [ 498, 499 ], [ 498, 500 ], [ 469, 501 ], [ 501, 502 ], [ 447, 503 ], [ 503, 504 ], [ 503, 505 ], [ 505, 506 ], [ 506, 507 ], [ 506, 508 ], [ 505, 509 ], [ 509, 510 ], [ 510, 511 ], [ 503, 512 ], [ 512, 513 ], [ 447, 514 ], [ 514, 515 ], [ 514, 516 ], [ 516, 517 ], [ 517, 518 ], [ 518, 519 ], [ 447, 520 ], [ 520, 521 ], [ 520, 522 ], [ 522, 523 ], [ 523, 524 ], [ 524, 525 ], [ 0, 526 ], [ 526, 527 ], [ 526, 528 ] ]
[ "import java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.io.Writer;\nimport java.util.ArrayList;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.InputMismatchException;\nimport java.util.PriorityQueue;\nimport java.util.Stack;\nimport java.util.StringTokenizer;\nimport java.util.TreeSet;\npublic class Main {\npublic interface SpaceCharFilter {\npublic boolean isSpaceChar(int ch);\n}\n\nclass InputReader {\nprivate InputStream stream;\nprivate byte[] buf = new byte[1024];\nprivate int curChar;\nprivate int numChars;\nprivate SpaceCharFilter filter;\npublic InputReader(InputStream stream) {\nthis.stream = stream;\n}\npublic int read() {\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}\npublic int readInt() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\n\n\npublic long readLong() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\npublic String readString() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}\npublic boolean isSpaceChar(int c) {\n\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}\npublic String next() {\nreturn readString();\n}\n}\nclass OutputWriter {\nprivate final PrintWriter writer;\npublic OutputWriter(OutputStream outputStream) {\nwriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n}\npublic OutputWriter(Writer writer) {\nthis.writer = new PrintWriter(writer);\n}\npublic void print(Object...objects) {\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}\npublic void printLine(Object...objects) {\nprint(objects);\nwriter.println();\n}\npublic void close() {\nwriter.close();\n}\npublic void flush() {\nwriter.flush();\n}}\nInputReader in= new InputReader(System.in);\nOutputWriter out = new OutputWriter(System.out);\nStringTokenizer tok;\npublic static void main(String[] args) throws IOException\n{\n new Main().run();\n}\n\nvoid run() throws IOException\n{ \n solve();\n out.flush();\n tok=null;\n}\n\n\nvoid solve() throws IOException{\n\tint n=in.readInt();\n\tint ac=0;\n\tint wa=0;\n\tint tle=0;\n\tint re=0;\n\tfor (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}\n\tout.printLine(\"AC x \"+ac);\n\tout.printLine(\"WA x \"+wa);\n\tout.printLine(\"TLE x \"+tle);\n\tout.printLine(\"RE x \"+re);\n\n\t\n}\n\n}", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.OutputStream;", "OutputStream", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.io.Writer;", "Writer", "java.io", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.util.PriorityQueue;", "PriorityQueue", "java.util", "import java.util.Stack;", "Stack", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.util.TreeSet;", "TreeSet", "java.util", "public class Main {\npublic interface SpaceCharFilter {\npublic boolean isSpaceChar(int ch);\n}\n\nclass InputReader {\nprivate InputStream stream;\nprivate byte[] buf = new byte[1024];\nprivate int curChar;\nprivate int numChars;\nprivate SpaceCharFilter filter;\npublic InputReader(InputStream stream) {\nthis.stream = stream;\n}\npublic int read() {\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}\npublic int readInt() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\n\n\npublic long readLong() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\npublic String readString() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}\npublic boolean isSpaceChar(int c) {\n\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}\npublic String next() {\nreturn readString();\n}\n}\nclass OutputWriter {\nprivate final PrintWriter writer;\npublic OutputWriter(OutputStream outputStream) {\nwriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n}\npublic OutputWriter(Writer writer) {\nthis.writer = new PrintWriter(writer);\n}\npublic void print(Object...objects) {\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}\npublic void printLine(Object...objects) {\nprint(objects);\nwriter.println();\n}\npublic void close() {\nwriter.close();\n}\npublic void flush() {\nwriter.flush();\n}}\nInputReader in= new InputReader(System.in);\nOutputWriter out = new OutputWriter(System.out);\nStringTokenizer tok;\npublic static void main(String[] args) throws IOException\n{\n new Main().run();\n}\n\nvoid run() throws IOException\n{ \n solve();\n out.flush();\n tok=null;\n}\n\n\nvoid solve() throws IOException{\n\tint n=in.readInt();\n\tint ac=0;\n\tint wa=0;\n\tint tle=0;\n\tint re=0;\n\tfor (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}\n\tout.printLine(\"AC x \"+ac);\n\tout.printLine(\"WA x \"+wa);\n\tout.printLine(\"TLE x \"+tle);\n\tout.printLine(\"RE x \"+re);\n\n\t\n}\n\n}", "Main", "InputReader in= new InputReader(System.in);", "in", "new InputReader(System.in)", "OutputWriter out = new OutputWriter(System.out);", "out", "new OutputWriter(System.out)", "StringTokenizer tok;", "tok", "public static void main(String[] args) throws IOException\n{\n new Main().run();\n}", "main", "{\n new Main().run();\n}", "new Main().run()", "new Main().run", "new Main()", "String[] args", "args", "void run() throws IOException\n{ \n solve();\n out.flush();\n tok=null;\n}", "run", "{ \n solve();\n out.flush();\n tok=null;\n}", "solve()", "solve", "out.flush()", "out.flush", "out", "tok=null", "tok", "null", "void solve() throws IOException{\n\tint n=in.readInt();\n\tint ac=0;\n\tint wa=0;\n\tint tle=0;\n\tint re=0;\n\tfor (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}\n\tout.printLine(\"AC x \"+ac);\n\tout.printLine(\"WA x \"+wa);\n\tout.printLine(\"TLE x \"+tle);\n\tout.printLine(\"RE x \"+re);\n\n\t\n}", "solve", "{\n\tint n=in.readInt();\n\tint ac=0;\n\tint wa=0;\n\tint tle=0;\n\tint re=0;\n\tfor (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}\n\tout.printLine(\"AC x \"+ac);\n\tout.printLine(\"WA x \"+wa);\n\tout.printLine(\"TLE x \"+tle);\n\tout.printLine(\"RE x \"+re);\n\n\t\n}", "int n=in.readInt();", "n", "in.readInt()", "in.readInt", "in", "int ac=0;", "ac", "0", "int wa=0;", "wa", "0", "int tle=0;", "tle", "0", "int re=0;", "re", "0", "for (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "++i", "++i", "i", "{\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}", "{\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}", "String s=in.readString();", "s", "in.readString()", "in.readString", "in", "if (s.equals(\"AC\")) ac++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "ac++", "ac", "if (s.equals(\"WA\")) wa++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "wa++", "wa", "if (s.equals(\"TLE\")) tle++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "tle++", "tle", "if (s.equals(\"RE\")) re++;", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "re++", "re", "out.printLine(\"AC x \"+ac)", "out.printLine", "out", "\"AC x \"+ac", "\"AC x \"", "ac", "out.printLine(\"WA x \"+wa)", "out.printLine", "out", "\"WA x \"+wa", "\"WA x \"", "wa", "out.printLine(\"TLE x \"+tle)", "out.printLine", "out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "out.printLine(\"RE x \"+re)", "out.printLine", "out", "\"RE x \"+re", "\"RE x \"", "re", "public interface SpaceCharFilter {\npublic boolean isSpaceChar(int ch);\n}", "SpaceCharFilter", "public boolean isSpaceChar(int ch);", "isSpaceChar", "int ch", "ch", "class InputReader {\nprivate InputStream stream;\nprivate byte[] buf = new byte[1024];\nprivate int curChar;\nprivate int numChars;\nprivate SpaceCharFilter filter;\npublic InputReader(InputStream stream) {\nthis.stream = stream;\n}\npublic int read() {\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}\npublic int readInt() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\n\n\npublic long readLong() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\npublic String readString() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}\npublic boolean isSpaceChar(int c) {\n\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}\npublic String next() {\nreturn readString();\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 SpaceCharFilter filter;", "filter", "public InputReader(InputStream stream) {\nthis.stream = stream;\n}", "InputReader", "{\nthis.stream = stream;\n}", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public int read() {\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}", "read", "{\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}", "if (numChars == -1)\nthrow new InputMismatchException();", "numChars == -1", "numChars", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "if (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}", "curChar >= numChars", "curChar", "numChars", "{\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}", "curChar = 0", "curChar", "0", "try {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}", "catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}", "IOException e", "{\n\nthrow new InputMismatchException();\n\n}", "throw new InputMismatchException();", "new InputMismatchException()", "{\n\nnumChars = stream.read(buf);\n\n}", "numChars = stream.read(buf)", "numChars", "stream.read(buf)", "stream.read", "stream", "buf", "if (numChars <= 0)\n\nreturn -1;", "numChars <= 0", "numChars", "0", "return -1;", "-1", "1", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int readInt() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}", "readInt", "{\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n\nc = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}", "c == '-'", "c", "'-'", "{\n\nsgn = -1;\n\nc = read();\n\n}", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "int res = 0;", "res", "0", "do {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n}", "if (c < '0' || c > '9')\n\nthrow 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 readLong() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}", "readLong", "{\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\n\nc = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "int sgn = 1;", "sgn", "1", "if (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}", "c == '-'", "c", "'-'", "{\n\nsgn = -1;\n\nc = read();\n\n}", "sgn = -1", "sgn", "-1", "1", "c = read()", "c", "read()", "read", "long res = 0;", "res", "0", "do {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n}", "if (c < '0' || c > '9')\n\nthrow 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\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}", "readString", "{\n\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}", "int c = read();", "c", "read()", "read", "while (isSpaceChar(c))\nc = read();", "isSpaceChar(c)", "isSpaceChar", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));", "!isSpaceChar(c)", "isSpaceChar(c)", "isSpaceChar", "c", "{\n\nres.appendCodePoint(c);\nc = 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\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}", "isSpaceChar", "{\n\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}", "if (filter != null)\n\nreturn 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() {\nreturn readString();\n}", "next", "{\nreturn readString();\n}", "return readString();", "readString()", "readString", "class OutputWriter {\nprivate final PrintWriter writer;\npublic OutputWriter(OutputStream outputStream) {\nwriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n}\npublic OutputWriter(Writer writer) {\nthis.writer = new PrintWriter(writer);\n}\npublic void print(Object...objects) {\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}\npublic void printLine(Object...objects) {\nprint(objects);\nwriter.println();\n}\npublic void close() {\nwriter.close();\n}\npublic void flush() {\nwriter.flush();\n}}", "OutputWriter", "private final PrintWriter writer;", "writer", "public OutputWriter(OutputStream outputStream) {\nwriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n}", "OutputWriter", "{\nwriter = 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) {\nthis.writer = new PrintWriter(writer);\n}", "OutputWriter", "{\nthis.writer = new PrintWriter(writer);\n}", "this.writer = new PrintWriter(writer)", "this.writer", "this", "this.writer", "new PrintWriter(writer)", "Writer writer", "writer", "public void print(Object...objects) {\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}", "print", "{\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}", "for (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}", "int i = 0;", "int i = 0;", "i", "0", "i < objects.length", "i", "objects.length", "objects", "objects.length", "i++", "i++", "i", "{\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}", "{\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}", "if (i != 0)\nwriter.print(' ');", "i != 0", "i", "0", "writer.print(' ')", "writer.print", "writer", "' '", "writer.print(objects[i])", "writer.print", "writer", "objects[i]", "objects", "i", "Object...objects", "objects", "public void printLine(Object...objects) {\nprint(objects);\nwriter.println();\n}", "printLine", "{\nprint(objects);\nwriter.println();\n}", "print(objects)", "print", "objects", "writer.println()", "writer.println", "writer", "Object...objects", "objects", "public void close() {\nwriter.close();\n}", "close", "{\nwriter.close();\n}", "writer.close()", "writer.close", "writer", "public void flush() {\nwriter.flush();\n}", "flush", "{\nwriter.flush();\n}", "writer.flush()", "writer.flush", "writer", "public class Main {\npublic interface SpaceCharFilter {\npublic boolean isSpaceChar(int ch);\n}\n\nclass InputReader {\nprivate InputStream stream;\nprivate byte[] buf = new byte[1024];\nprivate int curChar;\nprivate int numChars;\nprivate SpaceCharFilter filter;\npublic InputReader(InputStream stream) {\nthis.stream = stream;\n}\npublic int read() {\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}\npublic int readInt() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\n\n\npublic long readLong() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\npublic String readString() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}\npublic boolean isSpaceChar(int c) {\n\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}\npublic String next() {\nreturn readString();\n}\n}\nclass OutputWriter {\nprivate final PrintWriter writer;\npublic OutputWriter(OutputStream outputStream) {\nwriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n}\npublic OutputWriter(Writer writer) {\nthis.writer = new PrintWriter(writer);\n}\npublic void print(Object...objects) {\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}\npublic void printLine(Object...objects) {\nprint(objects);\nwriter.println();\n}\npublic void close() {\nwriter.close();\n}\npublic void flush() {\nwriter.flush();\n}}\nInputReader in= new InputReader(System.in);\nOutputWriter out = new OutputWriter(System.out);\nStringTokenizer tok;\npublic static void main(String[] args) throws IOException\n{\n new Main().run();\n}\n\nvoid run() throws IOException\n{ \n solve();\n out.flush();\n tok=null;\n}\n\n\nvoid solve() throws IOException{\n\tint n=in.readInt();\n\tint ac=0;\n\tint wa=0;\n\tint tle=0;\n\tint re=0;\n\tfor (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}\n\tout.printLine(\"AC x \"+ac);\n\tout.printLine(\"WA x \"+wa);\n\tout.printLine(\"TLE x \"+tle);\n\tout.printLine(\"RE x \"+re);\n\n\t\n}\n\n}", "public class Main {\npublic interface SpaceCharFilter {\npublic boolean isSpaceChar(int ch);\n}\n\nclass InputReader {\nprivate InputStream stream;\nprivate byte[] buf = new byte[1024];\nprivate int curChar;\nprivate int numChars;\nprivate SpaceCharFilter filter;\npublic InputReader(InputStream stream) {\nthis.stream = stream;\n}\npublic int read() {\nif (numChars == -1)\nthrow new InputMismatchException();\nif (curChar >= numChars) {\ncurChar = 0;\ntry {\n\nnumChars = stream.read(buf);\n\n} catch (IOException e) {\n\nthrow new InputMismatchException();\n\n}\n\nif (numChars <= 0)\n\nreturn -1;\n\n}\n\nreturn buf[curChar++];\n\n}\npublic int readInt() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\n\nint res = 0;\n\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\n\n\npublic long readLong() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\n\nc = read();\n\nint sgn = 1;\n\nif (c == '-') {\n\nsgn = -1;\n\nc = read();\n\n}\nlong res = 0;\ndo {\n\nif (c < '0' || c > '9')\n\nthrow new InputMismatchException();\n\nres *= 10;\n\nres += c - '0';\n\nc = read();\n\n} while (!isSpaceChar(c));\n\nreturn res * sgn;\n\n}\npublic String readString() {\n\nint c = read();\n\nwhile (isSpaceChar(c))\nc = read();\nStringBuilder res = new StringBuilder();\ndo {\n\nres.appendCodePoint(c);\nc = read();\n} while (!isSpaceChar(c));\nreturn res.toString();\n}\npublic boolean isSpaceChar(int c) {\n\nif (filter != null)\n\nreturn filter.isSpaceChar(c);\n\nreturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n}\npublic String next() {\nreturn readString();\n}\n}\nclass OutputWriter {\nprivate final PrintWriter writer;\npublic OutputWriter(OutputStream outputStream) {\nwriter = new PrintWriter(new BufferedWriter(new OutputStreamWriter(outputStream)));\n}\npublic OutputWriter(Writer writer) {\nthis.writer = new PrintWriter(writer);\n}\npublic void print(Object...objects) {\nfor (int i = 0; i < objects.length; i++) {\nif (i != 0)\nwriter.print(' ');\nwriter.print(objects[i]);\n}\n}\npublic void printLine(Object...objects) {\nprint(objects);\nwriter.println();\n}\npublic void close() {\nwriter.close();\n}\npublic void flush() {\nwriter.flush();\n}}\nInputReader in= new InputReader(System.in);\nOutputWriter out = new OutputWriter(System.out);\nStringTokenizer tok;\npublic static void main(String[] args) throws IOException\n{\n new Main().run();\n}\n\nvoid run() throws IOException\n{ \n solve();\n out.flush();\n tok=null;\n}\n\n\nvoid solve() throws IOException{\n\tint n=in.readInt();\n\tint ac=0;\n\tint wa=0;\n\tint tle=0;\n\tint re=0;\n\tfor (int i=0;i<n;++i){\n\t\tString s=in.readString();\n\t\tif (s.equals(\"AC\")) ac++;\n\t\tif (s.equals(\"WA\")) wa++;\n\t\tif (s.equals(\"TLE\")) tle++;\n\t\tif (s.equals(\"RE\")) re++;\n\t}\n\tout.printLine(\"AC x \"+ac);\n\tout.printLine(\"WA x \"+wa);\n\tout.printLine(\"TLE x \"+tle);\n\tout.printLine(\"RE x \"+re);\n\n\t\n}\n\n}", "Main" ]
import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.io.Writer; import java.util.ArrayList; import java.util.Arrays; import java.util.HashMap; import java.util.InputMismatchException; import java.util.PriorityQueue; import java.util.Stack; import java.util.StringTokenizer; import java.util.TreeSet; public class Main { public interface SpaceCharFilter { public boolean isSpaceChar(int ch); } class InputReader { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; private 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 readInt() { 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 readLong() { 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(); } } 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 print(Object...objects) { for (int i = 0; i < objects.length; i++) { if (i != 0) writer.print(' '); writer.print(objects[i]); } } public void printLine(Object...objects) { print(objects); writer.println(); } public void close() { writer.close(); } public void flush() { writer.flush(); }} InputReader in= new InputReader(System.in); OutputWriter out = new OutputWriter(System.out); StringTokenizer tok; public static void main(String[] args) throws IOException { new Main().run(); } void run() throws IOException { solve(); out.flush(); tok=null; } void solve() throws IOException{ int n=in.readInt(); int ac=0; int wa=0; int tle=0; int re=0; for (int i=0;i<n;++i){ String s=in.readString(); if (s.equals("AC")) ac++; if (s.equals("WA")) wa++; if (s.equals("TLE")) tle++; if (s.equals("RE")) re++; } out.printLine("AC x "+ac); out.printLine("WA x "+wa); out.printLine("TLE x "+tle); out.printLine("RE x "+re); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 116, 11 ], [ 116, 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 ], [ 27, 29 ], [ 14, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 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 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 60, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 67, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 14, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 14, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 14, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 14, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 12, 113 ], [ 113, 114 ], [ 0, 115 ], [ 115, 116 ], [ 115, 117 ] ]
[ "import java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint ac = 0, wa = 0, tle = 0, re = 0;\n\t\tint n = in.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t}\n\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint ac = 0, wa = 0, tle = 0, re = 0;\n\t\tint n = in.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint ac = 0, wa = 0, tle = 0, re = 0;\n\t\tint n = in.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t}", "main", "{\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint ac = 0, wa = 0, tle = 0, re = 0;\n\t\tint n = in.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t}", "Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));", "in", "new Scanner(new BufferedReader(new InputStreamReader(System.in)))", "int ac = 0", "ac", "0", "wa = 0", "wa", "0", "tle = 0", "tle", "0", "re = 0;", "re", "0", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "for (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}", "{\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}", "String s = in.next();", "s", "in.next()", "in.next", "in", "if (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "ac++", "ac", "if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "wa++", "wa", "if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "tle++", "tle", "if (s.equals(\"RE\"))\n\t\t\t\tre++;", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "re++", "re", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint ac = 0, wa = 0, tle = 0, re = 0;\n\t\tint n = in.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in)));\n\t\tint ac = 0, wa = 0, tle = 0, re = 0;\n\t\tint n = in.nextInt();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tString s = in.next();\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\telse if (s.equals(\"WA\"))\n\t\t\t\twa++;\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t}\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(new BufferedReader(new InputStreamReader(System.in))); int ac = 0, wa = 0, tle = 0, re = 0; int n = in.nextInt(); for (int i = 0; i < n; i++) { String s = in.next(); if (s.equals("AC")) ac++; else if (s.equals("WA")) wa++; else if (s.equals("TLE")) tle++; else if (s.equals("RE")) re++; } System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 47, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 47, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 47, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "\n\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\t\tint N = sc.nextInt();\n\t\t\tint sumAC =0;\n\t\t\tint sumWA =0;\n\t\t\tint sumTLE =0;\n\t\t\tint sumRE =0;\n\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"AC x \"+sumAC);\n\t\t\tSystem.out.println(\"WA x \"+sumWA);\n\t\t\tSystem.out.println(\"TLE x \"+sumTLE);\n\t\t\tSystem.out.println(\"RE x \"+sumRE);\t\t\n\t}\t\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N = sc.nextInt();\n\t\t\tint sumAC =0;\n\t\t\tint sumWA =0;\n\t\t\tint sumTLE =0;\n\t\t\tint sumRE =0;\n\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"AC x \"+sumAC);\n\t\t\tSystem.out.println(\"WA x \"+sumWA);\n\t\t\tSystem.out.println(\"TLE x \"+sumTLE);\n\t\t\tSystem.out.println(\"RE x \"+sumRE);\t\t\n\t}\t\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N = sc.nextInt();\n\t\t\tint sumAC =0;\n\t\t\tint sumWA =0;\n\t\t\tint sumTLE =0;\n\t\t\tint sumRE =0;\n\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"AC x \"+sumAC);\n\t\t\tSystem.out.println(\"WA x \"+sumWA);\n\t\t\tSystem.out.println(\"TLE x \"+sumTLE);\n\t\t\tSystem.out.println(\"RE x \"+sumRE);\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N = sc.nextInt();\n\t\t\tint sumAC =0;\n\t\t\tint sumWA =0;\n\t\t\tint sumTLE =0;\n\t\t\tint sumRE =0;\n\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"AC x \"+sumAC);\n\t\t\tSystem.out.println(\"WA x \"+sumWA);\n\t\t\tSystem.out.println(\"TLE x \"+sumTLE);\n\t\t\tSystem.out.println(\"RE x \"+sumRE);\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int sumAC =0;", "sumAC", "0", "int sumWA =0;", "sumWA", "0", "int sumTLE =0;", "sumTLE", "0", "int sumRE =0;", "sumRE", "0", "for(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "{\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}", "String judge = sc.next();", "judge", "sc.next()", "sc.next", "sc", "switch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}", "judge", "case \"AC\":", "\"AC\"", "case \"AC\":", "sumAC++", "sumAC", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "sumWA++", "sumWA", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "sumTLE++", "sumTLE", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "sumRE++", "sumRE", "break;", "System.out.println(\"AC x \"+sumAC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+sumAC", "\"AC x \"", "sumAC", "System.out.println(\"WA x \"+sumWA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+sumWA", "\"WA x \"", "sumWA", "System.out.println(\"TLE x \"+sumTLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+sumTLE", "\"TLE x \"", "sumTLE", "System.out.println(\"RE x \"+sumRE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+sumRE", "\"RE x \"", "sumRE", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N = sc.nextInt();\n\t\t\tint sumAC =0;\n\t\t\tint sumWA =0;\n\t\t\tint sumTLE =0;\n\t\t\tint sumRE =0;\n\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"AC x \"+sumAC);\n\t\t\tSystem.out.println(\"WA x \"+sumWA);\n\t\t\tSystem.out.println(\"TLE x \"+sumTLE);\n\t\t\tSystem.out.println(\"RE x \"+sumRE);\t\t\n\t}\t\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N = sc.nextInt();\n\t\t\tint sumAC =0;\n\t\t\tint sumWA =0;\n\t\t\tint sumTLE =0;\n\t\t\tint sumRE =0;\n\n\t\t\tfor(int i=0;i<N;i++) {\n\t\t\t\tString judge = sc.next();\n\t\t\t\tswitch(judge) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\tsumAC++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\tsumWA++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\tsumTLE++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"RE\":\n\t\t\t\t\tsumRE++;\n\t\t\t\t\tbreak;\n\t\t\t\t}\n\t\t\t}\n\t\t\t\n\t\t\tSystem.out.println(\"AC x \"+sumAC);\n\t\t\tSystem.out.println(\"WA x \"+sumWA);\n\t\t\tSystem.out.println(\"TLE x \"+sumTLE);\n\t\t\tSystem.out.println(\"RE x \"+sumRE);\t\t\n\t}\t\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int sumAC =0; int sumWA =0; int sumTLE =0; int sumRE =0; for(int i=0;i<N;i++) { String judge = sc.next(); switch(judge) { case "AC": sumAC++; break; case "WA": sumWA++; break; case "TLE": sumTLE++; break; case "RE": sumRE++; break; } } System.out.println("AC x "+sumAC); System.out.println("WA x "+sumWA); System.out.println("TLE x "+sumTLE); System.out.println("RE x "+sumRE); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 135, 5 ], [ 135, 6 ], [ 6, 7 ], [ 6, 8 ], [ 135, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 11, 20 ], [ 20, 21 ], [ 20, 22 ], [ 11, 23 ], [ 23, 24 ], [ 23, 25 ], [ 11, 26 ], [ 26, 27 ], [ 26, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 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 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 50, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 50, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 50, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 11, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 84, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 83, 87 ], [ 82, 88 ], [ 84, 89 ], [ 11, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 98, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 97, 101 ], [ 96, 102 ], [ 98, 103 ], [ 11, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 112, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 110, 116 ], [ 112, 117 ], [ 11, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 118, 123 ], [ 126, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 126, 131 ], [ 9, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n \n\tstatic Main instance = new Main();\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n \n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }\n \n\t\t\n\t\tSystem.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC);\n System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA);\n System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE);\n System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE);\n \n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n\tstatic Main instance = new Main();\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n \n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }\n \n\t\t\n\t\tSystem.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC);\n System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA);\n System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE);\n System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE);\n \n\t}\n}", "Main", "static Main instance = new Main();", "instance", "new Main()", "public static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n \n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }\n \n\t\t\n\t\tSystem.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC);\n System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA);\n System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE);\n System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE);\n \n\t}", "main", "{\n \n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n \n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }\n \n\t\t\n\t\tSystem.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC);\n System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA);\n System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE);\n System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE);\n \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int AC = 0;", "AC", "0", "int WA = 0;", "WA", "0", "int TLE = 0;", "TLE", "0", "int RE = 0;", "RE", "0", "for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }", "{\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }", "s", "case \"AC\":", "\"AC\"", "case \"AC\":", "AC++", "AC", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "WA++", "WA", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "TLE++", "TLE", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "RE++", "RE", "break;", "System.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC)", "System.out.println", "System.out", "System", "System.out", "\"AC\"+\" \"+\"x\"+\" \"+AC", "\" \"", "\"x\"", "\"AC\"+\" \"+\"x\"+\" \"+AC", "\"AC\"", "\" \"", "\"x\"", "\" \"", "AC", "System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA)", "System.out.println", "System.out", "System", "System.out", "\"WA\"+\" \"+\"x\"+\" \"+WA", "\" \"", "\"x\"", "\"WA\"+\" \"+\"x\"+\" \"+WA", "\"WA\"", "\" \"", "\"x\"", "\" \"", "WA", "System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE\"+\" \"+\"x\"+\" \"+TLE", "\" \"", "\"x\"", "\"TLE\"+\" \"+\"x\"+\" \"+TLE", "\"TLE\"", "\" \"", "\"x\"", "\" \"", "TLE", "System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE)", "System.out.println", "System.out", "System", "System.out", "\"RE\"+\" \"+\"x\"+\" \"+RE", "\" \"", "\"x\"", "\"RE\"+\" \"+\"x\"+\" \"+RE", "\"RE\"", "\" \"", "\"x\"", "\" \"", "RE", "String[] args", "args", "public class Main {\n \n\tstatic Main instance = new Main();\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n \n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }\n \n\t\t\n\t\tSystem.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC);\n System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA);\n System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE);\n System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE);\n \n\t}\n}", "public class Main {\n \n\tstatic Main instance = new Main();\n \n\tpublic static void main(String[] args) {\n \n\t\tScanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n \n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n for(int i = 0; i < n; i++){\n String s = sc.next();\n switch(s){\n case \"AC\":AC++;break;\n case \"WA\":WA++;break;\n case \"TLE\":TLE++;break;\n case \"RE\":RE++;break;\n }\n }\n \n\t\t\n\t\tSystem.out.println(\"AC\"+\" \"+\"x\"+\" \"+AC);\n System.out.println(\"WA\"+\" \"+\"x\"+\" \"+WA);\n System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+TLE);\n System.out.println(\"RE\"+\" \"+\"x\"+\" \"+RE);\n \n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { static Main instance = new Main(); public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int AC = 0; int WA = 0; int TLE = 0; int RE = 0; for(int i = 0; i < n; i++){ String s = sc.next(); switch(s){ case "AC":AC++;break; case "WA":WA++;break; case "TLE":TLE++;break; case "RE":RE++;break; } } System.out.println("AC"+" "+"x"+" "+AC); System.out.println("WA"+" "+"x"+" "+WA); System.out.println("TLE"+" "+"x"+" "+TLE); System.out.println("RE"+" "+"x"+" "+RE); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 4, 18, 13, 17, 13, 13, 4, 18, 13, 23, 13, 6, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 17, 23, 13, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 37, 20, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 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 ], [ 204, 23 ], [ 204, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 26, 40 ], [ 40, 41 ], [ 40, 42 ], [ 26, 43 ], [ 43, 44 ], [ 43, 45 ], [ 26, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 46, 51 ], [ 26, 52 ], [ 52, 53 ], [ 53, 54 ], [ 24, 55 ], [ 55, 56 ], [ 204, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 67, 68 ], [ 67, 69 ], [ 61, 70 ], [ 70, 71 ], [ 70, 72 ], [ 61, 73 ], [ 73, 74 ], [ 73, 75 ], [ 61, 76 ], [ 76, 77 ], [ 76, 78 ], [ 61, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 79, 87 ], [ 87, 88 ], [ 88, 89 ], [ 79, 90 ], [ 91, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 95, 96 ], [ 91, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 97, 102 ], [ 102, 103 ], [ 97, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 105, 108 ], [ 104, 109 ], [ 109, 110 ], [ 104, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 111, 116 ], [ 116, 117 ], [ 111, 118 ], [ 118, 119 ], [ 61, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 123, 125 ], [ 61, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 129, 130 ], [ 129, 131 ], [ 61, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 135, 136 ], [ 135, 137 ], [ 61, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 141, 143 ], [ 59, 144 ], [ 144, 145 ], [ 59, 146 ], [ 146, 147 ], [ 59, 148 ], [ 148, 149 ], [ 204, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 150, 154 ], [ 154, 155 ], [ 150, 156 ], [ 156, 157 ], [ 156, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 158, 162 ], [ 162, 163 ], [ 162, 164 ], [ 156, 165 ], [ 165, 166 ], [ 150, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 172, 174 ], [ 171, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 170, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 180, 186 ], [ 186, 187 ], [ 187, 188 ], [ 187, 189 ], [ 169, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 150, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 201, 202 ], [ 0, 203 ], [ 203, 204 ], [ 203, 205 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedReader;\nimport java.io.InputStreamReader;\nimport java.util.StringTokenizer;\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 PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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.BufferedReader;", "BufferedReader", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "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 PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, 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)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "Problem solver = new Problem();", "solver", "new Problem()", "solver.solve(0, in, out)", "solver.solve", "solver", "0", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n\n }", "Problem", "public void solve(int testNumber, InputReader in, PrintWriter out) {\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }", "solve", "{\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "int ac = 0", "ac", "0", "wa = 0", "wa", "0", "tle = 0", "tle", "0", "re = 0;", "re", "0", "for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }", "{\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }", "String s = in.next();", "s", "in.next()", "in.next", "in", "if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "ac++", "ac", "if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "wa++", "wa", "if(s.equals(\"TLE\")) tle++;\n else re++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "tle++", "tle", "re++", "re", "out.println(\"AC x \" + ac)", "out.println", "out", "\"AC x \" + ac", "\"AC x \"", "ac", "out.println(\"WA x \" + wa)", "out.println", "out", "\"WA x \" + wa", "\"WA x \"", "wa", "out.println(\"TLE x \" + tle)", "out.println", "out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "out.println(\"RE x \" + re)", "out.println", "out", "\"RE x \" + re", "\"RE x \"", "re", "int testNumber", "testNumber", "InputReader in", "in", "PrintWriter out", "out", "static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }", "InputReader", "public BufferedReader reader;", "reader", "public StringTokenizer tokenizer;", "tokenizer", "public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }", "InputReader", "{\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }", "reader = new BufferedReader(new InputStreamReader(stream), 32768)", "reader", "new BufferedReader(new InputStreamReader(stream), 32768)", "tokenizer = null", "tokenizer", "null", "InputStream stream", "stream", "public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }", "while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "tokenizer == null || !tokenizer.hasMoreTokens()", "tokenizer == null", "tokenizer", "null", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }", "catch (IOException e) {\n throw new RuntimeException(e);\n }", "IOException e", "{\n throw new RuntimeException(e);\n }", "throw new RuntimeException(e);", "new RuntimeException(e)", "{\n tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public 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 PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\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 PrintWriter out = new PrintWriter(outputStream);\n\n Problem solver = new Problem();\n solver.solve(0, in, out);\n out.close();\n }\n\n static class Problem {\n public void solve(int testNumber, InputReader in, PrintWriter out) {\n int N = in.nextInt();\n int ac = 0, wa = 0, tle = 0, re = 0;\n\n for(int i = 0; i < N; i++) {\n String s = in.next();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"WA\")) wa++;\n else if(s.equals(\"TLE\")) tle++;\n else re++;\n }\n\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n\n }\n\n static class InputReader {\n public BufferedReader reader;\n public StringTokenizer tokenizer;\n\n public InputReader(InputStream stream) {\n reader = new BufferedReader(new InputStreamReader(stream), 32768);\n tokenizer = null;\n }\n\n public String next() {\n while (tokenizer == null || !tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n throw new RuntimeException(e);\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.io.BufferedReader; import java.io.InputStreamReader; import java.util.StringTokenizer; public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); PrintWriter out = new PrintWriter(outputStream); Problem solver = new Problem(); solver.solve(0, in, out); out.close(); } static class Problem { public void solve(int testNumber, InputReader in, PrintWriter out) { int N = in.nextInt(); int ac = 0, wa = 0, tle = 0, re = 0; for(int i = 0; i < N; i++) { String s = in.next(); if(s.equals("AC")) ac++; else if(s.equals("WA")) wa++; else if(s.equals("TLE")) tle++; else re++; } out.println("AC x " + ac); out.println("WA x " + wa); out.println("TLE x " + tle); out.println("RE x " + re); } } static class InputReader { public BufferedReader reader; public StringTokenizer tokenizer; public InputReader(InputStream stream) { reader = new BufferedReader(new InputStreamReader(stream), 32768); tokenizer = null; } public String next() { while (tokenizer == null || !tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { throw new RuntimeException(e); } } return tokenizer.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } } }
[ 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 149, 5 ], [ 149, 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, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 45, 50 ], [ 50, 51 ], [ 50, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 45, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 59, 64 ], [ 58, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 58, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 70, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 70, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 82, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 82, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 94, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 8, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 113, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 123, 125 ], [ 8, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 128, 130 ], [ 126, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 133, 135 ], [ 8, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 136, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 6, 146 ], [ 146, 147 ], [ 0, 148 ], [ 148, 149 ], [ 148, 150 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n //値を取得\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n String[] S = new String[N];\n for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }\n \n int[] C = new int[4];\n \n for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }\n \n //出力\n System.out.println(\"AC x \" + C[0]);\n System.out.println(\"WA x \" + C[1]);\n System.out.println(\"TLE x \" + C[2]);\n System.out.println(\"RE x \" + C[3]);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n //値を取得\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n String[] S = new String[N];\n for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }\n \n int[] C = new int[4];\n \n for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }\n \n //出力\n System.out.println(\"AC x \" + C[0]);\n System.out.println(\"WA x \" + C[1]);\n System.out.println(\"TLE x \" + C[2]);\n System.out.println(\"RE x \" + C[3]);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n //値を取得\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n String[] S = new String[N];\n for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }\n \n int[] C = new int[4];\n \n for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }\n \n //出力\n System.out.println(\"AC x \" + C[0]);\n System.out.println(\"WA x \" + C[1]);\n System.out.println(\"TLE x \" + C[2]);\n System.out.println(\"RE x \" + C[3]);\n }", "main", "{\n //値を取得\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n String[] S = new String[N];\n for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }\n \n int[] C = new int[4];\n \n for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }\n \n //出力\n System.out.println(\"AC x \" + C[0]);\n System.out.println(\"WA x \" + C[1]);\n System.out.println(\"TLE x \" + C[2]);\n System.out.println(\"RE x \" + C[3]);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] S = new String[N];", "S", "new String[N]", "N", "for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "++i", "++i", "i", "{\n S[i] = sc.next();\n }", "{\n S[i] = sc.next();\n }", "S[i] = sc.next()", "S[i]", "S", "i", "sc.next()", "sc.next", "sc", "int[] C = new int[4];", "C", "new int[4]", "4", "for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "++i", "++i", "i", "{\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }", "{\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }", "if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }", "S[i].equals(\"AC\")", "S[i].equals", "S[i]", "S", "i", "\"AC\"", "{\n C[0]++;\n }", "C[0]++", "C[0]", "C", "0", "if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }", "S[i].equals(\"WA\")", "S[i].equals", "S[i]", "S", "i", "\"WA\"", "{\n C[1]++;\n }", "C[1]++", "C[1]", "C", "1", "if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }", "S[i].equals(\"TLE\")", "S[i].equals", "S[i]", "S", "i", "\"TLE\"", "{\n C[2]++;\n }", "C[2]++", "C[2]", "C", "2", "if(S[i].equals(\"RE\")){\n C[3]++;\n }", "S[i].equals(\"RE\")", "S[i].equals", "S[i]", "S", "i", "\"RE\"", "{\n C[3]++;\n }", "C[3]++", "C[3]", "C", "3", "System.out.println(\"AC x \" + C[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + C[0]", "\"AC x \"", "C[0]", "C", "0", "System.out.println(\"WA x \" + C[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + C[1]", "\"WA x \"", "C[1]", "C", "1", "System.out.println(\"TLE x \" + C[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + C[2]", "\"TLE x \"", "C[2]", "C", "2", "System.out.println(\"RE x \" + C[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + C[3]", "\"RE x \"", "C[3]", "C", "3", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n //値を取得\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n String[] S = new String[N];\n for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }\n \n int[] C = new int[4];\n \n for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }\n \n //出力\n System.out.println(\"AC x \" + C[0]);\n System.out.println(\"WA x \" + C[1]);\n System.out.println(\"TLE x \" + C[2]);\n System.out.println(\"RE x \" + C[3]);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n //値を取得\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n \n String[] S = new String[N];\n for (int i = 0; i < N; ++i){\n S[i] = sc.next();\n }\n \n int[] C = new int[4];\n \n for (int i = 0; i < N; ++i){\n if(S[i].equals(\"AC\")){\n C[0]++;\n } else if(S[i].equals(\"WA\")){\n C[1]++;\n } else if(S[i].equals(\"TLE\")){\n C[2]++;\n } else if(S[i].equals(\"RE\")){\n C[3]++;\n }\n }\n \n //出力\n System.out.println(\"AC x \" + C[0]);\n System.out.println(\"WA x \" + C[1]);\n System.out.println(\"TLE x \" + C[2]);\n System.out.println(\"RE x \" + C[3]);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { //値を取得 Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[] S = new String[N]; for (int i = 0; i < N; ++i){ S[i] = sc.next(); } int[] C = new int[4]; for (int i = 0; i < N; ++i){ if(S[i].equals("AC")){ C[0]++; } else if(S[i].equals("WA")){ C[1]++; } else if(S[i].equals("TLE")){ C[2]++; } else if(S[i].equals("RE")){ C[3]++; } } //出力 System.out.println("AC x " + C[0]); System.out.println("WA x " + C[1]); System.out.println("TLE x " + C[2]); System.out.println("RE x " + C[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 2, 2, 2, 17, 13, 17, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 97, 5 ], [ 97, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 85, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 84, 88 ], [ 83, 89 ], [ 82, 90 ], [ 81, 91 ], [ 80, 92 ], [ 85, 93 ], [ 6, 94 ], [ 94, 95 ], [ 0, 96 ], [ 96, 97 ], [ 96, 98 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }\n System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re);\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 num = sc.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }\n System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }\n System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }\n System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }", "{\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }", "String line = sc.next();", "line", "sc.next()", "sc.next", "sc", "if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }", "line.equals(\"AC\")", "line.equals", "line", "\"AC\"", "{\n ac++;\n }", "ac++", "ac", "if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }", "line.equals(\"WA\")", "line.equals", "line", "\"WA\"", "{\n wa++;\n }", "wa++", "wa", "if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }", "line.equals(\"TLE\")", "line.equals", "line", "\"TLE\"", "{\n tle++;\n }", "tle++", "tle", "{\n re++;\n }", "re++", "re", "System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re", "\"\\nRE x \"", "tle", "\"\\nTLE x \"", "wa", "\"\\nWA x \"", "\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re", "\"AC x \"", "ac", "\"\\nWA x \"", "wa", "\"\\nTLE x \"", "tle", "\"\\nRE x \"", "re", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }\n System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int num = sc.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0;i < num;i++){\n String line = sc.next();\n if(line.equals(\"AC\")){\n ac++;\n }\n else if(line.equals(\"WA\")){\n wa++;\n }\n else if(line.equals(\"TLE\")){\n tle++;\n }\n else{\n re++;\n }\n }\n System.out.println(\"AC x \" + ac + \"\\nWA x \" + wa + \"\\nTLE x \" + tle + \"\\nRE x \" + re);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 0;i < num;i++){ String line = sc.next(); if(line.equals("AC")){ ac++; } else if(line.equals("WA")){ wa++; } else if(line.equals("TLE")){ tle++; } else{ re++; } } System.out.println("AC x " + ac + "\nWA x " + wa + "\nTLE x " + tle + "\nRE x " + re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 1, 3, 4, 18, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 119, 5 ], [ 119, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 39, 41 ], [ 32, 42 ], [ 42, 43 ], [ 43, 44 ], [ 32, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 52, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 52, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 52, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 52, 78 ], [ 78, 79 ], [ 79, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 6, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int acnum = 0, wanum = 0, tlenum = 0, renum = 0;\n String judge = \"\";\n for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }\n sc.close();\n\n System.out.println(\"AC x \" + acnum);\n System.out.println(\"WA x \" + wanum);\n System.out.println(\"TLE x \" + tlenum);\n System.out.println(\"RE x \" + renum);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int acnum = 0, wanum = 0, tlenum = 0, renum = 0;\n String judge = \"\";\n for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }\n sc.close();\n\n System.out.println(\"AC x \" + acnum);\n System.out.println(\"WA x \" + wanum);\n System.out.println(\"TLE x \" + tlenum);\n System.out.println(\"RE x \" + renum);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int acnum = 0, wanum = 0, tlenum = 0, renum = 0;\n String judge = \"\";\n for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }\n sc.close();\n\n System.out.println(\"AC x \" + acnum);\n System.out.println(\"WA x \" + wanum);\n System.out.println(\"TLE x \" + tlenum);\n System.out.println(\"RE x \" + renum);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int acnum = 0, wanum = 0, tlenum = 0, renum = 0;\n String judge = \"\";\n for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }\n sc.close();\n\n System.out.println(\"AC x \" + acnum);\n System.out.println(\"WA x \" + wanum);\n System.out.println(\"TLE x \" + tlenum);\n System.out.println(\"RE x \" + renum);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "long n = sc.nextLong();", "n", "sc.nextLong()", "sc.nextLong", "sc", "int acnum = 0", "acnum", "0", "wanum = 0", "wanum", "0", "tlenum = 0", "tlenum", "0", "renum = 0;", "renum", "0", "String judge = \"\";", "judge", "\"\"", "for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }", "long i = 0;", "long i = 0;", "i", "0", "i < n + 1", "i", "n + 1", "n", "1", "i++", "i++", "i", "{\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }", "{\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }", "judge = sc.nextLine()", "judge", "sc.nextLine()", "sc.nextLine", "sc", "switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }", "judge", "case \"AC\":", "\"AC\"", "case \"AC\":", "acnum++", "acnum", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wanum++", "wanum", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tlenum++", "tlenum", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "renum++", "renum", "break;", "default:", "default:", "break;", "sc.close()", "sc.close", "sc", "System.out.println(\"AC x \" + acnum)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + acnum", "\"AC x \"", "acnum", "System.out.println(\"WA x \" + wanum)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wanum", "\"WA x \"", "wanum", "System.out.println(\"TLE x \" + tlenum)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tlenum", "\"TLE x \"", "tlenum", "System.out.println(\"RE x \" + renum)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + renum", "\"RE x \"", "renum", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int acnum = 0, wanum = 0, tlenum = 0, renum = 0;\n String judge = \"\";\n for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }\n sc.close();\n\n System.out.println(\"AC x \" + acnum);\n System.out.println(\"WA x \" + wanum);\n System.out.println(\"TLE x \" + tlenum);\n System.out.println(\"RE x \" + renum);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n long n = sc.nextLong();\n int acnum = 0, wanum = 0, tlenum = 0, renum = 0;\n String judge = \"\";\n for(long i = 0; i < n + 1; i++){\n judge = sc.nextLine();\n switch(judge){\n case \"AC\":\n acnum++;\n break;\n case \"WA\":\n wanum++;\n break;\n case \"TLE\":\n tlenum++;\n break;\n case \"RE\":\n renum++;\n break;\n default:\n break;\n }\n }\n sc.close();\n\n System.out.println(\"AC x \" + acnum);\n System.out.println(\"WA x \" + wanum);\n System.out.println(\"TLE x \" + tlenum);\n System.out.println(\"RE x \" + renum);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); long n = sc.nextLong(); int acnum = 0, wanum = 0, tlenum = 0, renum = 0; String judge = ""; for(long i = 0; i < n + 1; i++){ judge = sc.nextLine(); switch(judge){ case "AC": acnum++; break; case "WA": wanum++; break; case "TLE": tlenum++; break; case "RE": renum++; break; default: break; } } sc.close(); System.out.println("AC x " + acnum); System.out.println("WA x " + wanum); System.out.println("TLE x " + tlenum); System.out.println("RE x " + renum); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 122, 5 ], [ 122, 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 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 33, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 33, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 33, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 8, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 6, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n \n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[4];\n for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }\n System.out.println(\"AC x \" + a[0]);\n System.out.println(\"WA x \" + a[1]);\n System.out.println(\"TLE x \" + a[2]);\n System.out.println(\"RE x \" + a[3]);\n }\n \n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[4];\n for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }\n System.out.println(\"AC x \" + a[0]);\n System.out.println(\"WA x \" + a[1]);\n System.out.println(\"TLE x \" + a[2]);\n System.out.println(\"RE x \" + a[3]);\n }\n \n}", "Main", "public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[4];\n for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }\n System.out.println(\"AC x \" + a[0]);\n System.out.println(\"WA x \" + a[1]);\n System.out.println(\"TLE x \" + a[2]);\n System.out.println(\"RE x \" + a[3]);\n }", "main", "{\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[4];\n for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }\n System.out.println(\"AC x \" + a[0]);\n System.out.println(\"WA x \" + a[1]);\n System.out.println(\"TLE x \" + a[2]);\n System.out.println(\"RE x \" + a[3]);\n }", "@SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] a = new int[4];", "a", "new int[4]", "4", "for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }", "int i = 0 ;", "int i = 0 ;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }", "{\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "if (s.equals(\"AC\")) {\n a[0]++;\n }", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\n a[0]++;\n }", "a[0]++", "a[0]", "a", "0", "if (s.equals(\"WA\")) {\n a[1]++;\n }", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\n a[1]++;\n }", "a[1]++", "a[1]", "a", "1", "if (s.equals(\"TLE\")) {\n a[2]++;\n }", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\n a[2]++;\n }", "a[2]++", "a[2]", "a", "2", "if (s.equals(\"RE\")) {\n a[3]++;\n }", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "{\n a[3]++;\n }", "a[3]++", "a[3]", "a", "3", "System.out.println(\"AC x \" + a[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + a[0]", "\"AC x \"", "a[0]", "a", "0", "System.out.println(\"WA x \" + a[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + a[1]", "\"WA x \"", "a[1]", "a", "1", "System.out.println(\"TLE x \" + a[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + a[2]", "\"TLE x \"", "a[2]", "a", "2", "System.out.println(\"RE x \" + a[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + a[3]", "\"RE x \"", "a[3]", "a", "3", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[4];\n for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }\n System.out.println(\"AC x \" + a[0]);\n System.out.println(\"WA x \" + a[1]);\n System.out.println(\"TLE x \" + a[2]);\n System.out.println(\"RE x \" + a[3]);\n }\n \n}", "public class Main {\n \n public static void main(String[] args) {\n @SuppressWarnings(\"resource\")\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int[] a = new int[4];\n for (int i = 0 ; i < n ; i++) {\n String s = sc.next();\n if (s.equals(\"AC\")) {\n a[0]++;\n }\n if (s.equals(\"WA\")) {\n a[1]++;\n }\n if (s.equals(\"TLE\")) {\n a[2]++;\n }\n if (s.equals(\"RE\")) {\n a[3]++;\n }\n }\n System.out.println(\"AC x \" + a[0]);\n System.out.println(\"WA x \" + a[1]);\n System.out.println(\"TLE x \" + a[2]);\n System.out.println(\"RE x \" + a[3]);\n }\n \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { @SuppressWarnings("resource") Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[] a = new int[4]; for (int i = 0 ; i < n ; i++) { String s = sc.next(); if (s.equals("AC")) { a[0]++; } if (s.equals("WA")) { a[1]++; } if (s.equals("TLE")) { a[2]++; } if (s.equals("RE")) { a[3]++; } } System.out.println("AC x " + a[0]); System.out.println("WA x " + a[1]); System.out.println("TLE x " + a[2]); System.out.println("RE x " + a[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 35, 4, 18, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 1, 3, 41, 13, 20, 4, 18, 13, 2, 2, 17, 13, 17, 4, 18, 13, 2, 2, 17, 13, 17, 4, 18, 13, 2, 2, 17, 13, 17, 4, 18, 13, 2, 2, 17, 13, 17, 4, 18, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 127, 5 ], [ 127, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 10, 11 ], [ 10, 12 ], [ 12, 13 ], [ 13, 14 ], [ 14, 15 ], [ 9, 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 ], [ 28, 30 ], [ 16, 31 ], [ 31, 32 ], [ 31, 33 ], [ 16, 34 ], [ 34, 35 ], [ 34, 36 ], [ 16, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 37, 42 ], [ 42, 43 ], [ 42, 44 ], [ 37, 45 ], [ 45, 46 ], [ 46, 47 ], [ 37, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 50, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 50, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 50, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 50, 78 ], [ 78, 79 ], [ 79, 80 ], [ 16, 81 ], [ 81, 82 ], [ 81, 83 ], [ 16, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 88, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 16, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 96, 96 ], [ 96, 97 ], [ 96, 98 ], [ 96, 99 ], [ 16, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 104, 104 ], [ 104, 105 ], [ 104, 106 ], [ 104, 107 ], [ 16, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 112, 112 ], [ 112, 113 ], [ 112, 114 ], [ 112, 115 ], [ 16, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 122, 123 ], [ 6, 124 ], [ 124, 125 ], [ 0, 126 ], [ 126, 127 ], [ 126, 128 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", "Main", "public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "main", "{\n try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }", "try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }", "catch (Exception e) {\n e.printStackTrace();\n }", "Exception e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n }", "Scanner scanner = new Scanner(System.in)", "Scanner scanner = new Scanner(System.in)", "new Scanner(System.in)", "int n = scanner.nextInt();", "n", "scanner.nextInt()", "scanner.nextInt", "scanner", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }", "{\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }", "switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }", "scanner.next()", "scanner.next", "scanner", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "re++", "re", "break;", "default:", "default:", "break;", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "sb.append(\"AC x \" + ac + \"\\n\")", "sb.append", "sb", "\"AC x \" + ac + \"\\n\"", "\"AC x \" + ac + \"\\n\"", "\"AC x \"", "ac", "\"\\n\"", "sb.append(\"WA x \" + wa + \"\\n\")", "sb.append", "sb", "\"WA x \" + wa + \"\\n\"", "\"WA x \" + wa + \"\\n\"", "\"WA x \"", "wa", "\"\\n\"", "sb.append(\"TLE x \" + tle + \"\\n\")", "sb.append", "sb", "\"TLE x \" + tle + \"\\n\"", "\"TLE x \" + tle + \"\\n\"", "\"TLE x \"", "tle", "\"\\n\"", "sb.append(\"RE x \" + re + \"\\n\")", "sb.append", "sb", "\"RE x \" + re + \"\\n\"", "\"RE x \" + re + \"\\n\"", "\"RE x \"", "re", "\"\\n\"", "System.out.println(sb.toString())", "System.out.println", "System.out", "System", "System.out", "sb.toString()", "sb.toString", "sb", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", "public class Main {\n public static void main(String[] args) {\n try (Scanner scanner = new Scanner(System.in);) {\n int n = scanner.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for (int i = 0; i < n; i++) {\n switch (scanner.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n }\n StringBuilder sb = new StringBuilder();\n sb.append(\"AC x \" + ac + \"\\n\");\n sb.append(\"WA x \" + wa + \"\\n\");\n sb.append(\"TLE x \" + tle + \"\\n\");\n sb.append(\"RE x \" + re + \"\\n\");\n System.out.println(sb.toString());\n } catch (Exception e) {\n e.printStackTrace();\n }\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { try (Scanner scanner = new Scanner(System.in);) { int n = scanner.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for (int i = 0; i < n; i++) { switch (scanner.next()) { case "AC": ac++; break; case "WA": wa++; break; case "TLE": tle++; break; case "RE": re++; break; default: break; } } StringBuilder sb = new StringBuilder(); sb.append("AC x " + ac + "\n"); sb.append("WA x " + wa + "\n"); sb.append("TLE x " + tle + "\n"); sb.append("RE x " + re + "\n"); System.out.println(sb.toString()); } catch (Exception e) { e.printStackTrace(); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 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 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 49, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 6, 102 ], [ 102, 103 ] ]
[ "import java.util.*; \nclass Main \n{\npublic static void main(String args[]) \n{\nScanner sc = new Scanner(System.in); \nint n = Integer.parseInt(sc.nextLine()); \nint AC=0,WA=0,TLE=0,RE=0;\nwhile(n-->0) \n{\nString s = sc.nextLine(); \nif(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}\n} \nSystem.out.println(\"AC x \"+AC); \nSystem.out.println(\"WA x \"+WA); \nSystem.out.println(\"TLE x \"+TLE); \nSystem.out.println(\"RE x \"+RE);\n} \n}", "import java.util.*;", "util.*", "java", "class Main \n{\npublic static void main(String args[]) \n{\nScanner sc = new Scanner(System.in); \nint n = Integer.parseInt(sc.nextLine()); \nint AC=0,WA=0,TLE=0,RE=0;\nwhile(n-->0) \n{\nString s = sc.nextLine(); \nif(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}\n} \nSystem.out.println(\"AC x \"+AC); \nSystem.out.println(\"WA x \"+WA); \nSystem.out.println(\"TLE x \"+TLE); \nSystem.out.println(\"RE x \"+RE);\n} \n}", "Main", "public static void main(String args[]) \n{\nScanner sc = new Scanner(System.in); \nint n = Integer.parseInt(sc.nextLine()); \nint AC=0,WA=0,TLE=0,RE=0;\nwhile(n-->0) \n{\nString s = sc.nextLine(); \nif(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}\n} \nSystem.out.println(\"AC x \"+AC); \nSystem.out.println(\"WA x \"+WA); \nSystem.out.println(\"TLE x \"+TLE); \nSystem.out.println(\"RE x \"+RE);\n}", "main", "{\nScanner sc = new Scanner(System.in); \nint n = Integer.parseInt(sc.nextLine()); \nint AC=0,WA=0,TLE=0,RE=0;\nwhile(n-->0) \n{\nString s = sc.nextLine(); \nif(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}\n} \nSystem.out.println(\"AC x \"+AC); \nSystem.out.println(\"WA x \"+WA); \nSystem.out.println(\"TLE x \"+TLE); \nSystem.out.println(\"RE x \"+RE);\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", "int AC=0", "AC", "0", "WA=0", "WA", "0", "TLE=0", "TLE", "0", "RE=0;", "RE", "0", "while(n-->0) \n{\nString s = sc.nextLine(); \nif(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}\n}", "n-->0", "n--", "n", "0", "{\nString s = sc.nextLine(); \nif(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}\n}", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "if(s.equals(\"AC\")) \n{\nAC++;\n} \nelse if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\nAC++;\n}", "AC++", "AC", "if(s.equals(\"WA\")) \n{\nWA++;\n} \nelse if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\nWA++;\n}", "WA++", "WA", "if(s.equals(\"TLE\")) \n{\nTLE++;\n} \nelse \n{\nRE++;\n}", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\nTLE++;\n}", "TLE++", "TLE", "{\nRE++;\n}", "RE++", "RE", "System.out.println(\"AC x \"+AC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+AC", "\"AC x \"", "AC", "System.out.println(\"WA x \"+WA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+WA", "\"WA x \"", "WA", "System.out.println(\"TLE x \"+TLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+TLE", "\"TLE x \"", "TLE", "System.out.println(\"RE x \"+RE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+RE", "\"RE x \"", "RE", "String args[]", "args" ]
import java.util.*; class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = Integer.parseInt(sc.nextLine()); int AC=0,WA=0,TLE=0,RE=0; while(n-->0) { String s = sc.nextLine(); if(s.equals("AC")) { AC++; } else if(s.equals("WA")) { WA++; } else if(s.equals("TLE")) { TLE++; } else { RE++; } } System.out.println("AC x "+AC); System.out.println("WA x "+WA); System.out.println("TLE x "+TLE); System.out.println("RE x "+RE); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 111, 5 ], [ 111, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 41, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 60, 61 ], [ 41, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 41, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.util.*;\npublic class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in); \n int n = sc.nextInt();\n \n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n\n \n for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }\n System.out.println(\"AC x \"+b);\n System.out.println(\"WA x \"+c);\n System.out.println(\"TLE x \"+d);\n System.out.println(\"RE x \"+e);\n }\n} ", "import java.util.*;", "util.*", "java", "public class Main\n{\n public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in); \n int n = sc.nextInt();\n \n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n\n \n for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }\n System.out.println(\"AC x \"+b);\n System.out.println(\"WA x \"+c);\n System.out.println(\"TLE x \"+d);\n System.out.println(\"RE x \"+e);\n }\n}", "Main", "public static void main(String[] args)\n {\n Scanner sc = new Scanner(System.in); \n int n = sc.nextInt();\n \n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n\n \n for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }\n System.out.println(\"AC x \"+b);\n System.out.println(\"WA x \"+c);\n System.out.println(\"TLE x \"+d);\n System.out.println(\"RE x \"+e);\n }", "main", "{\n Scanner sc = new Scanner(System.in); \n int n = sc.nextInt();\n \n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n\n \n for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }\n System.out.println(\"AC x \"+b);\n System.out.println(\"WA x \"+c);\n System.out.println(\"TLE x \"+d);\n System.out.println(\"RE x \"+e);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int b = 0;", "b", "0", "int c = 0;", "c", "0", "int d = 0;", "d", "0", "int e = 0;", "e", "0", "for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }", "{\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }", "String str = sc.next();", "str", "sc.next()", "sc.next", "sc", "if(str.equals(\"AC\"))\n b++;", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "b++", "b", "if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "{\n c++;\n \t\t }", "c++", "c", "if(str.equals(\"TLE\"))\n d++;", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "d++", "d", "if(str.equals(\"RE\"))\n e++;", "str.equals(\"RE\")", "str.equals", "str", "\"RE\"", "e++", "e", "System.out.println(\"AC x \"+b)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+b", "\"AC x \"", "b", "System.out.println(\"WA x \"+c)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+c", "\"WA x \"", "c", "System.out.println(\"TLE x \"+d)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+d", "\"TLE x \"", "d", "System.out.println(\"RE x \"+e)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+e", "\"RE x \"", "e", "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();\n \n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n\n \n for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }\n System.out.println(\"AC x \"+b);\n System.out.println(\"WA x \"+c);\n System.out.println(\"TLE x \"+d);\n System.out.println(\"RE x \"+e);\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();\n \n int b = 0;\n int c = 0;\n int d = 0;\n int e = 0;\n\n \n for(int i = 0; i < n; i++)\n {\n String str = sc.next();\n if(str.equals(\"AC\"))\n b++;\n if(str.equals(\"WA\"))\n \t\t {\n c++;\n \t\t }\n if(str.equals(\"TLE\"))\n d++;\n if(str.equals(\"RE\"))\n e++;\n }\n System.out.println(\"AC x \"+b);\n System.out.println(\"WA x \"+c);\n System.out.println(\"TLE x \"+d);\n System.out.println(\"RE x \"+e);\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 b = 0; int c = 0; int d = 0; int e = 0; for(int i = 0; i < n; i++) { String str = sc.next(); if(str.equals("AC")) b++; if(str.equals("WA")) { c++; } if(str.equals("TLE")) d++; if(str.equals("RE")) e++; } System.out.println("AC x "+b); System.out.println("WA x "+c); System.out.println("TLE x "+d); System.out.println("RE x "+e); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 17, 29, 13, 29, 8, 2, 13, 13, 4, 13, 2, 13, 13, 13, 4, 13, 13, 2, 13, 13, 23, 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, 29, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 29, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 2, 13, 40, 17, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 2, 13, 17, 4, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 18, 13, 13, 30, 11, 1, 41, 13, 2, 13, 17, 2, 13, 13, 1, 0, 13, 13, 30, 30, 0, 18, 13, 13, 17, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 18, 13, 13, 30, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 30, 29, 17, 14, 2, 13, 17, 30, 29, 17, 11, 1, 41, 13, 17, 2, 13, 2, 4, 18, 13, 13, 17, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 29, 17, 29, 17, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 2, 13, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 4, 18, 13, 13, 14, 2, 2, 13, 13, 13, 4, 18, 13, 2, 13, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 18, 13, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 4, 18, 13, 2, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 4, 18, 13, 2, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 28, 13, 13, 30, 4, 18, 13, 2, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 28, 13, 13, 30, 30, 28, 13, 13, 30, 4, 18, 13, 2, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 2, 2, 2, 17, 2, 13, 17, 17, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 13, 2, 2, 2, 17, 2, 13, 17, 17, 13, 23, 13, 23, 13, 12, 13, 30, 4, 18, 13, 2, 2, 17, 2, 13, 17, 17, 28, 13, 13, 30, 4, 18, 13, 2, 13, 17, 4, 18, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 18, 36, 13, 18, 13, 13, 29, 17, 14, 2, 18, 36, 13, 18, 13, 13, 29, 17, 29, 40, 17, 23, 13, 12, 13, 30, 29, 2, 18, 36, 13, 18, 13, 13, 23, 13, 13, 6, 13, 41, 13, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 0, 18, 36, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 18, 36, 13, 18, 13, 13, 29, 17, 14, 2, 18, 36, 13, 18, 13, 13, 29, 17, 29, 40, 17, 23, 13, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 915, 11 ], [ 915, 12 ], [ 12, 13 ], [ 915, 14 ], [ 14, 15 ], [ 915, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 19, 21 ], [ 18, 22 ], [ 22, 23 ], [ 22, 24 ], [ 18, 25 ], [ 25, 26 ], [ 25, 27 ], [ 18, 28 ], [ 28, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 28, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 39, 41 ], [ 33, 42 ], [ 42, 43 ], [ 42, 44 ], [ 33, 45 ], [ 45, 46 ], [ 45, 47 ], [ 33, 48 ], [ 48, 49 ], [ 48, 50 ], [ 33, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 62, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 69, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 76, 83 ], [ 83, 84 ], [ 33, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 33, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 94, 95 ], [ 94, 96 ], [ 33, 97 ], [ 97, 98 ], [ 98, 99 ], [ 97, 100 ], [ 100, 101 ], [ 100, 102 ], [ 33, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 106, 107 ], [ 106, 108 ], [ 18, 109 ], [ 109, 110 ], [ 110, 111 ], [ 16, 112 ], [ 112, 113 ], [ 915, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 117, 121 ], [ 121, 122 ], [ 116, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 123, 127 ], [ 127, 128 ], [ 116, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 130, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 130, 140 ], [ 140, 141 ], [ 140, 142 ], [ 140, 143 ], [ 143, 144 ], [ 143, 145 ], [ 114, 146 ], [ 146, 147 ], [ 114, 148 ], [ 148, 149 ], [ 915, 150 ], [ 150, 151 ], [ 150, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 154, 158 ], [ 158, 159 ], [ 158, 160 ], [ 158, 161 ], [ 150, 162 ], [ 162, 163 ], [ 150, 164 ], [ 164, 165 ], [ 915, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 169, 175 ], [ 175, 176 ], [ 166, 177 ], [ 177, 178 ], [ 166, 179 ], [ 179, 180 ], [ 915, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 185, 186 ], [ 185, 187 ], [ 184, 188 ], [ 188, 189 ], [ 184, 190 ], [ 190, 191 ], [ 181, 192 ], [ 192, 193 ], [ 181, 194 ], [ 194, 195 ], [ 915, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 199, 208 ], [ 208, 209 ], [ 196, 210 ], [ 210, 211 ], [ 915, 212 ], [ 212, 213 ], [ 212, 214 ], [ 214, 215 ], [ 215, 216 ], [ 215, 217 ], [ 218, 219 ], [ 218, 220 ], [ 214, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 221, 225 ], [ 214, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 228, 230 ], [ 226, 231 ], [ 231, 232 ], [ 232, 233 ], [ 232, 234 ], [ 231, 235 ], [ 226, 236 ], [ 236, 237 ], [ 237, 238 ], [ 226, 239 ], [ 240, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 242, 244 ], [ 241, 245 ], [ 245, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 250, 252 ], [ 246, 253 ], [ 253, 254 ], [ 253, 255 ], [ 246, 256 ], [ 256, 257 ], [ 257, 258 ], [ 257, 259 ], [ 246, 260 ], [ 261, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 263, 265 ], [ 262, 266 ], [ 214, 267 ], [ 267, 268 ], [ 267, 269 ], [ 214, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 270, 275 ], [ 275, 276 ], [ 275, 277 ], [ 270, 278 ], [ 278, 279 ], [ 279, 280 ], [ 270, 281 ], [ 282, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 283, 287 ], [ 287, 288 ], [ 288, 289 ], [ 289, 290 ], [ 288, 291 ], [ 214, 292 ], [ 292, 293 ], [ 212, 294 ], [ 294, 295 ], [ 915, 296 ], [ 296, 297 ], [ 296, 298 ], [ 298, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 300, 304 ], [ 304, 305 ], [ 304, 306 ], [ 299, 307 ], [ 307, 308 ], [ 308, 309 ], [ 298, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 314 ], [ 314, 315 ], [ 315, 316 ], [ 298, 317 ], [ 317, 318 ], [ 318, 319 ], [ 319, 320 ], [ 319, 321 ], [ 317, 322 ], [ 322, 323 ], [ 322, 324 ], [ 324, 325 ], [ 325, 326 ], [ 326, 327 ], [ 325, 328 ], [ 324, 329 ], [ 317, 330 ], [ 330, 331 ], [ 331, 332 ], [ 317, 333 ], [ 334, 334 ], [ 334, 335 ], [ 335, 336 ], [ 336, 337 ], [ 337, 338 ], [ 337, 339 ], [ 336, 340 ], [ 335, 341 ], [ 341, 342 ], [ 342, 343 ], [ 298, 344 ], [ 344, 345 ], [ 296, 346 ], [ 346, 347 ], [ 915, 348 ], [ 348, 349 ], [ 348, 350 ], [ 350, 351 ], [ 351, 352 ], [ 351, 353 ], [ 350, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 356, 358 ], [ 354, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 359, 363 ], [ 354, 364 ], [ 364, 365 ], [ 365, 366 ], [ 354, 367 ], [ 368, 368 ], [ 368, 369 ], [ 369, 370 ], [ 370, 371 ], [ 371, 372 ], [ 371, 373 ], [ 370, 374 ], [ 369, 375 ], [ 375, 376 ], [ 376, 377 ], [ 377, 378 ], [ 376, 379 ], [ 375, 380 ], [ 380, 381 ], [ 381, 382 ], [ 382, 383 ], [ 382, 384 ], [ 381, 385 ], [ 380, 386 ], [ 386, 387 ], [ 387, 388 ], [ 386, 389 ], [ 389, 390 ], [ 389, 391 ], [ 350, 392 ], [ 392, 393 ], [ 348, 394 ], [ 394, 395 ], [ 915, 396 ], [ 396, 397 ], [ 396, 398 ], [ 398, 399 ], [ 399, 400 ], [ 399, 401 ], [ 398, 403 ], [ 403, 404 ], [ 404, 405 ], [ 405, 406 ], [ 405, 407 ], [ 403, 408 ], [ 408, 409 ], [ 408, 410 ], [ 403, 411 ], [ 411, 412 ], [ 412, 413 ], [ 403, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 416, 418 ], [ 415, 419 ], [ 419, 420 ], [ 420, 421 ], [ 398, 422 ], [ 422, 423 ], [ 396, 424 ], [ 424, 425 ], [ 915, 426 ], [ 426, 427 ], [ 426, 428 ], [ 428, 429 ], [ 429, 430 ], [ 429, 431 ], [ 428, 433 ], [ 433, 434 ], [ 434, 435 ], [ 435, 436 ], [ 435, 437 ], [ 433, 438 ], [ 438, 439 ], [ 438, 440 ], [ 433, 441 ], [ 441, 442 ], [ 442, 443 ], [ 433, 444 ], [ 444, 445 ], [ 445, 446 ], [ 446, 447 ], [ 446, 448 ], [ 445, 449 ], [ 449, 450 ], [ 450, 451 ], [ 428, 452 ], [ 452, 453 ], [ 426, 454 ], [ 454, 455 ], [ 915, 456 ], [ 456, 457 ], [ 456, 458 ], [ 458, 459 ], [ 459, 460 ], [ 459, 461 ], [ 458, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 466, 468 ], [ 464, 469 ], [ 469, 470 ], [ 469, 471 ], [ 464, 472 ], [ 472, 473 ], [ 473, 474 ], [ 464, 475 ], [ 475, 476 ], [ 476, 477 ], [ 477, 478 ], [ 478, 479 ], [ 478, 480 ], [ 476, 481 ], [ 481, 482 ], [ 481, 483 ], [ 476, 484 ], [ 484, 485 ], [ 485, 486 ], [ 476, 487 ], [ 487, 488 ], [ 488, 489 ], [ 489, 490 ], [ 490, 491 ], [ 490, 492 ], [ 489, 493 ], [ 488, 494 ], [ 494, 495 ], [ 495, 496 ], [ 458, 497 ], [ 497, 498 ], [ 456, 499 ], [ 499, 500 ], [ 456, 501 ], [ 501, 502 ], [ 915, 503 ], [ 503, 504 ], [ 503, 505 ], [ 505, 506 ], [ 506, 507 ], [ 506, 508 ], [ 505, 511 ], [ 511, 512 ], [ 512, 513 ], [ 513, 514 ], [ 513, 515 ], [ 511, 516 ], [ 516, 517 ], [ 516, 518 ], [ 511, 519 ], [ 519, 520 ], [ 520, 521 ], [ 511, 522 ], [ 522, 523 ], [ 523, 524 ], [ 524, 525 ], [ 525, 526 ], [ 525, 527 ], [ 523, 528 ], [ 528, 529 ], [ 528, 530 ], [ 523, 531 ], [ 531, 532 ], [ 532, 533 ], [ 523, 534 ], [ 534, 535 ], [ 535, 536 ], [ 536, 537 ], [ 537, 538 ], [ 537, 539 ], [ 536, 540 ], [ 535, 541 ], [ 541, 542 ], [ 542, 543 ], [ 505, 544 ], [ 544, 545 ], [ 503, 546 ], [ 546, 547 ], [ 503, 548 ], [ 548, 549 ], [ 915, 550 ], [ 550, 551 ], [ 550, 552 ], [ 552, 553 ], [ 553, 554 ], [ 553, 555 ], [ 553, 556 ], [ 556, 557 ], [ 557, 558 ], [ 558, 559 ], [ 557, 560 ], [ 560, 561 ], [ 560, 562 ], [ 552, 563 ], [ 563, 564 ], [ 564, 565 ], [ 550, 566 ], [ 566, 567 ], [ 915, 568 ], [ 568, 569 ], [ 568, 570 ], [ 570, 571 ], [ 571, 572 ], [ 571, 573 ], [ 571, 574 ], [ 574, 575 ], [ 575, 576 ], [ 576, 577 ], [ 575, 578 ], [ 578, 579 ], [ 578, 580 ], [ 570, 581 ], [ 581, 582 ], [ 582, 583 ], [ 568, 584 ], [ 584, 585 ], [ 915, 586 ], [ 586, 587 ], [ 586, 588 ], [ 588, 589 ], [ 589, 590 ], [ 589, 591 ], [ 589, 592 ], [ 593, 593 ], [ 593, 594 ], [ 594, 595 ], [ 594, 596 ], [ 594, 597 ], [ 597, 598 ], [ 598, 599 ], [ 599, 600 ], [ 598, 601 ], [ 601, 602 ], [ 601, 603 ], [ 593, 604 ], [ 604, 605 ], [ 605, 606 ], [ 586, 607 ], [ 607, 608 ], [ 915, 609 ], [ 609, 610 ], [ 609, 611 ], [ 611, 612 ], [ 612, 613 ], [ 612, 614 ], [ 612, 615 ], [ 616, 616 ], [ 616, 617 ], [ 617, 618 ], [ 617, 619 ], [ 617, 620 ], [ 620, 621 ], [ 621, 622 ], [ 622, 623 ], [ 621, 624 ], [ 624, 625 ], [ 624, 626 ], [ 616, 627 ], [ 627, 628 ], [ 628, 629 ], [ 609, 630 ], [ 630, 631 ], [ 915, 632 ], [ 632, 633 ], [ 632, 634 ], [ 634, 635 ], [ 635, 636 ], [ 636, 637 ], [ 635, 638 ], [ 640, 639 ], [ 639, 640 ], [ 640, 641 ], [ 640, 642 ], [ 642, 643 ], [ 642, 644 ], [ 639, 645 ], [ 640, 646 ], [ 632, 647 ], [ 647, 648 ], [ 632, 649 ], [ 649, 650 ], [ 915, 651 ], [ 651, 652 ], [ 651, 653 ], [ 653, 654 ], [ 654, 655 ], [ 655, 656 ], [ 654, 657 ], [ 659, 658 ], [ 658, 659 ], [ 659, 660 ], [ 659, 661 ], [ 661, 662 ], [ 661, 663 ], [ 658, 664 ], [ 659, 665 ], [ 651, 666 ], [ 666, 667 ], [ 651, 668 ], [ 668, 669 ], [ 915, 670 ], [ 670, 671 ], [ 670, 672 ], [ 672, 673 ], [ 673, 674 ], [ 674, 675 ], [ 673, 676 ], [ 677, 677 ], [ 677, 678 ], [ 677, 679 ], [ 679, 680 ], [ 679, 681 ], [ 677, 682 ], [ 672, 683 ], [ 683, 684 ], [ 683, 685 ], [ 683, 686 ], [ 686, 687 ], [ 687, 688 ], [ 688, 689 ], [ 687, 690 ], [ 690, 691 ], [ 690, 692 ], [ 672, 693 ], [ 693, 694 ], [ 694, 695 ], [ 670, 696 ], [ 696, 697 ], [ 670, 698 ], [ 698, 699 ], [ 915, 700 ], [ 700, 701 ], [ 700, 702 ], [ 702, 703 ], [ 700, 704 ], [ 704, 705 ], [ 700, 706 ], [ 706, 707 ], [ 706, 708 ], [ 708, 709 ], [ 709, 710 ], [ 710, 711 ], [ 710, 712 ], [ 709, 713 ], [ 708, 714 ], [ 714, 715 ], [ 715, 716 ], [ 715, 717 ], [ 714, 718 ], [ 706, 719 ], [ 719, 720 ], [ 706, 721 ], [ 721, 722 ], [ 700, 723 ], [ 723, 724 ], [ 723, 725 ], [ 725, 726 ], [ 726, 727 ], [ 727, 728 ], [ 728, 729 ], [ 728, 730 ], [ 727, 731 ], [ 731, 732 ], [ 731, 733 ], [ 726, 734 ], [ 734, 735 ], [ 726, 736 ], [ 736, 737 ], [ 737, 738 ], [ 738, 739 ], [ 738, 740 ], [ 737, 741 ], [ 741, 742 ], [ 741, 743 ], [ 736, 744 ], [ 744, 745 ], [ 736, 746 ], [ 746, 747 ], [ 747, 748 ], [ 723, 749 ], [ 749, 750 ], [ 700, 751 ], [ 751, 752 ], [ 751, 753 ], [ 753, 754 ], [ 754, 755 ], [ 755, 756 ], [ 756, 757 ], [ 756, 758 ], [ 755, 759 ], [ 759, 760 ], [ 759, 761 ], [ 751, 762 ], [ 762, 763 ], [ 700, 764 ], [ 915, 765 ], [ 765, 766 ], [ 765, 767 ], [ 767, 768 ], [ 765, 769 ], [ 769, 770 ], [ 765, 771 ], [ 771, 772 ], [ 765, 773 ], [ 773, 774 ], [ 773, 775 ], [ 775, 776 ], [ 776, 777 ], [ 777, 778 ], [ 777, 779 ], [ 776, 780 ], [ 775, 781 ], [ 781, 782 ], [ 782, 783 ], [ 782, 784 ], [ 781, 785 ], [ 775, 786 ], [ 786, 787 ], [ 787, 788 ], [ 787, 789 ], [ 786, 790 ], [ 773, 791 ], [ 791, 792 ], [ 773, 793 ], [ 793, 794 ], [ 773, 795 ], [ 795, 796 ], [ 765, 797 ], [ 797, 798 ], [ 797, 799 ], [ 799, 800 ], [ 800, 801 ], [ 801, 802 ], [ 802, 803 ], [ 802, 804 ], [ 801, 805 ], [ 805, 806 ], [ 805, 807 ], [ 800, 808 ], [ 808, 809 ], [ 800, 810 ], [ 810, 811 ], [ 811, 812 ], [ 812, 813 ], [ 812, 814 ], [ 811, 815 ], [ 815, 816 ], [ 815, 817 ], [ 810, 818 ], [ 818, 819 ], [ 810, 820 ], [ 820, 821 ], [ 821, 822 ], [ 797, 823 ], [ 823, 824 ], [ 765, 825 ], [ 915, 826 ], [ 826, 827 ], [ 826, 828 ], [ 828, 829 ], [ 826, 830 ], [ 830, 831 ], [ 826, 832 ], [ 832, 833 ], [ 832, 834 ], [ 834, 835 ], [ 835, 836 ], [ 835, 837 ], [ 826, 838 ], [ 838, 839 ], [ 838, 840 ], [ 840, 841 ], [ 841, 842 ], [ 842, 843 ], [ 843, 844 ], [ 843, 845 ], [ 842, 846 ], [ 846, 847 ], [ 847, 848 ], [ 848, 849 ], [ 841, 850 ], [ 850, 851 ], [ 851, 852 ], [ 852, 853 ], [ 852, 854 ], [ 854, 855 ], [ 855, 856 ], [ 856, 857 ], [ 851, 858 ], [ 858, 859 ], [ 859, 860 ], [ 859, 861 ], [ 840, 862 ], [ 862, 863 ], [ 863, 864 ], [ 864, 865 ], [ 826, 866 ], [ 866, 867 ], [ 866, 868 ], [ 868, 869 ], [ 869, 870 ], [ 870, 871 ], [ 871, 872 ], [ 870, 873 ], [ 873, 874 ], [ 826, 875 ], [ 875, 876 ], [ 875, 877 ], [ 877, 878 ], [ 878, 879 ], [ 879, 880 ], [ 880, 881 ], [ 879, 882 ], [ 882, 883 ], [ 826, 884 ], [ 884, 885 ], [ 884, 886 ], [ 886, 887 ], [ 887, 888 ], [ 888, 889 ], [ 889, 890 ], [ 888, 891 ], [ 891, 892 ], [ 826, 893 ], [ 893, 894 ], [ 893, 895 ], [ 895, 896 ], [ 896, 897 ], [ 896, 898 ], [ 895, 899 ], [ 899, 900 ], [ 900, 901 ], [ 900, 902 ], [ 902, 903 ], [ 903, 904 ], [ 904, 905 ], [ 899, 906 ], [ 906, 907 ], [ 907, 908 ], [ 907, 909 ], [ 909, 910 ], [ 910, 911 ], [ 895, 912 ], [ 912, 913 ], [ 0, 914 ], [ 914, 915 ], [ 914, 916 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.lang.*;\n\npublic class Main {\n public static MyScanner scan;\n public static PrintWriter out;\n public static void main(String[] args) {\n scan=new MyScanner();\n out=new PrintWriter(new BufferedOutputStream(System.out));\n\n int t=1;\n// int t=scan.nextInt();\n while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }\n out.close();\n }\n\n //-----------------------------------------------------COMP-SPACE-----------------------------------------------------\n\n\n\n //--------------------------------------------------------------------------------------------------------------------\n\n //node\n static class Node implements Comparable<Node> {\n public int x,y;\n public Node(int x,int y) {\n this.x=x;\n this.y=y;\n }\n\n public int compareTo(Node other) {\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }\n\n public boolean equals(Node other) {\n return this.x==other.x;\n }\n\n// public int compareTo(Node other) {\n// if(this.y==other.y) return 0;\n// else if(this.y>other.y) return 1;\n// else return -1;\n// }\n//\n// public boolean equals(Node other) {\n// return this.y==other.y;\n// }\n }\n //edge\n static class Edge implements Comparable<Edge> {\n public Node a,b;\n public int weight;\n\n public Edge(Node a,Node b,int weight) {\n this.a=a;\n this.b=b;\n this.weight=weight;\n }\n\n public int compareTo(Edge other) {\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }\n }\n\n //util\n public static int gcd(int a, int b) {\n if (b == 0)\n return a;\n if (a == 0)\n return b;\n return (a > b) ? gcd(a % b, b) : gcd(a, b % a);\n }\n\n public static int lcm(int a, int b) {\n return a * b / gcd(a, b);\n }\n\n public static int min(int a,int b) {\n if(a<=b) return a;\n else return b;\n }\n\n public static int max(int a,int b) {\n if(a>=b) return a;\n else return b;\n }\n\n public static int abs(int a) {\n if(a<0) return a*-1;\n else return a;\n }\n\n public static ArrayList<Integer> getPrimes(int n) {\n boolean prime[]=new boolean[n+1];\n Arrays.fill(prime,true);\n for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }\n ArrayList<Integer> primeNumbers=new ArrayList<Integer>();\n for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }\n return primeNumbers;\n }\n\n public static boolean isPrime(int a) {\n if (a == 0 || a == 1) {\n return false;\n }\n if (a == 2) {\n return true;\n }\n for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static ArrayList<Integer> getDivisors(int n) {\n ArrayList<Integer> div = new ArrayList<Integer>();\n for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }\n return div;\n }\n\n //scanner\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 static int[] nextIntArray(int n) {\n int[] a=new int[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static Integer[] nextIntegerArray(int n) {\n Integer[] a=new Integer[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static int[][] nextIntMatrix(int n,int m) {\n int[][] a=new int[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n public static Integer[][] nextIntegerMatrix(int n,int m) {\n Integer[][] a=new Integer[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n //print\n public static void printIntArray(int[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntegerArray(Integer[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntMatrix(int[][] a) {\n for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void printIntegerMatrix(Integer[][] a) {\n for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void help(int t,int n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,String n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,char[] n) { out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \"); for(char c:n) out.print(c+\" \"); out.println(); }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.lang.*;", "lang.*", "java", "public class Main {\n public static MyScanner scan;\n public static PrintWriter out;\n public static void main(String[] args) {\n scan=new MyScanner();\n out=new PrintWriter(new BufferedOutputStream(System.out));\n\n int t=1;\n// int t=scan.nextInt();\n while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }\n out.close();\n }\n\n //-----------------------------------------------------COMP-SPACE-----------------------------------------------------\n\n\n\n //--------------------------------------------------------------------------------------------------------------------\n\n //node\n static class Node implements Comparable<Node> {\n public int x,y;\n public Node(int x,int y) {\n this.x=x;\n this.y=y;\n }\n\n public int compareTo(Node other) {\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }\n\n public boolean equals(Node other) {\n return this.x==other.x;\n }\n\n// public int compareTo(Node other) {\n// if(this.y==other.y) return 0;\n// else if(this.y>other.y) return 1;\n// else return -1;\n// }\n//\n// public boolean equals(Node other) {\n// return this.y==other.y;\n// }\n }\n //edge\n static class Edge implements Comparable<Edge> {\n public Node a,b;\n public int weight;\n\n public Edge(Node a,Node b,int weight) {\n this.a=a;\n this.b=b;\n this.weight=weight;\n }\n\n public int compareTo(Edge other) {\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }\n }\n\n //util\n public static int gcd(int a, int b) {\n if (b == 0)\n return a;\n if (a == 0)\n return b;\n return (a > b) ? gcd(a % b, b) : gcd(a, b % a);\n }\n\n public static int lcm(int a, int b) {\n return a * b / gcd(a, b);\n }\n\n public static int min(int a,int b) {\n if(a<=b) return a;\n else return b;\n }\n\n public static int max(int a,int b) {\n if(a>=b) return a;\n else return b;\n }\n\n public static int abs(int a) {\n if(a<0) return a*-1;\n else return a;\n }\n\n public static ArrayList<Integer> getPrimes(int n) {\n boolean prime[]=new boolean[n+1];\n Arrays.fill(prime,true);\n for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }\n ArrayList<Integer> primeNumbers=new ArrayList<Integer>();\n for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }\n return primeNumbers;\n }\n\n public static boolean isPrime(int a) {\n if (a == 0 || a == 1) {\n return false;\n }\n if (a == 2) {\n return true;\n }\n for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static ArrayList<Integer> getDivisors(int n) {\n ArrayList<Integer> div = new ArrayList<Integer>();\n for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }\n return div;\n }\n\n //scanner\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 static int[] nextIntArray(int n) {\n int[] a=new int[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static Integer[] nextIntegerArray(int n) {\n Integer[] a=new Integer[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static int[][] nextIntMatrix(int n,int m) {\n int[][] a=new int[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n public static Integer[][] nextIntegerMatrix(int n,int m) {\n Integer[][] a=new Integer[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n //print\n public static void printIntArray(int[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntegerArray(Integer[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntMatrix(int[][] a) {\n for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void printIntegerMatrix(Integer[][] a) {\n for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void help(int t,int n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,String n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,char[] n) { out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \"); for(char c:n) out.print(c+\" \"); out.println(); }\n}", "Main", "public static MyScanner scan;", "scan", "public static PrintWriter out;", "out", "public static void main(String[] args) {\n scan=new MyScanner();\n out=new PrintWriter(new BufferedOutputStream(System.out));\n\n int t=1;\n// int t=scan.nextInt();\n while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }\n out.close();\n }", "main", "{\n scan=new MyScanner();\n out=new PrintWriter(new BufferedOutputStream(System.out));\n\n int t=1;\n// int t=scan.nextInt();\n while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }\n out.close();\n }", "scan=new MyScanner()", "scan", "new MyScanner()", "out=new PrintWriter(new BufferedOutputStream(System.out))", "out", "new PrintWriter(new BufferedOutputStream(System.out))", "int t=1;", "t", "1", "while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }", "t-->0", "t--", "t", "0", "{\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }", "int n=scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "int ac=0", "ac", "0", "tle=0", "tle", "0", "wa=0", "wa", "0", "re=0;", "re", "0", "while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }", "n-->0", "n--", "n", "0", "{\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }", "String s=scan.nextLine();", "s", "scan.nextLine()", "scan.nextLine", "scan", "if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "ac++", "ac", "if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "tle++", "tle", "if(s.equals(\"WA\")) wa++;\n else re++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "wa++", "wa", "re++", "re", "out.println(\"AC x \"+ac)", "out.println", "out", "\"AC x \"+ac", "\"AC x \"", "ac", "out.println(\"WA x \"+wa)", "out.println", "out", "\"WA x \"+wa", "\"WA x \"", "wa", "out.println(\"TLE x \"+tle)", "out.println", "out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "out.println(\"RE x \"+re)", "out.println", "out", "\"RE x \"+re", "\"RE x \"", "re", "out.close()", "out.close", "out", "String[] args", "args", "//util\n public static int gcd(int a, int b) {\n if (b == 0)\n return a;\n if (a == 0)\n return b;\n return (a > b) ? gcd(a % b, b) : gcd(a, b % a);\n }", "gcd", "{\n if (b == 0)\n return a;\n if (a == 0)\n return b;\n return (a > b) ? gcd(a % b, b) : gcd(a, b % a);\n }", "if (b == 0)\n return a;", "b == 0", "b", "0", "return a;", "a", "if (a == 0)\n return b;", "a == 0", "a", "0", "return b;", "b", "return (a > b) ? gcd(a % b, b) : gcd(a, b % a);", "(a > b) ? gcd(a % b, b) : gcd(a, b % a)", "(a > b)", "a", "b", "gcd(a % b, b)", "gcd", "a % b", "a", "b", "b", "gcd(a, b % a)", "gcd", "a", "b % a", "b", "a", "int a", "a", "int b", "b", "public static int lcm(int a, int b) {\n return a * b / gcd(a, b);\n }", "lcm", "{\n return a * b / gcd(a, b);\n }", "return a * b / gcd(a, b);", "a * b / gcd(a, b)", "a * b", "a", "b", "gcd(a, b)", "gcd", "a", "b", "int a", "a", "int b", "b", "public static int min(int a,int b) {\n if(a<=b) return a;\n else return b;\n }", "min", "{\n if(a<=b) return a;\n else return b;\n }", "if(a<=b) return a;\n else return b;", "a<=b", "a", "b", "return a;", "a", "return b;", "b", "int a", "a", "int b", "b", "public static int max(int a,int b) {\n if(a>=b) return a;\n else return b;\n }", "max", "{\n if(a>=b) return a;\n else return b;\n }", "if(a>=b) return a;\n else return b;", "a>=b", "a", "b", "return a;", "a", "return b;", "b", "int a", "a", "int b", "b", "public static int abs(int a) {\n if(a<0) return a*-1;\n else return a;\n }", "abs", "{\n if(a<0) return a*-1;\n else return a;\n }", "if(a<0) return a*-1;\n else return a;", "a<0", "a", "0", "return a*-1;", "a*-1", "a", "-1", "1", "return a;", "a", "int a", "a", "public static ArrayList<Integer> getPrimes(int n) {\n boolean prime[]=new boolean[n+1];\n Arrays.fill(prime,true);\n for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }\n ArrayList<Integer> primeNumbers=new ArrayList<Integer>();\n for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }\n return primeNumbers;\n }", "getPrimes", "{\n boolean prime[]=new boolean[n+1];\n Arrays.fill(prime,true);\n for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }\n ArrayList<Integer> primeNumbers=new ArrayList<Integer>();\n for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }\n return primeNumbers;\n }", "boolean prime[]=new boolean[n+1];", "prime", "new boolean[n+1]", "n+1", "n", "1", "Arrays.fill(prime,true)", "Arrays.fill", "Arrays", "prime", "true", "for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }", "int p=2;", "int p=2;", "p", "2", "p*p<=n", "p*p", "p", "p", "n", "p++", "p++", "p", "{\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }", "{\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }", "if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }", "prime[p]", "prime", "p", "{\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }", "for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }", "int i=p*2;", "int i=p*2;", "i", "p*2", "p", "2", "i<=n", "i", "n", "i+=p", "i+=p", "i", "p", "{\n prime[i]=false;\n }", "{\n prime[i]=false;\n }", "prime[i]=false", "prime[i]", "prime", "i", "false", "ArrayList<Integer> primeNumbers=new ArrayList<Integer>();", "primeNumbers", "new ArrayList<Integer>()", "for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }", "int i = 2;", "int i = 2;", "i", "2", "i <= n", "i", "n", "i++", "i++", "i", "{\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }", "{\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }", "if (prime[i]) {\n primeNumbers.add(i);\n }", "prime[i]", "prime", "i", "{\n primeNumbers.add(i);\n }", "primeNumbers.add(i)", "primeNumbers.add", "primeNumbers", "i", "return primeNumbers;", "primeNumbers", "int n", "n", "public static boolean isPrime(int a) {\n if (a == 0 || a == 1) {\n return false;\n }\n if (a == 2) {\n return true;\n }\n for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }\n return true;\n }", "isPrime", "{\n if (a == 0 || a == 1) {\n return false;\n }\n if (a == 2) {\n return true;\n }\n for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }\n return true;\n }", "if (a == 0 || a == 1) {\n return false;\n }", "a == 0 || a == 1", "a == 0", "a", "0", "a == 1", "a", "1", "{\n return false;\n }", "return false;", "false", "if (a == 2) {\n return true;\n }", "a == 2", "a", "2", "{\n return true;\n }", "return true;", "true", "for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }", "int i = 2;", "int i = 2;", "i", "2", "i < Math.sqrt(a) + 1", "i", "Math.sqrt(a) + 1", "Math.sqrt(a)", "Math.sqrt", "Math", "a", "1", "i++", "i++", "i", "{\n if (a % i == 0) {\n return false;\n }\n }", "{\n if (a % i == 0) {\n return false;\n }\n }", "if (a % i == 0) {\n return false;\n }", "a % i == 0", "a % i", "a", "i", "0", "{\n return false;\n }", "return false;", "false", "return true;", "true", "int a", "a", "public static ArrayList<Integer> getDivisors(int n) {\n ArrayList<Integer> div = new ArrayList<Integer>();\n for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }\n return div;\n }", "getDivisors", "{\n ArrayList<Integer> div = new ArrayList<Integer>();\n for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }\n return div;\n }", "ArrayList<Integer> div = new ArrayList<Integer>();", "div", "new ArrayList<Integer>()", "for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }", "int i=1;", "int i=1;", "i", "1", "i*i<=n", "i*i", "i", "i", "n", "i++", "i++", "i", "{\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }", "{\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }", "if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }", "n%i==0", "n%i", "n", "i", "0", "{\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }", "div.add(i)", "div.add", "div", "i", "if (n/i!=i)\n div.add(n/i);", "n/i!=i", "n/i", "n", "i", "i", "div.add(n/i)", "div.add", "div", "n/i", "n", "i", "return div;", "div", "int n", "n", "public static int[] nextIntArray(int n) {\n int[] a=new int[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a=new int[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }", "int[] a=new int[n];", "a", "new int[n]", "n", "for(int c=0;c<n;c++) a[c]=scan.nextInt();", "int c=0;", "int c=0;", "c", "0", "c<n", "c", "n", "c++", "c++", "c", "a[c]=scan.nextInt();", "a[c]=scan.nextInt()", "a[c]", "a", "c", "scan.nextInt()", "scan.nextInt", "scan", "return a;", "a", "int n", "n", "public static Integer[] nextIntegerArray(int n) {\n Integer[] a=new Integer[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }", "nextIntegerArray", "{\n Integer[] a=new Integer[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }", "Integer[] a=new Integer[n];", "a", "new Integer[n]", "n", "for(int c=0;c<n;c++) a[c]=scan.nextInt();", "int c=0;", "int c=0;", "c", "0", "c<n", "c", "n", "c++", "c++", "c", "a[c]=scan.nextInt();", "a[c]=scan.nextInt()", "a[c]", "a", "c", "scan.nextInt()", "scan.nextInt", "scan", "return a;", "a", "int n", "n", "public static int[][] nextIntMatrix(int n,int m) {\n int[][] a=new int[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }", "nextIntMatrix", "{\n int[][] a=new int[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }", "int[][] a=new int[n][m];", "a", "new int[n][m]", "n", "m", "for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "for(int j=0;j<m;j++) a[i][j]=scan.nextInt();", "for(int j=0;j<m;j++) a[i][j]=scan.nextInt();", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "a[i][j]=scan.nextInt();", "a[i][j]=scan.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "return a;", "a", "int n", "n", "int m", "m", "public static Integer[][] nextIntegerMatrix(int n,int m) {\n Integer[][] a=new Integer[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }", "nextIntegerMatrix", "{\n Integer[][] a=new Integer[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }", "Integer[][] a=new Integer[n][m];", "a", "new Integer[n][m]", "n", "m", "for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "for(int j=0;j<m;j++) a[i][j]=scan.nextInt();", "for(int j=0;j<m;j++) a[i][j]=scan.nextInt();", "int j=0;", "int j=0;", "j", "0", "j<m", "j", "m", "j++", "j++", "j", "a[i][j]=scan.nextInt();", "a[i][j]=scan.nextInt()", "a[i][j]", "a[i]", "a", "i", "j", "scan.nextInt()", "scan.nextInt", "scan", "return a;", "a", "int n", "n", "int m", "m", "//print\n public static void printIntArray(int[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }", "printIntArray", "{\n for(int c:a) out.print(c+\" \");\n out.println();\n }", "for(int c:a) out.print(c+\" \");", "int c", "a", "out.print(c+\" \");", "out.print(c+\" \")", "out.print", "out", "c+\" \"", "c", "\" \"", "out.println()", "out.println", "out", "int[] a", "a", "public static void printIntegerArray(Integer[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }", "printIntegerArray", "{\n for(int c:a) out.print(c+\" \");\n out.println();\n }", "for(int c:a) out.print(c+\" \");", "int c", "a", "out.print(c+\" \");", "out.print(c+\" \")", "out.print", "out", "c+\" \"", "c", "\" \"", "out.println()", "out.println", "out", "Integer[] a", "a", "public static void printIntMatrix(int[][] a) {\n for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }\n }", "printIntMatrix", "{\n for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }\n }", "for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }", "int[] i", "a", "{\n for(int j:i) out.print(j+\" \");\n out.println();\n }", "{\n for(int j:i) out.print(j+\" \");\n out.println();\n }", "for(int j:i) out.print(j+\" \");", "int j", "i", "out.print(j+\" \");", "out.print(j+\" \")", "out.print", "out", "j+\" \"", "j", "\" \"", "out.println()", "out.println", "out", "int[][] a", "a", "public static void printIntegerMatrix(Integer[][] a) {\n for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }\n }", "printIntegerMatrix", "{\n for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }\n }", "for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }", "Integer[] i", "a", "{\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }", "{\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }", "for(Integer j:i) out.print(j+\" \");", "Integer j", "i", "out.print(j+\" \");", "out.print(j+\" \")", "out.print", "out", "j+\" \"", "j", "\" \"", "out.println()", "out.println", "out", "Integer[][] a", "a", "public static void help(int t,int n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }", "help", "{ out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }", "out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n)", "out.println", "out", "\"Test Case: \"+(t+1)+\" | Variable Output: \"+n", "\" | Variable Output: \"", "\"Test Case: \"+(t+1)+\" | Variable Output: \"+n", "\"Test Case: \"", "(t+1)", "t", "1", "\" | Variable Output: \"", "n", "int t", "t", "int n", "n", "public static void help(int t,String n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }", "help", "{ out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }", "out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n)", "out.println", "out", "\"Test Case: \"+(t+1)+\" | Variable Output: \"+n", "\" | Variable Output: \"", "\"Test Case: \"+(t+1)+\" | Variable Output: \"+n", "\"Test Case: \"", "(t+1)", "t", "1", "\" | Variable Output: \"", "n", "int t", "t", "String n", "n", "public static void help(int t,char[] n) { out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \"); for(char c:n) out.print(c+\" \"); out.println(); }", "help", "{ out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \"); for(char c:n) out.print(c+\" \"); out.println(); }", "out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \")", "out.print", "out", "\"Test Case: \"+(t+1)+\" | Variable Output: \"", "\"Test Case: \"+(t+1)+\" | Variable Output: \"", "\"Test Case: \"", "(t+1)", "t", "1", "\" | Variable Output: \"", "for(char c:n) out.print(c+\" \");", "char c", "n", "out.print(c+\" \");", "out.print(c+\" \")", "out.print", "out", "c+\" \"", "c", "\" \"", "out.println()", "out.println", "out", "int t", "t", "char[] n", "n", "static class Node implements Comparable<Node> {\n public int x,y;\n public Node(int x,int y) {\n this.x=x;\n this.y=y;\n }\n\n public int compareTo(Node other) {\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }\n\n public boolean equals(Node other) {\n return this.x==other.x;\n }\n\n// public int compareTo(Node other) {\n// if(this.y==other.y) return 0;\n// else if(this.y>other.y) return 1;\n// else return -1;\n// }\n//\n// public boolean equals(Node other) {\n// return this.y==other.y;\n// }\n }", "Node", "public int x", "x", "y;", "y", "public Node(int x,int y) {\n this.x=x;\n this.y=y;\n }", "Node", "{\n this.x=x;\n this.y=y;\n }", "this.x=x", "this.x", "this", "this.x", "x", "this.y=y", "this.y", "this", "this.y", "y", "int x", "x", "int y", "y", "public int compareTo(Node other) {\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }", "compareTo", "{\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }", "if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;", "this.x==other.x", "this.x", "this", "this.x", "other.x", "other", "other.x", "return 0;", "0", "if(this.x>other.x) return 1;\n else return -1;", "this.x>other.x", "this.x", "this", "this.x", "other.x", "other", "other.x", "return 1;", "1", "return -1;", "-1", "1", "Node other", "other", "public boolean equals(Node other) {\n return this.x==other.x;\n }", "equals", "{\n return this.x==other.x;\n }", "return this.x==other.x;", "this.x==other.x", "this.x", "this", "this.x", "other.x", "other", "other.x", "Node other", "other", "Comparable", "static class Edge implements Comparable<Edge> {\n public Node a,b;\n public int weight;\n\n public Edge(Node a,Node b,int weight) {\n this.a=a;\n this.b=b;\n this.weight=weight;\n }\n\n public int compareTo(Edge other) {\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }\n }", "Edge", "public Node a", "a", "b;", "b", "public int weight;", "weight", "public Edge(Node a,Node b,int weight) {\n this.a=a;\n this.b=b;\n this.weight=weight;\n }", "Edge", "{\n this.a=a;\n this.b=b;\n this.weight=weight;\n }", "this.a=a", "this.a", "this", "this.a", "a", "this.b=b", "this.b", "this", "this.b", "b", "this.weight=weight", "this.weight", "this", "this.weight", "weight", "Node a", "a", "Node b", "b", "int weight", "weight", "public int compareTo(Edge other) {\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }", "compareTo", "{\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }", "if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;", "this.weight==other.weight", "this.weight", "this", "this.weight", "other.weight", "other", "other.weight", "return 0;", "0", "if(this.weight>other.weight) return 1;\n else return -1;", "this.weight>other.weight", "this.weight", "this", "this.weight", "other.weight", "other", "other.weight", "return 1;", "1", "return -1;", "-1", "1", "Edge other", "other", "Comparable", "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 }", "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 public static MyScanner scan;\n public static PrintWriter out;\n public static void main(String[] args) {\n scan=new MyScanner();\n out=new PrintWriter(new BufferedOutputStream(System.out));\n\n int t=1;\n// int t=scan.nextInt();\n while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }\n out.close();\n }\n\n //-----------------------------------------------------COMP-SPACE-----------------------------------------------------\n\n\n\n //--------------------------------------------------------------------------------------------------------------------\n\n //node\n static class Node implements Comparable<Node> {\n public int x,y;\n public Node(int x,int y) {\n this.x=x;\n this.y=y;\n }\n\n public int compareTo(Node other) {\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }\n\n public boolean equals(Node other) {\n return this.x==other.x;\n }\n\n// public int compareTo(Node other) {\n// if(this.y==other.y) return 0;\n// else if(this.y>other.y) return 1;\n// else return -1;\n// }\n//\n// public boolean equals(Node other) {\n// return this.y==other.y;\n// }\n }\n //edge\n static class Edge implements Comparable<Edge> {\n public Node a,b;\n public int weight;\n\n public Edge(Node a,Node b,int weight) {\n this.a=a;\n this.b=b;\n this.weight=weight;\n }\n\n public int compareTo(Edge other) {\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }\n }\n\n //util\n public static int gcd(int a, int b) {\n if (b == 0)\n return a;\n if (a == 0)\n return b;\n return (a > b) ? gcd(a % b, b) : gcd(a, b % a);\n }\n\n public static int lcm(int a, int b) {\n return a * b / gcd(a, b);\n }\n\n public static int min(int a,int b) {\n if(a<=b) return a;\n else return b;\n }\n\n public static int max(int a,int b) {\n if(a>=b) return a;\n else return b;\n }\n\n public static int abs(int a) {\n if(a<0) return a*-1;\n else return a;\n }\n\n public static ArrayList<Integer> getPrimes(int n) {\n boolean prime[]=new boolean[n+1];\n Arrays.fill(prime,true);\n for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }\n ArrayList<Integer> primeNumbers=new ArrayList<Integer>();\n for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }\n return primeNumbers;\n }\n\n public static boolean isPrime(int a) {\n if (a == 0 || a == 1) {\n return false;\n }\n if (a == 2) {\n return true;\n }\n for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static ArrayList<Integer> getDivisors(int n) {\n ArrayList<Integer> div = new ArrayList<Integer>();\n for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }\n return div;\n }\n\n //scanner\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 static int[] nextIntArray(int n) {\n int[] a=new int[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static Integer[] nextIntegerArray(int n) {\n Integer[] a=new Integer[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static int[][] nextIntMatrix(int n,int m) {\n int[][] a=new int[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n public static Integer[][] nextIntegerMatrix(int n,int m) {\n Integer[][] a=new Integer[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n //print\n public static void printIntArray(int[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntegerArray(Integer[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntMatrix(int[][] a) {\n for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void printIntegerMatrix(Integer[][] a) {\n for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void help(int t,int n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,String n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,char[] n) { out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \"); for(char c:n) out.print(c+\" \"); out.println(); }\n}", "public class Main {\n public static MyScanner scan;\n public static PrintWriter out;\n public static void main(String[] args) {\n scan=new MyScanner();\n out=new PrintWriter(new BufferedOutputStream(System.out));\n\n int t=1;\n// int t=scan.nextInt();\n while(t-->0) {\n\n int n=scan.nextInt();\n int ac=0,tle=0,wa=0,re=0;\n while(n-->0) {\n String s=scan.nextLine();\n if(s.equals(\"AC\")) ac++;\n else if(s.equals(\"TLE\")) tle++;\n else if(s.equals(\"WA\")) wa++;\n else re++;\n }\n out.println(\"AC x \"+ac);\n out.println(\"WA x \"+wa);\n out.println(\"TLE x \"+tle);\n out.println(\"RE x \"+re);\n }\n out.close();\n }\n\n //-----------------------------------------------------COMP-SPACE-----------------------------------------------------\n\n\n\n //--------------------------------------------------------------------------------------------------------------------\n\n //node\n static class Node implements Comparable<Node> {\n public int x,y;\n public Node(int x,int y) {\n this.x=x;\n this.y=y;\n }\n\n public int compareTo(Node other) {\n if(this.x==other.x) return 0;\n else if(this.x>other.x) return 1;\n else return -1;\n }\n\n public boolean equals(Node other) {\n return this.x==other.x;\n }\n\n// public int compareTo(Node other) {\n// if(this.y==other.y) return 0;\n// else if(this.y>other.y) return 1;\n// else return -1;\n// }\n//\n// public boolean equals(Node other) {\n// return this.y==other.y;\n// }\n }\n //edge\n static class Edge implements Comparable<Edge> {\n public Node a,b;\n public int weight;\n\n public Edge(Node a,Node b,int weight) {\n this.a=a;\n this.b=b;\n this.weight=weight;\n }\n\n public int compareTo(Edge other) {\n if(this.weight==other.weight) return 0;\n else if(this.weight>other.weight) return 1;\n else return -1;\n }\n }\n\n //util\n public static int gcd(int a, int b) {\n if (b == 0)\n return a;\n if (a == 0)\n return b;\n return (a > b) ? gcd(a % b, b) : gcd(a, b % a);\n }\n\n public static int lcm(int a, int b) {\n return a * b / gcd(a, b);\n }\n\n public static int min(int a,int b) {\n if(a<=b) return a;\n else return b;\n }\n\n public static int max(int a,int b) {\n if(a>=b) return a;\n else return b;\n }\n\n public static int abs(int a) {\n if(a<0) return a*-1;\n else return a;\n }\n\n public static ArrayList<Integer> getPrimes(int n) {\n boolean prime[]=new boolean[n+1];\n Arrays.fill(prime,true);\n for (int p=2;p*p<=n;p++) {\n if (prime[p]) {\n for (int i=p*2;i<=n;i+=p) {\n prime[i]=false;\n }\n }\n }\n ArrayList<Integer> primeNumbers=new ArrayList<Integer>();\n for (int i = 2; i <= n; i++) {\n if (prime[i]) {\n primeNumbers.add(i);\n }\n }\n return primeNumbers;\n }\n\n public static boolean isPrime(int a) {\n if (a == 0 || a == 1) {\n return false;\n }\n if (a == 2) {\n return true;\n }\n for (int i = 2; i < Math.sqrt(a) + 1; i++) {\n if (a % i == 0) {\n return false;\n }\n }\n return true;\n }\n\n public static ArrayList<Integer> getDivisors(int n) {\n ArrayList<Integer> div = new ArrayList<Integer>();\n for (int i=1;i*i<=n;i++) {\n if (n%i==0) {\n div.add(i);\n if (n/i!=i)\n div.add(n/i);\n }\n }\n return div;\n }\n\n //scanner\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 static int[] nextIntArray(int n) {\n int[] a=new int[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static Integer[] nextIntegerArray(int n) {\n Integer[] a=new Integer[n];\n for(int c=0;c<n;c++) a[c]=scan.nextInt();\n return a;\n }\n\n public static int[][] nextIntMatrix(int n,int m) {\n int[][] a=new int[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n public static Integer[][] nextIntegerMatrix(int n,int m) {\n Integer[][] a=new Integer[n][m];\n for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt();\n return a;\n }\n\n //print\n public static void printIntArray(int[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntegerArray(Integer[] a) {\n for(int c:a) out.print(c+\" \");\n out.println();\n }\n\n public static void printIntMatrix(int[][] a) {\n for(int[] i:a) {\n for(int j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void printIntegerMatrix(Integer[][] a) {\n for(Integer[] i:a) {\n for(Integer j:i) out.print(j+\" \");\n out.println();\n }\n }\n\n public static void help(int t,int n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,String n) { out.println(\"Test Case: \"+(t+1)+\" | Variable Output: \"+n); }\n public static void help(int t,char[] n) { out.print(\"Test Case: \"+(t+1)+\" | Variable Output: \"); for(char c:n) out.print(c+\" \"); out.println(); }\n}", "Main" ]
import java.io.*; import java.util.*; import java.lang.*; public class Main { public static MyScanner scan; public static PrintWriter out; public static void main(String[] args) { scan=new MyScanner(); out=new PrintWriter(new BufferedOutputStream(System.out)); int t=1; // int t=scan.nextInt(); while(t-->0) { int n=scan.nextInt(); int ac=0,tle=0,wa=0,re=0; while(n-->0) { String s=scan.nextLine(); if(s.equals("AC")) ac++; else if(s.equals("TLE")) tle++; else if(s.equals("WA")) wa++; else re++; } out.println("AC x "+ac); out.println("WA x "+wa); out.println("TLE x "+tle); out.println("RE x "+re); } out.close(); } //-----------------------------------------------------COMP-SPACE----------------------------------------------------- //-------------------------------------------------------------------------------------------------------------------- //node static class Node implements Comparable<Node> { public int x,y; public Node(int x,int y) { this.x=x; this.y=y; } public int compareTo(Node other) { if(this.x==other.x) return 0; else if(this.x>other.x) return 1; else return -1; } public boolean equals(Node other) { return this.x==other.x; } // public int compareTo(Node other) { // if(this.y==other.y) return 0; // else if(this.y>other.y) return 1; // else return -1; // } // // public boolean equals(Node other) { // return this.y==other.y; // } } //edge static class Edge implements Comparable<Edge> { public Node a,b; public int weight; public Edge(Node a,Node b,int weight) { this.a=a; this.b=b; this.weight=weight; } public int compareTo(Edge other) { if(this.weight==other.weight) return 0; else if(this.weight>other.weight) return 1; else return -1; } } //util public static int gcd(int a, int b) { if (b == 0) return a; if (a == 0) return b; return (a > b) ? gcd(a % b, b) : gcd(a, b % a); } public static int lcm(int a, int b) { return a * b / gcd(a, b); } public static int min(int a,int b) { if(a<=b) return a; else return b; } public static int max(int a,int b) { if(a>=b) return a; else return b; } public static int abs(int a) { if(a<0) return a*-1; else return a; } public static ArrayList<Integer> getPrimes(int n) { boolean prime[]=new boolean[n+1]; Arrays.fill(prime,true); for (int p=2;p*p<=n;p++) { if (prime[p]) { for (int i=p*2;i<=n;i+=p) { prime[i]=false; } } } ArrayList<Integer> primeNumbers=new ArrayList<Integer>(); for (int i = 2; i <= n; i++) { if (prime[i]) { primeNumbers.add(i); } } return primeNumbers; } public static boolean isPrime(int a) { if (a == 0 || a == 1) { return false; } if (a == 2) { return true; } for (int i = 2; i < Math.sqrt(a) + 1; i++) { if (a % i == 0) { return false; } } return true; } public static ArrayList<Integer> getDivisors(int n) { ArrayList<Integer> div = new ArrayList<Integer>(); for (int i=1;i*i<=n;i++) { if (n%i==0) { div.add(i); if (n/i!=i) div.add(n/i); } } return div; } //scanner 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; } } public static int[] nextIntArray(int n) { int[] a=new int[n]; for(int c=0;c<n;c++) a[c]=scan.nextInt(); return a; } public static Integer[] nextIntegerArray(int n) { Integer[] a=new Integer[n]; for(int c=0;c<n;c++) a[c]=scan.nextInt(); return a; } public static int[][] nextIntMatrix(int n,int m) { int[][] a=new int[n][m]; for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt(); return a; } public static Integer[][] nextIntegerMatrix(int n,int m) { Integer[][] a=new Integer[n][m]; for(int i=0;i<n;i++) for(int j=0;j<m;j++) a[i][j]=scan.nextInt(); return a; } //print public static void printIntArray(int[] a) { for(int c:a) out.print(c+" "); out.println(); } public static void printIntegerArray(Integer[] a) { for(int c:a) out.print(c+" "); out.println(); } public static void printIntMatrix(int[][] a) { for(int[] i:a) { for(int j:i) out.print(j+" "); out.println(); } } public static void printIntegerMatrix(Integer[][] a) { for(Integer[] i:a) { for(Integer j:i) out.print(j+" "); out.println(); } } public static void help(int t,int n) { out.println("Test Case: "+(t+1)+" | Variable Output: "+n); } public static void help(int t,String n) { out.println("Test Case: "+(t+1)+" | Variable Output: "+n); } public static void help(int t,char[] n) { out.print("Test Case: "+(t+1)+" | Variable Output: "); for(char c:n) out.print(c+" "); out.println(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 112, 5 ], [ 112, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 8, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 6, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int AC=0,WA=0,TLE=0,RE=0;\n String str = null;\n for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }\n System.out.println(\"AC x \"+AC);\n System.out.println(\"WA x \"+WA);\n System.out.println(\"TLE x \"+TLE);\n System.out.println(\"RE x \"+RE);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int AC=0,WA=0,TLE=0,RE=0;\n String str = null;\n for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }\n System.out.println(\"AC x \"+AC);\n System.out.println(\"WA x \"+WA);\n System.out.println(\"TLE x \"+TLE);\n System.out.println(\"RE x \"+RE);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int AC=0,WA=0,TLE=0,RE=0;\n String str = null;\n for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }\n System.out.println(\"AC x \"+AC);\n System.out.println(\"WA x \"+WA);\n System.out.println(\"TLE x \"+TLE);\n System.out.println(\"RE x \"+RE);\n }", "main", "{\n \n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int AC=0,WA=0,TLE=0,RE=0;\n String str = null;\n for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }\n System.out.println(\"AC x \"+AC);\n System.out.println(\"WA x \"+WA);\n System.out.println(\"TLE x \"+TLE);\n System.out.println(\"RE x \"+RE);\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int N = scanner.nextInt();", "N", "scanner.nextInt()", "scanner.nextInt", "scanner", "int AC=0", "AC", "0", "WA=0", "WA", "0", "TLE=0", "TLE", "0", "RE=0;", "RE", "0", "String str = null;", "str", "null", "for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }", "{\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }", "str = scanner.next()", "str", "scanner.next()", "scanner.next", "scanner", "if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "{\n AC++;\n }", "AC++", "AC", "if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "{\n WA++;\n }", "WA++", "WA", "if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "{\n TLE++;\n }", "TLE++", "TLE", "{\n RE++;\n }", "RE++", "RE", "System.out.println(\"AC x \"+AC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+AC", "\"AC x \"", "AC", "System.out.println(\"WA x \"+WA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+WA", "\"WA x \"", "WA", "System.out.println(\"TLE x \"+TLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+TLE", "\"TLE x \"", "TLE", "System.out.println(\"RE x \"+RE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+RE", "\"RE x \"", "RE", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int AC=0,WA=0,TLE=0,RE=0;\n String str = null;\n for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }\n System.out.println(\"AC x \"+AC);\n System.out.println(\"WA x \"+WA);\n System.out.println(\"TLE x \"+TLE);\n System.out.println(\"RE x \"+RE);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n \n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n int AC=0,WA=0,TLE=0,RE=0;\n String str = null;\n for(int i=0;i<N;i++){\n str = scanner.next();\n if(str.equals(\"AC\")){\n AC++;\n }else if(str.equals(\"WA\")){\n WA++;\n }else if(str.equals(\"TLE\")){\n TLE++;\n }else{\n RE++;\n }\n }\n System.out.println(\"AC x \"+AC);\n System.out.println(\"WA x \"+WA);\n System.out.println(\"TLE x \"+TLE);\n System.out.println(\"RE x \"+RE);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int AC=0,WA=0,TLE=0,RE=0; String str = null; for(int i=0;i<N;i++){ str = scanner.next(); if(str.equals("AC")){ AC++; }else if(str.equals("WA")){ WA++; }else if(str.equals("TLE")){ TLE++; }else{ RE++; } } System.out.println("AC x "+AC); System.out.println("WA x "+WA); System.out.println("TLE x "+TLE); System.out.println("RE x "+RE); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 130, 5 ], [ 130, 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, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 37, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 43, 48 ], [ 48, 49 ], [ 37, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 37, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 37, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 79, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 77, 83 ], [ 79, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 93, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 92, 96 ], [ 91, 97 ], [ 93, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 107, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 106, 110 ], [ 105, 111 ], [ 107, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 121, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 120, 124 ], [ 119, 125 ], [ 121, 126 ], [ 6, 127 ], [ 127, 128 ], [ 0, 129 ], [ 129, 130 ], [ 129, 131 ] ]
[ "import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\tsc.nextLine();\n\t\tint ac=0;\n\t\tint tle=0;\n\t\tint wa=0;\n\t\tint re=0;\n\t while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }\n\t \n\t System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t}\n\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\tint t=sc.nextInt();\n\t\tsc.nextLine();\n\t\tint ac=0;\n\t\tint tle=0;\n\t\tint wa=0;\n\t\tint re=0;\n\t while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }\n\t \n\t System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\tsc.nextLine();\n\t\tint ac=0;\n\t\tint tle=0;\n\t\tint wa=0;\n\t\tint re=0;\n\t while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }\n\t \n\t System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t}", "main", "{\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\tsc.nextLine();\n\t\tint ac=0;\n\t\tint tle=0;\n\t\tint wa=0;\n\t\tint re=0;\n\t while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }\n\t \n\t System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int t=sc.nextInt();", "t", "sc.nextInt()", "sc.nextInt", "sc", "sc.nextLine()", "sc.nextLine", "sc", "int ac=0;", "ac", "0", "int tle=0;", "tle", "0", "int wa=0;", "wa", "0", "int re=0;", "re", "0", "while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }", "t-->0", "t--", "t", "0", "{\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }", "String str=sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "if(str.equals(\"AC\")) ac++;", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "ac++", "ac", "if(str.equals(\"TLE\")) tle++;", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "tle++", "tle", "if(str.equals(\"WA\")) wa++;", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "wa++", "wa", "if(str.equals(\"RE\")) re++;", "str.equals(\"RE\")", "str.equals", "str", "\"RE\"", "re++", "re", "System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC\"+\" \"+\"x\"+\" \"+ac", "\" \"", "\"x\"", "\"AC\"+\" \"+\"x\"+\" \"+ac", "\"AC\"", "\" \"", "\"x\"", "\" \"", "ac", "System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA\"+\" \"+\"x\"+\" \"+wa", "\" \"", "\"x\"", "\"WA\"+\" \"+\"x\"+\" \"+wa", "\"WA\"", "\" \"", "\"x\"", "\" \"", "wa", "System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE\"+\" \"+\"x\"+\" \"+tle", "\" \"", "\"x\"", "\"TLE\"+\" \"+\"x\"+\" \"+tle", "\"TLE\"", "\" \"", "\"x\"", "\" \"", "tle", "System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE\"+\" \"+\"x\"+\" \"+re", "\" \"", "\"x\"", "\"RE\"+\" \"+\"x\"+\" \"+re", "\"RE\"", "\" \"", "\"x\"", "\" \"", "re", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\tsc.nextLine();\n\t\tint ac=0;\n\t\tint tle=0;\n\t\tint wa=0;\n\t\tint re=0;\n\t while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }\n\t \n\t System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc=new Scanner(System.in);\n\t\tint t=sc.nextInt();\n\t\tsc.nextLine();\n\t\tint ac=0;\n\t\tint tle=0;\n\t\tint wa=0;\n\t\tint re=0;\n\t while(t-->0) {\n\t \tString str=sc.nextLine();\n\t \tif(str.equals(\"AC\")) ac++;\n\t \tif(str.equals(\"TLE\")) tle++;\n\t \tif(str.equals(\"WA\")) wa++;\n\t \tif(str.equals(\"RE\")) re++;\n\t }\n\t \n\t System.out.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t System.out.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t System.out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t System.out.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int t=sc.nextInt(); sc.nextLine(); int ac=0; int tle=0; int wa=0; int re=0; while(t-->0) { String str=sc.nextLine(); if(str.equals("AC")) ac++; if(str.equals("TLE")) tle++; if(str.equals("WA")) wa++; if(str.equals("RE")) re++; } System.out.println("AC"+" "+"x"+" "+ac); System.out.println("WA"+" "+"x"+" "+wa); System.out.println("TLE"+" "+"x"+" "+tle); System.out.println("RE"+" "+"x"+" "+re); } }
[ 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, 4, 18, 13, 18, 13, 13, 30, 4, 18, 13, 18, 13, 13, 17, 30, 4, 18, 13, 18, 13, 13, 2, 4, 18, 13, 18, 13, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 17, 30, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 200, 5 ], [ 200, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 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 ], [ 64, 65 ], [ 65, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 74, 75 ], [ 74, 76 ], [ 71, 77 ], [ 60, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 82, 83 ], [ 82, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 85, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 95, 98 ], [ 94, 99 ], [ 93, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 93, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 8, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 120, 125 ], [ 119, 126 ], [ 126, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 129, 131 ], [ 127, 132 ], [ 119, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 134, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 8, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 146, 151 ], [ 145, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 145, 159 ], [ 159, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 162, 164 ], [ 160, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 8, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 172, 177 ], [ 171, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 179, 184 ], [ 171, 185 ], [ 185, 186 ], [ 186, 187 ], [ 187, 188 ], [ 188, 189 ], [ 188, 190 ], [ 186, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 193, 196 ], [ 6, 197 ], [ 197, 198 ], [ 0, 199 ], [ 199, 200 ], [ 199, 201 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.nextLine());\n String[] Sz = new String[N];\n for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }\n HashMap<String,Integer> map = new HashMap<String,Integer>();\n for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }\n if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }\n if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }\n if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }\n if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n \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 int N = Integer.parseInt(s.nextLine());\n String[] Sz = new String[N];\n for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }\n HashMap<String,Integer> map = new HashMap<String,Integer>();\n for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }\n if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }\n if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }\n if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }\n if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.nextLine());\n String[] Sz = new String[N];\n for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }\n HashMap<String,Integer> map = new HashMap<String,Integer>();\n for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }\n if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }\n if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }\n if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }\n if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n \n }", "main", "{\n Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.nextLine());\n String[] Sz = new String[N];\n for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }\n HashMap<String,Integer> map = new HashMap<String,Integer>();\n for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }\n if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }\n if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }\n if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }\n if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n \n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int N = Integer.parseInt(s.nextLine());", "N", "Integer.parseInt(s.nextLine())", "Integer.parseInt", "Integer", "s.nextLine()", "s.nextLine", "s", "String[] Sz = new String[N];", "Sz", "new String[N]", "N", "for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n Sz[i] = s.nextLine();\n }", "{\n Sz[i] = s.nextLine();\n }", "Sz[i] = s.nextLine()", "Sz[i]", "Sz", "i", "s.nextLine()", "s.nextLine", "s", "HashMap<String,Integer> map = new HashMap<String,Integer>();", "map", "new HashMap<String,Integer>()", "for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }", "{\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }", "if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }", "!map.keySet().contains(Sz[i])", "map.keySet().contains(Sz[i])", "map.keySet().contains", "map.keySet()", "map.keySet", "map", "Sz[i]", "Sz", "i", "{\n map.put(Sz[i],1);\n }", "map.put(Sz[i],1)", "map.put", "map", "Sz[i]", "Sz", "i", "1", "{\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }", "map.put(Sz[i],map.get(Sz[i]) + 1)", "map.put", "map", "Sz[i]", "Sz", "i", "map.get(Sz[i]) + 1", "map.get(Sz[i])", "map.get", "map", "Sz[i]", "Sz", "i", "1", "if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }", "map.get(\"AC\") == null", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "null", "{\n System.out.println(\"AC x 0\");\n }", "System.out.println(\"AC x 0\")", "System.out.println", "System.out", "System", "System.out", "\"AC x 0\"", "{\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }", "System.out.println(\"AC x \"+map.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+map.get(\"AC\")", "\"AC x \"", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }", "map.get(\"WA\") == null", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "null", "{\n System.out.println(\"WA x 0\");\n }", "System.out.println(\"WA x 0\")", "System.out.println", "System.out", "System", "System.out", "\"WA x 0\"", "{\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }", "System.out.println(\"WA x \"+map.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+map.get(\"WA\")", "\"WA x \"", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }", "map.get(\"TLE\") == null", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "null", "{\n System.out.println(\"TLE x 0\");\n }", "System.out.println(\"TLE x 0\")", "System.out.println", "System.out", "System", "System.out", "\"TLE x 0\"", "{\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }", "System.out.println(\"TLE x \"+map.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+map.get(\"TLE\")", "\"TLE x \"", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }", "map.get(\"RE\") == null", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "null", "{\n System.out.println(\"RE x 0\");\n }", "System.out.println(\"RE x 0\")", "System.out.println", "System.out", "System", "System.out", "\"RE x 0\"", "{\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }", "System.out.println(\"RE x \"+map.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+map.get(\"RE\")", "\"RE x \"", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.nextLine());\n String[] Sz = new String[N];\n for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }\n HashMap<String,Integer> map = new HashMap<String,Integer>();\n for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }\n if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }\n if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }\n if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }\n if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n \n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner s = new Scanner(System.in);\n int N = Integer.parseInt(s.nextLine());\n String[] Sz = new String[N];\n for (int i = 0; i < N; i++){\n Sz[i] = s.nextLine();\n }\n HashMap<String,Integer> map = new HashMap<String,Integer>();\n for (int i = 0; i < N; i++){\n if (!map.keySet().contains(Sz[i])){\n map.put(Sz[i],1);\n } else {\n map.put(Sz[i],map.get(Sz[i]) + 1);\n }\n }\n if (map.get(\"AC\") == null){\n System.out.println(\"AC x 0\");\n } else {\n System.out.println(\"AC x \"+map.get(\"AC\"));\n }\n if (map.get(\"WA\") == null){\n System.out.println(\"WA x 0\");\n } else {\n System.out.println(\"WA x \"+map.get(\"WA\"));\n }\n if (map.get(\"TLE\") == null){\n System.out.println(\"TLE x 0\");\n } else {\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n }\n if (map.get(\"RE\") == null){\n System.out.println(\"RE x 0\");\n } else {\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n \n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner s = new Scanner(System.in); int N = Integer.parseInt(s.nextLine()); String[] Sz = new String[N]; for (int i = 0; i < N; i++){ Sz[i] = s.nextLine(); } HashMap<String,Integer> map = new HashMap<String,Integer>(); for (int i = 0; i < N; i++){ if (!map.keySet().contains(Sz[i])){ map.put(Sz[i],1); } else { map.put(Sz[i],map.get(Sz[i]) + 1); } } if (map.get("AC") == null){ System.out.println("AC x 0"); } else { System.out.println("AC x "+map.get("AC")); } if (map.get("WA") == null){ System.out.println("WA x 0"); } else { System.out.println("WA x "+map.get("WA")); } if (map.get("TLE") == null){ System.out.println("TLE x 0"); } else { System.out.println("TLE x "+map.get("TLE")); } if (map.get("RE") == null){ System.out.println("RE x 0"); } else { System.out.println("RE x "+map.get("RE")); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 35, 4, 18, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 1, 3, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 120, 5 ], [ 120, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 42, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 42, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 42, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 42, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 42, 70 ], [ 70, 71 ], [ 71, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 8, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import 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 int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }\n\n System.out.println(\"AC x \" + String.valueOf(ac));\n System.out.println(\"WA x \" + String.valueOf(wa));\n System.out.println(\"TLE x \" + String.valueOf(tle));\n System.out.println(\"RE x \" + String.valueOf(re));\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }\n\n System.out.println(\"AC x \" + String.valueOf(ac));\n System.out.println(\"WA x \" + String.valueOf(wa));\n System.out.println(\"TLE x \" + String.valueOf(tle));\n System.out.println(\"RE x \" + String.valueOf(re));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }\n\n System.out.println(\"AC x \" + String.valueOf(ac));\n System.out.println(\"WA x \" + String.valueOf(wa));\n System.out.println(\"TLE x \" + String.valueOf(tle));\n System.out.println(\"RE x \" + String.valueOf(re));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }\n\n System.out.println(\"AC x \" + String.valueOf(ac));\n System.out.println(\"WA x \" + String.valueOf(wa));\n System.out.println(\"TLE x \" + String.valueOf(tle));\n System.out.println(\"RE x \" + String.valueOf(re));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }", "{\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }", "switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }", "sc.next()", "sc.next", "sc", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "re++", "re", "break;", "default:", "default:", "break;", "System.out.println(\"AC x \" + String.valueOf(ac))", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + String.valueOf(ac)", "\"AC x \"", "String.valueOf(ac)", "String.valueOf", "String", "ac", "System.out.println(\"WA x \" + String.valueOf(wa))", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + String.valueOf(wa)", "\"WA x \"", "String.valueOf(wa)", "String.valueOf", "String", "wa", "System.out.println(\"TLE x \" + String.valueOf(tle))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + String.valueOf(tle)", "\"TLE x \"", "String.valueOf(tle)", "String.valueOf", "String", "tle", "System.out.println(\"RE x \" + String.valueOf(re))", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + String.valueOf(re)", "\"RE x \"", "String.valueOf(re)", "String.valueOf", "String", "re", "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 int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }\n\n System.out.println(\"AC x \" + String.valueOf(ac));\n System.out.println(\"WA x \" + String.valueOf(wa));\n System.out.println(\"TLE x \" + String.valueOf(tle));\n System.out.println(\"RE x \" + String.valueOf(re));\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 int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n\n for(int i = 0; i < n; i++) {\n switch(sc.next()) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n default:\n break;\n }\n\n }\n\n System.out.println(\"AC x \" + String.valueOf(ac));\n System.out.println(\"WA x \" + String.valueOf(wa));\n System.out.println(\"TLE x \" + String.valueOf(tle));\n System.out.println(\"RE x \" + String.valueOf(re));\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 0; i < n; i++) { switch(sc.next()) { case "AC": ac++; break; case "WA": wa++; break; case "TLE": tle++; break; case "RE": re++; break; default: break; } } System.out.println("AC x " + String.valueOf(ac)); System.out.println("WA x " + String.valueOf(wa)); System.out.println("TLE x " + String.valueOf(tle)); System.out.println("RE x " + String.valueOf(re)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 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, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 143, 5 ], [ 143, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 8, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 53, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 68, 75 ], [ 75, 76 ], [ 76, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 78, 85 ], [ 85, 86 ], [ 86, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 88, 95 ], [ 95, 96 ], [ 96, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 98, 105 ], [ 105, 106 ], [ 106, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 8, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 8, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n \n int N=sc.nextInt();\n int acCount=0;\n int waCount=0;\n int tleCount=0;\n int reCount=0;\n \n String[] moziretu=new String[N];\n \n for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }\n \n for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }\n System.out.println(\"AC x \"+acCount);\n System.out.println(\"WA x \"+waCount);\n System.out.println(\"TLE x \"+tleCount);\n System.out.println(\"RE x \"+reCount);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n \n int N=sc.nextInt();\n int acCount=0;\n int waCount=0;\n int tleCount=0;\n int reCount=0;\n \n String[] moziretu=new String[N];\n \n for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }\n \n for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }\n System.out.println(\"AC x \"+acCount);\n System.out.println(\"WA x \"+waCount);\n System.out.println(\"TLE x \"+tleCount);\n System.out.println(\"RE x \"+reCount);\n\t}\n}", "Main", "public static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n \n int N=sc.nextInt();\n int acCount=0;\n int waCount=0;\n int tleCount=0;\n int reCount=0;\n \n String[] moziretu=new String[N];\n \n for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }\n \n for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }\n System.out.println(\"AC x \"+acCount);\n System.out.println(\"WA x \"+waCount);\n System.out.println(\"TLE x \"+tleCount);\n System.out.println(\"RE x \"+reCount);\n\t}", "main", "{\n Scanner sc=new Scanner(System.in);\n \n int N=sc.nextInt();\n int acCount=0;\n int waCount=0;\n int tleCount=0;\n int reCount=0;\n \n String[] moziretu=new String[N];\n \n for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }\n \n for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }\n System.out.println(\"AC x \"+acCount);\n System.out.println(\"WA x \"+waCount);\n System.out.println(\"TLE x \"+tleCount);\n System.out.println(\"RE x \"+reCount);\n\t}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N=sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int acCount=0;", "acCount", "0", "int waCount=0;", "waCount", "0", "int tleCount=0;", "tleCount", "0", "int reCount=0;", "reCount", "0", "String[] moziretu=new String[N];", "moziretu", "new String[N]", "N", "for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n moziretu[i]=sc.next(); \n }", "{\n moziretu[i]=sc.next(); \n }", "moziretu[i]=sc.next()", "moziretu[i]", "moziretu", "i", "sc.next()", "sc.next", "sc", "for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<moziretu.length", "i", "moziretu.length", "moziretu", "moziretu.length", "i++", "i++", "i", "{\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }", "{\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }", "if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }", "moziretu[i].equals(\"AC\")", "moziretu[i].equals", "moziretu[i]", "moziretu", "i", "\"AC\"", "{\n acCount++;\n }", "acCount++", "acCount", "if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }", "moziretu[i].equals(\"WA\")", "moziretu[i].equals", "moziretu[i]", "moziretu", "i", "\"WA\"", "{\n waCount++;\n }", "waCount++", "waCount", "if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }", "moziretu[i].equals(\"TLE\")", "moziretu[i].equals", "moziretu[i]", "moziretu", "i", "\"TLE\"", "{\n tleCount++;\n }", "tleCount++", "tleCount", "if(moziretu[i].equals(\"RE\")){\n reCount++;\n }", "moziretu[i].equals(\"RE\")", "moziretu[i].equals", "moziretu[i]", "moziretu", "i", "\"RE\"", "{\n reCount++;\n }", "reCount++", "reCount", "System.out.println(\"AC x \"+acCount)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+acCount", "\"AC x \"", "acCount", "System.out.println(\"WA x \"+waCount)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+waCount", "\"WA x \"", "waCount", "System.out.println(\"TLE x \"+tleCount)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tleCount", "\"TLE x \"", "tleCount", "System.out.println(\"RE x \"+reCount)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+reCount", "\"RE x \"", "reCount", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n \n int N=sc.nextInt();\n int acCount=0;\n int waCount=0;\n int tleCount=0;\n int reCount=0;\n \n String[] moziretu=new String[N];\n \n for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }\n \n for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }\n System.out.println(\"AC x \"+acCount);\n System.out.println(\"WA x \"+waCount);\n System.out.println(\"TLE x \"+tleCount);\n System.out.println(\"RE x \"+reCount);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n Scanner sc=new Scanner(System.in);\n \n int N=sc.nextInt();\n int acCount=0;\n int waCount=0;\n int tleCount=0;\n int reCount=0;\n \n String[] moziretu=new String[N];\n \n for(int i=0;i<N;i++){\n moziretu[i]=sc.next(); \n }\n \n for(int i=0;i<moziretu.length;i++){\n if(moziretu[i].equals(\"AC\")){\n acCount++;\n }else if(moziretu[i].equals(\"WA\")){\n waCount++;\n }else if(moziretu[i].equals(\"TLE\")){\n tleCount++;\n }else if(moziretu[i].equals(\"RE\")){\n reCount++;\n }\n }\n System.out.println(\"AC x \"+acCount);\n System.out.println(\"WA x \"+waCount);\n System.out.println(\"TLE x \"+tleCount);\n System.out.println(\"RE x \"+reCount);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc=new Scanner(System.in); int N=sc.nextInt(); int acCount=0; int waCount=0; int tleCount=0; int reCount=0; String[] moziretu=new String[N]; for(int i=0;i<N;i++){ moziretu[i]=sc.next(); } for(int i=0;i<moziretu.length;i++){ if(moziretu[i].equals("AC")){ acCount++; }else if(moziretu[i].equals("WA")){ waCount++; }else if(moziretu[i].equals("TLE")){ tleCount++; }else if(moziretu[i].equals("RE")){ reCount++; } } System.out.println("AC x "+acCount); System.out.println("WA x "+waCount); System.out.println("TLE x "+tleCount); System.out.println("RE x "+reCount); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 4, 18, 13, 41, 13, 20, 0, 13, 4, 13, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 17, 4, 18, 13, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 23, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 4, 18, 13, 17, 13, 4, 18, 13, 17, 13, 4, 18, 13, 17, 13, 4, 18, 13, 17, 13, 28, 13, 13, 30, 30, 35, 13, 34, 17, 1, 40, 13, 4, 18, 13, 17, 13, 3, 34, 17, 1, 40, 13, 4, 18, 13, 17, 13, 3, 34, 17, 1, 40, 13, 4, 18, 13, 17, 13, 3, 34, 17, 1, 40, 13, 4, 18, 13, 17, 13, 29, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 191, 5 ], [ 191, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 20, 30 ], [ 30, 31 ], [ 31, 32 ], [ 20, 33 ], [ 34, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 8, 41 ], [ 41, 42 ], [ 41, 43 ], [ 8, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 63, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 62, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 61, 73 ], [ 60, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 59, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 58, 82 ], [ 57, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 56, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 55, 91 ], [ 63, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 6, 96 ], [ 96, 97 ], [ 191, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 100, 104 ], [ 104, 105 ], [ 104, 106 ], [ 100, 107 ], [ 107, 108 ], [ 107, 109 ], [ 100, 110 ], [ 110, 111 ], [ 110, 112 ], [ 100, 113 ], [ 113, 114 ], [ 113, 115 ], [ 100, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 116, 120 ], [ 100, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 121, 125 ], [ 100, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 126, 130 ], [ 100, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 131, 135 ], [ 100, 136 ], [ 136, 137 ], [ 136, 138 ], [ 136, 139 ], [ 140, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 143, 145 ], [ 145, 146 ], [ 146, 147 ], [ 145, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 148, 152 ], [ 145, 153 ], [ 141, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 159, 160 ], [ 160, 161 ], [ 159, 162 ], [ 159, 163 ], [ 156, 164 ], [ 141, 165 ], [ 165, 166 ], [ 165, 167 ], [ 167, 168 ], [ 168, 169 ], [ 167, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 170, 174 ], [ 167, 175 ], [ 141, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 181, 182 ], [ 182, 183 ], [ 181, 184 ], [ 181, 185 ], [ 100, 186 ], [ 186, 187 ], [ 98, 188 ], [ 188, 189 ], [ 0, 190 ], [ 190, 191 ], [ 190, 192 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n ArrayList<String> test_case = new ArrayList<>();\n int n = sc.nextInt();\n for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }\n Map<String,Integer> sum = new HashMap<>();\n sum = solve(test_case);\n\n System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n );\n }\n\n public static Map<String,Integer> solve (ArrayList<String> test_case){\n Map<String,Integer> sum = new HashMap<>();\n int ac = 0;\n int tle = 0;\n int wa = 0;\n int re = 0;\n sum.put(\"AC\", ac);\n sum.put(\"TLE\", tle);\n sum.put(\"RE\", re);\n sum.put(\"WA\", wa);\n\n for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }\n return sum;\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 ArrayList<String> test_case = new ArrayList<>();\n int n = sc.nextInt();\n for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }\n Map<String,Integer> sum = new HashMap<>();\n sum = solve(test_case);\n\n System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n );\n }\n\n public static Map<String,Integer> solve (ArrayList<String> test_case){\n Map<String,Integer> sum = new HashMap<>();\n int ac = 0;\n int tle = 0;\n int wa = 0;\n int re = 0;\n sum.put(\"AC\", ac);\n sum.put(\"TLE\", tle);\n sum.put(\"RE\", re);\n sum.put(\"WA\", wa);\n\n for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }\n return sum;\n }\n\n}", "Main", "public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n ArrayList<String> test_case = new ArrayList<>();\n int n = sc.nextInt();\n for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }\n Map<String,Integer> sum = new HashMap<>();\n sum = solve(test_case);\n\n System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n );\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n ArrayList<String> test_case = new ArrayList<>();\n int n = sc.nextInt();\n for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }\n Map<String,Integer> sum = new HashMap<>();\n sum = solve(test_case);\n\n System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n );\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayList<String> test_case = new ArrayList<>();", "test_case", "new ArrayList<>()", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n+1", "i", "n+1", "n", "1", "i++", "i++", "i", "{\n test_case.add(sc.nextLine());\n }", "{\n test_case.add(sc.nextLine());\n }", "test_case.add(sc.nextLine())", "test_case.add", "test_case", "sc.nextLine()", "sc.nextLine", "sc", "Map<String,Integer> sum = new HashMap<>();", "sum", "new HashMap<>()", "sum = solve(test_case)", "sum", "solve(test_case)", "solve", "test_case", "System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n )", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")", "\"RE x \"", "System.getProperty(\"line.separator\")", "sum.get(\"TLE\")", "\"TLE x \"", "System.getProperty(\"line.separator\")", "sum.get(\"WA\")", "\"WA x \"", "System.getProperty(\"line.separator\")", "\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")", "\"AC x \"", "sum.get(\"AC\")", "sum.get", "sum", "\"AC\"", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "\"WA x \"", "sum.get(\"WA\")", "sum.get", "sum", "\"WA\"", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "\"TLE x \"", "sum.get(\"TLE\")", "sum.get", "sum", "\"TLE\"", "System.getProperty(\"line.separator\")", "System.getProperty", "System", "\"line.separator\"", "\"RE x \"", "sum.get(\"RE\")", "sum.get", "sum", "\"RE\"", "String args[]", "args", "public static Map<String,Integer> solve (ArrayList<String> test_case){\n Map<String,Integer> sum = new HashMap<>();\n int ac = 0;\n int tle = 0;\n int wa = 0;\n int re = 0;\n sum.put(\"AC\", ac);\n sum.put(\"TLE\", tle);\n sum.put(\"RE\", re);\n sum.put(\"WA\", wa);\n\n for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }\n return sum;\n }", "solve", "{\n Map<String,Integer> sum = new HashMap<>();\n int ac = 0;\n int tle = 0;\n int wa = 0;\n int re = 0;\n sum.put(\"AC\", ac);\n sum.put(\"TLE\", tle);\n sum.put(\"RE\", re);\n sum.put(\"WA\", wa);\n\n for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }\n return sum;\n }", "Map<String,Integer> sum = new HashMap<>();", "sum", "new HashMap<>()", "int ac = 0;", "ac", "0", "int tle = 0;", "tle", "0", "int wa = 0;", "wa", "0", "int re = 0;", "re", "0", "sum.put(\"AC\", ac)", "sum.put", "sum", "\"AC\"", "ac", "sum.put(\"TLE\", tle)", "sum.put", "sum", "\"TLE\"", "tle", "sum.put(\"RE\", re)", "sum.put", "sum", "\"RE\"", "re", "sum.put(\"WA\", wa)", "sum.put", "sum", "\"WA\"", "wa", "for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }", "String test", "test_case", "{\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }", "{\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }", "switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }", "test", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "sum.put(\"AC\",ac)", "sum.put", "sum", "\"AC\"", "ac", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "sum.put(\"TLE\",tle)", "sum.put", "sum", "\"TLE\"", "tle", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "sum.put(\"WA\",wa)", "sum.put", "sum", "\"WA\"", "wa", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "re++", "re", "sum.put(\"RE\",re)", "sum.put", "sum", "\"RE\"", "re", "return sum;", "sum", "ArrayList<String> test_case", "test_case", "public class Main{\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n ArrayList<String> test_case = new ArrayList<>();\n int n = sc.nextInt();\n for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }\n Map<String,Integer> sum = new HashMap<>();\n sum = solve(test_case);\n\n System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n );\n }\n\n public static Map<String,Integer> solve (ArrayList<String> test_case){\n Map<String,Integer> sum = new HashMap<>();\n int ac = 0;\n int tle = 0;\n int wa = 0;\n int re = 0;\n sum.put(\"AC\", ac);\n sum.put(\"TLE\", tle);\n sum.put(\"RE\", re);\n sum.put(\"WA\", wa);\n\n for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }\n return sum;\n }\n\n}", "public class Main{\n public static void main(String args[]) {\n Scanner sc = new Scanner(System.in);\n ArrayList<String> test_case = new ArrayList<>();\n int n = sc.nextInt();\n for (int i = 0; i < n+1; i++) {\n test_case.add(sc.nextLine());\n }\n Map<String,Integer> sum = new HashMap<>();\n sum = solve(test_case);\n\n System.out.println(\"AC x \" + sum.get(\"AC\") + System.getProperty(\"line.separator\")\n + \"WA x \" + sum.get(\"WA\") + System.getProperty(\"line.separator\")\n + \"TLE x \" + sum.get(\"TLE\") + System.getProperty(\"line.separator\")\n + \"RE x \" + sum.get(\"RE\")\n );\n }\n\n public static Map<String,Integer> solve (ArrayList<String> test_case){\n Map<String,Integer> sum = new HashMap<>();\n int ac = 0;\n int tle = 0;\n int wa = 0;\n int re = 0;\n sum.put(\"AC\", ac);\n sum.put(\"TLE\", tle);\n sum.put(\"RE\", re);\n sum.put(\"WA\", wa);\n\n for (String test : test_case) {\n switch(test){\n case \"AC\":\n ac++;\n sum.put(\"AC\",ac);\n break;\n case \"TLE\":\n tle++;\n sum.put(\"TLE\",tle);\n break;\n case \"WA\":\n wa++;\n sum.put(\"WA\",wa);\n break;\n case \"RE\":\n re++;\n sum.put(\"RE\",re);\n\n }\n }\n return sum;\n }\n\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String args[]) { Scanner sc = new Scanner(System.in); ArrayList<String> test_case = new ArrayList<>(); int n = sc.nextInt(); for (int i = 0; i < n+1; i++) { test_case.add(sc.nextLine()); } Map<String,Integer> sum = new HashMap<>(); sum = solve(test_case); System.out.println("AC x " + sum.get("AC") + System.getProperty("line.separator") + "WA x " + sum.get("WA") + System.getProperty("line.separator") + "TLE x " + sum.get("TLE") + System.getProperty("line.separator") + "RE x " + sum.get("RE") ); } public static Map<String,Integer> solve (ArrayList<String> test_case){ Map<String,Integer> sum = new HashMap<>(); int ac = 0; int tle = 0; int wa = 0; int re = 0; sum.put("AC", ac); sum.put("TLE", tle); sum.put("RE", re); sum.put("WA", wa); for (String test : test_case) { switch(test){ case "AC": ac++; sum.put("AC",ac); break; case "TLE": tle++; sum.put("TLE",tle); break; case "WA": wa++; sum.put("WA",wa); break; case "RE": re++; sum.put("RE",re); } } return sum; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 30, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 111, 5 ], [ 111, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 38, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 55, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 60, 65 ], [ 65, 66 ], [ 65, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 67, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 79, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 91, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 104, 105 ], [ 103, 106 ], [ 103, 107 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n\n Integer N = sc.nextInt();\n Map<String, Integer> judgeCount = new HashMap<>();\n\n for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }\n\n System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0));\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 Integer N = sc.nextInt();\n Map<String, Integer> judgeCount = new HashMap<>();\n\n for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }\n\n System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0));\n }\n}", "Main", "public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n\n Integer N = sc.nextInt();\n Map<String, Integer> judgeCount = new HashMap<>();\n\n for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }\n\n System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n Integer N = sc.nextInt();\n Map<String, Integer> judgeCount = new HashMap<>();\n\n for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }\n\n System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Integer N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Map<String, Integer> judgeCount = new HashMap<>();", "judgeCount", "new HashMap<>()", "for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }", "{\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }", "String key = sc.next();", "key", "sc.next()", "sc.next", "sc", "if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }", "judgeCount.containsKey(key)", "judgeCount.containsKey", "judgeCount", "key", "{\n judgeCount.replace(key, judgeCount.get(key)+1);\n }", "judgeCount.replace(key, judgeCount.get(key)+1)", "judgeCount.replace", "judgeCount", "key", "judgeCount.get(key)+1", "judgeCount.get(key)", "judgeCount.get", "judgeCount", "key", "1", "{\n judgeCount.put(key, 1);\n }", "judgeCount.put(key, 1)", "judgeCount.put", "judgeCount", "key", "1", "System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0))", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + judgeCount.getOrDefault(\"AC\", 0)", "\"AC x \"", "judgeCount.getOrDefault(\"AC\", 0)", "judgeCount.getOrDefault", "judgeCount", "\"AC\"", "0", "System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0))", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + judgeCount.getOrDefault(\"WA\", 0)", "\"WA x \"", "judgeCount.getOrDefault(\"WA\", 0)", "judgeCount.getOrDefault", "judgeCount", "\"WA\"", "0", "System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0)", "\"TLE x \"", "judgeCount.getOrDefault(\"TLE\", 0)", "judgeCount.getOrDefault", "judgeCount", "\"TLE\"", "0", "System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0))", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + judgeCount.getOrDefault(\"RE\", 0)", "\"RE x \"", "judgeCount.getOrDefault(\"RE\", 0)", "judgeCount.getOrDefault", "judgeCount", "\"RE\"", "0", "String[] args", "args", "public class Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n\n Integer N = sc.nextInt();\n Map<String, Integer> judgeCount = new HashMap<>();\n\n for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }\n\n System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0));\n }\n}", "public class Main {\n public static void main (String[] args) {\n Scanner sc = new Scanner(System.in);\n\n Integer N = sc.nextInt();\n Map<String, Integer> judgeCount = new HashMap<>();\n\n for (int i = 0; i < N; i++){\n String key = sc.next();\n if (judgeCount.containsKey(key)) {\n judgeCount.replace(key, judgeCount.get(key)+1);\n } else {\n judgeCount.put(key, 1);\n }\n }\n\n System.out.println(\"AC x \" + judgeCount.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + judgeCount.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + judgeCount.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + judgeCount.getOrDefault(\"RE\", 0));\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main (String[] args) { Scanner sc = new Scanner(System.in); Integer N = sc.nextInt(); Map<String, Integer> judgeCount = new HashMap<>(); for (int i = 0; i < N; i++){ String key = sc.next(); if (judgeCount.containsKey(key)) { judgeCount.replace(key, judgeCount.get(key)+1); } else { judgeCount.put(key, 1); } } System.out.println("AC x " + judgeCount.getOrDefault("AC", 0)); System.out.println("WA x " + judgeCount.getOrDefault("WA", 0)); System.out.println("TLE x " + judgeCount.getOrDefault("TLE", 0)); System.out.println("RE x " + judgeCount.getOrDefault("RE", 0)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 2, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 126, 5 ], [ 126, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 55, 57 ], [ 47, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 66, 68 ], [ 58, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 69, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 8, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 6, 123 ], [ 123, 124 ], [ 0, 125 ], [ 125, 126 ], [ 125, 127 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tint sum1 = 0;\n\t\tint sum2 = 0;\n\t\tint sum3 = 0;\n\t\tint sum4 = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt(); \n\t\tfor (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }\n System.out.println(\"AC x \" + sum1);\n System.out.println(\"WA x \" + sum2);\n System.out.println(\"TLE x \" + sum3);\n System.out.println(\"RE x \" + sum4);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint sum1 = 0;\n\t\tint sum2 = 0;\n\t\tint sum3 = 0;\n\t\tint sum4 = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt(); \n\t\tfor (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }\n System.out.println(\"AC x \" + sum1);\n System.out.println(\"WA x \" + sum2);\n System.out.println(\"TLE x \" + sum3);\n System.out.println(\"RE x \" + sum4);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tint sum1 = 0;\n\t\tint sum2 = 0;\n\t\tint sum3 = 0;\n\t\tint sum4 = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt(); \n\t\tfor (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }\n System.out.println(\"AC x \" + sum1);\n System.out.println(\"WA x \" + sum2);\n System.out.println(\"TLE x \" + sum3);\n System.out.println(\"RE x \" + sum4);\n\t}", "main", "{\n\t\tint sum1 = 0;\n\t\tint sum2 = 0;\n\t\tint sum3 = 0;\n\t\tint sum4 = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt(); \n\t\tfor (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }\n System.out.println(\"AC x \" + sum1);\n System.out.println(\"WA x \" + sum2);\n System.out.println(\"TLE x \" + sum3);\n System.out.println(\"RE x \" + sum4);\n\t}", "int sum1 = 0;", "sum1", "0", "int sum2 = 0;", "sum2", "0", "int sum3 = 0;", "sum3", "0", "int sum4 = 0;", "sum4", "0", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "for (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }", "int i=0;", "int i=0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }", "{\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }", "String S = in.next();", "S", "in.next()", "in.next", "in", "if (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}", "S.equals(\"AC\")", "S.equals", "S", "\"AC\"", "{\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}", "sum1= sum1 +1", "sum1", "sum1 +1", "sum1", "1", "if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}", "S.equals(\"WA\")", "S.equals", "S", "\"WA\"", "{\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}", "sum2= sum2 +1", "sum2", "sum2 +1", "sum2", "1", "if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}", "S.equals(\"TLE\")", "S.equals", "S", "\"TLE\"", "{\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}", "sum3= sum3 +1", "sum3", "sum3 +1", "sum3", "1", "if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}", "S.equals(\"RE\")", "S.equals", "S", "\"RE\"", "{\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}", "sum4= sum4 +1", "sum4", "sum4 +1", "sum4", "1", "System.out.println(\"AC x \" + sum1)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + sum1", "\"AC x \"", "sum1", "System.out.println(\"WA x \" + sum2)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + sum2", "\"WA x \"", "sum2", "System.out.println(\"TLE x \" + sum3)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + sum3", "\"TLE x \"", "sum3", "System.out.println(\"RE x \" + sum4)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + sum4", "\"RE x \"", "sum4", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint sum1 = 0;\n\t\tint sum2 = 0;\n\t\tint sum3 = 0;\n\t\tint sum4 = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt(); \n\t\tfor (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }\n System.out.println(\"AC x \" + sum1);\n System.out.println(\"WA x \" + sum2);\n System.out.println(\"TLE x \" + sum3);\n System.out.println(\"RE x \" + sum4);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tint sum1 = 0;\n\t\tint sum2 = 0;\n\t\tint sum3 = 0;\n\t\tint sum4 = 0;\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt(); \n\t\tfor (int i=0; i < N ;i++){\n\t\t\tString S = in.next();\n\t\t\t\tif (S.equals(\"AC\")){\n\t\t\t\t\tsum1= sum1 +1;\n\t\t\t\t}\n\t\t\t\telse if (S.equals(\"WA\")){\n\t\t\t\t\tsum2= sum2 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"TLE\")){\n\t\t\t\t\tsum3= sum3 +1;\n\t\t\t\t}\n \t\t\telse if (S.equals(\"RE\")){\n\t\t\t\t\tsum4= sum4 +1;\n\t\t\t\t}\n }\n System.out.println(\"AC x \" + sum1);\n System.out.println(\"WA x \" + sum2);\n System.out.println(\"TLE x \" + sum3);\n System.out.println(\"RE x \" + sum4);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ int sum1 = 0; int sum2 = 0; int sum3 = 0; int sum4 = 0; Scanner in = new Scanner(System.in); int N = in.nextInt(); for (int i=0; i < N ;i++){ String S = in.next(); if (S.equals("AC")){ sum1= sum1 +1; } else if (S.equals("WA")){ sum2= sum2 +1; } else if (S.equals("TLE")){ sum3= sum3 +1; } else if (S.equals("RE")){ sum4= sum4 +1; } } System.out.println("AC x " + sum1); System.out.println("WA x " + sum2); System.out.println("TLE x " + sum3); System.out.println("RE x " + sum4); } }
[ 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, 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, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 1, 40, 13, 3, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 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, 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, 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, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 18, 13, 13, 23, 13, 12, 13, 30, 4, 13, 13, 4, 18, 13, 23, 13, 12, 13, 30, 4, 18, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 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 ], [ 472, 35 ], [ 472, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 41, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 46, 48 ], [ 38, 49 ], [ 49, 50 ], [ 49, 51 ], [ 38, 52 ], [ 52, 53 ], [ 52, 54 ], [ 38, 55 ], [ 55, 56 ], [ 55, 57 ], [ 38, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 58, 62 ], [ 58, 63 ], [ 38, 64 ], [ 64, 65 ], [ 65, 66 ], [ 36, 67 ], [ 67, 68 ], [ 472, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 73, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 77, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 86, 87 ], [ 82, 88 ], [ 88, 89 ], [ 88, 90 ], [ 82, 91 ], [ 91, 92 ], [ 91, 93 ], [ 82, 94 ], [ 94, 95 ], [ 94, 96 ], [ 82, 97 ], [ 97, 98 ], [ 97, 99 ], [ 82, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 100, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 105, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 111, 119 ], [ 119, 120 ], [ 119, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 111, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 127, 130 ], [ 111, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 132, 135 ], [ 82, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 139, 140 ], [ 139, 141 ], [ 82, 142 ], [ 142, 143 ], [ 143, 144 ], [ 142, 145 ], [ 145, 146 ], [ 145, 147 ], [ 82, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 151, 152 ], [ 151, 153 ], [ 82, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 157, 158 ], [ 157, 159 ], [ 71, 160 ], [ 160, 161 ], [ 71, 162 ], [ 162, 163 ], [ 71, 164 ], [ 164, 165 ], [ 472, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 166, 170 ], [ 170, 171 ], [ 170, 172 ], [ 166, 174 ], [ 174, 175 ], [ 166, 176 ], [ 176, 177 ], [ 166, 178 ], [ 178, 179 ], [ 166, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 183, 184 ], [ 184, 185 ], [ 184, 186 ], [ 183, 187 ], [ 180, 188 ], [ 188, 189 ], [ 166, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 193, 198 ], [ 198, 199 ], [ 199, 200 ], [ 192, 201 ], [ 201, 202 ], [ 202, 203 ], [ 202, 204 ], [ 201, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 209, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 218, 221 ], [ 205, 222 ], [ 222, 223 ], [ 223, 224 ], [ 223, 225 ], [ 222, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 192, 230 ], [ 230, 231 ], [ 231, 232 ], [ 231, 233 ], [ 233, 234 ], [ 166, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 237, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 246, 247 ], [ 247, 248 ], [ 247, 249 ], [ 249, 250 ], [ 237, 251 ], [ 251, 252 ], [ 251, 253 ], [ 237, 254 ], [ 254, 255 ], [ 255, 256 ], [ 255, 257 ], [ 254, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 261, 262 ], [ 258, 263 ], [ 263, 264 ], [ 263, 265 ], [ 265, 266 ], [ 237, 267 ], [ 267, 268 ], [ 267, 269 ], [ 237, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 270, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 277, 281 ], [ 281, 282 ], [ 281, 283 ], [ 276, 284 ], [ 284, 285 ], [ 285, 286 ], [ 275, 287 ], [ 287, 288 ], [ 287, 289 ], [ 275, 290 ], [ 290, 291 ], [ 290, 292 ], [ 292, 293 ], [ 292, 294 ], [ 275, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 237, 299 ], [ 299, 300 ], [ 300, 301 ], [ 300, 302 ], [ 166, 303 ], [ 303, 304 ], [ 303, 305 ], [ 305, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 305, 310 ], [ 310, 311 ], [ 311, 312 ], [ 311, 313 ], [ 310, 314 ], [ 314, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 305, 319 ], [ 319, 320 ], [ 319, 321 ], [ 305, 322 ], [ 322, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 322, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 329, 332 ], [ 328, 333 ], [ 333, 334 ], [ 334, 335 ], [ 335, 336 ], [ 334, 337 ], [ 327, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 305, 342 ], [ 342, 343 ], [ 343, 344 ], [ 344, 345 ], [ 166, 346 ], [ 346, 347 ], [ 346, 348 ], [ 348, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 349, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 356, 357 ], [ 355, 358 ], [ 348, 359 ], [ 359, 360 ], [ 360, 361 ], [ 360, 362 ], [ 346, 363 ], [ 363, 364 ], [ 166, 365 ], [ 365, 366 ], [ 365, 367 ], [ 367, 368 ], [ 368, 369 ], [ 372, 370 ], [ 382, 371 ], [ 379, 372 ], [ 372, 373 ], [ 373, 374 ], [ 373, 375 ], [ 372, 376 ], [ 376, 377 ], [ 376, 378 ], [ 379, 379 ], [ 379, 380 ], [ 379, 381 ], [ 382, 382 ], [ 382, 383 ], [ 382, 384 ], [ 372, 385 ], [ 385, 386 ], [ 385, 387 ], [ 387, 388 ], [ 365, 389 ], [ 389, 390 ], [ 166, 391 ], [ 391, 392 ], [ 391, 393 ], [ 393, 394 ], [ 393, 395 ], [ 395, 396 ], [ 472, 397 ], [ 397, 398 ], [ 397, 399 ], [ 399, 400 ], [ 397, 401 ], [ 401, 402 ], [ 401, 403 ], [ 403, 404 ], [ 404, 405 ], [ 404, 406 ], [ 401, 407 ], [ 407, 408 ], [ 397, 409 ], [ 409, 410 ], [ 409, 411 ], [ 411, 412 ], [ 412, 413 ], [ 413, 414 ], [ 413, 415 ], [ 412, 416 ], [ 409, 417 ], [ 417, 418 ], [ 397, 419 ], [ 419, 420 ], [ 419, 421 ], [ 421, 422 ], [ 422, 423 ], [ 423, 424 ], [ 424, 425 ], [ 424, 426 ], [ 422, 427 ], [ 427, 428 ], [ 427, 429 ], [ 429, 430 ], [ 429, 431 ], [ 422, 432 ], [ 432, 433 ], [ 433, 434 ], [ 422, 435 ], [ 436, 436 ], [ 436, 437 ], [ 437, 438 ], [ 438, 439 ], [ 438, 440 ], [ 437, 441 ], [ 441, 442 ], [ 442, 443 ], [ 443, 444 ], [ 442, 445 ], [ 436, 446 ], [ 446, 447 ], [ 447, 448 ], [ 446, 449 ], [ 449, 450 ], [ 449, 451 ], [ 419, 452 ], [ 452, 453 ], [ 397, 454 ], [ 454, 455 ], [ 454, 456 ], [ 456, 457 ], [ 457, 458 ], [ 457, 459 ], [ 456, 460 ], [ 460, 461 ], [ 461, 462 ], [ 454, 463 ], [ 463, 464 ], [ 397, 465 ], [ 465, 466 ], [ 465, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 0, 471 ], [ 471, 472 ], [ 471, 473 ] ]
[ "import java.io.OutputStream;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.OutputStream;\nimport java.io.PrintWriter;\nimport java.io.BufferedWriter;\nimport java.io.Writer;\nimport java.io.OutputStreamWriter;\nimport java.util.InputMismatchException;\nimport java.io.IOException;\nimport java.io.InputStream;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n OutputWriter out = new OutputWriter(outputStream);\n BJudgeStatusSummary solver = new BJudgeStatusSummary();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BJudgeStatusSummary {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\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 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 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 print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\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.OutputStream;", "OutputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.io.Writer;", "Writer", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.io.IOException;", "IOException", "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 BJudgeStatusSummary solver = new BJudgeStatusSummary();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BJudgeStatusSummary {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\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 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 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 print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\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 BJudgeStatusSummary solver = new BJudgeStatusSummary();\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 BJudgeStatusSummary solver = new BJudgeStatusSummary();\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)", "BJudgeStatusSummary solver = new BJudgeStatusSummary();", "solver", "new BJudgeStatusSummary()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class BJudgeStatusSummary {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n }\n\n }", "BJudgeStatusSummary", "public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n }", "solve", "{\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\n }", "int ntc = 1;", "ntc", "1", "while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }", "(ntc--) > 0", "(ntc--)", "ntc", "0", "{\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int ac = 0", "ac", "0", "tle = 0", "tle", "0", "wa = 0", "wa", "0", "re = 0;", "re", "0", "while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }", "n-- > 0", "n--", "n", "0", "{\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }", "String v = in.nextString();", "v", "in.nextString()", "in.nextString", "in", "switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }", "v", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "break;", "default:", "default:", "re++", "re", "break;", "out.println(\"AC x \" + ac)", "out.println", "out", "\"AC x \" + ac", "\"AC x \"", "ac", "out.println(\"WA x \" + wa)", "out.println", "out", "\"WA x \" + wa", "\"WA x \"", "wa", "out.println(\"TLE x \" + tle)", "out.println", "out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "out.println(\"RE x \" + re)", "out.println", "out", "\"RE x \" + re", "\"RE x \"", "re", "int testNumber", "testNumber", "InputReader in", "in", "OutputWriter out", "out", "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 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 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 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", "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 print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\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 print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }", "print", "{\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }", "for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < objects.length", "i", "objects.length", "objects", "objects.length", "++i", "++i", "i", "{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }", "{\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }", "if (i != 0) {\n writer.print(' ');\n }", "i != 0", "i", "0", "{\n writer.print(' ');\n }", "writer.print(' ')", "writer.print", "writer", "' '", "writer.print(objects[i])", "writer.print", "writer", "objects[i]", "objects", "i", "Object... objects", "objects", "public void println(Object... objects) {\n print(objects);\n writer.println();\n }", "println", "{\n print(objects);\n writer.println();\n }", "print(objects)", "print", "objects", "writer.println()", "writer.println", "writer", "Object... objects", "objects", "public void close() {\n writer.close();\n }", "close", "{\n writer.close();\n }", "writer.close()", "writer.close", "writer", "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 BJudgeStatusSummary solver = new BJudgeStatusSummary();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BJudgeStatusSummary {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\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 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 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 print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\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 BJudgeStatusSummary solver = new BJudgeStatusSummary();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class BJudgeStatusSummary {\n public void solve(int testNumber, InputReader in, OutputWriter out) {\n int ntc = 1;\n// ntc = in.nextInt();\n while ((ntc--) > 0) {\n int n = in.nextInt();\n int ac = 0, tle = 0, wa = 0, re = 0;\n while (n-- > 0) {\n String v = in.nextString();\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"WA\":\n wa++;\n break;\n default:\n re++;\n break;\n }\n }\n out.println(\"AC x \" + ac);\n out.println(\"WA x \" + wa);\n out.println(\"TLE x \" + tle);\n out.println(\"RE x \" + re);\n }\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 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 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 print(Object... objects) {\n for (int i = 0; i < objects.length; ++i) {\n if (i != 0) {\n writer.print(' ');\n }\n writer.print(objects[i]);\n }\n }\n\n public void println(Object... objects) {\n print(objects);\n writer.println();\n }\n\n public void close() {\n writer.close();\n }\n\n }\n}", "Main" ]
import java.io.OutputStream; import java.io.IOException; import java.io.InputStream; import java.io.OutputStream; import java.io.PrintWriter; import java.io.BufferedWriter; import java.io.Writer; import java.io.OutputStreamWriter; import java.util.InputMismatchException; import java.io.IOException; import java.io.InputStream; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); OutputWriter out = new OutputWriter(outputStream); BJudgeStatusSummary solver = new BJudgeStatusSummary(); solver.solve(1, in, out); out.close(); } static class BJudgeStatusSummary { public void solve(int testNumber, InputReader in, OutputWriter out) { int ntc = 1; // ntc = in.nextInt(); while ((ntc--) > 0) { int n = in.nextInt(); int ac = 0, tle = 0, wa = 0, re = 0; while (n-- > 0) { String v = in.nextString(); switch (v) { case "AC": ac++; break; case "TLE": tle++; break; case "WA": wa++; break; default: re++; break; } } out.println("AC x " + ac); out.println("WA x " + wa); out.println("TLE x " + tle); out.println("RE x " + re); } } } 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 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); } } 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 print(Object... objects) { for (int i = 0; i < objects.length; ++i) { if (i != 0) { writer.print(' '); } writer.print(objects[i]); } } public void println(Object... objects) { print(objects); writer.println(); } public void close() { writer.close(); } } }
[ 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, 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, 35, 18, 13, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 116, 5 ], [ 116, 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 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 53, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 53, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 53, 69 ], [ 69, 70 ], [ 69, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 53, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 6, 113 ], [ 113, 114 ], [ 0, 115 ], [ 115, 116 ], [ 115, 117 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt();\n\t\tString S[] = new String[N]; \n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"AC x \" + AC);\n\t\tSystem.out.println(\"WA x \" + WA);\n\t\tSystem.out.println(\"TLE x \" + TLE);\n\t\tSystem.out.println(\"RE x \" + RE);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt();\n\t\tString S[] = new String[N]; \n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"AC x \" + AC);\n\t\tSystem.out.println(\"WA x \" + WA);\n\t\tSystem.out.println(\"TLE x \" + TLE);\n\t\tSystem.out.println(\"RE x \" + RE);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt();\n\t\tString S[] = new String[N]; \n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"AC x \" + AC);\n\t\tSystem.out.println(\"WA x \" + WA);\n\t\tSystem.out.println(\"TLE x \" + TLE);\n\t\tSystem.out.println(\"RE x \" + RE);\n\t}", "main", "{\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt();\n\t\tString S[] = new String[N]; \n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"AC x \" + AC);\n\t\tSystem.out.println(\"WA x \" + WA);\n\t\tSystem.out.println(\"TLE x \" + TLE);\n\t\tSystem.out.println(\"RE x \" + RE);\n\t}", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "String S[] = new String[N];", "S", "new String[N]", "N", "int AC = 0;", "AC", "0", "int WA = 0;", "WA", "0", "int TLE = 0;", "TLE", "0", "int RE = 0;", "RE", "0", "for(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\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[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "S[i] = in.next()", "S[i]", "S", "i", "in.next()", "in.next", "in", "switch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}", "S[i]", "S", "i", "case \"AC\":", "\"AC\"", "case \"AC\":", "AC++", "AC", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "WA++", "WA", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "TLE++", "TLE", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "RE++", "RE", "break;", "System.out.println(\"AC x \" + AC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + AC", "\"AC x \"", "AC", "System.out.println(\"WA x \" + WA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + WA", "\"WA x \"", "WA", "System.out.println(\"TLE x \" + TLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + TLE", "\"TLE x \"", "TLE", "System.out.println(\"RE x \" + RE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + RE", "\"RE x \"", "RE", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt();\n\t\tString S[] = new String[N]; \n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"AC x \" + AC);\n\t\tSystem.out.println(\"WA x \" + WA);\n\t\tSystem.out.println(\"TLE x \" + TLE);\n\t\tSystem.out.println(\"RE x \" + RE);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner in = new Scanner(System.in);\n\t\tint N = in.nextInt();\n\t\tString S[] = new String[N]; \n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = in.next();\n\t\t\tswitch (S[i]) {\n\t\t\tcase \"AC\":\n\t\t\t\tAC++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\tWA++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\tTLE++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tRE++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\t\n\t\tSystem.out.println(\"AC x \" + AC);\n\t\tSystem.out.println(\"WA x \" + WA);\n\t\tSystem.out.println(\"TLE x \" + TLE);\n\t\tSystem.out.println(\"RE x \" + RE);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int N = in.nextInt(); String S[] = new String[N]; int AC = 0; int WA = 0; int TLE = 0; int RE = 0; for(int i=0;i<N;i++) { S[i] = in.next(); switch (S[i]) { case "AC": AC++; break; case "WA": WA++; break; case "TLE": TLE++; break; case "RE": RE++; break; } } System.out.println("AC x " + AC); System.out.println("WA x " + WA); System.out.println("TLE x " + TLE); System.out.println("RE x " + RE); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 2, 17, 17, 41, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 4, 18, 13, 2, 17, 13, 17, 4, 18, 4, 18, 13, 2, 17, 13, 17, 4, 18, 4, 18, 13, 2, 17, 13, 17, 4, 18, 4, 18, 13, 2, 17, 13, 17, 12, 13, 30, 41, 13, 17, 42, 2, 40, 13, 17, 30, 4, 13, 4, 18, 13, 17, 4, 18, 18, 13, 13, 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, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 18, 13, 13, 0, 13, 20, 2, 13, 17, 4, 13, 13, 17, 17, 2, 13, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 0, 18, 13, 13, 18, 13, 13, 29, 17, 41, 13, 2, 13, 2, 2, 13, 13, 17, 41, 13, 4, 18, 13, 4, 13, 13, 2, 13, 17, 13, 13, 4, 13, 13, 2, 2, 13, 17, 17, 2, 13, 17, 13, 14, 2, 2, 13, 17, 17, 30, 0, 18, 13, 13, 2, 18, 13, 2, 13, 17, 18, 13, 2, 2, 13, 17, 17, 30, 0, 18, 13, 13, 2, 18, 13, 2, 13, 17, 18, 13, 2, 2, 13, 17, 17, 29, 40, 13, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 0, 18, 13, 13, 13, 29, 17, 41, 13, 2, 13, 2, 2, 13, 13, 17, 41, 13, 17, 14, 2, 13, 13, 30, 0, 13, 4, 13, 2, 2, 13, 17, 17, 2, 13, 17, 13, 13, 13, 30, 0, 13, 4, 13, 2, 13, 17, 13, 13, 13, 13, 14, 2, 2, 13, 17, 17, 30, 0, 18, 13, 13, 2, 18, 13, 2, 13, 17, 18, 13, 2, 2, 13, 17, 17, 30, 0, 18, 13, 13, 2, 18, 13, 2, 13, 17, 18, 13, 2, 2, 13, 17, 17, 29, 40, 13, 23, 13, 23, 13, 23, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 517, 8 ], [ 517, 9 ], [ 9, 10 ], [ 9, 11 ], [ 517, 12 ], [ 12, 13 ], [ 12, 14 ], [ 517, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 17, 19 ], [ 517, 20 ], [ 20, 21 ], [ 517, 22 ], [ 22, 23 ], [ 22, 24 ], [ 24, 25 ], [ 25, 26 ], [ 25, 27 ], [ 24, 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 ], [ 43, 45 ], [ 42, 46 ], [ 46, 47 ], [ 47, 48 ], [ 24, 49 ], [ 49, 50 ], [ 22, 51 ], [ 51, 52 ], [ 517, 53 ], [ 53, 54 ], [ 53, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 55, 59 ], [ 59, 60 ], [ 59, 61 ], [ 55, 62 ], [ 62, 63 ], [ 62, 64 ], [ 55, 65 ], [ 65, 66 ], [ 65, 67 ], [ 55, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 55, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 73, 81 ], [ 81, 82 ], [ 82, 83 ], [ 73, 84 ], [ 85, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 89, 90 ], [ 85, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 91, 96 ], [ 96, 97 ], [ 97, 98 ], [ 91, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 99, 104 ], [ 104, 105 ], [ 105, 106 ], [ 99, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 107, 112 ], [ 112, 113 ], [ 113, 114 ], [ 107, 115 ], [ 115, 116 ], [ 116, 117 ], [ 55, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 123, 124 ], [ 123, 125 ], [ 118, 126 ], [ 55, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 129, 132 ], [ 132, 133 ], [ 132, 134 ], [ 127, 135 ], [ 55, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 141, 142 ], [ 141, 143 ], [ 136, 144 ], [ 55, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 147, 150 ], [ 150, 151 ], [ 150, 152 ], [ 145, 153 ], [ 517, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 156, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 160, 165 ], [ 165, 166 ], [ 166, 167 ], [ 165, 168 ], [ 168, 169 ], [ 169, 170 ], [ 168, 171 ], [ 156, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 172, 177 ], [ 154, 178 ], [ 178, 179 ], [ 0, 180 ], [ 180, 181 ], [ 180, 182 ], [ 182, 183 ], [ 180, 184 ], [ 184, 185 ], [ 180, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 180, 192 ], [ 192, 193 ], [ 192, 194 ], [ 194, 195 ], [ 195, 196 ], [ 196, 197 ], [ 197, 198 ], [ 197, 199 ], [ 196, 200 ], [ 200, 201 ], [ 201, 202 ], [ 202, 203 ], [ 195, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 205, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 194, 216 ], [ 216, 217 ], [ 217, 218 ], [ 218, 219 ], [ 180, 220 ], [ 220, 221 ], [ 220, 222 ], [ 222, 223 ], [ 223, 224 ], [ 224, 225 ], [ 225, 226 ], [ 224, 227 ], [ 227, 228 ], [ 180, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 233, 236 ], [ 236, 237 ], [ 180, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 241, 242 ], [ 242, 243 ], [ 243, 244 ], [ 242, 245 ], [ 245, 246 ], [ 180, 247 ], [ 247, 248 ], [ 247, 249 ], [ 249, 250 ], [ 250, 251 ], [ 250, 252 ], [ 249, 253 ], [ 253, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 257, 258 ], [ 258, 259 ], [ 253, 260 ], [ 260, 261 ], [ 261, 262 ], [ 261, 263 ], [ 263, 264 ], [ 264, 265 ], [ 249, 266 ], [ 266, 267 ], [ 0, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 268, 272 ], [ 272, 273 ], [ 268, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 277, 278 ], [ 277, 279 ], [ 279, 280 ], [ 279, 281 ], [ 276, 282 ], [ 282, 283 ], [ 282, 284 ], [ 285, 286 ], [ 285, 287 ], [ 276, 288 ], [ 288, 289 ], [ 288, 290 ], [ 288, 291 ], [ 288, 292 ], [ 288, 293 ], [ 293, 294 ], [ 293, 295 ], [ 274, 296 ], [ 296, 297 ], [ 268, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 301, 302 ], [ 302, 303 ], [ 302, 304 ], [ 301, 305 ], [ 305, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 306, 310 ], [ 310, 311 ], [ 310, 312 ], [ 305, 313 ], [ 313, 314 ], [ 300, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 319, 323 ], [ 300, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 326, 329 ], [ 329, 330 ], [ 329, 331 ], [ 329, 332 ], [ 332, 333 ], [ 332, 334 ], [ 329, 335 ], [ 329, 336 ], [ 326, 337 ], [ 337, 338 ], [ 337, 339 ], [ 337, 340 ], [ 340, 341 ], [ 341, 342 ], [ 341, 343 ], [ 340, 344 ], [ 337, 345 ], [ 345, 346 ], [ 345, 347 ], [ 337, 348 ], [ 300, 349 ], [ 349, 350 ], [ 350, 351 ], [ 351, 352 ], [ 351, 353 ], [ 350, 354 ], [ 349, 355 ], [ 355, 356 ], [ 356, 357 ], [ 357, 358 ], [ 357, 359 ], [ 356, 360 ], [ 360, 361 ], [ 361, 362 ], [ 361, 363 ], [ 363, 364 ], [ 363, 365 ], [ 360, 366 ], [ 366, 367 ], [ 366, 368 ], [ 368, 369 ], [ 369, 370 ], [ 369, 371 ], [ 368, 372 ], [ 349, 373 ], [ 373, 374 ], [ 374, 375 ], [ 375, 376 ], [ 375, 377 ], [ 374, 378 ], [ 378, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 381, 383 ], [ 378, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 387, 388 ], [ 387, 389 ], [ 386, 390 ], [ 300, 391 ], [ 391, 392 ], [ 392, 393 ], [ 298, 394 ], [ 394, 395 ], [ 298, 396 ], [ 396, 397 ], [ 298, 398 ], [ 398, 399 ], [ 298, 400 ], [ 400, 401 ], [ 268, 402 ], [ 402, 403 ], [ 402, 404 ], [ 404, 405 ], [ 405, 406 ], [ 406, 407 ], [ 406, 408 ], [ 405, 409 ], [ 409, 410 ], [ 410, 411 ], [ 411, 412 ], [ 411, 413 ], [ 410, 414 ], [ 409, 415 ], [ 415, 416 ], [ 404, 417 ], [ 417, 418 ], [ 417, 419 ], [ 419, 420 ], [ 419, 421 ], [ 421, 422 ], [ 422, 423 ], [ 422, 424 ], [ 421, 425 ], [ 404, 426 ], [ 426, 427 ], [ 426, 428 ], [ 404, 429 ], [ 429, 430 ], [ 430, 431 ], [ 430, 432 ], [ 429, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 436, 437 ], [ 436, 438 ], [ 438, 439 ], [ 439, 440 ], [ 439, 441 ], [ 438, 442 ], [ 436, 443 ], [ 443, 444 ], [ 443, 445 ], [ 436, 446 ], [ 436, 447 ], [ 436, 448 ], [ 429, 449 ], [ 449, 450 ], [ 450, 451 ], [ 450, 452 ], [ 452, 453 ], [ 452, 454 ], [ 454, 455 ], [ 454, 456 ], [ 452, 457 ], [ 452, 458 ], [ 452, 459 ], [ 452, 460 ], [ 404, 461 ], [ 461, 462 ], [ 462, 463 ], [ 463, 464 ], [ 463, 465 ], [ 462, 466 ], [ 461, 467 ], [ 467, 468 ], [ 468, 469 ], [ 469, 470 ], [ 469, 471 ], [ 468, 472 ], [ 472, 473 ], [ 473, 474 ], [ 473, 475 ], [ 475, 476 ], [ 475, 477 ], [ 472, 478 ], [ 478, 479 ], [ 478, 480 ], [ 480, 481 ], [ 481, 482 ], [ 481, 483 ], [ 480, 484 ], [ 461, 485 ], [ 485, 486 ], [ 486, 487 ], [ 487, 488 ], [ 487, 489 ], [ 486, 490 ], [ 490, 491 ], [ 491, 492 ], [ 491, 493 ], [ 493, 494 ], [ 493, 495 ], [ 490, 496 ], [ 496, 497 ], [ 496, 498 ], [ 498, 499 ], [ 499, 500 ], [ 499, 501 ], [ 498, 502 ], [ 404, 503 ], [ 503, 504 ], [ 504, 505 ], [ 402, 506 ], [ 506, 507 ], [ 402, 508 ], [ 508, 509 ], [ 402, 510 ], [ 510, 511 ], [ 402, 512 ], [ 512, 513 ], [ 402, 514 ], [ 514, 515 ], [ 0, 516 ], [ 516, 517 ], [ 516, 518 ] ]
[ "import java.io.*;\nimport java.util.*;\n\n \npublic class Main { \n static StringBuilder out=new StringBuilder();\n static FastReader in=new FastReader();\n public static int[] getIntArray(int n){\n int arr[]=new int[n];\n for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }\n return arr;\n }\n \n static int mod=(int)1e9 +7;\n static int [][]dp;\n \n \n public static void solve(){\n int ac=0,wa=0, tle=0,re=0;\n int n=in.nextInt();\n for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n out.append(\"AC x \"+ac).append('\\n');\n out.append(\"WA x \"+wa).append('\\n');\n out.append(\"TLE x \"+tle).append('\\n');\n out.append(\"RE x \"+re).append('\\n');\n }\n\n public static void main(String args[]){\n int t=1;\n while(t-->0){\n solve();\n out.append('\\n');\n }\n System.out.println(out);\n }\n}\n \n \n \n \n \n \n \n \n \n \n \n \n \n \n \nclass 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\nclass tree{\n int n, t[];\n public tree(int arr[]){\n n=arr.length;\n t=new int[n*4];\n build(arr, 1,0,n-1);\n }\n public int build(int arr[],int i,int l,int r){\n if(l==r){\n t[i]=arr[l];\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r));\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }\n public int update(int i, int l,int r, int p,int b){\n if(l==r){\n t[i]=b;\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=0;\n if(p>mid){\n h=update(i*2+1,mid+1,r,p,b);\n }else{\n h=update(i*2,l,mid,p,b);\n }\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main { \n static StringBuilder out=new StringBuilder();\n static FastReader in=new FastReader();\n public static int[] getIntArray(int n){\n int arr[]=new int[n];\n for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }\n return arr;\n }\n \n static int mod=(int)1e9 +7;\n static int [][]dp;\n \n \n public static void solve(){\n int ac=0,wa=0, tle=0,re=0;\n int n=in.nextInt();\n for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n out.append(\"AC x \"+ac).append('\\n');\n out.append(\"WA x \"+wa).append('\\n');\n out.append(\"TLE x \"+tle).append('\\n');\n out.append(\"RE x \"+re).append('\\n');\n }\n\n public static void main(String args[]){\n int t=1;\n while(t-->0){\n solve();\n out.append('\\n');\n }\n System.out.println(out);\n }\n}", "Main", "static StringBuilder out=new StringBuilder();", "out", "new StringBuilder()", "static FastReader in=new FastReader();", "in", "new FastReader()", "static int mod=(int)1e9 +7;", "mod", "(int)1e9 +7", "(int)1e9", "7", "static int [][]dp;", "dp", "public static int[] getIntArray(int n){\n int arr[]=new int[n];\n for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }\n return arr;\n }", "getIntArray", "{\n int arr[]=new int[n];\n for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }\n return arr;\n }", "int arr[]=new int[n];", "arr", "new int[n]", "n", "for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n arr[i]=in.nextInt();\n }", "{\n arr[i]=in.nextInt();\n }", "arr[i]=in.nextInt()", "arr[i]", "arr", "i", "in.nextInt()", "in.nextInt", "in", "return arr;", "arr", "int n", "n", "public static void solve(){\n int ac=0,wa=0, tle=0,re=0;\n int n=in.nextInt();\n for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n out.append(\"AC x \"+ac).append('\\n');\n out.append(\"WA x \"+wa).append('\\n');\n out.append(\"TLE x \"+tle).append('\\n');\n out.append(\"RE x \"+re).append('\\n');\n }", "solve", "{\n int ac=0,wa=0, tle=0,re=0;\n int n=in.nextInt();\n for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n out.append(\"AC x \"+ac).append('\\n');\n out.append(\"WA x \"+wa).append('\\n');\n out.append(\"TLE x \"+tle).append('\\n');\n out.append(\"RE x \"+re).append('\\n');\n }", "int ac=0", "ac", "0", "wa=0", "wa", "0", "tle=0", "tle", "0", "re=0;", "re", "0", "int n=in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }", "{\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }", "String s=in.nextLine();", "s", "in.nextLine()", "in.nextLine", "in", "if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\n ac++;\n }", "ac++", "ac", "if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\n wa++;\n }", "wa++", "wa", "if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\n tle++;\n }", "tle++", "tle", "{\n re++;\n }", "re++", "re", "out.append(\"AC x \"+ac).append('\\n')", "out.append(\"AC x \"+ac).append", "out.append(\"AC x \"+ac)", "out.append", "out", "\"AC x \"+ac", "\"AC x \"", "ac", "'\\n'", "out.append(\"WA x \"+wa).append('\\n')", "out.append(\"WA x \"+wa).append", "out.append(\"WA x \"+wa)", "out.append", "out", "\"WA x \"+wa", "\"WA x \"", "wa", "'\\n'", "out.append(\"TLE x \"+tle).append('\\n')", "out.append(\"TLE x \"+tle).append", "out.append(\"TLE x \"+tle)", "out.append", "out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "'\\n'", "out.append(\"RE x \"+re).append('\\n')", "out.append(\"RE x \"+re).append", "out.append(\"RE x \"+re)", "out.append", "out", "\"RE x \"+re", "\"RE x \"", "re", "'\\n'", "public static void main(String args[]){\n int t=1;\n while(t-->0){\n solve();\n out.append('\\n');\n }\n System.out.println(out);\n }", "main", "{\n int t=1;\n while(t-->0){\n solve();\n out.append('\\n');\n }\n System.out.println(out);\n }", "int t=1;", "t", "1", "while(t-->0){\n solve();\n out.append('\\n');\n }", "t-->0", "t--", "t", "0", "{\n solve();\n out.append('\\n');\n }", "solve()", "solve", "out.append('\\n')", "out.append", "out", "'\\n'", "System.out.println(out)", "System.out.println", "System.out", "System", "System.out", "out", "String args[]", "args", "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", "class tree{\n int n, t[];\n public tree(int arr[]){\n n=arr.length;\n t=new int[n*4];\n build(arr, 1,0,n-1);\n }\n public int build(int arr[],int i,int l,int r){\n if(l==r){\n t[i]=arr[l];\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r));\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }\n public int update(int i, int l,int r, int p,int b){\n if(l==r){\n t[i]=b;\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=0;\n if(p>mid){\n h=update(i*2+1,mid+1,r,p,b);\n }else{\n h=update(i*2,l,mid,p,b);\n }\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }\n}", "tree", "int n", "n", "t[];", "t", "public tree(int arr[]){\n n=arr.length;\n t=new int[n*4];\n build(arr, 1,0,n-1);\n }", "tree", "{\n n=arr.length;\n t=new int[n*4];\n build(arr, 1,0,n-1);\n }", "n=arr.length", "n", "arr.length", "arr", "arr.length", "t=new int[n*4]", "t", "new int[n*4]", "n*4", "n", "4", "build(arr, 1,0,n-1)", "build", "arr", "1", "0", "n-1", "n", "1", "int arr[]", "arr", "public int build(int arr[],int i,int l,int r){\n if(l==r){\n t[i]=arr[l];\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r));\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }", "build", "{\n if(l==r){\n t[i]=arr[l];\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r));\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }", "if(l==r){\n t[i]=arr[l];\n return 1;\n }", "l==r", "l", "r", "{\n t[i]=arr[l];\n return 1;\n }", "t[i]=arr[l]", "t[i]", "t", "i", "arr[l]", "arr", "l", "return 1;", "1", "int mid=l+(r-l)/2;", "mid", "l+(r-l)/2", "l", "(r-l)/2", "(r-l)", "r", "l", "2", "int h=Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r));", "h", "Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r))", "Math.min", "Math", "build(arr,i*2,l,mid)", "build", "arr", "i*2", "i", "2", "l", "mid", "build(arr,i*2+1,mid+1,r)", "build", "arr", "i*2+1", "i*2", "i", "2", "1", "mid+1", "mid", "1", "r", "if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }", "h%2==0", "h%2", "h", "2", "0", "{\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }", "t[i]=t[i*2] ^ t[i*2 +1 ]", "t[i]", "t", "i", "t[i*2] ^ t[i*2 +1 ]", "t[i*2]", "t", "i*2", "i", "2", "t[i*2 +1 ]", "t", "i*2 +1", "i*2", "i", "2", "1", "{\n t[i]=t[i*2] | t[i*2 + 1];\n }", "t[i]=t[i*2] | t[i*2 + 1]", "t[i]", "t", "i", "t[i*2] | t[i*2 + 1]", "t[i*2]", "t", "i*2", "i", "2", "t[i*2 + 1]", "t", "i*2 + 1", "i*2", "i", "2", "1", "return ++h;", "++h", "h", "int arr[]", "arr", "int i", "i", "int l", "l", "int r", "r", "public int update(int i, int l,int r, int p,int b){\n if(l==r){\n t[i]=b;\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=0;\n if(p>mid){\n h=update(i*2+1,mid+1,r,p,b);\n }else{\n h=update(i*2,l,mid,p,b);\n }\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }", "update", "{\n if(l==r){\n t[i]=b;\n return 1;\n }\n int mid=l+(r-l)/2;\n int h=0;\n if(p>mid){\n h=update(i*2+1,mid+1,r,p,b);\n }else{\n h=update(i*2,l,mid,p,b);\n }\n if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }\n return ++h;\n }", "if(l==r){\n t[i]=b;\n return 1;\n }", "l==r", "l", "r", "{\n t[i]=b;\n return 1;\n }", "t[i]=b", "t[i]", "t", "i", "b", "return 1;", "1", "int mid=l+(r-l)/2;", "mid", "l+(r-l)/2", "l", "(r-l)/2", "(r-l)", "r", "l", "2", "int h=0;", "h", "0", "if(p>mid){\n h=update(i*2+1,mid+1,r,p,b);\n }else{\n h=update(i*2,l,mid,p,b);\n }", "p>mid", "p", "mid", "{\n h=update(i*2+1,mid+1,r,p,b);\n }", "h=update(i*2+1,mid+1,r,p,b)", "h", "update(i*2+1,mid+1,r,p,b)", "update", "i*2+1", "i*2", "i", "2", "1", "mid+1", "mid", "1", "r", "p", "b", "{\n h=update(i*2,l,mid,p,b);\n }", "h=update(i*2,l,mid,p,b)", "h", "update(i*2,l,mid,p,b)", "update", "i*2", "i", "2", "l", "mid", "p", "b", "if(h%2==0){\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }else{\n t[i]=t[i*2] | t[i*2 + 1];\n }", "h%2==0", "h%2", "h", "2", "0", "{\n t[i]=t[i*2] ^ t[i*2 +1 ];\n }", "t[i]=t[i*2] ^ t[i*2 +1 ]", "t[i]", "t", "i", "t[i*2] ^ t[i*2 +1 ]", "t[i*2]", "t", "i*2", "i", "2", "t[i*2 +1 ]", "t", "i*2 +1", "i*2", "i", "2", "1", "{\n t[i]=t[i*2] | t[i*2 + 1];\n }", "t[i]=t[i*2] | t[i*2 + 1]", "t[i]", "t", "i", "t[i*2] | t[i*2 + 1]", "t[i*2]", "t", "i*2", "i", "2", "t[i*2 + 1]", "t", "i*2 + 1", "i*2", "i", "2", "1", "return ++h;", "++h", "h", "int i", "i", "int l", "l", "int r", "r", "int p", "p", "int b", "b", "public class Main { \n static StringBuilder out=new StringBuilder();\n static FastReader in=new FastReader();\n public static int[] getIntArray(int n){\n int arr[]=new int[n];\n for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }\n return arr;\n }\n \n static int mod=(int)1e9 +7;\n static int [][]dp;\n \n \n public static void solve(){\n int ac=0,wa=0, tle=0,re=0;\n int n=in.nextInt();\n for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n out.append(\"AC x \"+ac).append('\\n');\n out.append(\"WA x \"+wa).append('\\n');\n out.append(\"TLE x \"+tle).append('\\n');\n out.append(\"RE x \"+re).append('\\n');\n }\n\n public static void main(String args[]){\n int t=1;\n while(t-->0){\n solve();\n out.append('\\n');\n }\n System.out.println(out);\n }\n}", "public class Main { \n static StringBuilder out=new StringBuilder();\n static FastReader in=new FastReader();\n public static int[] getIntArray(int n){\n int arr[]=new int[n];\n for(int i=0;i<n;i++){\n arr[i]=in.nextInt();\n }\n return arr;\n }\n \n static int mod=(int)1e9 +7;\n static int [][]dp;\n \n \n public static void solve(){\n int ac=0,wa=0, tle=0,re=0;\n int n=in.nextInt();\n for(int i=0;i<n;i++){\n String s=in.nextLine();\n if(s.equals(\"AC\")){\n ac++;\n }else if(s.equals(\"WA\")){\n wa++;\n }else if(s.equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n out.append(\"AC x \"+ac).append('\\n');\n out.append(\"WA x \"+wa).append('\\n');\n out.append(\"TLE x \"+tle).append('\\n');\n out.append(\"RE x \"+re).append('\\n');\n }\n\n public static void main(String args[]){\n int t=1;\n while(t-->0){\n solve();\n out.append('\\n');\n }\n System.out.println(out);\n }\n}", "Main" ]
import java.io.*; import java.util.*; public class Main { static StringBuilder out=new StringBuilder(); static FastReader in=new FastReader(); public static int[] getIntArray(int n){ int arr[]=new int[n]; for(int i=0;i<n;i++){ arr[i]=in.nextInt(); } return arr; } static int mod=(int)1e9 +7; static int [][]dp; public static void solve(){ int ac=0,wa=0, tle=0,re=0; int n=in.nextInt(); for(int i=0;i<n;i++){ String s=in.nextLine(); if(s.equals("AC")){ ac++; }else if(s.equals("WA")){ wa++; }else if(s.equals("TLE")){ tle++; }else{ re++; } } out.append("AC x "+ac).append('\n'); out.append("WA x "+wa).append('\n'); out.append("TLE x "+tle).append('\n'); out.append("RE x "+re).append('\n'); } public static void main(String args[]){ int t=1; while(t-->0){ solve(); out.append('\n'); } System.out.println(out); } } 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; } } class tree{ int n, t[]; public tree(int arr[]){ n=arr.length; t=new int[n*4]; build(arr, 1,0,n-1); } public int build(int arr[],int i,int l,int r){ if(l==r){ t[i]=arr[l]; return 1; } int mid=l+(r-l)/2; int h=Math.min(build(arr,i*2,l,mid),build(arr,i*2+1,mid+1,r)); if(h%2==0){ t[i]=t[i*2] ^ t[i*2 +1 ]; }else{ t[i]=t[i*2] | t[i*2 + 1]; } return ++h; } public int update(int i, int l,int r, int p,int b){ if(l==r){ t[i]=b; return 1; } int mid=l+(r-l)/2; int h=0; if(p>mid){ h=update(i*2+1,mid+1,r,p,b); }else{ h=update(i*2,l,mid,p,b); } if(h%2==0){ t[i]=t[i*2] ^ t[i*2 +1 ]; }else{ t[i]=t[i*2] | t[i*2 + 1]; } return ++h; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 40, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 13, 4, 18, 18, 13, 13, 2, 2, 17, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 117, 5 ], [ 117, 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 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 32, 35 ], [ 31, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 42, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 80, 80 ], [ 80, 81 ], [ 80, 82 ], [ 80, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 90, 90 ], [ 90, 91 ], [ 90, 92 ], [ 90, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 100, 100 ], [ 100, 101 ], [ 100, 102 ], [ 100, 103 ], [ 8, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 110, 110 ], [ 110, 111 ], [ 110, 112 ], [ 110, 113 ], [ 6, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "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 n++;\n int count = 0;\n int count1 = 0;\n int count2 = 0;\n int count3 = 0;\n while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }\n System.out.println(\"AC\" + \" x \" + count);\n System.out.println(\"WA\" + \" x \" + count1);\n System.out.println(\"TLE\" + \" x \" + count2);\n System.out.println(\"RE\" + \" x \" + count3);\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 n++;\n int count = 0;\n int count1 = 0;\n int count2 = 0;\n int count3 = 0;\n while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }\n System.out.println(\"AC\" + \" x \" + count);\n System.out.println(\"WA\" + \" x \" + count1);\n System.out.println(\"TLE\" + \" x \" + count2);\n System.out.println(\"RE\" + \" x \" + count3);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n++;\n int count = 0;\n int count1 = 0;\n int count2 = 0;\n int count3 = 0;\n while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }\n System.out.println(\"AC\" + \" x \" + count);\n System.out.println(\"WA\" + \" x \" + count1);\n System.out.println(\"TLE\" + \" x \" + count2);\n System.out.println(\"RE\" + \" x \" + count3);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n++;\n int count = 0;\n int count1 = 0;\n int count2 = 0;\n int count3 = 0;\n while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }\n System.out.println(\"AC\" + \" x \" + count);\n System.out.println(\"WA\" + \" x \" + count1);\n System.out.println(\"TLE\" + \" x \" + count2);\n System.out.println(\"RE\" + \" x \" + count3);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "n++", "n", "int count = 0;", "count", "0", "int count1 = 0;", "count1", "0", "int count2 = 0;", "count2", "0", "int count3 = 0;", "count3", "0", "while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }", "n-->0", "n--", "n", "0", "{\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }", "s.contains(\"AC\")", "s.contains", "s", "\"AC\"", "{\n count++;\n }", "count++", "count", "if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }", "s.contains(\"WA\")", "s.contains", "s", "\"WA\"", "{\n count1++;\n }", "count1++", "count1", "if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }", "s.contains(\"TLE\")", "s.contains", "s", "\"TLE\"", "{\n count2++;\n }", "count2++", "count2", "if(s.contains(\"RE\")){\n count3++;\n }", "s.contains(\"RE\")", "s.contains", "s", "\"RE\"", "{\n count3++;\n }", "count3++", "count3", "System.out.println(\"AC\" + \" x \" + count)", "System.out.println", "System.out", "System", "System.out", "\"AC\" + \" x \" + count", "\"AC\" + \" x \" + count", "\"AC\"", "\" x \"", "count", "System.out.println(\"WA\" + \" x \" + count1)", "System.out.println", "System.out", "System", "System.out", "\"WA\" + \" x \" + count1", "\"WA\" + \" x \" + count1", "\"WA\"", "\" x \"", "count1", "System.out.println(\"TLE\" + \" x \" + count2)", "System.out.println", "System.out", "System", "System.out", "\"TLE\" + \" x \" + count2", "\"TLE\" + \" x \" + count2", "\"TLE\"", "\" x \"", "count2", "System.out.println(\"RE\" + \" x \" + count3)", "System.out.println", "System.out", "System", "System.out", "\"RE\" + \" x \" + count3", "\"RE\" + \" x \" + count3", "\"RE\"", "\" x \"", "count3", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n++;\n int count = 0;\n int count1 = 0;\n int count2 = 0;\n int count3 = 0;\n while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }\n System.out.println(\"AC\" + \" x \" + count);\n System.out.println(\"WA\" + \" x \" + count1);\n System.out.println(\"TLE\" + \" x \" + count2);\n System.out.println(\"RE\" + \" x \" + count3);\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n n++;\n int count = 0;\n int count1 = 0;\n int count2 = 0;\n int count3 = 0;\n while(n-->0){\n String s = sc.nextLine();\n if(s.contains(\"AC\")){\n count++;\n }\n else if(s.contains(\"WA\")){\n count1++;\n }\n else if(s.contains(\"TLE\")){\n count2++;\n }\n else if(s.contains(\"RE\")){\n count3++;\n }\n\n }\n System.out.println(\"AC\" + \" x \" + count);\n System.out.println(\"WA\" + \" x \" + count1);\n System.out.println(\"TLE\" + \" x \" + count2);\n System.out.println(\"RE\" + \" x \" + count3);\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(); n++; int count = 0; int count1 = 0; int count2 = 0; int count3 = 0; while(n-->0){ String s = sc.nextLine(); if(s.contains("AC")){ count++; } else if(s.contains("WA")){ count1++; } else if(s.contains("TLE")){ count2++; } else if(s.contains("RE")){ count3++; } } System.out.println("AC" + " x " + count); System.out.println("WA" + " x " + count1); System.out.println("TLE" + " x " + count2); System.out.println("RE" + " x " + count3); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 20, 17, 41, 13, 39, 17, 17, 17, 17, 41, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 13, 40, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 122, 5 ], [ 122, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 27, 29 ], [ 27, 30 ], [ 27, 31 ], [ 8, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 8, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 69, 77 ], [ 77, 78 ], [ 78, 79 ], [ 69, 80 ], [ 81, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 82, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 111, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 111, 115 ], [ 111, 116 ], [ 116, 117 ], [ 116, 118 ], [ 6, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tint num = sc.nextInt();\n \tint nums[] = new int[num];\n \tint c[] = new int[4];\n \tString str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n \tString stack;\n \n \tfor(int i = 0;i < 4;i++) c[i] = 0;\n \n \tfor(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}\n \n \tfor(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);\n \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\n \tint num = sc.nextInt();\n \tint nums[] = new int[num];\n \tint c[] = new int[4];\n \tString str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n \tString stack;\n \n \tfor(int i = 0;i < 4;i++) c[i] = 0;\n \n \tfor(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}\n \n \tfor(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);\n \n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tint num = sc.nextInt();\n \tint nums[] = new int[num];\n \tint c[] = new int[4];\n \tString str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n \tString stack;\n \n \tfor(int i = 0;i < 4;i++) c[i] = 0;\n \n \tfor(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}\n \n \tfor(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);\n \n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tint num = sc.nextInt();\n \tint nums[] = new int[num];\n \tint c[] = new int[4];\n \tString str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n \tString stack;\n \n \tfor(int i = 0;i < 4;i++) c[i] = 0;\n \n \tfor(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}\n \n \tfor(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);\n \n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num = sc.nextInt();", "num", "sc.nextInt()", "sc.nextInt", "sc", "int nums[] = new int[num];", "nums", "new int[num]", "num", "int c[] = new int[4];", "c", "new int[4]", "4", "String str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};", "str", "{\"AC\",\"WA\",\"TLE\",\"RE\"}", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "String stack;", "stack", "for(int i = 0;i < 4;i++) c[i] = 0;", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "c[i] = 0;", "c[i] = 0", "c[i]", "c", "i", "0", "for(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}", "{\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}", "stack = sc.next()", "stack", "sc.next()", "sc.next", "sc", "for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }", "int j = 0;", "int j = 0;", "j", "0", "j < 4", "j", "4", "j++", "j++", "j", "{\n \tif(str[j].equals(stack)) c[j]++; \n }", "{\n \tif(str[j].equals(stack)) c[j]++; \n }", "if(str[j].equals(stack)) c[j]++;", "str[j].equals(stack)", "str[j].equals", "str[j]", "str", "j", "stack", "c[j]++", "c[j]", "c", "j", "for(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "System.out.println(str[i] +\" x \" +c[i]);", "System.out.println(str[i] +\" x \" +c[i])", "System.out.println", "System.out", "System", "System.out", "str[i] +\" x \" +c[i]", "str[i] +\" x \" +c[i]", "str[i]", "str", "i", "\" x \"", "c[i]", "c", "i", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tint num = sc.nextInt();\n \tint nums[] = new int[num];\n \tint c[] = new int[4];\n \tString str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n \tString stack;\n \n \tfor(int i = 0;i < 4;i++) c[i] = 0;\n \n \tfor(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}\n \n \tfor(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);\n \n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \t\n \tint num = sc.nextInt();\n \tint nums[] = new int[num];\n \tint c[] = new int[4];\n \tString str[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n \tString stack;\n \n \tfor(int i = 0;i < 4;i++) c[i] = 0;\n \n \tfor(int i = 0;i < num;i++) {\n stack = sc.next();\n for(int j = 0;j < 4;j++) {\n \tif(str[j].equals(stack)) c[j]++; \n }\n \t}\n \n \tfor(int i = 0;i < 4;i++) System.out.println(str[i] +\" x \" +c[i]);\n \n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int num = sc.nextInt(); int nums[] = new int[num]; int c[] = new int[4]; String str[] = {"AC","WA","TLE","RE"}; String stack; for(int i = 0;i < 4;i++) c[i] = 0; for(int i = 0;i < num;i++) { stack = sc.next(); for(int j = 0;j < 4;j++) { if(str[j].equals(stack)) c[j]++; } } for(int i = 0;i < 4;i++) System.out.println(str[i] +" x " +c[i]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 14, 4, 18, 13, 17, 30, 0, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 113, 5 ], [ 113, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 47, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 56, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 65, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 6, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint a = 0;\n\t\tint w = 0;\n\t\tint t = 0;\n\t\tint r = 0;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + a);\n\t\tSystem.out.println(\"WA x \" + w);\n\t\tSystem.out.println(\"TLE x \" + t);\n\t\tSystem.out.println(\"RE x \" + r);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint a = 0;\n\t\tint w = 0;\n\t\tint t = 0;\n\t\tint r = 0;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + a);\n\t\tSystem.out.println(\"WA x \" + w);\n\t\tSystem.out.println(\"TLE x \" + t);\n\t\tSystem.out.println(\"RE x \" + r);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint a = 0;\n\t\tint w = 0;\n\t\tint t = 0;\n\t\tint r = 0;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + a);\n\t\tSystem.out.println(\"WA x \" + w);\n\t\tSystem.out.println(\"TLE x \" + t);\n\t\tSystem.out.println(\"RE x \" + r);\n\t}", "main", "{\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint a = 0;\n\t\tint w = 0;\n\t\tint t = 0;\n\t\tint r = 0;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + a);\n\t\tSystem.out.println(\"WA x \" + w);\n\t\tSystem.out.println(\"TLE x \" + t);\n\t\tSystem.out.println(\"RE x \" + r);\n\t}", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int N = scanner.nextInt();", "N", "scanner.nextInt()", "scanner.nextInt", "scanner", "int a = 0;", "a", "0", "int w = 0;", "w", "0", "int t = 0;", "t", "0", "int r = 0;", "r", "0", "for (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 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 = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}", "{\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}", "String S = scanner.next();", "S", "scanner.next()", "scanner.next", "scanner", "if (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}", "S.equals(\"AC\")", "S.equals", "S", "\"AC\"", "{\n\t\t\t\ta += 1;\n\t\t\t}", "a += 1", "a", "1", "if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}", "S.equals(\"WA\")", "S.equals", "S", "\"WA\"", "{\n\t\t\t\tw += 1;\n\t\t\t}", "w += 1", "w", "1", "if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}", "S.equals(\"TLE\")", "S.equals", "S", "\"TLE\"", "{\n\t\t\t\tt += 1;\n\t\t\t}", "t += 1", "t", "1", "{\n\t\t\t\tr += 1;\n\t\t\t}", "r += 1", "r", "1", "System.out.println(\"AC x \" + a)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + a", "\"AC x \"", "a", "System.out.println(\"WA x \" + w)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + w", "\"WA x \"", "w", "System.out.println(\"TLE x \" + t)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + t", "\"TLE x \"", "t", "System.out.println(\"RE x \" + r)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + r", "\"RE x \"", "r", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint a = 0;\n\t\tint w = 0;\n\t\tint t = 0;\n\t\tint r = 0;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + a);\n\t\tSystem.out.println(\"WA x \" + w);\n\t\tSystem.out.println(\"TLE x \" + t);\n\t\tSystem.out.println(\"RE x \" + r);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\tScanner scanner = new Scanner(System.in);\n\t\tint N = scanner.nextInt();\n\t\tint a = 0;\n\t\tint w = 0;\n\t\tint t = 0;\n\t\tint r = 0;\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString S = scanner.next();\n\t\t\tif (S.equals(\"AC\")) {\n\t\t\t\ta += 1;\n\t\t\t} else if (S.equals(\"WA\")) {\n\t\t\t\tw += 1;\n\t\t\t} else if (S.equals(\"TLE\")) {\n\t\t\t\tt += 1;\n\t\t\t} else {\n\t\t\t\tr += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + a);\n\t\tSystem.out.println(\"WA x \" + w);\n\t\tSystem.out.println(\"TLE x \" + t);\n\t\tSystem.out.println(\"RE x \" + r);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); int a = 0; int w = 0; int t = 0; int r = 0; for (int i = 0; i < N; i++) { String S = scanner.next(); if (S.equals("AC")) { a += 1; } else if (S.equals("WA")) { w += 1; } else if (S.equals("TLE")) { t += 1; } else { r += 1; } } System.out.println("AC x " + a); System.out.println("WA x " + w); System.out.println("TLE x " + t); System.out.println("RE x " + r); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 40, 13, 14, 4, 18, 13, 13, 30, 40, 13, 14, 4, 18, 13, 13, 30, 40, 13, 14, 4, 18, 13, 13, 30, 40, 13, 4, 18, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 132, 5 ], [ 132, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 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 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 75, 76 ], [ 76, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 84, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 86, 91 ], [ 91, 92 ], [ 92, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 8, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 6, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.util.Scanner;\npublic class Main {\n public static void main(String[] args){\n int A=0,W=0,T=0,R=0;\n String AC = new String(\"AC\");\n String WA = new String(\"WA\");\n String TLE = new String(\"TLE\");\n String RE = new String(\"RE\");\n Scanner scan = new Scanner(System.in);\n String txt = new String();\n int N = scan.nextInt();\n for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }\n scan.close();\n System.out.println(\"AC x \" + A);\n System.out.println(\"WA x \" + W);\n System.out.println(\"TLE x \" + T);\n System.out.println(\"RE x \" + R);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args){\n int A=0,W=0,T=0,R=0;\n String AC = new String(\"AC\");\n String WA = new String(\"WA\");\n String TLE = new String(\"TLE\");\n String RE = new String(\"RE\");\n Scanner scan = new Scanner(System.in);\n String txt = new String();\n int N = scan.nextInt();\n for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }\n scan.close();\n System.out.println(\"AC x \" + A);\n System.out.println(\"WA x \" + W);\n System.out.println(\"TLE x \" + T);\n System.out.println(\"RE x \" + R);\n }\n}", "Main", "public static void main(String[] args){\n int A=0,W=0,T=0,R=0;\n String AC = new String(\"AC\");\n String WA = new String(\"WA\");\n String TLE = new String(\"TLE\");\n String RE = new String(\"RE\");\n Scanner scan = new Scanner(System.in);\n String txt = new String();\n int N = scan.nextInt();\n for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }\n scan.close();\n System.out.println(\"AC x \" + A);\n System.out.println(\"WA x \" + W);\n System.out.println(\"TLE x \" + T);\n System.out.println(\"RE x \" + R);\n }", "main", "{\n int A=0,W=0,T=0,R=0;\n String AC = new String(\"AC\");\n String WA = new String(\"WA\");\n String TLE = new String(\"TLE\");\n String RE = new String(\"RE\");\n Scanner scan = new Scanner(System.in);\n String txt = new String();\n int N = scan.nextInt();\n for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }\n scan.close();\n System.out.println(\"AC x \" + A);\n System.out.println(\"WA x \" + W);\n System.out.println(\"TLE x \" + T);\n System.out.println(\"RE x \" + R);\n }", "int A=0", "A", "0", "W=0", "W", "0", "T=0", "T", "0", "R=0;", "R", "0", "String AC = new String(\"AC\");", "AC", "new String(\"AC\")", "String WA = new String(\"WA\");", "WA", "new String(\"WA\")", "String TLE = new String(\"TLE\");", "TLE", "new String(\"TLE\")", "String RE = new String(\"RE\");", "RE", "new String(\"RE\")", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String txt = new String();", "txt", "new String()", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }", "{\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }", "txt = scan.next()", "txt", "scan.next()", "scan.next", "scan", "if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }", "txt.equals(AC)", "txt.equals", "txt", "AC", "{\n A++;\n }", "A++", "A", "if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }", "txt.equals(WA)", "txt.equals", "txt", "WA", "{\n W++;\n }", "W++", "W", "if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }", "txt.equals(TLE)", "txt.equals", "txt", "TLE", "{\n T++;\n }", "T++", "T", "if(txt.equals(RE)){\n R++;\n }", "txt.equals(RE)", "txt.equals", "txt", "RE", "{\n R++;\n }", "R++", "R", "scan.close()", "scan.close", "scan", "System.out.println(\"AC x \" + A)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + A", "\"AC x \"", "A", "System.out.println(\"WA x \" + W)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + W", "\"WA x \"", "W", "System.out.println(\"TLE x \" + T)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + T", "\"TLE x \"", "T", "System.out.println(\"RE x \" + R)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + R", "\"RE x \"", "R", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n int A=0,W=0,T=0,R=0;\n String AC = new String(\"AC\");\n String WA = new String(\"WA\");\n String TLE = new String(\"TLE\");\n String RE = new String(\"RE\");\n Scanner scan = new Scanner(System.in);\n String txt = new String();\n int N = scan.nextInt();\n for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }\n scan.close();\n System.out.println(\"AC x \" + A);\n System.out.println(\"WA x \" + W);\n System.out.println(\"TLE x \" + T);\n System.out.println(\"RE x \" + R);\n }\n}", "public class Main {\n public static void main(String[] args){\n int A=0,W=0,T=0,R=0;\n String AC = new String(\"AC\");\n String WA = new String(\"WA\");\n String TLE = new String(\"TLE\");\n String RE = new String(\"RE\");\n Scanner scan = new Scanner(System.in);\n String txt = new String();\n int N = scan.nextInt();\n for(int i = 0;i < N;i++){\n txt = scan.next();\n if(txt.equals(AC)){\n A++;\n }else if(txt.equals(WA)){\n W++;\n }else if(txt.equals(TLE)){\n T++;\n }else if(txt.equals(RE)){\n R++;\n }\n }\n scan.close();\n System.out.println(\"AC x \" + A);\n System.out.println(\"WA x \" + W);\n System.out.println(\"TLE x \" + T);\n System.out.println(\"RE x \" + R);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args){ int A=0,W=0,T=0,R=0; String AC = new String("AC"); String WA = new String("WA"); String TLE = new String("TLE"); String RE = new String("RE"); Scanner scan = new Scanner(System.in); String txt = new String(); int N = scan.nextInt(); for(int i = 0;i < N;i++){ txt = scan.next(); if(txt.equals(AC)){ A++; }else if(txt.equals(WA)){ W++; }else if(txt.equals(TLE)){ T++; }else if(txt.equals(RE)){ R++; } } scan.close(); System.out.println("AC x " + A); System.out.println("WA x " + W); System.out.println("TLE x " + T); System.out.println("RE x " + R); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 4, 18, 13, 17, 2, 4, 18, 13, 4, 18, 4, 18, 13, 17, 17, 14, 4, 18, 17, 13, 30, 4, 18, 13, 17, 2, 4, 18, 13, 4, 18, 4, 18, 13, 17, 17, 14, 4, 18, 17, 13, 30, 4, 18, 13, 17, 2, 4, 18, 13, 4, 18, 4, 18, 13, 17, 17, 30, 4, 18, 13, 17, 2, 4, 18, 13, 4, 18, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 190, 11 ], [ 190, 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 ], [ 26, 29 ], [ 26, 30 ], [ 14, 31 ], [ 31, 32 ], [ 32, 33 ], [ 31, 34 ], [ 31, 35 ], [ 14, 36 ], [ 36, 37 ], [ 37, 38 ], [ 36, 39 ], [ 36, 40 ], [ 14, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 41, 45 ], [ 14, 46 ], [ 46, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 46, 51 ], [ 51, 52 ], [ 51, 53 ], [ 46, 54 ], [ 54, 55 ], [ 55, 56 ], [ 46, 57 ], [ 58, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 58, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 70, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 74, 84 ], [ 64, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 91, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 95, 105 ], [ 85, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 107, 110 ], [ 106, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 112, 115 ], [ 112, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 117, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 122, 125 ], [ 116, 126 ], [ 106, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 128, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 132, 142 ], [ 14, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 143, 148 ], [ 148, 149 ], [ 148, 150 ], [ 150, 151 ], [ 151, 152 ], [ 150, 153 ], [ 14, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 156, 158 ], [ 154, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 14, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 167, 169 ], [ 165, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 172, 175 ], [ 14, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 176, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 183, 186 ], [ 12, 187 ], [ 187, 188 ], [ 0, 189 ], [ 189, 190 ], [ 189, 191 ] ]
[ "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 sc = new Scanner(System.in);\n int n = sc.nextInt();\n Map countMap = new HashMap<String, Integer>();\n countMap.put(\"AC\", 0);\n countMap.put(\"WA\", 0);\n countMap.put(\"TLE\", 0);\n countMap.put(\"RE\", 0);\n\n for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }\n\n System.out.println(\"AC x \" + countMap.get(\"AC\"));\n System.out.println(\"WA x \" + countMap.get(\"WA\"));\n System.out.println(\"TLE x \" + countMap.get(\"TLE\"));\n System.out.println(\"RE x \" + countMap.get(\"RE\"));\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 sc = new Scanner(System.in);\n int n = sc.nextInt();\n Map countMap = new HashMap<String, Integer>();\n countMap.put(\"AC\", 0);\n countMap.put(\"WA\", 0);\n countMap.put(\"TLE\", 0);\n countMap.put(\"RE\", 0);\n\n for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }\n\n System.out.println(\"AC x \" + countMap.get(\"AC\"));\n System.out.println(\"WA x \" + countMap.get(\"WA\"));\n System.out.println(\"TLE x \" + countMap.get(\"TLE\"));\n System.out.println(\"RE x \" + countMap.get(\"RE\"));\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Map countMap = new HashMap<String, Integer>();\n countMap.put(\"AC\", 0);\n countMap.put(\"WA\", 0);\n countMap.put(\"TLE\", 0);\n countMap.put(\"RE\", 0);\n\n for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }\n\n System.out.println(\"AC x \" + countMap.get(\"AC\"));\n System.out.println(\"WA x \" + countMap.get(\"WA\"));\n System.out.println(\"TLE x \" + countMap.get(\"TLE\"));\n System.out.println(\"RE x \" + countMap.get(\"RE\"));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n Map countMap = new HashMap<String, Integer>();\n countMap.put(\"AC\", 0);\n countMap.put(\"WA\", 0);\n countMap.put(\"TLE\", 0);\n countMap.put(\"RE\", 0);\n\n for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }\n\n System.out.println(\"AC x \" + countMap.get(\"AC\"));\n System.out.println(\"WA x \" + countMap.get(\"WA\"));\n System.out.println(\"TLE x \" + countMap.get(\"TLE\"));\n System.out.println(\"RE x \" + countMap.get(\"RE\"));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Map countMap = new HashMap<String, Integer>();", "countMap", "new HashMap<String, Integer>()", "countMap.put(\"AC\", 0)", "countMap.put", "countMap", "\"AC\"", "0", "countMap.put(\"WA\", 0)", "countMap.put", "countMap", "\"WA\"", "0", "countMap.put(\"TLE\", 0)", "countMap.put", "countMap", "\"TLE\"", "0", "countMap.put(\"RE\", 0)", "countMap.put", "countMap", "\"RE\"", "0", "for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i <= n", "i", "n", "i++", "i++", "i", "{\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }", "{\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }", "\"AC\".equals(s)", "\"AC\".equals", "\"AC\"", "s", "{\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n }", "countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1)", "countMap.put", "countMap", "\"AC\"", "Integer.parseInt(countMap.get(\"AC\").toString()) + 1", "Integer.parseInt(countMap.get(\"AC\").toString())", "Integer.parseInt", "Integer", "countMap.get(\"AC\").toString()", "countMap.get(\"AC\").toString", "countMap.get(\"AC\")", "countMap.get", "countMap", "\"AC\"", "1", "if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }", "\"WA\".equals(s)", "\"WA\".equals", "\"WA\"", "s", "{\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n }", "countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1)", "countMap.put", "countMap", "\"WA\"", "Integer.parseInt(countMap.get(\"WA\").toString()) + 1", "Integer.parseInt(countMap.get(\"WA\").toString())", "Integer.parseInt", "Integer", "countMap.get(\"WA\").toString()", "countMap.get(\"WA\").toString", "countMap.get(\"WA\")", "countMap.get", "countMap", "\"WA\"", "1", "if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }", "\"TLE\".equals(s)", "\"TLE\".equals", "\"TLE\"", "s", "{\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n }", "countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1)", "countMap.put", "countMap", "\"TLE\"", "Integer.parseInt(countMap.get(\"TLE\").toString()) + 1", "Integer.parseInt(countMap.get(\"TLE\").toString())", "Integer.parseInt", "Integer", "countMap.get(\"TLE\").toString()", "countMap.get(\"TLE\").toString", "countMap.get(\"TLE\")", "countMap.get", "countMap", "\"TLE\"", "1", "{\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }", "countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1)", "countMap.put", "countMap", "\"RE\"", "Integer.parseInt(countMap.get(\"RE\").toString()) + 1", "Integer.parseInt(countMap.get(\"RE\").toString())", "Integer.parseInt", "Integer", "countMap.get(\"RE\").toString()", "countMap.get(\"RE\").toString", "countMap.get(\"RE\")", "countMap.get", "countMap", "\"RE\"", "1", "System.out.println(\"AC x \" + countMap.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + countMap.get(\"AC\")", "\"AC x \"", "countMap.get(\"AC\")", "countMap.get", "countMap", "\"AC\"", "System.out.println(\"WA x \" + countMap.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + countMap.get(\"WA\")", "\"WA x \"", "countMap.get(\"WA\")", "countMap.get", "countMap", "\"WA\"", "System.out.println(\"TLE x \" + countMap.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + countMap.get(\"TLE\")", "\"TLE x \"", "countMap.get(\"TLE\")", "countMap.get", "countMap", "\"TLE\"", "System.out.println(\"RE x \" + countMap.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + countMap.get(\"RE\")", "\"RE x \"", "countMap.get(\"RE\")", "countMap.get", "countMap", "\"RE\"", "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 Map countMap = new HashMap<String, Integer>();\n countMap.put(\"AC\", 0);\n countMap.put(\"WA\", 0);\n countMap.put(\"TLE\", 0);\n countMap.put(\"RE\", 0);\n\n for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }\n\n System.out.println(\"AC x \" + countMap.get(\"AC\"));\n System.out.println(\"WA x \" + countMap.get(\"WA\"));\n System.out.println(\"TLE x \" + countMap.get(\"TLE\"));\n System.out.println(\"RE x \" + countMap.get(\"RE\"));\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 Map countMap = new HashMap<String, Integer>();\n countMap.put(\"AC\", 0);\n countMap.put(\"WA\", 0);\n countMap.put(\"TLE\", 0);\n countMap.put(\"RE\", 0);\n\n for (int i = 1; i <= n; i++) {\n String s = sc.next();\n if (\"AC\".equals(s)) {\n countMap.put(\"AC\", Integer.parseInt(countMap.get(\"AC\").toString()) + 1);\n } else if (\"WA\".equals(s)) {\n countMap.put(\"WA\", Integer.parseInt(countMap.get(\"WA\").toString()) + 1);\n } else if (\"TLE\".equals(s)) {\n countMap.put(\"TLE\", Integer.parseInt(countMap.get(\"TLE\").toString()) + 1);\n } else {\n countMap.put(\"RE\", Integer.parseInt(countMap.get(\"RE\").toString()) + 1);\n }\n }\n\n System.out.println(\"AC x \" + countMap.get(\"AC\"));\n System.out.println(\"WA x \" + countMap.get(\"WA\"));\n System.out.println(\"TLE x \" + countMap.get(\"TLE\"));\n System.out.println(\"RE x \" + countMap.get(\"RE\"));\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 sc = new Scanner(System.in); int n = sc.nextInt(); Map countMap = new HashMap<String, Integer>(); countMap.put("AC", 0); countMap.put("WA", 0); countMap.put("TLE", 0); countMap.put("RE", 0); for (int i = 1; i <= n; i++) { String s = sc.next(); if ("AC".equals(s)) { countMap.put("AC", Integer.parseInt(countMap.get("AC").toString()) + 1); } else if ("WA".equals(s)) { countMap.put("WA", Integer.parseInt(countMap.get("WA").toString()) + 1); } else if ("TLE".equals(s)) { countMap.put("TLE", Integer.parseInt(countMap.get("TLE").toString()) + 1); } else { countMap.put("RE", Integer.parseInt(countMap.get("RE").toString()) + 1); } } System.out.println("AC x " + countMap.get("AC")); System.out.println("WA x " + countMap.get("WA")); System.out.println("TLE x " + countMap.get("TLE")); System.out.println("RE x " + countMap.get("RE")); } }
[ 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, 2, 4, 18, 13, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 100, 5 ], [ 100, 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 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 43, 47 ], [ 42, 48 ], [ 8, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 56, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 68, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 8, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 92, 96 ], [ 6, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.*;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }\n System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }\n System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n }\n}", "Main", "public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }\n System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n }", "main", "{\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }\n System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n }", "Scanner input = new Scanner(System.in);", "input", "new Scanner(System.in)", "int n = input.nextInt();", "n", "input.nextInt()", "input.nextInt", "input", "Map<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }", "{\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }", "String testCase = input.next();", "testCase", "input.next()", "input.next", "input", "map.put(testCase, map.getOrDefault(testCase, 0) + 1)", "map.put", "map", "testCase", "map.getOrDefault(testCase, 0) + 1", "map.getOrDefault(testCase, 0)", "map.getOrDefault", "map", "testCase", "0", "1", "System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0))", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + map.getOrDefault(\"AC\", 0)", "\"AC x \"", "map.getOrDefault(\"AC\", 0)", "map.getOrDefault", "map", "\"AC\"", "0", "System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0))", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + map.getOrDefault(\"WA\", 0)", "\"WA x \"", "map.getOrDefault(\"WA\", 0)", "map.getOrDefault", "map", "\"WA\"", "0", "System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + map.getOrDefault(\"TLE\", 0)", "\"TLE x \"", "map.getOrDefault(\"TLE\", 0)", "map.getOrDefault", "map", "\"TLE\"", "0", "System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0))", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + map.getOrDefault(\"RE\", 0)", "\"RE x \"", "map.getOrDefault(\"RE\", 0)", "map.getOrDefault", "map", "\"RE\"", "0", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }\n System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner input = new Scanner(System.in);\n int n = input.nextInt();\n Map<String, Integer> map = new HashMap<>();\n for (int i = 0; i < n; i++) {\n String testCase = input.next();\n map.put(testCase, map.getOrDefault(testCase, 0) + 1);\n }\n System.out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n System.out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n System.out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n System.out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\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(); Map<String, Integer> map = new HashMap<>(); for (int i = 0; i < n; i++) { String testCase = input.next(); map.put(testCase, map.getOrDefault(testCase, 0) + 1); } System.out.println("AC x " + map.getOrDefault("AC", 0)); System.out.println("WA x " + map.getOrDefault("WA", 0)); System.out.println("TLE x " + map.getOrDefault("TLE", 0)); System.out.println("RE x " + map.getOrDefault("RE", 0)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 40, 18, 13, 13, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 105, 5 ], [ 105, 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 ], [ 19, 22 ], [ 19, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 26, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 51, 53 ], [ 49, 54 ], [ 54, 55 ], [ 54, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 49, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 75, 86 ], [ 87, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 94, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 94, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 6, 102 ], [ 102, 103 ], [ 0, 104 ], [ 104, 105 ], [ 104, 106 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String aargs[]){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int[] cnts = {0,0,0,0};\n \n for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }\n \n for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }\n \n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String aargs[]){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int[] cnts = {0,0,0,0};\n \n for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }\n \n for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }\n \n }\n}", "Main", "public static void main(String aargs[]){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int[] cnts = {0,0,0,0};\n \n for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }\n \n for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int[] cnts = {0,0,0,0};\n \n for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }\n \n for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};", "ss", "{\"AC\",\"WA\",\"TLE\",\"RE\"}", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "int[] cnts = {0,0,0,0};", "cnts", "{0,0,0,0}", "0", "0", "0", "0", "for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= n", "i", "n", "i++", "i++", "i", "{\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }", "{\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }", "String r = sc.nextLine();", "r", "sc.nextLine()", "sc.nextLine", "sc", "for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }", "int j = 0;", "int j = 0;", "j", "0", "j < 4", "j", "4", "j++", "j++", "j", "{\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }", "{\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }", "if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }", "r.equals(ss[j])", "r.equals", "r", "ss[j]", "ss", "j", "{\n cnts[j]++;\n break;\n }", "cnts[j]++", "cnts[j]", "cnts", "j", "break;", "for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }", "{\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }", "System.out.println(ss[i] + \" x \" + cnts[i])", "System.out.println", "System.out", "System", "System.out", "ss[i] + \" x \" + cnts[i]", "ss[i] + \" x \" + cnts[i]", "ss[i]", "ss", "i", "\" x \"", "cnts[i]", "cnts", "i", "String aargs[]", "aargs", "public class Main{\n public static void main(String aargs[]){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int[] cnts = {0,0,0,0};\n \n for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }\n \n for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }\n \n }\n}", "public class Main{\n public static void main(String aargs[]){\n Scanner sc = new Scanner(System.in);\n \n int n = sc.nextInt();\n String[] ss = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int[] cnts = {0,0,0,0};\n \n for(int i = 0; i <= n; i++){\n String r = sc.nextLine();\n for(int j = 0; j < 4; j++){\n if(r.equals(ss[j])){\n cnts[j]++;\n break;\n }\n }\n }\n \n for(int i = 0; i < 4; i++){\n System.out.println(ss[i] + \" x \" + cnts[i]);\n }\n \n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String aargs[]){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] ss = {"AC","WA","TLE","RE"}; int[] cnts = {0,0,0,0}; for(int i = 0; i <= n; i++){ String r = sc.nextLine(); for(int j = 0; j < 4; j++){ if(r.equals(ss[j])){ cnts[j]++; break; } } } for(int i = 0; i < 4; i++){ System.out.println(ss[i] + " x " + cnts[i]); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 2, 17, 17, 41, 13, 18, 13, 13, 41, 13, 18, 13, 13, 41, 13, 17, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 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, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 12, 13, 30, 4, 18, 20, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 139, 5 ], [ 139, 6 ], [ 6, 7 ], [ 6, 8 ], [ 139, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 11, 13 ], [ 139, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 16, 18 ], [ 139, 19 ], [ 19, 20 ], [ 19, 21 ], [ 21, 22 ], [ 21, 23 ], [ 139, 24 ], [ 24, 25 ], [ 24, 26 ], [ 139, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 30, 32 ], [ 32, 33 ], [ 33, 34 ], [ 29, 35 ], [ 35, 36 ], [ 35, 37 ], [ 29, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 38, 42 ], [ 29, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 43, 47 ], [ 29, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 48, 52 ], [ 29, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 53, 57 ], [ 29, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 70, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 76, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 29, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 29, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 29, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 29, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 124, 125 ], [ 124, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 139, 130 ], [ 130, 131 ], [ 130, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 130, 136 ], [ 136, 137 ], [ 0, 138 ], [ 138, 139 ], [ 138, 140 ] ]
[ "import java.util.*;\n \npublic class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint N = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}\n\t\tSystem.out.println(\"AC x \" + map.get(\"AC\"));\n\t\tSystem.out.println(\"WA x \" + map.get(\"WA\"));\n\t\tSystem.out.println(\"TLE x \" + map.get(\"TLE\"));\n\t\tSystem.out.println(\"RE x \" + map.get(\"RE\"));\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint N = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}\n\t\tSystem.out.println(\"AC x \" + map.get(\"AC\"));\n\t\tSystem.out.println(\"WA x \" + map.get(\"WA\"));\n\t\tSystem.out.println(\"TLE x \" + map.get(\"TLE\"));\n\t\tSystem.out.println(\"RE x \" + map.get(\"RE\"));\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}", "Main", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "final int MOD = (int)1e9 + 7;", "MOD", "(int)1e9 + 7", "(int)1e9", "7", "final int MAX = Integer.MAX_VALUE;", "MAX", "Integer.MAX_VALUE", "Integer", "Integer.MAX_VALUE", "final long LMAX = Long.MAX_VALUE;", "LMAX", "Long.MAX_VALUE", "Long", "Long.MAX_VALUE", "int len = (int)1e7;", "len", "(int)1e7", "void doIt() {\n\t\tint N = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}\n\t\tSystem.out.println(\"AC x \" + map.get(\"AC\"));\n\t\tSystem.out.println(\"WA x \" + map.get(\"WA\"));\n\t\tSystem.out.println(\"TLE x \" + map.get(\"TLE\"));\n\t\tSystem.out.println(\"RE x \" + map.get(\"RE\"));\n\t}", "doIt", "{\n\t\tint N = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}\n\t\tSystem.out.println(\"AC x \" + map.get(\"AC\"));\n\t\tSystem.out.println(\"WA x \" + map.get(\"WA\"));\n\t\tSystem.out.println(\"TLE x \" + map.get(\"TLE\"));\n\t\tSystem.out.println(\"RE x \" + map.get(\"RE\"));\n\t}", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "Map<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "map.put(\"AC\", 0)", "map.put", "map", "\"AC\"", "0", "map.put(\"WA\", 0)", "map.put", "map", "\"WA\"", "0", "map.put(\"TLE\", 0)", "map.put", "map", "\"TLE\"", "0", "map.put(\"RE\", 0)", "map.put", "map", "\"RE\"", "0", "for(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\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\tmap.put(S, map.get(S) + 1);\n\t\t}", "{\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}", "String S = sc.next();", "S", "sc.next()", "sc.next", "sc", "map.put(S, map.get(S) + 1)", "map.put", "map", "S", "map.get(S) + 1", "map.get(S)", "map.get", "map", "S", "1", "System.out.println(\"AC x \" + map.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + map.get(\"AC\")", "\"AC x \"", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "System.out.println(\"WA x \" + map.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + map.get(\"WA\")", "\"WA x \"", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "System.out.println(\"TLE x \" + map.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + map.get(\"TLE\")", "\"TLE x \"", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "System.out.println(\"RE x \" + map.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + map.get(\"RE\")", "\"RE x \"", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "public static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}", "main", "{\n\t\tnew Main().doIt();\n\t}", "new Main().doIt()", "new Main().doIt", "new Main()", "String[] args", "args", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint N = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}\n\t\tSystem.out.println(\"AC x \" + map.get(\"AC\"));\n\t\tSystem.out.println(\"WA x \" + map.get(\"WA\"));\n\t\tSystem.out.println(\"TLE x \" + map.get(\"TLE\"));\n\t\tSystem.out.println(\"RE x \" + map.get(\"RE\"));\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}", "public class Main {\n\tScanner sc = new Scanner(System.in);\n\tfinal int MOD = (int)1e9 + 7;\n\tfinal int MAX = Integer.MAX_VALUE;\n\tfinal long LMAX = Long.MAX_VALUE;\n\tint len = (int)1e7;\n\t\n\t\n\tvoid doIt() {\n\t\tint N = sc.nextInt();\n\t\tMap<String, Integer> map = new HashMap<>();\n\t\tmap.put(\"AC\", 0);\n\t\tmap.put(\"WA\", 0);\n\t\tmap.put(\"TLE\", 0);\n\t\tmap.put(\"RE\", 0);\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\tString S = sc.next();\n\t\t\tmap.put(S, map.get(S) + 1);\n\t\t}\n\t\tSystem.out.println(\"AC x \" + map.get(\"AC\"));\n\t\tSystem.out.println(\"WA x \" + map.get(\"WA\"));\n\t\tSystem.out.println(\"TLE x \" + map.get(\"TLE\"));\n\t\tSystem.out.println(\"RE x \" + map.get(\"RE\"));\n\t}\n\t\n\tpublic static void main(String[] args) {\n\t\tnew Main().doIt();\n\t}\n \n}", "Main" ]
import java.util.*; public class Main { Scanner sc = new Scanner(System.in); final int MOD = (int)1e9 + 7; final int MAX = Integer.MAX_VALUE; final long LMAX = Long.MAX_VALUE; int len = (int)1e7; void doIt() { int N = sc.nextInt(); Map<String, Integer> map = new HashMap<>(); map.put("AC", 0); map.put("WA", 0); map.put("TLE", 0); map.put("RE", 0); for(int i = 0; i < N; i++) { String S = sc.next(); map.put(S, map.get(S) + 1); } System.out.println("AC x " + map.get("AC")); System.out.println("WA x " + map.get("WA")); System.out.println("TLE x " + map.get("TLE")); System.out.println("RE x " + map.get("RE")); } public static void main(String[] args) { new Main().doIt(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 107, 5 ], [ 107, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 46, 47 ], [ 34, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 53, 54 ], [ 54, 55 ], [ 34, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 34, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 70, 71 ], [ 8, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 72, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 8, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 6, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "//package hiougyf;\nimport java.util.*;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc =new Scanner(System.in);\n\tint t=sc.nextInt();\n\n\t int ac=0,wa=0,tle=0,re=0;\n\t while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }\n\t\t System.out.println(\"AC x \"+ac);\n\t\t System.out.println(\"WA x \"+wa);\n\t\t System.out.println(\"TLE x \"+tle);\n\t\t System.out.println(\"RE x \"+re);\n\t\t \n\t \n\t}\n\t\n}\n\t", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc =new Scanner(System.in);\n\tint t=sc.nextInt();\n\n\t int ac=0,wa=0,tle=0,re=0;\n\t while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }\n\t\t System.out.println(\"AC x \"+ac);\n\t\t System.out.println(\"WA x \"+wa);\n\t\t System.out.println(\"TLE x \"+tle);\n\t\t System.out.println(\"RE x \"+re);\n\t\t \n\t \n\t}\n\t\n}", "Main", "public static void main(String[] args) {\n\t\t Scanner sc =new Scanner(System.in);\n\tint t=sc.nextInt();\n\n\t int ac=0,wa=0,tle=0,re=0;\n\t while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }\n\t\t System.out.println(\"AC x \"+ac);\n\t\t System.out.println(\"WA x \"+wa);\n\t\t System.out.println(\"TLE x \"+tle);\n\t\t System.out.println(\"RE x \"+re);\n\t\t \n\t \n\t}", "main", "{\n\t\t Scanner sc =new Scanner(System.in);\n\tint t=sc.nextInt();\n\n\t int ac=0,wa=0,tle=0,re=0;\n\t while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }\n\t\t System.out.println(\"AC x \"+ac);\n\t\t System.out.println(\"WA x \"+wa);\n\t\t System.out.println(\"TLE x \"+tle);\n\t\t System.out.println(\"RE x \"+re);\n\t\t \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 ac=0", "ac", "0", "wa=0", "wa", "0", "tle=0", "tle", "0", "re=0;", "re", "0", "while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }", "t-->0", "t--", "t", "0", "{\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }", "String s=sc.next();", "s", "sc.next()", "sc.next", "sc", "if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\n\t\t\t wa++;\n\t\t }", "wa++", "wa", "if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\n\t\t\t ac++;\n\t\t }", "ac++", "ac", "if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\n\t\t\t tle++;\n\t\t }", "tle++", "tle", "if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "{\n\t\t\t re++;\n\t\t }", "re++", "re", "System.out.println(\"AC x \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ac", "\"AC x \"", "ac", "System.out.println(\"WA x \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc =new Scanner(System.in);\n\tint t=sc.nextInt();\n\n\t int ac=0,wa=0,tle=0,re=0;\n\t while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }\n\t\t System.out.println(\"AC x \"+ac);\n\t\t System.out.println(\"WA x \"+wa);\n\t\t System.out.println(\"TLE x \"+tle);\n\t\t System.out.println(\"RE x \"+re);\n\t\t \n\t \n\t}\n\t\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t Scanner sc =new Scanner(System.in);\n\tint t=sc.nextInt();\n\n\t int ac=0,wa=0,tle=0,re=0;\n\t while(t-->0) {\n\t\t String s=sc.next();\n\t \n\t\t if(s.equals(\"WA\")) {\n\t\t\t wa++;\n\t\t }\n\t\t if(s.equals(\"AC\")) {\n\t\t\t ac++;\n\t\t }\n\t\t if(s.equals(\"TLE\")) {\n\t\t\t tle++;\n\t\t }\n\t\t if(s.equals(\"RE\")) {\n\t\t\t re++;\n\t\t }\n\t }\n\t\t System.out.println(\"AC x \"+ac);\n\t\t System.out.println(\"WA x \"+wa);\n\t\t System.out.println(\"TLE x \"+tle);\n\t\t System.out.println(\"RE x \"+re);\n\t\t \n\t \n\t}\n\t\n}", "Main" ]
//package hiougyf; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc =new Scanner(System.in); int t=sc.nextInt(); int ac=0,wa=0,tle=0,re=0; while(t-->0) { String s=sc.next(); if(s.equals("WA")) { wa++; } if(s.equals("AC")) { ac++; } if(s.equals("TLE")) { tle++; } if(s.equals("RE")) { re++; } } System.out.println("AC x "+ac); System.out.println("WA x "+wa); System.out.println("TLE x "+tle); System.out.println("RE x "+re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 109, 5 ], [ 109, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 32, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 36, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 36, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 36, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 8, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "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 = Integer.parseInt(sc.next());\n int ac = 0,wa = 0,tle = 0,re = 0;\n while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\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 = Integer.parseInt(sc.next());\n int ac = 0,wa = 0,tle = 0,re = 0;\n while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int ac = 0,wa = 0,tle = 0,re = 0;\n while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int ac = 0,wa = 0,tle = 0,re = 0;\n while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = Integer.parseInt(sc.next());", "n", "Integer.parseInt(sc.next())", "Integer.parseInt", "Integer", "sc.next()", "sc.next", "sc", "int ac = 0", "ac", "0", "wa = 0", "wa", "0", "tle = 0", "tle", "0", "re = 0;", "re", "0", "while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }", "sc.hasNext()", "sc.hasNext", "sc", "{\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "if(s.equals(\"AC\")){\n ac++;\n }", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\n ac++;\n }", "ac++", "ac", "if(s.equals(\"WA\")){\n wa++;\n }", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\n wa++;\n }", "wa++", "wa", "if(s.equals(\"TLE\")){\n tle++;\n }", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\n tle++;\n }", "tle++", "tle", "if(s.equals(\"RE\")){\n re++;\n }", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "{\n re++;\n }", "re++", "re", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "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 = Integer.parseInt(sc.next());\n int ac = 0,wa = 0,tle = 0,re = 0;\n while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = Integer.parseInt(sc.next());\n int ac = 0,wa = 0,tle = 0,re = 0;\n while(sc.hasNext()){\n String s = sc.next();\n if(s.equals(\"AC\")){\n ac++;\n }\n if(s.equals(\"WA\")){\n wa++;\n }\n if(s.equals(\"TLE\")){\n tle++;\n }\n if(s.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\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 = Integer.parseInt(sc.next()); int ac = 0,wa = 0,tle = 0,re = 0; while(sc.hasNext()){ String s = sc.next(); if(s.equals("AC")){ ac++; } if(s.equals("WA")){ wa++; } if(s.equals("TLE")){ tle++; } if(s.equals("RE")){ re++; } } System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 40, 18, 13, 8, 4, 18, 13, 17, 17, 8, 4, 18, 13, 17, 17, 8, 4, 18, 13, 17, 17, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 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 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 40, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 42, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 48, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 54, 60 ], [ 8, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 68, 70 ], [ 8, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 98, 100 ], [ 6, 101 ], [ 101, 102 ] ]
[ "import java.util.*;\nclass Main{\npublic static void main(String[]args){\nScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []po=new int[4];\n for(int i=0;i<n;i++){\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }\n System.out.println(\"AC x \"+po[0]);\n System.out.println(\"WA x \"+po[1]);\n System.out.println(\"TLE x \"+po[2]);\n System.out.println(\"RE x \"+po[3]);\n}\n}", "import java.util.*;", "util.*", "java", "class Main{\npublic static void main(String[]args){\nScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []po=new int[4];\n for(int i=0;i<n;i++){\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }\n System.out.println(\"AC x \"+po[0]);\n System.out.println(\"WA x \"+po[1]);\n System.out.println(\"TLE x \"+po[2]);\n System.out.println(\"RE x \"+po[3]);\n}\n}", "Main", "public static void main(String[]args){\nScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []po=new int[4];\n for(int i=0;i<n;i++){\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }\n System.out.println(\"AC x \"+po[0]);\n System.out.println(\"WA x \"+po[1]);\n System.out.println(\"TLE x \"+po[2]);\n System.out.println(\"RE x \"+po[3]);\n}", "main", "{\nScanner sc=new Scanner(System.in);\n int n=sc.nextInt();\n int []po=new int[4];\n for(int i=0;i<n;i++){\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }\n System.out.println(\"AC x \"+po[0]);\n System.out.println(\"WA x \"+po[1]);\n System.out.println(\"TLE x \"+po[2]);\n System.out.println(\"RE x \"+po[3]);\n}", "Scanner sc=new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int []po=new int[4];", "po", "new int[4]", "4", "for(int i=0;i<n;i++){\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }", "{\n String p=sc.next();\n po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++;\n }", "String p=sc.next();", "p", "sc.next()", "sc.next", "sc", "po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]++", "po[p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3]", "po", "p.equals(\"AC\")?0:p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3", "p.equals(\"AC\")", "p.equals", "p", "\"AC\"", "0", "p.equals(\"WA\")?1:p.equals(\"TLE\")?2:3", "p.equals(\"WA\")", "p.equals", "p", "\"WA\"", "1", "p.equals(\"TLE\")?2:3", "p.equals(\"TLE\")", "p.equals", "p", "\"TLE\"", "2", "3", "System.out.println(\"AC x \"+po[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+po[0]", "\"AC x \"", "po[0]", "po", "0", "System.out.println(\"WA x \"+po[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+po[1]", "\"WA x \"", "po[1]", "po", "1", "System.out.println(\"TLE x \"+po[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+po[2]", "\"TLE x \"", "po[2]", "po", "2", "System.out.println(\"RE x \"+po[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+po[3]", "\"RE x \"", "po[3]", "po", "3", "String[]args", "args" ]
import java.util.*; class Main{ public static void main(String[]args){ Scanner sc=new Scanner(System.in); int n=sc.nextInt(); int []po=new int[4]; for(int i=0;i<n;i++){ String p=sc.next(); po[p.equals("AC")?0:p.equals("WA")?1:p.equals("TLE")?2:3]++; } System.out.println("AC x "+po[0]); System.out.println("WA x "+po[1]); System.out.println("TLE x "+po[2]); System.out.println("RE x "+po[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 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, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 76, 77 ], [ 77, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 8, 103 ], [ 103, 104 ], [ 104, 105 ], [ 105, 106 ], [ 105, 107 ], [ 103, 108 ], [ 108, 109 ], [ 108, 110 ], [ 6, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "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 \n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n \n for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }\n \n System.out.println(\"AC x \"+ c0);\n System.out.println(\"WA x \"+ c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n \n }\n}\n ", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); \n \n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n \n for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }\n \n System.out.println(\"AC x \"+ c0);\n System.out.println(\"WA x \"+ c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n \n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); \n \n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n \n for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }\n \n System.out.println(\"AC x \"+ c0);\n System.out.println(\"WA x \"+ c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n \n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); \n \n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n \n for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }\n \n System.out.println(\"AC x \"+ c0);\n System.out.println(\"WA x \"+ c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int c0 = 0;", "c0", "0", "int c1 = 0;", "c1", "0", "int c2 = 0;", "c2", "0", "int c3 = 0;", "c3", "0", "for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }", "{\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }", "String S=sc.next();", "S", "sc.next()", "sc.next", "sc", "if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }", "S.equals(\"AC\")", "S.equals", "S", "\"AC\"", "{\n c0++;\n }", "c0++", "c0", "if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }", "S.equals(\"WA\")", "S.equals", "S", "\"WA\"", "{\n c1++;\n }", "c1++", "c1", "if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }", "S.equals(\"TLE\")", "S.equals", "S", "\"TLE\"", "{\n c2++;\n }", "c2++", "c2", "if(S.equals(\"RE\")){\n c3++;\n }", "S.equals(\"RE\")", "S.equals", "S", "\"RE\"", "{\n c3++;\n }", "c3++", "c3", "System.out.println(\"AC x \"+ c0)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ c0", "\"AC x \"", "c0", "System.out.println(\"WA x \"+ c1)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+ c1", "\"WA x \"", "c1", "System.out.println(\"TLE x \"+ c2)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+ c2", "\"TLE x \"", "c2", "System.out.println(\"RE x \"+ c3)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+ c3", "\"RE x \"", "c3", "String[] args", "args", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); \n \n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n \n for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }\n \n System.out.println(\"AC x \"+ c0);\n System.out.println(\"WA x \"+ c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n \n }\n}", "public class Main{\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt(); \n \n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n \n for(int i=0; i<N; i++){\n String S=sc.next();\n \n if(S.equals(\"AC\")){\n c0++;\n } else if(S.equals(\"WA\")){\n c1++;\n } else if(S.equals(\"TLE\")){\n c2++;\n } else if(S.equals(\"RE\")){\n c3++;\n }\n }\n \n System.out.println(\"AC x \"+ c0);\n System.out.println(\"WA x \"+ c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\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 c0 = 0; int c1 = 0; int c2 = 0; int c3 = 0; for(int i=0; i<N; i++){ String S=sc.next(); if(S.equals("AC")){ c0++; } else if(S.equals("WA")){ c1++; } else if(S.equals("TLE")){ c2++; } else if(S.equals("RE")){ c3++; } } System.out.println("AC x "+ c0); System.out.println("WA x "+ c1); System.out.println("TLE x "+ c2); System.out.println("RE x "+ c3); } }
[ 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, 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, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 128, 5 ], [ 128, 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 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 63, 70 ], [ 70, 71 ], [ 71, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 73, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 83, 90 ], [ 90, 91 ], [ 91, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 8, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 8, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 8, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 6, 125 ], [ 125, 126 ], [ 0, 127 ], [ 127, 128 ], [ 127, 129 ] ]
[ "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 String[]s = new String[N];\n \n int a=0, w=0, t=0, r=0;\n for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}\n System.out.println(\"AC x \"+a);\n System.out.println(\"WA x \"+w);\n System.out.println(\"TLE x \"+t);\n System.out.println(\"RE x \"+r);\n \n }\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 String[]s = new String[N];\n \n int a=0, w=0, t=0, r=0;\n for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}\n System.out.println(\"AC x \"+a);\n System.out.println(\"WA x \"+w);\n System.out.println(\"TLE x \"+t);\n System.out.println(\"RE x \"+r);\n \n }\n\n}", "Main", "public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n String[]s = new String[N];\n \n int a=0, w=0, t=0, r=0;\n for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}\n System.out.println(\"AC x \"+a);\n System.out.println(\"WA x \"+w);\n System.out.println(\"TLE x \"+t);\n System.out.println(\"RE x \"+r);\n \n }", "main", "{\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n String[]s = new String[N];\n \n int a=0, w=0, t=0, r=0;\n for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}\n System.out.println(\"AC x \"+a);\n System.out.println(\"WA x \"+w);\n System.out.println(\"TLE x \"+t);\n System.out.println(\"RE x \"+r);\n \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[]s = new String[N];", "s", "new String[N]", "N", "int a=0", "a", "0", "w=0", "w", "0", "t=0", "t", "0", "r=0;", "r", "0", "for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}", "{\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}", "s[i]=sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }", "s[i].equals(\"AC\")", "s[i].equals", "s[i]", "s", "i", "\"AC\"", "{\n a++;\n }", "a++", "a", "if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }", "s[i].equals(\"WA\")", "s[i].equals", "s[i]", "s", "i", "\"WA\"", "{\n w++;\n }", "w++", "w", "if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }", "s[i].equals(\"TLE\")", "s[i].equals", "s[i]", "s", "i", "\"TLE\"", "{\n t++;\n }", "t++", "t", "if(s[i].equals(\"RE\")){\n r++;\n }", "s[i].equals(\"RE\")", "s[i].equals", "s[i]", "s", "i", "\"RE\"", "{\n r++;\n }", "r++", "r", "System.out.println(\"AC x \"+a)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+a", "\"AC x \"", "a", "System.out.println(\"WA x \"+w)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+w", "\"WA x \"", "w", "System.out.println(\"TLE x \"+t)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+t", "\"TLE x \"", "t", "System.out.println(\"RE x \"+r)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+r", "\"RE x \"", "r", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n \n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n String[]s = new String[N];\n \n int a=0, w=0, t=0, r=0;\n for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}\n System.out.println(\"AC x \"+a);\n System.out.println(\"WA x \"+w);\n System.out.println(\"TLE x \"+t);\n System.out.println(\"RE x \"+r);\n \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 String[]s = new String[N];\n \n int a=0, w=0, t=0, r=0;\n for(int i=0; i<N; i++){\n s[i]=sc.next();\n if(s[i].equals(\"AC\")){\n a++;\n }else if(s[i].equals(\"WA\")){\n w++;\n }else if(s[i].equals(\"TLE\")){\n t++;\n }else if(s[i].equals(\"RE\")){\n r++;\n }\n}\n System.out.println(\"AC x \"+a);\n System.out.println(\"WA x \"+w);\n System.out.println(\"TLE x \"+t);\n System.out.println(\"RE x \"+r);\n \n }\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String[]s = new String[N]; int a=0, w=0, t=0, r=0; for(int i=0; i<N; i++){ s[i]=sc.next(); if(s[i].equals("AC")){ a++; }else if(s[i].equals("WA")){ w++; }else if(s[i].equals("TLE")){ t++; }else if(s[i].equals("RE")){ r++; } } System.out.println("AC x "+a); System.out.println("WA x "+w); System.out.println("TLE x "+t); System.out.println("RE x "+r); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 4, 18, 18, 13, 13, 2, 2, 2, 2, 2, 2, 2, 17, 13, 17, 13, 17, 13, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 93, 5 ], [ 93, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 47, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 61, 68 ], [ 68, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 81, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 80, 84 ], [ 79, 85 ], [ 78, 86 ], [ 77, 87 ], [ 76, 88 ], [ 81, 89 ], [ 6, 90 ], [ 90, 91 ], [ 0, 92 ], [ 92, 93 ], [ 92, 94 ] ]
[ "import java.util.*;\npublic class Main{\npublic static void main(String[] args){\n Scanner s=new Scanner(System.in);\n int a=s.nextInt();\n int b=0,c=0,d=0,e=0;\n for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }\n System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e);\n}\n}", "import java.util.*;", "util.*", "java", "public class Main{\npublic static void main(String[] args){\n Scanner s=new Scanner(System.in);\n int a=s.nextInt();\n int b=0,c=0,d=0,e=0;\n for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }\n System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e);\n}\n}", "Main", "public static void main(String[] args){\n Scanner s=new Scanner(System.in);\n int a=s.nextInt();\n int b=0,c=0,d=0,e=0;\n for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }\n System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e);\n}", "main", "{\n Scanner s=new Scanner(System.in);\n int a=s.nextInt();\n int b=0,c=0,d=0,e=0;\n for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }\n System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e);\n}", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "int a=s.nextInt();", "a", "s.nextInt()", "s.nextInt", "s", "int b=0", "b", "0", "c=0", "c", "0", "d=0", "d", "0", "e=0;", "e", "0", "for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }", "int i=0;", "int i=0;", "i", "0", "i<a", "i", "a", "i++", "i++", "i", "{\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }", "{\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }", "String str=s.next();", "str", "s.next()", "s.next", "s", "if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "b++", "b", "if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "c++", "c", "if(str.equals(\"WA\"))\n d++;\n else\n e++;", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "d++", "d", "e++", "e", "System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e", "\"\\nRE x \"", "c", "\"\\nTLE x \"", "d", "\"\\nWA x \"", "\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e", "\"AC x \"", "b", "\"\\nWA x \"", "d", "\"\\nTLE x \"", "c", "\"\\nRE x \"", "e", "String[] args", "args", "public class Main{\npublic static void main(String[] args){\n Scanner s=new Scanner(System.in);\n int a=s.nextInt();\n int b=0,c=0,d=0,e=0;\n for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }\n System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e);\n}\n}", "public class Main{\npublic static void main(String[] args){\n Scanner s=new Scanner(System.in);\n int a=s.nextInt();\n int b=0,c=0,d=0,e=0;\n for(int i=0;i<a;i++) {\n String str=s.next();\n\n if(str.equals(\"AC\"))\n b++;\n else if(str.equals(\"TLE\"))\n c++;\n else if(str.equals(\"WA\"))\n d++;\n else\n e++;\n\n }\n System.out.println(\"AC x \"+b+\"\\nWA x \"+d+\"\\nTLE x \"+c+\"\\nRE x \"+e);\n}\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner s=new Scanner(System.in); int a=s.nextInt(); int b=0,c=0,d=0,e=0; for(int i=0;i<a;i++) { String str=s.next(); if(str.equals("AC")) b++; else if(str.equals("TLE")) c++; else if(str.equals("WA")) d++; else e++; } System.out.println("AC x "+b+"\nWA x "+d+"\nTLE x "+c+"\nRE x "+e); } }
[ 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, 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, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 121, 5 ], [ 121, 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 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 53, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 63, 70 ], [ 70, 71 ], [ 71, 72 ], [ 63, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 73, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 8, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 96, 98 ], [ 94, 99 ], [ 99, 100 ], [ 99, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 6, 118 ], [ 118, 119 ], [ 0, 120 ], [ 120, 121 ], [ 120, 122 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n //取得\n\t int N = sc.nextInt();\n String[] test = new String[N];\n int ac=0;\n int wa=0;\n int tle=0;\n int re=0;\n for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n //取得\n\t int N = sc.nextInt();\n String[] test = new String[N];\n int ac=0;\n int wa=0;\n int tle=0;\n int re=0;\n for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n //取得\n\t int N = sc.nextInt();\n String[] test = new String[N];\n int ac=0;\n int wa=0;\n int tle=0;\n int re=0;\n for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n //取得\n\t int N = sc.nextInt();\n String[] test = new String[N];\n int ac=0;\n int wa=0;\n int tle=0;\n int re=0;\n for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String[] test = new String[N];", "test", "new String[N]", "N", "int ac=0;", "ac", "0", "int wa=0;", "wa", "0", "int tle=0;", "tle", "0", "int re=0;", "re", "0", "for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }", "{\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }", "test[i] = sc.next()", "test[i]", "test", "i", "sc.next()", "sc.next", "sc", "if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }", "test[i].equals(\"AC\")", "test[i].equals", "test[i]", "test", "i", "\"AC\"", "{\n ac++;\n }", "ac++", "ac", "if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }", "test[i].equals(\"WA\")", "test[i].equals", "test[i]", "test", "i", "\"WA\"", "{\n wa++;\n }", "wa++", "wa", "if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }", "test[i].equals(\"TLE\")", "test[i].equals", "test[i]", "test", "i", "\"TLE\"", "{\n tle++;\n }", "tle++", "tle", "{\n re++;\n }", "re++", "re", "System.out.println(\"AC x \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ac", "\"AC x \"", "ac", "System.out.println(\"WA x \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n //取得\n\t int N = sc.nextInt();\n String[] test = new String[N];\n int ac=0;\n int wa=0;\n int tle=0;\n int re=0;\n for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "public class Main {\n\tpublic static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n //取得\n\t int N = sc.nextInt();\n String[] test = new String[N];\n int ac=0;\n int wa=0;\n int tle=0;\n int re=0;\n for(int i=0;i<N;i++){\n test[i] = sc.next();\n if(test[i].equals(\"AC\")){\n ac++;\n }else if(test[i].equals(\"WA\")){\n wa++;\n }else if(test[i].equals(\"TLE\")){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\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[] test = new String[N]; int ac=0; int wa=0; int tle=0; int re=0; for(int i=0;i<N;i++){ test[i] = sc.next(); if(test[i].equals("AC")){ ac++; }else if(test[i].equals("WA")){ wa++; }else if(test[i].equals("TLE")){ tle++; }else{ re++; } } System.out.println("AC x "+ac); System.out.println("WA x "+wa); System.out.println("TLE x "+tle); System.out.println("RE x "+re); } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 103, 5 ], [ 103, 6 ], [ 6, 7 ], [ 6, 8 ], [ 103, 9 ], [ 9, 10 ], [ 9, 11 ], [ 103, 12 ], [ 12, 13 ], [ 12, 14 ], [ 103, 15 ], [ 15, 16 ], [ 15, 17 ], [ 103, 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 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 40, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 47, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 54, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 20, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 20, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 20, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 20, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 18, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n static int c0=0;\n static int c1=0;\n static int c2=0;\n static int c3=0;\n\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int testCases = sc.nextInt();\n\n while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }\n\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n static int c0=0;\n static int c1=0;\n static int c2=0;\n static int c3=0;\n\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int testCases = sc.nextInt();\n\n while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }\n\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n }\n}", "Main", "static int c0=0;", "c0", "0", "static int c1=0;", "c1", "0", "static int c2=0;", "c2", "0", "static int c3=0;", "c3", "0", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int testCases = sc.nextInt();\n\n while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }\n\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int testCases = sc.nextInt();\n\n while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }\n\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int testCases = sc.nextInt();", "testCases", "sc.nextInt()", "sc.nextInt", "sc", "while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }", "testCases-- >= 0", "testCases--", "testCases", "0", "{\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }", "String input = sc.nextLine();", "input", "sc.nextLine()", "sc.nextLine", "sc", "if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;", "input.equals(\"AC\")", "input.equals", "input", "\"AC\"", "c0++", "c0", "if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;", "input.equals(\"WA\")", "input.equals", "input", "\"WA\"", "c1++", "c1", "if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;", "input.equals(\"TLE\")", "input.equals", "input", "\"TLE\"", "c2++", "c2", "if(input.equals(\"RE\"))\n c3++;", "input.equals(\"RE\")", "input.equals", "input", "\"RE\"", "c3++", "c3", "System.out.println(\"AC x \" + c0)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + c0", "\"AC x \"", "c0", "System.out.println(\"WA x \" + c1)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + c1", "\"WA x \"", "c1", "System.out.println(\"TLE x \"+ c2)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+ c2", "\"TLE x \"", "c2", "System.out.println(\"RE x \"+ c3)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+ c3", "\"RE x \"", "c3", "String[] args", "args", "public class Main {\n static int c0=0;\n static int c1=0;\n static int c2=0;\n static int c3=0;\n\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int testCases = sc.nextInt();\n\n while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }\n\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n }\n}", "public class Main {\n static int c0=0;\n static int c1=0;\n static int c2=0;\n static int c3=0;\n\n\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int testCases = sc.nextInt();\n\n while(testCases-- >= 0){\n String input = sc.nextLine();\n\n if(input.equals(\"AC\"))\n c0++;\n else if(input.equals(\"WA\"))\n c1++;\n else if(input.equals(\"TLE\"))\n c2++;\n else if(input.equals(\"RE\"))\n c3++;\n }\n\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \"+ c2);\n System.out.println(\"RE x \"+ c3);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { static int c0=0; static int c1=0; static int c2=0; static int c3=0; public static void main(String[] args){ Scanner sc = new Scanner(System.in); int testCases = sc.nextInt(); while(testCases-- >= 0){ String input = sc.nextLine(); if(input.equals("AC")) c0++; else if(input.equals("WA")) c1++; else if(input.equals("TLE")) c2++; else if(input.equals("RE")) c3++; } System.out.println("AC x " + c0); System.out.println("WA x " + c1); System.out.println("TLE x "+ c2); System.out.println("RE x "+ c3); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 9, 14, 4, 18, 13, 17, 30, 40, 13, 9, 14, 4, 18, 13, 17, 30, 40, 13, 9, 14, 4, 18, 13, 17, 30, 40, 13, 9, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 118, 5 ], [ 118, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 41, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 41, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 41, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 6, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "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 int count_ac=0;\n int count_wa=0;\n int count_tle=0;\n int count_re=0;\n \n \n for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }\n System.out.println(\"AC x \" + count_ac);\n System.out.println(\"WA x \" + count_wa);\n System.out.println(\"TLE x \" + count_tle);\n System.out.println(\"RE x \" + count_re);\n\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int count_ac=0;\n int count_wa=0;\n int count_tle=0;\n int count_re=0;\n \n \n for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }\n System.out.println(\"AC x \" + count_ac);\n System.out.println(\"WA x \" + count_wa);\n System.out.println(\"TLE x \" + count_tle);\n System.out.println(\"RE x \" + count_re);\n\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int count_ac=0;\n int count_wa=0;\n int count_tle=0;\n int count_re=0;\n \n \n for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }\n System.out.println(\"AC x \" + count_ac);\n System.out.println(\"WA x \" + count_wa);\n System.out.println(\"TLE x \" + count_tle);\n System.out.println(\"RE x \" + count_re);\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int count_ac=0;\n int count_wa=0;\n int count_tle=0;\n int count_re=0;\n \n \n for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }\n System.out.println(\"AC x \" + count_ac);\n System.out.println(\"WA x \" + count_wa);\n System.out.println(\"TLE x \" + count_tle);\n System.out.println(\"RE x \" + count_re);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int count_ac=0;", "count_ac", "0", "int count_wa=0;", "count_wa", "0", "int count_tle=0;", "count_tle", "0", "int count_re=0;", "count_re", "0", "for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }", "{\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }", "String str = sc.next();", "str", "sc.next()", "sc.next", "sc", "if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "{\n count_ac++;\n continue;\n }", "count_ac++", "count_ac", "continue;", "if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "{\n count_wa++;\n continue;\n }", "count_wa++", "count_wa", "continue;", "if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "{\n count_tle++;\n continue;\n }", "count_tle++", "count_tle", "continue;", "if(str.equals(\"RE\")){\n count_re++;\n continue;\n }", "str.equals(\"RE\")", "str.equals", "str", "\"RE\"", "{\n count_re++;\n continue;\n }", "count_re++", "count_re", "continue;", "System.out.println(\"AC x \" + count_ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + count_ac", "\"AC x \"", "count_ac", "System.out.println(\"WA x \" + count_wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + count_wa", "\"WA x \"", "count_wa", "System.out.println(\"TLE x \" + count_tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + count_tle", "\"TLE x \"", "count_tle", "System.out.println(\"RE x \" + count_re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + count_re", "\"RE x \"", "count_re", "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 int count_ac=0;\n int count_wa=0;\n int count_tle=0;\n int count_re=0;\n \n \n for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }\n System.out.println(\"AC x \" + count_ac);\n System.out.println(\"WA x \" + count_wa);\n System.out.println(\"TLE x \" + count_tle);\n System.out.println(\"RE x \" + count_re);\n\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 int count_ac=0;\n int count_wa=0;\n int count_tle=0;\n int count_re=0;\n \n \n for(int i=0;i<n;i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n count_ac++;\n continue;\n }\n if(str.equals(\"WA\")){\n count_wa++;\n continue;\n }\n if(str.equals(\"TLE\")){\n count_tle++;\n continue;\n }\n if(str.equals(\"RE\")){\n count_re++;\n continue;\n }\n \n }\n System.out.println(\"AC x \" + count_ac);\n System.out.println(\"WA x \" + count_wa);\n System.out.println(\"TLE x \" + count_tle);\n System.out.println(\"RE x \" + count_re);\n\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int count_ac=0; int count_wa=0; int count_tle=0; int count_re=0; for(int i=0;i<n;i++){ String str = sc.next(); if(str.equals("AC")){ count_ac++; continue; } if(str.equals("WA")){ count_wa++; continue; } if(str.equals("TLE")){ count_tle++; continue; } if(str.equals("RE")){ count_re++; continue; } } System.out.println("AC x " + count_ac); System.out.println("WA x " + count_wa); System.out.println("TLE x " + count_tle); System.out.println("RE x " + count_re); } }
[ 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, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 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 ], [ 131, 35 ], [ 131, 36 ], [ 36, 37 ], [ 36, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 38, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 38, 50 ], [ 50, 51 ], [ 50, 52 ], [ 38, 53 ], [ 53, 54 ], [ 53, 55 ], [ 38, 56 ], [ 56, 57 ], [ 56, 58 ], [ 38, 59 ], [ 59, 60 ], [ 59, 61 ], [ 38, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 67, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 73, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 80, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 87, 92 ], [ 92, 93 ], [ 87, 94 ], [ 94, 95 ], [ 38, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 38, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 38, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 38, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 36, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "//package project1;\nimport java.io.*;\nimport java.math.*;\nimport java.security.*;\nimport java.text.*;\nimport java.util.*;\nimport java.util.concurrent.*;\nimport java.util.function.*;\nimport java.util.regex.*;\nimport java.util.stream.*;\nimport static java.util.stream.Collectors.joining;\nimport static java.util.stream.Collectors.toList;\n\npublic class Main {\n public static void main(String args[]) {\n \t Scanner sc = new Scanner(System.in);\n \t int n = sc.nextInt();\n \t sc.nextLine();\n \t int a=0,w=0,t=0,r=0;\n \t while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }\n \t System.out.println(\"AC x \"+a);\n \t System.out.println(\"WA x \"+w);\n \t System.out.println(\"TLE x \"+t);\n \t System.out.println(\"RE x \"+r);\n }\n}", "import java.io.*;", "io.*", "java", "import java.math.*;", "math.*", "java", "import java.security.*;", "security.*", "java", "import java.text.*;", "text.*", "java", "import java.util.*;", "util.*", "java", "import java.util.concurrent.*;", "concurrent.*", "java.util", "import java.util.function.*;", "function.*", "java.util", "import java.util.regex.*;", "regex.*", "java.util", "import java.util.stream.*;", "stream.*", "java.util", "import static java.util.stream.Collectors.joining;", "import static java.util.stream.Collectors.joining;", "import static java.util.stream.Collectors.joining;", "import static java.util.stream.Collectors.toList;", "import static java.util.stream.Collectors.toList;", "import static java.util.stream.Collectors.toList;", "public class Main {\n public static void main(String args[]) {\n \t Scanner sc = new Scanner(System.in);\n \t int n = sc.nextInt();\n \t sc.nextLine();\n \t int a=0,w=0,t=0,r=0;\n \t while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }\n \t System.out.println(\"AC x \"+a);\n \t System.out.println(\"WA x \"+w);\n \t System.out.println(\"TLE x \"+t);\n \t System.out.println(\"RE x \"+r);\n }\n}", "Main", "public static void main(String args[]) {\n \t Scanner sc = new Scanner(System.in);\n \t int n = sc.nextInt();\n \t sc.nextLine();\n \t int a=0,w=0,t=0,r=0;\n \t while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }\n \t System.out.println(\"AC x \"+a);\n \t System.out.println(\"WA x \"+w);\n \t System.out.println(\"TLE x \"+t);\n \t System.out.println(\"RE x \"+r);\n }", "main", "{\n \t Scanner sc = new Scanner(System.in);\n \t int n = sc.nextInt();\n \t sc.nextLine();\n \t int a=0,w=0,t=0,r=0;\n \t while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }\n \t System.out.println(\"AC x \"+a);\n \t System.out.println(\"WA x \"+w);\n \t System.out.println(\"TLE x \"+t);\n \t System.out.println(\"RE x \"+r);\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", "int a=0", "a", "0", "w=0", "w", "0", "t=0", "t", "0", "r=0;", "r", "0", "while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }", "n-->0", "n--", "n", "0", "{\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;", "s.contains(\"AC\")", "s.contains", "s", "\"AC\"", "a++", "a", "if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;", "s.contains(\"WA\")", "s.contains", "s", "\"WA\"", "w++", "w", "if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;", "s.contains(\"TLE\")", "s.contains", "s", "\"TLE\"", "t++", "t", "r++", "r", "System.out.println(\"AC x \"+a)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+a", "\"AC x \"", "a", "System.out.println(\"WA x \"+w)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+w", "\"WA x \"", "w", "System.out.println(\"TLE x \"+t)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+t", "\"TLE x \"", "t", "System.out.println(\"RE x \"+r)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+r", "\"RE x \"", "r", "String args[]", "args", "public class Main {\n public static void main(String args[]) {\n \t Scanner sc = new Scanner(System.in);\n \t int n = sc.nextInt();\n \t sc.nextLine();\n \t int a=0,w=0,t=0,r=0;\n \t while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }\n \t System.out.println(\"AC x \"+a);\n \t System.out.println(\"WA x \"+w);\n \t System.out.println(\"TLE x \"+t);\n \t System.out.println(\"RE x \"+r);\n }\n}", "public class Main {\n public static void main(String args[]) {\n \t Scanner sc = new Scanner(System.in);\n \t int n = sc.nextInt();\n \t sc.nextLine();\n \t int a=0,w=0,t=0,r=0;\n \t while(n-->0) {\n \t\t String s = sc.nextLine();\n \t\t if(s.contains(\"AC\"))\n \t\t\t a++;\n \t\t else if(s.contains(\"WA\"))\n \t\t\t w++;\n \t\t else if(s.contains(\"TLE\"))\n \t\t\t t++;\n \t\t else r++;\n \t }\n \t System.out.println(\"AC x \"+a);\n \t System.out.println(\"WA x \"+w);\n \t System.out.println(\"TLE x \"+t);\n \t System.out.println(\"RE x \"+r);\n }\n}", "Main" ]
//package project1; import java.io.*; import java.math.*; import java.security.*; import java.text.*; import java.util.*; import java.util.concurrent.*; import java.util.function.*; import java.util.regex.*; import java.util.stream.*; import static java.util.stream.Collectors.joining; import static java.util.stream.Collectors.toList; public class Main { public static void main(String args[]) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); sc.nextLine(); int a=0,w=0,t=0,r=0; while(n-->0) { String s = sc.nextLine(); if(s.contains("AC")) a++; else if(s.contains("WA")) w++; else if(s.contains("TLE")) t++; else r++; } System.out.println("AC x "+a); System.out.println("WA x "+w); System.out.println("TLE x "+t); System.out.println("RE x "+r); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 1, 3, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 116, 5 ], [ 116, 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 ], [ 19, 22 ], [ 19, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 26, 28 ], [ 26, 29 ], [ 26, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 49, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 61, 66 ], [ 49, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 49, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 49, 83 ], [ 83, 84 ], [ 84, 85 ], [ 8, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 86, 94 ], [ 94, 95 ], [ 95, 96 ], [ 86, 97 ], [ 98, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 6, 113 ], [ 113, 114 ], [ 0, 115 ], [ 115, 116 ], [ 115, 117 ] ]
[ "import java.util.*;\n\npublic class Main{\n public static void main(String[] args){\n\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int count[] = {0,0,0,0};\n\n for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }\n\n for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int count[] = {0,0,0,0};\n\n for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }\n\n for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }\n }\n}", "Main", "public static void main(String[] args){\n\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int count[] = {0,0,0,0};\n\n for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }\n\n for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }\n }", "main", "{\n\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int count[] = {0,0,0,0};\n\n for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }\n\n for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }\n }", "Scanner scanner = new Scanner(System.in);", "scanner", "new Scanner(System.in)", "int N = scanner.nextInt();", "N", "scanner.nextInt()", "scanner.nextInt", "scanner", "String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};", "judge", "{\"AC\",\"WA\",\"TLE\",\"RE\"}", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "int count[] = {0,0,0,0};", "count", "{0,0,0,0}", "0", "0", "0", "0", "for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }", "int loop = 0;", "int loop = 0;", "loop", "0", "loop<N", "loop", "N", "loop++", "loop++", "loop", "{\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }", "{\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }", "String result = scanner.next();", "result", "scanner.next()", "scanner.next", "scanner", "switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }", "result", "case \"AC\":", "\"AC\"", "case \"AC\":", "count[0]++", "count[0]", "count", "0", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "count[1]++", "count[1]", "count", "1", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "count[2]++", "count[2]", "count", "2", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "count[3]++", "count[3]", "count", "3", "break;", "default:", "default:", "break;", "for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }", "int loop = 0;", "int loop = 0;", "loop", "0", "loop < 4", "loop", "4", "loop++", "loop++", "loop", "{\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }", "{\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }", "System.out.println( judge[loop] + \" x \" + count[loop] )", "System.out.println", "System.out", "System", "System.out", "judge[loop] + \" x \" + count[loop]", "judge[loop] + \" x \" + count[loop]", "judge[loop]", "judge", "loop", "\" x \"", "count[loop]", "count", "loop", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int count[] = {0,0,0,0};\n\n for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }\n\n for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }\n }\n}", "public class Main{\n public static void main(String[] args){\n\n Scanner scanner = new Scanner(System.in);\n int N = scanner.nextInt();\n\n String judge[] = {\"AC\",\"WA\",\"TLE\",\"RE\"};\n int count[] = {0,0,0,0};\n\n for(int loop = 0; loop<N; loop++){\n String result = scanner.next();\n switch(result){\n case \"AC\":\n count[0]++;\n break;\n case \"WA\":\n count[1]++;\n break;\n case \"TLE\":\n count[2]++;\n break;\n case \"RE\":\n count[3]++;\n break;\n default:\n break;\n }\n }\n\n for(int loop = 0; loop < 4; loop++){\n System.out.println( judge[loop] + \" x \" + count[loop] );\n }\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner scanner = new Scanner(System.in); int N = scanner.nextInt(); String judge[] = {"AC","WA","TLE","RE"}; int count[] = {0,0,0,0}; for(int loop = 0; loop<N; loop++){ String result = scanner.next(); switch(result){ case "AC": count[0]++; break; case "WA": count[1]++; break; case "TLE": count[2]++; break; case "RE": count[3]++; break; default: break; } } for(int loop = 0; loop < 4; loop++){ System.out.println( judge[loop] + " x " + count[loop] ); } } }
[ 7, 15, 13, 17, 6, 13, 41, 13, 20, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 20, 17, 42, 2, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 40, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 4, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 11, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 19, 21 ], [ 19, 22 ], [ 19, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 28, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 38, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 63, 67 ], [ 53, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 74, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 68, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 32, 98 ], [ 98, 99 ], [ 11, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 100, 110 ], [ 110, 111 ], [ 111, 112 ], [ 100, 113 ], [ 114, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 121, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 121, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 9, 129 ], [ 129, 130 ] ]
[ "import java.util.Scanner;\n\nclass Main {\n\n static Scanner scan = new Scanner(System.in);\n\n public static void main(String[] args) {\n int T = scan.nextInt();\n String[] status = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n int[] count = new int[4];\n while(T != 0) {\n String ans = scan.next();\n if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }\n T--;\n }\n for(int i = 0; i < count.length; i++) {\n System.out.println(status[i] + \" x \" + count[i]);\n }\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "class Main {\n\n static Scanner scan = new Scanner(System.in);\n\n public static void main(String[] args) {\n int T = scan.nextInt();\n String[] status = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n int[] count = new int[4];\n while(T != 0) {\n String ans = scan.next();\n if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }\n T--;\n }\n for(int i = 0; i < count.length; i++) {\n System.out.println(status[i] + \" x \" + count[i]);\n }\n }\n}", "Main", "static Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "public static void main(String[] args) {\n int T = scan.nextInt();\n String[] status = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n int[] count = new int[4];\n while(T != 0) {\n String ans = scan.next();\n if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }\n T--;\n }\n for(int i = 0; i < count.length; i++) {\n System.out.println(status[i] + \" x \" + count[i]);\n }\n }", "main", "{\n int T = scan.nextInt();\n String[] status = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n int[] count = new int[4];\n while(T != 0) {\n String ans = scan.next();\n if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }\n T--;\n }\n for(int i = 0; i < count.length; i++) {\n System.out.println(status[i] + \" x \" + count[i]);\n }\n }", "int T = scan.nextInt();", "T", "scan.nextInt()", "scan.nextInt", "scan", "String[] status = {\"AC\", \"WA\", \"TLE\", \"RE\"};", "status", "{\"AC\", \"WA\", \"TLE\", \"RE\"}", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "int[] count = new int[4];", "count", "new int[4]", "4", "while(T != 0) {\n String ans = scan.next();\n if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }\n T--;\n }", "T != 0", "T", "0", "{\n String ans = scan.next();\n if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }\n T--;\n }", "String ans = scan.next();", "ans", "scan.next()", "scan.next", "scan", "if(ans.equals(\"AC\")) {\n count[0] = count[0] + 1 ;\n } else if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }", "ans.equals(\"AC\")", "ans.equals", "ans", "\"AC\"", "{\n count[0] = count[0] + 1 ;\n }", "count[0] = count[0] + 1", "count[0]", "count", "0", "count[0] + 1", "count[0]", "count", "0", "1", "if (ans.equals(\"WA\")) {\n count[1] = count[1] + 1;\n } else if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }", "ans.equals(\"WA\")", "ans.equals", "ans", "\"WA\"", "{\n count[1] = count[1] + 1;\n }", "count[1] = count[1] + 1", "count[1]", "count", "1", "count[1] + 1", "count[1]", "count", "1", "1", "if (ans.equals(\"TLE\")) {\n count[2] = count[2] + 1;\n } else if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }", "ans.equals(\"TLE\")", "ans.equals", "ans", "\"TLE\"", "{\n count[2] = count[2] + 1;\n }", "count[2] = count[2] + 1", "count[2]", "count", "2", "count[2] + 1", "count[2]", "count", "2", "1", "if (ans.equals(\"RE\")){\n count[3] = count[3] + 1;\n }", "ans.equals(\"RE\")", "ans.equals", "ans", "\"RE\"", "{\n count[3] = count[3] + 1;\n }", "count[3] = count[3] + 1", "count[3]", "count", "3", "count[3] + 1", "count[3]", "count", "3", "1", "T--", "T", "for(int i = 0; i < count.length; i++) {\n System.out.println(status[i] + \" x \" + count[i]);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < count.length", "i", "count.length", "count", "count.length", "i++", "i++", "i", "{\n System.out.println(status[i] + \" x \" + count[i]);\n }", "{\n System.out.println(status[i] + \" x \" + count[i]);\n }", "System.out.println(status[i] + \" x \" + count[i])", "System.out.println", "System.out", "System", "System.out", "status[i] + \" x \" + count[i]", "status[i] + \" x \" + count[i]", "status[i]", "status", "i", "\" x \"", "count[i]", "count", "i", "String[] args", "args" ]
import java.util.Scanner; class Main { static Scanner scan = new Scanner(System.in); public static void main(String[] args) { int T = scan.nextInt(); String[] status = {"AC", "WA", "TLE", "RE"}; int[] count = new int[4]; while(T != 0) { String ans = scan.next(); if(ans.equals("AC")) { count[0] = count[0] + 1 ; } else if (ans.equals("WA")) { count[1] = count[1] + 1; } else if (ans.equals("TLE")) { count[2] = count[2] + 1; } else if (ans.equals("RE")){ count[3] = count[3] + 1; } T--; } for(int i = 0; i < count.length; i++) { System.out.println(status[i] + " x " + count[i]); } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 4, 18, 13, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 4, 18, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 3, 34, 17, 1, 4, 18, 13, 13, 3, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 4, 18, 18, 13, 13, 2, 17, 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 ], [ 133, 11 ], [ 133, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 23, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 47, 51 ], [ 51, 52 ], [ 51, 53 ], [ 53, 54 ], [ 54, 55 ], [ 47, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 56, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 56, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 56, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 84, 89 ], [ 14, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 98, 99 ], [ 14, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 108, 109 ], [ 14, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 115, 116 ], [ 115, 117 ], [ 117, 118 ], [ 118, 119 ], [ 14, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 12, 130 ], [ 130, 131 ], [ 0, 132 ], [ 132, 133 ], [ 132, 134 ] ]
[ "import java.util.ArrayList;\nimport java.util.List;\nimport java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<String> listAC = new ArrayList<String>();\n\t\tList<String> listWA = new ArrayList<String>();\n\t\tList<String> listTLE = new ArrayList<String>();\n\t\tList<String> listRE = new ArrayList<String>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + listAC.size());\n\t\tSystem.out.println(\"WA x \" + listWA.size());\n\t\tSystem.out.println(\"TLE x \" + listTLE.size());\n\t\tSystem.out.println(\"RE x \" + listRE.size());\n//\t\tAC x 3\n//\t\tWA x 1\n//\t\tTLE x 2\n//\t\tRE x 0\n\n\t}\n}", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.List;", "List", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<String> listAC = new ArrayList<String>();\n\t\tList<String> listWA = new ArrayList<String>();\n\t\tList<String> listTLE = new ArrayList<String>();\n\t\tList<String> listRE = new ArrayList<String>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + listAC.size());\n\t\tSystem.out.println(\"WA x \" + listWA.size());\n\t\tSystem.out.println(\"TLE x \" + listTLE.size());\n\t\tSystem.out.println(\"RE x \" + listRE.size());\n//\t\tAC x 3\n//\t\tWA x 1\n//\t\tTLE x 2\n//\t\tRE x 0\n\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<String> listAC = new ArrayList<String>();\n\t\tList<String> listWA = new ArrayList<String>();\n\t\tList<String> listTLE = new ArrayList<String>();\n\t\tList<String> listRE = new ArrayList<String>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + listAC.size());\n\t\tSystem.out.println(\"WA x \" + listWA.size());\n\t\tSystem.out.println(\"TLE x \" + listTLE.size());\n\t\tSystem.out.println(\"RE x \" + listRE.size());\n//\t\tAC x 3\n//\t\tWA x 1\n//\t\tTLE x 2\n//\t\tRE x 0\n\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<String> listAC = new ArrayList<String>();\n\t\tList<String> listWA = new ArrayList<String>();\n\t\tList<String> listTLE = new ArrayList<String>();\n\t\tList<String> listRE = new ArrayList<String>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + listAC.size());\n\t\tSystem.out.println(\"WA x \" + listWA.size());\n\t\tSystem.out.println(\"TLE x \" + listTLE.size());\n\t\tSystem.out.println(\"RE x \" + listRE.size());\n//\t\tAC x 3\n//\t\tWA x 1\n//\t\tTLE x 2\n//\t\tRE x 0\n\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> listAC = new ArrayList<String>();", "listAC", "new ArrayList<String>()", "List<String> listWA = new ArrayList<String>();", "listWA", "new ArrayList<String>()", "List<String> listTLE = new ArrayList<String>();", "listTLE", "new ArrayList<String>()", "List<String> listRE = new ArrayList<String>();", "listRE", "new ArrayList<String>()", "for (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}", "{\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}", "sc.nextLine()", "sc.nextLine", "sc", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "switch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}", "s", "case \"AC\" :", "\"AC\"", "case \"AC\" :", "listAC.add(s)", "listAC.add", "listAC", "s", "break;", "case \"WA\" :", "\"WA\"", "case \"WA\" :", "listWA.add(s)", "listWA.add", "listWA", "s", "break;", "case \"TLE\" :", "\"TLE\"", "case \"TLE\" :", "listTLE.add(s)", "listTLE.add", "listTLE", "s", "break;", "case \"RE\" :", "\"RE\"", "case \"RE\" :", "listRE.add(s)", "listRE.add", "listRE", "s", "break;", "System.out.println(\"AC x \" + listAC.size())", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + listAC.size()", "\"AC x \"", "listAC.size()", "listAC.size", "listAC", "System.out.println(\"WA x \" + listWA.size())", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + listWA.size()", "\"WA x \"", "listWA.size()", "listWA.size", "listWA", "System.out.println(\"TLE x \" + listTLE.size())", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + listTLE.size()", "\"TLE x \"", "listTLE.size()", "listTLE.size", "listTLE", "System.out.println(\"RE x \" + listRE.size())", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + listRE.size()", "\"RE x \"", "listRE.size()", "listRE.size", "listRE", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<String> listAC = new ArrayList<String>();\n\t\tList<String> listWA = new ArrayList<String>();\n\t\tList<String> listTLE = new ArrayList<String>();\n\t\tList<String> listRE = new ArrayList<String>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + listAC.size());\n\t\tSystem.out.println(\"WA x \" + listWA.size());\n\t\tSystem.out.println(\"TLE x \" + listTLE.size());\n\t\tSystem.out.println(\"RE x \" + listRE.size());\n//\t\tAC x 3\n//\t\tWA x 1\n//\t\tTLE x 2\n//\t\tRE x 0\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tList<String> listAC = new ArrayList<String>();\n\t\tList<String> listWA = new ArrayList<String>();\n\t\tList<String> listTLE = new ArrayList<String>();\n\t\tList<String> listRE = new ArrayList<String>();\n\t\tfor (int i = 0; i < n; i++) {\n\t\t\tsc.nextLine();\n\t\t\tString s = sc.next();\n\t\t\tswitch (s) {\n\t\t\tcase \"AC\" : listAC.add(s); break;\n\t\t\tcase \"WA\" : listWA.add(s); break;\n\t\t\tcase \"TLE\" : listTLE.add(s); break;\n\t\t\tcase \"RE\" : listRE.add(s); break;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + listAC.size());\n\t\tSystem.out.println(\"WA x \" + listWA.size());\n\t\tSystem.out.println(\"TLE x \" + listTLE.size());\n\t\tSystem.out.println(\"RE x \" + listRE.size());\n//\t\tAC x 3\n//\t\tWA x 1\n//\t\tTLE x 2\n//\t\tRE x 0\n\n\t}\n}", "Main" ]
import java.util.ArrayList; import java.util.List; import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); List<String> listAC = new ArrayList<String>(); List<String> listWA = new ArrayList<String>(); List<String> listTLE = new ArrayList<String>(); List<String> listRE = new ArrayList<String>(); for (int i = 0; i < n; i++) { sc.nextLine(); String s = sc.next(); switch (s) { case "AC" : listAC.add(s); break; case "WA" : listWA.add(s); break; case "TLE" : listTLE.add(s); break; case "RE" : listRE.add(s); break; } } System.out.println("AC x " + listAC.size()); System.out.println("WA x " + listWA.size()); System.out.println("TLE x " + listTLE.size()); System.out.println("RE x " + listRE.size()); // AC x 3 // WA x 1 // TLE x 2 // RE x 0 } }
[ 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, 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, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 132, 5 ], [ 132, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 8, 27 ], [ 27, 28 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 33, 38 ], [ 38, 39 ], [ 38, 40 ], [ 33, 41 ], [ 41, 42 ], [ 42, 43 ], [ 33, 44 ], [ 45, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 51, 52 ], [ 45, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 54, 59 ], [ 53, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 45, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 64, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 45, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 75, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 45, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 86, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 8, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 6, 129 ], [ 129, 130 ], [ 0, 131 ], [ 131, 132 ], [ 131, 133 ] ]
[ "import java.util.Scanner;\n \npublic class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//データ数\n \tString[] result=new String[n];\n \tint count_Ac=0;\n \tint count_Wa=0;\n \tint count_Tle=0;\n \tint count_Re=0;\n \t\n \tfor(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}\n \t\n\n \n \t\n System.out.println(\"AC x \"+count_Ac); \n System.out.println(\"WA x \"+count_Wa); \n System.out.println(\"TLE x \"+count_Tle); \n System.out.println(\"RE x \"+count_Re); \n } \n}\n\n\n\n\n\n\n\n\n\n\n\n\n", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//データ数\n \tString[] result=new String[n];\n \tint count_Ac=0;\n \tint count_Wa=0;\n \tint count_Tle=0;\n \tint count_Re=0;\n \t\n \tfor(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}\n \t\n\n \n \t\n System.out.println(\"AC x \"+count_Ac); \n System.out.println(\"WA x \"+count_Wa); \n System.out.println(\"TLE x \"+count_Tle); \n System.out.println(\"RE x \"+count_Re); \n } \n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//データ数\n \tString[] result=new String[n];\n \tint count_Ac=0;\n \tint count_Wa=0;\n \tint count_Tle=0;\n \tint count_Re=0;\n \t\n \tfor(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}\n \t\n\n \n \t\n System.out.println(\"AC x \"+count_Ac); \n System.out.println(\"WA x \"+count_Wa); \n System.out.println(\"TLE x \"+count_Tle); \n System.out.println(\"RE x \"+count_Re); \n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//データ数\n \tString[] result=new String[n];\n \tint count_Ac=0;\n \tint count_Wa=0;\n \tint count_Tle=0;\n \tint count_Re=0;\n \t\n \tfor(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}\n \t\n\n \n \t\n System.out.println(\"AC x \"+count_Ac); \n System.out.println(\"WA x \"+count_Wa); \n System.out.println(\"TLE x \"+count_Tle); \n System.out.println(\"RE x \"+count_Re); \n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String[] result=new String[n];", "result", "new String[n]", "n", "int count_Ac=0;", "count_Ac", "0", "int count_Wa=0;", "count_Wa", "0", "int count_Tle=0;", "count_Tle", "0", "int count_Re=0;", "count_Re", "0", "for(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}", "{\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}", "result[i]=sc.next()", "result[i]", "result", "i", "sc.next()", "sc.next", "sc", "if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }", "result[i].equals(\"AC\")", "result[i].equals", "result[i]", "result", "i", "\"AC\"", "{\n \tcount_Ac+=1;\n }", "count_Ac+=1", "count_Ac", "1", "if(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }", "result[i].equals(\"WA\")", "result[i].equals", "result[i]", "result", "i", "\"WA\"", "{\n \tcount_Wa+=1;\n }", "count_Wa+=1", "count_Wa", "1", "if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }", "result[i].equals(\"TLE\")", "result[i].equals", "result[i]", "result", "i", "\"TLE\"", "{\n \tcount_Tle+=1;\n }", "count_Tle+=1", "count_Tle", "1", "if(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n }", "result[i].equals(\"RE\")", "result[i].equals", "result[i]", "result", "i", "\"RE\"", "{\n \tcount_Re+=1;\n }", "count_Re+=1", "count_Re", "1", "System.out.println(\"AC x \"+count_Ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+count_Ac", "\"AC x \"", "count_Ac", "System.out.println(\"WA x \"+count_Wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+count_Wa", "\"WA x \"", "count_Wa", "System.out.println(\"TLE x \"+count_Tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+count_Tle", "\"TLE x \"", "count_Tle", "System.out.println(\"RE x \"+count_Re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+count_Re", "\"RE x \"", "count_Re", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//データ数\n \tString[] result=new String[n];\n \tint count_Ac=0;\n \tint count_Wa=0;\n \tint count_Tle=0;\n \tint count_Re=0;\n \t\n \tfor(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}\n \t\n\n \n \t\n System.out.println(\"AC x \"+count_Ac); \n System.out.println(\"WA x \"+count_Wa); \n System.out.println(\"TLE x \"+count_Tle); \n System.out.println(\"RE x \"+count_Re); \n } \n}", "public class Main {\n \n public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();//データ数\n \tString[] result=new String[n];\n \tint count_Ac=0;\n \tint count_Wa=0;\n \tint count_Tle=0;\n \tint count_Re=0;\n \t\n \tfor(int i=0;i<n;i++){\n\t\t\tresult[i]=sc.next();\n \n if(result[i].equals(\"AC\")){\n \tcount_Ac+=1;\n }\n \tif(result[i].equals(\"WA\")){\n \tcount_Wa+=1;\n }\n if(result[i].equals(\"TLE\")){\n \tcount_Tle+=1;\n }\n \tif(result[i].equals(\"RE\")){\n \tcount_Re+=1;\n } \n \n \t}\n \t\n\n \n \t\n System.out.println(\"AC x \"+count_Ac); \n System.out.println(\"WA x \"+count_Wa); \n System.out.println(\"TLE x \"+count_Tle); \n System.out.println(\"RE x \"+count_Re); \n } \n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt();//データ数 String[] result=new String[n]; int count_Ac=0; int count_Wa=0; int count_Tle=0; int count_Re=0; for(int i=0;i<n;i++){ result[i]=sc.next(); if(result[i].equals("AC")){ count_Ac+=1; } if(result[i].equals("WA")){ count_Wa+=1; } if(result[i].equals("TLE")){ count_Tle+=1; } if(result[i].equals("RE")){ count_Re+=1; } } System.out.println("AC x "+count_Ac); System.out.println("WA x "+count_Wa); System.out.println("TLE x "+count_Tle); System.out.println("RE x "+count_Re); } }
[ 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, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 20, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 34, 17, 1, 0, 13, 17, 3, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 131, 14 ], [ 131, 15 ], [ 15, 16 ], [ 15, 17 ], [ 17, 18 ], [ 18, 19 ], [ 18, 20 ], [ 17, 21 ], [ 21, 22 ], [ 21, 23 ], [ 17, 24 ], [ 24, 25 ], [ 24, 26 ], [ 17, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 29, 32 ], [ 32, 33 ], [ 33, 34 ], [ 17, 35 ], [ 35, 36 ], [ 35, 37 ], [ 17, 38 ], [ 38, 39 ], [ 38, 40 ], [ 17, 41 ], [ 41, 42 ], [ 41, 43 ], [ 17, 44 ], [ 44, 45 ], [ 44, 46 ], [ 17, 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 ], [ 59, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 59, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 72, 76 ], [ 68, 77 ], [ 77, 78 ], [ 77, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 79, 83 ], [ 68, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 68, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 93, 97 ], [ 17, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 17, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 107, 109 ], [ 17, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 113, 115 ], [ 17, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 119, 120 ], [ 119, 121 ], [ 17, 122 ], [ 122, 123 ], [ 123, 124 ], [ 17, 125 ], [ 125, 126 ], [ 126, 127 ], [ 15, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n\n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n\n for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }\n\n pw.println(\"AC x \" + AC);\n pw.println(\"WA x \" + WA);\n pw.println(\"TLE x \" + TLE);\n pw.println(\"RE x \" + RE);\n\n br.close();\n pw.close();\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n\n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n\n for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }\n\n pw.println(\"AC x \" + AC);\n pw.println(\"WA x \" + WA);\n pw.println(\"TLE x \" + TLE);\n pw.println(\"RE x \" + RE);\n\n br.close();\n pw.close();\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n\n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n\n for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }\n\n pw.println(\"AC x \" + AC);\n pw.println(\"WA x \" + WA);\n pw.println(\"TLE x \" + TLE);\n pw.println(\"RE x \" + RE);\n\n br.close();\n pw.close();\n }", "main", "{\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n\n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n\n for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }\n\n pw.println(\"AC x \" + AC);\n pw.println(\"WA x \" + WA);\n pw.println(\"TLE x \" + TLE);\n pw.println(\"RE x \" + RE);\n\n br.close();\n pw.close();\n }", "BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));", "br", "new BufferedReader(new java.io.InputStreamReader(System.in))", "PrintWriter pw = new PrintWriter(System.out);", "pw", "new PrintWriter(System.out)", "StringTokenizer st = new StringTokenizer(br.readLine());", "st", "new StringTokenizer(br.readLine())", "int N = Integer.parseInt(st.nextToken());", "N", "Integer.parseInt(st.nextToken())", "Integer.parseInt", "Integer", "st.nextToken()", "st.nextToken", "st", "int AC = 0;", "AC", "0", "int WA = 0;", "WA", "0", "int TLE = 0;", "TLE", "0", "int RE = 0;", "RE", "0", "for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }", "{\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "String target = st.nextToken();", "target", "st.nextToken()", "st.nextToken", "st", "switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n }", "target", "case \"AC\" :", "\"AC\"", "case \"AC\" :", "AC += 1", "AC", "1", "break;", "case \"WA\" :", "\"WA\"", "case \"WA\" :", "WA += 1", "WA", "1", "break;", "case \"TLE\" :", "\"TLE\"", "case \"TLE\" :", "TLE += 1", "TLE", "1", "break;", "case \"RE\" :", "\"RE\"", "case \"RE\" :", "RE += 1", "RE", "1", "break;", "pw.println(\"AC x \" + AC)", "pw.println", "pw", "\"AC x \" + AC", "\"AC x \"", "AC", "pw.println(\"WA x \" + WA)", "pw.println", "pw", "\"WA x \" + WA", "\"WA x \"", "WA", "pw.println(\"TLE x \" + TLE)", "pw.println", "pw", "\"TLE x \" + TLE", "\"TLE x \"", "TLE", "pw.println(\"RE x \" + RE)", "pw.println", "pw", "\"RE x \" + RE", "\"RE x \"", "RE", "br.close()", "br.close", "br", "pw.close()", "pw.close", "pw", "String[] args", "args", "public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n\n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n\n for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }\n\n pw.println(\"AC x \" + AC);\n pw.println(\"WA x \" + WA);\n pw.println(\"TLE x \" + TLE);\n pw.println(\"RE x \" + RE);\n\n br.close();\n pw.close();\n }\n}", "public class Main {\n \n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in));\n PrintWriter pw = new PrintWriter(System.out);\n StringTokenizer st = new StringTokenizer(br.readLine());\n\n int N = Integer.parseInt(st.nextToken());\n\n int AC = 0;\n int WA = 0;\n int TLE = 0;\n int RE = 0;\n\n for(int i = 0; i < N; i++) {\n st = new StringTokenizer(br.readLine());\n String target = st.nextToken();\n\n switch (target) {\n case \"AC\" :\n AC += 1;\n break;\n case \"WA\" :\n WA += 1;\n break;\n case \"TLE\" :\n TLE += 1;\n break;\n case \"RE\" :\n RE += 1;\n break;\n } \n }\n\n pw.println(\"AC x \" + AC);\n pw.println(\"WA x \" + WA);\n pw.println(\"TLE x \" + TLE);\n pw.println(\"RE x \" + RE);\n\n br.close();\n pw.close();\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new java.io.InputStreamReader(System.in)); PrintWriter pw = new PrintWriter(System.out); StringTokenizer st = new StringTokenizer(br.readLine()); int N = Integer.parseInt(st.nextToken()); int AC = 0; int WA = 0; int TLE = 0; int RE = 0; for(int i = 0; i < N; i++) { st = new StringTokenizer(br.readLine()); String target = st.nextToken(); switch (target) { case "AC" : AC += 1; break; case "WA" : WA += 1; break; case "TLE" : TLE += 1; break; case "RE" : RE += 1; break; } } pw.println("AC x " + AC); pw.println("WA x " + WA); pw.println("TLE x " + TLE); pw.println("RE x " + RE); br.close(); pw.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 17, 17, 30, 40, 13, 14, 2, 4, 18, 13, 17, 17, 30, 40, 13, 14, 2, 4, 18, 13, 17, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 118, 5 ], [ 118, 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, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 51, 56 ], [ 50, 57 ], [ 57, 58 ], [ 58, 59 ], [ 50, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 60, 67 ], [ 67, 68 ], [ 68, 69 ], [ 60, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 70, 77 ], [ 77, 78 ], [ 78, 79 ], [ 70, 80 ], [ 80, 81 ], [ 81, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 6, 115 ], [ 115, 116 ], [ 0, 117 ], [ 117, 118 ], [ 117, 119 ] ]
[ "import java.util.*;\npublic class Main{\n public static void main(String[] args){\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n in.nextLine();\n int wa=0,ac=0,tle=0,re=0;\n for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main{\n public static void main(String[] args){\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n in.nextLine();\n int wa=0,ac=0,tle=0,re=0;\n for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "Main", "public static void main(String[] args){\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n in.nextLine();\n int wa=0,ac=0,tle=0,re=0;\n for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "main", "{\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n in.nextLine();\n int wa=0,ac=0,tle=0,re=0;\n for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "Scanner in=new Scanner(System.in);", "in", "new Scanner(System.in)", "int n=in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "in.nextLine()", "in.nextLine", "in", "int wa=0", "wa", "0", "ac=0", "ac", "0", "tle=0", "tle", "0", "re=0;", "re", "0", "for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }", "{\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }", "String s=in.nextLine();", "s", "in.nextLine()", "in.nextLine", "in", "if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }", "s.charAt(0)=='W'", "s.charAt(0)", "s.charAt", "s", "0", "'W'", "{\n wa++;\n }", "wa++", "wa", "if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }", "s.charAt(0)=='A'", "s.charAt(0)", "s.charAt", "s", "0", "'A'", "{\n ac++;\n }", "ac++", "ac", "if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }", "s.charAt(0)=='T'", "s.charAt(0)", "s.charAt", "s", "0", "'T'", "{\n tle++;\n }", "tle++", "tle", "{\n re++;\n }", "re++", "re", "System.out.println(\"AC x \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ac", "\"AC x \"", "ac", "System.out.println(\"WA x \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+re", "\"RE x \"", "re", "String[] args", "args", "public class Main{\n public static void main(String[] args){\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n in.nextLine();\n int wa=0,ac=0,tle=0,re=0;\n for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "public class Main{\n public static void main(String[] args){\n Scanner in=new Scanner(System.in);\n int n=in.nextInt();\n in.nextLine();\n int wa=0,ac=0,tle=0,re=0;\n for (int i = 0; i < n; i++) {\n String s=in.nextLine();\n if(s.charAt(0)=='W'){\n wa++;\n }else if(s.charAt(0)=='A'){\n ac++;\n }else if(s.charAt(0)=='T'){\n tle++;\n }else{\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "Main" ]
import java.util.*; public class Main{ public static void main(String[] args){ Scanner in=new Scanner(System.in); int n=in.nextInt(); in.nextLine(); int wa=0,ac=0,tle=0,re=0; for (int i = 0; i < n; i++) { String s=in.nextLine(); if(s.charAt(0)=='W'){ wa++; }else if(s.charAt(0)=='A'){ ac++; }else if(s.charAt(0)=='T'){ tle++; }else{ re++; } } System.out.println("AC x "+ac); System.out.println("WA x "+wa); System.out.println("TLE x "+tle); System.out.println("RE x "+re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 42, 4, 18, 13, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 23, 27 ], [ 8, 28 ], [ 28, 29 ], [ 29, 30 ], [ 28, 31 ], [ 28, 32 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 33, 37 ], [ 8, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 38, 42 ], [ 8, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 43, 47 ], [ 47, 48 ], [ 48, 49 ], [ 48, 50 ], [ 50, 51 ], [ 51, 52 ], [ 47, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 53, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 59, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 8, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 8, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 6, 116 ], [ 116, 117 ] ]
[ "import java.util.*;\n\nclass Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.valueOf(sc.nextInt());\n \n Map<String, Integer> map = new HashMap<String, Integer>();\n map.put(\"AC\", 0);\n map.put(\"WA\", 0);\n map.put(\"TLE\", 0);\n map.put(\"RE\", 0); \n\n while(sc.hasNext()) {\n String str = sc.nextLine();\n if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }\n }\n\n System.out.println(\"AC x \"+ map.get(\"AC\"));\n System.out.println(\"WA x \"+ map.get(\"WA\"));\n System.out.println(\"TLE x \"+ map.get(\"TLE\"));\n System.out.println(\"RE x \"+ map.get(\"RE\"));\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 num = Integer.valueOf(sc.nextInt());\n \n Map<String, Integer> map = new HashMap<String, Integer>();\n map.put(\"AC\", 0);\n map.put(\"WA\", 0);\n map.put(\"TLE\", 0);\n map.put(\"RE\", 0); \n\n while(sc.hasNext()) {\n String str = sc.nextLine();\n if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }\n }\n\n System.out.println(\"AC x \"+ map.get(\"AC\"));\n System.out.println(\"WA x \"+ map.get(\"WA\"));\n System.out.println(\"TLE x \"+ map.get(\"TLE\"));\n System.out.println(\"RE x \"+ map.get(\"RE\"));\n\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int num = Integer.valueOf(sc.nextInt());\n \n Map<String, Integer> map = new HashMap<String, Integer>();\n map.put(\"AC\", 0);\n map.put(\"WA\", 0);\n map.put(\"TLE\", 0);\n map.put(\"RE\", 0); \n\n while(sc.hasNext()) {\n String str = sc.nextLine();\n if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }\n }\n\n System.out.println(\"AC x \"+ map.get(\"AC\"));\n System.out.println(\"WA x \"+ map.get(\"WA\"));\n System.out.println(\"TLE x \"+ map.get(\"TLE\"));\n System.out.println(\"RE x \"+ map.get(\"RE\"));\n\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int num = Integer.valueOf(sc.nextInt());\n \n Map<String, Integer> map = new HashMap<String, Integer>();\n map.put(\"AC\", 0);\n map.put(\"WA\", 0);\n map.put(\"TLE\", 0);\n map.put(\"RE\", 0); \n\n while(sc.hasNext()) {\n String str = sc.nextLine();\n if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }\n }\n\n System.out.println(\"AC x \"+ map.get(\"AC\"));\n System.out.println(\"WA x \"+ map.get(\"WA\"));\n System.out.println(\"TLE x \"+ map.get(\"TLE\"));\n System.out.println(\"RE x \"+ map.get(\"RE\"));\n\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int num = Integer.valueOf(sc.nextInt());", "num", "Integer.valueOf(sc.nextInt())", "Integer.valueOf", "Integer", "sc.nextInt()", "sc.nextInt", "sc", "Map<String, Integer> map = new HashMap<String, Integer>();", "map", "new HashMap<String, Integer>()", "map.put(\"AC\", 0)", "map.put", "map", "\"AC\"", "0", "map.put(\"WA\", 0)", "map.put", "map", "\"WA\"", "0", "map.put(\"TLE\", 0)", "map.put", "map", "\"TLE\"", "0", "map.put(\"RE\", 0)", "map.put", "map", "\"RE\"", "0", "while(sc.hasNext()) {\n String str = sc.nextLine();\n if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }\n }", "sc.hasNext()", "sc.hasNext", "sc", "{\n String str = sc.nextLine();\n if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }\n }", "String str = sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "if (map.containsKey(str)) {\n map.put(str, map.get(str)+1);\n }", "map.containsKey(str)", "map.containsKey", "map", "str", "{\n map.put(str, map.get(str)+1);\n }", "map.put(str, map.get(str)+1)", "map.put", "map", "str", "map.get(str)+1", "map.get(str)", "map.get", "map", "str", "1", "System.out.println(\"AC x \"+ map.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ map.get(\"AC\")", "\"AC x \"", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "System.out.println(\"WA x \"+ map.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+ map.get(\"WA\")", "\"WA x \"", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "System.out.println(\"TLE x \"+ map.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+ map.get(\"TLE\")", "\"TLE x \"", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "System.out.println(\"RE x \"+ map.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+ map.get(\"RE\")", "\"RE x \"", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "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 num = Integer.valueOf(sc.nextInt()); Map<String, Integer> map = new HashMap<String, Integer>(); map.put("AC", 0); map.put("WA", 0); map.put("TLE", 0); map.put("RE", 0); while(sc.hasNext()) { String str = sc.nextLine(); if (map.containsKey(str)) { map.put(str, map.get(str)+1); } } System.out.println("AC x "+ map.get("AC")); System.out.println("WA x "+ map.get("WA")); System.out.println("TLE x "+ map.get("TLE")); System.out.println("RE x "+ map.get("RE")); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 42, 4, 18, 13, 30, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 2, 4, 18, 13, 4, 18, 13, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 4, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 4, 18, 13, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 144, 8 ], [ 144, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 19, 20 ], [ 20, 21 ], [ 18, 22 ], [ 22, 23 ], [ 23, 24 ], [ 24, 25 ], [ 23, 26 ], [ 26, 27 ], [ 27, 28 ], [ 11, 29 ], [ 29, 30 ], [ 29, 31 ], [ 11, 32 ], [ 32, 33 ], [ 32, 34 ], [ 11, 35 ], [ 35, 36 ], [ 35, 37 ], [ 11, 38 ], [ 38, 39 ], [ 38, 40 ], [ 11, 41 ], [ 41, 42 ], [ 41, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 43, 51 ], [ 11, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 52, 57 ], [ 57, 58 ], [ 57, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 52, 63 ], [ 64, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 66, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 64, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 77, 83 ], [ 76, 84 ], [ 84, 85 ], [ 85, 86 ], [ 64, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 88, 94 ], [ 87, 95 ], [ 95, 96 ], [ 96, 97 ], [ 64, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 101, 104 ], [ 99, 105 ], [ 98, 106 ], [ 106, 107 ], [ 107, 108 ], [ 11, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 11, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 11, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 127, 129 ], [ 125, 130 ], [ 130, 131 ], [ 130, 132 ], [ 11, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 133, 138 ], [ 138, 139 ], [ 138, 140 ], [ 9, 141 ], [ 141, 142 ], [ 0, 143 ], [ 143, 144 ], [ 143, 145 ] ]
[ "\nimport java.util.ArrayList;\nimport java.util.Scanner;\n\n\npublic class Main {\npublic static void main (String[] args){\n\n\n\tScanner sc =new Scanner(System.in);\n\tArrayList<String> list=new ArrayList<String>();\n\n\n\twhile(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}\n\t\n\tint AC=0;\n\tint WA=0;\n\tint TLE=0;\n\tint RE=0;\n\t\n\tint num= Integer.parseInt(list.get(0))+1;\n\t\n\tfor(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}\n\t\n\tSystem.out.println(\"AC x \"+AC);\n\tSystem.out.println(\"WA x \"+WA);\n\tSystem.out.println(\"TLE x \"+TLE);\n\tSystem.out.println(\"RE x \"+RE);\n\n}}\n\n", "import java.util.ArrayList;", "ArrayList", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\npublic static void main (String[] args){\n\n\n\tScanner sc =new Scanner(System.in);\n\tArrayList<String> list=new ArrayList<String>();\n\n\n\twhile(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}\n\t\n\tint AC=0;\n\tint WA=0;\n\tint TLE=0;\n\tint RE=0;\n\t\n\tint num= Integer.parseInt(list.get(0))+1;\n\t\n\tfor(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}\n\t\n\tSystem.out.println(\"AC x \"+AC);\n\tSystem.out.println(\"WA x \"+WA);\n\tSystem.out.println(\"TLE x \"+TLE);\n\tSystem.out.println(\"RE x \"+RE);\n\n}}", "Main", "public static void main (String[] args){\n\n\n\tScanner sc =new Scanner(System.in);\n\tArrayList<String> list=new ArrayList<String>();\n\n\n\twhile(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}\n\t\n\tint AC=0;\n\tint WA=0;\n\tint TLE=0;\n\tint RE=0;\n\t\n\tint num= Integer.parseInt(list.get(0))+1;\n\t\n\tfor(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}\n\t\n\tSystem.out.println(\"AC x \"+AC);\n\tSystem.out.println(\"WA x \"+WA);\n\tSystem.out.println(\"TLE x \"+TLE);\n\tSystem.out.println(\"RE x \"+RE);\n\n}", "main", "{\n\n\n\tScanner sc =new Scanner(System.in);\n\tArrayList<String> list=new ArrayList<String>();\n\n\n\twhile(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}\n\t\n\tint AC=0;\n\tint WA=0;\n\tint TLE=0;\n\tint RE=0;\n\t\n\tint num= Integer.parseInt(list.get(0))+1;\n\t\n\tfor(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}\n\t\n\tSystem.out.println(\"AC x \"+AC);\n\tSystem.out.println(\"WA x \"+WA);\n\tSystem.out.println(\"TLE x \"+TLE);\n\tSystem.out.println(\"RE x \"+RE);\n\n}", "Scanner sc =new Scanner(System.in);", "sc", "new Scanner(System.in)", "ArrayList<String> list=new ArrayList<String>();", "list", "new ArrayList<String>()", "while(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}", "sc.hasNextLine()", "sc.hasNextLine", "sc", "{\n\t\tlist.add(sc.nextLine());\n\t}", "list.add(sc.nextLine())", "list.add", "list", "sc.nextLine()", "sc.nextLine", "sc", "int AC=0;", "AC", "0", "int WA=0;", "WA", "0", "int TLE=0;", "TLE", "0", "int RE=0;", "RE", "0", "int num= Integer.parseInt(list.get(0))+1;", "num", "Integer.parseInt(list.get(0))+1", "Integer.parseInt(list.get(0))", "Integer.parseInt", "Integer", "list.get(0)", "list.get", "list", "0", "1", "for(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}", "int i=1;", "int i=1;", "i", "1", "i<num", "i", "num", "i++", "i++", "i", "{\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}", "{\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}", "if(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}", "list.get(i).equals(\"AC\")", "list.get(i).equals", "list.get(i)", "list.get", "list", "i", "\"AC\"", "{\n\t\t\tAC++;\n\t\t}", "AC++", "AC", "if(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}", "list.get(i).equals(\"WA\")", "list.get(i).equals", "list.get(i)", "list.get", "list", "i", "\"WA\"", "{\n\t\t\tWA++;\n\t\t}", "WA++", "WA", "if(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}", "list.get(i).equals(\"TLE\")", "list.get(i).equals", "list.get(i)", "list.get", "list", "i", "\"TLE\"", "{\n\t\t\tTLE++;\n\t\t}", "TLE++", "TLE", "if(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}", "list.get(i).equals(\"RE\")", "list.get(i).equals", "list.get(i)", "list.get", "list", "i", "\"RE\"", "{\n\t\t\tRE++;\n\t\t}", "RE++", "RE", "System.out.println(\"AC x \"+AC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+AC", "\"AC x \"", "AC", "System.out.println(\"WA x \"+WA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+WA", "\"WA x \"", "WA", "System.out.println(\"TLE x \"+TLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+TLE", "\"TLE x \"", "TLE", "System.out.println(\"RE x \"+RE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+RE", "\"RE x \"", "RE", "String[] args", "args", "public class Main {\npublic static void main (String[] args){\n\n\n\tScanner sc =new Scanner(System.in);\n\tArrayList<String> list=new ArrayList<String>();\n\n\n\twhile(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}\n\t\n\tint AC=0;\n\tint WA=0;\n\tint TLE=0;\n\tint RE=0;\n\t\n\tint num= Integer.parseInt(list.get(0))+1;\n\t\n\tfor(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}\n\t\n\tSystem.out.println(\"AC x \"+AC);\n\tSystem.out.println(\"WA x \"+WA);\n\tSystem.out.println(\"TLE x \"+TLE);\n\tSystem.out.println(\"RE x \"+RE);\n\n}}", "public class Main {\npublic static void main (String[] args){\n\n\n\tScanner sc =new Scanner(System.in);\n\tArrayList<String> list=new ArrayList<String>();\n\n\n\twhile(sc.hasNextLine()) {\n\t\tlist.add(sc.nextLine());\n\t}\n\t\n\tint AC=0;\n\tint WA=0;\n\tint TLE=0;\n\tint RE=0;\n\t\n\tint num= Integer.parseInt(list.get(0))+1;\n\t\n\tfor(int i=1; i<num;i++) {\n\t\tif(list.get(i).equals(\"AC\")) {\n\t\t\tAC++;\n\t\t}\n\t\tif(list.get(i).equals(\"WA\")) {\n\t\t\tWA++;\n\t\t}\n\t\tif(list.get(i).equals(\"TLE\")) {\n\t\t\tTLE++;\n\t\t}\n\t\tif(list.get(i).equals(\"RE\")) {\n\t\t\tRE++;\n\t\t}\n\t}\n\t\n\tSystem.out.println(\"AC x \"+AC);\n\tSystem.out.println(\"WA x \"+WA);\n\tSystem.out.println(\"TLE x \"+TLE);\n\tSystem.out.println(\"RE x \"+RE);\n\n}}", "Main" ]
import java.util.ArrayList; import java.util.Scanner; public class Main { public static void main (String[] args){ Scanner sc =new Scanner(System.in); ArrayList<String> list=new ArrayList<String>(); while(sc.hasNextLine()) { list.add(sc.nextLine()); } int AC=0; int WA=0; int TLE=0; int RE=0; int num= Integer.parseInt(list.get(0))+1; for(int i=1; i<num;i++) { if(list.get(i).equals("AC")) { AC++; } if(list.get(i).equals("WA")) { WA++; } if(list.get(i).equals("TLE")) { TLE++; } if(list.get(i).equals("RE")) { RE++; } } System.out.println("AC x "+AC); System.out.println("WA x "+WA); System.out.println("TLE x "+TLE); System.out.println("RE x "+RE); }}
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 30, 4, 18, 13, 13, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 17, 14, 2, 4, 18, 13, 17, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 30, 4, 18, 18, 13, 13, 2, 2, 17, 17, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 191, 5 ], [ 191, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 20 ], [ 20, 21 ], [ 21, 22 ], [ 22, 23 ], [ 22, 24 ], [ 20, 25 ], [ 25, 26 ], [ 25, 27 ], [ 20, 28 ], [ 28, 29 ], [ 29, 30 ], [ 20, 31 ], [ 32, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 35, 36 ], [ 36, 37 ], [ 32, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 44, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 48, 53 ], [ 38, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 55, 59 ], [ 8, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 60, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 74, 74 ], [ 74, 75 ], [ 74, 76 ], [ 74, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 60, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 88, 88 ], [ 88, 89 ], [ 88, 90 ], [ 88, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 92, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 106, 106 ], [ 106, 107 ], [ 106, 108 ], [ 106, 109 ], [ 109, 110 ], [ 110, 111 ], [ 109, 112 ], [ 92, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 120, 120 ], [ 120, 121 ], [ 120, 122 ], [ 120, 123 ], [ 8, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 124, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 138, 138 ], [ 138, 139 ], [ 138, 140 ], [ 138, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 124, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 148, 150 ], [ 146, 151 ], [ 152, 152 ], [ 152, 153 ], [ 152, 154 ], [ 152, 155 ], [ 8, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 158, 161 ], [ 157, 162 ], [ 156, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 164, 169 ], [ 170, 170 ], [ 170, 171 ], [ 170, 172 ], [ 170, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 156, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 180, 182 ], [ 178, 183 ], [ 184, 184 ], [ 184, 185 ], [ 184, 186 ], [ 184, 187 ], [ 6, 188 ], [ 188, 189 ], [ 0, 190 ], [ 190, 191 ], [ 190, 192 ] ]
[ "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 Map<String, Integer> s = new HashMap<>();\n for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }\n\n if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }\n if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }\n if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }\n if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\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 int n = sc.nextInt();\n Map<String, Integer> s = new HashMap<>();\n for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }\n\n if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }\n if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }\n if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }\n if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String, Integer> s = new HashMap<>();\n for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }\n\n if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }\n if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }\n if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }\n if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\n }\n\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String, Integer> s = new HashMap<>();\n for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }\n\n if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }\n if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }\n if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }\n if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\n }\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "Map<String, Integer> s = new HashMap<>();", "s", "new HashMap<>()", "for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }", "{\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }", "String tmp = sc.next();", "tmp", "sc.next()", "sc.next", "sc", "if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }", "s.containsKey(tmp)", "s.containsKey", "s", "tmp", "{\n s.put(tmp, s.get(tmp)+1);\n }", "s.put(tmp, s.get(tmp)+1)", "s.put", "s", "tmp", "s.get(tmp)+1", "s.get(tmp)", "s.get", "s", "tmp", "1", "{\n s.put(tmp, 1);\n }", "s.put(tmp, 1)", "s.put", "s", "tmp", "1", "if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }", "s.get(\"AC\")!=null", "s.get(\"AC\")", "s.get", "s", "\"AC\"", "null", "{\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n }", "System.out.println(\"AC\" + \" x \" + s.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC\" + \" x \" + s.get(\"AC\")", "\"AC\" + \" x \" + s.get(\"AC\")", "\"AC\"", "\" x \"", "s.get(\"AC\")", "s.get", "s", "\"AC\"", "{\n System.out.println(\"AC\" + \" x \" + \"0\");\n }", "System.out.println(\"AC\" + \" x \" + \"0\")", "System.out.println", "System.out", "System", "System.out", "\"AC\" + \" x \" + \"0\"", "\"AC\" + \" x \" + \"0\"", "\"AC\"", "\" x \"", "\"0\"", "if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }", "s.get(\"WA\")!=null", "s.get(\"WA\")", "s.get", "s", "\"WA\"", "null", "{\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n }", "System.out.println(\"WA\" + \" x \" + s.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA\" + \" x \" + s.get(\"WA\")", "\"WA\" + \" x \" + s.get(\"WA\")", "\"WA\"", "\" x \"", "s.get(\"WA\")", "s.get", "s", "\"WA\"", "{\n System.out.println(\"WA\" + \" x \" + \"0\");\n }", "System.out.println(\"WA\" + \" x \" + \"0\")", "System.out.println", "System.out", "System", "System.out", "\"WA\" + \" x \" + \"0\"", "\"WA\" + \" x \" + \"0\"", "\"WA\"", "\" x \"", "\"0\"", "if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }", "s.get(\"TLE\")!=null", "s.get(\"TLE\")", "s.get", "s", "\"TLE\"", "null", "{\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n }", "System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE\" + \" x \" + s.get(\"TLE\")", "\"TLE\" + \" x \" + s.get(\"TLE\")", "\"TLE\"", "\" x \"", "s.get(\"TLE\")", "s.get", "s", "\"TLE\"", "{\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }", "System.out.println(\"TLE\" + \" x \" + \"0\")", "System.out.println", "System.out", "System", "System.out", "\"TLE\" + \" x \" + \"0\"", "\"TLE\" + \" x \" + \"0\"", "\"TLE\"", "\" x \"", "\"0\"", "if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\n }", "s.get(\"RE\")!=null", "s.get(\"RE\")", "s.get", "s", "\"RE\"", "null", "{\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n }", "System.out.println(\"RE\" + \" x \" + s.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE\" + \" x \" + s.get(\"RE\")", "\"RE\" + \" x \" + s.get(\"RE\")", "\"RE\"", "\" x \"", "s.get(\"RE\")", "s.get", "s", "\"RE\"", "{\n System.out.println(\"RE\" + \" x \" + \"0\");\n }", "System.out.println(\"RE\" + \" x \" + \"0\")", "System.out.println", "System.out", "System", "System.out", "\"RE\" + \" x \" + \"0\"", "\"RE\" + \" x \" + \"0\"", "\"RE\"", "\" x \"", "\"0\"", "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 Map<String, Integer> s = new HashMap<>();\n for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }\n\n if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }\n if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }\n if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }\n if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\n }\n\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 Map<String, Integer> s = new HashMap<>();\n for(int i=0; i<n; i++) {\n String tmp = sc.next();\n if(s.containsKey(tmp)) {\n s.put(tmp, s.get(tmp)+1);\n } else {\n s.put(tmp, 1);\n }\n }\n\n if(s.get(\"AC\")!=null) {\n System.out.println(\"AC\" + \" x \" + s.get(\"AC\"));\n } else {\n System.out.println(\"AC\" + \" x \" + \"0\");\n }\n if(s.get(\"WA\")!=null) {\n System.out.println(\"WA\" + \" x \" + s.get(\"WA\"));\n } else {\n System.out.println(\"WA\" + \" x \" + \"0\");\n }\n if(s.get(\"TLE\")!=null) {\n System.out.println(\"TLE\" + \" x \" + s.get(\"TLE\"));\n } else {\n System.out.println(\"TLE\" + \" x \" + \"0\");\n }\n if(s.get(\"RE\")!=null) {\n System.out.println(\"RE\" + \" x \" + s.get(\"RE\"));\n } else {\n System.out.println(\"RE\" + \" x \" + \"0\");\n }\n\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Map<String, Integer> s = new HashMap<>(); for(int i=0; i<n; i++) { String tmp = sc.next(); if(s.containsKey(tmp)) { s.put(tmp, s.get(tmp)+1); } else { s.put(tmp, 1); } } if(s.get("AC")!=null) { System.out.println("AC" + " x " + s.get("AC")); } else { System.out.println("AC" + " x " + "0"); } if(s.get("WA")!=null) { System.out.println("WA" + " x " + s.get("WA")); } else { System.out.println("WA" + " x " + "0"); } if(s.get("TLE")!=null) { System.out.println("TLE" + " x " + s.get("TLE")); } else { System.out.println("TLE" + " x " + "0"); } if(s.get("RE")!=null) { System.out.println("RE" + " x " + s.get("RE")); } else { System.out.println("RE" + " x " + "0"); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 17, 40, 13, 14, 4, 18, 18, 13, 13, 17, 40, 13, 14, 4, 18, 18, 13, 13, 17, 40, 13, 14, 4, 18, 18, 13, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 33 ], [ 33, 34 ], [ 34, 35 ], [ 8, 36 ], [ 36, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 36, 41 ], [ 41, 42 ], [ 41, 43 ], [ 36, 44 ], [ 44, 45 ], [ 45, 46 ], [ 36, 47 ], [ 48, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 49, 53 ], [ 53, 54 ], [ 54, 55 ], [ 8, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 61, 62 ], [ 61, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 56, 67 ], [ 68, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 69, 76 ], [ 76, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 78, 85 ], [ 85, 86 ], [ 68, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 88, 93 ], [ 87, 94 ], [ 94, 95 ], [ 68, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 96, 103 ], [ 103, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 8, 113 ], [ 113, 114 ], [ 114, 115 ], [ 115, 116 ], [ 115, 117 ], [ 113, 118 ], [ 118, 119 ], [ 118, 120 ], [ 8, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 126, 127 ], [ 126, 128 ], [ 8, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 131, 133 ], [ 129, 134 ], [ 134, 135 ], [ 134, 136 ], [ 6, 137 ], [ 137, 138 ] ]
[ "import java.util.*;\nclass Main\n{\npublic static void main(String args[])\n{\n int a=0,w=0,r=0,t=0;\nScanner sc=new Scanner(System.in);\nint n= sc.nextInt();\nString s[]=new String[n];\nsc.nextLine();\n\nfor(int i=0;i<n;i++)\n{\ns[i]=sc.nextLine();\n}\nfor(int i=0;i<n;i++)\n{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}\nSystem.out.println(\"AC x \"+ a);\nSystem.out.println(\"WA x \"+w);\nSystem.out.println(\"TLE x \"+t);\nSystem.out.println(\"RE x \"+r);\n\n}\n}", "import java.util.*;", "util.*", "java", "class Main\n{\npublic static void main(String args[])\n{\n int a=0,w=0,r=0,t=0;\nScanner sc=new Scanner(System.in);\nint n= sc.nextInt();\nString s[]=new String[n];\nsc.nextLine();\n\nfor(int i=0;i<n;i++)\n{\ns[i]=sc.nextLine();\n}\nfor(int i=0;i<n;i++)\n{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}\nSystem.out.println(\"AC x \"+ a);\nSystem.out.println(\"WA x \"+w);\nSystem.out.println(\"TLE x \"+t);\nSystem.out.println(\"RE x \"+r);\n\n}\n}", "Main", "public static void main(String args[])\n{\n int a=0,w=0,r=0,t=0;\nScanner sc=new Scanner(System.in);\nint n= sc.nextInt();\nString s[]=new String[n];\nsc.nextLine();\n\nfor(int i=0;i<n;i++)\n{\ns[i]=sc.nextLine();\n}\nfor(int i=0;i<n;i++)\n{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}\nSystem.out.println(\"AC x \"+ a);\nSystem.out.println(\"WA x \"+w);\nSystem.out.println(\"TLE x \"+t);\nSystem.out.println(\"RE x \"+r);\n\n}", "main", "{\n int a=0,w=0,r=0,t=0;\nScanner sc=new Scanner(System.in);\nint n= sc.nextInt();\nString s[]=new String[n];\nsc.nextLine();\n\nfor(int i=0;i<n;i++)\n{\ns[i]=sc.nextLine();\n}\nfor(int i=0;i<n;i++)\n{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}\nSystem.out.println(\"AC x \"+ a);\nSystem.out.println(\"WA x \"+w);\nSystem.out.println(\"TLE x \"+t);\nSystem.out.println(\"RE x \"+r);\n\n}", "int a=0", "a", "0", "w=0", "w", "0", "r=0", "r", "0", "t=0;", "t", "0", "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", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=0;i<n;i++)\n{\ns[i]=sc.nextLine();\n}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\ns[i]=sc.nextLine();\n}", "{\ns[i]=sc.nextLine();\n}", "s[i]=sc.nextLine()", "s[i]", "s", "i", "sc.nextLine()", "sc.nextLine", "sc", "for(int i=0;i<n;i++)\n{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}", "{\nif(s[i].equals(\"AC\"))\n a++;\nif(s[i].equals(\"WA\"))\n w++;\nif(s[i].equals(\"TLE\"))\n t++;\nif(s[i].equals(\"RE\"))\nr++;\n}", "if(s[i].equals(\"AC\"))\n a++;", "s[i].equals(\"AC\")", "s[i].equals", "s[i]", "s", "i", "\"AC\"", "a++", "a", "if(s[i].equals(\"WA\"))\n w++;", "s[i].equals(\"WA\")", "s[i].equals", "s[i]", "s", "i", "\"WA\"", "w++", "w", "if(s[i].equals(\"TLE\"))\n t++;", "s[i].equals(\"TLE\")", "s[i].equals", "s[i]", "s", "i", "\"TLE\"", "t++", "t", "if(s[i].equals(\"RE\"))\nr++;", "s[i].equals(\"RE\")", "s[i].equals", "s[i]", "s", "i", "\"RE\"", "r++", "r", "System.out.println(\"AC x \"+ a)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ a", "\"AC x \"", "a", "System.out.println(\"WA x \"+w)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+w", "\"WA x \"", "w", "System.out.println(\"TLE x \"+t)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+t", "\"TLE x \"", "t", "System.out.println(\"RE x \"+r)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+r", "\"RE x \"", "r", "String args[]", "args" ]
import java.util.*; class Main { public static void main(String args[]) { int a=0,w=0,r=0,t=0; Scanner sc=new Scanner(System.in); int n= sc.nextInt(); String s[]=new String[n]; sc.nextLine(); for(int i=0;i<n;i++) { s[i]=sc.nextLine(); } for(int i=0;i<n;i++) { if(s[i].equals("AC")) a++; if(s[i].equals("WA")) w++; if(s[i].equals("TLE")) t++; if(s[i].equals("RE")) r++; } System.out.println("AC x "+ a); System.out.println("WA x "+w); System.out.println("TLE x "+t); System.out.println("RE x "+r); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 116, 5 ], [ 116, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 6, 113 ], [ 113, 114 ], [ 0, 115 ], [ 115, 116 ], [ 115, 117 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\t\t // 文字数\n\t\t\n\t\t \t\tint ac = 0;\n\t\t \t\tint wa = 0;\n\t\t \t\tint tle = 0;\n\t\t int re = 0;\n\t\t \t\tfor (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }\n\t\t System.out.println(\"AC x \" + ac);\n\t\t System.out.println(\"WA x \" + wa);\n\t\t System.out.println(\"TLE x \" + tle);\n\t\t System.out.println(\"RE x \" + re);\n }\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\t\t // 文字数\n\t\t\n\t\t \t\tint ac = 0;\n\t\t \t\tint wa = 0;\n\t\t \t\tint tle = 0;\n\t\t int re = 0;\n\t\t \t\tfor (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }\n\t\t System.out.println(\"AC x \" + ac);\n\t\t System.out.println(\"WA x \" + wa);\n\t\t System.out.println(\"TLE x \" + tle);\n\t\t System.out.println(\"RE x \" + re);\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\t\t // 文字数\n\t\t\n\t\t \t\tint ac = 0;\n\t\t \t\tint wa = 0;\n\t\t \t\tint tle = 0;\n\t\t int re = 0;\n\t\t \t\tfor (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }\n\t\t System.out.println(\"AC x \" + ac);\n\t\t System.out.println(\"WA x \" + wa);\n\t\t System.out.println(\"TLE x \" + tle);\n\t\t System.out.println(\"RE x \" + re);\n }", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\t\t // 文字数\n\t\t\n\t\t \t\tint ac = 0;\n\t\t \t\tint wa = 0;\n\t\t \t\tint tle = 0;\n\t\t int re = 0;\n\t\t \t\tfor (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }\n\t\t System.out.println(\"AC x \" + ac);\n\t\t System.out.println(\"WA x \" + wa);\n\t\t System.out.println(\"TLE x \" + tle);\n\t\t System.out.println(\"RE x \" + re);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\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 String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }", "{\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }", "String S = sc.nextLine();", "S", "sc.nextLine()", "sc.nextLine", "sc", "if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }", "S.equals(\"AC\")", "S.equals", "S", "\"AC\"", "{\n\t\t ac++;\n\t\t }", "ac++", "ac", "if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }", "S.equals(\"WA\")", "S.equals", "S", "\"WA\"", "{\n\t\t wa++;\n\t\t }", "wa++", "wa", "if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }", "S.equals(\"TLE\")", "S.equals", "S", "\"TLE\"", "{\n\t\t tle++;\n\t\t }", "tle++", "tle", "if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }", "S.equals(\"RE\")", "S.equals", "S", "\"RE\"", "{\n\t\t re++;\n\t\t }", "re++", "re", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "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\t\t // 文字数\n\t\t\n\t\t \t\tint ac = 0;\n\t\t \t\tint wa = 0;\n\t\t \t\tint tle = 0;\n\t\t int re = 0;\n\t\t \t\tfor (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }\n\t\t System.out.println(\"AC x \" + ac);\n\t\t System.out.println(\"WA x \" + wa);\n\t\t System.out.println(\"TLE x \" + tle);\n\t\t System.out.println(\"RE x \" + re);\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\t\t // 文字数\n\t\t\n\t\t \t\tint ac = 0;\n\t\t \t\tint wa = 0;\n\t\t \t\tint tle = 0;\n\t\t int re = 0;\n\t\t \t\tfor (int i = 0; i < N+1; i++) {\n\t\t String S = sc.nextLine();\n\t\t\t\t\t if(S.equals(\"AC\")) {\n\t\t ac++;\n\t\t }else if(S.equals(\"WA\")) {\n\t\t wa++;\n\t\t }else if(S.equals(\"TLE\")) {\n\t\t tle++;\n\t\t }else if(S.equals(\"RE\")){\n\t\t re++;\n\t\t }\n\t\t }\n\t\t System.out.println(\"AC x \" + ac);\n\t\t System.out.println(\"WA x \" + wa);\n\t\t System.out.println(\"TLE x \" + tle);\n\t\t System.out.println(\"RE x \" + re);\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 ac = 0; int wa = 0; int tle = 0; int re = 0; for (int i = 0; i < N+1; i++) { String S = sc.nextLine(); if(S.equals("AC")) { ac++; }else if(S.equals("WA")) { wa++; }else if(S.equals("TLE")) { tle++; }else if(S.equals("RE")){ re++; } } System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 131, 5 ], [ 131, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 46, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 46, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 46, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 91, 92 ], [ 92, 93 ], [ 91, 94 ], [ 8, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 8, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 8, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 6, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "//package beg_173;\nimport java.util.*;\npublic class Main {\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n int ac=0;\n int tle=0;\n int wa=0;\n int re=0;\n int num = s.nextInt();\n String tvguybhi = s.nextLine();\n for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + Integer.toString(ac));\n System.out.println(\"WA x \" + Integer.toString(wa));\n System.out.println(\"TLE x \" + Integer.toString(tle));\n System.out.println(\"RE x \" + Integer.toString(re));\n\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 int ac=0;\n int tle=0;\n int wa=0;\n int re=0;\n int num = s.nextInt();\n String tvguybhi = s.nextLine();\n for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + Integer.toString(ac));\n System.out.println(\"WA x \" + Integer.toString(wa));\n System.out.println(\"TLE x \" + Integer.toString(tle));\n System.out.println(\"RE x \" + Integer.toString(re));\n\n }\n}", "Main", "public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n int ac=0;\n int tle=0;\n int wa=0;\n int re=0;\n int num = s.nextInt();\n String tvguybhi = s.nextLine();\n for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + Integer.toString(ac));\n System.out.println(\"WA x \" + Integer.toString(wa));\n System.out.println(\"TLE x \" + Integer.toString(tle));\n System.out.println(\"RE x \" + Integer.toString(re));\n\n }", "main", "{\n Scanner s = new Scanner(System.in);\n int ac=0;\n int tle=0;\n int wa=0;\n int re=0;\n int num = s.nextInt();\n String tvguybhi = s.nextLine();\n for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + Integer.toString(ac));\n System.out.println(\"WA x \" + Integer.toString(wa));\n System.out.println(\"TLE x \" + Integer.toString(tle));\n System.out.println(\"RE x \" + Integer.toString(re));\n\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int ac=0;", "ac", "0", "int tle=0;", "tle", "0", "int wa=0;", "wa", "0", "int re=0;", "re", "0", "int num = s.nextInt();", "num", "s.nextInt()", "s.nextInt", "s", "String tvguybhi = s.nextLine();", "tvguybhi", "s.nextLine()", "s.nextLine", "s", "for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<num", "i", "num", "i++", "i++", "i", "{\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }", "{\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }", "String a = s.nextLine();", "a", "s.nextLine()", "s.nextLine", "s", "if (a.equals(\"AC\")){\n ac++;\n }", "a.equals(\"AC\")", "a.equals", "a", "\"AC\"", "{\n ac++;\n }", "ac++", "ac", "if (a.equals(\"TLE\")){\n tle++;\n }", "a.equals(\"TLE\")", "a.equals", "a", "\"TLE\"", "{\n tle++;\n }", "tle++", "tle", "if (a.equals(\"WA\")){\n wa++;\n }", "a.equals(\"WA\")", "a.equals", "a", "\"WA\"", "{\n wa++;\n }", "wa++", "wa", "if (a.equals(\"RE\")){\n re++;\n }", "a.equals(\"RE\")", "a.equals", "a", "\"RE\"", "{\n re++;\n }", "re++", "re", "System.out.println(\"AC x \" + Integer.toString(ac))", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + Integer.toString(ac)", "\"AC x \"", "Integer.toString(ac)", "Integer.toString", "Integer", "ac", "System.out.println(\"WA x \" + Integer.toString(wa))", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + Integer.toString(wa)", "\"WA x \"", "Integer.toString(wa)", "Integer.toString", "Integer", "wa", "System.out.println(\"TLE x \" + Integer.toString(tle))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + Integer.toString(tle)", "\"TLE x \"", "Integer.toString(tle)", "Integer.toString", "Integer", "tle", "System.out.println(\"RE x \" + Integer.toString(re))", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + Integer.toString(re)", "\"RE x \"", "Integer.toString(re)", "Integer.toString", "Integer", "re", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n int ac=0;\n int tle=0;\n int wa=0;\n int re=0;\n int num = s.nextInt();\n String tvguybhi = s.nextLine();\n for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + Integer.toString(ac));\n System.out.println(\"WA x \" + Integer.toString(wa));\n System.out.println(\"TLE x \" + Integer.toString(tle));\n System.out.println(\"RE x \" + Integer.toString(re));\n\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner s = new Scanner(System.in);\n int ac=0;\n int tle=0;\n int wa=0;\n int re=0;\n int num = s.nextInt();\n String tvguybhi = s.nextLine();\n for (int i=0;i<num;i++){\n String a = s.nextLine();\n if (a.equals(\"AC\")){\n ac++;\n }\n if (a.equals(\"TLE\")){\n tle++;\n }\n if (a.equals(\"WA\")){\n wa++;\n }\n if (a.equals(\"RE\")){\n re++;\n }\n }\n System.out.println(\"AC x \" + Integer.toString(ac));\n System.out.println(\"WA x \" + Integer.toString(wa));\n System.out.println(\"TLE x \" + Integer.toString(tle));\n System.out.println(\"RE x \" + Integer.toString(re));\n\n }\n}", "Main" ]
//package beg_173; import java.util.*; public class Main { public static void main(String[] args){ Scanner s = new Scanner(System.in); int ac=0; int tle=0; int wa=0; int re=0; int num = s.nextInt(); String tvguybhi = s.nextLine(); for (int i=0;i<num;i++){ String a = s.nextLine(); if (a.equals("AC")){ ac++; } if (a.equals("TLE")){ tle++; } if (a.equals("WA")){ wa++; } if (a.equals("RE")){ re++; } } System.out.println("AC x " + Integer.toString(ac)); System.out.println("WA x " + Integer.toString(wa)); System.out.println("TLE x " + Integer.toString(tle)); System.out.println("RE x " + Integer.toString(re)); } }
[ 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, 39, 17, 17, 17, 17, 28, 13, 13, 30, 4, 18, 13, 13, 17, 41, 13, 4, 18, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 135, 17 ], [ 135, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 29, 32 ], [ 29, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 34, 37 ], [ 37, 38 ], [ 38, 39 ], [ 39, 40 ], [ 38, 41 ], [ 38, 42 ], [ 20, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 48, 49 ], [ 49, 50 ], [ 20, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 63, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 69, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 74, 78 ], [ 73, 79 ], [ 20, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 86, 86 ], [ 86, 87 ], [ 86, 88 ], [ 86, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 20, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 99, 99 ], [ 99, 100 ], [ 99, 101 ], [ 99, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 20, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 112, 112 ], [ 112, 113 ], [ 112, 114 ], [ 112, 115 ], [ 115, 116 ], [ 116, 117 ], [ 115, 118 ], [ 20, 119 ], [ 119, 120 ], [ 120, 121 ], [ 121, 122 ], [ 121, 123 ], [ 119, 124 ], [ 125, 125 ], [ 125, 126 ], [ 125, 127 ], [ 125, 128 ], [ 128, 129 ], [ 129, 130 ], [ 128, 131 ], [ 18, 132 ], [ 132, 133 ], [ 0, 134 ], [ 134, 135 ], [ 134, 136 ] ]
[ "\nimport java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.util.HashMap;\nimport java.util.Map;\n\npublic class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String,Integer> frequencies = new HashMap<>();\n\n String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};\n for(String verdict:verdicts)frequencies.put(verdict,0);\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }\n System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"));\n System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"));\n System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"));\n System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"));\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Map;", "Map", "java.util", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String,Integer> frequencies = new HashMap<>();\n\n String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};\n for(String verdict:verdicts)frequencies.put(verdict,0);\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }\n System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"));\n System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"));\n System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"));\n System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"));\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String,Integer> frequencies = new HashMap<>();\n\n String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};\n for(String verdict:verdicts)frequencies.put(verdict,0);\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }\n System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"));\n System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"));\n System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"));\n System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"));\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String,Integer> frequencies = new HashMap<>();\n\n String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};\n for(String verdict:verdicts)frequencies.put(verdict,0);\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }\n System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"));\n System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"));\n System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"));\n System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"));\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "Map<String,Integer> frequencies = new HashMap<>();", "frequencies", "new HashMap<>()", "String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};", "verdicts", "{\"WA\",\"AC\",\"TLE\",\"RE\"}", "\"WA\"", "\"AC\"", "\"TLE\"", "\"RE\"", "for(String verdict:verdicts)frequencies.put(verdict,0);", "String verdict", "verdicts", "frequencies.put(verdict,0);", "frequencies.put(verdict,0)", "frequencies.put", "frequencies", "verdict", "0", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }", "{\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }", "String verdict = br.readLine();", "verdict", "br.readLine()", "br.readLine", "br", "frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1)", "frequencies.put", "frequencies", "verdict", "frequencies.getOrDefault(verdict,0)+1", "frequencies.getOrDefault(verdict,0)", "frequencies.getOrDefault", "frequencies", "verdict", "0", "1", "System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC\" + \" x \" +frequencies.get(\"AC\")", "\"AC\" + \" x \" +frequencies.get(\"AC\")", "\"AC\"", "\" x \"", "frequencies.get(\"AC\")", "frequencies.get", "frequencies", "\"AC\"", "System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA\" + \" x \" +frequencies.get(\"WA\")", "\"WA\" + \" x \" +frequencies.get(\"WA\")", "\"WA\"", "\" x \"", "frequencies.get(\"WA\")", "frequencies.get", "frequencies", "\"WA\"", "System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE\" + \" x \" +frequencies.get(\"TLE\")", "\"TLE\" + \" x \" +frequencies.get(\"TLE\")", "\"TLE\"", "\" x \"", "frequencies.get(\"TLE\")", "frequencies.get", "frequencies", "\"TLE\"", "System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE\" + \" x \" +frequencies.get(\"RE\")", "\"RE\" + \" x \" +frequencies.get(\"RE\")", "\"RE\"", "\" x \"", "frequencies.get(\"RE\")", "frequencies.get", "frequencies", "\"RE\"", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String,Integer> frequencies = new HashMap<>();\n\n String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};\n for(String verdict:verdicts)frequencies.put(verdict,0);\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }\n System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"));\n System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"));\n System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"));\n System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"));\n }\n}", "public class Main {\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n Map<String,Integer> frequencies = new HashMap<>();\n\n String[] verdicts = {\"WA\",\"AC\",\"TLE\",\"RE\"};\n for(String verdict:verdicts)frequencies.put(verdict,0);\n int n = Integer.parseInt(br.readLine());\n for(int i=0;i<n;i++){\n String verdict = br.readLine();\n frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1);\n }\n System.out.println(\"AC\" + \" x \" +frequencies.get(\"AC\"));\n System.out.println(\"WA\" + \" x \" +frequencies.get(\"WA\"));\n System.out.println(\"TLE\" + \" x \" +frequencies.get(\"TLE\"));\n System.out.println(\"RE\" + \" x \" +frequencies.get(\"RE\"));\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.util.HashMap; import java.util.Map; public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); Map<String,Integer> frequencies = new HashMap<>(); String[] verdicts = {"WA","AC","TLE","RE"}; for(String verdict:verdicts)frequencies.put(verdict,0); int n = Integer.parseInt(br.readLine()); for(int i=0;i<n;i++){ String verdict = br.readLine(); frequencies.put(verdict,frequencies.getOrDefault(verdict,0)+1); } System.out.println("AC" + " x " +frequencies.get("AC")); System.out.println("WA" + " x " +frequencies.get("WA")); System.out.println("TLE" + " x " +frequencies.get("TLE")); System.out.println("RE" + " x " +frequencies.get("RE")); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 40, 13, 14, 4, 18, 13, 13, 30, 40, 13, 14, 4, 18, 13, 13, 30, 40, 13, 14, 4, 18, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 126, 5 ], [ 126, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 32, 34 ], [ 8, 35 ], [ 35, 36 ], [ 35, 37 ], [ 8, 38 ], [ 38, 39 ], [ 38, 40 ], [ 8, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 43, 45 ], [ 41, 46 ], [ 46, 47 ], [ 46, 48 ], [ 41, 49 ], [ 49, 50 ], [ 50, 51 ], [ 41, 52 ], [ 53, 53 ], [ 53, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 53, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 59, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 67, 72 ], [ 72, 73 ], [ 73, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 81, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 8, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 6, 123 ], [ 123, 124 ], [ 0, 125 ], [ 125, 126 ], [ 125, 127 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N =sc.nextInt();\n\t\t\tint count = 0;\n\t\t\tint count2 = 0;\n\t\t\tint count3= 0;\n\t\t\tint count4 = 0;\n String A = \"AC\";\n String B = \"WA\";\n String C = \"TLE\";\n String D = \"RE\";\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + count);\n\t\tSystem.out.println(\"WA x \" + count2);\n\t\tSystem.out.println(\"TLE x \" + count3);\n\t\tSystem.out.println(\"RE x \" + count4);\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N =sc.nextInt();\n\t\t\tint count = 0;\n\t\t\tint count2 = 0;\n\t\t\tint count3= 0;\n\t\t\tint count4 = 0;\n String A = \"AC\";\n String B = \"WA\";\n String C = \"TLE\";\n String D = \"RE\";\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + count);\n\t\tSystem.out.println(\"WA x \" + count2);\n\t\tSystem.out.println(\"TLE x \" + count3);\n\t\tSystem.out.println(\"RE x \" + count4);\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N =sc.nextInt();\n\t\t\tint count = 0;\n\t\t\tint count2 = 0;\n\t\t\tint count3= 0;\n\t\t\tint count4 = 0;\n String A = \"AC\";\n String B = \"WA\";\n String C = \"TLE\";\n String D = \"RE\";\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + count);\n\t\tSystem.out.println(\"WA x \" + count2);\n\t\tSystem.out.println(\"TLE x \" + count3);\n\t\tSystem.out.println(\"RE x \" + count4);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N =sc.nextInt();\n\t\t\tint count = 0;\n\t\t\tint count2 = 0;\n\t\t\tint count3= 0;\n\t\t\tint count4 = 0;\n String A = \"AC\";\n String B = \"WA\";\n String C = \"TLE\";\n String D = \"RE\";\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + count);\n\t\tSystem.out.println(\"WA x \" + count2);\n\t\tSystem.out.println(\"TLE x \" + count3);\n\t\tSystem.out.println(\"RE x \" + count4);\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 = 0;", "count", "0", "int count2 = 0;", "count2", "0", "int count3= 0;", "count3", "0", "int count4 = 0;", "count4", "0", "String A = \"AC\";", "A", "\"AC\"", "String B = \"WA\";", "B", "\"WA\"", "String C = \"TLE\";", "C", "\"TLE\"", "String D = \"RE\";", "D", "\"RE\"", "for(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\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 H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}", "{\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}", "String H = sc.next();", "H", "sc.next()", "sc.next", "sc", "if(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}", "H.equals(A)", "H.equals", "H", "A", "{\n\t\t\t\tcount++;\n\t\t\t}", "count++", "count", "if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}", "H.equals(B)", "H.equals", "H", "B", "{\n\t\t\t\tcount2++;\n\t\t\t}", "count2++", "count2", "if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}", "H.equals(C)", "H.equals", "H", "C", "{\n\t\t\t\tcount3++;\n\t\t\t}", "count3++", "count3", "if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}", "H.equals(D)", "H.equals", "H", "D", "{\n\t\t\t\tcount4++;\n\t\t\t}", "count4++", "count4", "System.out.println(\"AC x \" + count)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + count", "\"AC x \"", "count", "System.out.println(\"WA x \" + count2)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + count2", "\"WA x \"", "count2", "System.out.println(\"TLE x \" + count3)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + count3", "\"TLE x \"", "count3", "System.out.println(\"RE x \" + count4)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + count4", "\"RE x \"", "count4", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N =sc.nextInt();\n\t\t\tint count = 0;\n\t\t\tint count2 = 0;\n\t\t\tint count3= 0;\n\t\t\tint count4 = 0;\n String A = \"AC\";\n String B = \"WA\";\n String C = \"TLE\";\n String D = \"RE\";\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + count);\n\t\tSystem.out.println(\"WA x \" + count2);\n\t\tSystem.out.println(\"TLE x \" + count3);\n\t\tSystem.out.println(\"RE x \" + count4);\n\t}\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\t\tint N =sc.nextInt();\n\t\t\tint count = 0;\n\t\t\tint count2 = 0;\n\t\t\tint count3= 0;\n\t\t\tint count4 = 0;\n String A = \"AC\";\n String B = \"WA\";\n String C = \"TLE\";\n String D = \"RE\";\n\t\tfor(int i = 0;i < N;i++) {\n\t\t\tString H = sc.next();\n\t\t\tif(H.equals(A)) {\n\t\t\t\tcount++;\n\t\t\t}\n\t\t\telse if(H.equals(B)) {\n\t\t\t\tcount2++;\n\t\t\t}\n\t\t\telse if(H.equals(C)) {\n\t\t\t\tcount3++;\n\t\t\t}\n\t\t\telse if(H.equals(D)) {\n\t\t\t\tcount4++;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + count);\n\t\tSystem.out.println(\"WA x \" + count2);\n\t\tSystem.out.println(\"TLE x \" + count3);\n\t\tSystem.out.println(\"RE x \" + count4);\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N =sc.nextInt(); int count = 0; int count2 = 0; int count3= 0; int count4 = 0; String A = "AC"; String B = "WA"; String C = "TLE"; String D = "RE"; for(int i = 0;i < N;i++) { String H = sc.next(); if(H.equals(A)) { count++; } else if(H.equals(B)) { count2++; } else if(H.equals(C)) { count3++; } else if(H.equals(D)) { count4++; } } System.out.println("AC x " + count); System.out.println("WA x " + count2); System.out.println("TLE x " + count3); System.out.println("RE x " + count4); } }
[ 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, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 0, 13, 17, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 0, 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, 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, 0, 13, 17, 29, 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, 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, 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, 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 ], [ 318, 17 ], [ 318, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 20, 24 ], [ 24, 25 ], [ 24, 26 ], [ 20, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 20, 32 ], [ 32, 33 ], [ 32, 34 ], [ 20, 35 ], [ 35, 36 ], [ 35, 37 ], [ 20, 38 ], [ 38, 39 ], [ 38, 40 ], [ 20, 41 ], [ 41, 42 ], [ 41, 43 ], [ 20, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 44, 49 ], [ 49, 50 ], [ 49, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 44, 55 ], [ 56, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 56, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 67, 69 ], [ 62, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 70, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 79, 82 ], [ 78, 83 ], [ 83, 84 ], [ 78, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 85, 90 ], [ 90, 91 ], [ 20, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 95, 97 ], [ 20, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 20, 104 ], [ 104, 105 ], [ 105, 106 ], [ 104, 107 ], [ 107, 108 ], [ 107, 109 ], [ 20, 110 ], [ 110, 111 ], [ 111, 112 ], [ 110, 113 ], [ 113, 114 ], [ 113, 115 ], [ 20, 116 ], [ 116, 117 ], [ 117, 118 ], [ 18, 119 ], [ 119, 120 ], [ 318, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 121, 125 ], [ 125, 126 ], [ 121, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 121, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 137, 141 ], [ 141, 142 ], [ 142, 143 ], [ 143, 144 ], [ 136, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 147, 149 ], [ 149, 150 ], [ 150, 151 ], [ 151, 152 ], [ 146, 153 ], [ 153, 154 ], [ 154, 155 ], [ 154, 156 ], [ 135, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 121, 161 ], [ 161, 162 ], [ 161, 163 ], [ 163, 164 ], [ 164, 165 ], [ 164, 166 ], [ 121, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 121, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 180, 181 ], [ 181, 182 ], [ 180, 183 ], [ 183, 184 ], [ 121, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 190, 191 ], [ 189, 192 ], [ 192, 193 ], [ 121, 194 ], [ 194, 195 ], [ 194, 196 ], [ 196, 197 ], [ 197, 198 ], [ 198, 199 ], [ 199, 200 ], [ 198, 201 ], [ 201, 202 ], [ 121, 203 ], [ 203, 204 ], [ 203, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 214, 215 ], [ 209, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 205, 222 ], [ 222, 223 ], [ 222, 224 ], [ 205, 225 ], [ 225, 226 ], [ 121, 227 ], [ 227, 228 ], [ 227, 229 ], [ 229, 230 ], [ 230, 231 ], [ 230, 232 ], [ 229, 234 ], [ 234, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 234, 239 ], [ 239, 240 ], [ 239, 241 ], [ 234, 242 ], [ 242, 243 ], [ 243, 244 ], [ 234, 245 ], [ 246, 246 ], [ 246, 247 ], [ 247, 248 ], [ 248, 249 ], [ 248, 250 ], [ 247, 251 ], [ 251, 252 ], [ 229, 253 ], [ 253, 254 ], [ 227, 255 ], [ 255, 256 ], [ 121, 257 ], [ 257, 258 ], [ 257, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 259, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 264, 269 ], [ 269, 270 ], [ 269, 271 ], [ 264, 272 ], [ 272, 273 ], [ 273, 274 ], [ 264, 275 ], [ 276, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 277, 281 ], [ 281, 282 ], [ 259, 283 ], [ 283, 284 ], [ 257, 285 ], [ 285, 286 ], [ 121, 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 ], [ 0, 317 ], [ 317, 318 ], [ 317, 319 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.io.PrintWriter;\nimport java.util.StringTokenizer;\n\npublic class Main {\n\n //Fast Reader\n private static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n public 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 public void resetST() {\n st = null;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public int[] nextIntArray(int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] nextLongArray(int size) {\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] nextDoubleArray(int size) {\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\n }\n }\n public static void main(String[] args)\n {\n FastReader sc =new FastReader();\n PrintWriter pr =new PrintWriter(System.out);\n int n=sc.nextInt();\n int ac=0;\n int wa=0;\n int re=0;\n int tle=0;\n for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }\n pr.println(\"AC x \"+ac);\n pr.println(\"WA x \"+wa);\n pr.println(\"TLE x \"+tle);\n pr.println(\"RE x \"+re);\n pr.close();\n\t// write your code here\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "public class Main {\n\n //Fast Reader\n private static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n public 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 public void resetST() {\n st = null;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public int[] nextIntArray(int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] nextLongArray(int size) {\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] nextDoubleArray(int size) {\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\n }\n }\n public static void main(String[] args)\n {\n FastReader sc =new FastReader();\n PrintWriter pr =new PrintWriter(System.out);\n int n=sc.nextInt();\n int ac=0;\n int wa=0;\n int re=0;\n int tle=0;\n for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }\n pr.println(\"AC x \"+ac);\n pr.println(\"WA x \"+wa);\n pr.println(\"TLE x \"+tle);\n pr.println(\"RE x \"+re);\n pr.close();\n\t// write your code here\n }\n}", "Main", "public static void main(String[] args)\n {\n FastReader sc =new FastReader();\n PrintWriter pr =new PrintWriter(System.out);\n int n=sc.nextInt();\n int ac=0;\n int wa=0;\n int re=0;\n int tle=0;\n for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }\n pr.println(\"AC x \"+ac);\n pr.println(\"WA x \"+wa);\n pr.println(\"TLE x \"+tle);\n pr.println(\"RE x \"+re);\n pr.close();\n\t// write your code here\n }", "main", "{\n FastReader sc =new FastReader();\n PrintWriter pr =new PrintWriter(System.out);\n int n=sc.nextInt();\n int ac=0;\n int wa=0;\n int re=0;\n int tle=0;\n for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }\n pr.println(\"AC x \"+ac);\n pr.println(\"WA x \"+wa);\n pr.println(\"TLE x \"+tle);\n pr.println(\"RE x \"+re);\n pr.close();\n\t// write your code here\n }", "FastReader sc =new FastReader();", "sc", "new FastReader()", "PrintWriter pr =new PrintWriter(System.out);", "pr", "new PrintWriter(System.out)", "int n=sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int ac=0;", "ac", "0", "int wa=0;", "wa", "0", "int re=0;", "re", "0", "int tle=0;", "tle", "0", "for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }", "{\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }", "String s=sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "ac+=1", "ac", "1", "if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "wa+=1", "wa", "1", "if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "tle++", "tle", "if(s.equals(\"RE\"))\n re++;", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "re++", "re", "pr.println(\"AC x \"+ac)", "pr.println", "pr", "\"AC x \"+ac", "\"AC x \"", "ac", "pr.println(\"WA x \"+wa)", "pr.println", "pr", "\"WA x \"+wa", "\"WA x \"", "wa", "pr.println(\"TLE x \"+tle)", "pr.println", "pr", "\"TLE x \"+tle", "\"TLE x \"", "tle", "pr.println(\"RE x \"+re)", "pr.println", "pr", "\"RE x \"+re", "\"RE x \"", "re", "pr.close()", "pr.close", "pr", "String[] args", "args", " private static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n public 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 public void resetST() {\n st = null;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public int[] nextIntArray(int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] nextLongArray(int size) {\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] nextDoubleArray(int size) {\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\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))", "public 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", "public void resetST() {\n st = null;\n }", "resetST", "{\n st = null;\n }", "st = null", "st", "null", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public float nextFloat() {\n return Float.parseFloat(next());\n }", "nextFloat", "{\n return Float.parseFloat(next());\n }", "return Float.parseFloat(next());", "Float.parseFloat(next())", "Float.parseFloat", "Float", "next()", "next", "public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }", "nextLine", "{\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\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", "st = null", "st", "null", "return str;", "str", "public int[] nextIntArray(int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }", "nextIntArray", "{\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }", "int[] arr = new int[size];", "arr", "new int[size]", "size", "for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n arr[i] = nextInt();\n }", "{\n arr[i] = nextInt();\n }", "arr[i] = nextInt()", "arr[i]", "arr", "i", "nextInt()", "nextInt", "return arr;", "arr", "int size", "size", "public long[] nextLongArray(int size) {\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }", "nextLongArray", "{\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }", "long[] arr = new long[size];", "arr", "new long[size]", "size", "for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n arr[i] = nextLong();\n }", "{\n arr[i] = nextLong();\n }", "arr[i] = nextLong()", "arr[i]", "arr", "i", "nextLong()", "nextLong", "return arr;", "arr", "int size", "size", "public double[] nextDoubleArray(int size) {\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\n }", "nextDoubleArray", "{\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\n }", "double[] arr = new double[size];", "arr", "new double[size]", "size", "for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n arr[i] = nextDouble();\n }", "{\n arr[i] = nextDouble();\n }", "arr[i] = nextDouble()", "arr[i]", "arr", "i", "nextDouble()", "nextDouble", "return arr;", "arr", "int size", "size", "public class Main {\n\n //Fast Reader\n private static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n public 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 public void resetST() {\n st = null;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public int[] nextIntArray(int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] nextLongArray(int size) {\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] nextDoubleArray(int size) {\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\n }\n }\n public static void main(String[] args)\n {\n FastReader sc =new FastReader();\n PrintWriter pr =new PrintWriter(System.out);\n int n=sc.nextInt();\n int ac=0;\n int wa=0;\n int re=0;\n int tle=0;\n for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }\n pr.println(\"AC x \"+ac);\n pr.println(\"WA x \"+wa);\n pr.println(\"TLE x \"+tle);\n pr.println(\"RE x \"+re);\n pr.close();\n\t// write your code here\n }\n}", "public class Main {\n\n //Fast Reader\n private static class FastReader {\n BufferedReader br;\n StringTokenizer st;\n\n public FastReader() {\n br = new BufferedReader(new InputStreamReader(System.in));\n }\n\n public 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 public void resetST() {\n st = null;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public float nextFloat() {\n return Float.parseFloat(next());\n }\n\n public String nextLine() {\n String str = \"\";\n try {\n str = br.readLine();\n } catch (IOException e) {\n e.printStackTrace();\n }\n st = null;\n return str;\n }\n\n public int[] nextIntArray(int size) {\n int[] arr = new int[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextInt();\n }\n return arr;\n }\n\n public long[] nextLongArray(int size) {\n long[] arr = new long[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextLong();\n }\n return arr;\n }\n\n public double[] nextDoubleArray(int size) {\n double[] arr = new double[size];\n for (int i = 0; i < size; i++) {\n arr[i] = nextDouble();\n }\n return arr;\n }\n }\n public static void main(String[] args)\n {\n FastReader sc =new FastReader();\n PrintWriter pr =new PrintWriter(System.out);\n int n=sc.nextInt();\n int ac=0;\n int wa=0;\n int re=0;\n int tle=0;\n for (int i=0;i<n;i++)\n {\n String s=sc.nextLine();\n if(s.equals(\"AC\"))\n ac+=1;\n else if(s.equals(\"WA\"))\n wa+=1;\n else if(s.equals(\"TLE\"))\n tle++;\n else if(s.equals(\"RE\"))\n re++;\n }\n pr.println(\"AC x \"+ac);\n pr.println(\"WA x \"+wa);\n pr.println(\"TLE x \"+tle);\n pr.println(\"RE x \"+re);\n pr.close();\n\t// write your code here\n }\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.io.PrintWriter; import java.util.StringTokenizer; public class Main { //Fast Reader private static class FastReader { BufferedReader br; StringTokenizer st; public FastReader() { br = new BufferedReader(new InputStreamReader(System.in)); } public String next() { while (st == null || !st.hasMoreElements()) { try { st = new StringTokenizer(br.readLine()); } catch (IOException e) { e.printStackTrace(); } } return st.nextToken(); } public void resetST() { st = null; } public int nextInt() { return Integer.parseInt(next()); } public long nextLong() { return Long.parseLong(next()); } public double nextDouble() { return Double.parseDouble(next()); } public float nextFloat() { return Float.parseFloat(next()); } public String nextLine() { String str = ""; try { str = br.readLine(); } catch (IOException e) { e.printStackTrace(); } st = null; return str; } public int[] nextIntArray(int size) { int[] arr = new int[size]; for (int i = 0; i < size; i++) { arr[i] = nextInt(); } return arr; } public long[] nextLongArray(int size) { long[] arr = new long[size]; for (int i = 0; i < size; i++) { arr[i] = nextLong(); } return arr; } public double[] nextDoubleArray(int size) { double[] arr = new double[size]; for (int i = 0; i < size; i++) { arr[i] = nextDouble(); } return arr; } } public static void main(String[] args) { FastReader sc =new FastReader(); PrintWriter pr =new PrintWriter(System.out); int n=sc.nextInt(); int ac=0; int wa=0; int re=0; int tle=0; for (int i=0;i<n;i++) { String s=sc.nextLine(); if(s.equals("AC")) ac+=1; else if(s.equals("WA")) wa+=1; else if(s.equals("TLE")) tle++; else if(s.equals("RE")) re++; } pr.println("AC x "+ac); pr.println("WA x "+wa); pr.println("TLE x "+tle); pr.println("RE x "+re); pr.close(); // write your code here } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 122, 5 ], [ 122, 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 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 8, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 6, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "import java.util.*;\n \npublic class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] cnt = new int[4];\n \n for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }\n System.out.println(\"AC x \"+cnt[0]);\n System.out.println(\"WA x \"+cnt[1]);\n System.out.println(\"TLE x \"+cnt[2]);\n System.out.println(\"RE x \"+cnt[3]);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] cnt = new int[4];\n \n for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }\n System.out.println(\"AC x \"+cnt[0]);\n System.out.println(\"WA x \"+cnt[1]);\n System.out.println(\"TLE x \"+cnt[2]);\n System.out.println(\"RE x \"+cnt[3]);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] cnt = new int[4];\n \n for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }\n System.out.println(\"AC x \"+cnt[0]);\n System.out.println(\"WA x \"+cnt[1]);\n System.out.println(\"TLE x \"+cnt[2]);\n System.out.println(\"RE x \"+cnt[3]);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] cnt = new int[4];\n \n for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }\n System.out.println(\"AC x \"+cnt[0]);\n System.out.println(\"WA x \"+cnt[1]);\n System.out.println(\"TLE x \"+cnt[2]);\n System.out.println(\"RE x \"+cnt[3]);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int[] cnt = new int[4];", "cnt", "new int[4]", "4", "for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }", "{\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }", "String str = sc.next();", "str", "sc.next()", "sc.next", "sc", "if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "{\n cnt[0]++;\n }", "cnt[0]++", "cnt[0]", "cnt", "0", "if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "{\n cnt[1]++;\n }", "cnt[1]++", "cnt[1]", "cnt", "1", "if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "{\n cnt[2]++;\n }", "cnt[2]++", "cnt[2]", "cnt", "2", "if(str.equals(\"RE\")){\n cnt[3]++;\n }", "str.equals(\"RE\")", "str.equals", "str", "\"RE\"", "{\n cnt[3]++;\n }", "cnt[3]++", "cnt[3]", "cnt", "3", "System.out.println(\"AC x \"+cnt[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+cnt[0]", "\"AC x \"", "cnt[0]", "cnt", "0", "System.out.println(\"WA x \"+cnt[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+cnt[1]", "\"WA x \"", "cnt[1]", "cnt", "1", "System.out.println(\"TLE x \"+cnt[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+cnt[2]", "\"TLE x \"", "cnt[2]", "cnt", "2", "System.out.println(\"RE x \"+cnt[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+cnt[3]", "\"RE x \"", "cnt[3]", "cnt", "3", "String[] args", "args", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] cnt = new int[4];\n \n for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }\n System.out.println(\"AC x \"+cnt[0]);\n System.out.println(\"WA x \"+cnt[1]);\n System.out.println(\"TLE x \"+cnt[2]);\n System.out.println(\"RE x \"+cnt[3]);\n }\n}", "public class Main {\n public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n int[] cnt = new int[4];\n \n for(int i=0; i<N; i++){\n String str = sc.next();\n if(str.equals(\"AC\")){\n cnt[0]++;\n }else if(str.equals(\"WA\")){\n cnt[1]++;\n }else if(str.equals(\"TLE\")){\n cnt[2]++;\n }else if(str.equals(\"RE\")){\n cnt[3]++;\n }\n }\n System.out.println(\"AC x \"+cnt[0]);\n System.out.println(\"WA x \"+cnt[1]);\n System.out.println(\"TLE x \"+cnt[2]);\n System.out.println(\"RE x \"+cnt[3]);\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[] cnt = new int[4]; for(int i=0; i<N; i++){ String str = sc.next(); if(str.equals("AC")){ cnt[0]++; }else if(str.equals("WA")){ cnt[1]++; }else if(str.equals("TLE")){ cnt[2]++; }else if(str.equals("RE")){ cnt[3]++; } } System.out.println("AC x "+cnt[0]); System.out.println("WA x "+cnt[1]); System.out.println("TLE x "+cnt[2]); System.out.println("RE x "+cnt[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 109, 5 ], [ 109, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 53, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 69, 70 ], [ 63, 71 ], [ 71, 72 ], [ 72, 73 ], [ 8, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 74, 79 ], [ 79, 80 ], [ 79, 81 ], [ 8, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 6, 106 ], [ 106, 107 ], [ 0, 108 ], [ 108, 109 ], [ 108, 110 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint count1 = 0;\n\t\tint count2 = 0;\n\t\tint count3 = 0;\n\t\tint count4 = 0;\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+count1);\n\t\tSystem.out.println(\"WA x \"+count2);\n\t\tSystem.out.println(\"TLE x \"+count3);\n\t\tSystem.out.println(\"RE x \"+count4);\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 scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint count1 = 0;\n\t\tint count2 = 0;\n\t\tint count3 = 0;\n\t\tint count4 = 0;\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+count1);\n\t\tSystem.out.println(\"WA x \"+count2);\n\t\tSystem.out.println(\"TLE x \"+count3);\n\t\tSystem.out.println(\"RE x \"+count4);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint count1 = 0;\n\t\tint count2 = 0;\n\t\tint count3 = 0;\n\t\tint count4 = 0;\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+count1);\n\t\tSystem.out.println(\"WA x \"+count2);\n\t\tSystem.out.println(\"TLE x \"+count3);\n\t\tSystem.out.println(\"RE x \"+count4);\n\t}", "main", "{\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint count1 = 0;\n\t\tint count2 = 0;\n\t\tint count3 = 0;\n\t\tint count4 = 0;\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+count1);\n\t\tSystem.out.println(\"WA x \"+count2);\n\t\tSystem.out.println(\"TLE x \"+count3);\n\t\tSystem.out.println(\"RE x \"+count4);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int N = scan.nextInt();", "N", "scan.nextInt()", "scan.nextInt", "scan", "int count1 = 0;", "count1", "0", "int count2 = 0;", "count2", "0", "int count3 = 0;", "count3", "0", "int count4 = 0;", "count4", "0", "for(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}", "{\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}", "String C = scan.next();", "C", "scan.next()", "scan.next", "scan", "if(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}", "C.contentEquals(\"AC\")", "C.contentEquals", "C", "\"AC\"", "{\n\t\t\t\tcount1++;\n\t\t\t}", "count1++", "count1", "if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}", "C.contentEquals(\"WA\")", "C.contentEquals", "C", "\"WA\"", "{\n\t\t\t\tcount2++;\n\t\t\t}", "count2++", "count2", "if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}", "C.contentEquals(\"TLE\")", "C.contentEquals", "C", "\"TLE\"", "{\n\t\t\t\tcount3++;\n\t\t\t}", "count3++", "count3", "{\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}", "count4++", "count4", "System.out.println(\"AC x \"+count1)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+count1", "\"AC x \"", "count1", "System.out.println(\"WA x \"+count2)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+count2", "\"WA x \"", "count2", "System.out.println(\"TLE x \"+count3)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+count3", "\"TLE x \"", "count3", "System.out.println(\"RE x \"+count4)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+count4", "\"RE x \"", "count4", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint count1 = 0;\n\t\tint count2 = 0;\n\t\tint count3 = 0;\n\t\tint count4 = 0;\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+count1);\n\t\tSystem.out.println(\"WA x \"+count2);\n\t\tSystem.out.println(\"TLE x \"+count3);\n\t\tSystem.out.println(\"RE x \"+count4);\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\t// TODO 自動生成されたメソッド・スタブ\n\n\t\tScanner scan = new Scanner(System.in);\n\t\tint N = scan.nextInt();\n\t\tint count1 = 0;\n\t\tint count2 = 0;\n\t\tint count3 = 0;\n\t\tint count4 = 0;\n\t\t\n\t\tfor(int i = 0; i < N; i++) {\n\t\t\t String C = scan.next();\n\t\t\tif(C.contentEquals(\"AC\")) {\n\t\t\t\tcount1++;\n\t\t\t}else if(C.contentEquals(\"WA\")) {\n\t\t\t\tcount2++;\n\t\t\t}else if(C.contentEquals(\"TLE\")){\n\t\t\t\tcount3++;\n\t\t\t}else {\n\t\t\t\tcount4++;\n\t\t\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+count1);\n\t\tSystem.out.println(\"WA x \"+count2);\n\t\tSystem.out.println(\"TLE x \"+count3);\n\t\tSystem.out.println(\"RE x \"+count4);\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { // TODO 自動生成されたメソッド・スタブ Scanner scan = new Scanner(System.in); int N = scan.nextInt(); int count1 = 0; int count2 = 0; int count3 = 0; int count4 = 0; for(int i = 0; i < N; i++) { String C = scan.next(); if(C.contentEquals("AC")) { count1++; }else if(C.contentEquals("WA")) { count2++; }else if(C.contentEquals("TLE")){ count3++; }else { count4++; } } System.out.println("AC x "+count1); System.out.println("WA x "+count2); System.out.println("TLE x "+count3); System.out.println("RE x "+count4); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 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, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 35, 4, 18, 13, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 4, 18, 13, 17, 18, 13, 17, 18, 13, 17, 18, 13, 17, 18, 13, 17, 23, 13, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 17, 41, 13, 41, 13, 12, 13, 30, 0, 18, 36, 13, 13, 0, 18, 36, 13, 17, 0, 18, 36, 13, 17, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 14, 2, 13, 40, 17, 37, 20, 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, 29, 2, 2, 13, 17, 2, 13, 17, 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, 12, 13, 30, 41, 13, 20, 41, 13, 4, 13, 42, 40, 4, 13, 13, 0, 13, 4, 13, 42, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 41, 13, 17, 41, 13, 4, 13, 42, 4, 13, 13, 0, 13, 4, 13, 41, 13, 2, 13, 17, 14, 13, 0, 13, 4, 13, 42, 2, 2, 13, 17, 2, 13, 17, 30, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 14, 40, 4, 13, 13, 37, 20, 29, 8, 13, 40, 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 ], [ 356, 23 ], [ 356, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 29, 31 ], [ 26, 32 ], [ 32, 33 ], [ 32, 34 ], [ 34, 35 ], [ 34, 36 ], [ 26, 37 ], [ 37, 38 ], [ 37, 39 ], [ 26, 40 ], [ 40, 41 ], [ 40, 42 ], [ 26, 43 ], [ 43, 44 ], [ 43, 45 ], [ 26, 46 ], [ 46, 47 ], [ 47, 48 ], [ 46, 49 ], [ 46, 50 ], [ 46, 51 ], [ 26, 52 ], [ 52, 53 ], [ 53, 54 ], [ 24, 55 ], [ 55, 56 ], [ 356, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 59, 61 ], [ 61, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 61, 67 ], [ 67, 68 ], [ 67, 69 ], [ 61, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 71, 76 ], [ 76, 77 ], [ 76, 78 ], [ 71, 79 ], [ 79, 80 ], [ 80, 81 ], [ 71, 82 ], [ 83, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 84, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 84, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 84, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 84, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 116, 118 ], [ 114, 119 ], [ 61, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 120, 124 ], [ 124, 125 ], [ 124, 126 ], [ 120, 127 ], [ 127, 128 ], [ 127, 129 ], [ 120, 130 ], [ 130, 131 ], [ 130, 132 ], [ 120, 133 ], [ 133, 134 ], [ 133, 135 ], [ 59, 136 ], [ 136, 137 ], [ 59, 138 ], [ 138, 139 ], [ 59, 140 ], [ 140, 141 ], [ 356, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 142, 146 ], [ 146, 147 ], [ 146, 148 ], [ 142, 150 ], [ 150, 151 ], [ 142, 152 ], [ 152, 153 ], [ 142, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 156, 162 ], [ 162, 163 ], [ 163, 164 ], [ 163, 165 ], [ 162, 166 ], [ 156, 167 ], [ 167, 168 ], [ 168, 169 ], [ 168, 170 ], [ 167, 171 ], [ 154, 172 ], [ 172, 173 ], [ 142, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 178, 180 ], [ 177, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 185, 186 ], [ 182, 187 ], [ 187, 188 ], [ 181, 189 ], [ 189, 190 ], [ 189, 191 ], [ 181, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 196, 197 ], [ 192, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 201, 202 ], [ 202, 203 ], [ 201, 204 ], [ 181, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 205, 209 ], [ 209, 210 ], [ 210, 211 ], [ 176, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 215, 216 ], [ 142, 217 ], [ 217, 218 ], [ 217, 219 ], [ 219, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 222, 224 ], [ 221, 225 ], [ 225, 226 ], [ 225, 227 ], [ 217, 228 ], [ 228, 229 ], [ 142, 230 ], [ 230, 231 ], [ 230, 232 ], [ 232, 233 ], [ 233, 234 ], [ 237, 235 ], [ 247, 236 ], [ 244, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 237, 241 ], [ 241, 242 ], [ 241, 243 ], [ 244, 244 ], [ 244, 245 ], [ 244, 246 ], [ 247, 247 ], [ 247, 248 ], [ 247, 249 ], [ 237, 250 ], [ 250, 251 ], [ 250, 252 ], [ 252, 253 ], [ 230, 254 ], [ 254, 255 ], [ 142, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 259, 261 ], [ 258, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 258, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 268, 270 ], [ 266, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 258, 275 ], [ 275, 276 ], [ 276, 277 ], [ 276, 278 ], [ 275, 279 ], [ 279, 280 ], [ 280, 281 ], [ 281, 282 ], [ 280, 283 ], [ 279, 284 ], [ 284, 285 ], [ 284, 286 ], [ 286, 287 ], [ 258, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 142, 292 ], [ 292, 293 ], [ 292, 294 ], [ 294, 295 ], [ 295, 296 ], [ 295, 297 ], [ 294, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 294, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 302, 306 ], [ 306, 307 ], [ 306, 308 ], [ 308, 309 ], [ 294, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 312, 314 ], [ 294, 315 ], [ 315, 316 ], [ 315, 317 ], [ 317, 318 ], [ 317, 319 ], [ 319, 320 ], [ 294, 321 ], [ 321, 322 ], [ 322, 323 ], [ 323, 324 ], [ 323, 325 ], [ 322, 326 ], [ 326, 327 ], [ 326, 328 ], [ 321, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 329, 333 ], [ 333, 334 ], [ 333, 335 ], [ 335, 336 ], [ 335, 337 ], [ 329, 338 ], [ 338, 339 ], [ 338, 340 ], [ 340, 341 ], [ 294, 342 ], [ 342, 343 ], [ 343, 344 ], [ 344, 345 ], [ 344, 346 ], [ 342, 347 ], [ 347, 348 ], [ 294, 349 ], [ 349, 350 ], [ 350, 351 ], [ 350, 352 ], [ 352, 353 ], [ 350, 354 ], [ 0, 355 ], [ 355, 356 ], [ 355, 357 ] ]
[ "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;\n\n/**\n * Built using CHelper plug-in\n * Actual solution is at the top\n */\npublic class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n private static boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n public int nextInt() {\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : 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", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n private static boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n public int nextInt() {\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : n;\n }\n\n }\n}", "Main", "public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\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", "FastScanner in = new FastScanner(inputStream);", "in", "new FastScanner(inputStream)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "TaskB solver = new TaskB();", "solver", "new TaskB()", "solver.solve(1, in, out)", "solver.solve", "solver", "1", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }\n\n }", "TaskB", "public void solve(int testNumber, FastScanner in, PrintWriter out) {\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }", "solve", "{\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "int[] c = new int[4];", "c", "new int[4]", "4", "for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }", "{\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }", "switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }", "in.next()", "in.next", "in", "case \"AC\":", "\"AC\"", "case \"AC\":", "c[0]++", "c[0]", "c", "0", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "c[1]++", "c[1]", "c", "1", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "c[2]++", "c[2]", "c", "2", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "c[3]++", "c[3]", "c", "3", "break;", "out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3])", "out.printf", "out", "\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\"", "c[0]", "c", "0", "c[1]", "c", "1", "c[2]", "c", "2", "c[3]", "c", "3", "int testNumber", "testNumber", "FastScanner in", "in", "PrintWriter out", "out", "static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n private static boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n public int nextInt() {\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : n;\n }\n\n }", "FastScanner", "private InputStream in;", "in", "private byte[] buffer = new byte[1024];", "buffer", "new byte[1024]", "1024", "private int bufPointer;", "bufPointer", "private int bufLength;", "bufLength", "public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }", "FastScanner", "{\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }", "this.in = in", "this.in", "this", "this.in", "in", "this.bufPointer = 0", "this.bufPointer", "this", "this.bufPointer", "0", "this.bufLength = 0", "this.bufLength", "this", "this.bufLength", "0", "InputStream in", "in", "private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }", "readByte", "{\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }", "if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }", "bufPointer >= bufLength", "bufPointer", "bufLength", "{\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }", "if (bufLength == -1)\n throw new InputMismatchException();", "bufLength == -1", "bufLength", "-1", "1", "throw new InputMismatchException();", "new InputMismatchException()", "bufPointer = 0", "bufPointer", "0", "try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }", "catch (IOException e) {\n throw new InputMismatchException();\n }", "IOException e", "{\n throw new InputMismatchException();\n }", "throw new InputMismatchException();", "new InputMismatchException()", "{\n bufLength = in.read(buffer);\n }", "bufLength = in.read(buffer)", "bufLength", "in.read(buffer)", "in.read", "in", "buffer", "if (bufLength <= 0)\n return -1;", "bufLength <= 0", "bufLength", "0", "return -1;", "-1", "1", "return buffer[bufPointer++];", "buffer[bufPointer++]", "buffer", "bufPointer++", "bufPointer", "private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }", "isPrintableChar", "{\n return c >= 33 && c <= 126;\n }", "return c >= 33 && c <= 126;", "c >= 33 && c <= 126", "c >= 33", "c", "33", "c <= 126", "c", "126", "int c", "c", "private static 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", "public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }", "next", "{\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "int b = readByte();", "b", "readByte()", "readByte", "while (!isPrintableChar(b))\n b = readByte();", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "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 int nextInt() {\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : n;\n }", "nextInt", "{\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : n;\n }", "int n = 0;", "n", "0", "int b = readByte();", "b", "readByte()", "readByte", "while (isSpaceChar(b))\n b = readByte();", "isSpaceChar(b)", "isSpaceChar", "b", "b = readByte()", "b", "readByte()", "readByte", "boolean minus = (b == '-');", "minus", "(b == '-')", "b", "'-'", "if (minus)\n b = readByte();", "minus", "b = readByte()", "b", "readByte()", "readByte", "while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }", "b >= '0' && b <= '9'", "b >= '0'", "b", "'0'", "b <= '9'", "b", "'9'", "{\n n *= 10;\n n += b - '0';\n b = readByte();\n }", "n *= 10", "n", "10", "n += b - '0'", "n", "b - '0'", "b", "'0'", "b = readByte()", "b", "readByte()", "readByte", "if (!isSpaceChar(b))\n throw new NumberFormatException();", "!isSpaceChar(b)", "isSpaceChar(b)", "isSpaceChar", "b", "throw new NumberFormatException();", "new NumberFormatException()", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "public class Main {\n public static void main(String[] args) {\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n private static boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n public int nextInt() {\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : 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 FastScanner in = new FastScanner(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(1, in, out);\n out.close();\n }\n\n static class TaskB {\n public void solve(int testNumber, FastScanner in, PrintWriter out) {\n int N = in.nextInt();\n int[] c = new int[4];\n for (int i = 0; i < N; i++) {\n switch (in.next()) {\n case \"AC\":\n c[0]++;\n break;\n case \"WA\":\n c[1]++;\n break;\n case \"TLE\":\n c[2]++;\n break;\n case \"RE\":\n c[3]++;\n break;\n }\n }\n out.printf(\"AC x %d\\nWA x %d\\nTLE x %d\\nRE x %d\\n\", c[0], c[1], c[2], c[3]);\n }\n\n }\n\n static class FastScanner {\n private InputStream in;\n private byte[] buffer = new byte[1024];\n private int bufPointer;\n private int bufLength;\n\n public FastScanner(InputStream in) {\n this.in = in;\n this.bufPointer = 0;\n this.bufLength = 0;\n }\n\n private int readByte() {\n if (bufPointer >= bufLength) {\n if (bufLength == -1)\n throw new InputMismatchException();\n\n bufPointer = 0;\n try {\n bufLength = in.read(buffer);\n } catch (IOException e) {\n throw new InputMismatchException();\n }\n\n if (bufLength <= 0)\n return -1;\n }\n return buffer[bufPointer++];\n }\n\n private static boolean isPrintableChar(int c) {\n return c >= 33 && c <= 126;\n }\n\n private static boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public String next() {\n StringBuilder sb = new StringBuilder();\n\n int b = readByte();\n while (!isPrintableChar(b))\n b = readByte();\n\n while (isPrintableChar(b)) {\n sb.appendCodePoint(b);\n b = readByte();\n }\n\n return sb.toString();\n }\n\n public int nextInt() {\n int n = 0;\n\n int b = readByte();\n while (isSpaceChar(b))\n b = readByte();\n\n boolean minus = (b == '-');\n if (minus)\n b = readByte();\n\n while (b >= '0' && b <= '9') {\n n *= 10;\n n += b - '0';\n b = readByte();\n }\n\n if (!isSpaceChar(b))\n throw new NumberFormatException();\n\n return minus ? -n : 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; /** * Built using CHelper plug-in * Actual solution is at the top */ public class Main { public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; FastScanner in = new FastScanner(inputStream); PrintWriter out = new PrintWriter(outputStream); TaskB solver = new TaskB(); solver.solve(1, in, out); out.close(); } static class TaskB { public void solve(int testNumber, FastScanner in, PrintWriter out) { int N = in.nextInt(); int[] c = new int[4]; for (int i = 0; i < N; i++) { switch (in.next()) { case "AC": c[0]++; break; case "WA": c[1]++; break; case "TLE": c[2]++; break; case "RE": c[3]++; break; } } out.printf("AC x %d\nWA x %d\nTLE x %d\nRE x %d\n", c[0], c[1], c[2], c[3]); } } static class FastScanner { private InputStream in; private byte[] buffer = new byte[1024]; private int bufPointer; private int bufLength; public FastScanner(InputStream in) { this.in = in; this.bufPointer = 0; this.bufLength = 0; } private int readByte() { if (bufPointer >= bufLength) { if (bufLength == -1) throw new InputMismatchException(); bufPointer = 0; try { bufLength = in.read(buffer); } catch (IOException e) { throw new InputMismatchException(); } if (bufLength <= 0) return -1; } return buffer[bufPointer++]; } private static boolean isPrintableChar(int c) { return c >= 33 && c <= 126; } private static boolean isSpaceChar(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public String next() { StringBuilder sb = new StringBuilder(); int b = readByte(); while (!isPrintableChar(b)) b = readByte(); while (isPrintableChar(b)) { sb.appendCodePoint(b); b = readByte(); } return sb.toString(); } public int nextInt() { int n = 0; int b = readByte(); while (isSpaceChar(b)) b = readByte(); boolean minus = (b == '-'); if (minus) b = readByte(); while (b >= '0' && b <= '9') { n *= 10; n += b - '0'; b = readByte(); } if (!isSpaceChar(b)) throw new NumberFormatException(); return minus ? -n : n; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 122, 5 ], [ 122, 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 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 39, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 39, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 69, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 8, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 84, 85 ], [ 84, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 106, 107 ], [ 106, 108 ], [ 8, 109 ], [ 109, 110 ], [ 110, 111 ], [ 111, 112 ], [ 111, 113 ], [ 109, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 116, 118 ], [ 6, 119 ], [ 119, 120 ], [ 0, 121 ], [ 121, 122 ], [ 121, 123 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] res = new int[4];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(\"AC x \" + res[0]);\n\t\tSystem.out.println(\"WA x \" + res[1]);\n\t\tSystem.out.println(\"TLE x \" + res[2]);\n\t\tSystem.out.println(\"RE x \" + res[3]);\n\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] res = new int[4];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(\"AC x \" + res[0]);\n\t\tSystem.out.println(\"WA x \" + res[1]);\n\t\tSystem.out.println(\"TLE x \" + res[2]);\n\t\tSystem.out.println(\"RE x \" + res[3]);\n\n\t}\n}", "Main", "public static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] res = new int[4];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(\"AC x \" + res[0]);\n\t\tSystem.out.println(\"WA x \" + res[1]);\n\t\tSystem.out.println(\"TLE x \" + res[2]);\n\t\tSystem.out.println(\"RE x \" + res[3]);\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] res = new int[4];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(\"AC x \" + res[0]);\n\t\tSystem.out.println(\"WA x \" + res[1]);\n\t\tSystem.out.println(\"TLE x \" + res[2]);\n\t\tSystem.out.println(\"RE x \" + res[3]);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "int[] res = new int[4];", "res", "new int[4]", "4", "for (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}", "{\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}", "String tmp = sc.next();", "tmp", "sc.next()", "sc.next", "sc", "if (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}", "tmp.equals(\"AC\")", "tmp.equals", "tmp", "\"AC\"", "{\n\t\t\t\tres[0]++;\n\t\t\t}", "res[0]++", "res[0]", "res", "0", "if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}", "tmp.equals(\"WA\")", "tmp.equals", "tmp", "\"WA\"", "{\n\t\t\t\tres[1]++;\n\t\t\t}", "res[1]++", "res[1]", "res", "1", "if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}", "tmp.equals(\"TLE\")", "tmp.equals", "tmp", "\"TLE\"", "{\n\t\t\t\tres[2]++;\n\t\t\t}", "res[2]++", "res[2]", "res", "2", "if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}", "tmp.equals(\"RE\")", "tmp.equals", "tmp", "\"RE\"", "{\n\t\t\t\tres[3]++;\n\t\t\t}", "res[3]++", "res[3]", "res", "3", "System.out.println(\"AC x \" + res[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + res[0]", "\"AC x \"", "res[0]", "res", "0", "System.out.println(\"WA x \" + res[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + res[1]", "\"WA x \"", "res[1]", "res", "1", "System.out.println(\"TLE x \" + res[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + res[2]", "\"TLE x \"", "res[2]", "res", "2", "System.out.println(\"RE x \" + res[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + res[3]", "\"RE x \"", "res[3]", "res", "3", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] res = new int[4];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(\"AC x \" + res[0]);\n\t\tSystem.out.println(\"WA x \" + res[1]);\n\t\tSystem.out.println(\"TLE x \" + res[2]);\n\t\tSystem.out.println(\"RE x \" + res[3]);\n\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args) throws Exception {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tint[] res = new int[4];\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tString tmp = sc.next();\n\t\t\tif (tmp.equals(\"AC\")) {\n\t\t\t\tres[0]++;\n\t\t\t} else if (tmp.equals(\"WA\")) {\n\t\t\t\tres[1]++;\n\t\t\t} else if (tmp.equals(\"TLE\")) {\n\t\t\t\tres[2]++;\n\t\t\t} else if (tmp.equals(\"RE\")) {\n\t\t\t\tres[3]++;\n\t\t\t}\n\n\t\t}\n\t\tSystem.out.println(\"AC x \" + res[0]);\n\t\tSystem.out.println(\"WA x \" + res[1]);\n\t\tSystem.out.println(\"TLE x \" + res[2]);\n\t\tSystem.out.println(\"RE x \" + res[3]);\n\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); int[] res = new int[4]; for (int i = 0; i < N; i++) { String tmp = sc.next(); if (tmp.equals("AC")) { res[0]++; } else if (tmp.equals("WA")) { res[1]++; } else if (tmp.equals("TLE")) { res[2]++; } else if (tmp.equals("RE")) { res[3]++; } } System.out.println("AC x " + res[0]); System.out.println("WA x " + res[1]); System.out.println("TLE x " + res[2]); System.out.println("RE x " + res[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 103, 5 ], [ 103, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 30, 33 ], [ 29, 34 ], [ 34, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 38, 39 ], [ 34, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 41, 44 ], [ 40, 45 ], [ 45, 46 ], [ 34, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 34, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 34, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 8, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 70, 72 ], [ 68, 73 ], [ 73, 74 ], [ 73, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 6, 100 ], [ 100, 101 ], [ 0, 102 ], [ 102, 103 ], [ 102, 104 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint countAC = 0;\n\t\tint countWA = 0;\n\t\tint countTLE = 0;\n\t\tint countRE = 0;\n\t\twhile(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ countAC);\n\t\tSystem.out.println(\"WA x \"+ countWA);\n\t\tSystem.out.println(\"TLE x \"+ countTLE);\n\t\tSystem.out.println(\"RE x \"+ countRE);\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint countAC = 0;\n\t\tint countWA = 0;\n\t\tint countTLE = 0;\n\t\tint countRE = 0;\n\t\twhile(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ countAC);\n\t\tSystem.out.println(\"WA x \"+ countWA);\n\t\tSystem.out.println(\"TLE x \"+ countTLE);\n\t\tSystem.out.println(\"RE x \"+ countRE);\n\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\tint countAC = 0;\n\t\tint countWA = 0;\n\t\tint countTLE = 0;\n\t\tint countRE = 0;\n\t\twhile(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ countAC);\n\t\tSystem.out.println(\"WA x \"+ countWA);\n\t\tSystem.out.println(\"TLE x \"+ countTLE);\n\t\tSystem.out.println(\"RE x \"+ countRE);\n\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint countAC = 0;\n\t\tint countWA = 0;\n\t\tint countTLE = 0;\n\t\tint countRE = 0;\n\t\twhile(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ countAC);\n\t\tSystem.out.println(\"WA x \"+ countWA);\n\t\tSystem.out.println(\"TLE x \"+ countTLE);\n\t\tSystem.out.println(\"RE x \"+ countRE);\n\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int countAC = 0;", "countAC", "0", "int countWA = 0;", "countWA", "0", "int countTLE = 0;", "countTLE", "0", "int countRE = 0;", "countRE", "0", "while(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}", "n-->=0", "n--", "n", "0", "{\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}", "String curr = sc.nextLine();", "curr", "sc.nextLine()", "sc.nextLine", "sc", "if(curr.equals(\"AC\")) countAC++;", "curr.equals(\"AC\")", "curr.equals", "curr", "\"AC\"", "countAC++", "countAC", "if(curr.equals(\"WA\")) countWA++;", "curr.equals(\"WA\")", "curr.equals", "curr", "\"WA\"", "countWA++", "countWA", "if(curr.equals(\"TLE\")) countTLE++;", "curr.equals(\"TLE\")", "curr.equals", "curr", "\"TLE\"", "countTLE++", "countTLE", "if(curr.equals(\"RE\")) countRE++;", "curr.equals(\"RE\")", "curr.equals", "curr", "\"RE\"", "countRE++", "countRE", "System.out.println(\"AC x \"+ countAC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ countAC", "\"AC x \"", "countAC", "System.out.println(\"WA x \"+ countWA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+ countWA", "\"WA x \"", "countWA", "System.out.println(\"TLE x \"+ countTLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+ countTLE", "\"TLE x \"", "countTLE", "System.out.println(\"RE x \"+ countRE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+ countRE", "\"RE x \"", "countRE", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint countAC = 0;\n\t\tint countWA = 0;\n\t\tint countTLE = 0;\n\t\tint countRE = 0;\n\t\twhile(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ countAC);\n\t\tSystem.out.println(\"WA x \"+ countWA);\n\t\tSystem.out.println(\"TLE x \"+ countTLE);\n\t\tSystem.out.println(\"RE x \"+ countRE);\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\t\tint n = sc.nextInt();\n\t\tint countAC = 0;\n\t\tint countWA = 0;\n\t\tint countTLE = 0;\n\t\tint countRE = 0;\n\t\twhile(n-->=0) {\n\t\t\tString curr = sc.nextLine();\n\t\t\tif(curr.equals(\"AC\")) countAC++;\n\t\t\tif(curr.equals(\"WA\")) countWA++;\n\t\t\tif(curr.equals(\"TLE\")) countTLE++;\n\t\t\tif(curr.equals(\"RE\")) countRE++;\n\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ countAC);\n\t\tSystem.out.println(\"WA x \"+ countWA);\n\t\tSystem.out.println(\"TLE x \"+ countTLE);\n\t\tSystem.out.println(\"RE x \"+ countRE);\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int countAC = 0; int countWA = 0; int countTLE = 0; int countRE = 0; while(n-->=0) { String curr = sc.nextLine(); if(curr.equals("AC")) countAC++; if(curr.equals("WA")) countWA++; if(curr.equals("TLE")) countTLE++; if(curr.equals("RE")) countRE++; } System.out.println("AC x "+ countAC); System.out.println("WA x "+ countWA); System.out.println("TLE x "+ countTLE); System.out.println("RE x "+ countRE); } }
[ 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, 18, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 143, 5 ], [ 143, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 23, 25 ], [ 21, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 21, 31 ], [ 31, 32 ], [ 32, 33 ], [ 21, 34 ], [ 35, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 36, 40 ], [ 40, 41 ], [ 41, 42 ], [ 8, 43 ], [ 43, 44 ], [ 43, 45 ], [ 8, 46 ], [ 46, 47 ], [ 46, 48 ], [ 8, 49 ], [ 49, 50 ], [ 49, 51 ], [ 8, 52 ], [ 52, 53 ], [ 52, 54 ], [ 8, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 68, 75 ], [ 75, 76 ], [ 76, 77 ], [ 68, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 81, 82 ], [ 81, 83 ], [ 79, 84 ], [ 78, 85 ], [ 85, 86 ], [ 86, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 88, 95 ], [ 95, 96 ], [ 96, 97 ], [ 88, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 98, 105 ], [ 105, 106 ], [ 106, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 8, 116 ], [ 116, 117 ], [ 117, 118 ], [ 118, 119 ], [ 118, 120 ], [ 116, 121 ], [ 121, 122 ], [ 121, 123 ], [ 8, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 124, 129 ], [ 129, 130 ], [ 129, 131 ], [ 8, 132 ], [ 132, 133 ], [ 133, 134 ], [ 134, 135 ], [ 134, 136 ], [ 132, 137 ], [ 137, 138 ], [ 137, 139 ], [ 6, 140 ], [ 140, 141 ], [ 0, 142 ], [ 142, 143 ], [ 142, 144 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint A = scan.nextInt();\n\t\tString[] array = new String[A];\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\n\t\tfor (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \"+AC);\n\t\tSystem.out.println(\"WA x \"+WA);\n\t\tSystem.out.println(\"TLE x \"+TLE);\n\t\tSystem.out.println(\"RE x \"+RE);\n\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint A = scan.nextInt();\n\t\tString[] array = new String[A];\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\n\t\tfor (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \"+AC);\n\t\tSystem.out.println(\"WA x \"+WA);\n\t\tSystem.out.println(\"TLE x \"+TLE);\n\t\tSystem.out.println(\"RE x \"+RE);\n\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint A = scan.nextInt();\n\t\tString[] array = new String[A];\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\n\t\tfor (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \"+AC);\n\t\tSystem.out.println(\"WA x \"+WA);\n\t\tSystem.out.println(\"TLE x \"+TLE);\n\t\tSystem.out.println(\"RE x \"+RE);\n\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint A = scan.nextInt();\n\t\tString[] array = new String[A];\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\n\t\tfor (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \"+AC);\n\t\tSystem.out.println(\"WA x \"+WA);\n\t\tSystem.out.println(\"TLE x \"+TLE);\n\t\tSystem.out.println(\"RE x \"+RE);\n\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int A = scan.nextInt();", "A", "scan.nextInt()", "scan.nextInt", "scan", "String[] array = new String[A];", "array", "new String[A]", "A", "for (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\tarray[i] = scan.next();\n\t\t}", "{\n\t\t\tarray[i] = scan.next();\n\t\t}", "array[i] = scan.next()", "array[i]", "array", "i", "scan.next()", "scan.next", "scan", "int AC = 0;", "AC", "0", "int WA = 0;", "WA", "0", "int TLE = 0;", "TLE", "0", "int RE = 0;", "RE", "0", "for (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}", "int j = 0;", "int j = 0;", "j", "0", "j < A", "j", "A", "j++", "j++", "j", "{\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}", "if (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}", "array[j].equals(\"AC\")", "array[j].equals", "array[j]", "array", "j", "\"AC\"", "{\n\t\t\t\tAC++;\n\t\t\t}", "AC++", "AC", "if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}", "array[j].equals(\"WA\")", "array[j].equals", "array[j]", "array", "j", "\"WA\"", "{\n\t\t\t\tWA++;\n\t\t\t}", "WA++", "WA", "if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}", "array[j] .equals(\"TLE\")", "array[j] .equals", "array[j]", "array", "j", "\"TLE\"", "{\n\t\t\t\tTLE++;\n\t\t\t}", "TLE++", "TLE", "if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}", "array[j] .equals(\"RE\")", "array[j] .equals", "array[j]", "array", "j", "\"RE\"", "{\n\t\t\t\tRE++;\n\t\t\t}", "RE++", "RE", "System.out.println(\"AC x \"+AC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+AC", "\"AC x \"", "AC", "System.out.println(\"WA x \"+WA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+WA", "\"WA x \"", "WA", "System.out.println(\"TLE x \"+TLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+TLE", "\"TLE x \"", "TLE", "System.out.println(\"RE x \"+RE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+RE", "\"RE x \"", "RE", "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 A = scan.nextInt();\n\t\tString[] array = new String[A];\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\n\t\tfor (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \"+AC);\n\t\tSystem.out.println(\"WA x \"+WA);\n\t\tSystem.out.println(\"TLE x \"+TLE);\n\t\tSystem.out.println(\"RE x \"+RE);\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 A = scan.nextInt();\n\t\tString[] array = new String[A];\n\n\t\tfor (int i = 0; i < array.length; i++) {\n\t\t\tarray[i] = scan.next();\n\t\t}\n\n\t\tint AC = 0;\n\t\tint WA = 0;\n\t\tint TLE = 0;\n\t\tint RE = 0;\n\n\t\tfor (int j = 0; j < A; j++) {\n\t\t\tif (array[j].equals(\"AC\")) {\n\t\t\t\tAC++;\n\t\t\t} else if (array[j].equals(\"WA\")) {\n\t\t\t\tWA++;\n\t\t\t} else if (array[j] .equals(\"TLE\")) {\n\t\t\t\tTLE++;\n\t\t\t} else if (array[j] .equals(\"RE\")) {\n\t\t\t\tRE++;\n\t\t\t}\n\t\t}\n\n\t\tSystem.out.println(\"AC x \"+AC);\n\t\tSystem.out.println(\"WA x \"+WA);\n\t\tSystem.out.println(\"TLE x \"+TLE);\n\t\tSystem.out.println(\"RE x \"+RE);\n\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int A = scan.nextInt(); String[] array = new String[A]; for (int i = 0; i < array.length; i++) { array[i] = scan.next(); } int AC = 0; int WA = 0; int TLE = 0; int RE = 0; for (int j = 0; j < A; j++) { if (array[j].equals("AC")) { AC++; } else if (array[j].equals("WA")) { WA++; } else if (array[j] .equals("TLE")) { TLE++; } else if (array[j] .equals("RE")) { RE++; } } System.out.println("AC x "+AC); System.out.println("WA x "+WA); System.out.println("TLE x "+TLE); System.out.println("RE x "+RE); } }
[ 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, 17, 28, 13, 13, 30, 30, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 14, 4, 18, 13, 17, 30, 0, 18, 13, 17, 2, 18, 13, 17, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 18, 13, 13, 18, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 145, 5 ], [ 145, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 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, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 49, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 56, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 60, 64 ], [ 50, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 75, 79 ], [ 65, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 80, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 86, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 90, 94 ], [ 80, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 95, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 105, 109 ], [ 8, 110 ], [ 110, 111 ], [ 110, 112 ], [ 112, 113 ], [ 112, 114 ], [ 112, 115 ], [ 112, 116 ], [ 8, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 117, 125 ], [ 125, 126 ], [ 126, 127 ], [ 117, 128 ], [ 129, 129 ], [ 129, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 130, 135 ], [ 135, 136 ], [ 136, 137 ], [ 136, 138 ], [ 135, 139 ], [ 139, 140 ], [ 139, 141 ], [ 6, 142 ], [ 142, 143 ], [ 0, 144 ], [ 144, 145 ], [ 144, 146 ] ]
[ "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\n String[] list = new String[N];\n for(int i=0; i<N; i++){\n list[i] = sc.next();\n }\n int[] array = new int[4];\n for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }\n String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };\n for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\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\n String[] list = new String[N];\n for(int i=0; i<N; i++){\n list[i] = sc.next();\n }\n int[] array = new int[4];\n for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }\n String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };\n for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\n }\n }\n}", "Main", "public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n String[] list = new String[N];\n for(int i=0; i<N; i++){\n list[i] = sc.next();\n }\n int[] array = new int[4];\n for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }\n String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };\n for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\n }\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n String[] list = new String[N];\n for(int i=0; i<N; i++){\n list[i] = sc.next();\n }\n int[] array = new int[4];\n for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }\n String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };\n for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\n }\n }", "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", "for(int i=0; i<N; i++){\n list[i] = sc.next();\n }", "int i=0;", "int i=0;", "i", "0", "i<N", "i", "N", "i++", "i++", "i", "{\n list[i] = sc.next();\n }", "{\n list[i] = sc.next();\n }", "list[i] = sc.next()", "list[i]", "list", "i", "sc.next()", "sc.next", "sc", "int[] array = new int[4];", "array", "new int[4]", "4", "for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }", "String s", "list", "{\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }", "{\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }", "if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\n array[0] = array[0]+1;\n }", "array[0] = array[0]+1", "array[0]", "array", "0", "array[0]+1", "array[0]", "array", "0", "1", "if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\n array[1] = array[1]+1;\n }", "array[1] = array[1]+1", "array[1]", "array", "1", "array[1]+1", "array[1]", "array", "1", "1", "if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\n array[2] = array[2]+1;\n }", "array[2] = array[2]+1", "array[2]", "array", "2", "array[2]+1", "array[2]", "array", "2", "1", "if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "{\n array[3] = array[3]+1;\n }", "array[3] = array[3]+1", "array[3]", "array", "3", "array[3]+1", "array[3]", "array", "3", "1", "String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };", "ans", "{\"AC x \",\"WA x \",\"TLE x \",\"RE x \" }", "\"AC x \"", "\"WA x \"", "\"TLE x \"", "\"RE x \"", "for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\n }", "int i=0;", "int i=0;", "i", "0", "i<4", "i", "4", "i++", "i++", "i", "{\n System.out.println(ans[i] + array[i]);\n }", "{\n System.out.println(ans[i] + array[i]);\n }", "System.out.println(ans[i] + array[i])", "System.out.println", "System.out", "System", "System.out", "ans[i] + array[i]", "ans[i]", "ans", "i", "array[i]", "array", "i", "String args[]", "args", "public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n String[] list = new String[N];\n for(int i=0; i<N; i++){\n list[i] = sc.next();\n }\n int[] array = new int[4];\n for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }\n String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };\n for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\n }\n }\n}", "public class Main {\n public static void main(String args[]){\n Scanner sc = new Scanner(System.in);\n int N = sc.nextInt();\n\n String[] list = new String[N];\n for(int i=0; i<N; i++){\n list[i] = sc.next();\n }\n int[] array = new int[4];\n for(String s :list){\n if(s.equals(\"AC\")){\n array[0] = array[0]+1;\n }else if(s.equals(\"WA\")){\n array[1] = array[1]+1;\n }else if(s.equals(\"TLE\")){\n array[2] = array[2]+1;\n }else if(s.equals(\"RE\")){\n array[3] = array[3]+1;\n }\n }\n String[] ans = {\"AC x \",\"WA x \",\"TLE x \",\"RE x \" };\n for(int i=0;i<4; i++){\n System.out.println(ans[i] + array[i]);\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(); String[] list = new String[N]; for(int i=0; i<N; i++){ list[i] = sc.next(); } int[] array = new int[4]; for(String s :list){ if(s.equals("AC")){ array[0] = array[0]+1; }else if(s.equals("WA")){ array[1] = array[1]+1; }else if(s.equals("TLE")){ array[2] = array[2]+1; }else if(s.equals("RE")){ array[3] = array[3]+1; } } String[] ans = {"AC x ","WA x ","TLE x ","RE x " }; for(int i=0;i<4; i++){ System.out.println(ans[i] + array[i]); } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 13, 41, 13, 39, 17, 17, 17, 17, 41, 13, 39, 17, 17, 17, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 18, 13, 13, 30, 0, 18, 13, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 18, 13, 13, 2, 2, 18, 13, 13, 17, 18, 13, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 116, 5 ], [ 116, 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 ], [ 23, 24 ], [ 23, 25 ], [ 23, 26 ], [ 23, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 30, 31 ], [ 30, 32 ], [ 30, 33 ], [ 30, 34 ], [ 8, 35 ], [ 35, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 35, 40 ], [ 40, 41 ], [ 40, 42 ], [ 35, 43 ], [ 43, 44 ], [ 44, 45 ], [ 35, 46 ], [ 47, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 48, 52 ], [ 52, 53 ], [ 53, 54 ], [ 47, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 55, 60 ], [ 60, 61 ], [ 60, 62 ], [ 55, 63 ], [ 63, 64 ], [ 64, 65 ], [ 55, 66 ], [ 67, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 74, 75 ], [ 74, 76 ], [ 68, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 78, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 83, 91 ], [ 91, 92 ], [ 92, 93 ], [ 83, 94 ], [ 95, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 102, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 102, 106 ], [ 102, 107 ], [ 107, 108 ], [ 107, 109 ], [ 8, 110 ], [ 110, 111 ], [ 111, 112 ], [ 6, 113 ], [ 113, 114 ], [ 0, 115 ], [ 115, 116 ], [ 115, 117 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] c = new String[n];\n String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n int[] resultCnt = { 0, 0, 0, 0 };\n for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }\n for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\n }\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] c = new String[n];\n String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n int[] resultCnt = { 0, 0, 0, 0 };\n for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }\n for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\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 String[] c = new String[n];\n String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n int[] resultCnt = { 0, 0, 0, 0 };\n for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }\n for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\n }\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String[] c = new String[n];\n String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n int[] resultCnt = { 0, 0, 0, 0 };\n for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }\n for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\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", "String[] c = new String[n];", "c", "new String[n]", "n", "String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };", "results", "{ \"AC\", \"WA\", \"TLE\", \"RE\" }", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "int[] resultCnt = { 0, 0, 0, 0 };", "resultCnt", "{ 0, 0, 0, 0 }", "0", "0", "0", "0", "for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }", "int cnt = 0;", "int cnt = 0;", "cnt", "0", "cnt < n", "cnt", "n", "cnt++", "cnt++", "cnt", "{\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }", "{\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }", "c[cnt] = sc.next()", "c[cnt]", "c", "cnt", "sc.next()", "sc.next", "sc", "for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }", "int cntj = 0;", "int cntj = 0;", "cntj", "0", "cntj < 4", "cntj", "4", "cntj++", "cntj++", "cntj", "{\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }", "{\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }", "if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }", "c[cnt].equals(results[cntj])", "c[cnt].equals", "c[cnt]", "c", "cnt", "results[cntj]", "results", "cntj", "{\n resultCnt[cntj] += 1;\n }", "resultCnt[cntj] += 1", "resultCnt[cntj]", "resultCnt", "cntj", "1", "for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\n }", "int cnt = 0;", "int cnt = 0;", "cnt", "0", "cnt < 4", "cnt", "4", "cnt++", "cnt++", "cnt", "{\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\n }", "{\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\n }", "System.out.println(results[cnt] + \" x \" + resultCnt[cnt])", "System.out.println", "System.out", "System", "System.out", "results[cnt] + \" x \" + resultCnt[cnt]", "results[cnt] + \" x \" + resultCnt[cnt]", "results[cnt]", "results", "cnt", "\" x \"", "resultCnt[cnt]", "resultCnt", "cnt", "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 String[] c = new String[n];\n String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n int[] resultCnt = { 0, 0, 0, 0 };\n for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }\n for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\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 String[] c = new String[n];\n String[] results = { \"AC\", \"WA\", \"TLE\", \"RE\" };\n int[] resultCnt = { 0, 0, 0, 0 };\n for (int cnt = 0; cnt < n; cnt++) {\n c[cnt] = sc.next();\n for (int cntj = 0; cntj < 4; cntj++) {\n if (c[cnt].equals(results[cntj])) {\n resultCnt[cntj] += 1;\n }\n }\n }\n for (int cnt = 0; cnt < 4; cnt++) {\n System.out.println(results[cnt] + \" x \" + resultCnt[cnt]);\n }\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String[] c = new String[n]; String[] results = { "AC", "WA", "TLE", "RE" }; int[] resultCnt = { 0, 0, 0, 0 }; for (int cnt = 0; cnt < n; cnt++) { c[cnt] = sc.next(); for (int cntj = 0; cntj < 4; cntj++) { if (c[cnt].equals(results[cntj])) { resultCnt[cntj] += 1; } } } for (int cnt = 0; cnt < 4; cnt++) { System.out.println(results[cnt] + " x " + resultCnt[cnt]); } 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, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 2, 17, 17, 4, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 131, 20 ], [ 131, 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 ], [ 35, 38 ], [ 35, 39 ], [ 23, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 23, 45 ], [ 45, 46 ], [ 46, 47 ], [ 45, 48 ], [ 45, 49 ], [ 23, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 50, 54 ], [ 23, 55 ], [ 55, 56 ], [ 56, 57 ], [ 57, 58 ], [ 56, 59 ], [ 55, 60 ], [ 60, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 60, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 66, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 23, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 82, 82 ], [ 82, 83 ], [ 82, 84 ], [ 82, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 23, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 95, 95 ], [ 95, 96 ], [ 95, 97 ], [ 95, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 23, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 108, 108 ], [ 108, 109 ], [ 108, 110 ], [ 108, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 23, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 121, 121 ], [ 121, 122 ], [ 121, 123 ], [ 121, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 21, 128 ], [ 128, 129 ], [ 0, 130 ], [ 130, 131 ], [ 130, 132 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nimport java.math.BigInteger;\nimport java.util.*;\n\nimport static java.lang.Math.max;\n\n\n\n\npublic class Main {\n\n \n\n public static void main(String args[]) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"WA\",0);\n map.put(\"TLE\",0);\n map.put(\"RE\",0);\n\n while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }\n System.out.println(\"AC \"+\"x \"+map.get(\"AC\"));\n System.out.println(\"WA \"+\"x \"+map.get(\"WA\"));\n System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"));\n System.out.println(\"RE \"+\"x \"+map.get(\"RE\"));\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.math.BigInteger;", "BigInteger", "java.math", "import java.util.*;", "util.*", "java", "import static java.lang.Math.max;", "import static java.lang.Math.max;", "import static java.lang.Math.max;", "public class Main {\n\n \n\n public static void main(String args[]) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"WA\",0);\n map.put(\"TLE\",0);\n map.put(\"RE\",0);\n\n while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }\n System.out.println(\"AC \"+\"x \"+map.get(\"AC\"));\n System.out.println(\"WA \"+\"x \"+map.get(\"WA\"));\n System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"));\n System.out.println(\"RE \"+\"x \"+map.get(\"RE\"));\n }\n\n}", "Main", "public static void main(String args[]) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"WA\",0);\n map.put(\"TLE\",0);\n map.put(\"RE\",0);\n\n while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }\n System.out.println(\"AC \"+\"x \"+map.get(\"AC\"));\n System.out.println(\"WA \"+\"x \"+map.get(\"WA\"));\n System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"));\n System.out.println(\"RE \"+\"x \"+map.get(\"RE\"));\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"WA\",0);\n map.put(\"TLE\",0);\n map.put(\"RE\",0);\n\n while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }\n System.out.println(\"AC \"+\"x \"+map.get(\"AC\"));\n System.out.println(\"WA \"+\"x \"+map.get(\"WA\"));\n System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"));\n System.out.println(\"RE \"+\"x \"+map.get(\"RE\"));\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<>()", "map.put(\"AC\",0)", "map.put", "map", "\"AC\"", "0", "map.put(\"WA\",0)", "map.put", "map", "\"WA\"", "0", "map.put(\"TLE\",0)", "map.put", "map", "\"TLE\"", "0", "map.put(\"RE\",0)", "map.put", "map", "\"RE\"", "0", "while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }", "n-->0", "n--", "n", "0", "{\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }", "String word = sc.next();", "word", "sc.next()", "sc.next", "sc", "map.put(word,map.get(word)+1)", "map.put", "map", "word", "map.get(word)+1", "map.get(word)", "map.get", "map", "word", "1", "System.out.println(\"AC \"+\"x \"+map.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC \"+\"x \"+map.get(\"AC\")", "\"AC \"+\"x \"+map.get(\"AC\")", "\"AC \"", "\"x \"", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "System.out.println(\"WA \"+\"x \"+map.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA \"+\"x \"+map.get(\"WA\")", "\"WA \"+\"x \"+map.get(\"WA\")", "\"WA \"", "\"x \"", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE \"+\"x \"+map.get(\"TLE\")", "\"TLE \"+\"x \"+map.get(\"TLE\")", "\"TLE \"", "\"x \"", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "System.out.println(\"RE \"+\"x \"+map.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE \"+\"x \"+map.get(\"RE\")", "\"RE \"+\"x \"+map.get(\"RE\")", "\"RE \"", "\"x \"", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "String args[]", "args", "public class Main {\n\n \n\n public static void main(String args[]) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"WA\",0);\n map.put(\"TLE\",0);\n map.put(\"RE\",0);\n\n while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }\n System.out.println(\"AC \"+\"x \"+map.get(\"AC\"));\n System.out.println(\"WA \"+\"x \"+map.get(\"WA\"));\n System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"));\n System.out.println(\"RE \"+\"x \"+map.get(\"RE\"));\n }\n\n}", "public class Main {\n\n \n\n public static void main(String args[]) throws Exception {\n Scanner sc = new Scanner(System.in);\n\n int n = sc.nextInt();\n Map<String,Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"WA\",0);\n map.put(\"TLE\",0);\n map.put(\"RE\",0);\n\n while(n-->0){\n\n String word = sc.next();\n map.put(word,map.get(word)+1);\n\n }\n System.out.println(\"AC \"+\"x \"+map.get(\"AC\"));\n System.out.println(\"WA \"+\"x \"+map.get(\"WA\"));\n System.out.println(\"TLE \"+\"x \"+map.get(\"TLE\"));\n System.out.println(\"RE \"+\"x \"+map.get(\"RE\"));\n }\n\n}", "Main" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; import java.math.BigInteger; import java.util.*; import static java.lang.Math.max; public class Main { public static void main(String args[]) throws Exception { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); Map<String,Integer> map = new HashMap<>(); map.put("AC",0); map.put("WA",0); map.put("TLE",0); map.put("RE",0); while(n-->0){ String word = sc.next(); map.put(word,map.get(word)+1); } System.out.println("AC "+"x "+map.get("AC")); System.out.println("WA "+"x "+map.get("WA")); System.out.println("TLE "+"x "+map.get("TLE")); System.out.println("RE "+"x "+map.get("RE")); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 108, 5 ], [ 108, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 49, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 47, 55 ], [ 55, 56 ], [ 55, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 47, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 47, 67 ], [ 67, 68 ], [ 67, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 6, 105 ], [ 105, 106 ], [ 0, 107 ], [ 107, 108 ], [ 107, 109 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint ac=0;\n\t\tint wa=0;\n\t\tint tle=0;\n\t\tint re=0;\n\t\tfor(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t\t\n\t\t\n\t\t\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint ac=0;\n\t\tint wa=0;\n\t\tint tle=0;\n\t\tint re=0;\n\t\tfor(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t\t\n\t\t\n\t\t\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint ac=0;\n\t\tint wa=0;\n\t\tint tle=0;\n\t\tint re=0;\n\t\tfor(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t\t\n\t\t\n\t\t\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint ac=0;\n\t\tint wa=0;\n\t\tint tle=0;\n\t\tint re=0;\n\t\tfor(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t\t\n\t\t\n\t\t\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int ac=0;", "ac", "0", "int wa=0;", "wa", "0", "int tle=0;", "tle", "0", "int re=0;", "re", "0", "for(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\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 word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "{\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}", "String word = sc.nextLine();", "word", "sc.nextLine()", "sc.nextLine", "sc", "switch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}", "word", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "re++", "re", "break;", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint ac=0;\n\t\tint wa=0;\n\t\tint tle=0;\n\t\tint re=0;\n\t\tfor(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t\t\n\t\t\n\t\t\n\t}\n}", "public class Main {\n\t\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tint ac=0;\n\t\tint wa=0;\n\t\tint tle=0;\n\t\tint re=0;\n\t\tfor(int i=0;i<=n;i++) {\n\t\t\tString word = sc.nextLine();\n\t\t\t\n\t\t\tswitch(word) {\n\t\t\tcase \"AC\":\n\t\t\t\tac++;\n\t\t\t\tbreak;\n\t\t\tcase \"WA\":\n\t\t\t\twa++;\n\t\t\t\tbreak;\n\t\t\tcase \"TLE\":\n\t\t\t\ttle++;\n\t\t\t\tbreak;\n\t\t\tcase \"RE\":\n\t\t\t\tre++;\n\t\t\t\tbreak;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \" + ac);\n\t\tSystem.out.println(\"WA x \" + wa);\n\t\tSystem.out.println(\"TLE x \" + tle);\n\t\tSystem.out.println(\"RE x \" + re);\n\t\t\n\t\t\n\t\t\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int ac=0; int wa=0; int tle=0; int re=0; for(int i=0;i<=n;i++) { String word = sc.nextLine(); switch(word) { case "AC": ac++; break; case "WA": wa++; break; case "TLE": tle++; break; case "RE": re++; break; } } System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 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, 13, 13, 4, 18, 13, 23, 13, 6, 13, 41, 13, 12, 13, 30, 41, 13, 2, 2, 13, 13, 17, 42, 2, 13, 13, 30, 14, 2, 18, 13, 13, 13, 30, 0, 13, 2, 13, 17, 14, 2, 18, 13, 13, 13, 30, 29, 13, 30, 0, 13, 2, 13, 17, 0, 13, 2, 2, 13, 13, 17, 14, 2, 13, 13, 30, 29, 40, 17, 29, 40, 17, 23, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 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, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 23, 13, 23, 13, 6, 13, 41, 13, 41, 13, 20, 12, 13, 30, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 42, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 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 ], [ 318, 17 ], [ 318, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 21, 23 ], [ 23, 24 ], [ 23, 25 ], [ 20, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 28, 30 ], [ 20, 31 ], [ 31, 32 ], [ 31, 33 ], [ 20, 34 ], [ 34, 35 ], [ 34, 36 ], [ 20, 37 ], [ 37, 38 ], [ 37, 39 ], [ 20, 40 ], [ 40, 41 ], [ 41, 42 ], [ 40, 43 ], [ 40, 44 ], [ 20, 45 ], [ 45, 46 ], [ 46, 47 ], [ 18, 48 ], [ 48, 49 ], [ 318, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 50, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 59, 63 ], [ 56, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 64, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 70, 74 ], [ 69, 75 ], [ 75, 76 ], [ 76, 77 ], [ 76, 78 ], [ 78, 79 ], [ 78, 80 ], [ 69, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 82, 86 ], [ 81, 87 ], [ 87, 88 ], [ 88, 89 ], [ 81, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 68, 96 ], [ 96, 97 ], [ 96, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 98, 102 ], [ 56, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 103, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 56, 111 ], [ 111, 112 ], [ 112, 113 ], [ 54, 114 ], [ 114, 115 ], [ 54, 116 ], [ 116, 117 ], [ 54, 118 ], [ 118, 119 ], [ 54, 120 ], [ 120, 121 ], [ 50, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 124, 130 ], [ 130, 131 ], [ 130, 132 ], [ 124, 133 ], [ 133, 134 ], [ 134, 135 ], [ 133, 136 ], [ 133, 137 ], [ 124, 138 ], [ 138, 139 ], [ 139, 140 ], [ 138, 141 ], [ 138, 142 ], [ 124, 143 ], [ 143, 144 ], [ 144, 145 ], [ 143, 146 ], [ 143, 147 ], [ 124, 148 ], [ 148, 149 ], [ 149, 150 ], [ 148, 151 ], [ 148, 152 ], [ 124, 153 ], [ 153, 154 ], [ 154, 155 ], [ 155, 156 ], [ 155, 157 ], [ 153, 158 ], [ 158, 159 ], [ 158, 160 ], [ 153, 161 ], [ 161, 162 ], [ 162, 163 ], [ 153, 164 ], [ 165, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 169, 170 ], [ 165, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 171, 175 ], [ 175, 176 ], [ 176, 177 ], [ 177, 178 ], [ 176, 179 ], [ 175, 180 ], [ 124, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 181, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 188, 191 ], [ 124, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 199, 202 ], [ 124, 203 ], [ 203, 204 ], [ 204, 205 ], [ 205, 206 ], [ 205, 207 ], [ 203, 208 ], [ 208, 209 ], [ 208, 210 ], [ 210, 211 ], [ 211, 212 ], [ 210, 213 ], [ 124, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 214, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 221, 224 ], [ 122, 225 ], [ 225, 226 ], [ 122, 227 ], [ 227, 228 ], [ 318, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 229, 233 ], [ 233, 234 ], [ 233, 235 ], [ 229, 236 ], [ 236, 237 ], [ 236, 238 ], [ 238, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 236, 244 ], [ 244, 245 ], [ 229, 246 ], [ 246, 247 ], [ 246, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 249, 254 ], [ 254, 255 ], [ 255, 256 ], [ 256, 257 ], [ 256, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 255, 262 ], [ 262, 263 ], [ 263, 264 ], [ 263, 265 ], [ 248, 266 ], [ 266, 267 ], [ 267, 268 ], [ 268, 269 ], [ 229, 270 ], [ 270, 271 ], [ 270, 272 ], [ 272, 273 ], [ 273, 274 ], [ 274, 275 ], [ 275, 276 ], [ 274, 277 ], [ 277, 278 ], [ 229, 279 ], [ 279, 280 ], [ 279, 281 ], [ 281, 282 ], [ 282, 283 ], [ 283, 284 ], [ 284, 285 ], [ 283, 286 ], [ 286, 287 ], [ 229, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 290, 295 ], [ 295, 296 ], [ 296, 297 ], [ 297, 298 ], [ 297, 299 ], [ 295, 300 ], [ 300, 301 ], [ 300, 302 ], [ 295, 303 ], [ 303, 304 ], [ 304, 305 ], [ 295, 306 ], [ 306, 307 ], [ 307, 308 ], [ 308, 309 ], [ 308, 310 ], [ 307, 311 ], [ 311, 312 ], [ 290, 313 ], [ 313, 314 ], [ 288, 315 ], [ 315, 316 ], [ 0, 317 ], [ 317, 318 ], [ 317, 319 ] ]
[ "import javax.print.attribute.SupportedValuesAttribute;\nimport java.io.*;\nimport java.lang.reflect.Array;\nimport java.util.*;\nimport java.util.function.Predicate;\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 PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(in, out);\n out.close();\n }\n\n static class TaskB {\n\n\n public static int binarySearch(int arr[], int low, int high, int key)\n {\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }\n\n public static int[][] maxPos;\n\n public void solve(InputReader in, PrintWriter out) {\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n }\n\n\n static class InputReader {\n private BufferedReader reader;\n private StringTokenizer tokenizer = new StringTokenizer(\"\");\n\n public InputReader(InputStream inputStream) {\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }\n\n public String next() {\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n }\n}", "import javax.print.attribute.SupportedValuesAttribute;", "SupportedValuesAttribute", "javax.print.attribute", "import java.io.*;", "io.*", "java", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.util.*;", "util.*", "java", "import java.util.function.Predicate;", "Predicate", "java.util.function", "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 PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(in, out);\n out.close();\n }\n\n static class TaskB {\n\n\n public static int binarySearch(int arr[], int low, int high, int key)\n {\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }\n\n public static int[][] maxPos;\n\n public void solve(InputReader in, PrintWriter out) {\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n }\n\n\n static class InputReader {\n private BufferedReader reader;\n private StringTokenizer tokenizer = new StringTokenizer(\"\");\n\n public InputReader(InputStream inputStream) {\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }\n\n public String next() {\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n }\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 PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(in, out);\n out.close();\n }", "main", "{\n InputStream inputStream = System.in;\n OutputStream outputStream = System.out;\n InputReader in = new InputReader(inputStream);\n PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(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)", "PrintWriter out = new PrintWriter(outputStream);", "out", "new PrintWriter(outputStream)", "TaskB solver = new TaskB();", "solver", "new TaskB()", "solver.solve(in, out)", "solver.solve", "solver", "in", "out", "out.close()", "out.close", "out", "String[] args", "args", "static class TaskB {\n\n\n public static int binarySearch(int arr[], int low, int high, int key)\n {\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }\n\n public static int[][] maxPos;\n\n public void solve(InputReader in, PrintWriter out) {\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n }", "TaskB", "public static int[][] maxPos;", "maxPos", "public static int binarySearch(int arr[], int low, int high, int key)\n {\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }", "binarySearch", "{\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }", "int mid = (low + high)/2;", "mid", "(low + high)/2", "(low + high)", "low", "high", "2", "while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }", "low <= high", "low", "high", "{\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }", "if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }", "arr[mid] < key", "arr[mid]", "arr", "mid", "key", "{\n low = mid + 1;\n }", "low = mid + 1", "low", "mid + 1", "mid", "1", "if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }", "arr[mid] == key", "arr[mid]", "arr", "mid", "key", "{\n return mid;\n }", "return mid;", "mid", "{\n high = mid - 1;\n }", "high = mid - 1", "high", "mid - 1", "mid", "1", "mid = (low + high)/2", "mid", "(low + high)/2", "(low + high)", "low", "high", "2", "if( low > high )\n {\n return -1;\n }", "low > high", "low", "high", "{\n return -1;\n }", "return -1;", "-1", "1", "return -1;", "-1", "1", "int arr[]", "arr", "int low", "low", "int high", "high", "int key", "key", "public void solve(InputReader in, PrintWriter out) {\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }", "solve", "{\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }", "int N = in.nextInt();", "N", "in.nextInt()", "in.nextInt", "in", "HashMap<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "map.put(\"AC\",0)", "map.put", "map", "\"AC\"", "0", "map.put(\"TLE\",0)", "map.put", "map", "\"TLE\"", "0", "map.put(\"WA\",0)", "map.put", "map", "\"WA\"", "0", "map.put(\"RE\",0)", "map.put", "map", "\"RE\"", "0", "for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n String type = in.next();\n map.put(type, map.get(type)+1);\n }", "{\n String type = in.next();\n map.put(type, map.get(type)+1);\n }", "String type = in.next();", "type", "in.next()", "in.next", "in", "map.put(type, map.get(type)+1)", "map.put", "map", "type", "map.get(type)+1", "map.get(type)", "map.get", "map", "type", "1", "System.out.println(\"AC x \"+map.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+map.get(\"AC\")", "\"AC x \"", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "System.out.println(\"WA x \"+map.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+map.get(\"WA\")", "\"WA x \"", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "System.out.println(\"TLE x \"+map.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+map.get(\"TLE\")", "\"TLE x \"", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "System.out.println(\"RE x \"+map.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+map.get(\"RE\")", "\"RE x \"", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "InputReader in", "in", "PrintWriter out", "out", "static class InputReader {\n private BufferedReader reader;\n private StringTokenizer tokenizer = new StringTokenizer(\"\");\n\n public InputReader(InputStream inputStream) {\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }\n\n public String next() {\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n }", "InputReader", "private BufferedReader reader;", "reader", "private StringTokenizer tokenizer = new StringTokenizer(\"\");", "tokenizer", "new StringTokenizer(\"\")", "public InputReader(InputStream inputStream) {\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }", "InputReader", "{\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }", "this.reader = new BufferedReader(\n new InputStreamReader(inputStream))", "this.reader", "this", "this.reader", "new BufferedReader(\n new InputStreamReader(inputStream))", "InputStream inputStream", "inputStream", "public String next() {\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }", "next", "{\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }", "while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "!tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens()", "tokenizer.hasMoreTokens", "tokenizer", "{\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }", "try {\n tokenizer = new StringTokenizer(reader.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 tokenizer = new StringTokenizer(reader.readLine());\n }", "tokenizer = new StringTokenizer(reader.readLine())", "tokenizer", "new StringTokenizer(reader.readLine())", "return tokenizer.nextToken();", "tokenizer.nextToken()", "tokenizer.nextToken", "tokenizer", "public int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "nextIntArray", "{\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }", "int[] a = new int[n];", "a", "new int[n]", "n", "for (int i = 0; i < n; i++)\n a[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "a[i] = nextInt();", "a[i] = nextInt()", "a[i]", "a", "i", "nextInt()", "nextInt", "return a;", "a", "int n", "n", "public 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 PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(in, out);\n out.close();\n }\n\n static class TaskB {\n\n\n public static int binarySearch(int arr[], int low, int high, int key)\n {\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }\n\n public static int[][] maxPos;\n\n public void solve(InputReader in, PrintWriter out) {\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n }\n\n\n static class InputReader {\n private BufferedReader reader;\n private StringTokenizer tokenizer = new StringTokenizer(\"\");\n\n public InputReader(InputStream inputStream) {\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }\n\n public String next() {\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n }\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 PrintWriter out = new PrintWriter(outputStream);\n TaskB solver = new TaskB();\n solver.solve(in, out);\n out.close();\n }\n\n static class TaskB {\n\n\n public static int binarySearch(int arr[], int low, int high, int key)\n {\n int mid = (low + high)/2;\n while( low <= high )\n {\n if ( arr[mid] < key )\n {\n low = mid + 1;\n }\n else if ( arr[mid] == key )\n {\n return mid;\n }else\n {\n high = mid - 1;\n }\n mid = (low + high)/2;\n }\n if( low > high )\n {\n return -1;\n }\n return -1;\n }\n\n public static int[][] maxPos;\n\n public void solve(InputReader in, PrintWriter out) {\n int N = in.nextInt();\n\n\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\",0);\n map.put(\"TLE\",0);\n map.put(\"WA\",0);\n map.put(\"RE\",0);\n for(int i = 0; i < N; i++)\n {\n String type = in.next();\n map.put(type, map.get(type)+1);\n }\n\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n }\n\n\n static class InputReader {\n private BufferedReader reader;\n private StringTokenizer tokenizer = new StringTokenizer(\"\");\n\n public InputReader(InputStream inputStream) {\n this.reader = new BufferedReader(\n new InputStreamReader(inputStream));\n }\n\n public String next() {\n while (!tokenizer.hasMoreTokens()) {\n try {\n tokenizer = new StringTokenizer(reader.readLine());\n } catch (IOException e) {\n e.printStackTrace();\n }\n }\n return tokenizer.nextToken();\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] a = new int[n];\n for (int i = 0; i < n; i++)\n a[i] = nextInt();\n return a;\n }\n\n }\n}", "Main" ]
import javax.print.attribute.SupportedValuesAttribute; import java.io.*; import java.lang.reflect.Array; import java.util.*; import java.util.function.Predicate; public class Main{ public static void main(String[] args) { InputStream inputStream = System.in; OutputStream outputStream = System.out; InputReader in = new InputReader(inputStream); PrintWriter out = new PrintWriter(outputStream); TaskB solver = new TaskB(); solver.solve(in, out); out.close(); } static class TaskB { public static int binarySearch(int arr[], int low, int high, int key) { int mid = (low + high)/2; while( low <= high ) { if ( arr[mid] < key ) { low = mid + 1; } else if ( arr[mid] == key ) { return mid; }else { high = mid - 1; } mid = (low + high)/2; } if( low > high ) { return -1; } return -1; } public static int[][] maxPos; public void solve(InputReader in, PrintWriter out) { int N = in.nextInt(); HashMap<String, Integer> map = new HashMap<>(); map.put("AC",0); map.put("TLE",0); map.put("WA",0); map.put("RE",0); for(int i = 0; i < N; i++) { String type = in.next(); map.put(type, map.get(type)+1); } System.out.println("AC x "+map.get("AC")); System.out.println("WA x "+map.get("WA")); System.out.println("TLE x "+map.get("TLE")); System.out.println("RE x "+map.get("RE")); } } static class InputReader { private BufferedReader reader; private StringTokenizer tokenizer = new StringTokenizer(""); public InputReader(InputStream inputStream) { this.reader = new BufferedReader( new InputStreamReader(inputStream)); } public String next() { while (!tokenizer.hasMoreTokens()) { try { tokenizer = new StringTokenizer(reader.readLine()); } catch (IOException e) { e.printStackTrace(); } } return tokenizer.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } public long nextLong() { return Long.parseLong(next()); } public int[] nextIntArray(int n) { int[] a = new int[n]; for (int i = 0; i < n; i++) a[i] = nextInt(); return a; } } }
[ 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, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 14, 2, 2, 17, 13, 2, 13, 4, 18, 13, 17, 17, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 13, 30, 40, 13, 14, 4, 18, 18, 13, 13, 13, 30, 40, 13, 14, 4, 18, 18, 13, 13, 13, 30, 40, 13, 14, 4, 18, 18, 13, 13, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 169, 5 ], [ 169, 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 ], [ 27, 29 ], [ 8, 30 ], [ 30, 31 ], [ 30, 32 ], [ 8, 33 ], [ 33, 34 ], [ 33, 35 ], [ 8, 36 ], [ 36, 37 ], [ 36, 38 ], [ 8, 39 ], [ 39, 40 ], [ 39, 41 ], [ 8, 42 ], [ 42, 43 ], [ 42, 44 ], [ 8, 45 ], [ 45, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 46, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 45, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 58, 63 ], [ 63, 64 ], [ 63, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 58, 69 ], [ 70, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 71, 75 ], [ 75, 76 ], [ 76, 77 ], [ 57, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 78, 86 ], [ 86, 87 ], [ 87, 88 ], [ 78, 89 ], [ 90, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 91, 98 ], [ 98, 99 ], [ 99, 100 ], [ 91, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 104, 105 ], [ 104, 106 ], [ 102, 107 ], [ 101, 108 ], [ 108, 109 ], [ 109, 110 ], [ 101, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 111, 118 ], [ 118, 119 ], [ 119, 120 ], [ 111, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 124, 125 ], [ 124, 126 ], [ 122, 127 ], [ 121, 128 ], [ 128, 129 ], [ 129, 130 ], [ 8, 131 ], [ 131, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 131, 136 ], [ 136, 137 ], [ 136, 138 ], [ 8, 139 ], [ 139, 140 ], [ 140, 141 ], [ 141, 142 ], [ 141, 143 ], [ 139, 144 ], [ 144, 145 ], [ 144, 146 ], [ 8, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 8, 155 ], [ 155, 156 ], [ 156, 157 ], [ 157, 158 ], [ 157, 159 ], [ 155, 160 ], [ 160, 161 ], [ 160, 162 ], [ 8, 163 ], [ 163, 164 ], [ 164, 165 ], [ 6, 166 ], [ 166, 167 ], [ 0, 168 ], [ 168, 169 ], [ 168, 170 ] ]
[ "import java.util.Scanner;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString [] S = new String[N];\n\t\tString AC =\"AC\";\n\t\tString WA =\"WA\";\n\t\tString TLE =\"TLE\";\n\t\tString RE =\"RE\";\n\t\tint C0=0;\n\t\tint C1=0;\n\t\tint C2=0;\n\t\tint C3=0;\n\t\tif((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+C0);\n\t\tSystem.out.println(\"WA x \"+C1);\n\t\tSystem.out.println(\"TLE x \"+C2);\n\t\tSystem.out.println(\"RE x \"+C3);\n\t\t\n\t\tsc.close();\n\t}\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString [] S = new String[N];\n\t\tString AC =\"AC\";\n\t\tString WA =\"WA\";\n\t\tString TLE =\"TLE\";\n\t\tString RE =\"RE\";\n\t\tint C0=0;\n\t\tint C1=0;\n\t\tint C2=0;\n\t\tint C3=0;\n\t\tif((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+C0);\n\t\tSystem.out.println(\"WA x \"+C1);\n\t\tSystem.out.println(\"TLE x \"+C2);\n\t\tSystem.out.println(\"RE x \"+C3);\n\t\t\n\t\tsc.close();\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\tString [] S = new String[N];\n\t\tString AC =\"AC\";\n\t\tString WA =\"WA\";\n\t\tString TLE =\"TLE\";\n\t\tString RE =\"RE\";\n\t\tint C0=0;\n\t\tint C1=0;\n\t\tint C2=0;\n\t\tint C3=0;\n\t\tif((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+C0);\n\t\tSystem.out.println(\"WA x \"+C1);\n\t\tSystem.out.println(\"TLE x \"+C2);\n\t\tSystem.out.println(\"RE x \"+C3);\n\t\t\n\t\tsc.close();\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString [] S = new String[N];\n\t\tString AC =\"AC\";\n\t\tString WA =\"WA\";\n\t\tString TLE =\"TLE\";\n\t\tString RE =\"RE\";\n\t\tint C0=0;\n\t\tint C1=0;\n\t\tint C2=0;\n\t\tint C3=0;\n\t\tif((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+C0);\n\t\tSystem.out.println(\"WA x \"+C1);\n\t\tSystem.out.println(\"TLE x \"+C2);\n\t\tSystem.out.println(\"RE x \"+C3);\n\t\t\n\t\tsc.close();\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String [] S = new String[N];", "S", "new String[N]", "N", "String AC =\"AC\";", "AC", "\"AC\"", "String WA =\"WA\";", "WA", "\"WA\"", "String TLE =\"TLE\";", "TLE", "\"TLE\"", "String RE =\"RE\";", "RE", "\"RE\"", "int C0=0;", "C0", "0", "int C1=0;", "C1", "0", "int C2=0;", "C2", "0", "int C3=0;", "C3", "0", "if((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}", "(1<=N)&&(N<=Math.pow(10, 5))", "(1<=N)", "1", "N", "(N<=Math.pow(10, 5))", "N", "Math.pow(10, 5)", "Math.pow", "Math", "10", "5", "{\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}", "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", "for(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\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(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}", "{\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}", "if(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}", "S[i].equals(AC)", "S[i].equals", "S[i]", "S", "i", "AC", "{\n\t\t\t\tC0++;\n\t\t\t}", "C0++", "C0", "if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}", "S[i].equals(WA)", "S[i].equals", "S[i]", "S", "i", "WA", "{\n\t\t\t\tC1++;\n\t\t\t}", "C1++", "C1", "if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}", "S[i].equals(TLE)", "S[i].equals", "S[i]", "S", "i", "TLE", "{\n\t\t\t\tC2++;\n\t\t\t}", "C2++", "C2", "if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}", "S[i].equals(RE)", "S[i].equals", "S[i]", "S", "i", "RE", "{\n\t\t\t\tC3++;\n\t\t\t}", "C3++", "C3", "System.out.println(\"AC x \"+C0)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+C0", "\"AC x \"", "C0", "System.out.println(\"WA x \"+C1)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+C1", "\"WA x \"", "C1", "System.out.println(\"TLE x \"+C2)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+C2", "\"TLE x \"", "C2", "System.out.println(\"RE x \"+C3)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+C3", "\"RE x \"", "C3", "sc.close()", "sc.close", "sc", "String[] args", "args", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString [] S = new String[N];\n\t\tString AC =\"AC\";\n\t\tString WA =\"WA\";\n\t\tString TLE =\"TLE\";\n\t\tString RE =\"RE\";\n\t\tint C0=0;\n\t\tint C1=0;\n\t\tint C2=0;\n\t\tint C3=0;\n\t\tif((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+C0);\n\t\tSystem.out.println(\"WA x \"+C1);\n\t\tSystem.out.println(\"TLE x \"+C2);\n\t\tSystem.out.println(\"RE x \"+C3);\n\t\t\n\t\tsc.close();\n\t}\n\n}", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint N = sc.nextInt();\n\t\tString [] S = new String[N];\n\t\tString AC =\"AC\";\n\t\tString WA =\"WA\";\n\t\tString TLE =\"TLE\";\n\t\tString RE =\"RE\";\n\t\tint C0=0;\n\t\tint C1=0;\n\t\tint C2=0;\n\t\tint C3=0;\n\t\tif((1<=N)&&(N<=Math.pow(10, 5))) {\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tS[i] = sc.next();\n\t\t}\n\t\t\n\t\tfor(int i=0;i<N;i++) {\n\t\t\tif(S[i].equals(AC)) {\n\t\t\t\tC0++;\n\t\t\t}else if(S[i].equals(WA)) {\n\t\t\t\tC1++;\n\t\t\t}else if(S[i].equals(TLE)) {\n\t\t\t\tC2++;\n\t\t\t}else if(S[i].equals(RE)) {\n\t\t\t\tC3++;\n\t\t\t}\n\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+C0);\n\t\tSystem.out.println(\"WA x \"+C1);\n\t\tSystem.out.println(\"TLE x \"+C2);\n\t\tSystem.out.println(\"RE x \"+C3);\n\t\t\n\t\tsc.close();\n\t}\n\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String [] S = new String[N]; String AC ="AC"; String WA ="WA"; String TLE ="TLE"; String RE ="RE"; int C0=0; int C1=0; int C2=0; int C3=0; if((1<=N)&&(N<=Math.pow(10, 5))) { for(int i=0;i<N;i++) { S[i] = sc.next(); } for(int i=0;i<N;i++) { if(S[i].equals(AC)) { C0++; }else if(S[i].equals(WA)) { C1++; }else if(S[i].equals(TLE)) { C2++; }else if(S[i].equals(RE)) { C3++; } } } System.out.println("AC x "+C0); System.out.println("WA x "+C1); System.out.println("TLE x "+C2); System.out.println("RE x "+C3); sc.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 41, 13, 20, 41, 13, 20, 18, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 13, 18, 13, 13, 30, 40, 18, 13, 13, 3, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 18, 13, 13, 1, 40, 13, 30, 30, 4, 18, 4, 18, 4, 18, 4, 18, 13, 18, 13, 13, 17, 18, 13, 13, 17, 4, 18, 18, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 119, 5 ], [ 119, 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 ], [ 23, 25 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 47, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 54, 56 ], [ 47, 57 ], [ 57, 58 ], [ 58, 59 ], [ 47, 60 ], [ 61, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 66, 67 ], [ 66, 68 ], [ 62, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 69, 74 ], [ 8, 75 ], [ 75, 76 ], [ 75, 77 ], [ 8, 78 ], [ 78, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 78, 83 ], [ 83, 84 ], [ 83, 85 ], [ 85, 86 ], [ 85, 87 ], [ 78, 88 ], [ 88, 89 ], [ 89, 90 ], [ 78, 91 ], [ 92, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 99, 102 ], [ 102, 103 ], [ 102, 104 ], [ 97, 105 ], [ 95, 106 ], [ 106, 107 ], [ 106, 108 ], [ 93, 109 ], [ 8, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 112, 114 ], [ 110, 115 ], [ 6, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "import java.util.*;\n\npublic class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tHashMap<String, Integer> map = new HashMap<>();\n\t\tString[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\tint[] counts = new int[ans.length];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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\tHashMap<String, Integer> map = new HashMap<>();\n\t\tString[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\tint[] counts = new int[ans.length];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "Main", "public static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tHashMap<String, Integer> map = new HashMap<>();\n\t\tString[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\tint[] counts = new int[ans.length];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tHashMap<String, Integer> map = new HashMap<>();\n\t\tString[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\tint[] counts = new int[ans.length];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "HashMap<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "String[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};", "ans", "new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"}", "int[] counts = new int[ans.length];", "counts", "new int[ans.length]", "ans.length", "ans", "ans.length", "for (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}", "{\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }", "int j = 0;", "int j = 0;", "j", "0", "j < ans.length", "j", "ans.length", "ans", "ans.length", "j++", "j++", "j", "{\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }", "{\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }", "if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }", "s.equals(ans[j])", "s.equals", "s", "ans[j]", "ans", "j", "{\n\t\t counts[j]++;\n\t\t break;\n\t\t }", "counts[j]++", "counts[j]", "counts", "j", "break;", "StringBuilder sb = new StringBuilder();", "sb", "new StringBuilder()", "for (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < ans.length", "i", "ans.length", "ans", "ans.length", "i++", "i++", "i", "{\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}", "{\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}", "sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\")", "sb.append(ans[i]).append(\" x \").append(counts[i]).append", "sb.append(ans[i]).append(\" x \").append(counts[i])", "sb.append(ans[i]).append(\" x \").append", "sb.append(ans[i]).append(\" x \")", "sb.append(ans[i]).append", "sb.append(ans[i])", "sb.append", "sb", "ans[i]", "ans", "i", "\" x \"", "counts[i]", "counts", "i", "\"\\n\"", "System.out.print(sb)", "System.out.print", "System.out", "System", "System.out", "sb", "String[] args", "args", "public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tHashMap<String, Integer> map = new HashMap<>();\n\t\tString[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\tint[] counts = new int[ans.length];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\n\t}\n}", "public class Main {\n\tpublic static void main (String[] args) {\n\t\tScanner sc = new Scanner(System.in);\n\t\tint n = sc.nextInt();\n\t\tHashMap<String, Integer> map = new HashMap<>();\n\t\tString[] ans = new String[]{\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\tint[] counts = new int[ans.length];\n\t\tfor (int i = 0; i < n; i++) {\n\t\t String s = sc.next();\n\t\t for (int j = 0; j < ans.length; j++) {\n\t\t if (s.equals(ans[j])) {\n\t\t counts[j]++;\n\t\t break;\n\t\t }\n\t\t }\n\t\t}\n\t\tStringBuilder sb = new StringBuilder();\n\t\tfor (int i = 0; i < ans.length; i++) {\n\t\t sb.append(ans[i]).append(\" x \").append(counts[i]).append(\"\\n\");\n\t\t}\n\t\tSystem.out.print(sb);\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(); HashMap<String, Integer> map = new HashMap<>(); String[] ans = new String[]{"AC", "WA", "TLE", "RE"}; int[] counts = new int[ans.length]; for (int i = 0; i < n; i++) { String s = sc.next(); for (int j = 0; j < ans.length; j++) { if (s.equals(ans[j])) { counts[j]++; break; } } } StringBuilder sb = new StringBuilder(); for (int i = 0; i < ans.length; i++) { sb.append(ans[i]).append(" x ").append(counts[i]).append("\n"); } System.out.print(sb); } }
[ 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, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 28, 13, 13, 30, 30, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 4, 18, 13, 17, 13, 13, 13, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 100, 8 ], [ 100, 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 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 35, 38 ], [ 38, 39 ], [ 39, 40 ], [ 11, 41 ], [ 41, 42 ], [ 41, 43 ], [ 11, 44 ], [ 44, 45 ], [ 44, 46 ], [ 11, 47 ], [ 47, 48 ], [ 47, 49 ], [ 11, 50 ], [ 50, 51 ], [ 50, 52 ], [ 11, 53 ], [ 53, 54 ], [ 53, 55 ], [ 53, 56 ], [ 57, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 60, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 58, 66 ], [ 66, 67 ], [ 66, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 58, 72 ], [ 72, 73 ], [ 72, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 58, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 11, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 89, 93 ], [ 89, 94 ], [ 89, 95 ], [ 89, 96 ], [ 9, 97 ], [ 97, 98 ], [ 0, 99 ], [ 99, 100 ], [ 99, 101 ] ]
[ "import java.util.Scanner;\nimport java.util.*;\n\npublic class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n Integer testCase = sc.nextInt();\n List<String> vA = new ArrayList < String > ();\n for (int i = 0; i < testCase; i++)\n vA.add(sc.next());\n\n Integer ac = 0;\n Integer wa = 0;\n Integer tle = 0;\n Integer re = 0;\n\n\n for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }\n \n System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re));\n }\n\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.*;", "util.*", "java", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n Integer testCase = sc.nextInt();\n List<String> vA = new ArrayList < String > ();\n for (int i = 0; i < testCase; i++)\n vA.add(sc.next());\n\n Integer ac = 0;\n Integer wa = 0;\n Integer tle = 0;\n Integer re = 0;\n\n\n for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }\n \n System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re));\n }\n\n}", "Main", "public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n Integer testCase = sc.nextInt();\n List<String> vA = new ArrayList < String > ();\n for (int i = 0; i < testCase; i++)\n vA.add(sc.next());\n\n Integer ac = 0;\n Integer wa = 0;\n Integer tle = 0;\n Integer re = 0;\n\n\n for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }\n \n System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re));\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n Integer testCase = sc.nextInt();\n List<String> vA = new ArrayList < String > ();\n for (int i = 0; i < testCase; i++)\n vA.add(sc.next());\n\n Integer ac = 0;\n Integer wa = 0;\n Integer tle = 0;\n Integer re = 0;\n\n\n for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }\n \n System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re));\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "Integer testCase = sc.nextInt();", "testCase", "sc.nextInt()", "sc.nextInt", "sc", "List<String> vA = new ArrayList < String > ();", "vA", "new ArrayList < String > ()", "for (int i = 0; i < testCase; i++)\n vA.add(sc.next());", "int i = 0;", "int i = 0;", "i", "0", "i < testCase", "i", "testCase", "i++", "i++", "i", "vA.add(sc.next());", "vA.add(sc.next())", "vA.add", "vA", "sc.next()", "sc.next", "sc", "Integer ac = 0;", "ac", "0", "Integer wa = 0;", "wa", "0", "Integer tle = 0;", "tle", "0", "Integer re = 0;", "re", "0", "for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }", "String v", "vA", "{\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }", "{\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }", "switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }", "v", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "re++", "re", "break;", "System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re))", "System.out.println", "System.out", "System", "System.out", "String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re)", "String.format", "String", "\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \"", "ac", "wa", "tle", "re", "String[] args", "args", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n Integer testCase = sc.nextInt();\n List<String> vA = new ArrayList < String > ();\n for (int i = 0; i < testCase; i++)\n vA.add(sc.next());\n\n Integer ac = 0;\n Integer wa = 0;\n Integer tle = 0;\n Integer re = 0;\n\n\n for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }\n \n System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re));\n }\n\n}", "public class Main {\n\n public static void main(String[] args) {\n\n Scanner sc = new Scanner(System.in);\n Integer testCase = sc.nextInt();\n List<String> vA = new ArrayList < String > ();\n for (int i = 0; i < testCase; i++)\n vA.add(sc.next());\n\n Integer ac = 0;\n Integer wa = 0;\n Integer tle = 0;\n Integer re = 0;\n\n\n for (String v: vA) {\n\n switch (v) {\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n \n }\n \n System.out.println(String.format(\"AC x %s \\nWA x %s \\nTLE x %s \\nRE x %s \",ac,wa,tle,re));\n }\n\n}", "Main" ]
import java.util.Scanner; import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); Integer testCase = sc.nextInt(); List<String> vA = new ArrayList < String > (); for (int i = 0; i < testCase; i++) vA.add(sc.next()); Integer ac = 0; Integer wa = 0; Integer tle = 0; Integer re = 0; for (String v: vA) { switch (v) { case "AC": ac++; break; case "WA": wa++; break; case "TLE": tle++; break; case "RE": re++; break; } } System.out.println(String.format("AC x %s \nWA x %s \nTLE x %s \nRE x %s ",ac,wa,tle,re)); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 110, 5 ], [ 110, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 29, 37 ], [ 37, 38 ], [ 38, 39 ], [ 29, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 41, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 41, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 41, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 8, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 80, 81 ], [ 80, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 8, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 96, 97 ], [ 96, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 6, 107 ], [ 107, 108 ], [ 0, 109 ], [ 109, 110 ], [ 109, 111 ] ]
[ "import java.util.*;\npublic class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }\n \n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }\n \n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }\n \n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }", "main", "{\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }\n \n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }", "Scanner in = new Scanner(System.in);", "in", "new Scanner(System.in)", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= n", "i", "n", "++i", "++i", "i", "{\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }", "{\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }", "String curr = in.nextLine();", "curr", "in.nextLine()", "in.nextLine", "in", "if(curr.equals(\"AC\")) ++ac;", "curr.equals(\"AC\")", "curr.equals", "curr", "\"AC\"", "++ac", "ac", "if(curr.equals(\"WA\")) ++wa;", "curr.equals(\"WA\")", "curr.equals", "curr", "\"WA\"", "++wa", "wa", "if(curr.equals(\"TLE\")) ++tle;", "curr.equals(\"TLE\")", "curr.equals", "curr", "\"TLE\"", "++tle", "tle", "if(curr.equals(\"RE\")) ++re;", "curr.equals(\"RE\")", "curr.equals", "curr", "\"RE\"", "++re", "re", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }\n \n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner in = new Scanner(System.in);\n int n = in.nextInt();\n int ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n for(int i = 0; i <= n; ++i) {\n String curr = in.nextLine();\n if(curr.equals(\"AC\")) ++ac;\n if(curr.equals(\"WA\")) ++wa;\n if(curr.equals(\"TLE\")) ++tle;\n if(curr.equals(\"RE\")) ++re;\n }\n \n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n System.out.println(\"TLE x \" + tle);\n System.out.println(\"RE x \" + re);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner in = new Scanner(System.in); int n = in.nextInt(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 0; i <= n; ++i) { String curr = in.nextLine(); if(curr.equals("AC")) ++ac; if(curr.equals("WA")) ++wa; if(curr.equals("TLE")) ++tle; if(curr.equals("RE")) ++re; } System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 41, 13, 20, 12, 13, 30, 0, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 23, 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, 0, 18, 36, 13, 20, 23, 13, 12, 13, 30, 14, 2, 13, 13, 30, 0, 13, 17, 0, 13, 4, 18, 13, 13, 14, 2, 13, 40, 17, 29, 13, 29, 18, 13, 40, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 17, 42, 4, 13, 13, 0, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 0, 13, 2, 2, 13, 17, 2, 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, 41, 13, 4, 13, 41, 13, 17, 42, 4, 13, 13, 0, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 2, 40, 4, 13, 13, 2, 13, 17, 30, 14, 2, 2, 13, 17, 2, 13, 17, 29, 2, 13, 4, 18, 13, 17, 4, 13, 0, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 14, 2, 2, 13, 17, 2, 13, 17, 29, 2, 13, 4, 18, 13, 17, 4, 13, 0, 13, 17, 0, 13, 2, 2, 13, 17, 13, 0, 13, 4, 13, 29, 2, 13, 13, 12, 13, 30, 41, 13, 4, 13, 41, 13, 17, 42, 4, 13, 13, 0, 13, 4, 13, 14, 2, 13, 17, 30, 0, 13, 40, 17, 0, 13, 4, 13, 41, 13, 17, 42, 40, 4, 13, 13, 30, 0, 13, 2, 2, 13, 17, 2, 13, 17, 0, 13, 2, 13, 17, 0, 13, 4, 13, 29, 2, 13, 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, 41, 13, 17, 12, 13, 30, 41, 13, 17, 41, 13, 18, 13, 13, 41, 13, 40, 17, 42, 2, 13, 13, 30, 0, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 0, 13, 13, 0, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 17, 41, 13, 18, 13, 13, 41, 13, 40, 17, 42, 2, 13, 13, 30, 0, 13, 2, 2, 13, 13, 17, 14, 2, 18, 13, 13, 13, 0, 13, 13, 0, 13, 2, 13, 17, 29, 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, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 13, 14, 2, 2, 13, 17, 17, 29, 2, 4, 13, 2, 2, 13, 13, 13, 2, 13, 17, 13, 13, 29, 2, 2, 13, 4, 13, 2, 2, 13, 13, 13, 2, 13, 17, 13, 13, 23, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 13, 14, 2, 2, 13, 17, 17, 29, 4, 13, 2, 13, 13, 2, 13, 17, 29, 2, 13, 4, 13, 2, 13, 13, 2, 13, 17, 23, 13, 23, 13, 12, 13, 30, 0, 13, 4, 18, 13, 13, 2, 13, 13, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 2, 13, 2, 13, 13, 2, 13, 17, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 13, 29, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 13, 2, 13, 2, 13, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 800, 8 ], [ 800, 9 ], [ 9, 10 ], [ 800, 11 ], [ 11, 12 ], [ 800, 13 ], [ 13, 14 ], [ 13, 15 ], [ 800, 16 ], [ 16, 17 ], [ 16, 18 ], [ 800, 19 ], [ 19, 20 ], [ 19, 21 ], [ 800, 22 ], [ 22, 23 ], [ 22, 24 ], [ 800, 25 ], [ 25, 26 ], [ 25, 27 ], [ 800, 28 ], [ 28, 29 ], [ 28, 30 ], [ 800, 31 ], [ 31, 32 ], [ 31, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 33, 39 ], [ 39, 40 ], [ 40, 41 ], [ 41, 42 ], [ 41, 43 ], [ 39, 44 ], [ 44, 45 ], [ 44, 46 ], [ 39, 47 ], [ 47, 48 ], [ 48, 49 ], [ 39, 50 ], [ 51, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 51, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 57, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 64, 69 ], [ 69, 70 ], [ 64, 71 ], [ 71, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 71, 76 ], [ 76, 77 ], [ 71, 78 ], [ 78, 79 ], [ 33, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 83, 84 ], [ 83, 85 ], [ 33, 86 ], [ 86, 87 ], [ 87, 88 ], [ 86, 89 ], [ 89, 90 ], [ 89, 91 ], [ 33, 92 ], [ 92, 93 ], [ 93, 94 ], [ 92, 95 ], [ 95, 96 ], [ 95, 97 ], [ 33, 98 ], [ 98, 99 ], [ 99, 100 ], [ 98, 101 ], [ 101, 102 ], [ 101, 103 ], [ 33, 104 ], [ 104, 105 ], [ 105, 106 ], [ 31, 107 ], [ 107, 108 ], [ 800, 109 ], [ 109, 110 ], [ 109, 111 ], [ 111, 112 ], [ 109, 113 ], [ 113, 114 ], [ 113, 115 ], [ 109, 117 ], [ 117, 118 ], [ 109, 119 ], [ 119, 120 ], [ 109, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 124, 128 ], [ 121, 129 ], [ 129, 130 ], [ 109, 131 ], [ 131, 132 ], [ 131, 133 ], [ 133, 134 ], [ 134, 135 ], [ 135, 136 ], [ 135, 137 ], [ 134, 138 ], [ 131, 139 ], [ 139, 140 ], [ 109, 141 ], [ 141, 142 ], [ 141, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 145, 147 ], [ 144, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 148, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 154, 157 ], [ 143, 158 ], [ 158, 159 ], [ 159, 160 ], [ 159, 161 ], [ 161, 162 ], [ 158, 163 ], [ 163, 164 ], [ 143, 165 ], [ 165, 166 ], [ 166, 167 ], [ 166, 168 ], [ 168, 169 ], [ 109, 170 ], [ 170, 171 ], [ 170, 172 ], [ 172, 173 ], [ 173, 174 ], [ 173, 175 ], [ 175, 176 ], [ 172, 177 ], [ 177, 178 ], [ 177, 179 ], [ 172, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 180, 184 ], [ 184, 185 ], [ 184, 186 ], [ 186, 187 ], [ 172, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 193, 194 ], [ 193, 195 ], [ 195, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 172, 201 ], [ 201, 202 ], [ 201, 203 ], [ 172, 204 ], [ 204, 205 ], [ 205, 206 ], [ 206, 207 ], [ 206, 208 ], [ 204, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 213, 215 ], [ 212, 216 ], [ 216, 217 ], [ 216, 218 ], [ 209, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 221, 223 ], [ 209, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 172, 228 ], [ 228, 229 ], [ 229, 230 ], [ 229, 231 ], [ 109, 232 ], [ 232, 233 ], [ 232, 234 ], [ 234, 235 ], [ 235, 236 ], [ 235, 237 ], [ 237, 238 ], [ 234, 239 ], [ 239, 240 ], [ 240, 241 ], [ 240, 242 ], [ 239, 243 ], [ 243, 244 ], [ 243, 245 ], [ 245, 246 ], [ 234, 247 ], [ 247, 248 ], [ 247, 249 ], [ 234, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 250, 255 ], [ 255, 256 ], [ 256, 257 ], [ 257, 258 ], [ 256, 259 ], [ 255, 260 ], [ 260, 261 ], [ 260, 262 ], [ 262, 263 ], [ 234, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 109, 268 ], [ 268, 269 ], [ 268, 270 ], [ 270, 271 ], [ 271, 272 ], [ 271, 273 ], [ 273, 274 ], [ 270, 275 ], [ 275, 276 ], [ 275, 277 ], [ 270, 278 ], [ 278, 279 ], [ 279, 280 ], [ 279, 281 ], [ 278, 282 ], [ 282, 283 ], [ 282, 284 ], [ 284, 285 ], [ 270, 286 ], [ 286, 287 ], [ 287, 288 ], [ 287, 289 ], [ 286, 290 ], [ 290, 291 ], [ 291, 292 ], [ 291, 293 ], [ 293, 294 ], [ 290, 295 ], [ 295, 296 ], [ 295, 297 ], [ 297, 298 ], [ 270, 299 ], [ 299, 300 ], [ 299, 301 ], [ 270, 302 ], [ 302, 303 ], [ 303, 304 ], [ 304, 305 ], [ 305, 306 ], [ 305, 307 ], [ 303, 308 ], [ 308, 309 ], [ 308, 310 ], [ 302, 311 ], [ 311, 312 ], [ 312, 313 ], [ 313, 314 ], [ 314, 315 ], [ 314, 316 ], [ 313, 317 ], [ 317, 318 ], [ 317, 319 ], [ 312, 320 ], [ 320, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 323, 326 ], [ 323, 327 ], [ 327, 328 ], [ 311, 329 ], [ 329, 330 ], [ 329, 331 ], [ 311, 332 ], [ 332, 333 ], [ 332, 334 ], [ 334, 335 ], [ 334, 336 ], [ 311, 337 ], [ 337, 338 ], [ 337, 339 ], [ 339, 340 ], [ 270, 341 ], [ 341, 342 ], [ 342, 343 ], [ 342, 344 ], [ 341, 345 ], [ 345, 346 ], [ 346, 347 ], [ 346, 348 ], [ 348, 349 ], [ 345, 350 ], [ 350, 351 ], [ 350, 352 ], [ 345, 353 ], [ 353, 354 ], [ 354, 355 ], [ 355, 356 ], [ 355, 357 ], [ 353, 358 ], [ 358, 359 ], [ 359, 360 ], [ 360, 361 ], [ 361, 362 ], [ 361, 363 ], [ 360, 364 ], [ 364, 365 ], [ 364, 366 ], [ 359, 367 ], [ 367, 368 ], [ 368, 369 ], [ 368, 370 ], [ 370, 371 ], [ 371, 372 ], [ 370, 373 ], [ 370, 374 ], [ 374, 375 ], [ 358, 376 ], [ 376, 377 ], [ 376, 378 ], [ 358, 379 ], [ 379, 380 ], [ 379, 381 ], [ 381, 382 ], [ 382, 383 ], [ 382, 384 ], [ 381, 385 ], [ 358, 386 ], [ 386, 387 ], [ 386, 388 ], [ 388, 389 ], [ 270, 390 ], [ 390, 391 ], [ 391, 392 ], [ 391, 393 ], [ 109, 394 ], [ 394, 395 ], [ 394, 396 ], [ 396, 397 ], [ 397, 398 ], [ 397, 399 ], [ 399, 400 ], [ 396, 401 ], [ 401, 402 ], [ 401, 403 ], [ 396, 404 ], [ 404, 405 ], [ 405, 406 ], [ 405, 407 ], [ 404, 408 ], [ 408, 409 ], [ 408, 410 ], [ 410, 411 ], [ 396, 412 ], [ 412, 413 ], [ 413, 414 ], [ 413, 415 ], [ 412, 416 ], [ 416, 417 ], [ 417, 418 ], [ 417, 419 ], [ 419, 420 ], [ 416, 421 ], [ 421, 422 ], [ 421, 423 ], [ 423, 424 ], [ 396, 425 ], [ 425, 426 ], [ 425, 427 ], [ 396, 428 ], [ 428, 429 ], [ 429, 430 ], [ 430, 431 ], [ 430, 432 ], [ 428, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 436, 437 ], [ 437, 438 ], [ 437, 439 ], [ 436, 440 ], [ 440, 441 ], [ 440, 442 ], [ 433, 443 ], [ 443, 444 ], [ 443, 445 ], [ 445, 446 ], [ 445, 447 ], [ 433, 448 ], [ 448, 449 ], [ 448, 450 ], [ 450, 451 ], [ 396, 452 ], [ 452, 453 ], [ 453, 454 ], [ 453, 455 ], [ 109, 456 ], [ 456, 457 ], [ 456, 458 ], [ 458, 459 ], [ 459, 460 ], [ 463, 461 ], [ 473, 462 ], [ 470, 463 ], [ 463, 464 ], [ 464, 465 ], [ 464, 466 ], [ 463, 467 ], [ 467, 468 ], [ 467, 469 ], [ 470, 470 ], [ 470, 471 ], [ 470, 472 ], [ 473, 473 ], [ 473, 474 ], [ 473, 475 ], [ 463, 476 ], [ 476, 477 ], [ 476, 478 ], [ 478, 479 ], [ 456, 480 ], [ 480, 481 ], [ 800, 482 ], [ 482, 483 ], [ 482, 484 ], [ 484, 485 ], [ 484, 486 ], [ 482, 487 ], [ 487, 488 ], [ 487, 489 ], [ 489, 490 ], [ 490, 491 ], [ 490, 492 ], [ 489, 493 ], [ 493, 494 ], [ 493, 495 ], [ 495, 496 ], [ 495, 497 ], [ 489, 498 ], [ 498, 499 ], [ 498, 500 ], [ 500, 501 ], [ 489, 502 ], [ 502, 503 ], [ 503, 504 ], [ 503, 505 ], [ 502, 506 ], [ 506, 507 ], [ 507, 508 ], [ 507, 509 ], [ 509, 510 ], [ 510, 511 ], [ 510, 512 ], [ 509, 513 ], [ 506, 514 ], [ 514, 515 ], [ 515, 516 ], [ 516, 517 ], [ 516, 518 ], [ 515, 519 ], [ 514, 520 ], [ 520, 521 ], [ 520, 522 ], [ 514, 523 ], [ 523, 524 ], [ 523, 525 ], [ 525, 526 ], [ 525, 527 ], [ 489, 528 ], [ 528, 529 ], [ 487, 530 ], [ 530, 531 ], [ 487, 532 ], [ 532, 533 ], [ 482, 534 ], [ 534, 535 ], [ 534, 536 ], [ 536, 537 ], [ 537, 538 ], [ 537, 539 ], [ 536, 540 ], [ 540, 541 ], [ 540, 542 ], [ 542, 543 ], [ 542, 544 ], [ 536, 545 ], [ 545, 546 ], [ 545, 547 ], [ 547, 548 ], [ 536, 549 ], [ 549, 550 ], [ 550, 551 ], [ 550, 552 ], [ 549, 553 ], [ 553, 554 ], [ 554, 555 ], [ 554, 556 ], [ 556, 557 ], [ 557, 558 ], [ 557, 559 ], [ 556, 560 ], [ 553, 561 ], [ 561, 562 ], [ 562, 563 ], [ 563, 564 ], [ 563, 565 ], [ 562, 566 ], [ 561, 567 ], [ 567, 568 ], [ 567, 569 ], [ 561, 570 ], [ 570, 571 ], [ 570, 572 ], [ 572, 573 ], [ 572, 574 ], [ 536, 575 ], [ 575, 576 ], [ 534, 577 ], [ 577, 578 ], [ 534, 579 ], [ 579, 580 ], [ 482, 581 ], [ 581, 582 ], [ 581, 583 ], [ 583, 584 ], [ 584, 585 ], [ 585, 586 ], [ 586, 587 ], [ 586, 588 ], [ 585, 589 ], [ 585, 590 ], [ 590, 591 ], [ 590, 592 ], [ 590, 593 ], [ 593, 594 ], [ 593, 595 ], [ 581, 596 ], [ 596, 597 ], [ 581, 598 ], [ 598, 599 ], [ 482, 600 ], [ 600, 601 ], [ 600, 602 ], [ 602, 603 ], [ 603, 604 ], [ 604, 605 ], [ 605, 606 ], [ 605, 607 ], [ 604, 608 ], [ 608, 609 ], [ 608, 610 ], [ 608, 611 ], [ 600, 612 ], [ 612, 613 ], [ 600, 614 ], [ 614, 615 ], [ 482, 616 ], [ 616, 617 ], [ 616, 618 ], [ 618, 619 ], [ 619, 620 ], [ 620, 621 ], [ 620, 622 ], [ 619, 623 ], [ 623, 624 ], [ 618, 625 ], [ 625, 626 ], [ 626, 627 ], [ 626, 628 ], [ 625, 629 ], [ 629, 630 ], [ 618, 631 ], [ 631, 632 ], [ 632, 633 ], [ 633, 634 ], [ 633, 635 ], [ 632, 636 ], [ 631, 637 ], [ 637, 638 ], [ 638, 639 ], [ 639, 640 ], [ 639, 641 ], [ 641, 642 ], [ 642, 643 ], [ 642, 644 ], [ 641, 645 ], [ 639, 646 ], [ 646, 647 ], [ 646, 648 ], [ 639, 649 ], [ 638, 650 ], [ 618, 651 ], [ 651, 652 ], [ 652, 653 ], [ 653, 654 ], [ 653, 655 ], [ 655, 656 ], [ 655, 657 ], [ 657, 658 ], [ 658, 659 ], [ 658, 660 ], [ 657, 661 ], [ 655, 662 ], [ 662, 663 ], [ 662, 664 ], [ 655, 665 ], [ 652, 666 ], [ 616, 667 ], [ 667, 668 ], [ 616, 669 ], [ 669, 670 ], [ 616, 671 ], [ 671, 672 ], [ 482, 673 ], [ 673, 674 ], [ 673, 675 ], [ 675, 676 ], [ 676, 677 ], [ 677, 678 ], [ 677, 679 ], [ 676, 680 ], [ 680, 681 ], [ 675, 682 ], [ 682, 683 ], [ 683, 684 ], [ 683, 685 ], [ 682, 686 ], [ 686, 687 ], [ 675, 688 ], [ 688, 689 ], [ 689, 690 ], [ 690, 691 ], [ 690, 692 ], [ 689, 693 ], [ 688, 694 ], [ 694, 695 ], [ 695, 696 ], [ 695, 697 ], [ 697, 698 ], [ 697, 699 ], [ 695, 700 ], [ 700, 701 ], [ 700, 702 ], [ 675, 703 ], [ 703, 704 ], [ 704, 705 ], [ 704, 706 ], [ 706, 707 ], [ 706, 708 ], [ 708, 709 ], [ 708, 710 ], [ 706, 711 ], [ 711, 712 ], [ 711, 713 ], [ 673, 714 ], [ 714, 715 ], [ 673, 716 ], [ 716, 717 ], [ 482, 718 ], [ 718, 719 ], [ 718, 720 ], [ 720, 721 ], [ 721, 722 ], [ 721, 723 ], [ 723, 724 ], [ 724, 725 ], [ 723, 726 ], [ 723, 727 ], [ 727, 728 ], [ 727, 729 ], [ 720, 730 ], [ 730, 731 ], [ 730, 732 ], [ 720, 733 ], [ 733, 734 ], [ 734, 735 ], [ 735, 736 ], [ 735, 737 ], [ 733, 738 ], [ 738, 739 ], [ 738, 740 ], [ 733, 741 ], [ 741, 742 ], [ 742, 743 ], [ 733, 744 ], [ 744, 745 ], [ 745, 746 ], [ 745, 747 ], [ 747, 748 ], [ 748, 749 ], [ 748, 750 ], [ 750, 751 ], [ 750, 752 ], [ 747, 753 ], [ 753, 754 ], [ 753, 755 ], [ 720, 756 ], [ 756, 757 ], [ 718, 758 ], [ 758, 759 ], [ 718, 760 ], [ 760, 761 ], [ 482, 762 ], [ 762, 763 ], [ 762, 764 ], [ 764, 765 ], [ 765, 766 ], [ 766, 767 ], [ 766, 768 ], [ 765, 769 ], [ 769, 770 ], [ 764, 771 ], [ 771, 772 ], [ 771, 773 ], [ 764, 774 ], [ 774, 775 ], [ 775, 776 ], [ 776, 777 ], [ 776, 778 ], [ 774, 779 ], [ 779, 780 ], [ 779, 781 ], [ 774, 782 ], [ 782, 783 ], [ 783, 784 ], [ 774, 785 ], [ 785, 786 ], [ 786, 787 ], [ 786, 788 ], [ 788, 789 ], [ 788, 790 ], [ 790, 791 ], [ 790, 792 ], [ 764, 793 ], [ 793, 794 ], [ 762, 795 ], [ 795, 796 ], [ 762, 797 ], [ 797, 798 ], [ 0, 799 ], [ 799, 800 ], [ 799, 801 ] ]
[ "// Utilities\nimport java.io.*;\nimport java.util.*;\n\npublic class Main {\n\tstatic int N;\n\tstatic String str;\n\tstatic int ac = 0, wa = 0, tle = 0, re = 0;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.iscan();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}\n\t\tout.println(\"AC x \" + ac);\n\t\tout.println(\"WA x \" + wa);\n\t\tout.println(\"TLE x \" + tle);\n\t\tout.println(\"RE x \" + re);\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "public class Main {\n\tstatic int N;\n\tstatic String str;\n\tstatic int ac = 0, wa = 0, tle = 0, re = 0;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.iscan();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}\n\t\tout.println(\"AC x \" + ac);\n\t\tout.println(\"WA x \" + wa);\n\t\tout.println(\"TLE x \" + tle);\n\t\tout.println(\"RE x \" + re);\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}", "Main", "static int N;", "N", "static String str;", "str", "static int ac = 0", "ac", "0", "wa = 0", "wa", "0", "tle = 0", "tle", "0", "re = 0;", "re", "0", "static INPUT in = new INPUT(System.in);", "in", "new INPUT(System.in)", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "public static void main(String[] args) throws IOException {\n\t\tN = in.iscan();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}\n\t\tout.println(\"AC x \" + ac);\n\t\tout.println(\"WA x \" + wa);\n\t\tout.println(\"TLE x \" + tle);\n\t\tout.println(\"RE x \" + re);\n\t\tout.close();\n\t}", "main", "{\n\t\tN = in.iscan();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}\n\t\tout.println(\"AC x \" + ac);\n\t\tout.println(\"WA x \" + wa);\n\t\tout.println(\"TLE x \" + tle);\n\t\tout.println(\"RE x \" + re);\n\t\tout.close();\n\t}", "N = in.iscan()", "N", "in.iscan()", "in.iscan", "in", "for (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}", "{\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}", "str = in.sscan()", "str", "in.sscan()", "in.sscan", "in", "if (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "ac++", "ac", "if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "wa++", "wa", "if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "tle++", "tle", "re++", "re", "out.println(\"AC x \" + ac)", "out.println", "out", "\"AC x \" + ac", "\"AC x \"", "ac", "out.println(\"WA x \" + wa)", "out.println", "out", "\"WA x \" + wa", "\"WA x \"", "wa", "out.println(\"TLE x \" + tle)", "out.println", "out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "out.println(\"RE x \" + re)", "out.println", "out", "\"RE x \" + re", "\"RE x \"", "re", "out.close()", "out.close", "out", "String[] args", "args", "private static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}", "INPUT", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar", "curChar", "numChars;", "numChars", "public INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}", "INPUT", "{\n\t\t\tthis.stream = stream;\n\t\t}", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "public INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}", "INPUT", "{\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}", "this.stream = new FileInputStream (file)", "this.stream", "this", "this.stream", "new FileInputStream (file)", "String file", "file", "public int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}", "cscan", "{\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}", "if (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}", "curChar >= numChars", "curChar", "numChars", "{\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}", "curChar = 0", "curChar", "0", "numChars = stream.read (buf)", "numChars", "stream.read (buf)", "stream.read", "stream", "buf", "if (numChars == -1)\n\t\t\t\treturn numChars;", "numChars == -1", "numChars", "-1", "1", "return numChars;", "numChars", "return buf[curChar++];", "buf[curChar++]", "buf", "curChar++", "curChar", "public int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}", "iscan", "{\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}", "int c = cscan ()", "c", "cscan ()", "cscan", "sgn = 1;", "sgn", "1", "while (space (c))\n\t\t\t\tc = cscan ();", "space (c)", "space", "c", "c = cscan ()", "c", "cscan ()", "cscan", "if (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}", "c == '-'", "c", "'-'", "{\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}", "sgn = -1", "sgn", "-1", "1", "c = cscan ()", "c", "cscan ()", "cscan", "int res = 0;", "res", "0", "do {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));", "!space (c)", "space (c)", "space", "c", "{\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}", "res = (res << 1) + (res << 3)", "res", "(res << 1) + (res << 3)", "(res << 1)", "res", "1", "(res << 3)", "res", "3", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = cscan ()", "c", "cscan ()", "cscan", "return res * sgn;", "res * sgn", "res", "sgn", "public String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}", "sscan", "{\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}", "int c = cscan ();", "c", "cscan ()", "cscan", "while (space (c))\n\t\t\t\tc = cscan ();", "space (c)", "space", "c", "c = cscan ()", "c", "cscan ()", "cscan", "StringBuilder res = new StringBuilder ();", "res", "new StringBuilder ()", "do {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));", "!space (c)", "space (c)", "space", "c", "{\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}", "res.appendCodePoint (c)", "res.appendCodePoint", "res", "c", "c = cscan ()", "c", "cscan ()", "cscan", "return res.toString ();", "res.toString ()", "res.toString", "res", "public double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}", "dscan", "{\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}", "int c = cscan ()", "c", "cscan ()", "cscan", "sgn = 1;", "sgn", "1", "while (space (c))\n\t\t\t\tc = cscan ();", "space (c)", "space", "c", "c = cscan ()", "c", "cscan ()", "cscan", "if (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}", "c == '-'", "c", "'-'", "{\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}", "sgn = -1", "sgn", "-1", "1", "c = cscan ()", "c", "cscan ()", "cscan", "double res = 0;", "res", "0", "while (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}", "!space (c) && c != '.'", "!space (c)", "space (c)", "space", "c", "c != '.'", "c", "'.'", "{\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}", "if (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());", "c == 'e' || c == 'E'", "c == 'e'", "c", "'e'", "c == 'E'", "c", "'E'", "return res * UTILITIES.fast_pow (10, iscan ());", "res * UTILITIES.fast_pow (10, iscan ())", "res", "UTILITIES.fast_pow (10, iscan ())", "UTILITIES.fast_pow", "UTILITIES", "10", "iscan ()", "iscan", "res *= 10", "res", "10", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = cscan ()", "c", "cscan ()", "cscan", "if (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}", "c == '.'", "c", "'.'", "{\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}", "c = cscan ()", "c", "cscan ()", "cscan", "double m = 1;", "m", "1", "while (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}", "!space (c)", "space (c)", "space", "c", "{\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}", "if (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());", "c == 'e' || c == 'E'", "c == 'e'", "c", "'e'", "c == 'E'", "c", "'E'", "return res * UTILITIES.fast_pow (10, iscan ());", "res * UTILITIES.fast_pow (10, iscan ())", "res", "UTILITIES.fast_pow (10, iscan ())", "UTILITIES.fast_pow", "UTILITIES", "10", "iscan ()", "iscan", "m /= 10", "m", "10", "res += (c - '0') * m", "res", "(c - '0') * m", "(c - '0')", "c", "'0'", "m", "c = cscan ()", "c", "cscan ()", "cscan", "return res * sgn;", "res * sgn", "res", "sgn", "public long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}", "lscan", "{\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}", "int c = cscan ()", "c", "cscan ()", "cscan", "sgn = 1;", "sgn", "1", "while (space (c))\n\t\t\t\tc = cscan ();", "space (c)", "space", "c", "c = cscan ()", "c", "cscan ()", "cscan", "if (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}", "c == '-'", "c", "'-'", "{\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}", "sgn = -1", "sgn", "-1", "1", "c = cscan ()", "c", "cscan ()", "cscan", "long res = 0;", "res", "0", "do {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));", "!space (c)", "space (c)", "space", "c", "{\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}", "res = (res << 1) + (res << 3)", "res", "(res << 1) + (res << 3)", "(res << 1)", "res", "1", "(res << 3)", "res", "3", "res += c - '0'", "res", "c - '0'", "c", "'0'", "c = cscan ()", "c", "cscan ()", "cscan", "return res * sgn;", "res * sgn", "res", "sgn", "public boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}", "space", "{\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}", "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 static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}", "UTILITIES", "static final double EPS = 10e-6;", "EPS", "10e-6", "public static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}", "lower_bound", "{\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}", "int low = 0", "low", "0", "high = arr.length", "high", "arr.length", "arr", "arr.length", "mid = -1;", "mid", "-1", "1", "while (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}", "low < high", "low", "high", "{\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}", "mid = (low + high) / 2", "mid", "(low + high) / 2", "(low + high)", "low", "high", "2", "if (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;", "arr[mid] >= x", "arr[mid]", "arr", "mid", "x", "high = mid", "high", "mid", "low = mid + 1", "low", "mid + 1", "mid", "1", "return low;", "low", "int[] arr", "arr", "int x", "x", "public static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}", "upper_bound", "{\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}", "int low = 0", "low", "0", "high = arr.length", "high", "arr.length", "arr", "arr.length", "mid = -1;", "mid", "-1", "1", "while (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}", "low < high", "low", "high", "{\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}", "mid = (low + high) / 2", "mid", "(low + high) / 2", "(low + high)", "low", "high", "2", "if (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;", "arr[mid] > x", "arr[mid]", "arr", "mid", "x", "high = mid", "high", "mid", "low = mid + 1", "low", "mid + 1", "mid", "1", "return low;", "low", "int[] arr", "arr", "int x", "x", "public static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}", "gcd", "{\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}", "return b == 0 ? a : gcd (b, a % b);", "b == 0 ? a : gcd (b, a % b)", "b == 0", "b", "0", "a", "gcd (b, a % b)", "gcd", "b", "a % b", "a", "b", "int a", "a", "int b", "b", "public static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}", "lcm", "{\n\t\t\treturn a * b / gcd (a, b);\n\t\t}", "return a * b / gcd (a, b);", "a * b / gcd (a, b)", "a * b", "a", "b", "gcd (a, b)", "gcd", "a", "b", "int a", "a", "int b", "b", "public static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}", "fast_pow_mod", "{\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}", "if (x == 0) return 1;", "x == 0", "x", "0", "return 1;", "1", "if (x == 1) return b;", "x == 1", "x", "1", "return b;", "b", "if (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;", "x % 2 == 0", "x % 2", "x", "2", "0", "return fast_pow_mod (b * b % mod, x / 2, mod) % mod;", "fast_pow_mod (b * b % mod, x / 2, mod) % mod", "fast_pow_mod (b * b % mod, x / 2, mod)", "fast_pow_mod", "b * b % mod", "b * b", "b", "b", "mod", "x / 2", "x", "2", "mod", "mod", "return b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;", "b * fast_pow_mod (b * b % mod, x / 2, mod) % mod", "b * fast_pow_mod (b * b % mod, x / 2, mod)", "b", "fast_pow_mod (b * b % mod, x / 2, mod)", "fast_pow_mod", "b * b % mod", "b * b", "b", "b", "mod", "x / 2", "x", "2", "mod", "mod", "long b", "b", "long x", "x", "int mod", "mod", "public static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}", "fast_pow", "{\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}", "if (x == 0) return 1;", "x == 0", "x", "0", "return 1;", "1", "if (x == 1) return b;", "x == 1", "x", "1", "return b;", "b", "if (x % 2 == 0) return fast_pow (b * b, x / 2);", "x % 2 == 0", "x % 2", "x", "2", "0", "return fast_pow (b * b, x / 2);", "fast_pow (b * b, x / 2)", "fast_pow", "b * b", "b", "b", "x / 2", "x", "2", "return b * fast_pow (b * b, x / 2);", "b * fast_pow (b * b, x / 2)", "b", "fast_pow (b * b, x / 2)", "fast_pow", "b * b", "b", "b", "x / 2", "x", "2", "int b", "b", "int x", "x", "public static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}", "choose", "{\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}", "k = Math.min (k, n - k)", "k", "Math.min (k, n - k)", "Math.min", "Math", "k", "n - k", "n", "k", "long val = 1;", "val", "1", "for (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);", "int i = 0;", "int i = 0;", "i", "0", "i < k", "i", "k", "++i", "++i", "i", "val = val * (n - i) / (i + 1);", "val = val * (n - i) / (i + 1)", "val", "val * (n - i) / (i + 1)", "val * (n - i)", "val", "(n - i)", "n", "i", "(i + 1)", "i", "1", "return val;", "val", "long n", "n", "long k", "k", "public static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}", "permute", "{\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}", "if (n < k) return 0;", "n < k", "n", "k", "return 0;", "0", "long val = 1;", "val", "1", "for (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));", "int i = 0;", "int i = 0;", "i", "0", "i < k", "i", "k", "++i", "++i", "i", "val = (val * (n - i));", "val = (val * (n - i))", "val", "(val * (n - i))", "val", "(n - i)", "n", "i", "return val;", "val", "int n", "n", "int k", "k", "public class Main {\n\tstatic int N;\n\tstatic String str;\n\tstatic int ac = 0, wa = 0, tle = 0, re = 0;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.iscan();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}\n\t\tout.println(\"AC x \" + ac);\n\t\tout.println(\"WA x \" + wa);\n\t\tout.println(\"TLE x \" + tle);\n\t\tout.println(\"RE x \" + re);\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}", "public class Main {\n\tstatic int N;\n\tstatic String str;\n\tstatic int ac = 0, wa = 0, tle = 0, re = 0;\n\t\n\tpublic static void main(String[] args) throws IOException {\n\t\tN = in.iscan();\n\t\tfor (int i = 0; i < N; i++) {\n\t\t\tstr = in.sscan();\n\t\t\tif (str.equals(\"AC\")) ac++;\n\t\t\telse if (str.equals(\"WA\")) wa++;\n\t\t\telse if (str.equals(\"TLE\")) tle++;\n\t\t\telse re++;\n\t\t}\n\t\tout.println(\"AC x \" + ac);\n\t\tout.println(\"WA x \" + wa);\n\t\tout.println(\"TLE x \" + tle);\n\t\tout.println(\"RE x \" + re);\n\t\tout.close();\n\t} \n\t\n\tstatic INPUT in = new INPUT(System.in);\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tprivate static class INPUT {\n\n\t\tprivate InputStream stream;\n\t\tprivate byte[] buf = new byte[1024];\n\t\tprivate int curChar, numChars;\n\n\t\tpublic INPUT (InputStream stream) {\n\t\t\tthis.stream = stream;\n\t\t}\n\n\t\tpublic INPUT (String file) throws IOException {\n\t\t\tthis.stream = new FileInputStream (file);\n\t\t}\n\n\t\tpublic int cscan () throws IOException {\n\t\t\tif (curChar >= numChars) {\n\t\t\t\tcurChar = 0;\n\t\t\t\tnumChars = stream.read (buf);\n\t\t\t}\n\t\t\t\n\t\t\tif (numChars == -1)\n\t\t\t\treturn numChars;\n\n\t\t\treturn buf[curChar++];\n\t\t}\n\n\t\tpublic int iscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tint res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic String sscan () throws IOException {\n\t\t\tint c = cscan ();\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tStringBuilder res = new StringBuilder ();\n\n\t\t\tdo {\n\t\t\t\tres.appendCodePoint (c);\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res.toString ();\n\t\t}\n\n\t\tpublic double dscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tdouble res = 0;\n\n\t\t\twhile (!space (c) && c != '.') {\n\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\t\t\t\t\n\t\t\t\tres *= 10;\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tif (c == '.') {\n\t\t\t\tc = cscan ();\n\t\t\t\tdouble m = 1;\n\n\t\t\t\twhile (!space (c)) {\n\t\t\t\t\tif (c == 'e' || c == 'E')\n\t\t\t\t\t\treturn res * UTILITIES.fast_pow (10, iscan ());\n\n\t\t\t\t\tm /= 10;\n\t\t\t\t\tres += (c - '0') * m;\n\t\t\t\t\tc = cscan ();\n\t\t\t\t}\n\t\t\t}\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic long lscan () throws IOException {\n\t\t\tint c = cscan (), sgn = 1;\n\t\t\t\n\t\t\twhile (space (c))\n\t\t\t\tc = cscan ();\n\n\t\t\tif (c == '-') {\n\t\t\t\tsgn = -1;\n\t\t\t\tc = cscan ();\n\t\t\t}\n\n\t\t\tlong res = 0;\n\n\t\t\tdo {\n\t\t\t\tres = (res << 1) + (res << 3);\n\t\t\t\tres += c - '0';\n\t\t\t\tc = cscan ();\n\t\t\t}\n\t\t\twhile (!space (c));\n\n\t\t\treturn res * sgn;\n\t\t}\n\n\t\tpublic boolean space (int c) {\n\t\t\treturn c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n\t\t}\n\t}\n\n\tpublic static class UTILITIES {\n\n\t\tstatic final double EPS = 10e-6;\n\n\t\tpublic static int lower_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] >= x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int upper_bound (int[] arr, int x) {\n\t\t\tint low = 0, high = arr.length, mid = -1;\n\n\t\t\twhile (low < high) {\n\t\t\t\tmid = (low + high) / 2;\n\n\t\t\t\tif (arr[mid] > x)\n\t\t\t\t\thigh = mid;\n\t\t\t\telse\n\t\t\t\t\tlow = mid + 1;\n\t\t\t}\n\n\t\t\treturn low;\n\t\t}\n\n\t\tpublic static int gcd (int a, int b) {\n\t\t\treturn b == 0 ? a : gcd (b, a % b);\n\t\t}\n\n\t\tpublic static int lcm (int a, int b) {\n\t\t\treturn a * b / gcd (a, b);\n\t\t}\n\n\t\tpublic static long fast_pow_mod (long b, long x, int mod) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\n\t\t\treturn b * fast_pow_mod (b * b % mod, x / 2, mod) % mod;\n\t\t}\n\n\t\tpublic static int fast_pow (int b, int x) {\n\t\t\tif (x == 0) return 1;\n\t\t\tif (x == 1) return b;\n\t\t\tif (x % 2 == 0) return fast_pow (b * b, x / 2);\n\n\t\t\treturn b * fast_pow (b * b, x / 2);\n\t\t}\n\n\t\tpublic static long choose (long n, long k) {\n\t\t\tk = Math.min (k, n - k);\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = val * (n - i) / (i + 1);\n\n\t\t\treturn val;\n\t\t}\n\n\t\tpublic static long permute (int n, int k) {\n\t\t\tif (n < k) return 0;\n\t\t\tlong val = 1;\n\n\t\t\tfor (int i = 0; i < k; ++i)\n\t\t\t\tval = (val * (n - i));\n\n\t\t\treturn val;\n\t\t}\n\t}\n}", "Main" ]
// Utilities import java.io.*; import java.util.*; public class Main { static int N; static String str; static int ac = 0, wa = 0, tle = 0, re = 0; public static void main(String[] args) throws IOException { N = in.iscan(); for (int i = 0; i < N; i++) { str = in.sscan(); if (str.equals("AC")) ac++; else if (str.equals("WA")) wa++; else if (str.equals("TLE")) tle++; else re++; } out.println("AC x " + ac); out.println("WA x " + wa); out.println("TLE x " + tle); out.println("RE x " + re); out.close(); } static INPUT in = new INPUT(System.in); static PrintWriter out = new PrintWriter(System.out); private static class INPUT { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar, numChars; public INPUT (InputStream stream) { this.stream = stream; } public INPUT (String file) throws IOException { this.stream = new FileInputStream (file); } public int cscan () throws IOException { if (curChar >= numChars) { curChar = 0; numChars = stream.read (buf); } if (numChars == -1) return numChars; return buf[curChar++]; } public int iscan () throws IOException { int c = cscan (), sgn = 1; while (space (c)) c = cscan (); if (c == '-') { sgn = -1; c = cscan (); } int res = 0; do { res = (res << 1) + (res << 3); res += c - '0'; c = cscan (); } while (!space (c)); return res * sgn; } public String sscan () throws IOException { int c = cscan (); while (space (c)) c = cscan (); StringBuilder res = new StringBuilder (); do { res.appendCodePoint (c); c = cscan (); } while (!space (c)); return res.toString (); } public double dscan () throws IOException { int c = cscan (), sgn = 1; while (space (c)) c = cscan (); if (c == '-') { sgn = -1; c = cscan (); } double res = 0; while (!space (c) && c != '.') { if (c == 'e' || c == 'E') return res * UTILITIES.fast_pow (10, iscan ()); res *= 10; res += c - '0'; c = cscan (); } if (c == '.') { c = cscan (); double m = 1; while (!space (c)) { if (c == 'e' || c == 'E') return res * UTILITIES.fast_pow (10, iscan ()); m /= 10; res += (c - '0') * m; c = cscan (); } } return res * sgn; } public long lscan () throws IOException { int c = cscan (), sgn = 1; while (space (c)) c = cscan (); if (c == '-') { sgn = -1; c = cscan (); } long res = 0; do { res = (res << 1) + (res << 3); res += c - '0'; c = cscan (); } while (!space (c)); return res * sgn; } public boolean space (int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } } public static class UTILITIES { static final double EPS = 10e-6; public static int lower_bound (int[] arr, int x) { int low = 0, high = arr.length, mid = -1; while (low < high) { mid = (low + high) / 2; if (arr[mid] >= x) high = mid; else low = mid + 1; } return low; } public static int upper_bound (int[] arr, int x) { int low = 0, high = arr.length, mid = -1; while (low < high) { mid = (low + high) / 2; if (arr[mid] > x) high = mid; else low = mid + 1; } return low; } public static int gcd (int a, int b) { return b == 0 ? a : gcd (b, a % b); } public static int lcm (int a, int b) { return a * b / gcd (a, b); } public static long fast_pow_mod (long b, long x, int mod) { if (x == 0) return 1; if (x == 1) return b; if (x % 2 == 0) return fast_pow_mod (b * b % mod, x / 2, mod) % mod; return b * fast_pow_mod (b * b % mod, x / 2, mod) % mod; } public static int fast_pow (int b, int x) { if (x == 0) return 1; if (x == 1) return b; if (x % 2 == 0) return fast_pow (b * b, x / 2); return b * fast_pow (b * b, x / 2); } public static long choose (long n, long k) { k = Math.min (k, n - k); long val = 1; for (int i = 0; i < k; ++i) val = val * (n - i) / (i + 1); return val; } public static long permute (int n, int k) { if (n < k) return 0; long val = 1; for (int i = 0; i < k; ++i) val = (val * (n - i)); return val; } } }
[ 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, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 14, 4, 18, 18, 13, 13, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 134, 5 ], [ 134, 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 ], [ 8, 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 ], [ 58, 60 ], [ 53, 61 ], [ 61, 62 ], [ 62, 63 ], [ 53, 64 ], [ 65, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 66, 73 ], [ 73, 74 ], [ 74, 75 ], [ 66, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 76, 83 ], [ 83, 84 ], [ 84, 85 ], [ 76, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 86, 93 ], [ 93, 94 ], [ 94, 95 ], [ 86, 96 ], [ 96, 97 ], [ 97, 98 ], [ 8, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 101, 103 ], [ 99, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 8, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 115, 120 ], [ 120, 121 ], [ 120, 122 ], [ 8, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 123, 128 ], [ 128, 129 ], [ 128, 130 ], [ 6, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "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 s[] = new String[n];\n for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }\n int countAC = 0;\n int countWA = 0;\n int countTLE = 0;\n int countRE = 0;\n\n for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }\n System.out.println(\"AC x \" + countAC);\n System.out.println(\"WA x \" + countWA);\n System.out.println(\"TLE x \" + countTLE);\n System.out.println(\"RE x \" + countRE);\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 s[] = new String[n];\n for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }\n int countAC = 0;\n int countWA = 0;\n int countTLE = 0;\n int countRE = 0;\n\n for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }\n System.out.println(\"AC x \" + countAC);\n System.out.println(\"WA x \" + countWA);\n System.out.println(\"TLE x \" + countTLE);\n System.out.println(\"RE x \" + countRE);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s[] = new String[n];\n for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }\n int countAC = 0;\n int countWA = 0;\n int countTLE = 0;\n int countRE = 0;\n\n for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }\n System.out.println(\"AC x \" + countAC);\n System.out.println(\"WA x \" + countWA);\n System.out.println(\"TLE x \" + countTLE);\n System.out.println(\"RE x \" + countRE);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s[] = new String[n];\n for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }\n int countAC = 0;\n int countWA = 0;\n int countTLE = 0;\n int countRE = 0;\n\n for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }\n System.out.println(\"AC x \" + countAC);\n System.out.println(\"WA x \" + countWA);\n System.out.println(\"TLE x \" + countTLE);\n System.out.println(\"RE x \" + countRE);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String s[] = new String[n];", "s", "new String[n]", "n", "for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }", "int i=0 ;", "int i=0 ;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n s[i] = sc.next();\n }", "{\n s[i] = sc.next();\n }", "s[i] = sc.next()", "s[i]", "s", "i", "sc.next()", "sc.next", "sc", "int countAC = 0;", "countAC", "0", "int countWA = 0;", "countWA", "0", "int countTLE = 0;", "countTLE", "0", "int countRE = 0;", "countRE", "0", "for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }", "int i=0 ;", "int i=0 ;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }", "{\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }", "if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }", "s[i].equals(\"AC\")", "s[i].equals", "s[i]", "s", "i", "\"AC\"", "{\n countAC++;\n }", "countAC++", "countAC", "if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }", "s[i].equals(\"WA\")", "s[i].equals", "s[i]", "s", "i", "\"WA\"", "{\n countWA++;\n }", "countWA++", "countWA", "if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }", "s[i].equals(\"TLE\")", "s[i].equals", "s[i]", "s", "i", "\"TLE\"", "{\n countTLE++;\n }", "countTLE++", "countTLE", "{\n countRE++;\n }", "countRE++", "countRE", "System.out.println(\"AC x \" + countAC)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + countAC", "\"AC x \"", "countAC", "System.out.println(\"WA x \" + countWA)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + countWA", "\"WA x \"", "countWA", "System.out.println(\"TLE x \" + countTLE)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + countTLE", "\"TLE x \"", "countTLE", "System.out.println(\"RE x \" + countRE)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + countRE", "\"RE x \"", "countRE", "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 s[] = new String[n];\n for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }\n int countAC = 0;\n int countWA = 0;\n int countTLE = 0;\n int countRE = 0;\n\n for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }\n System.out.println(\"AC x \" + countAC);\n System.out.println(\"WA x \" + countWA);\n System.out.println(\"TLE x \" + countTLE);\n System.out.println(\"RE x \" + countRE);\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 s[] = new String[n];\n for(int i=0 ; i<n ; i++){\n s[i] = sc.next();\n }\n int countAC = 0;\n int countWA = 0;\n int countTLE = 0;\n int countRE = 0;\n\n for(int i=0 ; i<n ; i++){\n if(s[i].equals(\"AC\")){\n countAC++;\n }else if(s[i].equals(\"WA\")){\n countWA++;\n }else if(s[i].equals(\"TLE\")){\n countTLE++;\n }else{\n countRE++;\n }\n }\n System.out.println(\"AC x \" + countAC);\n System.out.println(\"WA x \" + countWA);\n System.out.println(\"TLE x \" + countTLE);\n System.out.println(\"RE x \" + countRE);\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]; for(int i=0 ; i<n ; i++){ s[i] = sc.next(); } int countAC = 0; int countWA = 0; int countTLE = 0; int countRE = 0; for(int i=0 ; i<n ; i++){ if(s[i].equals("AC")){ countAC++; }else if(s[i].equals("WA")){ countWA++; }else if(s[i].equals("TLE")){ countTLE++; }else{ countRE++; } } System.out.println("AC x " + countAC); System.out.println("WA x " + countWA); System.out.println("TLE x " + countTLE); System.out.println("RE x " + countRE); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 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, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 30, 31 ], [ 31, 32 ], [ 31, 33 ], [ 29, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 36, 38 ], [ 29, 39 ], [ 39, 40 ], [ 40, 41 ], [ 29, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 55, 56 ], [ 49, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 57, 62 ], [ 62, 63 ], [ 63, 64 ], [ 57, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 65, 70 ], [ 70, 71 ], [ 71, 72 ], [ 65, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 74, 77 ], [ 73, 78 ], [ 78, 79 ], [ 79, 80 ], [ 8, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 86, 87 ], [ 86, 88 ], [ 8, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 91, 93 ], [ 89, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 8, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 107, 109 ], [ 105, 110 ], [ 110, 111 ], [ 110, 112 ], [ 6, 113 ], [ 113, 114 ] ]
[ "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 int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n for(int i = 0; i < n+1; i++){\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \" + c2);\n System.out.println(\"RE x \" + c3);\n }\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 int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n for(int i = 0; i < n+1; i++){\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \" + c2);\n System.out.println(\"RE x \" + c3);\n }\n}", "Main", "public static void main(String[] args){\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n for(int i = 0; i < n+1; i++){\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \" + c2);\n System.out.println(\"RE x \" + c3);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n int c0 = 0;\n int c1 = 0;\n int c2 = 0;\n int c3 = 0;\n for(int i = 0; i < n+1; i++){\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }\n System.out.println(\"AC x \" + c0);\n System.out.println(\"WA x \" + c1);\n System.out.println(\"TLE x \" + c2);\n System.out.println(\"RE x \" + c3);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int c0 = 0;", "c0", "0", "int c1 = 0;", "c1", "0", "int c2 = 0;", "c2", "0", "int c3 = 0;", "c3", "0", "for(int i = 0; i < n+1; i++){\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n+1", "i", "n+1", "n", "1", "i++", "i++", "i", "{\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }", "{\n String s = sc.nextLine();\n if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }\n }", "String s = sc.nextLine();", "s", "sc.nextLine()", "sc.nextLine", "sc", "if(s.equals(\"AC\")){\n ++c0; \n }else if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "{\n ++c0; \n }", "++c0", "c0", "if(s.equals(\"WA\")){\n ++c1;\n }else if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "{\n ++c1;\n }", "++c1", "c1", "if(s.equals(\"TLE\")){\n ++c2;\n }else if(s.equals(\"RE\")){\n ++c3;\n }", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "{\n ++c2;\n }", "++c2", "c2", "if(s.equals(\"RE\")){\n ++c3;\n }", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "{\n ++c3;\n }", "++c3", "c3", "System.out.println(\"AC x \" + c0)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + c0", "\"AC x \"", "c0", "System.out.println(\"WA x \" + c1)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + c1", "\"WA x \"", "c1", "System.out.println(\"TLE x \" + c2)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + c2", "\"TLE x \"", "c2", "System.out.println(\"RE x \" + c3)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + c3", "\"RE x \"", "c3", "String[] args", "args" ]
import java.util.*; class Main{ public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int c0 = 0; int c1 = 0; int c2 = 0; int c3 = 0; for(int i = 0; i < n+1; i++){ String s = sc.nextLine(); if(s.equals("AC")){ ++c0; }else if(s.equals("WA")){ ++c1; }else if(s.equals("TLE")){ ++c2; }else if(s.equals("RE")){ ++c3; } } System.out.println("AC x " + c0); System.out.println("WA x " + c1); System.out.println("TLE x " + c2); System.out.println("RE x " + c3); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 0, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 2, 4, 18, 13, 17, 17, 30, 40, 13, 14, 2, 4, 18, 13, 17, 17, 30, 40, 13, 14, 2, 4, 18, 13, 17, 17, 30, 40, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 117, 5 ], [ 117, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 8, 14 ], [ 14, 15 ], [ 14, 16 ], [ 16, 17 ], [ 17, 18 ], [ 8, 19 ], [ 19, 20 ], [ 19, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 32, 33 ], [ 33, 34 ], [ 33, 35 ], [ 31, 36 ], [ 36, 37 ], [ 36, 38 ], [ 31, 39 ], [ 39, 40 ], [ 40, 41 ], [ 31, 42 ], [ 43, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 49, 56 ], [ 56, 57 ], [ 57, 58 ], [ 49, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 59, 66 ], [ 66, 67 ], [ 67, 68 ], [ 59, 69 ], [ 69, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 69, 76 ], [ 76, 77 ], [ 77, 78 ], [ 69, 79 ], [ 79, 80 ], [ 80, 81 ], [ 8, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 8, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 6, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "import java.util.*;\npublic class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n int n;\n n=in.nextInt();\n int ac=0,wa=0,tle=0,re=0;\n for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "import java.util.*;", "util.*", "java", "public class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n int n;\n n=in.nextInt();\n int ac=0,wa=0,tle=0,re=0;\n for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "Main", "public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n int n;\n n=in.nextInt();\n int ac=0,wa=0,tle=0,re=0;\n for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "main", "{\n Scanner in=new Scanner(System.in);\n int n;\n n=in.nextInt();\n int ac=0,wa=0,tle=0,re=0;\n for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "Scanner in=new Scanner(System.in);", "in", "new Scanner(System.in)", "int n;", "n", "n=in.nextInt()", "n", "in.nextInt()", "in.nextInt", "in", "int ac=0", "ac", "0", "wa=0", "wa", "0", "tle=0", "tle", "0", "re=0;", "re", "0", "for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }", "int i=1;", "int i=1;", "i", "1", "i<=n", "i", "n", "i++", "i++", "i", "{\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }", "{\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }", "String s=in.next();", "s", "in.next()", "in.next", "in", "if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }", "s.compareTo(\"AC\")==0", "s.compareTo(\"AC\")", "s.compareTo", "s", "\"AC\"", "0", "{\n ac++;\n }", "ac++", "ac", "if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }", "s.compareTo(\"TLE\")==0", "s.compareTo(\"TLE\")", "s.compareTo", "s", "\"TLE\"", "0", "{\n tle++;\n }", "tle++", "tle", "if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }", "s.compareTo(\"WA\")==0", "s.compareTo(\"WA\")", "s.compareTo", "s", "\"WA\"", "0", "{\n wa++;\n }", "wa++", "wa", "{\n re++;\n }", "re++", "re", "System.out.println(\"AC x \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ac", "\"AC x \"", "ac", "System.out.println(\"WA x \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+re", "\"RE x \"", "re", "String args[]", "args", "public class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n int n;\n n=in.nextInt();\n int ac=0,wa=0,tle=0,re=0;\n for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "public class Main\n{\n public static void main(String args[])\n {\n Scanner in=new Scanner(System.in);\n int n;\n n=in.nextInt();\n int ac=0,wa=0,tle=0,re=0;\n for(int i=1;i<=n;i++)\n {\n String s=in.next();\n if(s.compareTo(\"AC\")==0)\n {\n ac++;\n }\n else if(s.compareTo(\"TLE\")==0)\n {\n tle++;\n }\n else if(s.compareTo(\"WA\")==0)\n {\n wa++;\n }\n else\n {\n re++;\n }\n }\n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n}", "Main" ]
import java.util.*; public class Main { public static void main(String args[]) { Scanner in=new Scanner(System.in); int n; n=in.nextInt(); int ac=0,wa=0,tle=0,re=0; for(int i=1;i<=n;i++) { String s=in.next(); if(s.compareTo("AC")==0) { ac++; } else if(s.compareTo("TLE")==0) { tle++; } else if(s.compareTo("WA")==0) { wa++; } else { re++; } } System.out.println("AC x "+ac); System.out.println("WA x "+wa); System.out.println("TLE x "+tle); System.out.println("RE x "+re); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 12, 13, 30, 41, 13, 0, 13, 4, 18, 13, 41, 13, 20, 42, 2, 40, 13, 17, 30, 41, 13, 0, 13, 4, 18, 13, 14, 4, 18, 13, 13, 30, 4, 18, 13, 13, 2, 4, 18, 13, 13, 17, 30, 4, 18, 13, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 17, 4, 18, 13, 17, 30, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 17, 4, 18, 13, 17, 30, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 17, 4, 18, 13, 17, 30, 4, 18, 13, 17, 14, 4, 18, 13, 17, 30, 4, 18, 13, 2, 17, 4, 18, 13, 17, 30, 4, 18, 13, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 4, 13, 17, 23, 13, 12, 13, 30, 0, 13, 20, 23, 13, 12, 13, 30, 38, 5, 13, 30, 29, 17, 30, 29, 4, 18, 13, 12, 13, 30, 42, 40, 4, 18, 13, 30, 41, 13, 4, 13, 14, 2, 13, 17, 29, 17, 4, 13, 13, 29, 17, 12, 13, 30, 4, 13, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 19, 20 ], [ 19, 21 ], [ 0, 22 ], [ 22, 23 ], [ 22, 24 ], [ 0, 25 ], [ 25, 26 ], [ 25, 27 ], [ 0, 28 ], [ 28, 29 ], [ 28, 30 ], [ 0, 31 ], [ 31, 32 ], [ 31, 33 ], [ 0, 34 ], [ 34, 35 ], [ 34, 36 ], [ 0, 37 ], [ 37, 38 ], [ 37, 39 ], [ 0, 40 ], [ 40, 41 ], [ 40, 42 ], [ 0, 43 ], [ 43, 44 ], [ 43, 45 ], [ 0, 46 ], [ 46, 47 ], [ 46, 48 ], [ 0, 49 ], [ 272, 50 ], [ 272, 51 ], [ 51, 52 ], [ 51, 53 ], [ 272, 54 ], [ 54, 55 ], [ 54, 56 ], [ 272, 57 ], [ 57, 58 ], [ 57, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 59, 67 ], [ 67, 68 ], [ 67, 69 ], [ 59, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 75, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 83, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 89, 92 ], [ 89, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 94, 97 ], [ 93, 98 ], [ 83, 99 ], [ 99, 100 ], [ 100, 101 ], [ 101, 102 ], [ 100, 103 ], [ 100, 104 ], [ 59, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 105, 110 ], [ 110, 111 ], [ 111, 112 ], [ 112, 113 ], [ 111, 114 ], [ 114, 115 ], [ 114, 116 ], [ 116, 117 ], [ 117, 118 ], [ 116, 119 ], [ 105, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 121, 124 ], [ 59, 125 ], [ 125, 126 ], [ 126, 127 ], [ 127, 128 ], [ 126, 129 ], [ 125, 130 ], [ 130, 131 ], [ 131, 132 ], [ 132, 133 ], [ 131, 134 ], [ 134, 135 ], [ 134, 136 ], [ 136, 137 ], [ 137, 138 ], [ 136, 139 ], [ 125, 140 ], [ 140, 141 ], [ 141, 142 ], [ 142, 143 ], [ 141, 144 ], [ 59, 145 ], [ 145, 146 ], [ 146, 147 ], [ 147, 148 ], [ 146, 149 ], [ 145, 150 ], [ 150, 151 ], [ 151, 152 ], [ 152, 153 ], [ 151, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 156, 159 ], [ 145, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 161, 164 ], [ 59, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 165, 170 ], [ 170, 171 ], [ 171, 172 ], [ 172, 173 ], [ 171, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 176, 179 ], [ 165, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 181, 184 ], [ 59, 185 ], [ 185, 186 ], [ 186, 187 ], [ 57, 188 ], [ 188, 189 ], [ 272, 190 ], [ 190, 191 ], [ 190, 192 ], [ 192, 193 ], [ 190, 194 ], [ 194, 195 ], [ 190, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 202 ], [ 202, 203 ], [ 202, 204 ], [ 196, 205 ], [ 205, 206 ], [ 190, 207 ], [ 207, 208 ], [ 207, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 207, 213 ], [ 213, 214 ], [ 190, 215 ], [ 215, 216 ], [ 215, 217 ], [ 217, 218 ], [ 218, 219 ], [ 219, 220 ], [ 219, 221 ], [ 221, 222 ], [ 222, 223 ], [ 218, 224 ], [ 224, 225 ], [ 225, 226 ], [ 226, 227 ], [ 227, 228 ], [ 190, 229 ], [ 229, 230 ], [ 229, 231 ], [ 231, 232 ], [ 232, 233 ], [ 233, 234 ], [ 234, 235 ], [ 235, 236 ], [ 232, 237 ], [ 237, 238 ], [ 238, 239 ], [ 238, 240 ], [ 240, 241 ], [ 237, 242 ], [ 242, 243 ], [ 243, 244 ], [ 243, 245 ], [ 242, 246 ], [ 246, 247 ], [ 237, 248 ], [ 248, 249 ], [ 248, 250 ], [ 231, 251 ], [ 251, 252 ], [ 190, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 256, 257 ], [ 255, 258 ], [ 258, 259 ], [ 259, 260 ], [ 260, 261 ], [ 190, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 267, 268 ], [ 266, 269 ], [ 269, 270 ], [ 0, 271 ], [ 271, 272 ], [ 271, 273 ] ]
[ "import java.io.BufferedReader;\nimport java.io.BufferedWriter;\nimport java.io.IOException;\nimport java.io.InputStream;\nimport java.io.InputStreamReader;\nimport java.io.OutputStreamWriter;\nimport java.io.PrintWriter;\nimport java.math.BigInteger;\nimport java.util.Arrays;\nimport java.util.HashMap;\nimport java.util.Random;\nimport java.util.Scanner;\nimport java.util.Stack;\nimport java.util.StringTokenizer;\nimport java.util.TreeMap;\nimport java.util.Vector;\n\npublic class Main {\n\tstatic class FastScanner{//用于快速读入大量数据\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic FastScanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}\n\t\tpublic void eat(String s) {\n\t\t\tst = new StringTokenizer(s);\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\tpublic boolean hasNext() {\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\tpublic String next() {\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\tstatic FastScanner cin = new FastScanner(System.in);//快读\n\tstatic PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));//快速输出\n\t\n\t public static void main(String args[]) {\n\t\t int t;\n\t\t t=cin.nextInt();\n\t\t HashMap<String,Integer>mp=new HashMap<>();\n while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }\n if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }\n if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }\n if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }\n \n \n out.flush();\n\t }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.BufferedWriter;", "BufferedWriter", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "import java.io.OutputStreamWriter;", "OutputStreamWriter", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.math.BigInteger;", "BigInteger", "java.math", "import java.util.Arrays;", "Arrays", "java.util", "import java.util.HashMap;", "HashMap", "java.util", "import java.util.Random;", "Random", "java.util", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Stack;", "Stack", "java.util", "import java.util.StringTokenizer;", "StringTokenizer", "java.util", "import java.util.TreeMap;", "TreeMap", "java.util", "import java.util.Vector;", "Vector", "java.util", "public class Main {\n\tstatic class FastScanner{//用于快速读入大量数据\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic FastScanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}\n\t\tpublic void eat(String s) {\n\t\t\tst = new StringTokenizer(s);\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\tpublic boolean hasNext() {\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\tpublic String next() {\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\tstatic FastScanner cin = new FastScanner(System.in);//快读\n\tstatic PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));//快速输出\n\t\n\t public static void main(String args[]) {\n\t\t int t;\n\t\t t=cin.nextInt();\n\t\t HashMap<String,Integer>mp=new HashMap<>();\n while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }\n if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }\n if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }\n if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }\n \n \n out.flush();\n\t }\n}", "Main", "static FastScanner cin = new FastScanner(System.in);//快读", "cin", "new FastScanner(System.in)", "static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));//快速输出", "out", "new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)))", "public static void main(String args[]) {\n\t\t int t;\n\t\t t=cin.nextInt();\n\t\t HashMap<String,Integer>mp=new HashMap<>();\n while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }\n if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }\n if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }\n if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }\n \n \n out.flush();\n\t }", "main", "{\n\t\t int t;\n\t\t t=cin.nextInt();\n\t\t HashMap<String,Integer>mp=new HashMap<>();\n while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }\n if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }\n if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }\n if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }\n \n \n out.flush();\n\t }", "int t;", "t", "t=cin.nextInt()", "t", "cin.nextInt()", "cin.nextInt", "cin", "HashMap<String,Integer>mp=new HashMap<>();", "mp", "new HashMap<>()", "while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }", "t-->0", "t--", "t", "0", "{\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }", "String str;", "str", "str=cin.next()", "str", "cin.next()", "cin.next", "cin", "if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }", "mp.containsKey(str)", "mp.containsKey", "mp", "str", "{\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }", "mp.put(str,mp.get(str)+1)", "mp.put", "mp", "str", "mp.get(str)+1", "mp.get(str)", "mp.get", "mp", "str", "1", "{\n\t\t \t mp.put(str, 1);\n\t\t }", "mp.put(str, 1)", "mp.put", "mp", "str", "1", "if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }", "mp.containsKey(\"AC\")", "mp.containsKey", "mp", "\"AC\"", "{\n out.println(\"AC x \"+mp.get(\"AC\"));\n }", "out.println(\"AC x \"+mp.get(\"AC\"))", "out.println", "out", "\"AC x \"+mp.get(\"AC\")", "\"AC x \"", "mp.get(\"AC\")", "mp.get", "mp", "\"AC\"", "{\n \t out.println(\"AC x 0\");\n }", "out.println(\"AC x 0\")", "out.println", "out", "\"AC x 0\"", "if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }", "mp.containsKey(\"WA\")", "mp.containsKey", "mp", "\"WA\"", "{\n out.println(\"WA x \"+mp.get(\"WA\"));\n }", "out.println(\"WA x \"+mp.get(\"WA\"))", "out.println", "out", "\"WA x \"+mp.get(\"WA\")", "\"WA x \"", "mp.get(\"WA\")", "mp.get", "mp", "\"WA\"", "{\n \t out.println(\"WA x 0\");\n }", "out.println(\"WA x 0\")", "out.println", "out", "\"WA x 0\"", "if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }", "mp.containsKey(\"TLE\")", "mp.containsKey", "mp", "\"TLE\"", "{\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }", "out.println(\"TLE x \"+mp.get(\"TLE\"))", "out.println", "out", "\"TLE x \"+mp.get(\"TLE\")", "\"TLE x \"", "mp.get(\"TLE\")", "mp.get", "mp", "\"TLE\"", "{\n \t out.println(\"TLE x 0\");\n }", "out.println(\"TLE x 0\")", "out.println", "out", "\"TLE x 0\"", "if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }", "mp.containsKey(\"RE\")", "mp.containsKey", "mp", "\"RE\"", "{\n out.println(\"RE x \"+mp.get(\"RE\"));\n }", "out.println(\"RE x \"+mp.get(\"RE\"))", "out.println", "out", "\"RE x \"+mp.get(\"RE\")", "\"RE x \"", "mp.get(\"RE\")", "mp.get", "mp", "\"RE\"", "{\n \t out.println(\"RE x 0\");\n }", "out.println(\"RE x 0\")", "out.println", "out", "\"RE x 0\"", "out.flush()", "out.flush", "out", "String args[]", "args", "static class FastScanner{//用于快速读入大量数据\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic FastScanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}\n\t\tpublic void eat(String s) {\n\t\t\tst = new StringTokenizer(s);\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\tpublic boolean hasNext() {\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\tpublic String next() {\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}", "FastScanner", "BufferedReader br;", "br", "StringTokenizer st;", "st", "public FastScanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}", "FastScanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}", "br = new BufferedReader(new InputStreamReader(in),16384)", "br", "new BufferedReader(new InputStreamReader(in),16384)", "eat(\"\")", "eat", "\"\"", "InputStream in", "in", "public void eat(String s) {\n\t\t\tst = new StringTokenizer(s);\n\t\t}", "eat", "{\n\t\t\tst = new StringTokenizer(s);\n\t\t}", "st = new StringTokenizer(s)", "st", "new StringTokenizer(s)", "String s", "s", "public String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}", "nextLine", "{\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}", "try {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}", "catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}", "IOException e", "{\n\t\t\t\treturn null;\n\t\t\t}", "return null;", "null", "{\n\t\t\t\treturn br.readLine();\n\t\t\t}", "return br.readLine();", "br.readLine()", "br.readLine", "br", "public boolean hasNext() {\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "hasNext", "{\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}", "while(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}", "!st.hasMoreTokens()", "st.hasMoreTokens()", "st.hasMoreTokens", "st", "{\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}", "String s = nextLine();", "s", "nextLine()", "nextLine", "if(s==null) return false;", "s==null", "s", "null", "return false;", "false", "eat(s)", "eat", "s", "return true;", "true", "public String next() {\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}", "next", "{\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}", "hasNext()", "hasNext", "return st.nextToken();", "st.nextToken()", "st.nextToken", "st", "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 class Main {\n\tstatic class FastScanner{//用于快速读入大量数据\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic FastScanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}\n\t\tpublic void eat(String s) {\n\t\t\tst = new StringTokenizer(s);\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\tpublic boolean hasNext() {\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\tpublic String next() {\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\tstatic FastScanner cin = new FastScanner(System.in);//快读\n\tstatic PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));//快速输出\n\t\n\t public static void main(String args[]) {\n\t\t int t;\n\t\t t=cin.nextInt();\n\t\t HashMap<String,Integer>mp=new HashMap<>();\n while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }\n if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }\n if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }\n if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }\n \n \n out.flush();\n\t }\n}", "public class Main {\n\tstatic class FastScanner{//用于快速读入大量数据\n\t\tBufferedReader br;\n\t\tStringTokenizer st;\n\t\tpublic FastScanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in),16384);\n\t\t\teat(\"\");\n\t\t}\n\t\tpublic void eat(String s) {\n\t\t\tst = new StringTokenizer(s);\n\t\t}\n\t\tpublic String nextLine() {\n\t\t\ttry {\n\t\t\t\treturn br.readLine();\n\t\t\t} catch (IOException e) {\n\t\t\t\treturn null;\n\t\t\t}\n\t\t}\n\t\tpublic boolean hasNext() {\n\t\t\twhile(!st.hasMoreTokens()) {\n\t\t\t\tString s = nextLine();\n\t\t\t\tif(s==null) return false;\n\t\t\t\teat(s);\n\t\t\t}\n\t\t\treturn true;\n\t\t}\n\t\tpublic String next() {\n\t\t\thasNext();\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic int nextInt() {\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t}\n\n\tstatic FastScanner cin = new FastScanner(System.in);//快读\n\tstatic PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));//快速输出\n\t\n\t public static void main(String args[]) {\n\t\t int t;\n\t\t t=cin.nextInt();\n\t\t HashMap<String,Integer>mp=new HashMap<>();\n while(t-->0) {\n\t\t String str;\n\t\t str=cin.next();\n\t\t if(mp.containsKey(str)) {\n\t\t mp.put(str,mp.get(str)+1);\n\t\t }\n\t\t else {\n\t\t \t mp.put(str, 1);\n\t\t }\n \t \n\t\t }\n if(mp.containsKey(\"AC\")) {\n out.println(\"AC x \"+mp.get(\"AC\"));\n }\n else {\n \t out.println(\"AC x 0\");\n }\n if(mp.containsKey(\"WA\")) {\n out.println(\"WA x \"+mp.get(\"WA\"));\n }\n else {\n \t out.println(\"WA x 0\");\n }\n if(mp.containsKey(\"TLE\")) {\n out.println(\"TLE x \"+mp.get(\"TLE\"));\n }\n else {\n \t out.println(\"TLE x 0\");\n }if(mp.containsKey(\"RE\")) {\n out.println(\"RE x \"+mp.get(\"RE\"));\n }\n else {\n \t out.println(\"RE x 0\");\n }\n \n \n out.flush();\n\t }\n}", "Main" ]
import java.io.BufferedReader; import java.io.BufferedWriter; import java.io.IOException; import java.io.InputStream; import java.io.InputStreamReader; import java.io.OutputStreamWriter; import java.io.PrintWriter; import java.math.BigInteger; import java.util.Arrays; import java.util.HashMap; import java.util.Random; import java.util.Scanner; import java.util.Stack; import java.util.StringTokenizer; import java.util.TreeMap; import java.util.Vector; public class Main { static class FastScanner{//用于快速读入大量数据 BufferedReader br; StringTokenizer st; public FastScanner(InputStream in) { br = new BufferedReader(new InputStreamReader(in),16384); eat(""); } public void eat(String s) { st = new StringTokenizer(s); } public String nextLine() { try { return br.readLine(); } catch (IOException e) { return null; } } public boolean hasNext() { while(!st.hasMoreTokens()) { String s = nextLine(); if(s==null) return false; eat(s); } return true; } public String next() { hasNext(); return st.nextToken(); } public int nextInt() { return Integer.parseInt(next()); } } static FastScanner cin = new FastScanner(System.in);//快读 static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));//快速输出 public static void main(String args[]) { int t; t=cin.nextInt(); HashMap<String,Integer>mp=new HashMap<>(); while(t-->0) { String str; str=cin.next(); if(mp.containsKey(str)) { mp.put(str,mp.get(str)+1); } else { mp.put(str, 1); } } if(mp.containsKey("AC")) { out.println("AC x "+mp.get("AC")); } else { out.println("AC x 0"); } if(mp.containsKey("WA")) { out.println("WA x "+mp.get("WA")); } else { out.println("WA x 0"); } if(mp.containsKey("TLE")) { out.println("TLE x "+mp.get("TLE")); } else { out.println("TLE x 0"); }if(mp.containsKey("RE")) { out.println("RE x "+mp.get("RE")); } else { out.println("RE x 0"); } out.flush(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 111, 5 ], [ 111, 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, 23 ], [ 23, 24 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 50, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 50, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 50, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 8, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 6, 108 ], [ 108, 109 ], [ 0, 110 ], [ 110, 111 ], [ 110, 112 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner console = new Scanner(System.in);\n \tint num = console.nextInt();\n console.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner console = new Scanner(System.in);\n \tint num = console.nextInt();\n console.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner console = new Scanner(System.in);\n \tint num = console.nextInt();\n console.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}", "main", "{\n\t\tScanner console = new Scanner(System.in);\n \tint num = console.nextInt();\n console.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}", "Scanner console = new Scanner(System.in);", "console", "new Scanner(System.in)", "int num = console.nextInt();", "num", "console.nextInt()", "console.nextInt", "console", "console.nextLine()", "console.nextLine", "console", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < num", "i", "num", "i++", "i++", "i", "{\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }", "{\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }", "String str = console.nextLine();", "str", "console.nextLine()", "console.nextLine", "console", "switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }", "str", "case \"AC\":", "\"AC\"", "case \"AC\":", "ac++", "ac", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "wa++", "wa", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tle++", "tle", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "re++", "re", "break;", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner console = new Scanner(System.in);\n \tint num = console.nextInt();\n console.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner console = new Scanner(System.in);\n \tint num = console.nextInt();\n console.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < num; i++){\n String str = console.nextLine();\n switch(str){\n case \"AC\":\n ac++;\n break;\n case \"WA\":\n wa++;\n break;\n case \"TLE\":\n tle++;\n break;\n case \"RE\":\n re++;\n break;\n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args){ Scanner console = new Scanner(System.in); int num = console.nextInt(); console.nextLine(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 0; i < num; i++){ String str = console.nextLine(); switch(str){ case "AC": ac++; break; case "WA": wa++; break; case "TLE": tle++; break; case "RE": re++; break; } } // 最終出力 System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 40, 18, 13, 17, 14, 4, 18, 17, 13, 40, 18, 13, 17, 14, 4, 18, 17, 13, 40, 18, 13, 17, 14, 4, 18, 17, 13, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 120, 5 ], [ 120, 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, 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 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 35, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 35, 59 ], [ 59, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 59, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 35, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "// 今回でいえば、A問題の方が実装難しいです・・・。\nimport java.util.Scanner;\n\npublic class Main {\n\n public static void main(String[] args) {\n // 準備\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s;\n\n int[] ans = new int[4];\n\n for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }\n\n System.out.println(\"AC x \" + ans[0]);\n System.out.println(\"WA x \" + ans[1]);\n System.out.println(\"TLE x \" + ans[2]);\n System.out.println(\"RE x \" + ans[3]);\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 n = sc.nextInt();\n String s;\n\n int[] ans = new int[4];\n\n for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }\n\n System.out.println(\"AC x \" + ans[0]);\n System.out.println(\"WA x \" + ans[1]);\n System.out.println(\"TLE x \" + ans[2]);\n System.out.println(\"RE x \" + ans[3]);\n }\n}", "Main", "public static void main(String[] args) {\n // 準備\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s;\n\n int[] ans = new int[4];\n\n for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }\n\n System.out.println(\"AC x \" + ans[0]);\n System.out.println(\"WA x \" + ans[1]);\n System.out.println(\"TLE x \" + ans[2]);\n System.out.println(\"RE x \" + ans[3]);\n }", "main", "{\n // 準備\n Scanner sc = new Scanner(System.in);\n int n = sc.nextInt();\n String s;\n\n int[] ans = new int[4];\n\n for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }\n\n System.out.println(\"AC x \" + ans[0]);\n System.out.println(\"WA x \" + ans[1]);\n System.out.println(\"TLE x \" + ans[2]);\n System.out.println(\"RE x \" + ans[3]);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String s;", "s", "int[] ans = new int[4];", "ans", "new int[4]", "4", "for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "++i", "++i", "i", "{\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }", "{\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }", "s = sc.next()", "s", "sc.next()", "sc.next", "sc", "if(\"AC\".equals(s))\n ans[0]++;", "\"AC\".equals(s)", "\"AC\".equals", "\"AC\"", "s", "ans[0]++", "ans[0]", "ans", "0", "if(\"WA\".equals(s))\n ans[1]++;", "\"WA\".equals(s)", "\"WA\".equals", "\"WA\"", "s", "ans[1]++", "ans[1]", "ans", "1", "if(\"TLE\".equals(s))\n ans[2]++;", "\"TLE\".equals(s)", "\"TLE\".equals", "\"TLE\"", "s", "ans[2]++", "ans[2]", "ans", "2", "if(\"RE\".equals(s))\n ans[3]++;", "\"RE\".equals(s)", "\"RE\".equals", "\"RE\"", "s", "ans[3]++", "ans[3]", "ans", "3", "System.out.println(\"AC x \" + ans[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ans[0]", "\"AC x \"", "ans[0]", "ans", "0", "System.out.println(\"WA x \" + ans[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + ans[1]", "\"WA x \"", "ans[1]", "ans", "1", "System.out.println(\"TLE x \" + ans[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + ans[2]", "\"TLE x \"", "ans[2]", "ans", "2", "System.out.println(\"RE x \" + ans[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + ans[3]", "\"RE x \"", "ans[3]", "ans", "3", "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();\n String s;\n\n int[] ans = new int[4];\n\n for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }\n\n System.out.println(\"AC x \" + ans[0]);\n System.out.println(\"WA x \" + ans[1]);\n System.out.println(\"TLE x \" + ans[2]);\n System.out.println(\"RE x \" + ans[3]);\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();\n String s;\n\n int[] ans = new int[4];\n\n for(int i=0; i<n; ++i) {\n s = sc.next();\n if(\"AC\".equals(s))\n ans[0]++;\n if(\"WA\".equals(s))\n ans[1]++;\n if(\"TLE\".equals(s))\n ans[2]++;\n if(\"RE\".equals(s))\n ans[3]++;\n }\n\n System.out.println(\"AC x \" + ans[0]);\n System.out.println(\"WA x \" + ans[1]);\n System.out.println(\"TLE x \" + ans[2]);\n System.out.println(\"RE x \" + ans[3]);\n }\n}", "Main" ]
// 今回でいえば、A問題の方が実装難しいです・・・。 import java.util.Scanner; public class Main { public static void main(String[] args) { // 準備 Scanner sc = new Scanner(System.in); int n = sc.nextInt(); String s; int[] ans = new int[4]; for(int i=0; i<n; ++i) { s = sc.next(); if("AC".equals(s)) ans[0]++; if("WA".equals(s)) ans[1]++; if("TLE".equals(s)) ans[2]++; if("RE".equals(s)) ans[3]++; } System.out.println("AC x " + ans[0]); System.out.println("WA x " + ans[1]); System.out.println("TLE x " + ans[2]); System.out.println("RE x " + ans[3]); } }
[ 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, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 112, 11 ], [ 112, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 15, 17 ], [ 14, 18 ], [ 18, 19 ], [ 18, 20 ], [ 20, 21 ], [ 21, 22 ], [ 14, 23 ], [ 23, 24 ], [ 24, 25 ], [ 14, 26 ], [ 26, 27 ], [ 26, 28 ], [ 14, 29 ], [ 29, 30 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 38 ], [ 38, 39 ], [ 39, 40 ], [ 40, 41 ], [ 39, 42 ], [ 38, 43 ], [ 43, 44 ], [ 44, 45 ], [ 44, 46 ], [ 46, 47 ], [ 47, 48 ], [ 43, 49 ], [ 49, 50 ], [ 50, 51 ], [ 51, 52 ], [ 50, 53 ], [ 49, 54 ], [ 54, 55 ], [ 49, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 56, 61 ], [ 61, 62 ], [ 56, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 64, 67 ], [ 63, 68 ], [ 68, 69 ], [ 63, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 71, 74 ], [ 70, 75 ], [ 75, 76 ], [ 14, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 14, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 87, 89 ], [ 85, 90 ], [ 90, 91 ], [ 90, 92 ], [ 14, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 14, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 106, 107 ], [ 106, 108 ], [ 12, 109 ], [ 109, 110 ], [ 0, 111 ], [ 111, 112 ], [ 111, 113 ] ]
[ "import java.io.*;\nimport java.lang.*;\nimport java.util.*;\n\n public class Main{\n \n public static void main(String args[]){\n \n Scanner s = new Scanner(System.in);\n \n int x =s.nextInt();\n s.nextLine();\n int ac=0,wa=0,tle=0,re=0;\n while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }\n \n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n \n}", "import java.io.*;", "io.*", "java", "import java.lang.*;", "lang.*", "java", "import java.util.*;", "util.*", "java", "public class Main{\n \n public static void main(String args[]){\n \n Scanner s = new Scanner(System.in);\n \n int x =s.nextInt();\n s.nextLine();\n int ac=0,wa=0,tle=0,re=0;\n while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }\n \n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n \n}", "Main", "public static void main(String args[]){\n \n Scanner s = new Scanner(System.in);\n \n int x =s.nextInt();\n s.nextLine();\n int ac=0,wa=0,tle=0,re=0;\n while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }\n \n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "main", "{\n \n Scanner s = new Scanner(System.in);\n \n int x =s.nextInt();\n s.nextLine();\n int ac=0,wa=0,tle=0,re=0;\n while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }\n \n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }", "Scanner s = new Scanner(System.in);", "s", "new Scanner(System.in)", "int x =s.nextInt();", "x", "s.nextInt()", "s.nextInt", "s", "s.nextLine()", "s.nextLine", "s", "int ac=0", "ac", "0", "wa=0", "wa", "0", "tle=0", "tle", "0", "re=0;", "re", "0", "while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }", "x-- >0", "x--", "x", "0", "{\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }", "String g = s.nextLine();", "g", "s.nextLine()", "s.nextLine", "s", "if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;", "g.equals(\"AC\")", "g.equals", "g", "\"AC\"", "ac++", "ac", "if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;", "g.equals(\"WA\")", "g.equals", "g", "\"WA\"", "wa++", "wa", "if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;", "g.equals(\"TLE\")", "g.equals", "g", "\"TLE\"", "tle++", "tle", "if(g.equals(\"RE\"))\n re++;", "g.equals(\"RE\")", "g.equals", "g", "\"RE\"", "re++", "re", "System.out.println(\"AC x \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ac", "\"AC x \"", "ac", "System.out.println(\"WA x \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+re", "\"RE x \"", "re", "String args[]", "args", "public class Main{\n \n public static void main(String args[]){\n \n Scanner s = new Scanner(System.in);\n \n int x =s.nextInt();\n s.nextLine();\n int ac=0,wa=0,tle=0,re=0;\n while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }\n \n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n \n}", "public class Main{\n \n public static void main(String args[]){\n \n Scanner s = new Scanner(System.in);\n \n int x =s.nextInt();\n s.nextLine();\n int ac=0,wa=0,tle=0,re=0;\n while(x-- >0){\n String g = s.nextLine();\n if(g.equals(\"AC\"))\n ac++;\n else if(g.equals(\"WA\"))\n wa++;\n else if(g.equals(\"TLE\"))\n tle++;\n else if(g.equals(\"RE\"))\n re++;\n \n }\n \n System.out.println(\"AC x \"+ac);\n System.out.println(\"WA x \"+wa);\n System.out.println(\"TLE x \"+tle);\n System.out.println(\"RE x \"+re);\n }\n \n}", "Main" ]
import java.io.*; import java.lang.*; import java.util.*; public class Main{ public static void main(String args[]){ Scanner s = new Scanner(System.in); int x =s.nextInt(); s.nextLine(); int ac=0,wa=0,tle=0,re=0; while(x-- >0){ String g = s.nextLine(); if(g.equals("AC")) ac++; else if(g.equals("WA")) wa++; else if(g.equals("TLE")) tle++; else if(g.equals("RE")) re++; } System.out.println("AC x "+ac); System.out.println("WA x "+wa); System.out.println("TLE x "+tle); System.out.println("RE x "+re); } }
[ 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, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 13, 40, 13, 14, 4, 18, 13, 13, 40, 13, 14, 4, 18, 13, 13, 40, 13, 40, 13, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 4, 18, 18, 13, 13, 2, 2, 13, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 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 ], [ 29, 31 ], [ 14, 32 ], [ 32, 33 ], [ 32, 34 ], [ 14, 35 ], [ 35, 36 ], [ 35, 37 ], [ 14, 38 ], [ 38, 39 ], [ 38, 40 ], [ 14, 41 ], [ 41, 42 ], [ 41, 43 ], [ 14, 44 ], [ 44, 45 ], [ 44, 46 ], [ 14, 47 ], [ 47, 48 ], [ 47, 49 ], [ 14, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 52, 54 ], [ 50, 55 ], [ 55, 56 ], [ 55, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 50, 61 ], [ 62, 62 ], [ 62, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 62, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 68, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 75, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 82, 87 ], [ 87, 88 ], [ 82, 89 ], [ 89, 90 ], [ 14, 91 ], [ 91, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 91, 96 ], [ 97, 97 ], [ 97, 98 ], [ 97, 99 ], [ 97, 100 ], [ 14, 101 ], [ 101, 102 ], [ 102, 103 ], [ 103, 104 ], [ 103, 105 ], [ 101, 106 ], [ 107, 107 ], [ 107, 108 ], [ 107, 109 ], [ 107, 110 ], [ 14, 111 ], [ 111, 112 ], [ 112, 113 ], [ 113, 114 ], [ 113, 115 ], [ 111, 116 ], [ 117, 117 ], [ 117, 118 ], [ 117, 119 ], [ 117, 120 ], [ 14, 121 ], [ 121, 122 ], [ 122, 123 ], [ 123, 124 ], [ 123, 125 ], [ 121, 126 ], [ 127, 127 ], [ 127, 128 ], [ 127, 129 ], [ 127, 130 ], [ 12, 131 ], [ 131, 132 ] ]
[ "import java.io.BufferedReader;\nimport java.io.IOException;\nimport java.io.InputStreamReader;\nclass Main{\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int AC =0, WA=0, TLE =0,RE=0;\n String AC1=\"AC\", WA1=\"WA\", TLE1=\"TLE\", RE1 =\"RE\";\n for(int i=0; i<n; i++){\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }\n System.out.println(AC1+\" x \"+AC);\n System.out.println(WA1+\" x \"+WA);\n System.out.println(TLE1+\" x \"+TLE);\n System.out.println(RE1+\" x \"+RE);\n }\n}", "import java.io.BufferedReader;", "BufferedReader", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStreamReader;", "InputStreamReader", "java.io", "class Main{\n public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int AC =0, WA=0, TLE =0,RE=0;\n String AC1=\"AC\", WA1=\"WA\", TLE1=\"TLE\", RE1 =\"RE\";\n for(int i=0; i<n; i++){\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }\n System.out.println(AC1+\" x \"+AC);\n System.out.println(WA1+\" x \"+WA);\n System.out.println(TLE1+\" x \"+TLE);\n System.out.println(RE1+\" x \"+RE);\n }\n}", "Main", "public static void main(String[] args) throws IOException {\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int AC =0, WA=0, TLE =0,RE=0;\n String AC1=\"AC\", WA1=\"WA\", TLE1=\"TLE\", RE1 =\"RE\";\n for(int i=0; i<n; i++){\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }\n System.out.println(AC1+\" x \"+AC);\n System.out.println(WA1+\" x \"+WA);\n System.out.println(TLE1+\" x \"+TLE);\n System.out.println(RE1+\" x \"+RE);\n }", "main", "{\n BufferedReader br = new BufferedReader(new InputStreamReader(System.in));\n int n = Integer.parseInt(br.readLine());\n int AC =0, WA=0, TLE =0,RE=0;\n String AC1=\"AC\", WA1=\"WA\", TLE1=\"TLE\", RE1 =\"RE\";\n for(int i=0; i<n; i++){\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }\n System.out.println(AC1+\" x \"+AC);\n System.out.println(WA1+\" x \"+WA);\n System.out.println(TLE1+\" x \"+TLE);\n System.out.println(RE1+\" x \"+RE);\n }", "BufferedReader br = new BufferedReader(new InputStreamReader(System.in));", "br", "new BufferedReader(new InputStreamReader(System.in))", "int n = Integer.parseInt(br.readLine());", "n", "Integer.parseInt(br.readLine())", "Integer.parseInt", "Integer", "br.readLine()", "br.readLine", "br", "int AC =0", "AC", "0", "WA=0", "WA", "0", "TLE =0", "TLE", "0", "RE=0;", "RE", "0", "String AC1=\"AC\"", "AC1", "\"AC\"", "WA1=\"WA\"", "WA1", "\"WA\"", "TLE1=\"TLE\"", "TLE1", "\"TLE\"", "RE1 =\"RE\";", "RE1", "\"RE\"", "for(int i=0; i<n; i++){\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }", "{\n String curr = br.readLine();\n if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;\n\n }", "String curr = br.readLine();", "curr", "br.readLine()", "br.readLine", "br", "if(AC1.equals(curr)) AC++;\n else if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;", "AC1.equals(curr)", "AC1.equals", "AC1", "curr", "AC++", "AC", "if(WA1.equals(curr)) WA++;\n else if(TLE1.equals(curr)) TLE++;\n else RE++;", "WA1.equals(curr)", "WA1.equals", "WA1", "curr", "WA++", "WA", "if(TLE1.equals(curr)) TLE++;\n else RE++;", "TLE1.equals(curr)", "TLE1.equals", "TLE1", "curr", "TLE++", "TLE", "RE++", "RE", "System.out.println(AC1+\" x \"+AC)", "System.out.println", "System.out", "System", "System.out", "AC1+\" x \"+AC", "AC1+\" x \"+AC", "AC1", "\" x \"", "AC", "System.out.println(WA1+\" x \"+WA)", "System.out.println", "System.out", "System", "System.out", "WA1+\" x \"+WA", "WA1+\" x \"+WA", "WA1", "\" x \"", "WA", "System.out.println(TLE1+\" x \"+TLE)", "System.out.println", "System.out", "System", "System.out", "TLE1+\" x \"+TLE", "TLE1+\" x \"+TLE", "TLE1", "\" x \"", "TLE", "System.out.println(RE1+\" x \"+RE)", "System.out.println", "System.out", "System", "System.out", "RE1+\" x \"+RE", "RE1+\" x \"+RE", "RE1", "\" x \"", "RE", "String[] args", "args" ]
import java.io.BufferedReader; import java.io.IOException; import java.io.InputStreamReader; class Main{ public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); int n = Integer.parseInt(br.readLine()); int AC =0, WA=0, TLE =0,RE=0; String AC1="AC", WA1="WA", TLE1="TLE", RE1 ="RE"; for(int i=0; i<n; i++){ String curr = br.readLine(); if(AC1.equals(curr)) AC++; else if(WA1.equals(curr)) WA++; else if(TLE1.equals(curr)) TLE++; else RE++; } System.out.println(AC1+" x "+AC); System.out.println(WA1+" x "+WA); System.out.println(TLE1+" x "+TLE); System.out.println(RE1+" x "+RE); } }
[ 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, 2, 4, 18, 13, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 107, 8 ], [ 107, 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 ], [ 47, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 51, 57 ], [ 11, 58 ], [ 58, 59 ], [ 59, 60 ], [ 58, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 63, 67 ], [ 11, 68 ], [ 68, 69 ], [ 69, 70 ], [ 68, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 73, 76 ], [ 73, 77 ], [ 11, 78 ], [ 78, 79 ], [ 79, 80 ], [ 78, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 84, 85 ], [ 83, 86 ], [ 83, 87 ], [ 11, 88 ], [ 88, 89 ], [ 89, 90 ], [ 88, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 93, 97 ], [ 11, 98 ], [ 98, 99 ], [ 99, 100 ], [ 11, 101 ], [ 101, 102 ], [ 102, 103 ], [ 9, 104 ], [ 104, 105 ], [ 0, 106 ], [ 106, 107 ], [ 106, 108 ] ]
[ "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 HashMap<String,Integer> hmap=new HashMap<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }\n pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0));\n pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0));\n pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0));\n pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0));\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 HashMap<String,Integer> hmap=new HashMap<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }\n pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0));\n pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0));\n pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0));\n pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0));\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 HashMap<String,Integer> hmap=new HashMap<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }\n pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0));\n pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0));\n pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0));\n pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0));\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 HashMap<String,Integer> hmap=new HashMap<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }\n pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0));\n pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0));\n pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0));\n pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0));\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", "HashMap<String,Integer> hmap=new HashMap<>();", "hmap", "new HashMap<>()", "for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }", "{\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }", "String s=br.readLine();", "s", "br.readLine()", "br.readLine", "br", "hmap.put(s,hmap.getOrDefault(s,0)+1)", "hmap.put", "hmap", "s", "hmap.getOrDefault(s,0)+1", "hmap.getOrDefault(s,0)", "hmap.getOrDefault", "hmap", "s", "0", "1", "pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0))", "pw.println", "pw", "\"AC x \"+hmap.getOrDefault(\"AC\",0)", "\"AC x \"", "hmap.getOrDefault(\"AC\",0)", "hmap.getOrDefault", "hmap", "\"AC\"", "0", "pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0))", "pw.println", "pw", "\"WA x \"+hmap.getOrDefault(\"WA\",0)", "\"WA x \"", "hmap.getOrDefault(\"WA\",0)", "hmap.getOrDefault", "hmap", "\"WA\"", "0", "pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0))", "pw.println", "pw", "\"TLE x \"+hmap.getOrDefault(\"TLE\",0)", "\"TLE x \"", "hmap.getOrDefault(\"TLE\",0)", "hmap.getOrDefault", "hmap", "\"TLE\"", "0", "pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0))", "pw.println", "pw", "\"RE x \"+hmap.getOrDefault(\"RE\",0)", "\"RE x \"", "hmap.getOrDefault(\"RE\",0)", "hmap.getOrDefault", "hmap", "\"RE\"", "0", "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 HashMap<String,Integer> hmap=new HashMap<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }\n pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0));\n pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0));\n pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0));\n pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0));\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 HashMap<String,Integer> hmap=new HashMap<>();\n for(int i=0;i<n;i++)\n {\n String s=br.readLine();\n hmap.put(s,hmap.getOrDefault(s,0)+1);\n }\n pw.println(\"AC x \"+hmap.getOrDefault(\"AC\",0));\n pw.println(\"WA x \"+hmap.getOrDefault(\"WA\",0));\n pw.println(\"TLE x \"+hmap.getOrDefault(\"TLE\",0));\n pw.println(\"RE x \"+hmap.getOrDefault(\"RE\",0));\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()); HashMap<String,Integer> hmap=new HashMap<>(); for(int i=0;i<n;i++) { String s=br.readLine(); hmap.put(s,hmap.getOrDefault(s,0)+1); } pw.println("AC x "+hmap.getOrDefault("AC",0)); pw.println("WA x "+hmap.getOrDefault("WA",0)); pw.println("TLE x "+hmap.getOrDefault("TLE",0)); pw.println("RE x "+hmap.getOrDefault("RE",0)); pw.flush(); pw.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 34, 17, 1, 40, 13, 3, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 114, 8 ], [ 114, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 11, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 50, 52 ], [ 52, 53 ], [ 52, 54 ], [ 54, 55 ], [ 55, 56 ], [ 54, 57 ], [ 50, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 50, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 66, 69 ], [ 50, 70 ], [ 70, 71 ], [ 70, 72 ], [ 72, 73 ], [ 73, 74 ], [ 72, 75 ], [ 11, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 11, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 11, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 11, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 11, 108 ], [ 108, 109 ], [ 109, 110 ], [ 9, 111 ], [ 111, 112 ], [ 0, 113 ], [ 113, 114 ], [ 113, 115 ] ]
[ "import java.util.Scanner;\nimport java.util.Arrays;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int acN = 0;\n int waN = 0;\n int tleN = 0;\n int reN = 0;\n int n = sc.nextInt();\n for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }\n System.out.println(\"AC x \" + acN);\n System.out.println(\"WA x \" + waN);\n System.out.println(\"TLE x \" + tleN);\n System.out.println(\"RE x \" + reN);\n sc.close();\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "import java.util.Arrays;", "Arrays", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int acN = 0;\n int waN = 0;\n int tleN = 0;\n int reN = 0;\n int n = sc.nextInt();\n for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }\n System.out.println(\"AC x \" + acN);\n System.out.println(\"WA x \" + waN);\n System.out.println(\"TLE x \" + tleN);\n System.out.println(\"RE x \" + reN);\n sc.close();\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int acN = 0;\n int waN = 0;\n int tleN = 0;\n int reN = 0;\n int n = sc.nextInt();\n for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }\n System.out.println(\"AC x \" + acN);\n System.out.println(\"WA x \" + waN);\n System.out.println(\"TLE x \" + tleN);\n System.out.println(\"RE x \" + reN);\n sc.close();\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n int acN = 0;\n int waN = 0;\n int tleN = 0;\n int reN = 0;\n int n = sc.nextInt();\n for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }\n System.out.println(\"AC x \" + acN);\n System.out.println(\"WA x \" + waN);\n System.out.println(\"TLE x \" + tleN);\n System.out.println(\"RE x \" + reN);\n sc.close();\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int acN = 0;", "acN", "0", "int waN = 0;", "waN", "0", "int tleN = 0;", "tleN", "0", "int reN = 0;", "reN", "0", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }", "int cnt = 0;", "int cnt = 0;", "cnt", "0", "cnt < n", "cnt", "n", "cnt++", "cnt++", "cnt", "{\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }", "{\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }", "s", "case \"AC\":", "\"AC\"", "case \"AC\":", "acN++", "acN", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "waN++", "waN", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "tleN++", "tleN", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "reN++", "reN", "break;", "System.out.println(\"AC x \" + acN)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + acN", "\"AC x \"", "acN", "System.out.println(\"WA x \" + waN)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + waN", "\"WA x \"", "waN", "System.out.println(\"TLE x \" + tleN)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tleN", "\"TLE x \"", "tleN", "System.out.println(\"RE x \" + reN)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + reN", "\"RE x \"", "reN", "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 acN = 0;\n int waN = 0;\n int tleN = 0;\n int reN = 0;\n int n = sc.nextInt();\n for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }\n System.out.println(\"AC x \" + acN);\n System.out.println(\"WA x \" + waN);\n System.out.println(\"TLE x \" + tleN);\n System.out.println(\"RE x \" + reN);\n sc.close();\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n int acN = 0;\n int waN = 0;\n int tleN = 0;\n int reN = 0;\n int n = sc.nextInt();\n for (int cnt = 0; cnt < n; cnt++) {\n String s = sc.next();\n switch (s) {\n case \"AC\":\n acN++;\n break;\n case \"WA\":\n waN++;\n break;\n case \"TLE\":\n tleN++;\n break;\n case \"RE\":\n reN++;\n break;\n }\n }\n System.out.println(\"AC x \" + acN);\n System.out.println(\"WA x \" + waN);\n System.out.println(\"TLE x \" + tleN);\n System.out.println(\"RE x \" + reN);\n sc.close();\n }\n}", "Main" ]
import java.util.Scanner; import java.util.Arrays; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int acN = 0; int waN = 0; int tleN = 0; int reN = 0; int n = sc.nextInt(); for (int cnt = 0; cnt < n; cnt++) { String s = sc.next(); switch (s) { case "AC": acN++; break; case "WA": waN++; break; case "TLE": tleN++; break; case "RE": reN++; break; } } System.out.println("AC x " + acN); System.out.println("WA x " + waN); System.out.println("TLE x " + tleN); System.out.println("RE x " + reN); sc.close(); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 20, 41, 13, 20, 41, 13, 12, 13, 30, 0, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 40, 13, 4, 18, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 13, 2, 2, 2, 2, 17, 17, 17, 17, 13, 4, 18, 13, 2, 2, 2, 2, 17, 17, 17, 17, 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, 12, 13, 30, 4, 13, 29, 4, 13, 12, 13, 30, 14, 40, 4, 13, 37, 20, 41, 13, 20, 41, 13, 4, 13, 42, 4, 13, 13, 30, 4, 18, 13, 13, 0, 13, 4, 13, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 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, 29, 4, 13, 12, 13, 30, 14, 13, 30, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 13, 30, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 14, 13, 30, 41, 13, 20, 2, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 13, 29, 13, 23, 13, 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 ], [ 571, 14 ], [ 571, 15 ], [ 15, 16 ], [ 15, 17 ], [ 571, 18 ], [ 18, 19 ], [ 18, 20 ], [ 571, 21 ], [ 21, 22 ], [ 571, 23 ], [ 23, 24 ], [ 23, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 28, 29 ], [ 29, 30 ], [ 25, 31 ], [ 31, 32 ], [ 31, 33 ], [ 25, 34 ], [ 34, 35 ], [ 34, 36 ], [ 25, 37 ], [ 37, 38 ], [ 37, 39 ], [ 25, 40 ], [ 40, 41 ], [ 40, 42 ], [ 25, 43 ], [ 43, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 43, 48 ], [ 48, 49 ], [ 48, 50 ], [ 43, 51 ], [ 51, 52 ], [ 52, 53 ], [ 43, 54 ], [ 55, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 61, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 68, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 76, 79 ], [ 75, 80 ], [ 80, 81 ], [ 75, 82 ], [ 82, 83 ], [ 25, 84 ], [ 84, 85 ], [ 85, 86 ], [ 84, 87 ], [ 90, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 89, 93 ], [ 88, 94 ], [ 90, 95 ], [ 25, 96 ], [ 96, 97 ], [ 97, 98 ], [ 96, 99 ], [ 102, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 101, 105 ], [ 100, 106 ], [ 102, 107 ], [ 25, 108 ], [ 108, 109 ], [ 109, 110 ], [ 108, 111 ], [ 114, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 113, 117 ], [ 112, 118 ], [ 114, 119 ], [ 25, 120 ], [ 120, 121 ], [ 121, 122 ], [ 120, 123 ], [ 126, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 125, 129 ], [ 124, 130 ], [ 126, 131 ], [ 25, 132 ], [ 132, 133 ], [ 133, 134 ], [ 23, 135 ], [ 135, 136 ], [ 571, 137 ], [ 137, 138 ], [ 137, 139 ], [ 139, 140 ], [ 139, 141 ], [ 141, 142 ], [ 141, 143 ], [ 137, 144 ], [ 144, 145 ], [ 144, 146 ], [ 137, 148 ], [ 148, 149 ], [ 148, 150 ], [ 137, 151 ], [ 151, 152 ], [ 151, 153 ], [ 137, 154 ], [ 154, 155 ], [ 154, 156 ], [ 156, 157 ], [ 157, 158 ], [ 158, 159 ], [ 158, 160 ], [ 157, 161 ], [ 161, 162 ], [ 162, 163 ], [ 157, 164 ], [ 164, 165 ], [ 165, 166 ], [ 165, 167 ], [ 164, 168 ], [ 168, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 168, 175 ], [ 175, 176 ], [ 176, 177 ], [ 176, 178 ], [ 178, 179 ], [ 179, 180 ], [ 178, 181 ], [ 164, 182 ], [ 182, 183 ], [ 183, 184 ], [ 183, 185 ], [ 182, 186 ], [ 186, 187 ], [ 187, 188 ], [ 156, 189 ], [ 189, 190 ], [ 137, 191 ], [ 191, 192 ], [ 191, 193 ], [ 193, 194 ], [ 194, 195 ], [ 195, 196 ], [ 194, 197 ], [ 197, 198 ], [ 198, 199 ], [ 198, 200 ], [ 200, 201 ], [ 194, 202 ], [ 202, 203 ], [ 203, 204 ], [ 137, 205 ], [ 205, 206 ], [ 205, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 213, 214 ], [ 213, 215 ], [ 205, 216 ], [ 216, 217 ], [ 137, 218 ], [ 218, 219 ], [ 218, 220 ], [ 220, 221 ], [ 221, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 225, 226 ], [ 226, 227 ], [ 226, 228 ], [ 228, 229 ], [ 228, 230 ], [ 221, 231 ], [ 231, 232 ], [ 137, 233 ], [ 233, 234 ], [ 233, 235 ], [ 235, 236 ], [ 236, 237 ], [ 235, 238 ], [ 238, 239 ], [ 239, 240 ], [ 137, 241 ], [ 241, 242 ], [ 241, 243 ], [ 243, 244 ], [ 244, 245 ], [ 245, 246 ], [ 246, 247 ], [ 244, 248 ], [ 248, 249 ], [ 243, 250 ], [ 250, 251 ], [ 250, 252 ], [ 243, 253 ], [ 253, 254 ], [ 253, 255 ], [ 255, 256 ], [ 243, 257 ], [ 257, 258 ], [ 258, 259 ], [ 258, 260 ], [ 257, 261 ], [ 261, 262 ], [ 262, 263 ], [ 263, 264 ], [ 262, 265 ], [ 261, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 243, 270 ], [ 270, 271 ], [ 271, 272 ], [ 272, 273 ], [ 137, 274 ], [ 274, 275 ], [ 274, 276 ], [ 276, 277 ], [ 277, 278 ], [ 278, 279 ], [ 279, 280 ], [ 278, 281 ], [ 281, 282 ], [ 137, 283 ], [ 283, 284 ], [ 283, 285 ], [ 285, 286 ], [ 286, 287 ], [ 287, 288 ], [ 288, 289 ], [ 286, 290 ], [ 290, 291 ], [ 285, 292 ], [ 292, 293 ], [ 292, 294 ], [ 285, 295 ], [ 295, 296 ], [ 295, 297 ], [ 285, 298 ], [ 298, 299 ], [ 298, 300 ], [ 300, 301 ], [ 285, 302 ], [ 302, 303 ], [ 303, 304 ], [ 303, 305 ], [ 302, 306 ], [ 306, 307 ], [ 307, 308 ], [ 307, 309 ], [ 306, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 285, 314 ], [ 314, 315 ], [ 315, 316 ], [ 316, 317 ], [ 316, 318 ], [ 315, 319 ], [ 319, 320 ], [ 319, 321 ], [ 314, 322 ], [ 322, 323 ], [ 323, 324 ], [ 285, 325 ], [ 325, 326 ], [ 325, 327 ], [ 327, 328 ], [ 328, 329 ], [ 329, 330 ], [ 330, 331 ], [ 330, 332 ], [ 329, 333 ], [ 333, 334 ], [ 333, 335 ], [ 328, 336 ], [ 336, 337 ], [ 337, 338 ], [ 337, 339 ], [ 336, 340 ], [ 340, 341 ], [ 340, 342 ], [ 342, 343 ], [ 342, 344 ], [ 328, 345 ], [ 345, 346 ], [ 346, 347 ], [ 347, 348 ], [ 347, 349 ], [ 349, 350 ], [ 346, 351 ], [ 351, 352 ], [ 352, 353 ], [ 352, 354 ], [ 345, 355 ], [ 355, 356 ], [ 356, 357 ], [ 357, 358 ], [ 357, 359 ], [ 359, 360 ], [ 357, 361 ], [ 345, 362 ], [ 362, 363 ], [ 363, 364 ], [ 327, 365 ], [ 365, 366 ], [ 365, 367 ], [ 367, 368 ], [ 137, 369 ], [ 369, 370 ], [ 369, 371 ], [ 371, 372 ], [ 372, 373 ], [ 373, 374 ], [ 137, 375 ], [ 375, 376 ], [ 375, 377 ], [ 377, 378 ], [ 378, 379 ], [ 378, 380 ], [ 380, 381 ], [ 381, 382 ], [ 381, 383 ], [ 384, 385 ], [ 384, 386 ], [ 380, 387 ], [ 387, 388 ], [ 388, 389 ], [ 389, 390 ], [ 389, 391 ], [ 387, 392 ], [ 392, 393 ], [ 392, 394 ], [ 387, 395 ], [ 395, 396 ], [ 396, 397 ], [ 387, 398 ], [ 399, 399 ], [ 399, 400 ], [ 400, 401 ], [ 401, 402 ], [ 401, 403 ], [ 400, 404 ], [ 404, 405 ], [ 405, 406 ], [ 380, 407 ], [ 407, 408 ], [ 378, 409 ], [ 409, 410 ], [ 410, 411 ], [ 410, 412 ], [ 409, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 416, 418 ], [ 414, 419 ], [ 419, 420 ], [ 419, 421 ], [ 414, 422 ], [ 422, 423 ], [ 423, 424 ], [ 414, 425 ], [ 426, 426 ], [ 426, 427 ], [ 427, 428 ], [ 428, 429 ], [ 428, 430 ], [ 427, 431 ], [ 431, 432 ], [ 432, 433 ], [ 409, 434 ], [ 434, 435 ], [ 375, 436 ], [ 436, 437 ], [ 375, 438 ], [ 438, 439 ], [ 137, 440 ], [ 440, 441 ], [ 440, 442 ], [ 442, 443 ], [ 443, 444 ], [ 443, 445 ], [ 445, 446 ], [ 446, 447 ], [ 446, 448 ], [ 449, 450 ], [ 449, 451 ], [ 445, 452 ], [ 452, 453 ], [ 453, 454 ], [ 454, 455 ], [ 454, 456 ], [ 452, 457 ], [ 457, 458 ], [ 457, 459 ], [ 452, 460 ], [ 460, 461 ], [ 461, 462 ], [ 452, 463 ], [ 464, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 466, 468 ], [ 465, 469 ], [ 469, 470 ], [ 470, 471 ], [ 445, 472 ], [ 472, 473 ], [ 443, 474 ], [ 474, 475 ], [ 475, 476 ], [ 475, 477 ], [ 474, 479 ], [ 479, 480 ], [ 480, 481 ], [ 481, 482 ], [ 481, 483 ], [ 479, 484 ], [ 484, 485 ], [ 484, 486 ], [ 479, 487 ], [ 487, 488 ], [ 488, 489 ], [ 479, 490 ], [ 491, 491 ], [ 491, 492 ], [ 492, 493 ], [ 493, 494 ], [ 493, 495 ], [ 492, 496 ], [ 496, 497 ], [ 497, 498 ], [ 474, 499 ], [ 499, 500 ], [ 440, 501 ], [ 501, 502 ], [ 440, 503 ], [ 503, 504 ], [ 137, 505 ], [ 505, 506 ], [ 505, 507 ], [ 507, 508 ], [ 508, 509 ], [ 508, 510 ], [ 510, 511 ], [ 511, 512 ], [ 511, 513 ], [ 514, 515 ], [ 514, 516 ], [ 510, 517 ], [ 517, 518 ], [ 518, 519 ], [ 519, 520 ], [ 519, 521 ], [ 517, 522 ], [ 522, 523 ], [ 522, 524 ], [ 517, 525 ], [ 525, 526 ], [ 526, 527 ], [ 517, 528 ], [ 529, 529 ], [ 529, 530 ], [ 530, 531 ], [ 531, 532 ], [ 531, 533 ], [ 530, 534 ], [ 534, 535 ], [ 535, 536 ], [ 510, 537 ], [ 537, 538 ], [ 508, 539 ], [ 539, 540 ], [ 540, 541 ], [ 540, 542 ], [ 539, 544 ], [ 544, 545 ], [ 545, 546 ], [ 546, 547 ], [ 546, 548 ], [ 544, 549 ], [ 549, 550 ], [ 549, 551 ], [ 544, 552 ], [ 552, 553 ], [ 553, 554 ], [ 544, 555 ], [ 556, 556 ], [ 556, 557 ], [ 557, 558 ], [ 558, 559 ], [ 558, 560 ], [ 557, 561 ], [ 561, 562 ], [ 562, 563 ], [ 539, 564 ], [ 564, 565 ], [ 505, 566 ], [ 566, 567 ], [ 505, 568 ], [ 568, 569 ], [ 0, 570 ], [ 570, 571 ], [ 570, 572 ] ]
[ "import java.io.IOException;\nimport java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.NoSuchElementException;\n\npublic class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint re = 0;\n\t\tint tle = 0;\n\t\t\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}\n\t\t\n\t\tout.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t\tout.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t\tout.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t\tout.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }\n\t\n\t\n}", "import java.io.IOException;", "IOException", "java.io", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.NoSuchElementException;", "NoSuchElementException", "java.util", "public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint re = 0;\n\t\tint tle = 0;\n\t\t\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}\n\t\t\n\t\tout.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t\tout.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t\tout.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t\tout.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }\n\t\n\t\n}", "Main", "static FastScanner sc = new FastScanner();", "sc", "new FastScanner()", "static PrintWriter out = new PrintWriter(System.out);", "out", "new PrintWriter(System.out)", "static int n;", "n", "public static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint re = 0;\n\t\tint tle = 0;\n\t\t\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}\n\t\t\n\t\tout.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t\tout.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t\tout.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t\tout.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}", "main", "{\n\t\tn = sc.nextInt();\n\t\t\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint re = 0;\n\t\tint tle = 0;\n\t\t\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}\n\t\t\n\t\tout.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t\tout.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t\tout.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t\tout.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}", "n = sc.nextInt()", "n", "sc.nextInt()", "sc.nextInt", "sc", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int re = 0;", "re", "0", "int tle = 0;", "tle", "0", "for (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\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\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}", "{\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}", "String s = sc.next();", "s", "sc.next()", "sc.next", "sc", "if (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "ac++", "ac", "if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;", "s.equals(\"RE\")", "s.equals", "s", "\"RE\"", "re++", "re", "if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "tle++", "tle", "wa++", "wa", "out.println(\"AC\"+\" \"+\"x\"+\" \"+ac)", "out.println", "out", "\"AC\"+\" \"+\"x\"+\" \"+ac", "\" \"", "\"x\"", "\"AC\"+\" \"+\"x\"+\" \"+ac", "\"AC\"", "\" \"", "\"x\"", "\" \"", "ac", "out.println(\"WA\"+\" \"+\"x\"+\" \"+wa)", "out.println", "out", "\"WA\"+\" \"+\"x\"+\" \"+wa", "\" \"", "\"x\"", "\"WA\"+\" \"+\"x\"+\" \"+wa", "\"WA\"", "\" \"", "\"x\"", "\" \"", "wa", "out.println(\"TLE\"+\" \"+\"x\"+\" \"+tle)", "out.println", "out", "\"TLE\"+\" \"+\"x\"+\" \"+tle", "\" \"", "\"x\"", "\"TLE\"+\" \"+\"x\"+\" \"+tle", "\"TLE\"", "\" \"", "\"x\"", "\" \"", "tle", "out.println(\"RE\"+\" \"+\"x\"+\" \"+re)", "out.println", "out", "\"RE\"+\" \"+\"x\"+\" \"+re", "\" \"", "\"x\"", "\"RE\"+\" \"+\"x\"+\" \"+re", "\"RE\"", "\" \"", "\"x\"", "\" \"", "re", "out.flush()", "out.flush", "out", "String[] args", "args", "static class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }", "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\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }", "hasNextByte", "{\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }", "if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }", "ptr < buflen", "ptr", "buflen", "{\n\t return true;\n\t }", "return true;", "true", "{\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }", "ptr = 0", "ptr", "0", "try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }", "catch (IOException e) {\n\t e.printStackTrace();\n\t }", "IOException e", "{\n\t e.printStackTrace();\n\t }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n\t buflen = in.read(buffer);\n\t }", "buflen = in.read(buffer)", "buflen", "in.read(buffer)", "in.read", "in", "buffer", "if (buflen <= 0) {\n\t return false;\n\t }", "buflen <= 0", "buflen", "0", "{\n\t return false;\n\t }", "return false;", "false", "return true;", "true", "private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }", "readByte", "{\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }", "if (hasNextByte()) return buffer[ptr++];\n\t else return -1;", "hasNextByte()", "hasNextByte", "return buffer[ptr++];", "buffer[ptr++]", "buffer", "ptr++", "ptr", "return -1;", "-1", "1", "private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }", "isPrintableChar", "{\n\t return 33 <= c && c <= 126;\n\t }", "return 33 <= c && c <= 126;", "33 <= c && c <= 126", "33 <= c", "33", "c", "c <= 126", "c", "126", "int c", "c", "private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }", "skipUnprintable", "{\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }", "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", "public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }", "hasNext", "{\n\t skipUnprintable();\n\t return hasNextByte();\n\t }", "skipUnprintable()", "skipUnprintable", "return hasNextByte();", "hasNextByte()", "hasNextByte", "public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }", "next", "{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }", "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\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }", "isPrintableChar(b)", "isPrintableChar", "b", "{\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }", "sb.appendCodePoint(b)", "sb.appendCodePoint", "sb", "b", "b = readByte()", "b", "readByte()", "readByte", "return sb.toString();", "sb.toString()", "sb.toString", "sb", "public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }", "nextDouble", "{\n\t \treturn Double.parseDouble(next());\n\t }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }", "nextLong", "{\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }", "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\t minus = true;\n\t b = readByte();\n\t }", "b == '-'", "b", "'-'", "{\n\t minus = true;\n\t b = readByte();\n\t }", "minus = true", "minus", "true", "b = readByte()", "b", "readByte()", "readByte", "if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }", "b < '0' || '9' < b", "b < '0'", "b", "'0'", "'9' < b", "'9'", "b", "{\n\t throw new NumberFormatException();\n\t }", "throw new NumberFormatException();", "new NumberFormatException()", "while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }", "true", "{\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }", "if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }", "'0' <= b && b <= '9'", "'0' <= b", "'0'", "b", "b <= '9'", "b", "'9'", "{\n\t n *= 10;\n\t n += b - '0';\n\t }", "n *= 10", "n", "10", "n += b - '0'", "n", "b - '0'", "b", "'0'", "if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }", "b == -1 || !isPrintableChar(b)", "b == -1", "b", "-1", "1", "!isPrintableChar(b)", "isPrintableChar(b)", "isPrintableChar", "b", "{\n\t return minus ? -n : n;\n\t }", "return minus ? -n : n;", "minus ? -n : n", "minus", "-n", "n", "n", "{\n\t throw new NumberFormatException();\n\t }", "throw new NumberFormatException();", "new NumberFormatException()", "b = readByte()", "b", "readByte()", "readByte", "public int nextInt() {\n\t return (int) nextLong();\n\t }", "nextInt", "{\n\t return (int) nextLong();\n\t }", "return (int) nextLong();", "(int) nextLong()", "nextLong", "public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }", "nextIntArray", "{\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }", "if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }", "oneBased", "{\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }", "int[] array = new int[N + 1];", "array", "new int[N + 1]", "N + 1", "N", "1", "for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }", "int i = 1;", "int i = 1;", "i", "1", "i <= N", "i", "N", "i++", "i++", "i", "{\n\t array[i] = sc.nextInt();\n\t }", "{\n\t array[i] = sc.nextInt();\n\t }", "array[i] = sc.nextInt()", "array[i]", "array", "i", "sc.nextInt()", "sc.nextInt", "sc", "return array;", "array", "{\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }", "int[] array = new int[N];", "array", "new int[N]", "N", "for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t array[i] = sc.nextInt();\n\t }", "{\n\t array[i] = sc.nextInt();\n\t }", "array[i] = sc.nextInt()", "array[i]", "array", "i", "sc.nextInt()", "sc.nextInt", "sc", "return array;", "array", "int N", "N", "boolean oneBased", "oneBased", "public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }", "nextLongArray", "{\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }", "if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }", "oneBased", "{\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }", "long[] array = new long[N + 1];", "array", "new long[N + 1]", "N + 1", "N", "1", "for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }", "int i = 1;", "int i = 1;", "i", "1", "i <= N", "i", "N", "i++", "i++", "i", "{\n\t array[i] = sc.nextLong();\n\t }", "{\n\t array[i] = sc.nextLong();\n\t }", "array[i] = sc.nextLong()", "array[i]", "array", "i", "sc.nextLong()", "sc.nextLong", "sc", "return array;", "array", "{\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }", "long[] array = new long[N];", "array", "new long[N]", "N", "for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t array[i] = sc.nextLong();\n\t }", "{\n\t array[i] = sc.nextLong();\n\t }", "array[i] = sc.nextLong()", "array[i]", "array", "i", "sc.nextLong()", "sc.nextLong", "sc", "return array;", "array", "int N", "N", "boolean oneBased", "oneBased", "public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }", "nextDoubleArray", "{\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }", "if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }", "oneBased", "{\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }", "double [] array = new double[N + 1];", "array", "new double[N + 1]", "N + 1", "N", "1", "for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }", "int i = 1;", "int i = 1;", "i", "1", "i <= N", "i", "N", "i++", "i++", "i", "{\n\t\t array[i] = sc.nextDouble();\n\t\t }", "{\n\t\t array[i] = sc.nextDouble();\n\t\t }", "array[i] = sc.nextDouble()", "array[i]", "array", "i", "sc.nextDouble()", "sc.nextDouble", "sc", "return array;", "array", "{\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }", "double[] array = new double[N];", "array", "new double[N]", "N", "for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }", "int i = 0;", "int i = 0;", "i", "0", "i < N", "i", "N", "i++", "i++", "i", "{\n\t\t array[i] = sc.nextDouble();\n\t\t }", "{\n\t\t array[i] = sc.nextDouble();\n\t\t }", "array[i] = sc.nextDouble()", "array[i]", "array", "i", "sc.nextDouble()", "sc.nextDouble", "sc", "return array;", "array", "int N", "N", "boolean oneBased", "oneBased", "public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint re = 0;\n\t\tint tle = 0;\n\t\t\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}\n\t\t\n\t\tout.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t\tout.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t\tout.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t\tout.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }\n\t\n\t\n}", "public class Main{\n\tstatic FastScanner sc = new FastScanner();\n\tstatic PrintWriter out = new PrintWriter(System.out);\n\tstatic int n;\n\t//static HashMap <String, Integer> map;\n\t\n\tpublic static void main(String[] args) {\n\t\tn = sc.nextInt();\n\t\t\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint re = 0;\n\t\tint tle = 0;\n\t\t\n\t\tfor (int i=0; i<n; i++) {\n\t\t\tString s = sc.next();\n\t\t\t\n\t\t\tif (s.equals(\"AC\"))\n\t\t\t\tac++;\n\t\t\t\n\t\t\telse if (s.equals(\"RE\"))\n\t\t\t\tre++;\n\t\t\t\n\t\t\telse if (s.equals(\"TLE\"))\n\t\t\t\ttle++;\n\t\t\t\n\t\t\telse\n\t\t\t\twa++;\n\t\t}\n\t\t\n\t\tout.println(\"AC\"+\" \"+\"x\"+\" \"+ac);\n\t\tout.println(\"WA\"+\" \"+\"x\"+\" \"+wa);\n\t\tout.println(\"TLE\"+\" \"+\"x\"+\" \"+tle);\n\t\tout.println(\"RE\"+\" \"+\"x\"+\" \"+re);\n\t\t\n\t\t\n\t\tout.flush();\n\t\t\n\t}\n\t\n\t\n\t\n\tstatic class FastScanner {\n\t private final InputStream in = System.in;\n\t private final byte[] buffer = new byte[1024];\n\t private int ptr = 0;\n\t private int buflen = 0;\n\n\t private boolean hasNextByte() {\n\t if (ptr < buflen) {\n\t return true;\n\t } else {\n\t ptr = 0;\n\t try {\n\t buflen = in.read(buffer);\n\t } catch (IOException e) {\n\t e.printStackTrace();\n\t }\n\t if (buflen <= 0) {\n\t return false;\n\t }\n\t }\n\t return true;\n\t }\n\n\t private int readByte() {\n\t if (hasNextByte()) return buffer[ptr++];\n\t else return -1;\n\t }\n\n\t private static boolean isPrintableChar(int c) {\n\t return 33 <= c && c <= 126;\n\t }\n\n\t private void skipUnprintable() {\n\t while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++;\n\t }\n\n\t public boolean hasNext() {\n\t skipUnprintable();\n\t return hasNextByte();\n\t }\n\n\t public String next() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t StringBuilder sb = new StringBuilder();\n\t int b = readByte();\n\t while (isPrintableChar(b)) {\n\t sb.appendCodePoint(b);\n\t b = readByte();\n\t }\n\t return sb.toString();\n\t }\n\t \n\t public double nextDouble () {\n\t \treturn Double.parseDouble(next());\n\t }\n\n\t public long nextLong() {\n\t if (!hasNext()) throw new NoSuchElementException();\n\t long n = 0;\n\t boolean minus = false;\n\t int b = readByte();\n\t if (b == '-') {\n\t minus = true;\n\t b = readByte();\n\t }\n\t if (b < '0' || '9' < b) {\n\t throw new NumberFormatException();\n\t }\n\t while (true) {\n\t if ('0' <= b && b <= '9') {\n\t n *= 10;\n\t n += b - '0';\n\t } else if (b == -1 || !isPrintableChar(b)) {\n\t return minus ? -n : n;\n\t } else {\n\t throw new NumberFormatException();\n\t }\n\t b = readByte();\n\t }\n\t }\n\n\t public int nextInt() {\n\t return (int) nextLong();\n\t }\n\n\t public int[] nextIntArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t int[] array = new int[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t } else {\n\t int[] array = new int[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextInt();\n\t }\n\t return array;\n\t }\n\t }\n\n\t public long[] nextLongArray(int N, boolean oneBased) {\n\t if (oneBased) {\n\t long[] array = new long[N + 1];\n\t for (int i = 1; i <= N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t } else {\n\t long[] array = new long[N];\n\t for (int i = 0; i < N; i++) {\n\t array[i] = sc.nextLong();\n\t }\n\t return array;\n\t }\n\t }\n\t \n\t public double [] nextDoubleArray(int N, boolean oneBased) {\n\t\t if (oneBased) {\n\t\t double [] array = new double[N + 1];\n\t\t for (int i = 1; i <= N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t } else {\n\t\t double[] array = new double[N];\n\t\t for (int i = 0; i < N; i++) {\n\t\t array[i] = sc.nextDouble();\n\t\t }\n\t\t return array;\n\t\t }\n\t\t }\n\t\t \n\t }\n\t\n\t\n}", "Main" ]
import java.io.IOException; import java.io.InputStream; import java.io.PrintWriter; import java.util.NoSuchElementException; public class Main{ static FastScanner sc = new FastScanner(); static PrintWriter out = new PrintWriter(System.out); static int n; //static HashMap <String, Integer> map; public static void main(String[] args) { n = sc.nextInt(); int ac = 0; int wa = 0; int re = 0; int tle = 0; for (int i=0; i<n; i++) { String s = sc.next(); if (s.equals("AC")) ac++; else if (s.equals("RE")) re++; else if (s.equals("TLE")) tle++; else wa++; } out.println("AC"+" "+"x"+" "+ac); out.println("WA"+" "+"x"+" "+wa); out.println("TLE"+" "+"x"+" "+tle); out.println("RE"+" "+"x"+" "+re); out.flush(); } static 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; } private void skipUnprintable() { while (hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; } public boolean hasNext() { skipUnprintable(); 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 double nextDouble () { return Double.parseDouble(next()); } 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() { return (int) nextLong(); } public int[] nextIntArray(int N, boolean oneBased) { if (oneBased) { int[] array = new int[N + 1]; for (int i = 1; i <= N; i++) { array[i] = sc.nextInt(); } return array; } else { int[] array = new int[N]; for (int i = 0; i < N; i++) { array[i] = sc.nextInt(); } return array; } } public long[] nextLongArray(int N, boolean oneBased) { if (oneBased) { long[] array = new long[N + 1]; for (int i = 1; i <= N; i++) { array[i] = sc.nextLong(); } return array; } else { long[] array = new long[N]; for (int i = 0; i < N; i++) { array[i] = sc.nextLong(); } return array; } } public double [] nextDoubleArray(int N, boolean oneBased) { if (oneBased) { double [] array = new double[N + 1]; for (int i = 1; i <= N; i++) { array[i] = sc.nextDouble(); } return array; } else { double[] array = new double[N]; for (int i = 0; i < N; i++) { array[i] = sc.nextDouble(); } return array; } } } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 2, 4, 18, 13, 17, 17, 17, 41, 13, 17, 12, 13, 30, 41, 13, 20, 41, 13, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 41, 13, 20, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 4, 18, 13, 17, 17, 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, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 4, 18, 13, 17, 4, 18, 13, 23, 13, 12, 13, 30, 11, 1, 41, 13, 17, 2, 13, 2, 4, 18, 13, 17, 1, 40, 13, 30, 30, 14, 2, 4, 18, 13, 13, 4, 18, 13, 2, 2, 4, 18, 13, 13, 17, 29, 17, 29, 17, 23, 13, 12, 13, 30, 41, 13, 20, 11, 1, 41, 13, 17, 2, 13, 4, 18, 13, 13, 1, 40, 13, 30, 30, 14, 2, 2, 13, 13, 17, 30, 14, 2, 13, 4, 18, 13, 13, 4, 18, 13, 13, 30, 4, 18, 13, 13, 4, 18, 13, 2, 13, 13, 4, 18, 13, 13, 29, 13, 23, 13, 12, 13, 30, 14, 2, 4, 18, 4, 13, 13, 17, 29, 17, 29, 17, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 13, 14, 2, 13, 17, 29, 13, 14, 2, 13, 13, 29, 13, 14, 2, 13, 13, 29, 4, 13, 2, 13, 13, 13, 29, 4, 13, 13, 2, 13, 13, 23, 13, 23, 13, 12, 13, 30, 29, 2, 2, 13, 13, 4, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 2, 2, 4, 18, 13, 17, 17, 1, 40, 13, 30, 30, 41, 13, 18, 13, 13, 0, 18, 13, 13, 18, 13, 2, 2, 4, 18, 13, 13, 17, 0, 18, 13, 2, 2, 4, 18, 13, 13, 17, 13, 41, 13, 20, 29, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 13, 30, 41, 13, 4, 13, 13, 2, 13, 17, 14, 2, 2, 13, 17, 17, 30, 29, 2, 13, 13, 30, 29, 2, 2, 13, 13, 13, 23, 13, 23, 13, 12, 13, 30, 14, 2, 13, 17, 29, 17, 14, 2, 13, 17, 29, 2, 13, 13, 30, 41, 13, 2, 4, 13, 13, 2, 13, 17, 13, 0, 13, 13, 0, 13, 13, 14, 2, 2, 13, 17, 17, 30, 0, 13, 13, 0, 13, 13, 29, 2, 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 ], [ 486, 11 ], [ 486, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 16, 17 ], [ 15, 18 ], [ 15, 19 ], [ 14, 20 ], [ 486, 21 ], [ 21, 22 ], [ 21, 23 ], [ 486, 24 ], [ 24, 25 ], [ 24, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 26, 30 ], [ 30, 31 ], [ 30, 32 ], [ 26, 33 ], [ 33, 34 ], [ 34, 35 ], [ 35, 36 ], [ 34, 37 ], [ 33, 38 ], [ 38, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 38, 44 ], [ 44, 45 ], [ 44, 46 ], [ 38, 47 ], [ 47, 48 ], [ 48, 49 ], [ 47, 50 ], [ 47, 51 ], [ 38, 52 ], [ 52, 53 ], [ 53, 54 ], [ 52, 55 ], [ 52, 56 ], [ 38, 57 ], [ 57, 58 ], [ 58, 59 ], [ 57, 60 ], [ 57, 61 ], [ 38, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 62, 66 ], [ 38, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 67, 72 ], [ 72, 73 ], [ 72, 74 ], [ 67, 75 ], [ 75, 76 ], [ 76, 77 ], [ 67, 78 ], [ 79, 79 ], [ 79, 80 ], [ 80, 81 ], [ 80, 82 ], [ 82, 83 ], [ 83, 84 ], [ 79, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 85, 89 ], [ 89, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 89, 94 ], [ 38, 95 ], [ 95, 96 ], [ 96, 97 ], [ 97, 98 ], [ 97, 99 ], [ 95, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 103, 104 ], [ 102, 105 ], [ 38, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 114, 115 ], [ 113, 116 ], [ 38, 117 ], [ 117, 118 ], [ 118, 119 ], [ 119, 120 ], [ 119, 121 ], [ 117, 122 ], [ 122, 123 ], [ 122, 124 ], [ 124, 125 ], [ 125, 126 ], [ 124, 127 ], [ 38, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 128, 133 ], [ 133, 134 ], [ 133, 135 ], [ 135, 136 ], [ 136, 137 ], [ 135, 138 ], [ 26, 139 ], [ 139, 140 ], [ 140, 141 ], [ 24, 142 ], [ 142, 143 ], [ 486, 144 ], [ 144, 145 ], [ 144, 146 ], [ 146, 147 ], [ 147, 148 ], [ 148, 149 ], [ 149, 150 ], [ 149, 151 ], [ 147, 152 ], [ 152, 153 ], [ 152, 154 ], [ 154, 155 ], [ 155, 156 ], [ 156, 157 ], [ 154, 158 ], [ 147, 159 ], [ 159, 160 ], [ 160, 161 ], [ 147, 162 ], [ 163, 163 ], [ 163, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 166, 169 ], [ 165, 170 ], [ 170, 171 ], [ 171, 172 ], [ 170, 173 ], [ 174, 174 ], [ 174, 175 ], [ 175, 176 ], [ 176, 177 ], [ 174, 178 ], [ 174, 179 ], [ 164, 180 ], [ 180, 181 ], [ 146, 182 ], [ 182, 183 ], [ 144, 184 ], [ 184, 185 ], [ 486, 186 ], [ 186, 187 ], [ 186, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 188, 192 ], [ 192, 193 ], [ 193, 194 ], [ 194, 195 ], [ 194, 196 ], [ 192, 197 ], [ 197, 198 ], [ 197, 199 ], [ 199, 200 ], [ 200, 201 ], [ 199, 202 ], [ 192, 203 ], [ 203, 204 ], [ 204, 205 ], [ 192, 206 ], [ 207, 207 ], [ 207, 208 ], [ 208, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 209, 213 ], [ 208, 214 ], [ 214, 215 ], [ 215, 216 ], [ 216, 217 ], [ 216, 218 ], [ 218, 219 ], [ 219, 220 ], [ 218, 221 ], [ 215, 222 ], [ 222, 223 ], [ 223, 224 ], [ 222, 225 ], [ 215, 226 ], [ 226, 227 ], [ 227, 228 ], [ 228, 229 ], [ 227, 230 ], [ 226, 231 ], [ 231, 232 ], [ 232, 233 ], [ 231, 234 ], [ 234, 235 ], [ 234, 236 ], [ 188, 237 ], [ 237, 238 ], [ 238, 239 ], [ 237, 240 ], [ 188, 241 ], [ 241, 242 ], [ 186, 243 ], [ 243, 244 ], [ 486, 245 ], [ 245, 246 ], [ 245, 247 ], [ 247, 248 ], [ 248, 249 ], [ 249, 250 ], [ 250, 251 ], [ 251, 252 ], [ 252, 253 ], [ 252, 254 ], [ 249, 255 ], [ 248, 256 ], [ 256, 257 ], [ 248, 258 ], [ 258, 259 ], [ 245, 260 ], [ 260, 261 ], [ 486, 262 ], [ 262, 263 ], [ 262, 264 ], [ 264, 265 ], [ 265, 266 ], [ 266, 267 ], [ 266, 268 ], [ 265, 269 ], [ 269, 270 ], [ 264, 271 ], [ 271, 272 ], [ 272, 273 ], [ 272, 274 ], [ 271, 275 ], [ 275, 276 ], [ 264, 277 ], [ 277, 278 ], [ 278, 279 ], [ 278, 280 ], [ 277, 281 ], [ 281, 282 ], [ 264, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 283, 287 ], [ 287, 288 ], [ 288, 289 ], [ 288, 290 ], [ 290, 291 ], [ 290, 292 ], [ 288, 293 ], [ 264, 294 ], [ 294, 295 ], [ 295, 296 ], [ 295, 297 ], [ 295, 298 ], [ 298, 299 ], [ 298, 300 ], [ 262, 301 ], [ 301, 302 ], [ 262, 303 ], [ 303, 304 ], [ 486, 305 ], [ 305, 306 ], [ 305, 307 ], [ 307, 308 ], [ 308, 309 ], [ 309, 310 ], [ 310, 311 ], [ 310, 312 ], [ 309, 313 ], [ 313, 314 ], [ 313, 315 ], [ 313, 316 ], [ 305, 317 ], [ 317, 318 ], [ 305, 319 ], [ 319, 320 ], [ 486, 321 ], [ 321, 322 ], [ 321, 323 ], [ 323, 324 ], [ 324, 325 ], [ 324, 326 ], [ 326, 327 ], [ 327, 328 ], [ 323, 329 ], [ 329, 330 ], [ 330, 331 ], [ 331, 332 ], [ 331, 333 ], [ 329, 334 ], [ 334, 335 ], [ 334, 336 ], [ 336, 337 ], [ 337, 338 ], [ 338, 339 ], [ 339, 340 ], [ 337, 341 ], [ 336, 342 ], [ 329, 343 ], [ 343, 344 ], [ 344, 345 ], [ 329, 346 ], [ 347, 347 ], [ 347, 348 ], [ 348, 349 ], [ 348, 350 ], [ 350, 351 ], [ 350, 352 ], [ 347, 353 ], [ 353, 354 ], [ 354, 355 ], [ 354, 356 ], [ 353, 357 ], [ 357, 358 ], [ 357, 359 ], [ 360, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 360, 364 ], [ 360, 365 ], [ 347, 366 ], [ 366, 367 ], [ 367, 368 ], [ 367, 369 ], [ 370, 370 ], [ 370, 371 ], [ 371, 372 ], [ 372, 373 ], [ 370, 374 ], [ 370, 375 ], [ 366, 376 ], [ 323, 377 ], [ 377, 378 ], [ 377, 379 ], [ 323, 380 ], [ 380, 381 ], [ 321, 382 ], [ 382, 383 ], [ 486, 384 ], [ 384, 385 ], [ 384, 386 ], [ 386, 387 ], [ 387, 388 ], [ 388, 389 ], [ 388, 390 ], [ 387, 391 ], [ 391, 392 ], [ 387, 393 ], [ 393, 394 ], [ 394, 395 ], [ 394, 396 ], [ 393, 397 ], [ 397, 398 ], [ 393, 399 ], [ 399, 400 ], [ 400, 401 ], [ 400, 402 ], [ 402, 403 ], [ 402, 404 ], [ 402, 405 ], [ 405, 406 ], [ 405, 407 ], [ 399, 408 ], [ 408, 409 ], [ 409, 410 ], [ 410, 411 ], [ 410, 412 ], [ 409, 413 ], [ 408, 414 ], [ 414, 415 ], [ 415, 416 ], [ 416, 417 ], [ 416, 418 ], [ 408, 419 ], [ 419, 420 ], [ 420, 421 ], [ 422, 422 ], [ 422, 423 ], [ 422, 424 ], [ 422, 425 ], [ 384, 426 ], [ 426, 427 ], [ 384, 428 ], [ 428, 429 ], [ 486, 430 ], [ 430, 431 ], [ 430, 432 ], [ 432, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 433, 437 ], [ 437, 438 ], [ 433, 439 ], [ 439, 440 ], [ 440, 441 ], [ 440, 442 ], [ 439, 443 ], [ 443, 444 ], [ 444, 445 ], [ 444, 446 ], [ 439, 447 ], [ 447, 448 ], [ 448, 449 ], [ 448, 450 ], [ 450, 451 ], [ 451, 452 ], [ 451, 453 ], [ 451, 454 ], [ 454, 455 ], [ 454, 456 ], [ 450, 457 ], [ 447, 458 ], [ 458, 459 ], [ 458, 460 ], [ 447, 461 ], [ 461, 462 ], [ 461, 463 ], [ 447, 464 ], [ 464, 465 ], [ 465, 466 ], [ 466, 467 ], [ 466, 468 ], [ 465, 469 ], [ 464, 470 ], [ 470, 471 ], [ 471, 472 ], [ 471, 473 ], [ 470, 474 ], [ 474, 475 ], [ 474, 476 ], [ 447, 477 ], [ 477, 478 ], [ 478, 479 ], [ 478, 480 ], [ 430, 481 ], [ 481, 482 ], [ 430, 483 ], [ 483, 484 ], [ 0, 485 ], [ 485, 486 ], [ 485, 487 ] ]
[ "import java.lang.reflect.Array;\nimport java.util.*;\nimport java.io.* ;\n/*\nNOTES:\n-more than 10 digits (10^10), use long\n-prefix sum of 1's and -1's to control flow of highlighting a region\n-log(a)/log(b) = log base b of a\n-create a position array if trying to see if elements show up next to each other sequentially\n i.e. elements 1,2,3 are within 3 spots of each other in an array\n arr[scannedInt - 1] = i; (position of i at p[i] in original)\n- use a freq array when counting instances of an element occurring\n- increment the counter first before simulating anything turn-based (two player game)\n\n */\n\npublic class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n //System.out.println(t);\n while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n scan.close();\n\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "import java.lang.reflect.Array;", "Array", "java.lang.reflect", "import java.util.*;", "util.*", "java", "import java.io.* ;", "io.*", "java", "public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n //System.out.println(t);\n while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n scan.close();\n\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "Main", "static long mod = (long)(Math.pow(10, 9) + 7);", "mod", "(long)(Math.pow(10, 9) + 7)", "Math.pow(10, 9)", "Math.pow", "Math", "10", "9", "7", "public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";", "alpha", "\"zabcdefghijklmnopqrstuvwxy\"", "public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n //System.out.println(t);\n while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n scan.close();\n\n }", "main", "{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n //System.out.println(t);\n while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n scan.close();\n\n }", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "long t = 1;", "t", "1", "while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }", "t-- > 0", "t--", "t", "0", "{\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "HashMap<String, Integer> map = new HashMap<>();", "map", "new HashMap<>()", "map.put(\"AC\", 0)", "map.put", "map", "\"AC\"", "0", "map.put(\"TLE\", 0)", "map.put", "map", "\"TLE\"", "0", "map.put(\"WA\", 0)", "map.put", "map", "\"WA\"", "0", "map.put(\"RE\", 0)", "map.put", "map", "\"RE\"", "0", "for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }", "int i = 0;", "int i = 0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }", "{\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }", "String str= scan.next();", "str", "scan.next()", "scan.next", "scan", "map.put(str, map.get(str)+1)", "map.put", "map", "str", "map.get(str)+1", "map.get(str)", "map.get", "map", "str", "1", "System.out.println(\"AC x \"+map.get(\"AC\"))", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+map.get(\"AC\")", "\"AC x \"", "map.get(\"AC\")", "map.get", "map", "\"AC\"", "System.out.println(\"WA x \"+map.get(\"WA\"))", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+map.get(\"WA\")", "\"WA x \"", "map.get(\"WA\")", "map.get", "map", "\"WA\"", "System.out.println(\"TLE x \"+map.get(\"TLE\"))", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+map.get(\"TLE\")", "\"TLE x \"", "map.get(\"TLE\")", "map.get", "map", "\"TLE\"", "System.out.println(\"RE x \"+map.get(\"RE\"))", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+map.get(\"RE\")", "\"RE x \"", "map.get(\"RE\")", "map.get", "map", "\"RE\"", "scan.close()", "scan.close", "scan", "String[] args", "args", "static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }", "isPalindrome", "{\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }", "for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }", "int i = 0;", "int i = 0;", "i", "0", "i<s.length()/2", "i", "s.length()/2", "s.length()", "s.length", "s", "2", "i++", "i++", "i", "{\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }", "{\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }", "if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;", "s.charAt(i) != s.charAt(s.length()-i-1)", "s.charAt(i)", "s.charAt", "s", "i", "s.charAt(s.length()-i-1)", "s.charAt", "s", "s.length()-i-1", "s.length()-i-1", "s.length()", "s.length", "s", "i", "1", "return false;", "false", "return true;", "true", "String s", "s", "static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }", "factors", "{\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }", "ArrayList<Long> facts = new ArrayList<>();", "facts", "new ArrayList<>()", "for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }", "int i = 1;", "int i = 1;", "i", "1", "i<=(int)Math.sqrt(n)", "i", "(int)Math.sqrt(n)", "Math.sqrt", "Math", "n", "i++", "i++", "i", "{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }", "{\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }", "if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }", "n%i == 0", "n%i", "n", "i", "0", "{\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }", "if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }", "i == Math.sqrt(n)", "i", "Math.sqrt(n)", "Math.sqrt", "Math", "n", "facts.add((long)i)", "facts.add", "facts", "(long)i", "{\n facts.add((long)i);\n facts.add(n/i);\n }", "facts.add((long)i)", "facts.add", "facts", "(long)i", "facts.add(n/i)", "facts.add", "facts", "n/i", "n", "i", "Collections.sort(facts)", "Collections.sort", "Collections", "facts", "return facts;", "facts", "long n", "n", "static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }", "isPrime", "{\n if(factors(n).size() ==2) return true;\n else return false;\n }", "if(factors(n).size() ==2) return true;\n else return false;", "factors(n).size() ==2", "factors(n).size()", "factors(n).size", "factors(n)", "factors", "n", "2", "return true;", "true", "return false;", "false", "int n", "n", "static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }", "GCD", "{\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }", "if (a == 0) return b;", "a == 0", "a", "0", "return b;", "b", "if (b == 0) return a;", "b == 0", "b", "0", "return a;", "a", "if (a == b) return a;", "a == b", "a", "b", "return a;", "a", "if (a > b) return GCD(a-b, b);", "a > b", "a", "b", "return GCD(a-b, b);", "GCD(a-b, b)", "GCD", "a-b", "a", "b", "b", "return GCD(a, b-a);", "GCD(a, b-a)", "GCD", "a", "b-a", "b", "a", "long a", "a", "long b", "b", "static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }", "LCM", "{\n return (a*b)/(GCD(a,b));\n }", "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", "static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }", "rev", "{\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }", "char[] arr = s.toCharArray();", "arr", "s.toCharArray()", "s.toCharArray", "s", "for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }", "int i = 0;", "int i = 0;", "i", "0", "i<(s.length()+1)/2", "i", "(s.length()+1)/2", "(s.length()+1)", "s.length()", "s.length", "s", "1", "2", "i++", "i++", "i", "{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }", "{\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }", "char temp = arr[i];", "temp", "arr[i]", "arr", "i", "arr[i] = arr[s.length()-i-1]", "arr[i]", "arr", "i", "arr[s.length()-i-1]", "arr", "s.length()-i-1", "s.length()-i-1", "s.length()", "s.length", "s", "i", "1", "arr[s.length()-i-1] = temp", "arr[s.length()-i-1]", "arr", "s.length()-i-1", "s.length()-i-1", "s.length()", "s.length", "s", "i", "1", "temp", "String fin = new String(arr);", "fin", "new String(arr)", "return fin;", "fin", "String s", "s", "static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }", "pow", "{\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }", "if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }", "N == 0", "N", "0", "return 1;", "1", "if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }", "N == 1", "N", "1", "return a;", "a", "{\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }", "long R = pow(a,N/2);", "R", "pow(a,N/2)", "pow", "a", "N/2", "N", "2", "if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }", "N % 2 == 0", "N % 2", "N", "2", "0", "{\n return R*R;\n }", "return R*R;", "R*R", "R", "R", "{\n return R*R*a;\n }", "return R*R*a;", "R*R*a", "R*R*a", "R", "R", "a", "long a", "a", "long N", "N", "static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }", "powMod", "{\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }", "if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }", "N == 0", "N", "0", "return 1;", "1", "if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }", "N == 1", "N", "1", "return a % mod;", "a % mod", "a", "mod", "{\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }", "long R = powMod(a,N/2) % mod;", "R", "powMod(a,N/2) % mod", "powMod(a,N/2)", "powMod", "a", "N/2", "N", "2", "mod", "R *= R", "R", "R", "R %= mod", "R", "mod", "if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }", "N % 2 == 1", "N % 2", "N", "2", "1", "{\n R *= a;\n R %= mod;\n }", "R *= a", "R", "a", "R %= mod", "R", "mod", "return R % mod;", "R % mod", "R", "mod", "long a", "a", "long N", "N", "public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n //System.out.println(t);\n while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n scan.close();\n\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "public class Main {\n static long mod = (long)(Math.pow(10, 9) + 7);\n public static String alpha = \"zabcdefghijklmnopqrstuvwxy\";\n public static void main(String[] args) throws IOException{\n Scanner scan = new Scanner(System.in);\n long t = 1;\n //System.out.println(t);\n while (t-- > 0){\n int n = scan.nextInt();\n HashMap<String, Integer> map = new HashMap<>();\n map.put(\"AC\", 0);\n map.put(\"TLE\", 0);\n map.put(\"WA\", 0);\n map.put(\"RE\", 0);\n for(int i = 0; i<n; i++){\n String str= scan.next();\n map.put(str, map.get(str)+1);\n }\n System.out.println(\"AC x \"+map.get(\"AC\"));\n System.out.println(\"WA x \"+map.get(\"WA\"));\n System.out.println(\"TLE x \"+map.get(\"TLE\"));\n System.out.println(\"RE x \"+map.get(\"RE\"));\n }\n scan.close();\n\n }\n\n\n static boolean isPalindrome(String s){\n for(int i = 0; i<s.length()/2; i++){\n if(s.charAt(i) != s.charAt(s.length()-i-1)) return false;\n }\n return true;\n }\n\n static ArrayList factors(long n ){\n ArrayList<Long> facts = new ArrayList<>();\n for(int i = 1; i<=(int)Math.sqrt(n); i++){\n if(n%i == 0){\n if( i == Math.sqrt(n)) facts.add((long)i);\n else{\n facts.add((long)i);\n facts.add(n/i);\n }\n }\n }\n Collections.sort(facts);\n return facts;\n }\n\n static boolean isPrime (int n){\n if(factors(n).size() ==2) return true;\n else return false;\n }\n\n\n\n\n\n static long GCD(long a, long b) {\n // Everything divides 0\n if (a == 0) return b;\n if (b == 0) return a;\n\n // base case\n if (a == b) return a;\n\n // a is greater\n if (a > b) return GCD(a-b, b);\n return GCD(a, b-a);\n }\n static long LCM(long a, long b){\n return (a*b)/(GCD(a,b));\n }\n static String rev(String s){\n char[] arr = s.toCharArray();\n for(int i = 0; i<(s.length()+1)/2; i++){\n char temp = arr[i];\n arr[i] = arr[s.length()-i-1];\n arr[s.length()-i-1] = temp;\n }\n String fin = new String(arr);\n return fin;\n }\n static long pow(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a;\n else {\n long R = pow(a,N/2);\n if (N % 2 == 0) {\n return R*R;\n }\n else {\n return R*R*a;\n }\n }\n }\n\n static long powMod(long a, long N) {\n if (N == 0) return 1;\n else if (N == 1) return a % mod;\n else {\n long R = powMod(a,N/2) % mod;\n R *= R;\n R %= mod;\n if (N % 2 == 1) {\n R *= a;\n R %= mod;\n }\n return R % mod;\n }\n }\n\n}", "Main" ]
import java.lang.reflect.Array; import java.util.*; import java.io.* ; /* NOTES: -more than 10 digits (10^10), use long -prefix sum of 1's and -1's to control flow of highlighting a region -log(a)/log(b) = log base b of a -create a position array if trying to see if elements show up next to each other sequentially i.e. elements 1,2,3 are within 3 spots of each other in an array arr[scannedInt - 1] = i; (position of i at p[i] in original) - use a freq array when counting instances of an element occurring - increment the counter first before simulating anything turn-based (two player game) */ public class Main { static long mod = (long)(Math.pow(10, 9) + 7); public static String alpha = "zabcdefghijklmnopqrstuvwxy"; public static void main(String[] args) throws IOException{ Scanner scan = new Scanner(System.in); long t = 1; //System.out.println(t); while (t-- > 0){ int n = scan.nextInt(); HashMap<String, Integer> map = new HashMap<>(); map.put("AC", 0); map.put("TLE", 0); map.put("WA", 0); map.put("RE", 0); for(int i = 0; i<n; i++){ String str= scan.next(); map.put(str, map.get(str)+1); } System.out.println("AC x "+map.get("AC")); System.out.println("WA x "+map.get("WA")); System.out.println("TLE x "+map.get("TLE")); System.out.println("RE x "+map.get("RE")); } scan.close(); } static boolean isPalindrome(String s){ for(int i = 0; i<s.length()/2; i++){ if(s.charAt(i) != s.charAt(s.length()-i-1)) return false; } return true; } static ArrayList factors(long n ){ ArrayList<Long> facts = new ArrayList<>(); for(int i = 1; i<=(int)Math.sqrt(n); i++){ if(n%i == 0){ if( i == Math.sqrt(n)) facts.add((long)i); else{ facts.add((long)i); facts.add(n/i); } } } Collections.sort(facts); return facts; } static boolean isPrime (int n){ if(factors(n).size() ==2) return true; else return false; } static long GCD(long a, long b) { // Everything divides 0 if (a == 0) return b; if (b == 0) return a; // base case if (a == b) return a; // a is greater if (a > b) return GCD(a-b, b); return GCD(a, b-a); } static long LCM(long a, long b){ return (a*b)/(GCD(a,b)); } static String rev(String s){ char[] arr = s.toCharArray(); for(int i = 0; i<(s.length()+1)/2; i++){ char temp = arr[i]; arr[i] = arr[s.length()-i-1]; arr[s.length()-i-1] = temp; } String fin = new String(arr); return fin; } static long pow(long a, long N) { if (N == 0) return 1; else if (N == 1) return a; else { long R = pow(a,N/2); if (N % 2 == 0) { return R*R; } else { return R*R*a; } } } static long powMod(long a, long N) { if (N == 0) return 1; else if (N == 1) return a % mod; else { long R = powMod(a,N/2) % mod; R *= R; R %= mod; if (N % 2 == 1) { R *= a; R %= mod; } return R % mod; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 14, 4, 18, 13, 17, 30, 40, 18, 13, 17, 30, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 120, 5 ], [ 120, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 14, 17 ], [ 17, 18 ], [ 18, 19 ], [ 8, 20 ], [ 20, 21 ], [ 20, 22 ], [ 8, 24 ], [ 24, 25 ], [ 25, 26 ], [ 26, 27 ], [ 26, 28 ], [ 24, 29 ], [ 29, 30 ], [ 29, 31 ], [ 24, 32 ], [ 32, 33 ], [ 33, 34 ], [ 24, 35 ], [ 36, 36 ], [ 36, 37 ], [ 37, 38 ], [ 37, 39 ], [ 39, 40 ], [ 40, 41 ], [ 36, 42 ], [ 42, 43 ], [ 43, 44 ], [ 44, 45 ], [ 43, 46 ], [ 42, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 49, 51 ], [ 42, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 59, 60 ], [ 59, 61 ], [ 52, 62 ], [ 62, 63 ], [ 63, 64 ], [ 64, 65 ], [ 63, 66 ], [ 62, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 69, 71 ], [ 62, 72 ], [ 72, 73 ], [ 73, 74 ], [ 74, 75 ], [ 74, 76 ], [ 8, 77 ], [ 77, 78 ], [ 78, 79 ], [ 79, 80 ], [ 79, 81 ], [ 77, 82 ], [ 82, 83 ], [ 82, 84 ], [ 84, 85 ], [ 84, 86 ], [ 8, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 89, 91 ], [ 87, 92 ], [ 92, 93 ], [ 92, 94 ], [ 94, 95 ], [ 94, 96 ], [ 8, 97 ], [ 97, 98 ], [ 98, 99 ], [ 99, 100 ], [ 99, 101 ], [ 97, 102 ], [ 102, 103 ], [ 102, 104 ], [ 104, 105 ], [ 104, 106 ], [ 8, 107 ], [ 107, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 107, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 114, 116 ], [ 6, 117 ], [ 117, 118 ], [ 0, 119 ], [ 119, 120 ], [ 119, 121 ] ]
[ "import java.util.Scanner;\npublic class Main\n{\n \tpublic static void main(String[] args)\n {\n \t Scanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.nextLine());\n \tint b[] = new int[4]; \n \tfor(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }\n \tSystem.out.println(\"AC x \" + b[0]);\n \tSystem.out.println(\"WA x \" + b[1]);\n \tSystem.out.println(\"TLE x \" + b[2]);\n \tSystem.out.println(\"RE x \" + b[3]);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main\n{\n \tpublic static void main(String[] args)\n {\n \t Scanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.nextLine());\n \tint b[] = new int[4]; \n \tfor(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }\n \tSystem.out.println(\"AC x \" + b[0]);\n \tSystem.out.println(\"WA x \" + b[1]);\n \tSystem.out.println(\"TLE x \" + b[2]);\n \tSystem.out.println(\"RE x \" + b[3]);\n }\n}", "Main", "public static void main(String[] args)\n {\n \t Scanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.nextLine());\n \tint b[] = new int[4]; \n \tfor(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }\n \tSystem.out.println(\"AC x \" + b[0]);\n \tSystem.out.println(\"WA x \" + b[1]);\n \tSystem.out.println(\"TLE x \" + b[2]);\n \tSystem.out.println(\"RE x \" + b[3]);\n }", "main", "{\n \t Scanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.nextLine());\n \tint b[] = new int[4]; \n \tfor(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }\n \tSystem.out.println(\"AC x \" + b[0]);\n \tSystem.out.println(\"WA x \" + b[1]);\n \tSystem.out.println(\"TLE x \" + b[2]);\n \tSystem.out.println(\"RE x \" + b[3]);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int a = Integer.parseInt(sc.nextLine());", "a", "Integer.parseInt(sc.nextLine())", "Integer.parseInt", "Integer", "sc.nextLine()", "sc.nextLine", "sc", "int b[] = new int[4];", "b", "new int[4]", "4", "for(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }", "int i = 0;", "int i = 0;", "i", "0", "i < a", "i", "a", "i++", "i++", "i", "{\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }", "{\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }", "String word = sc.nextLine();", "word", "sc.nextLine()", "sc.nextLine", "sc", "if(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }", "word.equals(\"AC\")", "word.equals", "word", "\"AC\"", "{\n b[0]++;\n }", "b[0]++", "b[0]", "b", "0", "if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }", "word.equals(\"TLE\")", "word.equals", "word", "\"TLE\"", "{\n b[2]++;\n }", "b[2]++", "b[2]", "b", "2", "if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }", "word.equals(\"WA\")", "word.equals", "word", "\"WA\"", "{\n b[1]++;\n }", "b[1]++", "b[1]", "b", "1", "{\n b[3]++;\n }", "b[3]++", "b[3]", "b", "3", "System.out.println(\"AC x \" + b[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + b[0]", "\"AC x \"", "b[0]", "b", "0", "System.out.println(\"WA x \" + b[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + b[1]", "\"WA x \"", "b[1]", "b", "1", "System.out.println(\"TLE x \" + b[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + b[2]", "\"TLE x \"", "b[2]", "b", "2", "System.out.println(\"RE x \" + b[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + b[3]", "\"RE x \"", "b[3]", "b", "3", "String[] args", "args", "public class Main\n{\n \tpublic static void main(String[] args)\n {\n \t Scanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.nextLine());\n \tint b[] = new int[4]; \n \tfor(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }\n \tSystem.out.println(\"AC x \" + b[0]);\n \tSystem.out.println(\"WA x \" + b[1]);\n \tSystem.out.println(\"TLE x \" + b[2]);\n \tSystem.out.println(\"RE x \" + b[3]);\n }\n}", "public class Main\n{\n \tpublic static void main(String[] args)\n {\n \t Scanner sc = new Scanner(System.in);\n \tint a = Integer.parseInt(sc.nextLine());\n \tint b[] = new int[4]; \n \tfor(int i = 0; i < a; i++)\n {\t\n \tString word = sc.nextLine();\n \tif(word.equals(\"AC\")) \n {\n b[0]++;\n }else if(word.equals(\"TLE\")){\n b[2]++;\n }else if(word.equals(\"WA\")){\n b[1]++;\n }else{\n b[3]++;\n }\n \n }\n \tSystem.out.println(\"AC x \" + b[0]);\n \tSystem.out.println(\"WA x \" + b[1]);\n \tSystem.out.println(\"TLE x \" + b[2]);\n \tSystem.out.println(\"RE x \" + b[3]);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int a = Integer.parseInt(sc.nextLine()); int b[] = new int[4]; for(int i = 0; i < a; i++) { String word = sc.nextLine(); if(word.equals("AC")) { b[0]++; }else if(word.equals("TLE")){ b[2]++; }else if(word.equals("WA")){ b[1]++; }else{ b[3]++; } } System.out.println("AC x " + b[0]); System.out.println("WA x " + b[1]); System.out.println("TLE x " + b[2]); System.out.println("RE x " + b[3]); } }
[ 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, 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, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 2, 17, 4, 18, 13, 17, 17, 4, 18, 13, 23, 13, 6, 13, 41, 13, 41, 13, 12, 13, 30, 0, 13, 20, 12, 13, 30, 42, 2, 2, 13, 17, 40, 4, 18, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 29, 4, 18, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 17, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 4, 18, 13, 29, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 189, 8 ], [ 189, 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 ], [ 44, 47 ], [ 44, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 49, 52 ], [ 49, 53 ], [ 48, 54 ], [ 11, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 58, 59 ], [ 58, 60 ], [ 60, 61 ], [ 61, 62 ], [ 60, 63 ], [ 60, 64 ], [ 11, 65 ], [ 65, 66 ], [ 66, 67 ], [ 65, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 71, 72 ], [ 70, 73 ], [ 70, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 81, 82 ], [ 80, 83 ], [ 80, 84 ], [ 11, 85 ], [ 85, 86 ], [ 86, 87 ], [ 85, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 91, 92 ], [ 90, 93 ], [ 90, 94 ], [ 11, 95 ], [ 95, 96 ], [ 96, 97 ], [ 9, 98 ], [ 98, 99 ], [ 189, 100 ], [ 100, 101 ], [ 100, 102 ], [ 102, 103 ], [ 100, 104 ], [ 104, 105 ], [ 100, 106 ], [ 106, 107 ], [ 106, 108 ], [ 108, 109 ], [ 109, 110 ], [ 109, 111 ], [ 100, 112 ], [ 112, 113 ], [ 112, 114 ], [ 114, 115 ], [ 115, 116 ], [ 116, 117 ], [ 117, 118 ], [ 117, 119 ], [ 116, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 115, 124 ], [ 124, 125 ], [ 125, 126 ], [ 126, 127 ], [ 126, 128 ], [ 128, 129 ], [ 129, 130 ], [ 130, 131 ], [ 125, 132 ], [ 132, 133 ], [ 133, 134 ], [ 133, 135 ], [ 114, 136 ], [ 136, 137 ], [ 137, 138 ], [ 138, 139 ], [ 100, 140 ], [ 140, 141 ], [ 140, 142 ], [ 142, 143 ], [ 143, 144 ], [ 144, 145 ], [ 145, 146 ], [ 144, 147 ], [ 147, 148 ], [ 100, 149 ], [ 149, 150 ], [ 149, 151 ], [ 151, 152 ], [ 152, 153 ], [ 153, 154 ], [ 154, 155 ], [ 153, 156 ], [ 156, 157 ], [ 100, 158 ], [ 158, 159 ], [ 158, 160 ], [ 160, 161 ], [ 161, 162 ], [ 162, 163 ], [ 163, 164 ], [ 162, 165 ], [ 165, 166 ], [ 100, 167 ], [ 167, 168 ], [ 167, 169 ], [ 169, 170 ], [ 170, 171 ], [ 170, 172 ], [ 169, 173 ], [ 173, 174 ], [ 174, 175 ], [ 174, 176 ], [ 176, 177 ], [ 177, 178 ], [ 178, 179 ], [ 173, 180 ], [ 180, 181 ], [ 181, 182 ], [ 181, 183 ], [ 183, 184 ], [ 184, 185 ], [ 169, 186 ], [ 186, 187 ], [ 0, 188 ], [ 188, 189 ], [ 188, 190 ] ]
[ "import java.util.*;\nimport java.io.*;\n\npublic class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt(); Map<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 out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\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 }\n\n}", "import java.util.*;", "util.*", "java", "import java.io.*;", "io.*", "java", "public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt(); Map<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 out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\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 }\n\n}", "Main", "public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt(); Map<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 out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n out.close();\n }", "main", "{\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt(); Map<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 out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n out.close();\n }", "MyScanner sc = new MyScanner();", "sc", "new MyScanner()", "PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));", "out", "new PrintWriter(new BufferedOutputStream(System.out))", "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 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", "out.println(\"AC x \" + map.getOrDefault(\"AC\", 0))", "out.println", "out", "\"AC x \" + map.getOrDefault(\"AC\", 0)", "\"AC x \"", "map.getOrDefault(\"AC\", 0)", "map.getOrDefault", "map", "\"AC\"", "0", "out.println(\"WA x \" + map.getOrDefault(\"WA\", 0))", "out.println", "out", "\"WA x \" + map.getOrDefault(\"WA\", 0)", "\"WA x \"", "map.getOrDefault(\"WA\", 0)", "map.getOrDefault", "map", "\"WA\"", "0", "out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0))", "out.println", "out", "\"TLE x \" + map.getOrDefault(\"TLE\", 0)", "\"TLE x \"", "map.getOrDefault(\"TLE\", 0)", "map.getOrDefault", "map", "\"TLE\"", "0", "out.println(\"RE x \" + map.getOrDefault(\"RE\", 0))", "out.println", "out", "\"RE x \" + map.getOrDefault(\"RE\", 0)", "\"RE x \"", "map.getOrDefault(\"RE\", 0)", "map.getOrDefault", "map", "\"RE\"", "0", "out.close()", "out.close", "out", "String[] args", "args", "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 }", "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 public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt(); Map<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 out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\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 }\n\n}", "public class Main {\n public static void main(String[] args) {\n MyScanner sc = new MyScanner();\n PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out));\n int n = sc.nextInt(); Map<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 out.println(\"AC x \" + map.getOrDefault(\"AC\", 0));\n out.println(\"WA x \" + map.getOrDefault(\"WA\", 0));\n out.println(\"TLE x \" + map.getOrDefault(\"TLE\", 0));\n out.println(\"RE x \" + map.getOrDefault(\"RE\", 0));\n out.close();\n }\n\n\n //-----------MyScanner class for faster input----------\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 }\n\n}", "Main" ]
import java.util.*; import java.io.*; public class Main { public static void main(String[] args) { MyScanner sc = new MyScanner(); PrintWriter out = new PrintWriter(new BufferedOutputStream(System.out)); int n = sc.nextInt(); Map<String, Integer> map = new HashMap<>(); for (int i = 0; i < n; i++) { String s = sc.next(); map.put(s, map.getOrDefault(s, 0) + 1); } out.println("AC x " + map.getOrDefault("AC", 0)); out.println("WA x " + map.getOrDefault("WA", 0)); out.println("TLE x " + map.getOrDefault("TLE", 0)); out.println("RE x " + map.getOrDefault("RE", 0)); out.close(); } //-----------MyScanner class for faster input---------- 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, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 17, 41, 13, 17, 41, 13, 13, 41, 13, 17, 41, 13, 41, 13, 12, 13, 30, 41, 13, 4, 18, 13, 41, 13, 20, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 4, 18, 13, 17, 40, 18, 13, 13, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 12, 13, 30, 14, 2, 13, 13, 30, 38, 5, 13, 30, 4, 18, 13, 30, 0, 13, 20, 4, 18, 18, 13, 13, 17, 30, 0, 13, 18, 13, 13, 0, 13, 20, 0, 13, 20, 4, 13, 12, 13, 30, 4, 18, 20, 23, 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, 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, 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, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 13, 12, 13, 30, 29, 4, 18, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 0, 18, 13, 13, 4, 13, 29, 13, 23, 13, 12, 13, 30, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 13, 13, 29, 13, 23, 13, 23, 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, 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, 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, 41, 13, 20, 13, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 18, 13, 13, 13, 4, 13, 29, 13, 23, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 0, 10 ], [ 10, 11 ], [ 10, 12 ], [ 0, 13 ], [ 13, 14 ], [ 13, 15 ], [ 0, 16 ], [ 16, 17 ], [ 16, 18 ], [ 0, 19 ], [ 638, 20 ], [ 638, 21 ], [ 21, 22 ], [ 638, 23 ], [ 23, 24 ], [ 23, 25 ], [ 638, 26 ], [ 26, 27 ], [ 26, 28 ], [ 638, 29 ], [ 29, 30 ], [ 29, 31 ], [ 638, 32 ], [ 32, 33 ], [ 32, 34 ], [ 638, 35 ], [ 35, 36 ], [ 638, 37 ], [ 37, 38 ], [ 638, 39 ], [ 39, 40 ], [ 39, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 51 ], [ 51, 52 ], [ 52, 53 ], [ 53, 54 ], [ 53, 55 ], [ 51, 56 ], [ 56, 57 ], [ 56, 58 ], [ 51, 59 ], [ 59, 60 ], [ 60, 61 ], [ 51, 62 ], [ 63, 63 ], [ 63, 64 ], [ 64, 65 ], [ 64, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 69, 70 ], [ 66, 71 ], [ 63, 72 ], [ 72, 73 ], [ 73, 74 ], [ 73, 75 ], [ 41, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 78, 80 ], [ 76, 81 ], [ 81, 82 ], [ 81, 83 ], [ 83, 84 ], [ 83, 85 ], [ 41, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 91, 92 ], [ 91, 93 ], [ 93, 94 ], [ 93, 95 ], [ 41, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 103, 104 ], [ 103, 105 ], [ 41, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 113, 114 ], [ 113, 115 ], [ 638, 116 ], [ 116, 117 ], [ 116, 118 ], [ 118, 119 ], [ 119, 120 ], [ 120, 121 ], [ 120, 122 ], [ 119, 123 ], [ 123, 124 ], [ 124, 125 ], [ 125, 126 ], [ 125, 127 ], [ 127, 128 ], [ 128, 129 ], [ 129, 130 ], [ 124, 131 ], [ 131, 132 ], [ 132, 133 ], [ 132, 134 ], [ 123, 135 ], [ 135, 136 ], [ 136, 137 ], [ 137, 138 ], [ 137, 139 ], [ 135, 140 ], [ 119, 141 ], [ 141, 142 ], [ 142, 143 ], [ 142, 144 ], [ 144, 145 ], [ 144, 146 ], [ 118, 147 ], [ 147, 148 ], [ 147, 149 ], [ 118, 150 ], [ 150, 151 ], [ 150, 152 ], [ 118, 153 ], [ 153, 154 ], [ 638, 155 ], [ 155, 156 ], [ 155, 157 ], [ 157, 158 ], [ 158, 159 ], [ 159, 160 ], [ 155, 161 ], [ 161, 162 ], [ 0, 163 ], [ 163, 164 ], [ 163, 165 ], [ 165, 166 ], [ 163, 167 ], [ 167, 168 ], [ 167, 169 ], [ 163, 171 ], [ 171, 172 ], [ 163, 173 ], [ 173, 174 ], [ 163, 175 ], [ 175, 176 ], [ 175, 177 ], [ 177, 178 ], [ 178, 179 ], [ 179, 180 ], [ 179, 181 ], [ 178, 182 ], [ 175, 183 ], [ 183, 184 ], [ 163, 185 ], [ 185, 186 ], [ 185, 187 ], [ 187, 188 ], [ 188, 189 ], [ 189, 190 ], [ 189, 191 ], [ 191, 192 ], [ 188, 193 ], [ 193, 194 ], [ 187, 195 ], [ 195, 196 ], [ 196, 197 ], [ 196, 198 ], [ 195, 199 ], [ 199, 200 ], [ 200, 201 ], [ 200, 202 ], [ 199, 203 ], [ 203, 204 ], [ 204, 205 ], [ 204, 206 ], [ 206, 207 ], [ 207, 208 ], [ 203, 209 ], [ 209, 210 ], [ 210, 211 ], [ 210, 212 ], [ 212, 213 ], [ 213, 214 ], [ 212, 215 ], [ 199, 216 ], [ 216, 217 ], [ 217, 218 ], [ 217, 219 ], [ 216, 220 ], [ 220, 221 ], [ 221, 222 ], [ 187, 223 ], [ 223, 224 ], [ 224, 225 ], [ 224, 226 ], [ 226, 227 ], [ 163, 228 ], [ 228, 229 ], [ 228, 230 ], [ 230, 231 ], [ 231, 232 ], [ 235, 233 ], [ 245, 234 ], [ 242, 235 ], [ 235, 236 ], [ 236, 237 ], [ 236, 238 ], [ 235, 239 ], [ 239, 240 ], [ 239, 241 ], [ 242, 242 ], [ 242, 243 ], [ 242, 244 ], [ 245, 245 ], [ 245, 246 ], [ 245, 247 ], [ 235, 248 ], [ 248, 249 ], [ 248, 250 ], [ 250, 251 ], [ 228, 252 ], [ 252, 253 ], [ 163, 254 ], [ 254, 255 ], [ 254, 256 ], [ 256, 257 ], [ 257, 258 ], [ 259, 259 ], [ 259, 260 ], [ 260, 261 ], [ 260, 262 ], [ 259, 263 ], [ 263, 264 ], [ 263, 265 ], [ 259, 266 ], [ 266, 267 ], [ 266, 268 ], [ 268, 269 ], [ 254, 270 ], [ 270, 271 ], [ 163, 272 ], [ 272, 273 ], [ 272, 274 ], [ 274, 275 ], [ 275, 276 ], [ 276, 277 ], [ 277, 278 ], [ 276, 279 ], [ 279, 280 ], [ 163, 281 ], [ 281, 282 ], [ 281, 283 ], [ 283, 284 ], [ 284, 285 ], [ 284, 286 ], [ 283, 288 ], [ 288, 289 ], [ 289, 290 ], [ 290, 291 ], [ 290, 292 ], [ 288, 293 ], [ 293, 294 ], [ 293, 295 ], [ 288, 296 ], [ 296, 297 ], [ 297, 298 ], [ 288, 299 ], [ 299, 300 ], [ 300, 301 ], [ 301, 302 ], [ 301, 303 ], [ 300, 304 ], [ 304, 305 ], [ 283, 306 ], [ 306, 307 ], [ 281, 308 ], [ 308, 309 ], [ 163, 310 ], [ 310, 311 ], [ 310, 312 ], [ 312, 313 ], [ 313, 314 ], [ 313, 315 ], [ 312, 318 ], [ 318, 319 ], [ 319, 320 ], [ 320, 321 ], [ 320, 322 ], [ 318, 323 ], [ 323, 324 ], [ 323, 325 ], [ 318, 326 ], [ 326, 327 ], [ 327, 328 ], [ 318, 329 ], [ 330, 330 ], [ 330, 331 ], [ 331, 332 ], [ 332, 333 ], [ 332, 334 ], [ 331, 335 ], [ 335, 336 ], [ 335, 337 ], [ 312, 338 ], [ 338, 339 ], [ 310, 340 ], [ 340, 341 ], [ 310, 342 ], [ 342, 343 ], [ 163, 344 ], [ 344, 345 ], [ 344, 346 ], [ 346, 347 ], [ 347, 348 ], [ 348, 349 ], [ 349, 350 ], [ 348, 351 ], [ 351, 352 ], [ 163, 353 ], [ 353, 354 ], [ 353, 355 ], [ 355, 356 ], [ 356, 357 ], [ 356, 358 ], [ 355, 360 ], [ 360, 361 ], [ 361, 362 ], [ 362, 363 ], [ 362, 364 ], [ 360, 365 ], [ 365, 366 ], [ 365, 367 ], [ 360, 368 ], [ 368, 369 ], [ 369, 370 ], [ 360, 371 ], [ 371, 372 ], [ 372, 373 ], [ 373, 374 ], [ 373, 375 ], [ 372, 376 ], [ 376, 377 ], [ 355, 378 ], [ 378, 379 ], [ 353, 380 ], [ 380, 381 ], [ 163, 382 ], [ 382, 383 ], [ 382, 384 ], [ 384, 385 ], [ 385, 386 ], [ 385, 387 ], [ 384, 390 ], [ 390, 391 ], [ 391, 392 ], [ 392, 393 ], [ 392, 394 ], [ 390, 395 ], [ 395, 396 ], [ 395, 397 ], [ 390, 398 ], [ 398, 399 ], [ 399, 400 ], [ 390, 401 ], [ 402, 402 ], [ 402, 403 ], [ 403, 404 ], [ 404, 405 ], [ 404, 406 ], [ 403, 407 ], [ 407, 408 ], [ 407, 409 ], [ 384, 410 ], [ 410, 411 ], [ 382, 412 ], [ 412, 413 ], [ 382, 414 ], [ 414, 415 ], [ 163, 416 ], [ 416, 417 ], [ 416, 418 ], [ 418, 419 ], [ 419, 420 ], [ 420, 421 ], [ 421, 422 ], [ 420, 423 ], [ 423, 424 ], [ 163, 425 ], [ 425, 426 ], [ 425, 427 ], [ 427, 428 ], [ 428, 429 ], [ 428, 430 ], [ 427, 432 ], [ 432, 433 ], [ 433, 434 ], [ 434, 435 ], [ 434, 436 ], [ 432, 437 ], [ 437, 438 ], [ 437, 439 ], [ 432, 440 ], [ 440, 441 ], [ 441, 442 ], [ 432, 443 ], [ 443, 444 ], [ 444, 445 ], [ 445, 446 ], [ 445, 447 ], [ 444, 448 ], [ 448, 449 ], [ 427, 450 ], [ 450, 451 ], [ 425, 452 ], [ 452, 453 ], [ 163, 454 ], [ 454, 455 ], [ 454, 456 ], [ 456, 457 ], [ 457, 458 ], [ 457, 459 ], [ 456, 462 ], [ 462, 463 ], [ 463, 464 ], [ 464, 465 ], [ 464, 466 ], [ 462, 467 ], [ 467, 468 ], [ 467, 469 ], [ 462, 470 ], [ 470, 471 ], [ 471, 472 ], [ 462, 473 ], [ 474, 474 ], [ 474, 475 ], [ 475, 476 ], [ 476, 477 ], [ 476, 478 ], [ 475, 479 ], [ 479, 480 ], [ 479, 481 ], [ 456, 482 ], [ 482, 483 ], [ 454, 484 ], [ 484, 485 ], [ 454, 486 ], [ 486, 487 ], [ 163, 488 ], [ 488, 489 ], [ 488, 490 ], [ 490, 491 ], [ 491, 492 ], [ 491, 493 ], [ 493, 494 ], [ 490, 495 ], [ 495, 496 ], [ 496, 497 ], [ 496, 498 ], [ 495, 499 ], [ 499, 500 ], [ 499, 501 ], [ 501, 502 ], [ 490, 503 ], [ 503, 504 ], [ 503, 505 ], [ 490, 506 ], [ 506, 507 ], [ 507, 508 ], [ 508, 509 ], [ 508, 510 ], [ 506, 511 ], [ 511, 512 ], [ 512, 513 ], [ 513, 514 ], [ 512, 515 ], [ 511, 516 ], [ 516, 517 ], [ 516, 518 ], [ 518, 519 ], [ 490, 520 ], [ 520, 521 ], [ 521, 522 ], [ 522, 523 ], [ 163, 524 ], [ 524, 525 ], [ 524, 526 ], [ 526, 527 ], [ 527, 528 ], [ 527, 529 ], [ 526, 531 ], [ 531, 532 ], [ 532, 533 ], [ 533, 534 ], [ 533, 535 ], [ 531, 536 ], [ 536, 537 ], [ 536, 538 ], [ 531, 539 ], [ 539, 540 ], [ 540, 541 ], [ 531, 542 ], [ 542, 543 ], [ 543, 544 ], [ 544, 545 ], [ 544, 546 ], [ 543, 547 ], [ 547, 548 ], [ 526, 549 ], [ 549, 550 ], [ 524, 551 ], [ 551, 552 ], [ 163, 553 ], [ 553, 554 ], [ 553, 555 ], [ 555, 556 ], [ 556, 557 ], [ 556, 558 ], [ 558, 559 ], [ 555, 560 ], [ 560, 561 ], [ 561, 562 ], [ 561, 563 ], [ 560, 564 ], [ 564, 565 ], [ 564, 566 ], [ 566, 567 ], [ 555, 568 ], [ 568, 569 ], [ 568, 570 ], [ 555, 571 ], [ 571, 572 ], [ 572, 573 ], [ 573, 574 ], [ 573, 575 ], [ 571, 576 ], [ 576, 577 ], [ 577, 578 ], [ 578, 579 ], [ 577, 580 ], [ 576, 581 ], [ 581, 582 ], [ 581, 583 ], [ 583, 584 ], [ 555, 585 ], [ 585, 586 ], [ 586, 587 ], [ 587, 588 ], [ 163, 589 ], [ 589, 590 ], [ 589, 591 ], [ 591, 592 ], [ 592, 593 ], [ 592, 594 ], [ 591, 597 ], [ 597, 598 ], [ 598, 599 ], [ 599, 600 ], [ 599, 601 ], [ 597, 602 ], [ 602, 603 ], [ 602, 604 ], [ 597, 605 ], [ 605, 606 ], [ 606, 607 ], [ 597, 608 ], [ 609, 609 ], [ 609, 610 ], [ 610, 611 ], [ 611, 612 ], [ 612, 613 ], [ 612, 614 ], [ 610, 615 ], [ 615, 616 ], [ 615, 617 ], [ 610, 618 ], [ 618, 619 ], [ 619, 620 ], [ 610, 621 ], [ 622, 622 ], [ 622, 623 ], [ 623, 624 ], [ 624, 625 ], [ 625, 626 ], [ 625, 627 ], [ 624, 628 ], [ 623, 629 ], [ 629, 630 ], [ 591, 631 ], [ 631, 632 ], [ 589, 633 ], [ 633, 634 ], [ 589, 635 ], [ 635, 636 ], [ 0, 637 ], [ 637, 638 ], [ 637, 639 ] ]
[ "import java.io.InputStream;\nimport java.io.PrintWriter;\nimport java.util.InputMismatchException;\nimport java.io.FileNotFoundException;\nimport java.io.IOException;\nimport java.io.FileInputStream;\n\npublic class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/F6\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int n = in.nextInt();\n int[] cnt = new int[256];\n for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }\n System.out.println(\"AC x \" + cnt['A']);\n System.out.println(\"WA x \" + cnt['W']);\n System.out.println(\"TLE x \" + cnt['T']);\n System.out.println(\"RE x \" + cnt['R']);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}\n\n\nclass FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\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 (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}", "import java.io.InputStream;", "InputStream", "java.io", "import java.io.PrintWriter;", "PrintWriter", "java.io", "import java.util.InputMismatchException;", "InputMismatchException", "java.util", "import java.io.FileNotFoundException;", "FileNotFoundException", "java.io", "import java.io.IOException;", "IOException", "java.io", "import java.io.FileInputStream;", "FileInputStream", "java.io", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/F6\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int n = in.nextInt();\n int[] cnt = new int[256];\n for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }\n System.out.println(\"AC x \" + cnt['A']);\n System.out.println(\"WA x \" + cnt['W']);\n System.out.println(\"TLE x \" + cnt['T']);\n System.out.println(\"RE x \" + cnt['R']);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "Main", "InputStream is;", "is", "int __t__ = 1;", "__t__", "1", "int __f__ = 0;", "__f__", "0", "int __FILE_DEBUG_FLAG__ = __f__;", "__FILE_DEBUG_FLAG__", "__f__", "String __DEBUG_FILE_NAME__ = \"src/main/java/F6\";", "__DEBUG_FILE_NAME__", "\"src/main/java/F6\"", "FastScanner in;", "in", "PrintWriter out;", "out", "public void solve() {\n int n = in.nextInt();\n int[] cnt = new int[256];\n for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }\n System.out.println(\"AC x \" + cnt['A']);\n System.out.println(\"WA x \" + cnt['W']);\n System.out.println(\"TLE x \" + cnt['T']);\n System.out.println(\"RE x \" + cnt['R']);\n }", "solve", "{\n int n = in.nextInt();\n int[] cnt = new int[256];\n for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }\n System.out.println(\"AC x \" + cnt['A']);\n System.out.println(\"WA x \" + cnt['W']);\n System.out.println(\"TLE x \" + cnt['T']);\n System.out.println(\"RE x \" + cnt['R']);\n }", "int n = in.nextInt();", "n", "in.nextInt()", "in.nextInt", "in", "int[] cnt = new int[256];", "cnt", "new int[256]", "256", "for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n char c = in.next().charAt(0);\n cnt[c]++;\n }", "{\n char c = in.next().charAt(0);\n cnt[c]++;\n }", "char c = in.next().charAt(0);", "c", "in.next().charAt(0)", "in.next().charAt", "in.next()", "in.next", "in", "0", "cnt[c]++", "cnt[c]", "cnt", "c", "System.out.println(\"AC x \" + cnt['A'])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + cnt['A']", "\"AC x \"", "cnt['A']", "cnt", "'A'", "System.out.println(\"WA x \" + cnt['W'])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + cnt['W']", "\"WA x \"", "cnt['W']", "cnt", "'W'", "System.out.println(\"TLE x \" + cnt['T'])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + cnt['T']", "\"TLE x \"", "cnt['T']", "cnt", "'T'", "System.out.println(\"RE x \" + cnt['R'])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + cnt['R']", "\"RE x \"", "cnt['R']", "cnt", "'R'", "public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }", "run", "{\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }", "if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }", "__FILE_DEBUG_FLAG__ == __t__", "__FILE_DEBUG_FLAG__", "__t__", "{\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n }", "try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "catch (FileNotFoundException e) {\n e.printStackTrace();\n }", "FileNotFoundException e", "{\n e.printStackTrace();\n }", "e.printStackTrace()", "e.printStackTrace", "e", "{\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n }", "is = new FileInputStream(__DEBUG_FILE_NAME__)", "is", "new FileInputStream(__DEBUG_FILE_NAME__)", "System.out.println(\"FILE_INPUT!\")", "System.out.println", "System.out", "System", "System.out", "\"FILE_INPUT!\"", "{\n is = System.in;\n }", "is = System.in", "is", "System.in", "System", "System.in", "in = new FastScanner(is)", "in", "new FastScanner(is)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "solve()", "solve", "public static void main(final String[] args) {\n new Main().run();\n }", "main", "{\n new Main().run();\n }", "new Main().run()", "new Main().run", "new Main()", "final String[] args", "args", "class FastScanner {\n private InputStream stream;\n private byte[] buf = new byte[1024];\n private int curChar;\n private int numChars;\n\n public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }\n\n int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }\n\n public boolean isSpaceChar(int c) {\n return c == ' ' || c == '\\n' || c == '\\r' || c == '\\t' || c == -1;\n }\n\n public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }\n\n public int nextInt() {\n return Integer.parseInt(next());\n }\n\n public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }\n\n public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }\n\n public long nextLong() {\n return Long.parseLong(next());\n }\n\n public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }\n\n public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }\n\n public double nextDouble() {\n return Double.parseDouble(next());\n }\n\n public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }\n\n public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }\n\n public String next() {\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 (!isSpaceChar(c));\n return res.toString();\n }\n\n public String[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }\n\n public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }\n\n public int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }\n}", "FastScanner", "private InputStream stream;", "stream", "private byte[] buf = new byte[1024];", "buf", "new byte[1024]", "1024", "private int curChar;", "curChar", "private int numChars;", "numChars", "public FastScanner(InputStream stream) {\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }", "FastScanner", "{\n this.stream = stream;\n // stream = new FileInputStream(new File(\"dec.in\"));\n }", "this.stream = stream", "this.stream", "this", "this.stream", "stream", "InputStream stream", "stream", "int read() {\n if (numChars == -1)\n throw new InputMismatchException();\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 return buf[curChar++];\n }", "read", "{\n if (numChars == -1)\n throw new InputMismatchException();\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 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 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 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 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", "public boolean isEndline(int c) {\n return c == '\\n' || c == '\\r' || c == -1;\n }", "isEndline", "{\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 int nextInt() {\n return Integer.parseInt(next());\n }", "nextInt", "{\n return Integer.parseInt(next());\n }", "return Integer.parseInt(next());", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "public int[] nextIntArray(int n) {\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }", "nextIntArray", "{\n int[] array = new int[n];\n for (int i = 0; i < n; i++)\n array[i] = nextInt();\n\n return array;\n }", "int[] array = new int[n];", "array", "new int[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextInt();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextInt();", "array[i] = nextInt()", "array[i]", "array", "i", "nextInt()", "nextInt", "return array;", "array", "int n", "n", "public int[][] nextIntMap(int n, int m) {\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }", "nextIntMap", "{\n int[][] map = new int[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }\n return map;\n }", "int[][] map = new int[n][m];", "map", "new int[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextIntArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextIntArray(m);\n }", "{\n map[i] = nextIntArray(m);\n }", "map[i] = nextIntArray(m)", "map[i]", "map", "i", "nextIntArray(m)", "nextIntArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public long nextLong() {\n return Long.parseLong(next());\n }", "nextLong", "{\n return Long.parseLong(next());\n }", "return Long.parseLong(next());", "Long.parseLong(next())", "Long.parseLong", "Long", "next()", "next", "public long[] nextLongArray(int n) {\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }", "nextLongArray", "{\n long[] array = new long[n];\n for (int i = 0; i < n; i++)\n array[i] = nextLong();\n\n return array;\n }", "long[] array = new long[n];", "array", "new long[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextLong();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextLong();", "array[i] = nextLong()", "array[i]", "array", "i", "nextLong()", "nextLong", "return array;", "array", "int n", "n", "public long[][] nextLongMap(int n, int m) {\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }", "nextLongMap", "{\n long[][] map = new long[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }\n return map;\n }", "long[][] map = new long[n][m];", "map", "new long[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextLongArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextLongArray(m);\n }", "{\n map[i] = nextLongArray(m);\n }", "map[i] = nextLongArray(m)", "map[i]", "map", "i", "nextLongArray(m)", "nextLongArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public double nextDouble() {\n return Double.parseDouble(next());\n }", "nextDouble", "{\n return Double.parseDouble(next());\n }", "return Double.parseDouble(next());", "Double.parseDouble(next())", "Double.parseDouble", "Double", "next()", "next", "public double[] nextDoubleArray(int n) {\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }", "nextDoubleArray", "{\n double[] array = new double[n];\n for (int i = 0; i < n; i++)\n array[i] = nextDouble();\n\n return array;\n }", "double[] array = new double[n];", "array", "new double[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = nextDouble();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = nextDouble();", "array[i] = nextDouble()", "array[i]", "array", "i", "nextDouble()", "nextDouble", "return array;", "array", "int n", "n", "public double[][] nextDoubleMap(int n, int m) {\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }", "nextDoubleMap", "{\n double[][] map = new double[n][m];\n for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }\n return map;\n }", "double[][] map = new double[n][m];", "map", "new double[n][m]", "n", "m", "for (int i = 0; i < n; i++) {\n map[i] = nextDoubleArray(m);\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n map[i] = nextDoubleArray(m);\n }", "{\n map[i] = nextDoubleArray(m);\n }", "map[i] = nextDoubleArray(m)", "map[i]", "map", "i", "nextDoubleArray(m)", "nextDoubleArray", "m", "return map;", "map", "int n", "n", "int m", "m", "public String next() {\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 (!isSpaceChar(c));\n return res.toString();\n }", "next", "{\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 (!isSpaceChar(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 (!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[] nextStringArray(int n) {\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }", "nextStringArray", "{\n String[] array = new String[n];\n for (int i = 0; i < n; i++)\n array[i] = next();\n\n return array;\n }", "String[] array = new String[n];", "array", "new String[n]", "n", "for (int i = 0; i < n; i++)\n array[i] = next();", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "array[i] = next();", "array[i] = next()", "array[i]", "array", "i", "next()", "next", "return array;", "array", "int n", "n", "public String nextLine() {\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }", "nextLine", "{\n int c = read();\n while (isEndline(c))\n c = read();\n StringBuilder res = new StringBuilder();\n do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));\n return res.toString();\n }", "int c = read();", "c", "read()", "read", "while (isEndline(c))\n c = read();", "isEndline(c)", "isEndline", "c", "c = read()", "c", "read()", "read", "StringBuilder res = new StringBuilder();", "res", "new StringBuilder()", "do {\n res.appendCodePoint(c);\n c = read();\n } while (!isEndline(c));", "!isEndline(c)", "isEndline(c)", "isEndline", "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 int[][] nextPackedIntArrays(int packN, int size) {\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }", "nextPackedIntArrays", "{\n int[][] res = new int[packN][size];\n for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }\n return res;\n }", "int[][] res = new int[packN][size];", "res", "new int[packN][size]", "packN", "size", "for (int i = 0; i < size; i++) {\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < size", "i", "size", "i++", "i++", "i", "{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "{\n for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }\n }", "for (int j = 0; j < packN; j++) {\n res[j][i] = nextInt();\n }", "int j = 0;", "int j = 0;", "j", "0", "j < packN", "j", "packN", "j++", "j++", "j", "{\n res[j][i] = nextInt();\n }", "{\n res[j][i] = nextInt();\n }", "res[j][i] = nextInt()", "res[j][i]", "res[j]", "res", "j", "i", "nextInt()", "nextInt", "return res;", "res", "int packN", "packN", "int size", "size", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/F6\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int n = in.nextInt();\n int[] cnt = new int[256];\n for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }\n System.out.println(\"AC x \" + cnt['A']);\n System.out.println(\"WA x \" + cnt['W']);\n System.out.println(\"TLE x \" + cnt['T']);\n System.out.println(\"RE x \" + cnt['R']);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "public class Main {\n InputStream is;\n\n int __t__ = 1;\n int __f__ = 0;\n int __FILE_DEBUG_FLAG__ = __f__;\n String __DEBUG_FILE_NAME__ = \"src/main/java/F6\";\n\n FastScanner in;\n PrintWriter out;\n\n public void solve() {\n int n = in.nextInt();\n int[] cnt = new int[256];\n for (int i = 0; i < n; i++) {\n char c = in.next().charAt(0);\n cnt[c]++;\n }\n System.out.println(\"AC x \" + cnt['A']);\n System.out.println(\"WA x \" + cnt['W']);\n System.out.println(\"TLE x \" + cnt['T']);\n System.out.println(\"RE x \" + cnt['R']);\n }\n\n public void run() {\n if (__FILE_DEBUG_FLAG__ == __t__) {\n try {\n is = new FileInputStream(__DEBUG_FILE_NAME__);\n } catch (FileNotFoundException e) {\n e.printStackTrace();\n }\n System.out.println(\"FILE_INPUT!\");\n } else {\n is = System.in;\n }\n in = new FastScanner(is);\n out = new PrintWriter(System.out);\n\n solve();\n }\n\n public static void main(final String[] args) {\n new Main().run();\n }\n}", "Main" ]
import java.io.InputStream; import java.io.PrintWriter; import java.util.InputMismatchException; import java.io.FileNotFoundException; import java.io.IOException; import java.io.FileInputStream; public class Main { InputStream is; int __t__ = 1; int __f__ = 0; int __FILE_DEBUG_FLAG__ = __f__; String __DEBUG_FILE_NAME__ = "src/main/java/F6"; FastScanner in; PrintWriter out; public void solve() { int n = in.nextInt(); int[] cnt = new int[256]; for (int i = 0; i < n; i++) { char c = in.next().charAt(0); cnt[c]++; } System.out.println("AC x " + cnt['A']); System.out.println("WA x " + cnt['W']); System.out.println("TLE x " + cnt['T']); System.out.println("RE x " + cnt['R']); } public void run() { if (__FILE_DEBUG_FLAG__ == __t__) { try { is = new FileInputStream(__DEBUG_FILE_NAME__); } catch (FileNotFoundException e) { e.printStackTrace(); } System.out.println("FILE_INPUT!"); } else { is = System.in; } in = new FastScanner(is); out = new PrintWriter(System.out); solve(); } public static void main(final String[] args) { new Main().run(); } } class FastScanner { private InputStream stream; private byte[] buf = new byte[1024]; private int curChar; private int numChars; public FastScanner(InputStream stream) { this.stream = stream; // stream = new FileInputStream(new File("dec.in")); } 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 boolean isSpaceChar(int c) { return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1; } public boolean isEndline(int c) { return c == '\n' || c == '\r' || c == -1; } public int nextInt() { return Integer.parseInt(next()); } public int[] nextIntArray(int n) { int[] array = new int[n]; for (int i = 0; i < n; i++) array[i] = nextInt(); return array; } public int[][] nextIntMap(int n, int m) { int[][] map = new int[n][m]; for (int i = 0; i < n; i++) { map[i] = nextIntArray(m); } return map; } public long nextLong() { return Long.parseLong(next()); } public long[] nextLongArray(int n) { long[] array = new long[n]; for (int i = 0; i < n; i++) array[i] = nextLong(); return array; } public long[][] nextLongMap(int n, int m) { long[][] map = new long[n][m]; for (int i = 0; i < n; i++) { map[i] = nextLongArray(m); } return map; } public double nextDouble() { return Double.parseDouble(next()); } public double[] nextDoubleArray(int n) { double[] array = new double[n]; for (int i = 0; i < n; i++) array[i] = nextDouble(); return array; } public double[][] nextDoubleMap(int n, int m) { double[][] map = new double[n][m]; for (int i = 0; i < n; i++) { map[i] = nextDoubleArray(m); } return map; } public String next() { 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[] nextStringArray(int n) { String[] array = new String[n]; for (int i = 0; i < n; i++) array[i] = next(); return array; } public String nextLine() { int c = read(); while (isEndline(c)) c = read(); StringBuilder res = new StringBuilder(); do { res.appendCodePoint(c); c = read(); } while (!isEndline(c)); return res.toString(); } public int[][] nextPackedIntArrays(int packN, int size) { int[][] res = new int[packN][size]; for (int i = 0; i < size; i++) { for (int j = 0; j < packN; j++) { res[j][i] = nextInt(); } } return res; } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 4, 18, 13, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 18, 13, 17, 14, 4, 18, 13, 17, 40, 18, 13, 17, 14, 4, 18, 13, 17, 40, 18, 13, 17, 40, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 106, 5 ], [ 106, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 8, 21 ], [ 21, 22 ], [ 22, 23 ], [ 23, 24 ], [ 22, 25 ], [ 21, 26 ], [ 26, 27 ], [ 27, 28 ], [ 27, 29 ], [ 29, 30 ], [ 30, 31 ], [ 26, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 33, 36 ], [ 32, 37 ], [ 37, 38 ], [ 38, 39 ], [ 38, 40 ], [ 32, 41 ], [ 41, 42 ], [ 42, 43 ], [ 43, 44 ], [ 42, 45 ], [ 41, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 41, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 50, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 8, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 65, 67 ], [ 63, 68 ], [ 68, 69 ], [ 68, 70 ], [ 70, 71 ], [ 70, 72 ], [ 8, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 78, 79 ], [ 78, 80 ], [ 80, 81 ], [ 80, 82 ], [ 8, 83 ], [ 83, 84 ], [ 84, 85 ], [ 85, 86 ], [ 85, 87 ], [ 83, 88 ], [ 88, 89 ], [ 88, 90 ], [ 90, 91 ], [ 90, 92 ], [ 8, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 100, 101 ], [ 100, 102 ], [ 6, 103 ], [ 103, 104 ], [ 0, 105 ], [ 105, 106 ], [ 105, 107 ] ]
[ "import java.util.*;\npublic class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] c = new int[4];\n\t\tint n = scan.nextInt();\n\t\twhile(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}\n\t\tSystem.out.println(\"AC x \"+c[0]);\n\t\tSystem.out.println(\"WA x \"+c[1]);\n\t\tSystem.out.println(\"TLE x \"+c[2]);\n\t\tSystem.out.println(\"RE x \"+c[3]);\n\t}\n\n}", "import java.util.*;", "util.*", "java", "public class Main {\n\n\tpublic static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] c = new int[4];\n\t\tint n = scan.nextInt();\n\t\twhile(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}\n\t\tSystem.out.println(\"AC x \"+c[0]);\n\t\tSystem.out.println(\"WA x \"+c[1]);\n\t\tSystem.out.println(\"TLE x \"+c[2]);\n\t\tSystem.out.println(\"RE x \"+c[3]);\n\t}\n\n}", "Main", "public static void main(String[] args) {\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] c = new int[4];\n\t\tint n = scan.nextInt();\n\t\twhile(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}\n\t\tSystem.out.println(\"AC x \"+c[0]);\n\t\tSystem.out.println(\"WA x \"+c[1]);\n\t\tSystem.out.println(\"TLE x \"+c[2]);\n\t\tSystem.out.println(\"RE x \"+c[3]);\n\t}", "main", "{\n\t\tScanner scan = new Scanner(System.in);\n\t\tint[] c = new int[4];\n\t\tint n = scan.nextInt();\n\t\twhile(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}\n\t\tSystem.out.println(\"AC x \"+c[0]);\n\t\tSystem.out.println(\"WA x \"+c[1]);\n\t\tSystem.out.println(\"TLE x \"+c[2]);\n\t\tSystem.out.println(\"RE x \"+c[3]);\n\t}", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "int[] c = new int[4];", "c", "new int[4]", "4", "int n = scan.nextInt();", "n", "scan.nextInt()", "scan.nextInt", "scan", "while(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}", "n-->0", "n--", "n", "0", "{\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}", "String s = scan.next();", "s", "scan.next()", "scan.next", "scan", "if(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;", "s.equals(\"AC\")", "s.equals", "s", "\"AC\"", "c[0]++", "c[0]", "c", "0", "if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;", "s.equals(\"WA\")", "s.equals", "s", "\"WA\"", "c[1]++", "c[1]", "c", "1", "if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;", "s.equals(\"TLE\")", "s.equals", "s", "\"TLE\"", "c[2]++", "c[2]", "c", "2", "c[3]++", "c[3]", "c", "3", "System.out.println(\"AC x \"+c[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+c[0]", "\"AC x \"", "c[0]", "c", "0", "System.out.println(\"WA x \"+c[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+c[1]", "\"WA x \"", "c[1]", "c", "1", "System.out.println(\"TLE x \"+c[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+c[2]", "\"TLE x \"", "c[2]", "c", "2", "System.out.println(\"RE x \"+c[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+c[3]", "\"RE x \"", "c[3]", "c", "3", "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[] c = new int[4];\n\t\tint n = scan.nextInt();\n\t\twhile(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}\n\t\tSystem.out.println(\"AC x \"+c[0]);\n\t\tSystem.out.println(\"WA x \"+c[1]);\n\t\tSystem.out.println(\"TLE x \"+c[2]);\n\t\tSystem.out.println(\"RE x \"+c[3]);\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[] c = new int[4];\n\t\tint n = scan.nextInt();\n\t\twhile(n-->0) {\n\t\t\tString s = scan.next();\n\t\t\tif(s.equals(\"AC\"))\n\t\t\t\tc[0]++;\n\t\t\telse if(s.equals(\"WA\"))\n\t\t\t\tc[1]++;\n\t\t\telse if(s.equals(\"TLE\"))\n\t\t\t\tc[2]++;\n\t\t\telse \n\t\t\t\tc[3]++;\n\t\t}\n\t\tSystem.out.println(\"AC x \"+c[0]);\n\t\tSystem.out.println(\"WA x \"+c[1]);\n\t\tSystem.out.println(\"TLE x \"+c[2]);\n\t\tSystem.out.println(\"RE x \"+c[3]);\n\t}\n\n}", "Main" ]
import java.util.*; public class Main { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int[] c = new int[4]; int n = scan.nextInt(); while(n-->0) { String s = scan.next(); if(s.equals("AC")) c[0]++; else if(s.equals("WA")) c[1]++; else if(s.equals("TLE")) c[2]++; else c[3]++; } System.out.println("AC x "+c[0]); System.out.println("WA x "+c[1]); System.out.println("TLE x "+c[2]); System.out.println("RE x "+c[3]); } }
[ 7, 15, 13, 17, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 4, 18, 13, 2, 13, 17, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 14, 4, 18, 13, 17, 40, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 4, 18, 13, 2, 17, 13, 23, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 4, 5 ], [ 4, 6 ], [ 0, 7 ], [ 7, 8 ], [ 7, 9 ], [ 9, 10 ], [ 9, 11 ], [ 11, 12 ], [ 12, 13 ], [ 12, 14 ], [ 11, 15 ], [ 15, 16 ], [ 15, 17 ], [ 11, 18 ], [ 18, 19 ], [ 18, 20 ], [ 11, 21 ], [ 21, 22 ], [ 21, 23 ], [ 11, 24 ], [ 24, 25 ], [ 24, 26 ], [ 11, 27 ], [ 27, 28 ], [ 28, 29 ], [ 29, 30 ], [ 29, 31 ], [ 31, 32 ], [ 32, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 27, 37 ], [ 37, 38 ], [ 38, 39 ], [ 27, 40 ], [ 41, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 44, 45 ], [ 45, 46 ], [ 41, 47 ], [ 47, 48 ], [ 48, 49 ], [ 49, 50 ], [ 48, 51 ], [ 47, 52 ], [ 52, 53 ], [ 41, 54 ], [ 54, 55 ], [ 55, 56 ], [ 56, 57 ], [ 55, 58 ], [ 54, 59 ], [ 59, 60 ], [ 41, 61 ], [ 61, 62 ], [ 62, 63 ], [ 63, 64 ], [ 62, 65 ], [ 61, 66 ], [ 66, 67 ], [ 41, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 11, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 78, 79 ], [ 78, 80 ], [ 11, 81 ], [ 81, 82 ], [ 82, 83 ], [ 81, 84 ], [ 84, 85 ], [ 84, 86 ], [ 11, 87 ], [ 87, 88 ], [ 88, 89 ], [ 87, 90 ], [ 90, 91 ], [ 90, 92 ], [ 11, 93 ], [ 93, 94 ], [ 94, 95 ], [ 93, 96 ], [ 96, 97 ], [ 96, 98 ], [ 9, 99 ], [ 99, 100 ] ]
[ "import java.util.*;import static java.lang.System.*;class Main{public static void main(String[] a){Scanner s=new Scanner(System.in);int w=0;int x=0;int y=0;int z=0;for(int i=s.nextInt();i>0;i--){String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}out.println(\"AC x \"+w);out.println(\"WA x \"+x);out.println(\"TLE x \"+y);out.println(\"RE x \"+z);}}", "import java.util.*;", "util.*", "java", "import static java.lang.System.*;", "import static java.lang.System.*;", "import static java.lang.System.*;", "class Main{public static void main(String[] a){Scanner s=new Scanner(System.in);int w=0;int x=0;int y=0;int z=0;for(int i=s.nextInt();i>0;i--){String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}out.println(\"AC x \"+w);out.println(\"WA x \"+x);out.println(\"TLE x \"+y);out.println(\"RE x \"+z);}}", "Main", "public static void main(String[] a){Scanner s=new Scanner(System.in);int w=0;int x=0;int y=0;int z=0;for(int i=s.nextInt();i>0;i--){String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}out.println(\"AC x \"+w);out.println(\"WA x \"+x);out.println(\"TLE x \"+y);out.println(\"RE x \"+z);}", "main", "{Scanner s=new Scanner(System.in);int w=0;int x=0;int y=0;int z=0;for(int i=s.nextInt();i>0;i--){String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}out.println(\"AC x \"+w);out.println(\"WA x \"+x);out.println(\"TLE x \"+y);out.println(\"RE x \"+z);}", "Scanner s=new Scanner(System.in);", "s", "new Scanner(System.in)", "int w=0;", "w", "0", "int x=0;", "x", "0", "int y=0;", "y", "0", "int z=0;", "z", "0", "for(int i=s.nextInt();i>0;i--){String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}", "int i=s.nextInt();", "int i=s.nextInt();", "i", "s.nextInt()", "s.nextInt", "s", "i>0", "i", "0", "i--", "i--", "i", "{String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}", "{String b=s.next();if(b.equals(\"AC\"))w++;if(b.equals(\"WA\"))x++;if(b.equals(\"TLE\"))y++;if(b.equals(\"RE\"))z++;}", "String b=s.next();", "b", "s.next()", "s.next", "s", "if(b.equals(\"AC\"))w++;", "b.equals(\"AC\")", "b.equals", "b", "\"AC\"", "w++", "w", "if(b.equals(\"WA\"))x++;", "b.equals(\"WA\")", "b.equals", "b", "\"WA\"", "x++", "x", "if(b.equals(\"TLE\"))y++;", "b.equals(\"TLE\")", "b.equals", "b", "\"TLE\"", "y++", "y", "if(b.equals(\"RE\"))z++;", "b.equals(\"RE\")", "b.equals", "b", "\"RE\"", "z++", "z", "out.println(\"AC x \"+w)", "out.println", "out", "\"AC x \"+w", "\"AC x \"", "w", "out.println(\"WA x \"+x)", "out.println", "out", "\"WA x \"+x", "\"WA x \"", "x", "out.println(\"TLE x \"+y)", "out.println", "out", "\"TLE x \"+y", "\"TLE x \"", "y", "out.println(\"RE x \"+z)", "out.println", "out", "\"RE x \"+z", "\"RE x \"", "z", "String[] a", "a" ]
import java.util.*;import static java.lang.System.*;class Main{public static void main(String[] a){Scanner s=new Scanner(System.in);int w=0;int x=0;int y=0;int z=0;for(int i=s.nextInt();i>0;i--){String b=s.next();if(b.equals("AC"))w++;if(b.equals("WA"))x++;if(b.equals("TLE"))y++;if(b.equals("RE"))z++;}out.println("AC x "+w);out.println("WA x "+x);out.println("TLE x "+y);out.println("RE x "+z);}}
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 20, 17, 41, 13, 4, 18, 13, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 35, 4, 18, 13, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 4, 18, 18, 13, 13, 2, 17, 18, 13, 17, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 113, 5 ], [ 113, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 19, 20 ], [ 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 ], [ 36, 37 ], [ 34, 38 ], [ 38, 39 ], [ 38, 40 ], [ 40, 41 ], [ 41, 42 ], [ 42, 43 ], [ 42, 44 ], [ 40, 45 ], [ 34, 46 ], [ 46, 47 ], [ 46, 48 ], [ 48, 49 ], [ 49, 50 ], [ 50, 51 ], [ 50, 52 ], [ 48, 53 ], [ 34, 54 ], [ 54, 55 ], [ 54, 56 ], [ 56, 57 ], [ 57, 58 ], [ 58, 59 ], [ 58, 60 ], [ 56, 61 ], [ 34, 62 ], [ 62, 63 ], [ 62, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 8, 70 ], [ 70, 71 ], [ 71, 72 ], [ 72, 73 ], [ 72, 74 ], [ 70, 75 ], [ 75, 76 ], [ 75, 77 ], [ 77, 78 ], [ 77, 79 ], [ 8, 80 ], [ 80, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 80, 85 ], [ 85, 86 ], [ 85, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 107, 108 ], [ 107, 109 ], [ 6, 110 ], [ 110, 111 ], [ 0, 112 ], [ 112, 113 ], [ 112, 114 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] num = new int[4];\n int n = sc.nextInt();\n for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }\n System.out.println(\"AC x \" + num[0]);\n System.out.println(\"WA x \" + num[1]);\n System.out.println(\"TLE x \" + num[2]);\n System.out.println(\"RE x \" + num[3]);\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] num = new int[4];\n int n = sc.nextInt();\n for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }\n System.out.println(\"AC x \" + num[0]);\n System.out.println(\"WA x \" + num[1]);\n System.out.println(\"TLE x \" + num[2]);\n System.out.println(\"RE x \" + num[3]);\n }\n}", "Main", "public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] num = new int[4];\n int n = sc.nextInt();\n for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }\n System.out.println(\"AC x \" + num[0]);\n System.out.println(\"WA x \" + num[1]);\n System.out.println(\"TLE x \" + num[2]);\n System.out.println(\"RE x \" + num[3]);\n }", "main", "{\n Scanner sc = new Scanner(System.in);\n\n int[] num = new int[4];\n int n = sc.nextInt();\n for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }\n System.out.println(\"AC x \" + num[0]);\n System.out.println(\"WA x \" + num[1]);\n System.out.println(\"TLE x \" + num[2]);\n System.out.println(\"RE x \" + num[3]);\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int[] num = new int[4];", "num", "new int[4]", "4", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= n", "i", "n", "i++", "i++", "i", "{\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }", "{\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }", "switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }", "sc.nextLine()", "sc.nextLine", "sc", "case \"AC\":", "\"AC\"", "case \"AC\":", "num[0]++", "num[0]", "num", "0", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "num[1]++", "num[1]", "num", "1", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "num[2]++", "num[2]", "num", "2", "break;", "case \"RE\":", "\"RE\"", "case \"RE\":", "num[3]++", "num[3]", "num", "3", "break;", "System.out.println(\"AC x \" + num[0])", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + num[0]", "\"AC x \"", "num[0]", "num", "0", "System.out.println(\"WA x \" + num[1])", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + num[1]", "\"WA x \"", "num[1]", "num", "1", "System.out.println(\"TLE x \" + num[2])", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + num[2]", "\"TLE x \"", "num[2]", "num", "2", "System.out.println(\"RE x \" + num[3])", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + num[3]", "\"RE x \"", "num[3]", "num", "3", "String[] args", "args", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] num = new int[4];\n int n = sc.nextInt();\n for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }\n System.out.println(\"AC x \" + num[0]);\n System.out.println(\"WA x \" + num[1]);\n System.out.println(\"TLE x \" + num[2]);\n System.out.println(\"RE x \" + num[3]);\n }\n}", "public class Main {\n public static void main(String[] args) {\n Scanner sc = new Scanner(System.in);\n\n int[] num = new int[4];\n int n = sc.nextInt();\n for (int i = 0; i <= n; i++) {\n switch (sc.nextLine()) {\n case \"AC\":\n num[0]++;\n break;\n case \"WA\":\n num[1]++;\n break;\n case \"TLE\":\n num[2]++;\n break;\n case \"RE\":\n num[3]++;\n break;\n }\n }\n System.out.println(\"AC x \" + num[0]);\n System.out.println(\"WA x \" + num[1]);\n System.out.println(\"TLE x \" + num[2]);\n System.out.println(\"RE x \" + num[3]);\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); int[] num = new int[4]; int n = sc.nextInt(); for (int i = 0; i <= n; i++) { switch (sc.nextLine()) { case "AC": num[0]++; break; case "WA": num[1]++; break; case "TLE": num[2]++; break; case "RE": num[3]++; break; } } System.out.println("AC x " + num[0]); System.out.println("WA x " + num[1]); System.out.println("TLE x " + num[2]); System.out.println("RE x " + num[3]); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 41, 13, 4, 18, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 14, 4, 18, 13, 17, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 119, 5 ], [ 119, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 14, 15 ], [ 15, 16 ], [ 8, 17 ], [ 17, 18 ], [ 17, 19 ], [ 19, 20 ], [ 20, 21 ], [ 8, 22 ], [ 22, 23 ], [ 22, 24 ], [ 8, 25 ], [ 25, 26 ], [ 25, 27 ], [ 8, 28 ], [ 28, 29 ], [ 28, 30 ], [ 8, 31 ], [ 31, 32 ], [ 31, 33 ], [ 8, 34 ], [ 34, 35 ], [ 35, 36 ], [ 36, 37 ], [ 36, 38 ], [ 34, 39 ], [ 39, 40 ], [ 39, 41 ], [ 34, 42 ], [ 42, 43 ], [ 43, 44 ], [ 34, 45 ], [ 46, 46 ], [ 46, 47 ], [ 47, 48 ], [ 47, 49 ], [ 49, 50 ], [ 50, 51 ], [ 46, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 53, 56 ], [ 52, 57 ], [ 57, 58 ], [ 58, 59 ], [ 52, 60 ], [ 60, 61 ], [ 61, 62 ], [ 62, 63 ], [ 61, 64 ], [ 60, 65 ], [ 65, 66 ], [ 66, 67 ], [ 60, 68 ], [ 68, 69 ], [ 69, 70 ], [ 70, 71 ], [ 69, 72 ], [ 68, 73 ], [ 73, 74 ], [ 74, 75 ], [ 68, 76 ], [ 76, 77 ], [ 77, 78 ], [ 78, 79 ], [ 77, 80 ], [ 76, 81 ], [ 81, 82 ], [ 82, 83 ], [ 8, 84 ], [ 84, 85 ], [ 85, 86 ], [ 86, 87 ], [ 86, 88 ], [ 84, 89 ], [ 89, 90 ], [ 89, 91 ], [ 8, 92 ], [ 92, 93 ], [ 93, 94 ], [ 94, 95 ], [ 94, 96 ], [ 92, 97 ], [ 97, 98 ], [ 97, 99 ], [ 8, 100 ], [ 100, 101 ], [ 101, 102 ], [ 102, 103 ], [ 102, 104 ], [ 100, 105 ], [ 105, 106 ], [ 105, 107 ], [ 8, 108 ], [ 108, 109 ], [ 109, 110 ], [ 110, 111 ], [ 110, 112 ], [ 108, 113 ], [ 113, 114 ], [ 113, 115 ], [ 6, 116 ], [ 116, 117 ], [ 0, 118 ], [ 118, 119 ], [ 118, 120 ] ]
[ "import java.util.*;\npublic class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n String line = sc.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\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 \tint n = sc.nextInt();\n String line = sc.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}\n}", "Main", "public static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n String line = sc.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}", "main", "{\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n String line = sc.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "String line = sc.nextLine();", "line", "sc.nextLine()", "sc.nextLine", "sc", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "for(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }", "int i = 0;", "int i = 0;", "i", "0", "i < n", "i", "n", "i++", "i++", "i", "{\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }", "{\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }", "String str = sc.nextLine();", "str", "sc.nextLine()", "sc.nextLine", "sc", "if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }", "str.equals(\"AC\")", "str.equals", "str", "\"AC\"", "{\n ac++; \n }", "ac++", "ac", "if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }", "str.equals(\"WA\")", "str.equals", "str", "\"WA\"", "{\n wa++;\n }", "wa++", "wa", "if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }", "str.equals(\"TLE\")", "str.equals", "str", "\"TLE\"", "{\n tle++; \n }", "tle++", "tle", "if(str.equals(\"RE\")){\n re++; \n }", "str.equals(\"RE\")", "str.equals", "str", "\"RE\"", "{\n re++; \n }", "re++", "re", "System.out.println(\"AC x \" + ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \" + ac", "\"AC x \"", "ac", "System.out.println(\"WA x \" + wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \" + wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \" + tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \" + tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \" + re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \" + re", "\"RE x \"", "re", "String[] args", "args", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n String line = sc.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\n\t}\n}", "public class Main {\n\tpublic static void main(String[] args){\n\t\tScanner sc = new Scanner(System.in);\n \tint n = sc.nextInt();\n String line = sc.nextLine();\n \n \tint ac = 0;\n int wa = 0;\n int tle = 0;\n int re = 0;\n \n \tfor(int i = 0; i < n; i++) {\n String str = sc.nextLine();\n if(str.equals(\"AC\")){\n ac++; \n }else if(str.equals(\"WA\")){\n wa++;\n }else if(str.equals(\"TLE\")){\n tle++; \n }else if(str.equals(\"RE\")){\n re++; \n }\n }\n \n // 最終出力\n System.out.println(\"AC x \" + ac);\n System.out.println(\"WA x \" + wa);\n \tSystem.out.println(\"TLE x \" + tle);\n \tSystem.out.println(\"RE x \" + re);\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(); String line = sc.nextLine(); int ac = 0; int wa = 0; int tle = 0; int re = 0; for(int i = 0; i < n; i++) { String str = sc.nextLine(); if(str.equals("AC")){ ac++; }else if(str.equals("WA")){ wa++; }else if(str.equals("TLE")){ tle++; }else if(str.equals("RE")){ re++; } } // 最終出力 System.out.println("AC x " + ac); System.out.println("WA x " + wa); System.out.println("TLE x " + tle); System.out.println("RE x " + re); } }
[ 7, 15, 13, 17, 15, 13, 17, 15, 13, 17, 6, 13, 41, 13, 41, 13, 41, 13, 40, 17, 41, 13, 2, 17, 17, 12, 13, 30, 0, 13, 20, 0, 13, 20, 41, 13, 4, 18, 13, 41, 13, 20, 17, 41, 13, 39, 17, 17, 17, 17, 42, 2, 40, 13, 17, 30, 41, 13, 4, 18, 13, 35, 13, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 17, 1, 40, 18, 13, 17, 3, 34, 1, 40, 18, 13, 17, 11, 1, 41, 13, 17, 2, 13, 17, 1, 40, 13, 30, 30, 4, 18, 13, 17, 18, 13, 13, 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, 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, 13, 4, 13, 12, 13, 30, 41, 13, 20, 13, 0, 13, 20, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 18, 13, 13, 4, 18, 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 ], [ 233, 11 ], [ 233, 12 ], [ 12, 13 ], [ 233, 14 ], [ 14, 15 ], [ 233, 16 ], [ 16, 17 ], [ 16, 18 ], [ 18, 19 ], [ 233, 20 ], [ 20, 21 ], [ 20, 22 ], [ 22, 23 ], [ 22, 24 ], [ 233, 25 ], [ 25, 26 ], [ 25, 27 ], [ 27, 28 ], [ 28, 29 ], [ 28, 30 ], [ 27, 31 ], [ 31, 32 ], [ 31, 33 ], [ 27, 34 ], [ 34, 35 ], [ 34, 36 ], [ 36, 37 ], [ 37, 38 ], [ 27, 39 ], [ 39, 40 ], [ 39, 41 ], [ 27, 43 ], [ 43, 44 ], [ 43, 45 ], [ 45, 46 ], [ 45, 47 ], [ 45, 48 ], [ 45, 49 ], [ 27, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 56, 58 ], [ 58, 59 ], [ 59, 60 ], [ 55, 61 ], [ 61, 62 ], [ 61, 63 ], [ 63, 64 ], [ 63, 65 ], [ 65, 66 ], [ 66, 67 ], [ 67, 68 ], [ 67, 69 ], [ 65, 70 ], [ 61, 71 ], [ 71, 72 ], [ 71, 73 ], [ 73, 74 ], [ 74, 75 ], [ 75, 76 ], [ 75, 77 ], [ 73, 78 ], [ 61, 79 ], [ 79, 80 ], [ 79, 81 ], [ 81, 82 ], [ 82, 83 ], [ 83, 84 ], [ 83, 85 ], [ 81, 86 ], [ 61, 87 ], [ 87, 88 ], [ 88, 89 ], [ 89, 90 ], [ 90, 91 ], [ 90, 92 ], [ 27, 93 ], [ 93, 94 ], [ 94, 95 ], [ 95, 96 ], [ 95, 97 ], [ 93, 98 ], [ 98, 99 ], [ 98, 100 ], [ 93, 101 ], [ 101, 102 ], [ 102, 103 ], [ 93, 104 ], [ 105, 105 ], [ 105, 106 ], [ 106, 107 ], [ 107, 108 ], [ 106, 109 ], [ 106, 110 ], [ 110, 111 ], [ 110, 112 ], [ 106, 113 ], [ 113, 114 ], [ 113, 115 ], [ 27, 116 ], [ 116, 117 ], [ 117, 118 ], [ 25, 119 ], [ 119, 120 ], [ 233, 121 ], [ 121, 122 ], [ 121, 123 ], [ 123, 124 ], [ 121, 125 ], [ 125, 126 ], [ 121, 127 ], [ 127, 128 ], [ 127, 129 ], [ 129, 130 ], [ 130, 131 ], [ 130, 132 ], [ 127, 133 ], [ 133, 134 ], [ 121, 135 ], [ 135, 136 ], [ 135, 137 ], [ 137, 138 ], [ 138, 139 ], [ 138, 140 ], [ 135, 141 ], [ 141, 142 ], [ 121, 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 ], [ 155, 157 ], [ 145, 158 ], [ 158, 159 ], [ 159, 160 ], [ 160, 161 ], [ 121, 162 ], [ 162, 163 ], [ 162, 164 ], [ 164, 165 ], [ 165, 166 ], [ 166, 167 ], [ 167, 168 ], [ 121, 169 ], [ 169, 170 ], [ 169, 171 ], [ 171, 172 ], [ 172, 173 ], [ 173, 174 ], [ 174, 175 ], [ 173, 176 ], [ 176, 177 ], [ 121, 178 ], [ 178, 179 ], [ 178, 180 ], [ 180, 181 ], [ 181, 182 ], [ 182, 183 ], [ 183, 184 ], [ 182, 185 ], [ 185, 186 ], [ 121, 187 ], [ 187, 188 ], [ 187, 189 ], [ 189, 190 ], [ 190, 191 ], [ 191, 192 ], [ 192, 193 ], [ 191, 194 ], [ 194, 195 ], [ 121, 196 ], [ 196, 197 ], [ 196, 198 ], [ 198, 199 ], [ 199, 200 ], [ 199, 201 ], [ 198, 203 ], [ 203, 204 ], [ 203, 205 ], [ 198, 206 ], [ 206, 207 ], [ 207, 208 ], [ 208, 209 ], [ 208, 210 ], [ 206, 211 ], [ 211, 212 ], [ 211, 213 ], [ 206, 214 ], [ 214, 215 ], [ 215, 216 ], [ 206, 217 ], [ 218, 218 ], [ 218, 219 ], [ 219, 220 ], [ 220, 221 ], [ 220, 222 ], [ 219, 223 ], [ 223, 224 ], [ 224, 225 ], [ 223, 226 ], [ 226, 227 ], [ 198, 228 ], [ 228, 229 ], [ 196, 230 ], [ 230, 231 ], [ 0, 232 ], [ 232, 233 ], [ 232, 234 ] ]
[ "import java.io.*;\nimport java.util.*;\nimport java.awt.Point;\npublic class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic final int uncal = -1;\n\tstatic final int mod = (int) (1e9)+7;\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in); \n\t\tout = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[4];\n\t\tString[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\twhile(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}\n\t\tout.close();\n\t}\n\tstatic class Scanner{\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tpublic Scanner(String filename) throws FileNotFoundException {\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}\n\t\tpublic String next() throws IOException{\n\t\t\twhile(st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\t\tpublic int nextInt() throws IOException{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws IOException{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws IOException{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic int[] inArr(int n) throws Exception{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\t}\n\n}", "import java.io.*;", "io.*", "java", "import java.util.*;", "util.*", "java", "import java.awt.Point;", "Point", "java.awt", "public class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic final int uncal = -1;\n\tstatic final int mod = (int) (1e9)+7;\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in); \n\t\tout = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[4];\n\t\tString[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\twhile(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}\n\t\tout.close();\n\t}\n\tstatic class Scanner{\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tpublic Scanner(String filename) throws FileNotFoundException {\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}\n\t\tpublic String next() throws IOException{\n\t\t\twhile(st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\t\tpublic int nextInt() throws IOException{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws IOException{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws IOException{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic int[] inArr(int n) throws Exception{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\t}\n\n}", "Main", "static Scanner sc;", "sc", "static PrintWriter out;", "out", "static final int uncal = -1;", "uncal", "-1", "1", "static final int mod = (int) (1e9)+7;", "mod", "(int) (1e9)+7", "(int) (1e9)", "7", "public static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in); \n\t\tout = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[4];\n\t\tString[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\twhile(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}\n\t\tout.close();\n\t}", "main", "{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in); \n\t\tout = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[4];\n\t\tString[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\twhile(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}\n\t\tout.close();\n\t}", "sc = new Scanner(System.in)", "sc", "new Scanner(System.in)", "out = new PrintWriter(System.out)", "out", "new PrintWriter(System.out)", "int n = sc.nextInt();", "n", "sc.nextInt()", "sc.nextInt", "sc", "int[] a= new int[4];", "a", "new int[4]", "4", "String[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};", "as", "{\"AC\", \"WA\", \"TLE\", \"RE\"}", "\"AC\"", "\"WA\"", "\"TLE\"", "\"RE\"", "while(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}", "n-->0", "n--", "n", "0", "{\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}", "String verdict = sc.nextLine();", "verdict", "sc.nextLine()", "sc.nextLine", "sc", "switch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}", "verdict", "case \"AC\":", "\"AC\"", "case \"AC\":", "a[0]++", "a[0]", "a", "0", "break;", "case \"WA\":", "\"WA\"", "case \"WA\":", "a[1]++", "a[1]", "a", "1", "break;", "case \"TLE\":", "\"TLE\"", "case \"TLE\":", "a[2]++", "a[2]", "a", "2", "break;", "default:", "default:", "a[3]++", "a[3]", "a", "3", "for (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}", "int i = 0;", "int i = 0;", "i", "0", "i < 4", "i", "4", "i++", "i++", "i", "{\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}", "{\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}", "out.printf(\"%s x %d\\n\", as[i], a[i])", "out.printf", "out", "\"%s x %d\\n\"", "as[i]", "as", "i", "a[i]", "a", "i", "out.close()", "out.close", "out", "String[] args", "args", "static class Scanner{\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tpublic Scanner(String filename) throws FileNotFoundException {\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}\n\t\tpublic String next() throws IOException{\n\t\t\twhile(st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\t\tpublic int nextInt() throws IOException{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws IOException{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws IOException{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic int[] inArr(int n) throws Exception{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\t}", "Scanner", "private BufferedReader br;", "br", "private StringTokenizer st;", "st", "public Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}", "Scanner", "{\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}", "br = new BufferedReader(new InputStreamReader(in))", "br", "new BufferedReader(new InputStreamReader(in))", "InputStream in", "in", "public Scanner(String filename) throws FileNotFoundException {\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}", "Scanner", "{\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}", "br = new BufferedReader(new FileReader(filename))", "br", "new BufferedReader(new FileReader(filename))", "String filename", "filename", "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 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 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 int[] inArr(int n) throws Exception{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}", "inArr", "{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}", "int a [] = new int[n];", "a", "new int[n]", "n", "st = new StringTokenizer(br.readLine())", "st", "new StringTokenizer(br.readLine())", "for(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}", "int i=0;", "int i=0;", "i", "0", "i<n", "i", "n", "i++", "i++", "i", "{\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}", "{\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}", "a[i] = Integer.parseInt(next())", "a[i]", "a", "i", "Integer.parseInt(next())", "Integer.parseInt", "Integer", "next()", "next", "return a;", "a", "int n", "n", "public class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic final int uncal = -1;\n\tstatic final int mod = (int) (1e9)+7;\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in); \n\t\tout = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[4];\n\t\tString[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\twhile(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}\n\t\tout.close();\n\t}\n\tstatic class Scanner{\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tpublic Scanner(String filename) throws FileNotFoundException {\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}\n\t\tpublic String next() throws IOException{\n\t\t\twhile(st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\t\tpublic int nextInt() throws IOException{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws IOException{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws IOException{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic int[] inArr(int n) throws Exception{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\t}\n\n}", "public class Main {\n\tstatic Scanner sc;\n\tstatic PrintWriter out;\n\tstatic final int uncal = -1;\n\tstatic final int mod = (int) (1e9)+7;\n\tpublic static void main(String[] args) throws Exception{\n\t\t// TODO Auto-generated method stub\n\t\tsc = new Scanner(System.in); \n\t\tout = new PrintWriter(System.out);\n\t\tint n = sc.nextInt();\n\t\tint[] a= new int[4];\n\t\tString[] as = {\"AC\", \"WA\", \"TLE\", \"RE\"};\n\t\twhile(n-->0) {\n\t\t\tString verdict = sc.nextLine();\n\t\t\tswitch(verdict) {\n\t\t\t\tcase \"AC\":\n\t\t\t\t\ta[0]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"WA\":\n\t\t\t\t\ta[1]++;\n\t\t\t\t\tbreak;\n\t\t\t\tcase \"TLE\":\n\t\t\t\t\ta[2]++;\n\t\t\t\t\tbreak;\n\t\t\t\tdefault:\n\t\t\t\t\ta[3]++;\n\t\t\t}\t\t\t\n\t\t}\n\t\tfor (int i = 0; i < 4; i++) {\n\t\t\tout.printf(\"%s x %d\\n\", as[i], a[i]);\n\t\t}\n\t\tout.close();\n\t}\n\tstatic class Scanner{\n\t\tprivate BufferedReader br;\n\t\tprivate StringTokenizer st;\n\t\tpublic Scanner(InputStream in) {\n\t\t\tbr = new BufferedReader(new InputStreamReader(in));\n\t\t}\n\t\tpublic Scanner(String filename) throws FileNotFoundException {\n\t\t\tbr = new BufferedReader(new FileReader(filename));\n\t\t}\n\t\tpublic String next() throws IOException{\n\t\t\twhile(st == null || !st.hasMoreTokens())\n\t\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\treturn st.nextToken();\n\t\t}\n\t\tpublic String nextLine() throws IOException {\n\t\t\treturn br.readLine();\n\t\t}\n\t\tpublic int nextInt() throws IOException{\n\t\t\treturn Integer.parseInt(next());\n\t\t}\n\t\tpublic long nextLong() throws IOException{\n\t\t\treturn Long.parseLong(next());\n\t\t}\n\t\tpublic double nextDouble() throws IOException{\n\t\t\treturn Double.parseDouble(next());\n\t\t}\n\t\tpublic int[] inArr(int n) throws Exception{\n\t\t\tint a [] = new int[n];\n\t\t\tst = new StringTokenizer(br.readLine());\n\t\t\tfor(int i=0;i<n;i++) {\n\t\t\t\ta[i] = Integer.parseInt(next());\n\t\t\t}\n\t\t\treturn a;\n\t\t}\n\t}\n\n}", "Main" ]
import java.io.*; import java.util.*; import java.awt.Point; public class Main { static Scanner sc; static PrintWriter out; static final int uncal = -1; static final int mod = (int) (1e9)+7; public static void main(String[] args) throws Exception{ // TODO Auto-generated method stub sc = new Scanner(System.in); out = new PrintWriter(System.out); int n = sc.nextInt(); int[] a= new int[4]; String[] as = {"AC", "WA", "TLE", "RE"}; while(n-->0) { String verdict = sc.nextLine(); switch(verdict) { case "AC": a[0]++; break; case "WA": a[1]++; break; case "TLE": a[2]++; break; default: a[3]++; } } for (int i = 0; i < 4; i++) { out.printf("%s x %d\n", as[i], a[i]); } out.close(); } static class Scanner{ private BufferedReader br; private StringTokenizer st; public Scanner(InputStream in) { br = new BufferedReader(new InputStreamReader(in)); } public Scanner(String filename) throws FileNotFoundException { br = new BufferedReader(new FileReader(filename)); } 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 long nextLong() throws IOException{ return Long.parseLong(next()); } public double nextDouble() throws IOException{ return Double.parseDouble(next()); } public int[] inArr(int n) throws Exception{ int a [] = new int[n]; st = new StringTokenizer(br.readLine()); for(int i=0;i<n;i++) { a[i] = Integer.parseInt(next()); } return a; } } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 20, 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, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 14, 4, 18, 18, 13, 13, 17, 30, 0, 13, 17, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 134, 5 ], [ 134, 6 ], [ 6, 7 ], [ 6, 8 ], [ 8, 9 ], [ 9, 10 ], [ 9, 11 ], [ 8, 12 ], [ 12, 13 ], [ 12, 14 ], [ 8, 15 ], [ 15, 16 ], [ 15, 17 ], [ 8, 18 ], [ 18, 19 ], [ 18, 20 ], [ 8, 21 ], [ 21, 22 ], [ 21, 23 ], [ 8, 24 ], [ 24, 25 ], [ 24, 26 ], [ 27, 28 ], [ 28, 29 ], [ 8, 30 ], [ 30, 31 ], [ 31, 32 ], [ 32, 33 ], [ 32, 34 ], [ 30, 35 ], [ 35, 36 ], [ 35, 37 ], [ 37, 38 ], [ 37, 39 ], [ 30, 40 ], [ 40, 41 ], [ 41, 42 ], [ 30, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 46, 47 ], [ 46, 48 ], [ 45, 49 ], [ 49, 50 ], [ 50, 51 ], [ 44, 52 ], [ 52, 53 ], [ 53, 54 ], [ 54, 55 ], [ 55, 56 ], [ 55, 57 ], [ 53, 58 ], [ 52, 59 ], [ 59, 60 ], [ 60, 61 ], [ 60, 62 ], [ 52, 63 ], [ 63, 64 ], [ 64, 65 ], [ 65, 66 ], [ 66, 67 ], [ 66, 68 ], [ 64, 69 ], [ 63, 70 ], [ 70, 71 ], [ 71, 72 ], [ 71, 73 ], [ 63, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 77, 78 ], [ 77, 79 ], [ 75, 80 ], [ 74, 81 ], [ 81, 82 ], [ 82, 83 ], [ 82, 84 ], [ 74, 85 ], [ 85, 86 ], [ 86, 87 ], [ 87, 88 ], [ 88, 89 ], [ 88, 90 ], [ 86, 91 ], [ 85, 92 ], [ 92, 93 ], [ 93, 94 ], [ 93, 95 ], [ 8, 96 ], [ 96, 97 ], [ 97, 98 ], [ 98, 99 ], [ 98, 100 ], [ 96, 101 ], [ 101, 102 ], [ 101, 103 ], [ 8, 104 ], [ 104, 105 ], [ 105, 106 ], [ 106, 107 ], [ 106, 108 ], [ 104, 109 ], [ 109, 110 ], [ 109, 111 ], [ 8, 112 ], [ 112, 113 ], [ 113, 114 ], [ 114, 115 ], [ 114, 116 ], [ 112, 117 ], [ 117, 118 ], [ 117, 119 ], [ 8, 120 ], [ 120, 121 ], [ 121, 122 ], [ 122, 123 ], [ 122, 124 ], [ 120, 125 ], [ 125, 126 ], [ 125, 127 ], [ 8, 128 ], [ 128, 129 ], [ 129, 130 ], [ 6, 131 ], [ 131, 132 ], [ 0, 133 ], [ 133, 134 ], [ 133, 135 ] ]
[ "import java.util.Scanner;\n\npublic class Main{\n\tpublic static void main(String[] args) {\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint tle = 0;\n\t\tint re = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tString array[] = new String[scan.nextInt()];\n\t\tfor(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ac);\n\t\tSystem.out.println(\"WA x \"+wa);\n\t\tSystem.out.println(\"TLE x \"+tle);\n\t\tSystem.out.println(\"RE x \"+re);\n\n\t\tscan.close();\n\t}\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint tle = 0;\n\t\tint re = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tString array[] = new String[scan.nextInt()];\n\t\tfor(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ac);\n\t\tSystem.out.println(\"WA x \"+wa);\n\t\tSystem.out.println(\"TLE x \"+tle);\n\t\tSystem.out.println(\"RE x \"+re);\n\n\t\tscan.close();\n\t}\n}", "Main", "public static void main(String[] args) {\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint tle = 0;\n\t\tint re = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tString array[] = new String[scan.nextInt()];\n\t\tfor(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ac);\n\t\tSystem.out.println(\"WA x \"+wa);\n\t\tSystem.out.println(\"TLE x \"+tle);\n\t\tSystem.out.println(\"RE x \"+re);\n\n\t\tscan.close();\n\t}", "main", "{\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint tle = 0;\n\t\tint re = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tString array[] = new String[scan.nextInt()];\n\t\tfor(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ac);\n\t\tSystem.out.println(\"WA x \"+wa);\n\t\tSystem.out.println(\"TLE x \"+tle);\n\t\tSystem.out.println(\"RE x \"+re);\n\n\t\tscan.close();\n\t}", "int ac = 0;", "ac", "0", "int wa = 0;", "wa", "0", "int tle = 0;", "tle", "0", "int re = 0;", "re", "0", "Scanner scan = new Scanner(System.in);", "scan", "new Scanner(System.in)", "String array[] = new String[scan.nextInt()];", "array", "new String[scan.nextInt()]", "scan.nextInt()", "scan.nextInt", "scan", "for(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}", "int i=0;", "int i=0;", "i", "0", "i < array.length", "i", "array.length", "array", "array.length", "i++", "i++", "i", "{\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}", "{\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}", "array[i] = scan.next()", "array[i]", "array", "i", "scan.next()", "scan.next", "scan", "if(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}", "array[i].equals(\"AC\")", "array[i].equals", "array[i]", "array", "i", "\"AC\"", "{\n\t\t\t\tac += 1;\n\t\t\t}", "ac += 1", "ac", "1", "if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}", "array[i].equals(\"WA\")", "array[i].equals", "array[i]", "array", "i", "\"WA\"", "{\n\t\t\t\twa += 1;\n\t\t\t}", "wa += 1", "wa", "1", "if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}", "array[i].equals(\"TLE\")", "array[i].equals", "array[i]", "array", "i", "\"TLE\"", "{\n\t\t\t\ttle += 1;\n\t\t\t}", "tle += 1", "tle", "1", "if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}", "array[i].equals(\"RE\")", "array[i].equals", "array[i]", "array", "i", "\"RE\"", "{\n\t\t\t\tre += 1;\n\t\t\t}", "re += 1", "re", "1", "System.out.println(\"AC x \"+ac)", "System.out.println", "System.out", "System", "System.out", "\"AC x \"+ac", "\"AC x \"", "ac", "System.out.println(\"WA x \"+wa)", "System.out.println", "System.out", "System", "System.out", "\"WA x \"+wa", "\"WA x \"", "wa", "System.out.println(\"TLE x \"+tle)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \"+tle", "\"TLE x \"", "tle", "System.out.println(\"RE x \"+re)", "System.out.println", "System.out", "System", "System.out", "\"RE x \"+re", "\"RE x \"", "re", "scan.close()", "scan.close", "scan", "String[] args", "args", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint tle = 0;\n\t\tint re = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tString array[] = new String[scan.nextInt()];\n\t\tfor(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ac);\n\t\tSystem.out.println(\"WA x \"+wa);\n\t\tSystem.out.println(\"TLE x \"+tle);\n\t\tSystem.out.println(\"RE x \"+re);\n\n\t\tscan.close();\n\t}\n}", "public class Main{\n\tpublic static void main(String[] args) {\n\t\tint ac = 0;\n\t\tint wa = 0;\n\t\tint tle = 0;\n\t\tint re = 0;\n\t\tScanner scan = new Scanner(System.in);\n\t\tString array[] = new String[scan.nextInt()];\n\t\tfor(int i=0;i < array.length;i++) {\n\t\t\tarray[i] = scan.next();\n\t\t\tif(array[i].equals(\"AC\")) {\n\t\t\t\tac += 1;\n\t\t\t}else if(array[i].equals(\"WA\")) {\n\t\t\t\twa += 1;\n\t\t\t}else if(array[i].equals(\"TLE\")) {\n\t\t\t\ttle += 1;\n\t\t\t}else if(array[i].equals(\"RE\")) {\n\t\t\t\tre += 1;\n\t\t\t}\n\t\t}\n\t\tSystem.out.println(\"AC x \"+ac);\n\t\tSystem.out.println(\"WA x \"+wa);\n\t\tSystem.out.println(\"TLE x \"+tle);\n\t\tSystem.out.println(\"RE x \"+re);\n\n\t\tscan.close();\n\t}\n}", "Main" ]
import java.util.Scanner; public class Main{ public static void main(String[] args) { int ac = 0; int wa = 0; int tle = 0; int re = 0; Scanner scan = new Scanner(System.in); String array[] = new String[scan.nextInt()]; for(int i=0;i < array.length;i++) { array[i] = scan.next(); if(array[i].equals("AC")) { ac += 1; }else if(array[i].equals("WA")) { wa += 1; }else if(array[i].equals("TLE")) { tle += 1; }else if(array[i].equals("RE")) { re += 1; } } System.out.println("AC x "+ac); System.out.println("WA x "+wa); System.out.println("TLE x "+tle); System.out.println("RE x "+re); scan.close(); } }
[ 7, 15, 13, 17, 6, 13, 12, 13, 30, 41, 13, 20, 41, 13, 4, 18, 13, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 41, 13, 17, 11, 1, 41, 13, 17, 2, 13, 13, 1, 40, 13, 30, 30, 0, 13, 4, 18, 13, 14, 4, 18, 17, 13, 30, 40, 13, 14, 4, 18, 17, 13, 30, 40, 13, 14, 4, 18, 17, 13, 30, 40, 13, 14, 4, 18, 17, 13, 30, 40, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 4, 18, 18, 13, 13, 2, 17, 13, 23, 13, 10, 6, 13 ]
[ [ 0, 1 ], [ 1, 2 ], [ 1, 3 ], [ 0, 4 ], [ 117, 5 ], [ 117, 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 ], [ 23, 25 ], [ 8, 26 ], [ 26, 27 ], [ 26, 28 ], [ 8, 29 ], [ 29, 30 ], [ 29, 31 ], [ 8, 32 ], [ 32, 33 ], [ 33, 34 ], [ 34, 35 ], [ 34, 36 ], [ 32, 37 ], [ 37, 38 ], [ 37, 39 ], [ 32, 40 ], [ 40, 41 ], [ 41, 42 ], [ 32, 43 ], [ 44, 44 ], [ 44, 45 ], [ 45, 46 ], [ 45, 47 ], [ 47, 48 ], [ 48, 49 ], [ 44, 50 ], [ 50, 51 ], [ 51, 52 ], [ 52, 53 ], [ 51, 54 ], [ 50, 55 ], [ 55, 56 ], [ 56, 57 ], [ 50, 58 ], [ 58, 59 ], [ 59, 60 ], [ 60, 61 ], [ 59, 62 ], [ 58, 63 ], [ 63, 64 ], [ 64, 65 ], [ 58, 66 ], [ 66, 67 ], [ 67, 68 ], [ 68, 69 ], [ 67, 70 ], [ 66, 71 ], [ 71, 72 ], [ 72, 73 ], [ 66, 74 ], [ 74, 75 ], [ 75, 76 ], [ 76, 77 ], [ 75, 78 ], [ 74, 79 ], [ 79, 80 ], [ 80, 81 ], [ 8, 82 ], [ 82, 83 ], [ 83, 84 ], [ 84, 85 ], [ 84, 86 ], [ 82, 87 ], [ 87, 88 ], [ 87, 89 ], [ 8, 90 ], [ 90, 91 ], [ 91, 92 ], [ 92, 93 ], [ 92, 94 ], [ 90, 95 ], [ 95, 96 ], [ 95, 97 ], [ 8, 98 ], [ 98, 99 ], [ 99, 100 ], [ 100, 101 ], [ 100, 102 ], [ 98, 103 ], [ 103, 104 ], [ 103, 105 ], [ 8, 106 ], [ 106, 107 ], [ 107, 108 ], [ 108, 109 ], [ 108, 110 ], [ 106, 111 ], [ 111, 112 ], [ 111, 113 ], [ 6, 114 ], [ 114, 115 ], [ 0, 116 ], [ 116, 117 ], [ 116, 118 ] ]
[ "import java.util.Scanner;\n\npublic class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String str = \"\";\n int ACCount = 0;\n int WACount = 0;\n int TLECount = 0;\n int RECount = 0;\n\n for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }\n\n System.out.println(\"AC x \\n\" + ACCount);\n System.out.println(\"WA x \\n\" + WACount);\n System.out.println(\"TLE x \\n\" + TLECount);\n System.out.println(\"RE x \\n\" + RECount);\n\n }\n}", "import java.util.Scanner;", "Scanner", "java.util", "public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String str = \"\";\n int ACCount = 0;\n int WACount = 0;\n int TLECount = 0;\n int RECount = 0;\n\n for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }\n\n System.out.println(\"AC x \\n\" + ACCount);\n System.out.println(\"WA x \\n\" + WACount);\n System.out.println(\"TLE x \\n\" + TLECount);\n System.out.println(\"RE x \\n\" + RECount);\n\n }\n}", "Main", "public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String str = \"\";\n int ACCount = 0;\n int WACount = 0;\n int TLECount = 0;\n int RECount = 0;\n\n for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }\n\n System.out.println(\"AC x \\n\" + ACCount);\n System.out.println(\"WA x \\n\" + WACount);\n System.out.println(\"TLE x \\n\" + TLECount);\n System.out.println(\"RE x \\n\" + RECount);\n\n }", "main", "{\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String str = \"\";\n int ACCount = 0;\n int WACount = 0;\n int TLECount = 0;\n int RECount = 0;\n\n for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }\n\n System.out.println(\"AC x \\n\" + ACCount);\n System.out.println(\"WA x \\n\" + WACount);\n System.out.println(\"TLE x \\n\" + TLECount);\n System.out.println(\"RE x \\n\" + RECount);\n\n }", "Scanner sc = new Scanner(System.in);", "sc", "new Scanner(System.in)", "int N = sc.nextInt();", "N", "sc.nextInt()", "sc.nextInt", "sc", "String str = \"\";", "str", "\"\"", "int ACCount = 0;", "ACCount", "0", "int WACount = 0;", "WACount", "0", "int TLECount = 0;", "TLECount", "0", "int RECount = 0;", "RECount", "0", "for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }", "int i = 0;", "int i = 0;", "i", "0", "i <= N", "i", "N", "i++", "i++", "i", "{\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }", "{\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }", "str = sc.nextLine()", "str", "sc.nextLine()", "sc.nextLine", "sc", "if(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}", "\"AC\".equals(str)", "\"AC\".equals", "\"AC\"", "str", "{\n \t\tACCount++;\n\n \t}", "ACCount++", "ACCount", "if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}", "\"WA\".equals(str)", "\"WA\".equals", "\"WA\"", "str", "{\n \t\tWACount++;\n \t}", "WACount++", "WACount", "if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}", "\"TLE\".equals(str)", "\"TLE\".equals", "\"TLE\"", "str", "{\n \t\tTLECount++;\n \t}", "TLECount++", "TLECount", "if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}", "\"RE\".equals(str)", "\"RE\".equals", "\"RE\"", "str", "{\n \t\tRECount++;\n \t}", "RECount++", "RECount", "System.out.println(\"AC x \\n\" + ACCount)", "System.out.println", "System.out", "System", "System.out", "\"AC x \\n\" + ACCount", "\"AC x \\n\"", "ACCount", "System.out.println(\"WA x \\n\" + WACount)", "System.out.println", "System.out", "System", "System.out", "\"WA x \\n\" + WACount", "\"WA x \\n\"", "WACount", "System.out.println(\"TLE x \\n\" + TLECount)", "System.out.println", "System.out", "System", "System.out", "\"TLE x \\n\" + TLECount", "\"TLE x \\n\"", "TLECount", "System.out.println(\"RE x \\n\" + RECount)", "System.out.println", "System.out", "System", "System.out", "\"RE x \\n\" + RECount", "\"RE x \\n\"", "RECount", "String[] args", "args", "public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String str = \"\";\n int ACCount = 0;\n int WACount = 0;\n int TLECount = 0;\n int RECount = 0;\n\n for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }\n\n System.out.println(\"AC x \\n\" + ACCount);\n System.out.println(\"WA x \\n\" + WACount);\n System.out.println(\"TLE x \\n\" + TLECount);\n System.out.println(\"RE x \\n\" + RECount);\n\n }\n}", "public class Main {\n public static void main(String[] args) throws Exception {\n\n Scanner sc = new Scanner(System.in);\n\n int N = sc.nextInt();\n String str = \"\";\n int ACCount = 0;\n int WACount = 0;\n int TLECount = 0;\n int RECount = 0;\n\n for(int i = 0; i <= N; i++) {\n \tstr = sc.nextLine();\n \tif(\"AC\".equals(str)) {\n \t\tACCount++;\n\n \t} else if(\"WA\".equals(str)) {\n \t\tWACount++;\n \t} else if(\"TLE\".equals(str)) {\n \t\tTLECount++;\n \t} else if(\"RE\".equals(str)) {\n \t\tRECount++;\n \t}\n }\n\n System.out.println(\"AC x \\n\" + ACCount);\n System.out.println(\"WA x \\n\" + WACount);\n System.out.println(\"TLE x \\n\" + TLECount);\n System.out.println(\"RE x \\n\" + RECount);\n\n }\n}", "Main" ]
import java.util.Scanner; public class Main { public static void main(String[] args) throws Exception { Scanner sc = new Scanner(System.in); int N = sc.nextInt(); String str = ""; int ACCount = 0; int WACount = 0; int TLECount = 0; int RECount = 0; for(int i = 0; i <= N; i++) { str = sc.nextLine(); if("AC".equals(str)) { ACCount++; } else if("WA".equals(str)) { WACount++; } else if("TLE".equals(str)) { TLECount++; } else if("RE".equals(str)) { RECount++; } } System.out.println("AC x \n" + ACCount); System.out.println("WA x \n" + WACount); System.out.println("TLE x \n" + TLECount); System.out.println("RE x \n" + RECount); } }